Over the past 6 months I have been working on a crap load of projects in several different languages (C, SmallTalk, Lisp, Ruby, Python, Erlang), some client work, but mostly open source projects. I love hacking on all kinds of cool projects and languages. I believe it is very important f
Continue reading...
Ruby and Python have more similarities than differences, but one gotcha that usually gets Ruby hackers is how Python’s default parameters are evaluated.
Let’s first look at an example in Ruby:
irb(main):001:0> def list_of_stuff(stuff=[]) irb(main):002:1> stuff << "Junk" irb(main):003:1> for item in stuff irb(main):004:2> puts item irb(main):005:2> end irb(main):006:1> end => nil irb(main):007:0> list_of_stuff Junk => ["Junk"]
If we call list_of_stu
Continue reading...
I program in both Ruby and Python and love both languages. Python is great because it fast and easy for most developers to understand, but when it comes to building great expressive DSL‘s my heart is with Ruby, well most of the time.
I have been doing some shared hacking on Ruby DSL project with a friend of mine. He is a very experienced C/Python developer, but fairly new to Ruby.
Yesterday, he pinged me with a question:
*“Carlos, I have a dumb question, that is pissing me off, how do y
Continue reading...
I have been spending the last few months playing around with python3000, but since I have several projects running under python 2.5 I did not want to break anything during my investigation. So, if you are interested in playing around with python3000 , but do not want it to be your default install, here is what you need to do to get things up and running with a side by side install on Mac OSX Tiger:
- Download the latest Python 3.0
Last night I attended an amazing presentation of Python 3000 by the Python creator Guido van Rossum. The presentation was held at Google’s Tempe, AZ office which is on the ASU campus. This was my first time at Google here in the valley and it is a very cool place.
The evening started out with an hour of meet & greet with other local AZ developers. I had a nice conversion with Guido and a several other people discussing the various Python web frameworks. I s
Continue reading...
I am going to the O’Reilly Open Source Convention 2007, July 23rd – 27th in beautiful Portland, Oregon. Hope to see you there!

I am building a new open source blogging platform in Python, which I plan to replace this Typo powered blog with very soon, 
class Carlos(Entrepreneur, Engineer):
def build(self):
return SomethingGreat()
« Previous Entries
