[13:06] Goodd morning [13:07] Is it really? [13:11] I'd like to think it is [13:13] http://www.reddit.com/r/linux/comments/1lucdy/did_linus_torvalds_backdoor_linux_random_number/ [13:41] I should work from the home office more often :/ http://www.speedtest.net/my-result/2948896284 [13:41] I would sell you all in to slavery for that upload speed. [13:43] * rick_h resists the urge to upload every file on his laptop to s3 starting...now [13:43] So is the home office really Shuttleworth's basement? [13:44] no, that's across the way on the island [13:45] If you meet him, try to get a lock of his for me [13:45] his hair [13:46] I thought you were looking for one of his locks [13:47] The voodoo recipie specifically states locks, not hair [13:47] I think you'll need a screwdriver and some pliers. [13:49] It is not for voodoo, it is for snuggling with at night [13:52] uh huh [15:00] what is more pythonic? [15:00] if not mylist: or if 0==len(mylist): ? [15:01] not mylist, iirc [15:01] Plus it'll also catch if mylist is None [15:01] len(mylist) will crap out on None [15:02] I'm sure rick_h will correct me on an even better way to do that. :) [15:03] oh, i also have it wrong... should be if 0 == len(mylist): :) [15:03] pep8 says spaces around operators :) [15:03] i prefer what you say cmaloney for all the same reasons [15:03] yeah, no worries. It's IRC. Formatting goes out the window [15:04] definitely if not mylist [15:45] rick_h: where are you with that speed? [15:46] rick_h: oh, in London? Or Isle of Man? [16:01] greg-g: london [16:02] jrwren: not mylist if you're checking empty, mylist is not None if it's some sort of None default [20:27] damn sometimes python is an ugly language [20:42] what part did you run into? [20:43] i'm pretty happy with it. exceptions are lambda syntax and decorator abuse. [20:49] where inst is a Server instance it seems like there should be a better way to get the public ip than this [20:49] python-novaclient maybe is just a poor api [20:49] filter(lambda d: d['OS-EXT-IPS:type']=='floating',inst.addresses['novanetwork_0'])[0]['addr'] [20:49] that is UGLY [21:46] yea, that is ugly but seems like an issue with the data structure/org of the code you're using [22:02] Yeah, I've run into some ugly with Python and YAML configs [22:02] something like : [22:02] col: [22:02] - foo: [22:02] - bar [22:02] gets really ugly in a hurry [22:02] brb. Reboot. [23:09] bad reboot