I’ve taken a break from SICP and TAOCP in order to get a good foundation in the C programming language, I’m familiar with it, but that is not good enough. The reason is because C exposes a
About a month ago I wrote about a command line utility I made that calculates word and character frequencies. It was packaged as a ruby gem and it interacted well with the Unix pipeline interface.
The Unix pipeline is a beautiful thing, as long as Standard Input and Standard Output are handled correctly, programs can be kept small and predictable. Getting any sort of complex functionality is si
A lot of people feared the year 2000 because the two digit year date rolled over from 99 to 00, which was believed to cause a lot of problems with time-dependent computer systems.
Now (December 20, 20
Sorry this has taken so long, I’ve been working on the Cryptography Coursera class,
to get rid of all spaces in all files below the current directory, the following bash script will do:
for filename in $(find .); do
newfilename=$(echo $filename | sed 's/ /_/g');
mv $filename $newfilename
Based on a comment by Mark Essel from part 1 I have been trying to add more metadata to the process tree. I have given up on doing it in a one-liner, so I started using bash scripts.
Then, after a few