Category archives: Snaking
Discussions of programming, particularly of programming Python
Gee these days are getting a bit too long... (Oh well, SIP project is basically finished...)
Written by
on
in
Snaking.
Moved the SIP project to about 90% finished. Everything is there technically (save actually testing with the hardware, which I can't do myself), but needs some UI polishing to be pretty enough for a real demo.
Went to the restaurant Jerusalem this evening for the management meeting... the food was far better than the usual ...!-->!-->
Should have looked at Shtoom (He realises too late in the evening to do it...)
Written by
on
in
Snaking.
Just realised that Shtoom will have the authentication mechanism already written (somewhere), since it acts as a client to normal (authenticating) servers. Should have just wandered over there and pulled out the authentication-generation code.
I've developed a bit of a blind spot there I guess, wanting to avoid learning a large package while on a ...!-->!-->
New server is in (Looks much faster than the old one...)
Written by
on
in
Snaking.
Not able to do much on it yet, but setting up an SSH session was so much faster it's almost scary. Hopefully with just the demo server running on it we'll retain some of that snappiness.
Bog, or tar-pit? (Authentication detour goes a bit haywire time-wise)
Written by
on
in
Snaking.
This little detour trying to get authentication working has taken way more time than it should have. Thinking I may just back the changes out and ignore the question for the demo. Blah.
SIP the cool-aide (Little things are so irritating...)
Written by
on
in
Snaking.
"So," figures I, "really should have at least some user authentication in the SIP server." Little did I realise that the Twisted code, while it supports authentication quite simply on the server, doesn't seem to have any code on the client side.
That is, the server can handle a client that knows how to authenticate, ...!-->!-->
Should have spent a day or two just familiarising myself with SIP (But oh well, that's life...)
Written by
on
in
Snaking.
AFAICT, the SIP protocol has no agreed upon conventions for registering display-names or other meta-data. That is, while you can attach display-names to just about every URI, there's nothing stating which URI's display name should be considered canonical when parsing a registration request. For now I'm assuming I should display the contact field's display name. ...
Dratted consumer-level software (Trying to be helpful wastes 1.5 hours of my time...)
Written by
on
in
Snaking.
Have discovered why it is that the dratted x-lite refuses to log in to my registration server despite the fact that clients written in Twisted work perfectly well. x-lite automatically searches for and finds the NAT firewall, then configures it's return address as the address of the firewall. Result is that the registration server responds ...
"To do no real work" (Is actually a pretty hard resolution to keep...)
Written by
on
in
Snaking.
I decided after work on Friday to do no "real" (i.e. needed) work this weekend. So far the 3D Software Collection has absorbed just about every dram of time for the weekend. Mostly just in tracking down projects, checking licenses, tweaking the display format, that kind of thing. I had to stop myself a couple ...
Parnassus, but just for 3D Projects (My day in cgi-land...)
Written by
on
in
Snaking.
Using Python for 3D programming is actually a fairly common thing, but it's difficult to see that if you don't have a collection of projects somewhere that you can browse.
I put together a partial list after the last PyCon, but it was on a Wiki I didn't control, and it just wound up turning ...!-->!-->
Pernicious Influence of Python (Still can't sleep...)
Written by
on
in
Snaking.
As expected back when we were solving the Pernicious Influence of Puzzles, writing a script to generate all permutations of a word from a given word-list was a pretty trivial endeavour. Applied to our TRANSIT challenge the computer came up with a few we missed...
The ones I feel bad about:
artist!-->!-->!-->
stain
taint ...!-->!-->