Monthly Archives April 2008

Nice little BASH one-liner to iterate through a directory

for afile in /home/auser/adirectory/*; do echo $afile; done
Useful for all kinds of things. And I can never remember how the syntax changes between doing a for statement in a bash script and doing it as a one-liner on the command line.

Job Interviews; Personality Does Matter

I recently interviewed a very intelligent, capable programmer who was near the start of his career. I decided not to make him an offer, and he sent a very nice follow-up e-mail asking for tips on how to present himself better. I figured my reply might be very useful to other applicants, so I’m posting [...]

Getting it out of my head

I had a conversation with a friend on Sunday that really stuck with me — made it difficult to sleep that night. She was talking about her father, a retired cop, who carries a gun with him everywhere. It was a sad story, for a lot of reasons, but it’s not my story, and I [...]