Dec102006
Just the other day I was in the process of saving an HABTM (Have And Belongs To Many) field with CakePHP, specifically for saving the relations between a model Project and another model Category. I first had to do a small extension to the helper since Category was also a n-depth level tree, so I’ve used findAllThreaded on the Category model to get the tree and build a nice tree of checkboxes. All good there.
I was then building the screen that would let the user check these checkboxes and save the relations. Now, since the project was already saved and all I had to do in that screen was present the user with the checkboxes, I figured I didn’t need to set any project details when saving, other than the ID of the project that I was relating to. Big mistake.
Continue Reading »
Oct012006
Anyone who’s a fan of LOST is familiar with a sequence of numbers: 4 8 15 16 23 42. These are the numbers that almost connect all strange things in the series. During the second season of LOST it was revealed that the numbers are the code that must be entered into the computer located inside The Swan every 108 minutes (by the way 4 + 8 + 15 + 16 + 23 + 42 = 108). Entering the numbers resets the countdown timer to 108 minutes. If an individual does not push the button in time, the numbers flip to a series of glyphs . While the numeric sequence is flipping into these icons, an individual can still finish typing in the numbers, press execute, and return the counter to 108 minutes. Where do these numbers come from? In mathematics, there’s something known as the Shaw-Basho Polynomial. It’s an equation that reads:
Continue Reading »
Jun282006
Thanks to Diego, I have just finished watching a very interesting documentary called Loose Change, produced by Korey Rowe, Dylan Avery, and Jason Bermas. It certainly raises some serious questions about the real facts of what happend before, during, and after September 11, 2001. I strongly recommend you take a look, even if you are not from the United States.
Continue Reading »
Jun232006
Reading Joel’s blog, I picked up on something he said that got me thinking: “Watching non-programmers trying to run software companies is like watching someone who doesn’t know how to surf trying to surf [...] The cult of the MBA likes to believe that you can run organizations that do things that you don’t understand.”
Through my own working experience, I find this statement to be absolutely true. A lot of MBA types go in to great MBA schools, get their praised degrees, and come out thinking: “Ok, now on to conquer the world… Which company should I be running?” When in fact they should be thinking something like: “What can I really do to manage a company and not sink it down?” There are tons of examples in the world of this kind of “executives as a life style” type of people who believe just because they’ve got an MBA they can understand anything that is put on their desk. Well, they can’t.
Continue Reading »
Jun072006
After some short setting up (about two minutes per site), I’ve added Google Analytics code to start getting some statistics to these sites: CRICAVA Technologies corporate site, CRICAVA Technologies Open Source, CRICAVA Offshore Development Portfolio and Java Users Group Argentina. I must say I’m quite happy with the ammount of data Analytics is starting to provide after a couple of days. Eventhough you have to get used to the way they organized the information (I see a lot of UI theory work there), you can get valuable conclusions that are hard to obtain with any standard statistics package. Let’s see some of those.
Continue Reading »