Category archives: Snaking
Discussions of programming, particularly of programming Python
Adding a Certificate Authority to Chrome Trust Store
Written by
on
in
Snaking.
So you have a corporate or project specific root of trust you need Chrome to recognise. How do you take your PEM certificate as you get from easy-rsa or the like and make it something that Chrome will accept? The answer is not particularly complex, but it really seems like this very-common process is not ...
PyOpenGL Build Enhancements
Written by
on
in
Snaking.
Spent the evening getting the Python 3.9 build for PyOpenGL-accelerate running on Appveyor. In the end it was just knowing to add a tag "APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019" to the build-matrix for that one Python version so that it is built on the Python 3.9-compatible build-image. Will have to boot into Windows to test that ...
RunSnakeRun 3.0.0 Beta 1
Written by
on
in
Snaking.
So I finally sat down and finished off the work I was doing a while ago to get RunSnakeRun updated to run on Python 3 and support pyspy/speedscope files. There was a bunch of stuff needed to make us compatible with the wxPython Pheonix releases, a huge and horrible hack to let us load Python2 ...
Listener GUI Started
Written by
on
in
Snaking.
So with the code-context, the dictation in Listener is getting okay-ish. It's still pretty frustrating and error prone, but I can use it maybe 1/4 of the time (mostly for doc-strings). Part of the frustration is just that the language models are not yet well tuned for some commonly needed phrases that the tokeniser didn't ...
Auto-link a Host-provided Package into a Virtualenv
Written by
on
in
Snaking.
There are Python packages that are basically a PITA to get compiled into your virtualenv. The one I constantly hit when doing GStreamer, DBus, IBus, etc is gobject-introspection (a.k.a. gi). So, there's now a trivial package available:
source path-to-venv/bin/activate
pip install venvhpl
venv-hpl gi
Listener v2, using DeepSpeech for Coding on Linux
Written by
on
in
Snaking.
So a few years ago, as I was working on a project called Listener that used PocketSphinx to allow dictation into the Eric IDE, I got some feedback suggesting that the only practical solution these days would be to use a neural network based dictation engine. That led me down a rabbit hole from which ...
Playing with EGL+OpenGL Off-screen Multi-Card
Written by
on
in
Snaking.
So I've now spent the last day and a half playing with getting EGL offscreen rendering working on Linux. There are two major ways to do off-screen rendering with EGL and OpenGL. In the first, you use a pbuffer surface, that surface is basically a purpose-defined surface-type for off-screen backing of a renderer. When I ...
Started work on getting py-spy/speedscope in RunSnakeRun
Written by
on
in
Snaking.
So having finally written down the thoughts on a carbon tax, that kept distracting me from actually working on Open Source, I finally got a bit of work done on Open Source on the last night of the vacation.
What I started work on was getting a sampling profiler format supported, and for that ...
PyOpenGL 3.1.5 is Out
Written by
on
in
Snaking.
I've pushed out the PyOpenGL 3.1.5 release. It has some (relatively minor) fixes for wgl and egl operations, and one for what looks like a change in numpy scalar handling in the latest numpy. Available on PyPI now.
Windows Isn't a Horror Show
Written by
on
in
Snaking,
Tuxedo.
So it has been a long time since I forced myself to boot into Windows to get support/development work done for the platform. Other than one hard-freeze where the machine updated its drivers, rebooted, and just stopped recognising the keyboard or trackpad, it pretty much just worked (turning it off and on again did, as ...