Category archives: Snaking
Discussions of programming, particularly of programming Python
Getting close on ChatTrack
Written by
on
in
Snaking.
I'm almost to the point where I want to get a few friends playing with the tool. I've still got Search, User "Blogs", RSS Feeds, and Highest-rated views to do, as well as lots of clean-ups. Also need to get the domain-name set up for the poor little server.
I expect that the VM will ...
Making your Twisted resource(s) a url sub-tree of your WSGI resource...
Written by
on
in
Snaking.
For those paddling about in the Twisted + WSGI-hosted app world (here I'm playing with TurboGears), one thing you may wind up wanting to do is to have your WSGI application be the "default" URL-tree, with only certain sub-trees handled by Twisted. To be more concrete, say you want your URLs to look like this: ...
TurboGears 2.1b1
Written by
on
in
Snaking.
Percious just released the first 2.1 beta. I've been using tip for my little project that embeds TG in Twisted, so I'm already there. If you're planning on moving your codebases to 2.1 from 2.0, now is the time to test your apps with it so you can report any bugs before the final release.
SQLAlchemy orm join against subquery
Written by
on
in
Snaking.
This is one of those things that I have to look up every time I go to do it after being away from SA for a while.
You have a table A, with a many-to-one table B referencing A. You want to get summary data from B joined with your table A. The query to ...
TurboGears as a Twisted WSGI Application (in 125 seconds)
Written by
on
in
Snaking.
Say you want to have a TurboGears application running inside a Twisted web-server (which lets you mix in all sorts of other protocols). J.P. has written up a 60-second recipe for getting a WSGI application running inside Twisted. This post takes you the rest of the way to getting TurboGears 2.1 running inside that ...
Need to find some PyOpenGL time
Written by
on
in
Snaking.
The little PyOpenGL folder in Thunderbird is mocking me with its unread message count, but there's so much to get done. Am I going to be working on PyOpenGL at PyCon? It's becoming a possibility, but darn it, I want to work *with* people on something this year. I want to code with people to ...
64-bit Ubuntu Web Devs, don't let Firebug update to 1.5
Written by
on
in
Snaking.
There's a bug that makes Firebug crash Firefox 3.5.x on 64-bit Ubuntu. There's a fix to be released from Mozilla, but for right now Firebug 1.5 is *not* a good idea... of course, you're likely reading this in Firefox, so likely too late. You can revert to Firebug 1.4.x by going here. Details on ...
Things I'd like to play with (given enough time)
Written by
on
in
Snaking.
I'm finding myself spending too much time (again) on this little "chat track" project... which leads me to think about other things I could be playing with:
- 3D renderers and/or game engines
- Haskel
- Mobile games
- WebGL
- XMPP (and/or Wave)
- PyPy
- Educational tools
I *still* haven't finished the remaining core piece of the project, but I ...
Python's Too Easy
Written by
on
in
Snaking.
As I work on my little Tornado project I occasionally run into things that are packaged for other frameworks, CouchDB, Recaptcha, that kind of thing. They're the kind of thing that you can write a basic client for in a few hours (less for Recaptcha, of course), but then you realize there's corner cases, little ...
Need to find a room sharer for PyCon...
Written by
on
in
Snaking.
Once again I have put off finding a roomie to share my room at PyCon. I've got a double-bed double-occupancy room. I normally stay out pretty late, but come in quietly, having exhausted my voice. Reservation is 18th to the 25th. $157/night split 50/50.