April 2008 Archives

No plink rsync for you!

| | Comments (0) | TrackBacks (0)
Hoping to use Pageant with rsync so I don't have to make or use passwordless keys, I was bummed to find out that 5 years of internet time have brought nobody close to being able to fix whatever incompatibility currently prevents cwRsync from talking correctly to plink.

The best guess? Binary-vs-text mode incompatibility, or line ending differences between cygwin ssh and win32 plink. I'd buy that. And apparently way off the care radar.

This brings me back to my general rant about there being no native windows rsync for win32. I did see a python port attempt though. That would be worth doing.

Fucking Python Threads

| | Comments (0) | TrackBacks (0)
Ok, python 2.5 has absolutely no good examples of how to set up a thread pool. Google and friends are suspiciously silent on this. It could be because there's almost no time savings on win32 when using threads. Or it could be because threading is already necessarily more complicated than it needs to be.

Maybe I just need to subprocess exec a new python running my scripts?

On that note, I am almost done at work slapping together my windows service for validating art data from the perforce server. It uses a crappy python-style ini file to store its config data, and starts/stops thanks to the authors of pywin32. It will hopefully use a Queue.Queue to manage its worker thread pool of validation scripts tomorrow, and start sending me happy valid data e-mails soon.

Now if only amara.pushdom was fast enough chunking through my 16mb level files, I'd be happier. psyco.full() here I come.

SCons Verdict

| | Comments (0) | TrackBacks (0)
Lurking on the Scons users mailing list, It's frustrating seeing things get both better, and the same. Well, after something like 5 years of following SCons, I still have to say, its main drawbacks are still that it's slow to start up and run, and confusing to start working with.

easy_install Mercurial

| | Comments (0) | TrackBacks (0)
easy_install mercurial
It just works. Well, it installs ok. We'll see if it works.

Why bother? It turns out UcheOgbuji has sent out a call to arms to the open source community.

Amara XML

| | Comments (0) | TrackBacks (0)
This thing is sweet; it's a pythonic xml binding. You know, for python to read and use XML with.

Recent Tweets