Search Results: "pere"

19 January 2006

Clint Adams: Not adjusted for inflation

Twice upon a time, there was a corporation called Company B. Ironically, their bugle player quit two days before the beginning of this story. Two days after the bugle player quit, something sinister was happening at Company B. To better understand it, we need to go back in time a bit. So this next part happens well before the beginning of the story. Once upon a time, Company B was run by a middle-management team known as Team Alfalfa. These guys were young and na ve and inexperienced, but idealistic and somewhat morally pure. They certainly didn't expect the bugle player to quit. They were surprised by almost every one of the things to come. When they hired a Belarussian, they were surprised when he quit shortly thereafter and moved to Hampshire County in Massachusetts. They were surprised when the owners of Company B hired Team Buckwheat. Team Buckwheat was a group of power-hungry jerks, who were hired because they had Experience and Vision. Company B needed to grow, because Progress is important, and anyway, how else would the owners be able to bilk the company of millions of dollars through fraud and mismanagement if the company didn't grow big enough to amass millions of dollars in the first place? The thirst for power was great within each member of Team Buckwheat, and they collectively vowed to take over the company. Through trickery and deceit, they sabotaged Team Alfalfa. Team Alfalfa mistakenly believed that its power hold was strong and that it could threaten to hold the company's business hostage, but it was very much mistaken. Slowly but surely, Team Buckwheat started to drive Team Alfalfa out of the company until only two members remained. In fact, their lust was so great that they began vying for power amongst themselves before they had succeeded completely in their purge of the ranks of Team Alfalfa. They employed evil and complicated manipulations and machinations, until only two of them remained as well. As only two, they were much less powerful, and as they saw the danger and became afraid, they clung to one another and allied. Losing faith in Team Buckwheat, the owners of Company B hired the Grey Knight to continue the work of rapidly growing the company in order to make enormous profits. The Grey Knight came in and exuded Calmness and Rationalness, and provided a stark contrast to the meanness and cruelty that Team Buckwheat inflicted upon its subordinates. So some unlikely bedfellows among the grunts and peons formed an alliance, and with the reluctant aid of the Grey Knight, they had the remnants of Team Buckwheat fired based on flimsy pretexts, while the remnants of Team Alfalfa watched from the sidelines. The peons and grunts were na ve and overly hopeful in the Grey Knight, who was not as noble as he seemed. After a few months of everything functioning better than it had ever done before, he brought in his friends, Team Corn. Team Corn was power-hungry as well, but more patient. Unlike Team Buckwheat, which had been cobbled together from strangers, Team Corn stuck together and moved from company to company, leaving waves of disgust and resentment in its wake. These people immediately took steps to secure their power base. Where things had been transparent and group-oriented before, they were made obscure and individualized. Each project was assigned to a single person. All communication regarding each project was required to go directly and privately to the responsible person. Discussing a project with anyone else was a breach of protocol. If the responsible person fell sick or left the country for mysterious reasons, all activity on that project would cease. Accomplishments were discouraged, and simulating the appearance of much effort and progress was encouraged. The members of Team Corn were stunted in their moral development. They believed that one was either with them or against them. Those who chose to be sycophants were given rewards and promotions, no matter how incompetent and unqualified they were. Those who did not were oppressed and punished. Objections and questions to ill-advised policies were met with hostility, and if anyone ever took a principled stand, Team Corn became fraught with confusion; they could not conceive of a reason one might act for the greater good or based on conscience rather than to do what would advance one's own interests. After a very long time, this fundamental lack of comprehension of their own evil led to their downfall, but that small bit of justice was tempered when Team Durum came in to replace them. Team Durum wasn't as bad as Team Corn, but boy did it suck.

8 January 2006

Moray Allan

Some of the books I read in 2005:

