Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Datetime goodness (Long overdue todo items for BasicProperty)


After the party at gram's place (Canada Day) I took a bit of a nap, then started working on BasicProperty again. Decided to focus on the date/time types, as they really need to get updated to allow using Python 2.3+ datetime types (they currently only allow using mxDateTime).

I should probably also work on stripping ...

Continue reading

Floor the accelerator (Module, that is)


Decided last night I'd work on something that, while part of one of my Open Source projects, would help Cinemon. We use BasicProperty all through Cinemon, and the property overhead for retrievals has bothered me on and off, so I decided to write a little accelerator module that does the trivial __get__ and _getValue functions ...

Continue reading

Features they are a springing (Ajax sneaks in too...)


Spent the day primarily on new-feature requests, including some very large next-gen features. One of them requires a rather involved, interactive process for defining limiting values, so I decided I'd try to integrate a Nevow LivePage into the web front-end.

It was a bit annoying having to reverse engineer the approach from the examples, (especially ...

Continue reading

How many (and which) users are active on your (guarded) Nevow site? (Quicky recipe...)


Sat down and worked on a long-term wish-list feature, namely "presence" services for the Cinemon front-end. The first part of this is telling the user a) how many users are actively viewing the front-end, and b) which users they are. Well, we know we have this information stored in Nevow's guard.SessionWrapper object, it's just a ...

Continue reading

Generic repositionable interpreter (Things I should do when I get a chance...)


Just killed close to an hour booting into Windows and trying to put together a py2exe'd Cinemon for the demo tonight. What I really want is just a Python interpreter that adds some sub-directory of the interpreter directory to sys.path (with .pth support) then runs the script you specified on the command line.

py2exe just ...

Continue reading

Win32 Python Packages Need EXE Installers (Just too cumbersome otherwise...)


I've just finished pulling together and creating exe installers for all of Cinemon's open-source dependencies (save PostgreSQL). It's quite a list; 18 packages, with one single-module dependency and some internal packages as well. Went fairly well, save that some of the packages were bzip2 compressed (which WinZip doesn't handle).

I originally tried to do a ...

Continue reading

Sleep, glorious sleep (Doesn't get much work done, but...)


I just couldn't get up this morning, so I spent the whole day abed... well... not quite. I actually did a tiny bit of work on the OpenGL-in-ctypes stuff, but hardly enough to be noticable. I keep thinking there has to be a better way to handle the wrapping and stopping to try to find ...

Continue reading

PyGTA is next Tuesday (Come see the wonder that is Cinemon!)


Ian reminded me today that PyGTA is coming up next week. I'm going to load up the Cinemon demo and do a very brief walkthrough of it. Since we're now out of the "stealth" phase, we can really talk about it for the first time.

Today was mostly taken up with meetings. Didn't really have ...

Continue reading

Rosey starts blogging... (While I spend my day on system administration and minor bug-fixing)


Rosey (my little sister) has started up a blog (no entries yet, however), mostly to track her progress learning French in Quebec this summer.

I spent the day getting a Cinemon server ready for a client. Mostly just getting the (old) server updated to newest code, testing for start-on-boot operation, eliminating all of the source ...

Continue reading