Category archives: Snaking
Discussions of programming, particularly of programming Python
Long day's slog... (Dragged back into the lion's den)
Written by
on
in
Snaking.
Today I had to work on Cinemon again (Bryan and Tim dropped in to work on it). We are finally getting customer interest in building a hierarchy (major part of the functionality). Spent hours trying to use the web interface and eventually had to give up because it's way too slow on the machine. Wrote ...
Sometimes the silliest little things are the most frustrating (Enough to send one screaming back to urllib...)
Written by
on
in
Snaking.
So, today was spent on (computer) house-cleaning and then looking at tools for the semi-automation of web-site reviews. It would seem to me that code something like this:
from twisted.web import client
df = client.getPage(
str(self.url),
timeout=20,
)
(though, obviously wrapped up in all the trappings of a Twisted app so that it gets called ...!-->!-->!-->
(Partial) success with the free compiler (mxTextTools-nr and SimpleParse running...)
Written by
on
in
Snaking.
Was able to get mxTextTools (with the non-recursive rewrite, for that matter) to compile with the MS Toolkit compiler. Haven't been able to get Numpy to compile because of a missing symbol (which appears to be ftol (as in float-to-long)), but darned if I can find anything which actually makes reference to the function anywhere ...
Oh, almost forgot... (There's a new release of OpenGLContext)
Written by
on
in
Snaking.
There've been a few fairly minor changes over the months since Beta 1, so I just released a Beta 2, this *really* should be the last Beta before the 2.0.0 release.
Microsoft Free Compiler (Free-as-in-not-yet-working-for-me...)
Written by
on
in
Snaking.
Have been playing with the free command-line Microsoft Visual C++ compiler trying to build Python 2.4a1 extensions. Seems that distutils will need to be patched to make use of it (if it's possible to use it at all). Going to spend a few more minutes on it then head off to bed I think.
GUI Library Evolution (Or, why we have "event" objects...)
Written by
on
in
Snaking.
This popped out of Matthew Scott's comment; seemed a little too involved to be writing in a comment (and it's a slow news day).
Context: I'd noted that Matthew's code wasn't using one of the strengths of PyDispatcher, particularly it's ability to allow for unifying parameter names and filtering out extraneous parameters before passing ...!-->!-->
And so it ends... (Pretty much, anyway)
Written by
on
in
Snaking.
Just checked in the last official changes to Cinemon. Didn't get a chance to work on the importer fixes, spent the whole day (and an extra 1/2 day for that matter) converting just about everything to the new-style UI. Need to get to bed now so I can get up early and get the shopping ...
Should I take a week off? (Unpaid, but a chance to catch up on languishing projects...)
Written by
on
in
Snaking.
I'm considering whether to take a week of unpaid vacation to work on the various Open Source projects on which I've been falling behind. Particularly PyOpenGL and OpenGLContext, but also wxOO, PyTable and BasicProperties. PyOpenGL is the project that needs the most TLC, but all of them are needing some attention.
Thing ...!-->!-->
Cinemon work draws to a close (Hard deadlines focus the mind admirably...)
Written by
on
in
Snaking.
So, at the management meeting on Wednesday we realised that we just can't afford to keep developing Cinemon with the current business arrangement. So, today is the last day of work on it until we manage to secure some funding.
The effect has been marvelous. No more working on long-term features, no more worrying about ...!-->!-->
Is Linux an infinite time sink? (Another evening disappears with no progress toward a useable desktop...)
Written by
on
in
Snaking.
Actually, some serious regression...
Knowing that there were 4 or 5 security fixes needed for the Linux kernel, I booted into Gentoo to update. Actually, I booted in to see if Eric3 could create a UML diagram for Cinemon for Tim, but once that failed (well, once Tim's finger slipped and destroyed the layout) I ...!-->!-->