Archive for November, 2005

MochiKit Intro Screencast posted!

If you have ever tried JavaScript programming, you know how painful it is. You can not help but be impressed by Bob Ippolito’s work on bringing MochiKit together. Useful on its own, and extremely good as part of TurboGears. To quote:

MochiKit makes JavaScript suck less

MochiKit is a highly documented and well tested, suite of JavaScript libraries that will help you get shit done, fast. We took all the good ideas we could find from our Python, Objective-C, etc. experience and adapted it to the crazy world of JavaScript.

Watch the screencast to see how easy JavaScript programming can be.

What Changed?

I work at a software company, consulting for the newspaper industry. Newspapers are forever breaking their internal systems. A trait I’m sure is shared with any large organization. For our customers, we will be simultaneously blamed and asked for help.

The lesson I’ve learnt over the years is ignore what the person is telling me, and instead focus in on one specific question:

What changed?

The reason this approach works, is that the system was working prior to us being contacted. Then something happened, something broke, a cascading array of side effects manifested, someone important complains, and it is all our fault.

This sequence of events has been repeated in my travels from Amsterdam to Auckland. In terms of problem diagnosis, asking “What changed?” is something that I find incredibly useful, and am still amazed when others fail to use this technique.

The approach often used by our staff and customers is to assume a particular thing is broken. The assumption is often based on previous experience with the thing breaking, and when they are correct, it re-enforces the assumption. Different people assume different things.

Finding out what it was that has changed is almost an art form. The frequent answer of “Nothing”, is always incorrect.

Something must have changed or the system would still work. This response indicates that you are asking the wrong person, or providing the wrong context. They may not know what has changed, or may assume that a change in a different system, such as network configuration, is unrelated.

Try asking in different terms, or expanding your search and asking other people. You can be safe in the assumption that something changed, even if it is as simple as the day of the week. Y2K bugs were a result of the date changing and the system not coping.

Of course finding a solution may not be simple, but odds are you have found the cause.

Evening at Adler - Some guys talking about the Mac

After watching the Evening at Adler video, I can safely say that it is a must see for anyone developing software for the Apple platform. DB managed to assemble the who’s who of Mac software development for a round table chat.

Inspirational and informative, with a touch of controversy and some laugh out loud comedic moments. Can’t go wrong really. Although I suspect the background music was chosen for the closing visuals.

Phishing for a Holiday

In keeping with the interruption theme, I was interrupted by a phone call from an Indian woman telling me in a toneless voice that I should be excited as I had just won a holiday.

And not just any holiday, I have won five nights accommodation for two to a three or four star hotel of my choice anywhere within Australia. If I am prepared to provide contact details of additional people, I can get an extra two nights, absolutely free. Was I excited?

Not really.

I travel an awful lot for work, so staying in Australia for a holiday doesn’t appeal to me. I am also single, so the twin share thing doesn’t interest me either. I have recently booked to go snowboarding in Japan. Much more interesting than a local trip. But if my Australian holiday is free?

Curious as to whether I really wanted this, I pressed for more details.

Apparently, all I need to do to claim my prize is to pay a $99 booking fee using my credit card. Alarm bells start ringing here. Someone I have no previous dealings with wants my credit card details for a booking fee for a holiday? Even if this is legit, it really smells bad.

Asking for more information was a difficult task, as the entire call was scripted to the point that I wondered if I needed to speak to keep it going.

With further questioning, I was provided with a web site as some level of proof of the offer’s legitimacy. Alas, the domain wasn’t registered yet. Not compelling evidence of a real company.

In the end, I graciously declined the offer as I am not prepare to pay the booking fee. In theory, I will receive a call once I have a chance to digest the wonderful offer I am passing up.

I wonder how many credit cards these guys have acquired using this scam? Too many is the likely answer.

For now, I will wait with bated breath for my holiday.