May 2007

You are currently browsing the monthly archive for May 2007.

I (Heart) Google

Today I found myself having to answer an obscure math question: what’s hexadecimal 59 divided by hexadecimal FF. I didn’t have a physical scientific calculator available so I tried a number of web-based calculator widgets (because I didn’t want to install new software just to do some hex arithmetic and I certainly wasn’t going to do it manually with a computer sitting in front of me).

None of them could answer this silly question.

So then I thought, what about searching google? Maybe someone has posted the answer somewhere on the web. I went to google and typed in “0x59 / 0xFF” and got something even better.

Apparently google’s had a built in calculator/converter for a while now, but it was a rather pleasant surprise for me.

Tags:

We Missed The Hip

The Hip

The picture is taken with a cell phone by our friend J (who’s in the amazing band, The Skullcranes). Jennifer and I missed the show because we both got sick during the day on Monday. By Tuesday we had dropped off the face of the earth (but luckily, not our bed).

We’re back in the land of the living now and hopefully The Hip will be back at least one more time. Apologies to J and Lisa for the short cancellation notice. We owe you.

Tags: ,

Code Monkey

I logged into g-talk this morning and noticed that two of my contacts (who don’t know each other and are not in each other’s contact lists) both had links to different YouTube videos for a song Code Monkey by Jonathan Coulton. One link was to what appears to be a user-created video for the song (go Web 2.0!) and the other is a live performance of the song by Jonathan himself (I especially relate to his pre-song banter).

In the interest of perpetuating this meme, I have embedded the videos below.

Tags: , ,

Alligator Eggs

I just came across a very interesting puzzle game called Alligator Eggs.

Although the author has intended it to be a non-computer game (i.e. you print things on physical paper and play with those) it reminds me a lot of the classic computer “game/puzzle” life (no relation to the board game of the same name). I wonder how long before someone creates a computer simulation for it.

The thing I really like about this game is that it teaches some very advanced algorithms and logic patterns (all having to do with Untyped Lambda Calculus for those of you that are truly geeky) in a very approachable (and cute!) way. That’s no small task (lambda calculus is normally very dry, believe it or not ;-) ).

This also reminds me of Nell’s Primer in The Diamond Age by Neal Stephenson. The Primer made use of similar games/puzzles to teach children programming concepts without them knowing that they were learning such things.

Even though it is unlikely that Untyped Lambda Calculus questions will appear on any No Child Left Behind standardized tests, I believe that these kind of puzzles inform our knowledge of the modern computer-driven world more than memorizing historical dates (not that I think that knowledge is unimportant, just not as likely to be useful).

I’d be interested in hearing from anyone that successfully plays this with their kids. Not that it’ll ever replace Candyland or Chutes And Ladders, but if your child enjoys this kind of game you may have a future computer scientist on your hands.

Tags:

Rescuing Code

I’ve been working recently on “rescuing” some code I had written a year ago (under the codename KARPmusic) to control icecast and ices. It’s written in python, so at least that part is easy, but it was written against the TurboGears web development framework rather than Django which I’m using now. Thus, it’s not a simple copy/paste task.

I actually enjoy this kind of archaeological coding. It’s very zen-like because the underlying logic of the code is done and working. All I have to do is put a fresh coat of “syntax-paint” on it. Some might find that kind of coding tedious because you aren’t actually creating anything new. I like it because it allows me to focus on some of the more esoteric aspects of programming (e.g. coding-style, unit-testing) which usually take a back seat to functionality. Another benefit to this kind of code-migration is that I am personally confronted with how much better a python programmer I am now than a year ago.

Now, if I could just apply the same zen-like strategy to other aspects of my life. “I’m going back and re-integrating some of my childhood belief patterns into my current life. Anyone know what I can do with this ‘trust authority’ pattern I’ve found?”

Tags: , ,

« Older entries