Posted in cli, development on August 25, 2007 | 1 Comment »
If I told you I had to rename 1,000 files, change the extensions or
change hyphens to underscores:
how long would it take you?
what tools would you use?
what would you do?
how much would that answer change for 10,000/100,000/1,000,000 files?
Take a moment to think, please, before you keep reading.
…
This was a situation I was faced with this week. [...]
Read Full Post »
Posted in development on August 21, 2007 | 4 Comments »
It was a while back and I wanted to come up with programming exercises for ruby.
This time, it’s Erlang.
I dug up the code I had done then. I felt that I would need this for future reference. Here’s what I coded to learn Ruby:
anagram/permutations (list/string – difference?)
tower of hanoi
reverse polish notation calculator
n choose k
threads: print [...]
Read Full Post »
Posted in development on August 11, 2007 | 6 Comments »
After my recent disappointments with the state of syntax highlighting for code embedded in HTML, I did a little bit of research. I would also like to thank Marc-André Cournoyer for his recommendation.
I found a way to do it with TextMate, or with other blogging plugins. However, I’m not always on my Mac, and I [...]
Read Full Post »
Posted in cli on August 9, 2007 | 2 Comments »
I wish I had a better way to publish the source code and show it highlighted.
Any suggestions?
Read Full Post »
Posted in cli on August 9, 2007 | 4 Comments »
Not all directories are created equal. When you work on a specific machine, there are directories where you are bound to spend more time than others. The same thing happens on the web, there are pages you will want to visit more often than others. Thankfully, this problem has already been solved with bookmarks. I’m [...]
Read Full Post »