Approaches to Managing Software

  • Oct. 28th, 2009 at 12:17 PM
Mechanical
I've just had the most interesting meeting with another developer who needed to figure out a solution to a complicated problem. His solution was a caching strategy with synchronization issues. He had three separate processes which must be run in sequence and at the end, the only way he could figure out if his information was stale was to refetch the data he was caching. I was totally confused by the approach. When a solution is complicated and non-obvious, it's time look at the underlying design. He wanted to solve the problem and I wanted to simplify it. As it turns out, one minor change to our system eliminates many of the problems he was facing.

When faced with a complicated problem, I can't understand why someone's first instinct isn't to step back and say "what problem are we really trying to solve and how can we make it simple?" That should almost always be the first approach. When you can't solve it, simplify it.

Marketing Fail

  • Oct. 25th, 2009 at 2:15 PM
Mechanical
Three guesses why this "exercise equipment" never caught on.



You have to wonder just who the hell thought they were going to make their fortune on this thing. How could you not realize what a laughingstock this thing is?

Tags:

Another fake "Obama was born in Kenya" rumor

  • Oct. 25th, 2009 at 12:11 PM
Mechanical
Birthers fail another one. They cite a 2004 "AP" story as evidence that Obama was born in Kenya. Turns out that the Associated Press did not, in fact, mention that Obama was from Kenya. Seems the "Kenyan-born" reference was added by an author who didn't bother to fact-check his sources.

His birth certificate has been released. Hawaiian state officials have verified that it's real. Hawaiian newspapers at the time of his birth had his birth notice. The courts have routinely tossed cases about this because there's no credible evidence he was born in Kenya. The "Kenyan" birth certificate which was released turned out to be a poorly made forgery. Several respected conservative magazines have investigated this and determined that Obama was born in Hawaii. Would you people who insist upon "knowing the truth about where Obama was born" knock it off? We already know the answer and there are far more important things to pay attention to.

Tags:

The Republican Party is Crucifying Itself

  • Sep. 28th, 2009 at 9:14 PM
Mechanical

In the Trinity College study American Nones: The Profile of the No Religion Population (PDF), we find that the Republican Party has troubling times ahead. The "nones" are those described as "no religion" in the American Religious Identification Survey 2008. The "American Nones" study has this to say about "nones":

Nones are easily misunderstood. On the one hand, only a small minority are atheists. On the other hand, it is also not correct to describe them as “unchurched” or “unaffiliated” on the assumption that they are mainly theists and religious searchers who are temporarily between congregations. Yet another incorrect assumption is that large proportions of Nones are anti-rationalist proponents of New Age and supernatural ideas. As we will show, they are more likely to be rational skeptics.

Amongst some of the highlights of the survey, it found that in 1990, 6% of Democrats were nones and 6% of Republicans were nones. Today it's 16% Democrats and 8% Republicans. Nones are currently 15% of the population, but that number is expected to rise to about one fourth of the population in 20 years. Further, fewer than 10% of nones under the age of 30 are Republicans. If the present trends continue, the Republicans are going to find it harder and harder to sway voters.

In short: the Republicans are actively chasing away one the largest and fastest growing demographic groups in the US. I wonder, perhaps, if they're actually responsible for this group's growth.

Pop Quiz!

  • Sep. 26th, 2009 at 9:51 PM
Mechanical
OK, pop quiz time. Please define "patriot".

patriot_donuts

(Originally found at Cake Wrecks)

Tags:

Leveraging Bureaucracy

  • Sep. 8th, 2009 at 1:33 PM
Mechanical
Bureaucracy is a breathtaking thing to behold. I'm gone on holiday for two weeks only to come back and find that I'm now a Java developer. Though surprising, this isn't as entirely crazy as it sounds. A new system integrating with our platform needs to be developed and since it's a server on our Forge platform, it must be written in Java. Not having written Java in years, I am nonetheless our most experienced Java developer.

So we now have two new Java developers on loan to our team and my task, along with another developer on our team, is to learn enough Java to take over the new system being built and to use our rights modeling domain expertise to guide the Java developers on the creation of the new system.

