Archives week 25 of 2004
June 21, 2004 - June 27, 2004
Oh, I figured out a simpler way to handle the numeric api module overriding of the base module's functions. Since the functions have identical signatures, I can just have the numeric module's initialiser load the base module and change the vtable using the base module's defined names for each function, i.e:
pyopenglbaseapi[ PyObject_FromDoubleArray_NUM ] = ...!-->!-->
Got home rather early from the dinner at Dave and Shabnam's place. We made kebabs (meat and onions barbequed on flat metal skewers). This is the second time we've tried that. This time was far more successful, with the primary advance being to switch to doing much smaller individual kebabs and being gentle when flipping ...
The Reform Party of Canada have basically moved their ultra-right-wing agenda to being perceived as a middle-right agenda by absorbing the (tiny) centre-right Progressive Conservatives and pretending it was a merger. The result is that both the extreme right and the center right voters are likely to vote for the extreme right.
Worse still, the ...!-->!-->
I forgot that Rosey and I have a social engagement this evening, so likely little or no more PyOpenGL hacking this weekend. Oh well, a few more weeks.
First half of the weekend's PyOpenGL hacking finished. I spent most of the time working on getting a script put together to auto-generate a base and a numeric module. The idea is that we will try to load the numeric, and if that fails, we'll use the non-numeric, with both modules providing the same external ...
Bryan truly impressed me today. Been trying to figure out why certain groups are winding up being reported as offline so often. The answer was staring me in the face, but Bryan had to point it out for me to realise it. Fixing it is going to be a bit of a PITA (the proper ...
Tim dropped by this evening, so I figured I may as well do some work on Gentoo. Reworked all of the emerges I created (fonttools, ttfquery, pydispatcher, and twistedsnmp) to conform to the (rather too terse for my taste) Gentoo style.
Then I added drag-and-drop from Konquerer into Eric3 to open files, wound up with ...!-->!-->
Being a python programmer, I tend to write Python scripts to solve little problems that arise, for instance:
- Download my Sourceforge projects' CVS repositories into a directory for backup every week
- process CVS logfiles to help with generating changelogs
- add my python-coding sub-vocabulary to Dragon Naturally Speaking
- backup mozilla profile and secondary mail directories as ... !-->!-->!-->
I think I've just discovered an anti-pattern in my code. Unfortunately, it's a really common idiom in the code base. Basically, I've been using dictionaries initialised with all records in a tracking table to make looking up a particular record very fast.
If you're going to be looking up individual records many times, and are ...!-->!-->
The article is summarising various surveys to give a broad-brush summary of the positions. Liberals are backing away from the (stupidly one-sided-media-corporation-inspired) stance they had espoused just before the election.
The NDP is basically climbing in bed with big-media and telling the citizenry to ahem themselves, for cripes sake, the WIPO treaty is basically a ...!-->!-->