Archives 2014

Getting a PyOpenGL 3.1.1 release moving

So I've spent the afternoon going through my backlog of emails regarding PyOpenGL issues. That takes far longer than it should, as most of the time is really spent in reproducing/verifying problems rather than actually addressing issues. So far I think I've addressed most of the items that can be addressed near-term, so I guess ...

Continue reading

Playing with Web Sockets

Been playing around a bit with web-sockets under Twisted. This time I didn't go with autobahn, as the last time I played with it I just wound up stuck on lots of stuff I didn't need. What I decided to play with is a Web Socket based server-controlled messaging daemon. It's *not* going to run ...

Continue reading

Save/Restore for Django "Embedded" Apps

So we have a lot of Django-based code where we'd like the user to be able to download a (subset of) the Django database as a "config file", then upload that "config file" to some number of other machines (or the original one), potentially long after the database has been migrated. I've got the skeleton ...

Continue reading

Back to React Learning

I wanted to get back to doing a bit of React.js, so I started converting more of the WebToys into React (from Angular and raw Jquery). It took a bit of staring at old code to remember the React way of things. There are definitely some things I need to get sorted; how to parameterize ...

Continue reading

Eventually Text Munging Gets Nasty

So today I started into the basic command-and-control part of the Listener system. The original tack I took was to create escaped commands inside the text stream using the "typing" substitutions (the stuff that converts ,comma into ','):

some text \action_do_something more text

But that got rather grotty rather fast when looking at corner cases ...

Continue reading

First-Light on Dictating Code into Eric

So as of earlier this evening I've now got the Listener service hooked up such that I can dictate code into Eric (via an Eric Plug-in talking to the service over DBus). There's still an enormous amount that doesn't work. But that first-light moment has made me rather happy; instead of a collection of little ...

Continue reading

Aw, come-on QtDBus, just work already

[Update] I got it working by going down to the "connection" level and registering the callback there. The code below is updated with the working version... as of now I've got some basic "voice coding" possible, but lots more to do to make it practical and useful.

Plowing ahead with integrating Listener into Eric (my ...

Continue reading

Interpretation of Dictation

Sometimes as you're developing a project it's easy to lose site of the end goal. I've spent so long on giving Listener context setup, code-to-speech converters, etc. that the actual point of the whole thing (i.e. letting you dictate text into an editor) hasn't actually been built. Today I started on that a bit more. ...

Continue reading

Using GStreamer AppSink from Python

So I decided to play a bit with how to get raw audio samples from gstreamer pipelines. This is normally done (in C or whatever) with an `appsink` element in your gstreamer pipeline. You hook up the pipeline, watch for the buffer, and then you can map it into a Numpy buffer (or whatever you ...

Continue reading

Python-dbus needs some non-trivial examples

So I got tired of paying work this afternoon and decided I would work on getting a dbus service started for Listener. The idea here is that there will be a DBus service which does all the context management, microphone setup, playback, etc and client software (such as the main GUI and apps that want ...

Continue reading

Monthly archives

Previous year

2013

Next year

2015