Bruce Feiler, Walking the Bible: A Journey by Land Through the Five Books of Moses
Georges Perec, Species of Spaces and other pieces
Bob McCulloch, My Fare City: A Taxi Driver's Guide to Edinburgh
Origen, On First Principles (translated by G. W. Butterworth)
Sin-leqi-unninni, Gilgamesh: a new English version by Stephen Mitchell
Vladimir Nabokov, Pale Fire
Richard Fletcher, The Conversion of Europe: from paganism to Christianity 371–1386 AD
M. A. Screech, Laughter at the Foot of the Cross
Oliver Sacks, The Man Who Mistook His Wife for a Hat
Otto Friedrich, The Kingdom of Auschwitz
Nicholas Barton, The Lost Rivers of London: a study of their effects upon London and Londoners, and the effects of London and Londoners upon them
Anton Chekhov, The Steppe and Other Stories (translated by Ronald Hingley)
George Orwell, Down and Out in Paris and London
Otto F. A. Meinardus, Coptic Saints and Pilgrimages
Aleksandr Solzhenitsyn, One Day in the Life of Ivan Denisovich
R.W.B. Lewis, Dante: a life
Miles Glendinning and Aonghus MacKechnie, Scottish Architecture
Arturo P rez-Reverte, The Flanders Panel
John Chadwick, The Decipherment of Linear B (second edition)
Bart D. Ehrman, Lost Christianities: the battles for Scripture and the faiths we never knew
Plato, Timaeus and Critias (translated by Desmond Lee)
Albert Camus, The Outsider
Tim Wallace-Murphy and Marilyn Hopkins, Rosslyn: guardian of the secrets of the Holy Grail
Ginevra Lovatelli, Secret Rome
Dauvit Brown and Thomas Owen Clancy (editors), Spes Scotorum: Hope of Scots: Saint Columba, Iona and Scotland
Plato, Phaedrus and Letters VII and VIII (translated by Walter Hamilton)
William Chester Jordan, Europe in the High Middle Ages (The Penguin History of Europe)
J. M. Coetzee, Disgrace
Giovanni Boccaccio, Famous Women (translated by Virginia Brown)
Kazuo Ishiguro, An Artist of the Floating World
Georges Perec, A Void (translated by Gilbert Adair)
Saul Bellow, The Victim
Franz Kafka, The Trial
George Orwell, Nineteen Eighty-Four
J. K. Rowling, Harry Potter and the Half-Blood Prince
Francesco Colonna, Hypnerotomachia Poliphili: The Strife of Love in a Dream (translated by Joscelyn Godwin)
Italo Calvino, Our Ancestors (The Cloven Viscount; Baron in the Trees; The Non-Existent Knight) (translated by Archibald Colquhoun)
Eusebius, The History of the Church (translated by G. A. Williamson)
Flynt Leverett, Inheriting Syria: Bashar's trial by fire
Paul Auster, The New York Trilogy (City of Glass; Ghosts; The Locked Room)

14 December 2005

Joe Wreschnig: How to remove features

Given that the perennial, uh, “discussion” about GNOME’s features is on us again, I thought I’d share the method I use to remove options from Quod Libet. I break them, and see how long it takes people to notice. Well, no, not really, but the amount of brokenness in an option is a good metric for whether or not people change it. One of the first options in QL was a checkbox for “Show album cover”. Sometime around 0.7 or it became impossible to turn this off, and I didn’t notice until I was redoing the preferences dialog for 0.11. Rather than fixing it, I just removed a few dozen lines of code and made it always on. No one has ever asked for it back (though someone probably will now). This has happened a couple of times. On a related note, three months ago Bram Cohen made an interesting post about configuration in software, which has been rolling around in my head picking up smaller objects since. There’s a lot of “configuration” that we don’t think of as configuration — for example, the volume in an audio player is stored in basically the same place (same file, GConf tree, whatever) as, say, where the program looks for files. But we only think of the later as part of our “configuration.” That’s because we control the volume “nearby,” in the same place we view it, but the location to look for files in a very different spatial place (an entirely separate window). No one would be crazy enough to put a volume control in a Preferences dialog. So “configuration” becomes synonymous with “hard to find”. The answer to configuration creep, then, is to provide as much direct manipulation as possible. At least from the UI perspective. You’re still screwed from the combinatorial explosion on the implementation side. Beyond that, one thing I’d really like is for context menus to be more common. That is, users should be able to expect to right-click on a widget, and change changable aspects of that widget. This also means making right-click involve no surprises — it shouldn’t activate buttons, shouldn’t delete things, etc. Otherwise people will be too afraid to right-click to try configuring. This feels like a good substitute for when direct manipulation isn’t really possible, because the most direct form of manipulation is already taken up by the widget’s primary purpose. Anyway, Quod Libet is going to be moving in this direction in the future. We already have plugins configurable in the same dialog where you turn them on and off. In 0.16 the tray icon has become an interface almost unto itself, and so it has a separate Preferences dialog now, launchable only from the icon. (It also only has one thing to configure, but that might change. Most importantly, it can grow, without getting in the way of people who don’t care about the tray icon.) For 0.17 I’m probably going to fulfill the common “display remaining time” feature request by putting a radio context menu on the time display. And so on. Fixing Real Bugs
But enough about UI wankery. Does anyone know of a nice C parser for Python? Inspired by a bug he found in mmapmodule, Michael’s written a tool to find type signature issues in CPython functions, but its usefulness is lessened by the fact it returns a ton of false positives and probably also misses many things as well. You Are All Self-Absorbed
My project for a class this semester involved trying to extract useful categories from the link structure of weblogs. Unfortunately it turns out weblogs are all about navel-gazing, and the link structure isn’t at all useful. The majority of shared links on Planet Perl,Debian,GNOME,Python pointed to perl,debian,gnome,python .org, and the majority on MSDN Blogs pointed to microsoft.com. Only about 10% of links pointed to a post on another weblog. Given that additionally weblogs tend to not have comments (and even if they do, people reply in another weblog post anyway), that’s kind of sickening. Can you imagine how much email would suck if only one out of every 10 mails got a reply? I wouldn’t be able to spend all day reading about how Debian’s FTP masters are doing their job properly.

