Archive for August, 2007

Functional Programming Frenzy

Friday, August 17th, 2007

My journey into the world of Erlang is progressing nicely. I’m really excited by the possibilities the language offers.

I wanted to get more perspective on functional programming by learning another functional language as well. Since my forays into LISP over the years never amounted to much, I decided to try out Haskell. [...]

Terminal.app v. erlang and Latin-1 characters

Saturday, August 4th, 2007

On pages 29-30 of “Programming Erlang” by Joe Armstrong, the author goes over character strings. Erlang uses Latin-1 as it’s character set. At first, Terminal.app wasn’t showing the non-US / ASCII characters.
There’s a two-step process to solve this:

Terminal->Window Settings…->Display->”Character Set Encoding” set to “Western (ISO Latin 1)”
Set the environment variable LC_ALL to “en_US” [...]

Wha-wha-what?! You can make your own control structures?

Thursday, August 2nd, 2007

I’m working through the Programming Erlang book that my friend zuzu recommended to me. Forty-six pages in, and so far, so good.
I did, however, just have my mind blown. I was going through an example for creating a for-loop-like function, because erlang doesn’t have a for-loop. “Well,” I thought, “that’s interesting that [...]

T-Mobile Dash, OS X, and Internet Sharing

Thursday, August 2nd, 2007

UPDATE: everyone at my workplace knows that I love to iPhone-hate, but I would just like to compare the annoying but simple PAN tethering steps for OSX to Dash with the steps described here. Suffice to say, you need to hack the iPhone’s OS — a terrible only-option, in my opinion, but a well [...]

notes about computers and lifestyle