Category archives: Snaking
Discussions of programming, particularly of programming Python
Raspberry Pi PyOpenGL
Written by
on
in
Snaking.
So since Soni got me to setup raspbian on the old raspberry pi, I got PyOpenGL + GLES2 working on it today. There is a bug in raspbian's EGL library (it depends on GLES2 without linking to it), but with a work-around for that bzr head of PyOpenGL can run the bcmwindow example/raw.py demo. I ...
Another little road-bump on the road to Python 3
Written by
on
in
Snaking.
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 ...
OpenGLContext is almost on Python3
Written by
on
in
Snaking.
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 ...
Thinking Out Loud for a PyCon.ca presentation...
Written by
on
in
Snaking.
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 ...
Every Test
Written by
on
in
Snaking.
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
Written by
on
in
Snaking.
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 ...
PyCon.ca Call for Proposals is Out
Written by
on
in
Snaking.
The call for talk proposals is out for PyCon.ca. Haven't yet decided if I should propose one, definitely planning to attend the conference.
Django Migration Migration Strategy
Written by
on
in
Snaking,
Pony.
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 ...
Did I just create another Inotify Interface?
Written by
on
in
Snaking,
Tuxedo.
This is one of those moments where you finish something and think "why did I go and do that?"
I recall an hour or two ago thinking "you know, wouldn't it be nice to have inotify integrated into Twisted", and that lead me into reading the Inotify man-page, which lead to me thinking "oh, that's ...
PyOpenGL 3.1.1a1 is out
Written by
on
in
Snaking.
So this morning I realized I never actually got the PyOpenGL 3.1.1 release process kicked off. Did a bit of cleanup and testing and booted the first alpha out the door. This is basically just a bug-fix release, though it has some more extensions wrapped/available, as it uses an updated Khronos xml registry. There are ...