Archive for March, 2006

Kidney Stones

Had my first kidney stone this week and I have to say it hurt like hell! Luckily the hospital was nearby and they gave me all sorts of fun drugs to mute the pain. The whole ordeal took 6 hours, which I hope to never have to experience again. For me, this was just sharp [...]

Counting lines of code

I wanted to count the lines of code for a project I was working on and realized that it can be done with some simple regexp and commands. Thought I’d share: find dir -type f | egrep “(\.xml|\.java|\.jsp|\.tag|\.sql|\.html|\.tld|\.css)$” | xargs cat | egrep -v “^[\s\t]*$” | wc -l I was surprised that there are companies [...]

When The Long Tail Wags The Dog

Came across this essay When The Long Tail Wags The Dog…. Found it interesting and generally agree with the ideas proposed. General purpose systems enable things to be huge and can hit unintended sweet spots, but there is a fine line between good general and overly complex general.. This is another important factor for determining [...]

Switch to our mobile site