Archives 2018
Lessons from Implementing from Scratch
Written by
on
in
Snaking.
So the last two days I was sprinting at PyCon CA. My original intent was to investigate tools for formalizing experiments with machine learning and reinforcement learning in particular. What we started with (and in the end, ended with) was a kind of "implement reinforcement (Deep Q) learning from scratch" project, where we tried to ...
Yay, django 1.11 broken frozen/pyc migrations again
Written by
on
in
Snaking,
Pony.
So somehow Django stopped being able to support .pyc files as migrations between our last builds with 1.11.lower and the current builds with 1.11.higher. Frozen environments use these to distribute just the .pyc (no source)... but somehow this got reverted because. But how did it get reverted in Django 1.11 (LTS) branch? Apparently it will ...
Trying out raw Debian on an old Laptop
Written by
on
in
Tuxedo.
So I was given an old Celeron M laptop (XP era, 500MB RAM) and decided to try Debian Stretch out on it. The default Debian netinst installer does NOT include proprietary wireless firmware packages... seriously? Practicality needs to beat purity there. The machine can't boot from USB, and my very last CD-R was used up ...
Prime Nvidia can't find GLX (solved)
Written by
on
in
Tuxedo.
So the laptop (XPS 15 Kubuntu 18.04) has an nvidia 900 series mobile GPU. When I went to run the unit tests for PyOpenGL... almost entirely red. Because the X display had no GLX extension. To be clear, X was running, KDE Plasma (which normally uses GLX for rendering) was apparently using XRender silently, basically ...
PyOpenGL 3.1.3b1 up on PyPI
Written by
on
in
Snaking.
So there's a beta release of PyOpenGL 3.1.3b1 up on PyPI. It needs testing on Mac and Win64/32 if possible. You should be able to install it with:
pip install "pyopengl==3.1.3b1" "pyopengl-accelerate==3.1.3b1"
The biggest change being that it should work on Python 3.7, and has the current khronos extensions included.
TTFQuery 2.0.0b1 Up on PyPI
Written by
on
in
Snaking.
TTFQuery has a new release up. This release has a bunch of small breaking changes in it, specifically the command line demonstration tools now work differently. It also is now Python 3 ready (i.e. one more package should now be out of the way to get OpenGLContext running under Python 3) and finally has its ...
Rearview Mirror
Written by
on
in
Vindaloo.
Looking out the back porthole of the spaceship, she realized she'd left the war running.
PyOpenGL on Travis CI
Written by
on
in
Snaking.
So last night I finally got the PyOpenGL-on-github-to-TravisCI integration working. TravisCI is a CI service that has a free Open Source project integration. However, it doesn't support OpenGL on the xvfb-run tool out-of-the-box. The recipe to enable it is pretty simple, just install a bunch of packages and pass some args to the server, ...
Fast.ai Setup for Google Colaboratory
Written by
on
in
Snaking.
I dropped into a study group today that was trying to work through the first Fast.ai course. It was the first day of the group, so most of the day was just spent getting everyone to the point where they could start working on the notebooks. I have my own setup available for Keras and ...
Bit of PyOpenGL maintenance
Written by
on
in
Snaking.
So I just pushed a bunch of fixes into the PyOpenGL repository. They're mostly just minor bug-fixes people have reported. There are more bug-reports sitting in the email backlog, but I think I'm done for today.