Hanna Wallach: grow little margin, we gonna solve AI

I’ve just returned from NIPS 2005. The conference was great, and I hope to post more later about my favourite papers, posters and talks. The highlight of this year’s conference was undoubtedly Jeff Bilmes, Michael Collins, Koby Crammer and Fernando Pereira’s summary of their workshop on structured learning for text and speech processing. Fortunately, I captured the entire thing on video for the enjoyment of the machine learning community (and anyone else who’s interested). So, without further ado, I present Jeff Bilmes (bass), Michael Collins (sax), Koby Crammer (bongos) and Fernando Pereira (vocals) performing “We Gonna Solve AI”. For those of you that wish to sing along at home, the lyrics are:
Summertime, and the learning is easy. Our problem is structured,
And the accuracy is high. Your funders are rich,
And your colleagues are good-looking. So grow little margin,
We gonna solve AI. Wintertime, and the learning is #-P. Our speech is recognized,
But we don’t know why. Our code is in MATLAB,
And our data’s synthetic. So grow little margin,
We gonna solve AI.
[*] sung “sharpee”

13 December 2005

Matthew Palmer: Diversity in Revision Control

Josselin Mouette has thrown down the gauntlet -- Subversion is the One True Revision Control System and we should all just Stop Worrying and Learn To Love The Handcuffs. In particular:
[...] just use subversion, and if you feel it's missing features, please contribute them. By standardizing on subversion, we lower the barrier for people wanting to contribute, instead of increasing it by asking them to install and understand new tools.
Quick thought experiment, Josselin: replace "subversion" with "Java". Or "Perl", or "C", or even "Python" or "Ruby". Or any other language. It doesn't matter which one. Even if the language you substitute is a good one, and one you happen to like, it's still a fairly obviously braindead idea -- that there can possibly be One True Programming Language for all problems, and that there can never be any improvement that can't be bolted into the existing OTPL. Revision control isn't so much different from programming languages. Different systems will provide different advantages and disadvantages. There's also incremental and revolutionary improvement that will take place over time -- machine code to symbolic to procedural to object oriented -- that can never take place within the established framework. I happen to really like the distributed model -- it reduces (though, naturally, cannot eliminate) the division between the Blessed and the Peons in a project (those with direct commit access vs. the rest of us). You can get disconnected operation for (almost) free. Also, despite the assertions contained in your article, the "barrier to entry", ironically, is actually lower with a good distributed RCS than with Subversion. The barrier isn't what you think, though -- sure, using an unfamiliar RCS is troublesome, but it's a lot less hassle than learning a new language, and people do that on occasion to hack on a particularly interesting problem. The real barrier to entry is forcing anyone who isn't blessed with direct access to The One And Only Repository to use inferior development support tools. "An example!" I hear you cry. Gladly. This morning (literally) I got enough of a handle on the internals of Ruby on Rails to actually track down a bug that was irritating the crap out of me. Being a good developer, I wanted to use revision control to track my changes. In the All Subversion, All The Time "utopia", that would involve getting an anonymous checkout, making a copy, hacking on the copy, then (when all was done) running diff -urN between the original and the copy, and sending it all upstream with a manually-created log message (assuming I could remember everything I'd done). You also need to manually remember (or encode it in your directory or something) the source of your tree, so upstream can merge it reliably (and compare it against other equivalent work that may have been done in the meantime). Doing it better, I could do an anonymous checkout, and then import it all into a new Subversion repository (or directory) of my very own, and hack on it in there. Benefit: revision control of my changes. But it's non-trivial to create a new repo and import everything into it, and there's still no automatic record made of the upstream source of my new repo. Wanting to make a second change is even worse -- I either have to make a whole new copy of my source tree (disk is cheap, but this is getting silly) or just keep forging ahead with changing my existing tree -- so this second set of changes can end up being dependent on the first (which is Not So Great if upstream don't merge your first patch). In the "new repo" scenario, you can branch from the root of your new repo and continue hacking on your newly created branch, which is a good start, but it's still icky. And good luck having the system track new commits from upstream while you're working, too. If the project was using a DRCS, in contrast, the problem would reduce to making a branch into your local archive, hacking (committing at will), updating with new upstream commits as you go along, and then publishing your changes to a public place for reintegration (or, in some cases, sending your changeset via e-mail). Oh, and before anyone starts screaming "if anyone can branch, it will encourage forking!", consider which is more likely to result in a permanent fork (rather than a temporary independent line of development): a local set of changes in a tarball or local subversion repo, both of which are hard for anyone else to collaborate on without major pain; or a branch in a simple-to-publish (or push) designed-to-be-shared DRCS archive, which automatically keeps all of your interesting metadata intact and coherent across archives, merges, time, and space (and possibly even dimensions). This utopia doesn't really exist, and is hampered by everybody having their own Pet DRCS, but the problem, I'm fairly sure, is transient, and my main point isn't even so much against the choice of Final Ultimate Solution, or even the problem space, but more about the attitude that everyone should get behind Any One System and stay there. I can't imagine the world of pain we'd be in if Josselin had posted his message a few years ago (but with s/subversion/CVS/i, naturally) and everyone had followed his advice -- can you imagine per-file changesets with no effective merge capability for the rest of eternity? <shudder />