So today, we find ourselves needing to explain the modeling of a particularly complex part of our system and we need to find a meeting room with a white board to diagram it. After much searching, one of the Java developers reports back that he's found an available room. Upon arrival, we find a lady in the room, gaily chatting away on her cell phone. Stumped, we stand around and try to decide options and I say "hold on a second." Our booking system is so rubbish that rooms are often double-booked.

I opened the door, stuck my head in and asked "excuse me miss, have we had another booking error?"

Since I asked, seems she just assumed that we had legitimately booked the room and apologized and left, making way for our team.

Not a nice thing to do, but we had a full, uninterrupted hour to realize that the problems we faced were greater than we thought.

What do you want in a Web site?

  • Aug. 19th, 2009 at 10:17 AM
Mechanical

I'll be taking a couple of weeks off from hacking on my pet project as I'll be in the US for a friend's wedding, but in the meantime, I can still have ideas percolating in the back of my mind. What I'd like is some of your ideas percolating in the back of my mind.

Maybe you love adventure, you're bored with your home country, you prefer the politics of other countries, you want to travel, etc. Whatever your motivations, you probably have been annoyed trying to find "one stop shopping" for information about moving to other countries. Turns out it's a hard thing to do, but there's a lot of possibilities out there, if only you had the information.

Most Web sites dedicated to this topic restrict you to a single country or are old school sites like www.expatriates.com or hideous commercial sites like www.escapeartist.com with no social aspects.

I think it would be interesting to build an online community of world travellers (or would-be travellers) with an ability to share stories, experiences, tips, etc. Search for countries by ease of entry, languages spoken, government stability, job prospects, immigration laws, etc. If such a Web site appealed to you, what would you want to see in such a site?

My Current Project

  • Aug. 18th, 2009 at 12:03 AM
Mechanical
Because you were just dying to know (ok, you weren't), I've been building a Web site. There's nothing terribly exciting and most of you would be bored to tears by it, but geeks might be interested in the technology used to build it.

The site is running from the built-in Catalyst server on a friend's box and the database is SQLite, so don't hammer it too hard :)

Naturally, the source code is public.
Mechanical

I had to send an email to our internal customers. Regrettably, it's both an extremely important and long email. Those tend to not get read. My email opened with this:

In our never-ending quest to annoy our customers, the PIPs team has identified a potential need for a backwards-compatible API change.[1]

See that "[1]"? Means there's a footnote. After a long, drawn-out technical explanation, I have a footnote. If they read the email, they might actually notice the footnote. This is that footnote:

1. Actually, our first plan to annoy our customers was to steal your puppies, but we quickly realized that some of your are puppyless and we'd have to spend our hard-earned cash to buy you puppies first. That would annoy *us*, hence our fall-back annoyance strategy.

I originally wrote "eat your puppies", but that would have been unprofessional.

Engaged!

  • Aug. 12th, 2009 at 9:20 AM
Mechanical
Leïla Contraire So it turns out my trip to Portugal was more eventful than I thought. Leïla, the woman to the right, foolishly agreed to marry me. No date is set for the wedding, but given that it will be a mix of French, American, and English cultures (one of these things is not like the others), it should be interesting. I have a larger Lisbon, Portugal photoset on Flickr, if you care to see it.

We also mentioned this on Facebook. My favorite comment so far was by a French gentleman whose English appears about on par with my French. He wrote "We enjoy the weeding ceremony". Seems like a rather appropriate mistake :)

Tags:

Just Because ...

  • Jul. 22nd, 2009 at 7:47 AM
Mechanical

Update: Bah! They removed the image :/













