Archives week 25 of 2006
June 19, 2006 - June 25, 2006
Okay, key tip for debugging TurboGears SQLObject problems, add ?debug=1 to the dev.cfg URL for your database. Once you have that and you try to run a query for an inherited class you'll see the problem, but so that you don't have to set it up, here's the description of the problem and the solution: ...
Did some more work on TurboGears. Found another couple of bugs in the SQLObject SQL generation code. Now failing with the inheritance stuff, seems that the documented ability to do Child.select( Parent.field==something) doesn't throw any errors but also doesn't seem to return the results. Anyway, nothing huge, just little things I'll have to track down ...
It's not that I'm not thirsty
I'm parched to dusty stone
But the timing seems all wrong
For I've just resolved to quit
The search for cups of water
In hopes forgetting hard thirst
Will let me grow to be a man
Who deserves a cup of water
The bug in SQLObject was just a missing '+' character, it was doing:
sql = ';\n'+join_sql
sql += ';\n'+join_sql
so the SQL for the table was getting dropped when there was "join" sql for the final content. Somewhat of a letdown, I was thinking it would be hours of plunging through deep-dark code ...!-->!-->!-->!-->
It seems that the smoothies were not sufficiently enticing to get me to actually sit down and work on the SQLObject problem. Shane's coming by in an hour to get his router re-provisioned, so not going to have a big block of time for work tonight. Maybe I should just call the day a write-off ...
Coming up on the 4th Tuesday of the month again. We'll be continuing our review of web frameworks from last month, so if you have a particular framework you've used and can review (critically) come on down and share your opinations.
As usual we'll be at our generous venue Linux Caffe, who go ...!-->!-->
Hasn't been a stellar day for productivity today. The flip side of frameworks is that when something goes wrong you have to do a lot more work (in someone else's code) to fix it. The bug I hit is a fairly minor one, the SQL generator for the TurboGears model is "forgetting" a table (and ...
Decided today was the day to learn TurboGears, so I sat down and started working out a model for the BetterBilling project. This is basically a generic provisioning system for ISPs or VoIP providers that I'm wanting to build.
The version I'm looking at right now is less generic than the envisioned one; that's just ...!-->!-->
Out to coffee to get to know a new friend better. One of those great conversations that refuses to die, even though you both know you should get going if you're going to be up in the morning.
One-on-one conversations really are so much deeper than the big-group ones. I like the big-group ones I ...!-->!-->
Pleasant day in my corner under a plant at Linux Caffe. 7-1/4 hours here, with 6-1/4 hours billable. It's good not to have any temptation to lie down when you're tired/sore. It's also nice having half a dozen different types of drinks available and good food and pleasant conversations here and there. Still don't know ...