Category archives: Snaking
Discussions of programming, particularly of programming Python
PyCon Dress Rehearsal Tonight (Tuesday)
Written by
on
in
Snaking.
Just a reminder; tonight is the night to see 2 (or possibly three) presenters Live at Linux Caffe.
PyCon Dress Rehearsal rocks the Casbah
Written by
on
in
Snaking.
Leigh and I did our presentations this evening to a pretty-much-packed house.
Leigh managed to keep pretty-much to time... I was *way* over (maybe double time), but then I knew I would be, the deck was almost 70 slides and that's before feedback, discussing ChatTrack as a project, etceteras, need to get the whole deck ...
3D/Graphics Open Track at PyCon
Written by
on
in
Snaking.
Okay, we now have our own Open Space Wiki Page for figuring out what 3D/Graphics related stuff you want to do at PyCon. If you're interested in 3D or graphics/games stuff, edit the page and brainstorm about what you'd like to see or work on. I'm happy to do impromptu classes on whatever OpenGL-ish topics ...
The "Shiver" Moment in Presentation Writing
Written by
on
in
Snaking.
There's a moment in writing presentations; you are dispassionately writing and editing point-form notes about the things you want to talk about, a kind of disjoint series of ideas that you know all fit together somehow, and you're really just playing with them to see how they fit, then you take a bit of time ...
Float == Float4, Ya Pythonic Wanker!
Written by
on
in
Snaking.
When you're using SQLAlchemy you sometimes get into a fog where everything's so abstracted away that you forget there's a regular old PostgreSQL or SQLite instance under there. Thing is, there *is* a PostgreSQL instance under there, and if you use a Float data-type for your code, it will work perfectly well under SQLite (which ...
PyCon Dress Rehearsal in 1 week!
Written by
on
in
Snaking.
The PyCon Dress Rehearsal on the 16th at PyGTA is now slightly less than 1 week away. 3 presenters. Listen, give feedback, enjoy, rinse, repeat, rinse, repeat, chat.
[Update] Unfortunately, Greg Wilson had to cancel, but that means more time for the other two!
Best pattern for "captive" servers in testing?
Written by
on
in
Snaking.
So I'm wondering what other people do in this scenario:
- You have an executable that provides a (networked) service
- You want to test against the executable's service
- You want to be able to start/stop the executable during the tests
- You want to be able to run multiple executables between test suites (i.e. with different configs ...
ab is a cruel mistress
Written by
on
in
Snaking.
Got started on testing performance tonight for ChatTrack. Wow. Nowhere *near* where it needs to be, not even on basic page rendering... seeing something like 14.5rps sustained on 1000 requests with 100 concurrency, and there's significant numbers of requests taking more than 4s to reply (eep!). And that's on the laptop, the poor little ...
Specs can really suck the life out of you...
Written by
on
in
Snaking.
Just spent hours tracking down the "DOCSIS TLV" config-file format and implementing it. This is one of those things where the project spec says "do what that spec says to do", pointing you at a deprecated version of the big spec, then the updated version of that spec says "do what this other spec says ...
Quicky testing TFTP Client (and server) with tftpy
Written by
on
in
Snaking.
from tftpy.TftpServer import TftpServer
TftpServer( 'tftp' ).listen( 'localhost', 8069 )
Which serves up the files in the 'tftp' directory on port 8069 (69 is the standard tftp port). To download an existing file from the server:
from tftpy.TftpClient import TftpClientwhich should download ...
TftpClient( 'localhost',8069).download( 'exists', 'downloaded.txt' )