(Can't credit the gif as I don't know the author and it's a random photobucket link)

Do You Miss Firefly?

  • Jul. 18th, 2009 at 8:50 PM
Mechanical
Enter Crimson Dark (that link starts at the beginning), an online Web comic. The author freely admits his influence by Firefly and the re-imagined Battlestar Galactica. The art is fantastic (all computer models) and the story line is interesting, too. If sci-fi and Web comics interest you at all, I highly recommend it. Pure escapism.

Things You Don't Expect

  • Jul. 17th, 2009 at 3:26 PM
Mechanical
Talking with a British colleague who mentioned he was at a French restaurant in London with his sister. The waiter came over and asked if their meal was OK and his sister replied, in French, that it was an excellent meal. The waiter apologized, explaining that he was from Indonesia and didn't speak French. So she repeated what she said in Indonesian. The shocked waiter replied that he was actually from Bali and didn't speak Indonesian. So she repeated what she said in Balinese.

Damn. Just damn.

Many people (usually not British or American) speak several languages, but they're usually European or African. Frankly, were I the waiter, I think my brain would have imploded at that point.

Tags:

Writing Exercises

  • Jul. 12th, 2009 at 12:28 PM
Mechanical
Yesterday I submitted my first ever fiction piece for publication. I doubt it will get accepted (it is my first submitted piece, after all), but I figured I should try.

Writing non-fiction is easy for me, but fiction is harder. Much harder. However, as any good writer knows, there are three rules to writing: write, keep writing and write more.

I generally have interesting ideas, but my characterization skills are a bit weak and I'm not terribly good at establishing the setting and atmosphere. To rectify that, I have am working through some writing exercises and thought I would share one with you.

The exercise is to pick up a book at random (preferably one you do not know), pull one sentence out of it and, without referring to the context, write keep writing from that sentence, without stopping, three times, each time taking off in a different direction. The sentence I read at random was:

"A man called Bruno seems to be their most colourful victim. Perhaps he chattered with angels too, so to speak."

So let's see how I handle this.

Playing With Bruno )

Tags:

Misadventures In Language

  • Jul. 4th, 2009 at 11:30 AM
Mechanical
Today my girlfriend was making lunch for us and it looked lovely. I asked her what she was making and she replied tarte au thon. She speaks quietly and my French is not perfect, so when I mispronounced this as tarte au con, she was a bit surprised.

It's natural when one is not fluent to inadvertently say the wrong thing, but referring to "tuna pie" as "cunt pie" was particularly unfortunate.

Tags:

Things I Had In My Mouth Last Night*

  • Jun. 19th, 2009 at 9:39 AM
Mechanical
  • Crocodile
  • Zebra
  • Kangaroo (yummy!)
  • Crickets
  • Creme de menthe from a bottle with a python curled up in the bottom

... and a baby bee.

* Not an exhaustive list

Tags:

Best. Hack. Ever.

  • Jun. 16th, 2009 at 11:52 AM
Mechanical
I am not responsible for this. I merely found out about this from another developer, whom I'll call 'Alice', who told me about the task she was given.

Customer: we need you to write a script which synchronizes two directories.
Alice: why don't you just use rsync?
Customer: because the target box runs Windows and the admin says it doesn't work.

Alice wrote the script and it works just fine. All it does is call rsync.

Hay Fever

  • Jun. 15th, 2009 at 9:59 AM
Mechanical
About once a year, I have a really bad hay fever attack. I mean, really, really bad. Sniffling, sneezing, tears running down my face. In fact, I had one exactly three years and two days ago, my first day on my first job in the UK. It was pretty embarrassing.

Now, I'm having one today. I'm typing this at work, but I think I need to go home soon. This is awful.

Tags:

Worst. Joke. Ever.

  • Jun. 11th, 2009 at 12:05 PM
eye

Last night I went back to my old house in Ealing Broadway and picked a a few remaining things, got my deposit back from the landlord and hurt my back -- again -- by being stuck standing and stooped over on an overcrowded bus for half an hour. By the time Greg and I got home, I was in a poor mood, so I bought a bottle of Bruichladdich (whiskey) and Greg and I just sat, smoked, drank and chatted the remainder of the evening away. And that's when, without warning, I said:

I once knew a girl so stupid she had her eustachian tubes tied and now she can't hear her baby crying.

It was intended as a joke and I've no idea where it came from (I think I made it up on the spot and it's not particularly funny), but that's the strange way my mind has been working lately. In fact, plenty of strange things (words) are rummaging around in my brain. The other night, while washing the dishes and doing laundry, I walked over to my computer, opened it up, and wrote a seven page short story. It all just poured out of me. It's rather bizarre and I've no idea what's going on but I expect that stress from having so many things to juggle is part of it. I won't complain about it getting me writing again. I'll just go with the strange flow for now.