22 November 2005

Erich Schubert: What SSH scanners try to do

I've been recently investigating a poorly maintained box (granted, it was just a workstation used for surfing the web) which was behaving oddly. In fact you could not longer login via SSH. I quickly noticed that there was a non-working sshd on it, in /usr/local/bin. So I thought - why would a badly maintained box have a non-standard SSH on it? This made me very suspicious, so I immedeately ran chkrootkit. It didn't find anything except it told me that someone had tampered with the wtmp file. The "tampering dates" aligned with the creation times of the ssh. A quick "find" run came up with the tool to do so, too. A quick check in the logfiles - which were fine, since they were not standard syslog, probably - showed that a SSH scanner had managed to login into an unprivileged account with a weak password, then used a kernel exploit from january to gain root privileges. Apparently he was unsatisfied with the sshd on the box, so he tried to put a different version on it, which, well, didn't work and he could no longer logon to the box himself. A rootkit was apparently not yet installed (verified after a clean boot), he was just about to setup his own sshd... maybe he had noticed that the box was just a stupid surfing box and then didn't care enough to cover his tracks (or just shoot himself in the foot by breaking the sshd) So if you are running boxes on the internet: (PHP guys: yes, I know that there are some good PHP scripts. But there are tons of badly written ones, too... and PHP is a major intrusion vector, and the privilege escalation I've seen here would have worked just fine with a PHP installation not using safe mode and safe_mode_exec_dir) A firewall I maintain at our university has been tracking ssh connections using the recent match for quite some time, and a nice side effect is that it reduces all their "spam" in your logs, too (in case you bother to read them. Do at least read the logcheck results!)

Next.

Previous.