Category Archives: Coding

Atomically update serialized PHP arrays in MySQL

Okay, okay, it’s hard to find a use case for this when it’s so obvious that the correct way to handle one-to-many is with JOIN. But if you’re already committed to your schema and you decide you need to append … Continue reading

1 Comment

Filed under Coding, MySQL, PHP

Erlang is a hoarder

One day you set aside a shoebox to store newspaper clippings. Suddenly you are trapped under an avalanche of whole newspapers and wondering how long your body will lie there before anyone misses you. That is what kept happening to … Continue reading

14 Comments

Filed under Coding, Erlang

Knuth on Knowing

We often fail to realize how little we know about a thing until we attempt to simulate it on a computer. Donald E. Knuth The Art of Computer Programming, Volume 1, Third Edition Section 2.2.5, Exercise 10 (p. 298) 

Leave a Comment

Filed under Coding, Programming

Drupal and “WordPress”

A small number of people will chuckle at this:

4 Comments

Filed under Coding

My SSH config setup

Ask me “What do you do?” If you don’t sound particularly interested, I’ll tell you “I type.” Ratchet up your inquisitiveness and I might tell you that I write computer programs or blogging software. Eventually you’ll find out that I … Continue reading

11 Comments

Filed under Coding, linux