is a pile of bits

Surprise, There Are Users

My motorcycle is in the shop this morning. I ride a little TU250x that I call “Tux”. I bought her for myself as a birthday present last year, and have put a little over 6000 miles on her since. She’s a good bike, and I take a lot of pleasure in our rides together. I perform the majority of her maintenance myself – oil, chain, valves, electrical. But one thing I didn’t want to do was replace and balance the tires, so I’m paying the guys at Team Powersports to do it.

While Tux is off getting new tires, my daughter and I are sitting on the back porch. She has been reading Rurouni Kenshin for the first time, and I have been working on the documentation for python-promises.

Javatools to Setuptools

I was supposed to write about sibilant, but of course I’ve been distracted.

My daughter is out of school on spring break, and I’ve taken leave from work so that we could hang out together. Of course this means that we’ve just been finding new ways to ignore each other as the week has gone by. We’ve certainly spent a lot of time at various parks and playgrounds, and we’ve played an awful lot of Minecraft together. But on the evenings we’ve also set up something approaching residency at our favorite coffee shop. She will sit and munch on chocolate chip cookies while watching videos and playing games on her ipad– oblivious to my presence– and I’ll find myself looking for something unimportant to half-heartedly hack on. It’s a pleasant and relaxing situation, this modern bonding.

And so it came to pass that I was looking over the python-javatools project again.

Weather and Backtracking

Spring should be arriving any moment now, and indeed there are hints of warmth and green coming soon. Those glimpses of a happy future are punctuated with an almost spiteful enthusiasm by incredibly gross weather. “Gross” is definitely the right word for it. The temperature will drop 30 degrees (F) overnight, and a harsh gusting wind will bring rain and occasionally sleet. The sky becomes dim and grey. You find yourself bundled up against it, wondering if the previous day’s open heavens and friendly sunshine were just part of a fever dream.

Brine on the Wire

I realized while hacking on the test cases for the promises multiprocess module that it would be really useful if I could easily pass along anonymous functions. So I threw together a new queues module for brine that provides some Queue subclasses which automatically brine/unbrine any passed work.

This got me to thinking about the potential for sending code between processes, or even between machines. Certainly powerful, but also hazardous.

Delivering on Promises

It’s beautiful, this fine sunny Sunday. Zoe is outside playing with the neighbors and I’m relaxing in the breeze. I’m working on a bit of clean-up coding from yesterday’s hacking session on python-promises. I had finally gotten around to writing a unit test harness for the XML-RPC multicall promise bits. I was so excited to have that working that I charged through writing tests and fixing bugs for the multiprocess and multithread modules as well. Before I knew it, my promises module was looking darn-near worthy of a 1.0