Progress update on python-gotalk

Friday, February 06 2015

As covered in a previous post, I’ve been tinkering with a Python implementation of the fledgling Gotalk. Since this has been fun to play with, I figured it’d be worth sharing where python-gotalk is, and what has happened with it in the last two weeks.

Upstream gotalk progress

Rasmus has created a new protocol v1 branch in the Gotalk repo, where all of the new hotness is landing. A few hilights:

  • Request IDs have grown from three bytes to four in response to requests for more potential permutations.
  • A new ProtocolError message type was added. This is sent when a peer doesn’t understand the protocol version specified by the sender. While I haven’t seen any specifics on how potential downgrades may work, this could conceivably be used to handle that in the future (maybe?). It is not clear if gotalk is striving for any kinds of backwards compatibility between protocol versions, so that’ll be something to watch.
  • The Go and JS example client/servers have progressed quite a bit.

python-gotalk updates

At this point in time, we should be current with the gotalk v1 branch wire format (as of the night of Feb 6). I haven’t started on any socket/state tracking stuff, and probably won’t until v1 is mostly solidified.

However, I’ve thought about keeping python-gotalk focused on just the message marshalling/unmarshalling. The socket/state tracking code will differ quite a bit depending on whether you are using Twisted, asyncio, Tornado, etc. It’d also mean that python-gotalk could avoid all external dependencies.

We’ll continue tracking the Gotalk v1 branch and see how it goes!


python-fedex 1.1.0 released

Thursday, February 05 2015

I am pleased (and somewhat embarrassed) to release python-fedex 1.1.0! Pleased in that these changes have been patiently waiting for PyPi for a few years now, embarrassed in that I’ve let the project sit since I stopped using it more than five years ago. Let’s re-visit ...

read more

Why you should donate to the Django fellowship program

Friday, January 23 2015

Cheerleading/peer-pressuring the masses to pitch in for the Django Fellowship program.

read more

Let’s play: python-gotalk

Friday, January 23 2015

A recent HackerNews post announced Gotalk, a simple bidirectional protocol. I can imagine your collective eyeballs rolling. "Oh great, yet another half-baked way for… things to talk to one other". But keep following along, maybe you’ll see something you like. Here are some highlights:

  • By Rasmus Andersson - You may ...
read more

EMDR Relay 1.1 Released

Monday, January 12 2015

EVE Market Data Relay (EMDR) has been chugging along behind the scenes in the EVE Online developer community, quietly delivering large volumes of player-supplied market data. But the winds of change are arriving, as CCP has released a set of HTTP APIs for obtaining much of the data directly. EMDR ...

read more

python-colormath 2.1.0 released

Sunday, January 11 2015

python-colormath 2.1.0 has landed, bringing with it some excellent new features and bug fixes. See the release notes for a more detailed look at the changes.

The headlining feature is the replacement of our hardcoded conversion tables with NetworkX-based resolution of color conversions (courtesy, Michael Mauderer). Color ...

read more

Networked, multi-container image crawling with Docker and fig

Saturday, January 10 2015

An example of a networked, multi-container image crawler using Docker and fig.

read more

python-colormath 2.0 released!

Saturday, May 03 2014

python-colormath was started back in 2008, when I was an undergraduate at Clemson University (Go Tigers!). While there are a good number of people out there making use of the module effectively, there were a lot of things I wanted to do differently in an eventual 2.0 release. There ...

read more

Amazon Route 53 DNS failover

Tuesday, April 02 2013

A quick review of my experience with Route 53’s DNS failover service.

read more

We all wear many hats, and it’s great!

Tuesday, February 12 2013

Something that I had hoped for and have found in working at a small business (Pathwright) is the variability I see from day to day. You have a general idea of what you need to be doing, what your goals are in the immediate, mid, and longer term, but it ...

read more