[00:44] Evening [03:13] <3 http://r.bmark.us/u/d9c1c7d41a22fc [03:14] come on ubuntu, do it! [03:36] That would be pretty awesome (rolling release) [03:36] Man, I love everything about the Rush Remasters [03:36] Finally picked up the last one that I'm planning on picking up: Grace Under Pressure [03:36] Finally saw it at BN tonight [03:36] And it just sounds better. [03:37] I think their early digital albums benefit from the remastering [03:38] Signals has always been a sore spot. The Remaster makes it positively brilliant [03:38] (yeah, I know I'm several years late to the party. ;) ) [11:59] http://decafbad.net/2013/01/23/scratch-an-itch-pull-the-scab/ [12:29] http://synthematik.bandcamp.com/track/killing-in-the-name-rage-against-the-machine-cover [13:40] ARe we having fun yet? [13:40] Almost [13:41] oh joy [14:28] http://theprofoundprogrammer.com/post/41265135868/text-great-perl-photograph-of-perls-hello [15:30] bah! http://www.ispebbleshipping.com/ [15:31] heh [15:32] :( email says they only got 500 going out today vs the 15k originally thought [15:35] yikes, thats a big difference [15:36] We weren't able to get as many units to our fulfillment centre as we expected (held up by documentation at the airport). Less than 500 [15:36] units are going out today, with more expected to ship soon. [15:36] so I guess it's not "they failed to be built" but failed customs...but still ugh [15:37] apparently the factory isn't up to full speed for production [15:37] boo on that [15:37] Storm customs! [15:37] Occupy customs! [15:38] Remember, kids: customs is a legal entity unto itself. [15:38] If you need something there yesterday, Customs will screw you. [15:39] accept no substitutes. [16:20] yay, chair arrived. [16:22] yay [16:40] Oh, I like it. It's smaller than the big ball, and it has wheels on it, and a nice back to remind me to sit up. [16:42] ANd it has casters, so I can turn it without having to get up. [16:44] Now for the keyboard to arrive... ;) [16:44] So it's a ball with wheels and a back? [16:44] Yeah [16:44] brousch: http://ur1.ca/climp [16:45] anyone have example code for a python fileobject decorator? (pattern, not python decorator) [16:45] not translating that. fileobject decorator? [16:46] ya know how bz2.BZ2File() can take a fileobject as input? so that is known as decorator pattern and it exposes the fileobject interface so you can use it anywhere you would use a file object [16:46] i need to do same thing. [16:47] duh, go look at bz2file source :) [16:47] Wouldnt' that work like any other decorator? [16:47] oh, I mean that's just duck typing on the input. Thing stringio [16:47] snap-l: you *sit* on that thing? [16:48] greg-g: Yes. [16:48] I think decorator as new func wrapping call to diff func. And here it's just a func taking a file-like input [16:48] yes, just duck typing [16:48] I used a larger ball that rick_h_ let me borrow. JoDee said I looked like I was incubating an egg. [16:48] but i don't want stringio [16:48] python3 yas bufferediobase, that might work [16:48] Now I'll look like I have a nest as well. [16:50] * snap-l fully admits it's probably not doing what he thinks it's doing. [16:51] jrwren: yea, I mean you can look at what method BZ2File uses and just implement that on a class. Otherwise just implement the api of file http://docs.python.org/2/tutorial/inputoutput.html#methods-of-file-objects [16:51] but doubt you need them all [16:52] snap-l: :) hey, as long as it helps man [16:52] io.RawIOBase is what I want, I think. [16:52] cool [16:52] err, io.BufferedIOBase [16:53] greg-g: I've always had a weak midsection, so the theory is to strengthen it. Whether that works or not and doesn't add to back problems is another matter entirely. [16:53] ball sitting can make you sore for a while for sure [16:53] snap-l: Keep me informed of your experience [16:53] have to work to stay on top of it right [16:54] brousch: Will do. [16:56] snap-l: blogzor it! [16:56] Definitely. [16:57] With photos and video [16:57] and hookers, and blackjack. [17:14] turns out I don't want that. I think I want to write my own codec. http://docs.python.org/2/library/codecs.html [17:15] what?! [17:15] you just want to have your own object be BZ2'd right? [17:18] jrwren: what are you attempting? [18:21] no no, bz2 was just and example. [18:21] i have a bad xml file and I want to strip chars [18:21] but i want to do it in a stream read manner [18:22] isn't for l in open('file') lazy per line? [18:23] yes, but I'm not doing that. [18:24] i'm passing the file object to lxml parser [18:24] http://www.doughellmann.com/PyMOTW/codecs/ is a pretty good tutorial [18:25] jrwren: ok, gotcha [18:48] snap-l: this colonel guy is funny [18:48] Bruce Hampton? Yeah, he's a character. [18:53] Here's your big chance, East Siders http://www.meetup.com/Michigan-Python-Development-Group/events/95260982/ [18:54] Wow. 50 devs already [18:56] INteresting [19:23] sometimes I think python should be declared and utter failure of its objectives. [19:23] OK, how so? [19:24] well, what is irking me right now is that StringIO has no readable property [19:24] yes http://docs.python.org/2/library/io.html says it should [19:24] but http://docs.python.org/2/library/stringio.html says no [19:25] <_stink_> oh man i think i've seen that before [19:25] <_stink_> like it has a StringI and a StringO internal or something? [19:26] yes [19:26] so i get a StringI [19:26] which is fine, input is what I have and want [19:26] yet has no readable attr [19:26] <_stink_> yeah crap [19:26] so I can't actually wrap it with TextIOWrapper [19:26] <_stink_> what did i do about that? [19:26] <_stink_> i can't remember [19:27] <_stink_> i know, i know, that's very helpful [19:29] use StringIO instead of cStringIO and add the attr yourself? [19:30] is StingIO updated to StringIO is long before io module though I think. While the names seem close I'm not sure they actually are related at all [19:30] the docs in io says they are [19:30] docs could be wrong [19:30] probably me, I see io is 2.6. I thuoght it was newer than that [19:31] but still, pretty sure StringIO was before that, but it should have been updated to match I suppose [19:34] ok, funny http://www.youtube.com/watch?v=qkM6RJf15cg&feature=share [19:39] Um, what the hell were they advertising? [19:39] Hey, remember us? We used to be cool too [19:39] IE [19:39] Jesus, Microsoft needs to shoot their marketing department. [19:40] "Hi, we're the browser of nostalgia" [19:42] "Hi, remember us? We're the browser you used to use, like POGs, and pump-up shoes. You got old, and we got old too. Friend me!" [20:12] apparently you can't wrap codecs :( [20:13] so it was not the best approach [20:13] easier to wrap/decorate read() [22:02] this line just reads so crazy: Apple Shares Drop 5.6% In After-Hours Trading After Q1 2013 Earnings, Shaving $27 Billion Off Its Market Cap [22:02] 27 with a B? [22:02] daaaamn