jrwren | rick_h_: yes, turns out i didn't need that anyway | 00:07 |
---|---|---|
jrwren | rick_h_: defaultdict(dict) is all I needed | 00:07 |
rick_h_ | jrwren: awesome | 00:08 |
rick_h_ | jrwren: figured you were doing 2-d counts or something and needed the initial 0 to += 1 | 00:08 |
jrwren | yup, but since it is a dict, i felt it reads a little better to just use get('count', 0) | 00:09 |
snap-l | Python: the infinite spool of rope to happily hang yourself | 00:09 |
jrwren | and since I'm doing min/max | 00:09 |
jrwren | get('min', value) reads even nicer | 00:09 |
jrwren | hehe, C has the same infinite rope. its just easier to string it up with python | 00:09 |
snap-l | The secret of C is there is no rope | 00:10 |
snap-l | just a pointer to a function to cut off your air supply. | 00:10 |
rick_h_ | jrwren: http://docs.python.org/dev/library/itertools.html#itertools.accumulate ? | 00:10 |
jrwren | fold! | 00:11 |
jrwren | yay fold | 00:11 |
jrwren | i might be able to write this with fold, but I kinda feel this is more readable | 00:11 |
rick_h_ | jrwren: cool, just tossing it out there. | 00:11 |
jrwren | *nod* thanks. | 00:11 |
jrwren | I do like reduce functions | 00:11 |
jrwren | wait... doesn't python have built in reduce? | 00:11 |
rick_h_ | yea, min/max often seem to fit into that more | 00:12 |
jrwren | oh, but that one yields, nice | 00:12 |
jrwren | the problem is - standard deviation. | 00:12 |
jrwren | you have to iterate the list twice to calculate it, AFAIK | 00:12 |
rick_h_ | jrwren: predicted it yesterday https://bugs.launchpad.net/ubuntu/+bug/1/comments/1834 | 11:30 |
snap-l | So, who has the cajones to mark the bug "invalid"? :) | 12:59 |
rick_h_ | lol | 12:59 |
snap-l | I don't think it's fixed, but I do agree the focus has changed | 13:00 |
snap-l | there are bigger and better problems to solve than market dominance. | 13:00 |
snap-l | but of course this is going to cause all sorts of shitstorm on the net and waste time | 13:01 |
jrwren | hahah! yes! | 13:24 |
jrwren | bug #1 | 13:25 |
brousch | Aren't there more Android devices than windows computers now? | 13:27 |
brousch | So maybe it should be switched to unseating Google | 13:27 |
jrwren | join #csharp | 13:54 |
jrwren | oops | 13:54 |
brousch | ew | 13:54 |
jrwren | join #python | 13:55 |
jrwren | even worse | 13:55 |
snap-l | Sheesh, Dropbox goes down, and you'd think the internet went down with it | 15:00 |
brousch | I didn't notice | 15:04 |
jcastro | don't care, once it's up my clients will do their thang | 15:05 |
jcastro | though if I was out and about it'd probably be annoying | 15:06 |
snap-l | I care only because my GTD stuff is on Dropbox | 15:06 |
snap-l | and if it gets out of sync it can be a pita | 15:06 |
snap-l | Tha's all. :) | 15:06 |
snap-l | but the way some people go on, you'd think their entire shared drive is on Dropbox for their company | 15:07 |
brousch | I'm afraid that might be true | 15:08 |
snap-l | https://forums.dropbox.com/topic.php?id=101181&page=2 | 15:09 |
snap-l | Funny thing is I think this was the same ass that complained loudly the last time | 15:09 |
jcastro | "Does anyone know Drew Houston's cell phone number or home address?" | 15:16 |
jcastro | creepy | 15:16 |
brousch | wat? Shuttleworth closed Bug #1? | 15:22 |
rick_h_ | brousch: yea, that was the point. He marked it fix released :P | 15:23 |
brousch | I missed that part | 15:23 |
jrwren | i like shuttleworth. | 15:30 |
jrwren | he elaborated on a lot of the things I was feeling yesterday | 15:30 |
greg-g | I find this line funny: "nd I hope soon also how to be amazing for developers on their desktops" cc rick_h_ | 15:42 |
greg-g | but man, Wikimedia's bug 1 is never going to die: https://bugzilla.wikimedia.org/show_bug.cgi?id=1 | 15:47 |
rick_h_ | lol | 15:47 |
rick_h_ | greg-g: how were the sprints | 15:48 |
greg-g | rick_h_: great! but man, I'm getting old. Jetlag is killing me now | 15:49 |
brousch | Sure. blame it on the jetlag instead of the weed | 15:50 |
greg-g | see what happens when you disrespect your tech team? http://creativecommons.org/licenses/by/3.0/ | 16:45 |
snap-l | greg-g: Yeah, saw a report of that | 17:02 |
snap-l | Our docs are teh suck. Fix them up. | 17:02 |
snap-l | Nice bug #1. Guaranteed never to be closed. :) | 17:03 |
jjesse | i thought mark closed bug #1 today | 17:03 |
jrwren | wikimedia, not ubuntu | 17:04 |
jjesse | oh | 17:04 |
jjesse | sorry i'll go back to sleep | 17:04 |
greg-g | jjesse: me too me too! | 17:05 |
snap-l | http://earache.bandcamp.com/album/skull | 17:12 |
snap-l | Why yes, I like getting more requirements days before something is suppsed to launch, and then realizing I have two days less than I thought in order to launch it. | 17:54 |
brousch | You are a rare developer | 17:55 |
greg-g | Enjoy! | 17:55 |
snap-l | which I found out about a few weeks ago just before you were heading on vacation | 17:55 |
snap-l | and I'm sure was only then disclosed because you would be out during the normal "throw it over the wall" time that everything else comes along | 17:56 |
snap-l | and thank you very much for the design that involves several departments to do something that would have been best handled in one process | 17:56 |
snap-l | And we wonder why developers have alcohol fetishes. | 17:57 |
jrwren | i like that too. | 18:01 |
jrwren | nothing like a good challenge | 18:01 |
snap-l | jrwren: I wish I had your attitude | 18:18 |
snap-l | because I like challenges, but sometimes I see it as an affront. | 18:19 |
brousch | I wish i had his waistline | 18:19 |
snap-l | s/sometimes/most times/ | 18:19 |
snap-l | and his rocking hair | 18:19 |
brousch | Trudat | 18:19 |
jrwren | i got a buzzcut. i've no hair | 18:27 |
jrwren | and my waistline is big. i need to drop a couple inches. | 18:28 |
jrwren | now if only you were both really hot women from outer space that wanted me just for my hair and body and my wife would never find out... | 18:28 |
greg-g | just tell her before hand | 18:29 |
jrwren | good idea. | 18:30 |
jrwren | i wonder what she will say. I'll tell her tonight. | 18:30 |
greg-g | :) | 18:30 |
snap-l | https://www.youtube.com/watch?feature=player_embedded&v=ZVVOzLyt3fo | 18:38 |
snap-l | also: jrwren, I'm flattered you'd think of me as a hot woman from outer space. :) | 18:39 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!