Archives March 2009
Long day's Dojo into AJAX
Written by
on
in
Snaking.
Spent the whole day working on Dojo widgets... seems I spend almost every day these past few months working on Dojo widgets. The Dijits (as they call them) are far more robust than the per-page custom-coded stuff that I'm replacing, and we're winding up with a fairly generic collection of "things" from which we can ...
What to do about education?
Written by
on
in
Young Coders.
The OLPC seems to have run off a cliff. Sugar labs seems intent on continuing their OS UI experiments, which might bear fruit in a few years, but which for now make development for the platform untenable. Sad to see all that wasted potential that seemed to just lack someone practical saying "hey, you need ...
Fixed bug in generic attribute support
Written by
on
in
Snaking.
Working up the sample code for the "legacy free" section of the PyOpenGL talk for PyCon I discovered that the glVertexAttribPointer wrapper never got finished. You could pass in c_void_pointers, but other than that it just wouldn't work. Obviously not a lot of people using the generic attribute support in PyOpenGL... but then I knew ...
Audio Monitor for System Load in CSound (Using CSound from Python)
Written by
on
in
Snaking,
Young Coders.
To try to help out with Seneca's presentation today on the Python interface to CSound I tried to create a small demonstration application. It shows the use of CSound's "real time" Python API, that is, the API that allows you to poke notes directly into the score buffer for playing.
6 Word Sci-Fi
Written by
on
in
Vindaloo.
She almost missed Schroedinger's cat door.
"Your clone's warranty expired upon fertilization."
Jennifer disappeared soon after perfecting fusion.
Embarrassingly, his clothes did not follow.
Blue-collar photon entanglers started looking.
"Ned spoke for Earth without authorization."
These Armageddon parties need to stop.
Inanimate crystals were her best clients.
Inanimate crystals ...
glInterleavedArrays is deprecated...
Written by
on
in
Snaking.
Doing a bit of after-work hacking on the PyOpenGL presentation, just realized that glInterleavedArrays is deprecated. It's pretty trivial to rewrite as array pointers when you have VBO objects:
glInterleavedArrays( GL_T2F_N3F_V3F, 0, data )
Becomes:
glEnable( GL_VERTEX_ARRAY )
glEnable( GL_NORMAL_ARRAY )
glEnable( GL_TEXTURE_COORD_ARRAY )
glVertexPointer( len(data), GL_FLOAT, 32, data+20 )
glNormalPointer( len(data), GL_FLOAT, 32, data+8 ...
Presentations are Roughed Out
Written by
on
in
Snaking.
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 ...
Daily archives
- March 2, 2009
- March 3, 2009
- March 5, 2009
- March 8, 2009
- March 10, 2009
- March 11, 2009
- March 12, 2009
- March 13, 2009
- March 15, 2009
- March 16, 2009
- March 20, 2009
- March 21, 2009
- March 22, 2009
- March 23, 2009
- March 24, 2009