Category archives: Snaking
Discussions of programming, particularly of programming Python
Changing PyGTA's meeting day (3rd Tuesday of the month instead of the 4th)
Written by
on
in
Snaking.
We're tentatively (pending clearing it with Linux Caffe) planning to move PyGTA to the 3rd Tuesday of the month in order to stop conflicting with DemoCamp. Will try to get that cleared up tomorrow.
PyGTA this Tuesday, 6:30PM at Linux Caffe (Starting earlier to get finished earlier...)
Written by
on
in
Snaking.
PyGTA this month is going to try starting 1/2 hour earlier, at 6:30, instead of 7:00. Linux Caffe stays open just for us on these nights, so we're going to try to finish around 8:30 or so so that they can get home to their loved ones. We'll do mostly socialisation and chatting for the ...
Learning and experience days are important (Taking a day to get up close and personal with SQLObject)
Written by
on
in
Knight Errant,
Snaking.
Decided this morning that I wanted more experience with TurboGears. I decided to re-implement the http log file analysis project I did a while ago as a TurboGears project (previously it generated static HTML files). The project basically performs whole-set analysis on about 150MB of log files to allow me to view hierarchically organised and ...
Miniscule movement on OpenGL-ctypes (Figured out the problem with the tessellation code)
Written by
on
in
Snaking.
The tessellation code was broken because the vector passed to the vertex callback was being declared as a void_p instead of a c_double * 3 . Not working yet, as I have to figure out a way to have the callbacks use the preferred array data-type for converting the argument. Linux Caffe, however, is closing ...
Whether to lug the laptop along (Am I really going to get any work done while there?)
Written by
on
in
Snaking.
Considering bringing along the laptop to try to get some OpenGL-ctypes work done during the UU meeting. Doesn't really seem likely that I'll get anything useful done, and carrying it all night is a pain... still, I suppose on the off chance I should do it anyway.
Ooh, now I want to play with PyPy (Time slips away in sleep...)
Written by
on
in
Snaking.
Apparently the sunburn just clobbered me. Slept most of yesterday and today instead of getting work done on OpenGL-ctypes. Have another hour and 10 minutes just to meet today's working target. Sigh.
Anyway, in the intersticies of the days I cleared out my backlog of Python-list emails (3000+, though I probably only read 100 or ...!-->!-->
Fried Mikey (Don't put on jeans and go for long walks when you're sun-fried)
Written by
on
in
Design Theory,
Snaking,
Vindaloo.
Went out to Woodbine beaches on Saturday. Spent the whole afternoon out in the sun and wound up lobster-red across my whole front (including my feet) and back. Walked down to Sacha's barbecue when we got home. The jeans I wore down rubbed the sunburn into a nasty glowing red patch.
Also went to Sacha's ...!-->!-->
UI stuff just feels more interesting (Simple little navigation widgets for a hierarchic schema...)
Written by
on
in
Snaking.
Finished off the day's work by working on some simple navigation widgets for the billing system. The entire system is built using directed acyclic graphs (of various types). Because of that you can readily construct generic views that let you see the parents and children of any node in the system. I'm still looking for ...
FormEncode is nice (Validators are so much nicer than coding everything oneself)
Written by
on
in
Snaking.
Dipping my toes in the waters of FormEncode today. Basically decided I needed a break from financial aspects, so spent some time roughing out a simple list and add view for Inventory objects (in this particular case, phone numbers/DIDs). Most of the work was:
Figuring out that All and Any values are applied in reverse ...!-->!-->
Select from an inherited table in TurboGears (Since it took me so long to figure this out...)
Written by
on
in
Snaking.
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: ...