Archives 2015

Old School GPGPU is Frustrating

So I burned the evening on trying to get a working GPGPU implementation for my desktop/workstation and laptop.

Started off with PyOpenCL, but wound up blocked on that due to libcffi failing with some missing headers. So switched back to playing with raw GPGPU on GLSL. The actual setup/GL part went well, but when I ...

Continue reading

Another little road-bump on the road to Python 3

Another day of Python 3 overhead.

OpenGLContext is getting close. Most tests/demos work under Python 3.4, but FontTools (the library I use to pull out the system TTF registry and glyph/outline information) isn't Python 3 ready. It's been picked up by Behdad on GitHub, but there's no release with the Python 3 fixes AFAICS. I ...

Continue reading

OpenGLContext is almost on Python3

Anthony has been working on getting SimpleParse ported to Python3, so the last *major* impediment to making OpenGLContext (and PyVRML97) Python3 compatible is in-process. In the meantime, I went through and bashed out fixes to get most of the OpenGLContext tests/demos running under python3.4. Anything which is relying on VRML parsing is still broken, but ...

Continue reading

Thinking Out Loud for a PyCon.ca presentation...

Only two days left to put in a proposal for PyCon.ca, I'll just brainstorm some topics here:

  • Neural Networks
    • Crash Course -- introduction to Neural Networks for traditional programmers (no "big" math), what is back prop, what is an auto-encoder (what is drop-out), what is LSTM(RNN); each in code, with preferably *just* numpy or similar ...

Continue reading

Dockerfiles and Kernel Tools

So I've been wrapping a troublesome service in a Docker container today. This service has all sorts of assumptions where it "runs the show" on the server, all of those assumptions being wrong. So far it's been going pretty well. I'd already done most of the isolation work previously when I'd integrated it directly into ...

Continue reading

Every Test

I hate little bugs that shouldn't be.
Every test it passes.
I test every corner of the case.
Every test it passes.
Pulling logs, pushing scripts.
Every test it passes.
Spelunking through the code.
Every test it passes.
Screaming at the IDE.
Still
Every test it passes.

Long Night of Porting SimpleParse

So once again I tried to port SimpleParse to Python 3.x. After a half-hour or so of playing with doing a complete rewrite in Cython I realized that scope creep was going to kill me, so I went back to the C-coded mxTextTools and started working out how to port that.

First step up was ...

Continue reading

Django Migration Migration Strategy

We embed Django in devices. There are 100s to 1000s of each device scattered around the world, each controlled by someone who may decide (for perfectly valid reasons) not to update one of those machines for years. Until now, we've used South migrations to allow a machine of any vintage to update to current release ...

Continue reading

Monthly archives

Previous year

2014

Next year

2016