Search Results: "mpalmer"

22 July 2007

Matthew Palmer: Why I'm Afraid of Flying

I'm happy to admit it -- I have a fear of flying. Strangely enough, though, my anxiety levels peak somewhere between 3 hours and 30 minutes before the plane takes off. Once we depart the terminal building, I'm fine -- the takeoff, cruise, and landing hold no fear for me, in fact I rather enjoy it. When I have the money and time, I plan on learning to do it for myself. The thing that does freak me out, though, is aptly described in this article. The idea that I could possibly suffer a similar fate, or worse, concerns me. The arbitrary nature of security screenings, and the fact that I cannot, through my own actions, ensure that I will not suffer at the hands of a security service when I have done nothing wrong really scares me.

17 July 2007

Matthew Palmer: The Trials of Browsers

Since I'm a member of the set of people "somebody better suited to explaining it" mentioned in Silvia Pfeiffer's "A Long Story of Logins", I suppose it falls to me to explain what the hell we actually did to make the thing work. A quick recap, for anyone who hasn't read Silvia's article: the Vquence website is a very AJAXy, Web 2.0 style video socialisation site. Since we want the site to be available to all as much as possible, we don't lock any part of the site away behind a "login required" page unless we absolutely have to. An unpleasant side effect of this is that, when it does does come time for you to login, pushing you off to a separate "please login" page is going to be, well, a pest. There's all sorts of state about what the user is up to (it's a web-based video mashup creator, after all) that we need to submit -- but only after the user has logged in. Enter the realm of the Web 2.0 Login. Instead of sending the user to a login page, getting them to login, and then redirecting them back to where they want to go, you just have some sort of popup form that, when submitted to, does a background request and logs the user in behind the scenes. This isn't a new concept by any means -- for example, try voting up or down a link on reddit when you're not logged in. However, most sites that implement this sort of thing (based on our brief informal survey around the office) don't protect the password information in any way -- it goes over the wire as a plaintext HTTP request. We don't like this, so we wanted to send the login form over HTTPS. And there began our problems. The trivial implementation of a Web 2.0 Login page is as you'd expect -- the AJAX stalwart, XmlHttpRequest, POSTing to a handler somewhere that validates the login, sets a session, and sends back some javascript to change the page layout a bit to show you're logged in. We had this working nicely, until we started testing on our staging environment, where HTTPS comes into play... You see, XmlHttpRequest doesn't like making a request to a domain other than the one that the main page comes from -- for security. It also thinks that the same hostname via a different protocol counts as a different domain, for the purposes of this security check. (I can see the theoretical reasoning for it, but it is a bit weird for HTTP to HTTPS transitions) So if you want to POST to https://www.vquence.com/something using XmlHttpRequest, you need to be doing it from a page which is retrieved from somewhere in https://www.vquence.com/ as well. We considered just turning on HTTPS across the board, but that would have all sorts of unpleasant ramifications, so we decided against that. But the problem remained, how do we get the user's credentials to our server in a secure manner with a minimum of unpleasantness? We came up with all sorts of options. This is where the infamy of "bug #93" started -- it's a monster of a bug log. Lots of it is me going "we could do this, but it'd suck, or we could do this, but it would suck". Finally, Silvia (I think) suggested we look at using an iframe. "Eeew" was the general response, but it might at least give us a way to set a part of the page to HTTPS, which we could use as a launching point for our XmlHttpRequest call. While researching how to make this all work (I had, to my great pride, never inflicted an iframe on the world before), I managed to come across a few articles on how you can use a hidden iframe to handle requests instead of using XmlHttpRequest. Basically, the trick is that you do a regular POST on your main page, but set the target of the form to a hidden iframe in your page. A general discussion of the principle is available At the Apple Developer site, and there's also a Rails plugin that implements the concept rather nicely. When I found these, I briefly danced for joy. My quest was over. POST to the iframe, the iframe get some JS back from the server, JS mangles the main page's layout to show the user is now logged in... aaaand profit. Like fun it was. My implementation was short and sweet -- a true work of genius (if I do say so myself). Everything worked like a charm. Until we got it back into staging. Then cross-domain security bit me again. Naturally, if you don't want XmlHttpRequest calls to perform cross-domain, you probably don't want iframes for different sites to be manipulating each other's content either. That's exactly what happened -- the iframe can't manipulate the main page's layout as we need it to. Why I didn't think of this before I charged mightily ahead I don't know. My only defence is that I've never claimed to be a web development guru. Sneaky tricks will defeat any security measure, though. For instance, we control both sites (http and https), so we can send the user back to the unsecured site after login and then that location (still in the hidden iframe) can manipulate the main page layout. Redirect to the rescue! That worked really well in Firefox, even with HTTPS in staging. We were saved. At least until IE came along. Bloody Microsoft, ruining all my cunning plans. IE complains when a HTTPS site redirects (using the Location HTTP header) to a HTTP site. You apparently can't turn this off. I was shocked that Microsoft cared so much about their user's data security -- it's certainly not the first thing I think of when I think "Microsoft". My faith in the world was restored when Silvia pointed me to a workaround for the problem -- if you send the redirect in a <meta http-equiv="refresh"> tag instead of a Location header, IE is more than happy to let it pass. Because obvously a chunk of HTML that says "HTTP equivalence" is completely different to a HTTP header. Sheesh. To snatch defeat from the jaws of victory, after all this brilliant hacking, I managed to make a newbie error with the contents of the http-equiv by setting the content to "0;http://www.vquence.com/blah" instead of "0;url=http://www.vquence.com/blah" (note the url=, because I sure didn't). IE complained by looping infinitely on the source URL, while Firefox just made sense of it and did the right thing. I managed to waste most of an hour of three of us over that little stuff-up. Go me! (Sorry about that guys, by the way) Feeling very chuffed, I went home for the evening. The next morning saw a browser compatibility defect in my queue -- Safari didn't like the new setup. Instead of doing the right thing, clicking on the login button would create a new tab instead of logging in. The fix? Changing the style of the hidden iframe from "display: none" to "width: 1px; height: 1px; border: 0" did the trick. Fark. So much for "hidden" iframes. What's particularly funny is that Apple's own tutorial on hidden iframes says to avoid "display: none" because NS6 doesn't like it, but doesn't mention it's own glaring deficiency in this area. So, what are the lessons learned?

9 July 2007

Matthew Palmer: Hell is other people('s code)

I've been working (part-time) on an existing Rails application for the last month or so, getting comfortable with it, modifying some sections to support needed functionality, and beginning an all-out, carpet-bombing "shock and awe" assault on it's test suite. However, a significant portion of the system is (or rather was, since I've already gutted a lot of it) a chunk of rather messy and unpleasant auto-generated code. I've always been a bit iffy about code generation tools, ever since my first encounters with them whilst working on some $DEITY-awful access application years ago. (First encounters with anything Microsoft usually have that effect on me, though). Since then, I've never found any reason to change my mind, and dealing with this particular chunk of auto-generated code has pushed me over the edge into "wild-eyed extremist" territory. Please note that when I say "code generator", I'm talking here about programs or wizards or whatever that create a block of code that you're then expected to tweak to suit your conditions. If it's just a mechanical transformation of an input format to an output format, where a human is never expected to maintain the output by hand, that's not code generation in my book -- that's just a compiler being used for it's intended purpose. I like compilers. I'm fairly sure you do too. Code generators, though? EVIL. Consider what you get out of your generator: A big blob of code in your application that you then have to understand and maintain. It's like you gave a commit bit to some random person who dropped a 5000 line change into your tree and then ran away into the night, cackling. If there's bugs in the generated code (and remember, there's always bugs in software), when they get fixed upstream you're up the creek unless you haven't modified the code at all (and thus can regenerate), or you're willing to apply the necessary patches to your modified version, often by hand. Hand-patching is error-prone, and if you've modified the code at the same place that has to be patched, things can get unpleasant. In the case of the generator I'm dealing with at the moment, I'm not even blessed with it being decent code. It's ugly code, in every possible sense of the word. There's inconsistent formatting, poor commenting, it uses some totally whack coding constructs[1], the hard-coded text strings are ungrammatical, it's got very few (and poorly covering) test cases, the methods are huge and unwieldy, and it's got security bugs (not so hot for something that's supposed to be guarding your application). In short, it looks like some quick-and-dirty internal hack that escaped one night and is now wreaking havoc on the world. There's probably some really good code generators out there. I've been poking around a bit, and there's some written for Rails by people who I know produce good code. However, no matter how good the author of the code generator is, the very best you can hope for is solid, clean code that is the equivalent of some portion of your application having been coded by some member of your team who you (and nobody else) has ever met, who didn't follow your team's coding conventions, and who has never looked at any other part of your application to make sure that everything hung together in a consistent manner. Which you now have to maintain. I've read a lot of books, articles, blog posts, and mailing list messages, and participated in no shortage of "why software sucks" discussions with other programmers, but I've never heard anyone advocate that the way to clean code, minimal bugs, and happy programmers was to drop a big chunk of unknown code right in the middle of things. Before you start charging up the e-mail-delivered tasers, ready to fry my delicate braincells for the twin crimes of Xenocodophobia and a vicious case of Not Invented Here syndrome, though, please understand that I'm not against code reuse in the right place. That right place is a library, component, or other abstract, documented, fairly static, and presumably-replaceable chunk of code. By using a library, you get a relatively simple interface to somebody else's complexity. This is a good thing, for all the reasons that everyone should already be able to recite. Items such as a comprehensible interface, minimal learning curve, and so on. Things you don't get with generated code because, pretty much by definition, the entire chunk of code is you "interface". There are some times, though, when what you want to do can't be done in a library. Either the thing has too many tentacles to be able to easily encapsulate behind an abstracted interface, or you need to modify it's behaviour in too many places to be able to get away with a few simple callbacks to get the job done. Hence, it might be tempting to fire up the code generator to get yourself out of a hole quickly. Don't do it though. Don't succumb to the temptation of saving yourself a little bit of time by firing up a code generator. What you're doing there is just making pain for yourself, by inheriting a big chunk of code that you don't fully understand, probably doesn't solve your problem particularly well, and which you (or whichever poor slob gets the job after you) will have to maintain into perpetuity -- most likely by gradually rewriting large pieces of it so that it fits your application better. The output of a code generator is likely to be the least maintainable code in your tree -- either by virtue of the fact that it's crap code, or at the very least because you just don't understand it. The general principle of good codebase hygiene is that you get rid of unmaintainable code quickly, so it doesn't infect everything else (a la the "broken window theory"). With that in mind, why would you ever consider deliberately introducing a huge chunk of unmaintainable code into your application? The closest I can come to a defence of code generators is something like Rails' scaffolding, where the controller and views for a set of simple CRUD operations on a table are auto-generated. The key word there, though, is scaffolding. It's very name suggests that it's temporary, to be replaced with something more robust and useful as soon as is reasonable. The default scaffolding is ugly as sin, besides, which encourages you to replace it, and -- as of Rails 1.1 (I think), there's a 'scaffold' method which creates the scaffolding output at runtime, so you never, ever need to generate scaffolding code any more. Anyone planning on producing any significant piece of their application through the use of code generators is, in my book, committing a crime against software decency.
1. My favourite whack code construct thus far has been this gem:
 case somevar
   when 17
     do_something_here()
 end
Because, you know, if statements are for people who know how to program, or something.

Matthew Palmer: Britney Spears explains Garbage Collection

... in song, no less! And for the few people in the world who haven't seen it before, Courtney Love explains the basics of BGP.

7 July 2007

Matthew Palmer: Exceptional Flow Control

(or: finally, a use for ActiveRecord#save!) I recently found Rescue To The Rescue!, a short article on structuring your Rails controllers differently. Today, I started using it in some code I was writing that I think really benefitted from the change. The code was a big case that did things like this:
 case some_variable
   when 'X'
     process-based-on-X
     if save
       post-processing
     else
       throw_an_error
     end
   when 'Y'
     process-based-on-Y
     if save
       some-other-post-processing
     else
       throw_an_error
     end
   when 'Z'
     process-based-on-Z
     if !save
       throw_an_error
     end
 end
In each case, the pre-save processing was unique, and -- more importantly -- the action to take after a successful save was different, so I couldn't just save-and-handle after the case statement. However, the throw_an_error code was the same in each case, so I just changed the code to do this:
 begin
   case some_variable
     when 'X'
       process-based-on-X
       save!
       post-processing
     when 'Y'
       process-based-on-Y
       save!
       some-other-post-processing
     when 'Z'
       process-based-on-Z
       save!
   end
 rescue ActiveRecord::InvalidRecord
   throw_an_error
 end
My mind was blown. Soooo much clearer now. I have an "everything's OK" code path, and a "bugger me, something broke" path, cleanly separated. But something didn't feel quite right... And now I know what it is. I'm bothered by the fact that I'm sailing very close to using exceptions as an ordinary, every day flow control mechanism. I think I've convinced myself that, in this case, it's OK, but I'm a little concerned that I might go power-hungry and start using it in places that it really isn't warranted. I guess I'll just have to keep an eye on myself. Just remember, everyone: save! isn't a dirty word!

6 July 2007

Matthew Palmer: Well, that was surreal

I just got a call from a "Katherine" at Mantech IT (or Mantec -- they can't seem to get their domain name synced up with their business name), claiming that they've previously supplied Java developers on contract to "your organisation", and having another one to palm off onto us. Now, anyone who has the slightest bit of knowledge of the company I work for would know that's a laughable proposition. We Don't Do Java. We also don't do enough software development that hiring programmers of unknown capability from a dodgy agency is an effective proposition for us. With my "WTF?" antennae twitching, I asked what company she thought I worked for. She mumbled something that could have been plausible, but I didn't really catch it. I said "pardon?", and she said "oh sorry" and hung up. Suffice it to say, I don't think that Mantech is a company you want to be dealing with (either as a candidate or a company) if this interaction is anything to go by. Sigh. Yet another "all recruiters are scum" data point. I'm getting quite a file by now.

1 July 2007

Matthew Palmer: This is what Web 2.0 is for

Very cool and ultimately largely pointless: I give you "If The Earth Were A Sandwich" -- a tool to let you see what is directly on the other side of the earth from a given point. (No, I have no idea what the meaning of the title is either). Ever wanted to know exactly where you have to dig to end up in China? Well, now you can find out.

19 June 2007

Matthew Palmer: Applause is Warranted

For "Freedom, Justice, and a Disturbingly Gaping Ass", one man's very well-written tale of why hot-linking isn't such a hot idea. While you can probably guess the overall content of the story just from the keywords "hot-linking" and "gaping ass" (what's Google going to make of that, I wonder?) I think it's worth reading this just for the way that Jason Scott tells his story of goatse, and his "pilot" explanation of why such stupidity exists on the Internet of today.

15 June 2007

Matthew Palmer: Observations on Travel

9 June 2007

Matthew Palmer: Good DNS Hygiene

How sure are you that the DNS infrastructure for your domains is in good health? Are they all properly delegated to the right place, with correct NS records and glue? Are all of the domains that you rely on to get your names resolved properly configured themselves? Although everyone out there is probably saying "pfft, of course!", don't be so sure. Before you assume the best, try running one or two of your domains through Squishywishywoo's DNS checker, which does a recursive query for the given record from the root servers all the way down, giving you complete information on what's being checked and what the results are. From that report, you can easily work out what's wrong with your DNS lookups, and correct the problem at it's source. It's also handy for seeing exactly how a DNS lookup works (and explaining to random nitwits how DNS queries actually work). It's actually interesting to run a few domains (run by people who should know better) through the checker and see what actually happens. There's a surprisingly large amount of breakage in people's DNS setups. So the next time you find someone's website is slow to load, perhaps run their FQDN through this DNS checker and see if it's their server or their DNS lookups that is slowing things down.

Matthew Palmer: Project Honeypot: The Joining

After asking last week if anyone had any experience with Project Honeypot, I got one response, from Chris Samuel, who was pretty positive about the whole thing:
I'm one of the people contributing, from the stats on my site it appears I've contributed to the identification of 6 harvesters and a comment spammer. I'm only running it on one site at the moment, but it seems to be a useful service and once it's up and running it seems fairly inconspicuous.
I decided to give it a go myself, and signed up. It's pretty nifty the way it all works. You can do a number of different things to be part of the project, from linking to other people's honeypots (through the trivial act of adding some HTML to your web pages), or you can setup a honeypot of your own (which is done in an ingenious manner, and just requires you to be able to run one of a bunch of different forms of dynamic script -- about ten minutes work, tops). You can also contribute a domain (or subdomain) which the project will use as a spamtrap domain -- all you have to do there is add an MX record. The use of lots of different domains makes it harder for spammers to filter known spamtrap domains out of their lists. In exchange you get good karma from helping to identify network abusers, and you can monitor chunks of IP space (such as space that your company sub-leases to others, for example) for evidence of abuse, or use the collected data to block abusers from your own web servers through the project's http:BL service. The http:BL, for me, is probably the most valuable "payback". It lists IP addresses that have been used recently by comment spammers, address harvesters, and other abusers of HTTP resources. It's not a list of spam sources, though -- there's no shortage of DNSBLs for that. The project has an Apache module that can query the list and re-route or block requests from those IP addresses, and there's also a Wordpress plugin that queries the list (not that I use Wordpress, but it's an example of what can be done). Unlike Chris, I haven't helped to identify any bad activity yet, but there's been some activity on my honeypot, so I'm hoping that I'll catch someone soon. I think it's worth getting involved and contributing what you can -- there's very little cost involved (I got all my resources setup inside of an hour, and I haven't noticed any increased load on my server or bandwidth), and everyone wants to stop Internet abuse. So please, take a look at the project and consider joining.

7 June 2007

MJ Ray: Working feedback routes attract subscribers

As I mentioned before, I'm getting quite harsh in unsubscribing from buggy feeds. I'm also being quite harsh in not subscribing to sites which have broken feedback systems like no comment box or email address, broken (rather than non-existant) trackback/pingback support, eyetests, or dumb tools like Spam Karma 2. Therefore, I'm not subscribing to Limes & Lycopene, recommended by Brane Dump: The Thoughts of Matt Palmer, because although it's an interesting site it has a broken feedback route, which makes it less attractive. It's more than a bit annoying to want to interact and then be blocked by a broken site. I still subscribe to about 100 sites, but that number will probably fall further. How do you decide what sites to drop?

Matthew Palmer: For Your General Good Health...

Read Limes & Lycopene, the regularly updated blog of nutritionist Kathryn Elliott. It regularly has interesting and healthy recipes, discussions of current food-related news and fads, and Kathryn has recently started up "Q & A Thursday", where you can ask questions throughout the week and get a big dump of interesting answers each Thursday. My favourite from today's burst is "What should your dinner plate look like?" (apart from flat and round, of course...) In the recipe arena, I can't recommend the Pumpkin and Cinnamon Ristto highly enough -- it is absolutely delicious.

3 June 2007

Matthew Palmer: Perhaps It Wasn't The Marketing...

It is common wisdom that one of the major reasons that Microsoft has prevailed in the software industry is because it is supremely good at marketing it's products. After watching a Windows 386 promotional video, I'm starting to doubt the validity of that wisdom. To paraphrase Mr. Burns, "Smithers, I'm beginning to think that Microsoft is not the brilliant marketing machine I thought it was".

Matthew Palmer: OfflineIMAP and Deleting Folders

(File this under "Reminders for the future Matt") I use, and highly recommend, OfflineIMAP for the synchronisation of your e-mail between your daily working machine and your IMAP server (if you don't have an IMAP server available for your mail, it's high time you got one). You point it at an IMAP server somewhere far, far away, and a local Maildir, and all of your mail and folders magically get synchronised in both directions. New folder on the server? After the next run, it'll be on your local machine. Even more magical, though, is that any new mail or folders you create on your local machine will be uploaded to the server. Woohoo! Offsite Backups! (Before you GUI mail users say "pfft, my client does that all for me", I'll remind you that I don't need to chew several hundred megs of core to delete my spam) I've got some magical procmail rules (specifically, look for "ARTFUL PROCMAIL") that automatically filter list e-mail into individual folders (with automatic creation of the folder if necessary, of course). This makes mailing lists soooo much easier to handle. Of course, when I unsubscribe from the list a couple of weeks later, that folder is still sitting there, empty and forlorn. I don't mind empty directories, except that they slow down the OfflineIMAP sync run, since it asks "any new mail in here?" for every one of them. I'd just delete them from my local machine periodically, except that OfflineIMAP can't delete folders off the server if you remove them from your local Maildir (and vice versa). Instead, the folder gets re-created on the local machine, which is definitely not the result I'm looking for. I'm pretty sure this is an IMAP limitation, so I'm not criticising John Goerzen for not implementing this particular feature. However, the empty folders bother me a bit, so I decided to do something about it. Namely, I hacked up some little shell one-liners. These one-liners are all dependant on you having the same IMAP server (Courier) and folder name mapping (none) as me, otherwise there's a good chance that your file names won't match the patterns I've used. For reference, My folders on the server are dot-directories under $HOME/Maildir, and my folders all start with INBOX. on the client. Also, both sides use periods to separate folder levels. As an example, e-mail to the debian-devel-announce list gets stored in $HOME/Maildir/.lists.debian-devel-announce on the server, and $HOME/Maildir/INBOX.lists.debian-devel-announce on the client. I've got one big before you start warning: this process involves deleting things. If you're not able to verify that what these snippets are doing is correct for your particular situation, then please do not run them. Also, if running them causes all your e-mail to disappear or your cat to fall pregnant (despite being spayed and/or male), then that isn't my fault. The only warranty I give is that It Works For Me. It May Not Work For You. As a first step, make sure that your local and remote mail stores are in sync -- presumably by running OfflineIMAP. Otherwise, a folder which is empty on one side might not be quite-so-empty on the other side, and that would possibly make for sadness. Stopping e-mail from coming into your mailboxes would be good, too -- I just turned off my MTA for a few minutes, because clogging other people's queues is fun. Doing something smart with procmail would also work. On the OfflineIMAP client machine (laptop, home desktop, whatever), cd into your local mail store, and run this to generate a list of IMAP folders that don't have anything in them:
 for i in INBOX.*; do find $i -type f   grep -q $i   \
 (echo $i   sed 's/^INBOX//'); done >/tmp/empties
The contents of /tmp/empties should look something like:
 .Deleted
 .junk
 .lists.debian-devel-announce
 .lists.something-funny
 .spam
Review the list of folders it produced (just to make sure nothing really unpleasant ended up in the list), and then run:
 for i in $(cat /tmp/empties); do rm -rf INBOX$i; done
to delete all the empty folders. Next, copy the list of folders onto the IMAP server (yes, you need shell access on the server to do all of this; that's why I run a Linode), cd into your Maildir on the server, and run this:
 rm -rf $(cat /tmp/empties)
That removes the folders from the server as well. For some reason, OfflineIMAP doesn't notice that a folder has gone away, and so it doesn't remove the metadata for the deleted folders from it's cache. I'm not sure if that hurts performance or is otherwise injurious to your health. To be ultra-neat, go into $HOME/.offlineimap (or wherever your metadata dir is) on the client machine and run
 for i in $(cat /tmp/empties); do find . -name INBOX$ i ; done  xargs rm -rf
And that makes everything clean and tidy. Now, of course, someone's going to point me to a small script that finds all of your local empty folders and deletes them locally then issues an IMAP "delete folder" command on the server. But I had fun working all this out, so it's not a complete waste.

Matthew Palmer: Project Honeypot

Recently I stumbled across Project Honeypot, an interesting anti-spam system to identify and flag Internet abusers, through the use of honey pots -- systems that look innocent and attractive enough to the passing network abuser, but which actually log and flag the abuser's activity and record it for future reference. It seems cool enough -- anything that aims to stop random assholes from abusing the Internet and making life unpleasant for the rest of us is to be commended -- but I'm wondering if anyone has had any experience with the project, and has any comments? I'm considering joining up and contributing a few resources, but prior experience is always worth listening to. E-mail me at mpalmer@hezmatt.org, and I'll summarise in a future post (possibly with my own experiences, if I do actually join up).

Matthew Palmer: Get Your War On

I've got a number of web comics in my rotation, which I read with varying regularity. I don't know if I'd call "Get Your War On" one of my "favourites" (if only because I don't think it should need to exist), but it does have some viciously biting commentary on the Iraq war. Some of the ones I wish I had on T-shirts: Culturally Sensitive @ Get Your War On Shiite Death Squad Productivity @ Get Your War On The Power of Freedom @ Get Your War On The Writ of Habeus Corpus @ Get Your War On

30 May 2007

Matthew Palmer: E-mail Overload

I'm not suffering from it myself at present, but over at that prince of productivity blogs, 43 Folders, Merlin Mann has a nice piece on "E-mail Bankruptcy. The idea is that if you ever get completely overloaded with unread / unresponded-to e-mail, you just "declare bankruptcy", delete all your unread e-mail, and let the world know that if it's important they should resend it. The best part of the article for me, though, was this description of e-mail overload:
Email is such a funny thing. People hand you these single little messages that are no heavier than a river pebble. But it doesn't take long until you have acquired a pile of pebbles that's taller than you and heavier than you could ever hope to move, even if you wanted to do it over a few dozen trips. But for the person who took the time to hand you their pebble, it seems outrageous that you can't handle that one tiny thing. "What 'pile'? It's just a fucking pebble!"
The next time I get bothered that someone hasn't replied to my e-mail, I'm going to try to remember that they may have a lot of other pebbles in their pile.

Matthew Palmer: The Programmer's Rant

Normally I'd sigquote this sort of thing, but (a) it requires a wider audience than the occasional appearance at the bottom of a drivel e-mail, and (b) it's way too long for that. So I'm going to blog it instead. In response to a comment that programming requires the skill of clairvoyancy, a response was:
Required? It just makes you suffer more. You know up front that they'll accuse you of ducking the question when they ask for a schedule and you give one contingent on specific preconditions. You know ahead of time that they'll change the specifications at the last minute. You no ahead of time that if you object to changes without revised budget and schedule that they'll say you're no a team player. You know ahead of time that they'll blame you even though they signed off on the schedule being contingent on no changes. You know ahead of time that there will be nothing that you can do about any of these. So what does your precognition buy you other than an ulcer or perhaps a coronary?

25 May 2007

Matthew Palmer: Who needs Groklaw...

when you've got bash.org?

Next.

Previous.