Archives July 2008

Networking is hard, hard == fun

Had a lovely chat with Li-Fan down at Linux Caffe this evening, then home for dinner and playing with qnet. I'm enjoying playing with different strategies for the library (parallelizing delivery, seems to just flush the caches rather than speeding delivery, for instance).  Really, it's that ability to play with strategies that I ...

Continue reading

Whether to tie qnet or not?

I've been working a bit on pyqnet over the weekend.

  • refactored into multiple modules in a package with a setup script
  • I've got a UDP-level implementation (i.e. real network level operations)
  • statistics gathering is started
  • the beginnings of adaptive retry/backoff code are there (i.e. resend frequency based on normal connection ...

Continue reading

Sketchy network library...

Couldn't sleep this evening, so I sat down and hacked up a loose sketch of a networking library for Pygame.  The loose sketch is based on the description Phil gave at the OLPC jam at PyCon, but it's nowhere near finished yet.  Basically it's got the ordering and reliability stuff built, but ...

Continue reading

Check explicitly for extension support in OpenGL

Discovered a bug in PyOpenGL under Mesa this morning.  One of those "duh!" moments where you realise you're being a bit too clever and simple about things.  Luckily it was pretty easy to fix, as the whole of the extension hierarchy is auto-generated.

Basically, in OpenGL, extensions and functions > 1.1 are all potentially ...

Continue reading

Code Aesthetics Excitement...

Sat down to collect my contribution for tomorrow's PyGTA. I've cut the set down to 8, maybe tomorrow after work I can narrow it down further. At the moment everything is my own code, save for Tim Peter's toposort from way back when. There's a number of very different views of ...

Continue reading

Reminder Code Aesthetics @ PyGTA Tomorrow

Hope you're all wracking your brains and your source code control systems looking for that perfect piece of code that shows (some) programming has beauty and wonder.  Or maybe you're putting together a piece that shows programming really is just a kludge to get the job done.

PyGTA is tomorrow at Linux Caffe ...

Continue reading

PyOpenGL 3.0.0b4 available

Just released PyOpenGL 3.0.0b4.  This is a fairly minor point release.  It's the first to contain the proof-of-concept VBO support.  It also has a few more tests.  Still need work on the WGL extensions so that older WGL-using code that uses them will work.

A few fixes in OpenGLContext CVS as well ...

Continue reading

RunSnakeRun Python Profile Viewer Updated

RunSnakeRun is one of my older projects.  It's a small utility which loads HotShot profiler data into a sortable GUI table.  It now also supports cProfile/profile module profile runs.  I've also updated it to work with modern wxPython and numpy instead of Numeric (it uses numpy to speed up loading of very ...

Continue reading

Code Aesthetics @ PyGTA

Here's the plan for the PyGTA meeting this Tuesday (the 15th).

Bring a piece of code that you love. Something that's elegant, beautiful, efficient, useful, perfectly formatted, meaningful, warped or wonderful in some way. We'll take 5 minutes each and present our chosen piece of code. Then we'll have people ask ...

Continue reading

Daily archives

Previous month

June 2008

Next month

August 2008

Archives