Archives November 2004

A new PyDispatcher release (Hopefully this fixes the memory leak in Cinemon..)

Found a memory leak in how Dispatcher deals with it's back-reference table. Basically it would allow you to replace a registratation of a receiver, but would not remove the replaced receiver's back-references. It also wasn't removing the back-reference when a signal was explicitly disconnected.

Both of those operations are fairly rare, but Cinemon does them ...

Continue reading

Thinking as I try to find the Cinemon leak... (Considerations as the test-suite trundles)

I think it's time to move PyOpenGL off of SWIG and on to ctypes. Rene did some preliminary work on this... well... it's a while ago now. The basic C-style API isn't that hard, it's replicating the Pythonic API that causes the problems. It's likely worth the pain just to reduce build problems, the flexibility ...

Continue reading

Oh, the day in hotspots (Suppose I should mention the real work...)

Think I've gone about as far as I can go without knowing what I'm trying to build for the hotspot project. I put up a quick framework, started filling in page templates with approximately what's needed, but without knowing what business information is needed/wanted, I can't really write the code to go behind the templates. ...

Continue reading

wxoo fixes (Wooing developers into using BasicProperty, PyTable and wxoo)

Realised when asked a few days ago that I'd left wxoo sitting right in the middle of a major rewrite. The rewrite was necessitated by the wxPython 2.5 API changes. Those changes were... let's just say "nontrivial", and unfortunately, the new wxPython APIs changed as I was in the middle of doing the upgrade (reversing ...

Continue reading

Linux rises from the grave of the dead tablet (Well, almost...)

Decided to give another shot at fixing the wacom tablet in my Gentoo install. I've got a fix, but it's pretty ugly. The problem was that the tablet would, when the pen approached it, start running the cursor along either the left or right side of the screen up and down (very fast). From the ...

Continue reading

Hmm, last post sounded very negative... (Don't post before the first coffee of the morning)

Looking at the problem again, it seems obvious that there is a story trying to get through the mess of the presentation;

"Descriptors: from functions to decorators".

That is, a sort of creation myth of the generalisation of the wart/exception in Python 2.1 into a generic, but somewhat difficult to use mechanism in Python 2.2 ...

Continue reading

Feedback on the presentation (Apparently far worse from the other side...)

Got some feedback from John via email. In summary, needed to be designed more, have less information (always one of my problems), and use more anecdotes.

All good points. Doing it again, I'd probably have focused solely on descriptors. Don't know about his preference for story-centred organisation. I tend to come from the "theory first, ...

Continue reading

Presentation isn't a total blowout (Going to be moving next time, likely...)

PyGTA is likely going to relocate to another office around the corner from Givex come January (next meeting), in order to accomodate the larger crowds (it's getting kinda stuffy in the Givex conference room).

The pool hall to which we normally retire is also closing on the 16th of December, so will have to find ...

Continue reading

Free debugging kills another day (Old code adapter grows yet another barnacle...)

Today was largely a blowout. After spending an hour or two reviewing and trying to plan out the hotspot project I realised I wasn't functional and took a nap (didn't sleep well last night). Nap turned into 3 hours of not sleeping, so got up and started working on a bug Bryan had submitted.

Just ...

Continue reading

Daily archives

Previous month

October 2004

Next month

December 2004