Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Presentations are Roughed Out

Have the basic outline for the two PyCon presentations worked out now.  I'll need some more work to pull together really good sample code for the PyOpenGL one.  I added the ability to load multiple profile files to RunSnakeRun as I worked on the profiling presentation (one of those, "oh, yeah, I'm describing how to ...

Continue reading

Sure, I'm fine, but...

Realized today as I wrote the presentation for PyOpenGL that one of the bullet points "calculate the transform matrix yourself" is going to be a considerable challenge for new users of (Py)OpenGL.  OpenGLContext/PyVRML97 has code to do this already for its hierarchy of nodes, but it's a C-coded extension to have reasonable performance.

May need ...

Continue reading

Should make the VBO objects act as arrays if no implementation

As I'm going through the (rather mechanical) process of eliminating the deprecated OpenGL functionality from OpenGLContext, I'm discovering something I hadn't thought about before, when I was on the library providing side.  Namely that most of the time what you really want to do is to create the VBO and if there's no implementation, still ...

Continue reading

Adding Shader support to OpenGLContext scenegraph

Got distracted writing the presentation this evening.  I wanted a simple set of examples of shader usage, particularly with respect to replacing fixed-function pipeline operations (there's a number of partial solutions in the various OpenGL books I have on my bookshelf, but I haven't found anything that looks like a complete reimplementation, though there are ...

Continue reading

Need to make Py3D easier to maintain

Py3D was hacked together in a few hours.  At some point I need to switch to a submission-and-approval system rather than a manual editing system.  I get very far behind in tracking the various projects.  Ah, the infinite todo list...

[Update] also need to check the address when I hit "reply" on a message on ...

Continue reading

Teaching is Exhilarating

Someone asked me this morning if I'd really be willing to up-roots and move to another country to teach in a university.  This evening I would definitely say yes.  There's something so attractive about taking a block of knowledge and organizing it so that other people can understand it.

Anyway, have been working on the ...

Continue reading

Fido doesn't have a single S60 phone!?

So much for getting a Python-programmable phone.  Fido has only S40 phones AFAICS.  Rogers has reasonable S60 phones, but they're $300 *with* the multi-year contract and then have to add a rather expensive plan.  I've got something like $90 in "Fido Dollars" (a measure of how much I've been suckered so far), so I can ...

Continue reading

Dojo DataGrid

Spent the afternoon on Dojo Grid/DataGrid stuff.  Wound up with something that works if and only iff I use the latest svn head and I don't include it in the widgets I need to include it in.  So it seems as though in this case I'll likely be writing my own or going back for ...

Continue reading

PyCon Registration Done

If you're planning on going to PyCon and want to take advantage of the early-bird rates you need to get moving.  Corporate rate is just $450 now, rising to $650 at the door.  Hobbyists can register for $250 and students for just $150.

Still need to plan the plane trip and room-sharing.

[Update] Okay, have ...

Continue reading

(Im)Practical iPhone Application: Biometrics hacking tool

Brief discussion at PyGTA about the potential for creating useful tools for the iPhone.  So given today's press release, here's a simple iPhone application to build...

  • allow taking a picture of an authenticated user (either directly or via file transfer)
  • provides a library of faces for brute-force attacks
  • do basic image processing to manipulate ...

Continue reading