bor.borygmus

A programming weblog by Hao Lian. • A long walk through an angry forest. • A series of memory leaks brought on by senility.

Perl, a fun and exciting place to be.

(stackoverflow.com)

[(March 16, 2011) .]

Avery Pennarun dives into the three ways of file locking on *nix and OS X: flock, fcntl, and lockf. He resurfaces, horrified.

apenwarr.ca

[(December 13, 2010) .]

Poignant and funny tales of engineering woes.

reddit.com/r/AskReddit

[(October 28, 2010) .]

It’s not as easy as you think. It’s also not as hard as you think. In any case, it’s my favorite kind of algorithms writing: Smart, lots of examples, lucid, and fun—plus a Python coda.

And we’re all following Frederick Akalin’s programming weblog, right? OK. Just wanted to make sure we were all on the same page.

With that in mind, you should be able to solve the first question to the 2010 Greplin Programming Challenge.

akalin.cx

[(October 8, 2010) .]

Always fun to do something without an IDE. And, let’s face it, it’s not really programming without a terminal.

cocoawithlove.com

[(September 20, 2010) .]

On Google Chromium’s attempts to speed up SSL/TLS (and HTTPS) with TLS False Start. The wannabe network wonk inside me loves a dedicated, uphill fight to change a protocol in the Right Way, or maybe I should just stop listening to Arcade Fire while reading.

We’re all following Adam Langley’s weblog, right?

imperialviolet.org

[(September 6, 2010) .]

sshd, the gift that keeps on giving, can also be configured to be completely invisible unless you connect first to a sequence of secret ports. The article calls it port knocking, but I call it Diagon Alley mode.

ibm.com/developerworks

[(September 5, 2010) .]

Matt Gallagher adapts a performance trick C programmers know and love—malloc() a large block of memory and manage it yourself—to the hurly-whirly world of Objective-C with impressive speed and time speedups. Don’t miss the commenters reminiscing about olden times.

cocoawithlove.com

[(September 4, 2010) .]