Context overload

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...


Hack Here


Ruby vs Python default parameters

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...


Self documenting code

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...


Installing Python 3000 on OS X

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:

  1. Download the latest Python 3.0
Continue reading...


Python 3000

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...


Calabro Powered

Well, I finally have my slice and have installed all of the goodies to get Calabro up and running. I plan to do some testing for a week or so, then move my existing Typo powered blog over, re-point my domain, and then we will be rocking.


OSCON 07

I am going to the O’Reilly Open Source Convention 2007, July 23rd – 27th in beautiful Portland, Oregon. Hope to see you there!


Python powered blog

I am building a new open source blogging platform in Python, which I plan to replace this Typo powered blog with very soon,


Python


class Carlos(Entrepreneur, Engineer): 
    def build(self):
        return SomethingGreat()





« Previous Entries

who am I..

I'm Carlos Gabaldon, and this is my hack blog. It's mainly about programming but my liberal views tend to come out from time to time. I've been a professional programmer for over 10 years. I like to hack on open source projects and I seem to rewrite this blog in a new language every couple of years. cgabaldon[at][cox][dot][net]

what I am doing..

Zenopsis calabro

what is on this site..

Welcome, guest, login

what people are saying..