Category archives: Snaking

Discussions of programming, particularly of programming Python RSS

RSS feed of Snaking

Multiple "output" parameters in PyOpenGL

So Moisés has been sending me bug-fix patches for PyOpenGL, and todays (actually Sunday's) pointed out that the multiple-return-parameter case was plainly broken in the PyOpenGL wrapper code. Basically the code would only return the *last* parameter which was setOutput()'d so that the low-level wrappers would return somewhat pointless values rather than ...

Continue reading

Neural Nets on the CPU Are (as Expected) Pointless

I finally got my OpenDeep Dataset implementation for the TEDLIUM dataset feeding into a basic generative RNN... and as expected, it's pointlessly slow. Expect to go, say, 100 epochs... and it's already taken ~ 2 hours on the first epoch. Seems like I really do need to get an Amazon account and use that ...

Continue reading

Just got my Ticket tickets are now on sale. $99 for self-sponsored tickets, $49 if you're a student, 2 days conference plus 1 day sprints, November 7th and 8th. IIUC they've sold out every year, so you likely want to get your order in soon. (Obviously I waited until after I had my tickets to ...

Continue reading

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 ...

Continue reading

Raspberry Pi PyOpenGL

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/ ...

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 ...

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 ...

Continue reading

Thinking Out Loud for a presentation...

Only two days left to put in a proposal for, 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 ...

Continue reading

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 ...

Continue reading