Computer programming unplugged

Posted on Wed 09 April 2008 in Code

I just found this via reddit.com and I think it is brilliant! Computer Programming Unplugged


Continue reading

Ruby's not ready

Posted on Mon 07 April 2008 in Code

I am not a Ruby fan. I really like Python. I have never really been able to accurately explain why I don't like Ruby. Well I just found a lengthy post that breaks down the differences in Ruby and Python via reddit: http://glyphobet.net/blog/essay/228. The author does a great job of breaking down the Ruby-isms I don't like and I learned about some I didn't know about.


Continue reading

Posting from the command line

Posted on Mon 14 August 2006 in Code

Posting from the command line is cool. I found a wordpress library for python: https://code.google.com/archive/p/wordpress-library/ and wrote a little script to do the rest.


Continue reading

The Nature of Lisp

Posted on Mon 08 May 2006 in Code

I just read a great article on Lisp called the Nature of Lisp as someone who has been trying to figure out why Lisp is so cool to so many people this helped a lot. I suggest you read it.


Continue reading

Python web programming

Posted on Sun 19 March 2006 in Code

I starting playing with web.py today to see how easy it would be to make a simple web app.

I followed the tutorial and everything was going well until it all stopped working. Took me about 20 minutes to figure out was wrong. Can you see it?

urls = (
    '/', 'view'
    '/add','add'
)

No? Look again:

urls = (
    '/', 'view',
    '/add','add'
)

That's right I was missing a comma. Did the program complain? No. What was the output on the web browser: "not found".

I wasn't impressed. I hate when stuff like that happens. I will still play with web.py because it is so simple but I will be much more careful in the future.

I play a lot of computer games. Most of those games require a serial number. I am going to us web.py to make a small web app to store all of my serial numbers. Seems like a good test and more complicated than the tutorials "todo list".


Continue reading