Category archives: Snaking
Discussions of programming, particularly of programming Python
Merging PyOpenGL's branches (Doesn't go too well...)
Written by
on
in
Snaking.
For the past few months I've had two active branches for PyOpenGL development. The 2.0.1.x branch and the 2.1.x branch. Problem is, 2.1 has basically not moved for 2 months, while 2.0.1 has had quite a few bug-fixes in that time.
So, spent the evening trying to merge the compatible changes into the 2.0.x branch ...!-->!-->
Somehow it went well (Or so I'm told...)
Written by
on
in
Snaking.
Turns out the SIP demo went well (or that's the message that got passed to me). Who'da thunk it.
Spent the rest of the day fixing a few bugs (and adding a minor feature) for Cinemon... come to think of it, I forgot to put part of the time (that before dinner) implementing the feature ...!-->!-->
Does anyone else look at cool database hacks and shudder? (RDBMSs are tools of the devil I tells ya!)
Written by
on
in
Snaking.
On Sunday D'Arcy had me review some of his code. Then at the UU meeting last night I was reminded of it by some of the comments by the "database weenies" (actually nice guys, I'm just using it for dramatic effect) when a fairly green programmer mentioned that he knew MySQL and half the room ...
Stupid bug/feature in Cygwin trashes the SIP demo (Blah and double-blah...)
Written by
on
in
Snaking.
So today something like 2.5 or 3 hours was spent on the SIP demo (specifically getting it installed on a laptop, and then figuring out why that didn't work). Problem is, while the demo itself is a simple set of executables with its support files all zipped up in a nice package, it still requires ...
What I would do if I wasn't doing contract work only... (Speculative learning for the short term...)
Written by
on
in
Snaking.
Seems as though VoIP is becoming a hot topic. I should probably sit down for a week and master Shtoom so that we could offer custom VoIP work using it. Dave seems very up on the codebase, and my review of it for the SIP pager project certainly seemed to suggest that it's worth investigation ...
Have to figure out a better billing scheme ($2025 for 1.5 weeks of work just isn't functional...)
Written by
on
in
Snaking.
The root of the problem, of course, is discounting the time spent on learning, the time spent working through problems with libraries, etceteras. The "debugging is free" stuff is probably not a great idea either.
When I look at it over the last week-and-a-half, I've spent more than 60 hours on various aspects of the ...!-->!-->
Oh happy day (maybe) (A pox on relational databases...)
Written by
on
in
Snaking.
I seem to have worked around the big nasty evil database bug. And how, you may ask? By adding a completely extraneous commit into the middle of the hierarchy parsing code. ARGH. There's no reason for it to help, there's no way it should change anything. It's just some silly locking artefact where a SELECT ...
Long, fruitless day trying to reproduce an error (And it's only 4-1/2 hours old)
Written by
on
in
Snaking.
Bryan and one of his peoples are experiencing what appears to be the "big nasty evil database bug" (formerly the "evil database bug") where the database (b)locks in the middle of a hierarchy import (which is the only database operation that's occuring).
This has a lot of secondary effects, as once the database thread is ...!-->!-->
BasicProperty boundaries (A simple example of use...)
Written by
on
in
Snaking.
Instead of going to bed I wound up creating a use-case sample for boundaries. This is actually one of the tasks Tim was wanting to accomplish. I don't actually have the huge regex he was using to do the "is it the correct format" check, so I cobbled one together for demonstration purposes.
I've linked ...!-->!-->
Pair programming twice in one day! (Weird...)
Written by
on
in
Snaking.
Wound up doing a code review (I know, not really pair programming) for D'Arcy and then some actual pair programming with Tim this evening. Tim was trying to use BasicProperty's data-value checking for doing web-form validation and was rather frustrated with it.
No reason it couldn't work, it's just that the generality of BasicProperty would ...!-->!-->