Author archives: Mike

RSS feed of Mike

Ubuntu Upgrades are Magic unless they aren't

There is something magical about asking Ubuntu to upgrade your desktop while you're running it. "Hey, Ubuntu, let's try focal" and it heads off to churn through downloading 6GB of stuff and unpacking/installing it. You head off to work in the meantime.

But it gets stuck because you have postgresql and it doesn't make it ...

Continue reading

RunSnakeRun 3.0.0 Beta 1

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

Continue reading

Listener GUI Started

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

Continue reading

Auto-link a Host-provided Package into a Virtualenv

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

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

Continue reading

Ubuntu 20.04 unhappy on the old Dell XPS

Figured I'd try to update the old Dell 15" XPS with the broken keyboard as a machine for the kids to use as a desktop (for at-home schooling, etc) and do a bit of testing on the new release while I'm at it. The machine has been on 18.04, was updated and rebooted right before ...

Continue reading

Playing with EGL+OpenGL Off-screen Multi-Card

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

Continue reading

Started work on getting py-spy/speedscope in RunSnakeRun

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

Continue reading

What would a realistic Carbon Tax look like?

So if we (Canada) were to set flat carbon cost at a reasonable $.6/kg ($600/ton) instead of our current $.02 rising to $.05 in two years with the big polluters excluded, what would happen? Would it be effective at changing people's behaviour?

Fuel

  • Crude would go up by $258/barrel (currently $60)
  • Oil Sands crude up ...

Continue reading