Category Archives: Geek

Nerdy stuff.

Programming Tip: Open and Close at the Same Time

One useful programming habit I picked up at some point is: if you open or start something, immediately close it or end it. If you open a bracket, immediately write its closing bracket. If you open a file, immediately write … Continue reading

Posted in Hacking, Things I've Learned | Tagged , , | 3 Comments

Nigerian Scammers Are Good People

Via Slashdot comes an IEEE Spectrum article about a new scam from Nigeria. In brief, instead of asking you for money directly, they redirect your business email. They wait until someone orders something from your company, then rewrites the bank … Continue reading

Posted in Geek, Links, Religion | Tagged , , , | 1 Comment

If You Use Unix, Use Version Control

If you’ve used Unix (or Linux. This applies to Linux, and MacOS X, and probably various flavors of Windows as well), you’ve no doubt found yourself editing configuration files with a text editor. This is especially true if you’ve been … Continue reading

Posted in Hacking | Tagged , , , , | Leave a comment

There Are Days When I Hate XML

…and days when I really hate XML. In this case, I have an XML document like <?xml version=”1.0″ ?> <foo xmlns=”http://some.org/foo”&gt; <thing id=”first”/> <thing id=”second”/> <thing id=”third”/> </foo> and I want to get things out of it with XPath. But … Continue reading

Posted in Geek, Hacking | Tagged , , , | Leave a comment

Would You Get Off the Plane?

There’s an old joke about an instructor who asks, “if you were on a plane, and found out that the inflight systems were controlled by a beta version of software written by your team, would you get off the plane?” … Continue reading

Posted in Geek, Miscellaneous | Tagged , , | 4 Comments

DD-WRT Config Backups

So the other day I managed to hose my DD-WRT configuration at home, badly enough that I figured I really ought to back up my config so I don’t wind up trying to reconstruct my config from memory. (If you … Continue reading

Posted in Geek, Hacking | Leave a comment

I Don’t Want Flying Cars; I Just Want Working Bluetooth

I love Bluetooth. I love that it’s supported on all my various electronic gadgets, and lets them talk to each other and exchange information, be it streaming audio data, or a text note, or what have you. Or at least … Continue reading

Posted in Hacking | Tagged , | 1 Comment