Archives Aug. 23, 2004

Twisted web client and ssl (Since it took close to an hour to figure this out...)


The secret: twisted.web.client.getPage(url) handles SSL (https://) protocols automatically. Nothing I could find in the documentation mentions that. There are references to the ContextFactory, but nothing is mentioned about whether you need to pass one in or not (you don't). So, a simple script to download an SSL page with Twisted looks something like this:

from ...

Continue reading

Let there be light! (Rosey's excursion to Canadian Tire)


Rosey went to Canadian Tire to pick up some lamps (her room and the living room are unlivably dark (I get horribly depressed when it's always dark)). Apparently she didn't have time to find any lamps she liked, but she did pick up a replacement bulb for my big halogen floor lamp.

That lamp almost ...

Continue reading

Change and rests and suchalike (MediaCorp project work for most of the day...)


Tim came by and we discussed the EFT server project for an hour or so (I am so not looking forward to that project now). After that we switched to discussing the MediaCorp page-checker project, much better specified (i.e. at least minimally specified).

Spent a solid 7 hours on that, with the result being a ...

Continue reading

Previous day

Aug. 22, 2004

Next day

Aug. 24, 2004

Archives