00:01:05 *** ephemerian has quit ("Leaving.")
00:03:40 *** Xanthor|aw (n=Xanthor@ALyon-257-1-66-133.w90-15.abo.wanadoo.fr) has joined #swhack
00:03:40 <Monty2> bah, it's Xanthor|aw again
00:22:59 <kpreid> anyone care to recommend a Python tutorial for old-fashioned programmerrs?
00:23:19 <[bjoern]> define old fashioned
00:24:15 <kpreid> Did Fortran and assembler on big iron, then got out of the business, has done a little Perl of the text-munging loops-state-machines-and-global-variables sort
00:24:21 <[bjoern]> punch cards have been replaced by magnetic tapes.
00:24:42 <kpreid> Does not grok OO.
00:24:50 <kpreid> (but is willing to learn)
00:25:26 <[bjoern]> .g python for seniors
00:25:27 <phenny> [bjoern]: http://www.pelhamweb.org/highschool/February%202009.pdf
00:25:35 <mzeltner> *snort*
00:25:51 <kpreid> heh, quite wrong
00:25:53 <mzeltner> Looked at Dive Into Python? Too basic?
00:26:11 <kpreid> I have no knowldege of the field.
00:26:18 <mzeltner> .g dive into python
00:26:19 <phenny> mzeltner: http://www.diveintopython.org/
00:26:57 <kpreid> looks reasonable, I'll pass it on
00:34:22 <[bjoern]> Is there a way to mail something internationally (as in, snail mail letter) and get back a proper note of delivery from the deliverer, rather than the ultimate recepient?
00:36:00 <[bjoern]> ah found it
00:36:24 <mzeltner> UPS?
00:36:56 <[bjoern]> Rückschein International
00:37:05 <[bjoern]> I would not use UPS to deliver a letter.
00:40:47 *** Xanthor|aw has quit (Read error: 110 (Connection timed out))
00:44:34 *** Xanthor|aw (n=Xanthor@ALyon-257-1-42-67.w90-14.abo.wanadoo.fr) has joined #swhack
00:58:52 *** eel (n=PircBot@cpe-67-242-4-64.twcny.res.rr.com) has joined #swhack
01:05:19 *** shepazu (n=schepers@74.15.179.178) has joined #swhack
01:09:24 *** Morbus has quit ("http://www.disobey.com/")
01:09:44 *** Morbus (n=morbus@c-75-67-50-34.hsd1.nh.comcast.net) has joined #swhack
01:12:00 <jsled> anyone using dd-wrt? does QoS work at all?
01:12:47 <[bjoern]> This is not an obscure Star Trek reference, right?
01:12:47 *** shepazu has quit ()
01:13:14 <jsled> no.
01:13:23 <kpreid> Q snaps his fingers. "Now it is."
01:13:27 <[bjoern]> QoS is pretty klingon though.
01:30:47 <clsn> Yeah, I always think Klingon when I see QoS.
01:30:59 <clsn> QoS is the verb "to be sorry"
01:34:16 <[bjoern]> That's not very klingon.
01:35:50 <clsn> Yeah, bummer about that. jIQoS.
01:35:51 <Monty2> Barichello's already included all links
01:36:05 <mzeltner> Barichello is a nerd
01:43:50 *** Xanthor|aw has quit (Read error: 110 (Connection timed out))
01:47:56 *** Xanthor|aw (n=Xanthor@ALyon-257-1-146-252.w81-251.abo.wanadoo.fr) has joined #swhack
01:49:45 *** shepazu (n=schepers@modemcable003.225-21-96.mc.videotron.ca) has joined #swhack
02:05:11 *** [bjoern] has quit ("Quit")
02:23:18 *** Xanthor|aw has quit (Read error: 110 (Connection timed out))
02:26:23 *** Xanthor|aw (n=Xanthor@ALyon-257-1-31-184.w86-209.abo.wanadoo.fr) has joined #swhack
03:23:22 *** Xanthor|aw has quit (Read error: 110 (Connection timed out))
03:24:45 *** shepazutoo (n=schepers@modemcable003.225-21-96.mc.videotron.ca) has joined #swhack
03:25:30 *** shepazu has quit (Read error: 104 (Connection reset by peer))
03:29:36 *** Xanthor|aw (n=Xanthor@ALyon-257-1-97-129.w90-28.abo.wanadoo.fr) has joined #swhack
03:34:46 *** shepazutoo has quit ()
03:38:14 *** panni_ has quit ("( www.nnscript.de :: NoNameScript 3.81 :: www.XLhost.de )")
03:57:07 *** Xanthor|aw has quit (Read error: 110 (Connection timed out))
03:57:40 *** MacTed (n=Thud@twentyfourmullen.hsd1.ma.comcast.net) has joined #swhack
03:57:40 <Monty2> hey MacTed
03:59:32 *** shepazu (n=schepers@modemcable203.65-70-69.static.videotron.ca) has joined #swhack
04:16:47 *** authentic has quit (kornbluth.freenode.net irc.freenode.net)
04:16:47 *** xover has quit (kornbluth.freenode.net irc.freenode.net)
04:16:47 *** procto has quit (kornbluth.freenode.net irc.freenode.net)
04:16:47 *** dmiles has quit (kornbluth.freenode.net irc.freenode.net)
04:16:47 *** paulproteus has quit (kornbluth.freenode.net irc.freenode.net)
04:16:47 *** xxv has quit (kornbluth.freenode.net irc.freenode.net)
04:16:47 *** spb has quit (kornbluth.freenode.net irc.freenode.net)
04:16:47 *** Monty2 has quit (kornbluth.freenode.net irc.freenode.net)
04:16:47 *** radii has quit (kornbluth.freenode.net irc.freenode.net)
04:16:47 *** maxkelley has quit (kornbluth.freenode.net irc.freenode.net)
04:16:47 *** lisppaste2 has quit (kornbluth.freenode.net irc.freenode.net)
04:16:47 *** sr has quit (kornbluth.freenode.net irc.freenode.net)
04:16:47 *** cori[s] has quit (kornbluth.freenode.net irc.freenode.net)
04:16:47 *** shepazu has quit (kornbluth.freenode.net irc.freenode.net)
04:16:47 *** jessica has quit (kornbluth.freenode.net irc.freenode.net)
04:16:47 *** deltab has quit (kornbluth.freenode.net irc.freenode.net)
04:17:11 *** shepazu (n=schepers@modemcable203.65-70-69.static.videotron.ca) has joined #swhack
04:17:11 *** jessica (i=jessica@helios.crschmidt.net) has joined #swhack
04:17:11 *** deltab (n=deltab@82-36-30-34.cable.ubr02.smal.blueyonder.co.uk) has joined #swhack
04:17:22 *** cori[s] (n=cori[s]@h216-165-152-226.mdsnwi.dedicated.static.tds.net) has joined #swhack
04:17:50 *** paulproteus (i=paulprot@2002:db69:2513:0:0:0:0:1) has joined #swhack
04:17:50 *** spb (i=stephen@freenode/developer/exherbo.spb) has joined #swhack
04:17:50 *** authentic (n=authenti@85-127-20-51.dynamic.xdsl-line.inode.at) has joined #swhack
04:17:50 *** Monty2 (n=monty@94-193-105-25.zone7.bethere.co.uk) has joined #swhack
04:17:50 *** xover (n=xover@octet.neutri.no) has joined #swhack
04:17:50 *** procto (n=boo@logarchy.org) has joined #swhack
04:17:50 *** dmiles (n=dmiles@c-71-197-210-170.hsd1.wa.comcast.net) has joined #swhack
04:17:50 *** radii (n=adi@zix.hexapodia.org) has joined #swhack
04:17:50 *** sr (n=sr@funkehcat.vodkanoire.net) has joined #swhack
04:17:50 *** lisppaste2 (n=lisppast@common-lisp.net) has joined #swhack
04:17:50 *** maxkelley (n=max@unaffiliated/themaximus) has joined #swhack
04:17:50 *** xxv (n=steve@staticfree.info) has joined #swhack
04:18:10 <Monty2> hi mzeltner, how ya doing?
04:18:10 <Monty2> bah, it's clsn again
05:24:10 *** lmorchard is now known as lmorchard|away
05:59:27 *** lmorchard|away is now known as lmorchard
06:07:56 *** lmorchard is now known as lmorchard|away
07:25:27 *** Xanthor (n=Xanthor@ALyon-257-1-20-132.w86-209.abo.wanadoo.fr) has joined #swhack
07:28:48 *** Xanthor is now known as Xanthor[aw]
07:39:33 *** leobard (n=Miranda@dfki-046.dfki.uni-kl.de) has joined #swhack
07:54:51 *** jeffarch has quit (Read error: 104 (Connection reset by peer))
07:55:19 *** jeffarch (n=jeff@70-41-156-138.cust.wildblue.net) has joined #swhack
08:00:04 *** cre8radix (n=jamaerah@c-base/crew/cre8radix) has joined #swhack
08:17:11 *** libby (n=libby@94-169-110-24.cable.ubr22.aztw.blueyonder.co.uk) has joined #swhack
08:31:20 *** Talliesin (n=Talliesi@86.47.160.33) has joined #swhack
08:36:06 *** ephemerian (n=ijd@nat/hp/x-07234730b8dec309) has joined #swhack
08:36:30 *** kpreid has quit (Read error: 110 (Connection timed out))
08:37:44 *** eel has quit (Read error: 110 (Connection timed out))
08:42:59 *** mmmmmrob (n=mmmmmrob@62.172.77.66) has joined #swhack
08:42:59 <Monty2> it's mmmmmrob!
08:46:28 *** Xanthor[aw] has quit (Read error: 110 (Connection timed out))
08:49:25 *** Xanthor[aw] (n=Xanthor@ALyon-257-1-9-92.w90-9.abo.wanadoo.fr) has joined #swhack
08:52:33 *** leobard has quit ("Miranda IM! Smaller, Faster, Easier. http://miranda-im.org")
08:53:37 *** mmmmmrob_ (n=mmmmmrob@62.172.77.66) has joined #swhack
09:01:35 *** leobard (n=Miranda@dfki-046.dfki.uni-kl.de) has joined #swhack
09:02:36 *** mmmmmrob has quit (Read error: 110 (Connection timed out))
09:04:15 *** mmmmmrob (n=mmmmmrob@62.172.77.66) has joined #swhack
09:13:05 *** mmmmmrob_ has quit (Read error: 110 (Connection timed out))
09:14:33 <sbp> yo
09:14:52 *** mmmmmrob_ (n=mmmmmrob@62.172.77.66) has joined #swhack
09:23:58 *** mmmmmrob has quit (Read error: 110 (Connection timed out))
09:25:29 *** mmmmmrob (n=mmmmmrob@62.172.77.66) has joined #swhack
09:25:29 <Monty2> howdy, mmmmmrob
09:34:09 *** mmmmmrob_ has quit (Read error: 110 (Connection timed out))
10:13:22 *** kpreid (n=kpreid@cpe-67-249-58-190.twcny.res.rr.com) has joined #swhack
10:20:55 *** dmiles_afk (n=dmiles@c-71-197-210-170.hsd1.wa.comcast.net) has joined #swhack
10:25:29 *** dmiles has quit (Read error: 104 (Connection reset by peer))
10:31:23 *** cre8radix has quit ()
10:45:32 *** [bjoern] (n=bjoern@dslb-094-223-177-135.pools.arcor-ip.net) has joined #swhack
10:45:44 <[bjoern]> neoyo
10:46:24 <sbp> yo o' the day
10:51:13 <[bjoern]> .news Missouri ipod
10:51:17 <phenny> [bjoern]: http://education.zdnet.com/?p=2537
10:51:18 <[bjoern]> .title
10:51:19 <phenny> [bjoern]: Mandatory iPhones at UM worth a bit of outrage? | Education IT | ZDNet.com
10:57:42 *** kpreid has quit ()
10:58:28 *** kpreid (n=kpreid@cpe-67-249-58-190.twcny.res.rr.com) has joined #swhack
11:59:17 *** jeffarch has quit (Read error: 104 (Connection reset by peer))
12:00:21 *** jeffarch (n=jeff@70-41-156-138.cust.wildblue.net) has joined #swhack
12:15:45 <[bjoern]> .gc "Would you like to ride the captain's log?"
12:15:46 <phenny> "Would you like to ride the captain's log?": 0
12:24:37 <nslater> .gc "captain slog"
12:24:38 <phenny> "captain slog": 600
12:24:52 <[bjoern]> I just implemented slog
12:25:21 <nslater> .gc "penis in a starship"
12:25:22 <phenny> "penis in a starship": 0
12:25:27 <nslater> [bjoern]: you seen the film then?
12:25:35 <nslater> im not sure I could watch it without constantly thinking:
12:25:43 <[bjoern]> not film?
12:25:45 <nslater> "OMG OMG WATCH OUT SYLAR IS GOING TO EAT YOUR BRAIN!!!!!!"
12:25:47 <[bjoern]> what
12:25:54 <nslater> the startrek film
12:25:57 <[bjoern]> no
12:26:03 <[bjoern]> why would I watch that
12:26:09 <nslater> dunno, I will probably watch it
12:26:12 <nslater> and think:
12:26:13 <nslater> "OMG OMG WATCH OUT SYLAR IS GOING TO EAT YOUR BRAIN!!!!!!"
12:26:41 <[bjoern]> I'll watch it when people aren't excited about it anymore.
12:26:46 <nslater> man, that would be so epic, if right at the end, spoke was like "mwahahaha, I'm actually a super human come to eat your brain!!!!!!!!!!!!!!"
12:26:55 <nslater> and scotty was like "SAVE THE CHEERLEADER!"
12:26:59 <[bjoern]> khan 2.0
12:27:16 <[bjoern]> please dont make movies.
12:27:21 <nslater> and then Hiro appeared on the bridge with his katana
12:27:26 <nslater> and was like POW POW POW
12:27:31 <nslater> and chopped kirks penis off
12:27:37 *** cori[s] has quit (Read error: 104 (Connection reset by peer))
12:27:42 <[bjoern]> and the enterprise is running on the Hurd kernel.
12:27:55 <nslater> FUCK YEAH!!!!! AND SCOTTY WAS ACTUALLY RMS IN DISGUSE
12:28:06 <nslater> and bones was ESR
12:28:14 <nslater> and he started shooting people with his open source magnum
12:28:35 <[bjoern]> and only chuck norris can save us all.
12:28:36 <nslater> cut scene with uhuru making sweet love to $item
12:28:51 *** MacTed has quit ()
12:29:13 <nslater> well, chuck noris or ltn. barclay
12:29:38 <[bjoern]> Yes, Barclay could join forces with Wesley, and a Holo Army.
12:29:49 <nslater> and the enterprise computer was actually a disembodied bruce schneir
12:29:58 <nslater> woah, marclay and wesley, omg omg
12:30:02 <nslater> erm, barclay
12:30:09 <[bjoern]> It actually once was a disembodied Barclay.
12:30:12 <nslater> THE UNSTOPPABLE DYNAMIC DUO
12:30:15 <nslater> yeah, heh
12:30:53 <nslater> man, they should have done Startrek: The Teenage Years with wesley getting drunk and shagging girls, and smoking weed and stuff
12:31:13 <nslater> like Skins in the 21st century, only less buck rogers
12:31:19 <[bjoern]> check out the 200th episode of Stargate SG-1 to see how that turns out
12:31:29 <[bjoern]> I'm sure there is a clip on youtube or whatever
12:31:32 <nslater> oh?
12:31:37 <[bjoern]> might dig it up later, when im back
12:31:43 <nslater> cools
12:31:52 <nslater> i always thought wesley should get it on with troy
12:32:01 <nslater> ... like some kinda sugamama type thing
12:32:21 <nslater> and she'd be like "IM READING UR TEENAGE BRAINTHOUGHTS DIRTY LITTLE BOY"
12:32:37 <[bjoern]> http://www.youtube.com/watch?v=iULvH7HrD9c
12:32:59 <nslater> OH MY GOD
12:33:07 <nslater> is this for rls!?!?!
12:33:31 <[bjoern]> the vid answers that at the end
12:33:42 <nslater> hahaha
12:33:49 <nslater> I would totally watch that shit
12:37:44 *** cori[s] (n=cori[s]@h216-165-152-226.mdsnwi.dedicated.static.tds.net) has joined #swhack
12:38:21 <nslater> lo cori[s]
12:38:51 <cori[s]> good morning
12:39:03 <nslater> wassup mang?
12:39:18 <cori[s]> ugh. feels like a monday.
12:39:34 <nslater> not seen you in here before, not that I'm very active these days
12:39:41 <nslater> maybe I have, my memory is going in my old age
12:39:48 <[bjoern]> it's your memory.
12:40:10 <nslater> woo for old age!
12:40:11 <cori[s]> could be - it's been a while since I've been on IRC
12:40:21 <cori[s]> and I was never particularly vocal
12:41:19 <[bjoern]> you've been here your years though
12:41:47 <cori[s]> yeah, I guess I first popped my head in here a few years ago
12:43:14 <cori[s]> nice star trek/heroes thread in the backlog
12:49:17 <nslater> cori[s]: would you watch a StarTrek/Heros mashup?
12:49:31 <nslater> cori[s]: I elect myself as the director of this program, looking for cast members
12:50:03 <cori[s]> you bet
12:50:37 <cori[s]> i'd watch one, that is
12:58:31 *** lmorchard|away is now known as lmorchard
13:03:34 *** Arnia has quit (Read error: 110 (Connection timed out))
13:04:09 <kpreid> .u ∂
13:04:09 <phenny> U+2202 PARTIAL DIFFERENTIAL (∂)
13:05:48 <kpreid> .u δ
13:05:48 <phenny> U+03B4 GREEK SMALL LETTER DELTA (δ)
13:17:05 *** MacTed (n=Thud@63.119.36.36) has joined #swhack
13:22:55 *** Arnia (n=jgeldart@0-16-cb-bd-57-e.it.wlan.dur.ac.uk) has joined #swhack
13:28:32 *** nwalsh (n=ndw@12.35.79.2) has joined #swhack
13:39:29 <_ulises> [bjoern]: feeling charitable? http://www.caledonianchallenge.com/donate/Matambritos
14:02:52 *** Morbus has quit ("http://www.disobey.com/")
14:03:08 *** Morbus (n=morbus@c-75-67-50-34.hsd1.nh.comcast.net) has joined #swhack
14:27:52 *** nwalsh has quit ("This computer has gone to sleep")
14:29:09 *** nwalsh (n=ndw@12.35.79.2) has joined #swhack
14:29:41 *** nwalsh has quit (Client Quit)
14:38:15 <sbp> interesting moves by Cameron about the expenses row
14:42:55 *** nslater has quit ("http://tumbolia.org/nslater")
14:43:07 *** nslater (n=nslater@tumbolia.org) has joined #swhack
14:43:07 <Monty2> Thank goodness, nslater is back!
14:46:02 <[bjoern]> yo
14:46:27 <[bjoern]> If I'd donate all my money, I'd make a profit.
14:46:31 <nslater> shup Monty2
14:46:33 <Monty2> yay, timing is almost empty set is likely
14:46:59 <_ulises> [bjoern]: yeah, that's why you only need to donate some of it, you don't want to be rich, trust me
14:47:25 <nslater> been there, done that, got the cocain habit
14:47:54 <_ulises> precisely
14:47:57 <sbp> interesting:
14:47:58 <sbp> >>> def test():
14:47:58 <sbp> ... with open('example.txt') as f:
14:47:58 <sbp> ... return f
14:47:58 <sbp> ...
14:47:58 <sbp> >>> f = test()
14:48:00 <sbp> >>> f.closed
14:48:04 <sbp> True
14:48:05 <sbp> >>>
14:48:21 <nslater> with open() as f!?
14:48:23 <[bjoern]> I could donate all donations I've ever recevied, though I am not sure 7 USD are worth anything these days.
14:48:41 <sbp> so it closes the with block despite the return
14:48:44 <_ulises> I think you can get 1/64 internets with that [bjoern]
14:48:57 <nslater> sbp: what about yield?
14:48:58 <_ulises> sbp: that looks awfully natural language ... zomg
14:50:07 <sbp> nslater: good question
14:50:36 <nslater> >>> f = test().__next__()
14:50:36 <nslater> >>> f.closed
14:50:36 <nslater> True
14:50:51 <sbp> aye
14:50:57 <sbp> basically I was wondering if this would work:
14:51:00 <sbp> def parse_metadata(filename):
14:51:00 <sbp> with open(filename, encoding='utf-8') as f:
14:51:00 <sbp> pairs = (line.split(' ', 1) for line in f)
14:51:00 <sbp> return {a: b.rstrip('\n') for (a, b) in pairs}
14:51:18 <nslater> can you explain to me why you're using while here?
14:51:22 <nslater> why not just open and opperate?
14:51:28 <sbp> why I'm using what?
14:51:33 <nslater> while
14:51:39 <sbp> I'm not using while, I'm using with
14:51:44 <nslater> oh, yeah. sorry
14:51:52 <nslater> why are you doing that? what are you trying to achieve?
14:51:58 <sbp> with is the recommended way to handle files now
14:52:05 <nslater> you're kidding!? how come?
14:52:15 <sbp> they're trying to make contexts more popular, I guess
14:52:20 <[bjoern]> howcome does not frequent swhack.
14:52:25 <sbp> does save a line too
14:52:37 <nslater> so the file is closed when f goes out of scope?
14:52:43 <sbp> "no to your party on moats and manure"
14:52:47 <nslater> but the file is closed when the function goes out of scope anyway
14:53:35 <sbp> no it isn't
14:53:36 <nslater> and what about files that you want to pass about?
14:53:36 <sbp> >>> def test():
14:53:36 <sbp> ... f = open('example.txt')
14:53:36 <sbp> ... return f
14:53:36 <sbp> ...
14:53:37 <sbp> >>> f = test()
14:53:39 <sbp> >>> f.closed
14:53:41 <sbp> False
14:53:43 <sbp> >>>
14:53:58 <sbp> files you want to pass about: don't return or yield from the with statement
14:54:02 <sbp> call instead
14:54:11 <nslater> no, I mean... if you returned a .read() the file is .closed()ed when the function scope is lost
14:54:46 <nslater> .g python with files
14:54:47 <phenny> nslater: http://docs.python.org/library/stdtypes.html
14:54:48 <sbp> nice to make it explicit
14:55:09 <nslater> it depends, I've never made up my mind on that, heh
14:55:16 <nslater> sometimes I close them explicitly, sometimes I cba
14:55:35 <nslater> IM JUST CRAZY LIKE THAT
14:55:45 <sbp> this makes it explicit with no extra lines
14:55:49 <nslater> ... would like to see the docs about "with" in python3
14:55:55 <nslater> .g dwim python3
14:55:55 <phenny> nslater: http://news.ycombinator.com/item?id=385400
14:55:58 <sbp> it was in python 2 as well
14:55:58 <nslater> .title
14:56:00 <phenny> nslater: Hacker News | Python 3 breaks 'hello world'
14:56:04 <sbp> but you had to import it
14:56:05 <nslater> zomg no wai
14:56:14 <nslater> oh, from __future__ no doubt?
14:56:16 <sbp> yeah
14:56:24 <nslater> never did understand what the fuck that was all about, heh
14:56:37 <sbp> a way to phase in new syntax
14:56:39 <nslater> but ive never had to write python that runs on multiple versions of python
14:56:45 <sbp> without causing problems with keyword conflicts
14:57:18 *** Arnia has quit (Success)
14:57:23 <nslater> so what is it meant to do? is it just for file like objects? i dont get it
14:57:25 <nslater> .g python with
14:57:26 <phenny> nslater: http://effbot.org/zone/python-with-statement.htm
14:57:36 <nslater> looks promising
14:57:38 <sbp> .g site:docs.python.org with contexts
14:57:39 <phenny> sbp: http://docs.python.org/library/decimal.html
14:57:50 <nslater> even if the guy who writes effbot annoys me
14:58:00 *** panni_ (i=hannes@ip-88-152-22-213.unitymediagroup.de) has joined #swhack
14:58:00 <Monty2> Speak of the devil, it's panni_!
14:58:33 <sbp> nslater: >>> def test():
14:58:33 <sbp> ... f = open('example.txt')
14:58:33 <sbp> ... return f
14:58:33 <sbp> ...
14:58:33 <sbp> >>> f = test()
14:58:34 <sbp> >>> f.closed
14:58:36 <sbp> False
14:58:38 <sbp> >>>
14:58:40 <sbp> er, heh. sorry
14:58:44 <sbp> nslater: http://www.python.org/dev/peps/pep-0343/
14:58:58 *** Arnia (n=jgeldart@0-16-cb-bd-57-e.it.wlan.dur.ac.uk) has joined #swhack
14:59:09 <nslater> hmm
14:59:17 <nslater> __enter__ and __exit__
14:59:27 <nslater> hey, this looks pretty damn useful
14:59:40 <nslater> so I imagine that the file() obj in python3 has __enter__ and __exit__ then
14:59:48 <[bjoern]> .wik connected graph
14:59:49 <phenny> "In mathematics and computer science, connectivity is one of the basic concepts of graph theory." - http://en.wikipedia.org/wiki/Connected_graph
15:00:01 <nslater> sbp: this effbot page explains it pretty nicely
15:00:42 <nslater> sbp: hmm, great! totally get it now. thanks
15:01:04 * nslater upgradez his softwares to use all the newest technologies
15:01:48 <nslater> sbp: so anyway, getting back to your original thingy
15:02:10 <nslater> sbp: i guess that returning counts as __exit__ing the with, which kinda makes sense
15:03:55 <sbp> nslater: ah, yeah, works the same way as try/finally:
15:03:56 <sbp> >>> def test():
15:03:56 <sbp> ... try:
15:03:56 <sbp> ... print('a')
15:03:56 <sbp> ... return
15:03:56 <sbp> ... finally:
15:03:58 <sbp> ... print('b')
15:04:00 <sbp> ...
15:04:04 <sbp> >>> test()
15:04:06 <sbp> a
15:04:08 <sbp> b
15:04:10 <sbp> >>>
15:17:21 <sbp> .title http://www.publications.parliament.uk/pa/cm200809/cmhansrd/cm090511/debtext/90511-0004.htm
15:17:23 <phenny> sbp: House of Commons Hansard Debates for 11 May 2009 (pt 0004)
15:35:30 <sbp> ‘QuickTime X (pronounced Quicktime Ten[36]) is the next version of QuickTime, which was announced at WWDC on June 9, 2008. It is scheduled to be shipped with Mac OS X v10.6 and will include optimized support for modern codecs.’
15:35:32 <sbp> — http://en.wikipedia.org/wiki/QuickTime#QuickTime_X
15:35:39 <sbp> any clue if it'll support FLAC? presumably not, but...
15:37:46 <_ulises> mplayer you mean?
15:37:56 <_ulises> ;)
15:58:00 *** lmorchard is now known as lmorchard|away
15:59:01 *** lmorchard|away is now known as lmorchard
16:00:00 <nslater> sbp: http://www.theyworkforyou.com/debates/?id=2009-05-11a.547.0#g547.4
16:00:08 <nslater> sbp: same hansard, only betterer formatting
16:00:24 <nslater> actually, it includes more
16:00:46 *** ephemerian has quit ("Leaving.")
16:04:07 <nslater> "It is surely unacceptable that these people should be allowed to take over Parliament square and disrupt the entire centre of our capital city."
16:04:10 <nslater> eh what now?
16:11:52 *** mmmmmrob has quit ("we're off to see the wizard...")
16:22:55 *** shepazu has quit ()
16:34:38 *** cre8radix (n=jamaerah@c-base/crew/cre8radix) has joined #swhack
16:36:58 <cre8radix> re:zen
16:37:00 <cre8radix> http://www.youtube.com/watch?v=OSgReGKmCwQ
16:37:02 <cre8radix> :)
16:50:59 <[bjoern]> that's very old
16:57:46 <sbp> hmm, I can't get python3 to monitor for KeyboardInterrupt
17:03:10 <[bjoern]> python3 is the new rakudo.
17:03:21 <[bjoern]> at least in terms of your experience.
17:03:21 <Monty2> shame rcs for Damien's input strategies now when it a zip file is meant for me?
17:03:31 <[bjoern]> Maybe Monty.
17:03:34 <Monty2> comiles fine, but get this do thinks
17:03:55 <[bjoern]> It's hard to get it do thinks.
17:04:47 <[bjoern]> remind me in 6 minutes to !
17:04:47 <Monty2> [bjoern]: Okay, I'll remind you about that on Tue May 12 18:11:14 BST 2009
17:11:06 <Monty2> [bjoern]: You asked me to remind you to !
17:13:42 *** Arnia has quit (Connection timed out)
17:14:47 *** lmorchard is now known as lmorchard|away
17:15:02 *** lmorchard|away is now known as lmorchard
17:24:52 <[bjoern]> Why don't people (non-cannibals) grow food in their bellies?
17:26:46 <clsn> I suppose there's already plenty of fertilizer there.
17:27:07 <clsn> Hmm... Maybe if I don't clean out my navel for a few months I'll have enough soil to grow something there.
17:27:31 <[bjoern]> months?
17:27:39 <[bjoern]> also: uuuhgh
17:27:53 <clsn> Hey, just working with your idea.
17:28:15 <[bjoern]> It's a why question, not a how question.
17:33:44 *** leobard has quit ("Miranda IM! Smaller, Faster, Easier. http://miranda-im.org")
17:35:01 *** shepazu (n=schepers@modemcable187.48-203-24.mc.videotron.ca) has joined #swhack
17:38:28 *** [bjoern] changed the topic to: "This is Swhack. And You look like spam."
17:48:18 <sbp> anybody got a better idea for this?
17:48:19 <sbp> def serialise(arg, trailing=False):
17:48:19 <sbp> arg = bytes(arg, 'utf-8')
17:48:19 <sbp> octets = set(arg)
17:48:19 <sbp> if (octets & {b'\x00', b'\r', b'\n'}
17:48:19 <sbp> or (not trailing) and octets & {b' ', b':'}):
17:48:21 <sbp> raise ValueError('Disallowed byte in %r' % arg)
17:48:23 <sbp> if trailing and octets & {b' ', b':'}:
17:48:25 <sbp> arg = b':' + arg
17:48:27 <sbp> return arg
17:51:20 <nslater> sbp: :
17:51:22 <nslater> http://neopythonic.blogspot.com/2009/04/tail-recursion-elimination.html
17:51:27 <nslater> http://neopythonic.blogspot.com/2009/04/final-words-on-tail-calls.html
17:51:33 <nslater> via: tim bray
17:51:44 <nslater> "Guido van Rossum writes about tail recursion and Python in Tail Recursion Elimination and follows up with Final Words on Tail Calls. I have to say I was irritated by all the Functional-programming geeks intoning snottily about how He Just Doesn’t Get It; while Guido has been known to be wrong, he’s as accomplished a programming-language implementor as walks the planet."
17:51:57 <sbp> ugh, horrible style
17:54:37 <nslater> what's horrible style?
17:54:55 <sbp> the weblog, too many colourful dots behind the text
17:55:32 <nslater> oh yeah, it's a default blogspot theme
17:56:58 *** CaptSolo (i=captsolo@kaste.lv) has joined #swhack
18:12:21 <nslater> sbp: http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-May/019681.html
18:12:37 <nslater> sbp: hixies explanation of that stuff whatsist from this morning
18:12:57 <[bjoern]> summary: blah blah blah
18:13:44 <sbp> first bit I skimmed:
18:13:45 <sbp> SCENARIOS:
18:13:45 <sbp> * A group of users want to mark up their iguana collections
18:13:50 <sbp> which was just to confirm [bjoern]
18:13:56 <sbp> no need to skim the rest
18:14:31 <nslater> sbp: my source says that it's a fascinating read
18:14:43 <nslater> seems okay so far
18:15:16 <sbp> it's talking about augmented metadata in HTML
18:15:24 <sbp> which I've been doing since, oh, 2002 or so
18:15:27 <nslater> --
18:15:27 <nslater> it's possible to get information from sites consistently using 'class'
18:15:27 <nslater> values in a documented way, but doing so requires learning a new
18:15:28 <nslater> vocabulary
18:15:29 <nslater> --
18:15:31 <sbp> and it's changed rather little since 2002
18:15:38 <nslater> hmm, and how is the new proposal any different from that ^^
18:16:05 <[bjoern]> Look, if you don't know by now, it's not really fascinating.
18:16:22 <nslater> sbp: hmm, what about this part:
18:16:27 <nslater> --
18:16:28 <nslater> * The information should be convertible into a dedicated form (RDF,
18:16:28 <nslater> JSON, XML) in a consistent manner, so that tools that use this
18:16:28 <nslater> information separate from the pages on which it is found have a
18:16:28 <nslater> standard way of conveying the information.
18:16:30 <nslater> --
18:16:42 <sbp> what about it?
18:16:43 <nslater> not sure how you'd do that with @class attributes
18:16:55 <[bjoern]> That's just saying "there be a spec"
18:17:38 <nslater> [bjoern]: so?
18:18:24 <[bjoern]> yes.
18:19:20 * nslater frowns
18:24:01 <nslater> hmm, i think ive changed my opinion of this since this morning
18:24:42 <nslater> looks like it could be quite useful in a way not really possible with html4. only a shame I don't plan on using html5, heh
18:24:47 *** shepazu has quit ()
18:25:05 *** cre8radix has quit ()
18:25:31 <sbp> quite useful if you keep iguanas, indeed
18:25:52 *** cre8radix (n=jamaerah@c-base/crew/cre8radix) has joined #swhack
18:26:38 <nslater> well, quite useful for all sorts of stuff. now, if only amazon did mark up there prices like this, it would make my day job a helluva lot easier ;)
18:28:39 <nslater> .title http://www.schneier.com/blog/archives/2009/05/researchers_hij.html
18:28:40 <phenny> nslater: Schneier on Security: Researchers Hijack a Botnet
18:28:40 *** cre8radix has quit (Read error: 104 (Connection reset by peer))
18:28:52 <nslater> "The researchers noted that they were able to read through hundreds of e-mail, forum, and chat messages gathered by Torpig that "often contain detailed (and private) descriptions of the lives of their authors."
18:29:16 <nslater> seems like very dubious ethics for the researchers to actually *read* peoples email, I'm pretty sure demonstrating that they could log in would have been enough
18:29:21 *** Talliesin has quit ("Leaving.")
18:32:55 *** nsh (n=nsh@host86-133-35-168.range86-133.btcentralplus.com) has joined #swhack
18:33:30 <nsh> i think we need to change the law
18:34:10 <nsh> such that every registered voter that does not cast a valid vote automatically votes for the party with the least votes
18:34:21 <nsh> that way apathy --> exciting
18:36:12 <sbp> chuckle, that would be good
18:36:21 <sbp> well, exciting. as you say
18:37:03 <nsh> mmm
18:37:11 <nsh> i think it may be the best idea i've ever had
18:37:56 <sbp> well it's not really your idea, now, is it?
18:37:58 <nslater> wonder who that was in the last election.. green or ukip?
18:38:11 <sbp> it seems suspiciously similar to the advice Lord Tebbit is giving
18:38:27 <nsh> shit, secret identity uncovered
18:38:32 <nsh> must escape to ascott
18:38:33 <sbp> aha!
18:38:47 <sbp> no, anybody who was really a Tory would be able to spell Ascot properly
18:39:03 * nsh smiles
18:39:17 <nsh> i was at the job centre today
18:39:26 <sbp> did you offer them a job?
18:39:28 <nsh> and they had a pamphlet for some get-a-job course
18:39:33 <nsh> which used "enrol"
18:39:42 * nsh offered them a camel-unwinder
18:40:07 <sbp> oh dear, the Hamiltons are on BBC News
18:40:11 <nsh> heh
18:40:12 <nsh> then again
18:40:19 <nsh> so do lots of universities...
18:40:30 <nsh> http://www.google.co.uk/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-GB%3Aofficial&hs=2Dx&q=enrol&btnG=Search&meta=
18:41:02 <[bjoern]> That's long for http://www.google.co.uk/search?q=enrol
18:41:25 <sbp> Christine Hamilton thinks people shouldn't claim ridiculous expenses
18:41:52 <sbp> wonder wheel?
18:41:53 <sbp> http://www.google.co.uk/search?q=enrol&hl=en&sa=N&output=search&tbs=ww:1&tbo=1
18:41:56 <[bjoern]> Shouldn't you especially claim those?
18:42:15 <[bjoern]> don't you tbs=ww:1
18:42:20 <sbp> wonder wheel
18:42:20 <Monty2> typo in ("-h", "--help"):
18:42:30 <sbp> Monty2: where's the typo specifically?
18:42:35 <[bjoern]> you pythified monty.
18:42:36 <Monty2> Typically a comparison :) veggies tend to reduce then the deliverer, rather little filipino boy?
18:42:38 <Monty2> done in high Pos and written in...why not testing
18:42:46 <nsh> [bjoern] still quicker to copy the (stupidly clunky) url than manually construct one
18:43:04 <[bjoern]> g enrol gives me the short one
18:43:14 <[bjoern]> well except for the britscrap
18:43:20 * nsh nods
18:43:30 <sbp> wow, Neil Hamilton said picaresque
18:43:32 <sbp> on the television
18:43:44 <sbp> is that word making a comeback?
18:43:45 <deltab> Picardesque?
18:43:50 <nsh> ohmans
18:43:55 <sbp> not picardesque, not this time
18:44:12 <nsh> .gc "fill your boots lads"
18:44:12 <phenny> "fill your boots lads": 110
18:44:19 <nsh> .gs fill your boots *
18:44:21 <phenny> fill your boots *: (12), mun (5), moonboots (4), leatherface (4), with phil (3), man (3)
18:45:02 <sbp> "pay peanuts, you will get monkeys"
18:45:05 <sbp> — Neil Hamilton
18:45:20 <nsh> fucking nasa
18:45:35 <sbp> the Atlantis damage? yeah
18:45:38 <sbp> they should put loads of nets up
18:45:43 <sbp> to catch the deb... hahaha
18:45:44 <nslater> I once said that to someone wanting to employ me...
18:45:53 <nslater> ... I don't think they ever replied
18:45:56 <[bjoern]> Better use the peanuts to catch monkeys.
18:45:57 <sbp> "on the fuselage, if you know what I mean! ...I'm not sure I know what I mean"
18:45:59 <nslater> atlantis damage?
18:46:00 <sbp> — newsreader
18:46:22 <sbp> ...to catch the debris
18:46:23 <[bjoern]> when it sunk it destroyed many hectars worth of coral reefs
18:46:27 <[bjoern]> and they had no insurance.
18:46:31 <sbp> instead of letting it impact the fuselage
18:47:12 <nslater> .news atlantis damage
18:47:13 <phenny> nslater: http://news.bbc.co.uk/2/hi/science/nature/8046219.stm
18:47:16 <nslater> .title
18:47:18 <phenny> nslater: BBC NEWS | Science & Environment | Crew inspects shuttle for damage
18:47:35 * nsh choxelles
18:48:35 <nsh> "The Berlin Blockade, also known as the "German hold-up" (24 June 1948 11 May 1949) was..."
18:48:45 <nsh> nice british understatement
18:49:11 <nsh> WTF
18:49:23 <nsh> "driving up the wholesale price and lowering the purity"
18:50:00 <nsh> so, they're celebrating lowering the quality of chemicals people intake, and increasing the profits of the traffickers?
18:50:17 <nsh> yayciacaine
18:50:29 <sbp> I was wondering how much the masks work
18:50:42 * nsh is wondering what the purpose of this hopping exercise is
18:50:43 <sbp> if you're burning that much cocaine, that'd got to be a pretty good face mask
18:50:54 <sbp> well we're trying to simulate being Australian
18:50:56 <sbp> so that we can win the Ashes
18:50:59 <nsh> ah
18:51:01 <nsh> maeks sens
18:53:53 <sbp> heh, this shipping firm is called OMG
18:54:18 <nsh> lol
18:54:30 <nsh> OMG KOLPINO
18:54:51 <sbp> that's a pretty good thing to write in 20ft high letters on the side of a ship
18:54:55 <nsh> totals
18:55:05 <nsh> ok
18:55:12 <nsh> i just bricked a ubs drive
18:55:16 <nsh> how do i teh fix?
18:55:26 <sbp> depends how you bricked it
18:56:11 <nsh> unetbootin
18:56:22 <nsh> program to unpack bootable isos to flash
18:56:26 <sbp> uthernet?
18:56:48 <sbp> how big is the drive?
18:56:53 <nsh> 1tehgb
18:56:53 <Monty2> [bjoern]?
18:56:55 <sbp> and does it have important infos on it?
18:56:57 <nsh> nah
18:57:00 <nsh> but it's not mine
18:57:03 <sbp> ah
18:57:05 <nsh> so it'd be nice to have it teh fix
18:57:23 <sbp> .g fix flash drive
18:57:24 <phenny> sbp: http://www.techspot.com/vb/topic63357.html
18:57:47 <sbp> there you
18:57:49 <sbp> ...GO
18:57:50 <sbp> You need:
18:57:50 <sbp> MS Windows 2000SP4/ XP / 2003 (I did the recovery on VISTA RC1!)
18:57:50 <sbp> Download HDD Low Level Format Tool (http://hddguru.com/)
18:57:50 <sbp> About 5 minutes
18:59:31 <nsh> PLUSMAGICK
18:59:33 <nsh> but
18:59:40 <nsh> i'm quite intrigued by this UtherNet
18:59:49 <nsh> does it have pendragons?
19:00:31 <sbp> yeah, definitely
19:00:36 <sbp> I was hoping to make a round table joke
19:00:44 <sbp> but .g ethernet table doesn't come up with anything
19:00:57 <sbp> so you'll just have to imagine ethernet is cooler than it actually is
19:01:06 <sbp> in fact, that's a problem that UtherNet would be able to fix
19:01:16 <sbp> because there'd be dragons and quests and so on
19:01:29 <nsh> indeed
19:02:59 <nsh> i expect that the challenge-response transcations would also be far more zestfull
19:02:59 <Monty2> rape
19:03:08 <nsh> whatever floats your boat Monty2
19:03:10 <Monty2> Make me specialise in ticklish bells!
19:03:21 *** nsh changed the topic to: "<Monty2> Make me specialise in ticklish bells!"
19:03:29 <sbp> aw, you beat me to it
19:03:56 <nsh> meh, this format tool is teh bork
19:04:52 <nsh> oh man
19:04:59 <nsh> i hope this one-upmanship continues
19:05:05 <sbp> yeah
19:05:10 <nsh> TO EXTREMES OF ABSURDITY
19:05:38 <nsh> all conservative MPs to spent their sundays washing the feet of 10p income tax bracket
19:05:44 <sbp> "my MPs will have to go out on the street, pull their trousers down, and get a damn good spanking from any member of the public who has an oversized novelty glove on"
19:05:53 <nsh> ++++
19:06:26 *** libby has quit (Read error: 113 (No route to host))
19:08:21 *** nwalsh (n=ndw@12.35.79.2) has joined #swhack
19:13:08 *** nwalsh has quit (Client Quit)
19:15:38 <sbp> hmm, unemployment is at the highest levels in 30 years
19:15:45 <sbp> I don't really understand that
19:16:01 <sbp> because if that were so, there'd be more workers needed in the JobCentres than in any other period
19:16:10 <sbp> which would dramatically reduce unemployment
19:16:22 <sbp> putting the JobCentre workers out of work...
19:16:23 <Monty2> already exists using what?
19:16:28 <sbp> which would increase unemployment
19:16:35 <sbp> which would mean more workers are... hmm
19:19:29 *** Xanthor[aw] has quit (Read error: 110 (Connection timed out))
19:23:14 *** nwalsh (n=ndw@12.35.79.2) has joined #swhack
19:23:14 <Monty2> bah, it's nwalsh again
19:34:28 <[bjoern]> help find me futurama vid online that explains why humans dating robots is bad
19:34:44 <[bjoern]> it's in the nappster episode with lucy liu
19:35:49 *** chris2 (n=chris@dslb-094-216-085-184.pools.arcor-ip.net) has joined #swhack
19:39:35 <[bjoern]> in my search I've come across http://www.sluniverse.com/php/vb/avatars/gigs.gif?dateline=1235001114
19:42:45 *** nwalsh has quit ("</norm>")
20:05:23 <nsh> phenny, en fi "upset"?
20:05:24 <phenny> nsh: "huolissaan" (en to fi, translate.google.com)
20:13:29 *** ephemerian (n=ijd@82-71-51-229.dsl.in-addr.zen.co.uk) has joined #swhack
20:33:56 <[bjoern]> .g youtube french rap
20:33:57 <phenny> [bjoern]: http://www.youtube.com/watch?v=uZrhwNyaVv0
20:34:02 <[bjoern]> .title
20:34:03 <phenny> [bjoern]: YouTube - French Rap Francais
20:34:44 <[bjoern]> kinda like kitchen tv
20:50:20 *** nsh changed the topic to: "Swhack, home of Dr. Gene Ray - Cubic and Wisest Human"
20:58:34 *** Xanthor (n=Xanthor@ALyon-257-1-2-77.w90-9.abo.wanadoo.fr) has joined #swhack
21:05:23 *** cori[s] has quit ("ttfn")
21:06:07 *** MacTed has quit ()
21:12:08 *** Xanthor is now known as Xanthor[aw]
21:20:51 *** chris2_ (n=chris@dslb-094-216-210-003.pools.arcor-ip.net) has joined #swhack
21:20:52 <Monty2> welcome, chris2_
21:31:39 *** chris2 has quit (Read error: 60 (Operation timed out))
21:39:36 <[bjoern]> I'm given a tic tac toe implementation with the remark that it does not work correct in all cases, and am supposed to fix it.
21:39:44 *** shepazu (n=schepers@modemcable187.48-203-24.mc.videotron.ca) has joined #swhack
21:39:45 <[bjoern]> Of course there is no note of how it is broken.
21:39:56 <[bjoern]> It's possible to win against the computer, but that is not really a bug.
21:40:35 <[bjoern]> it also has an input validation issue, but that does not strike me as entirely abnormal in this case.
21:40:43 *** shepazu has quit (Client Quit)
21:43:43 *** nsh changed the topic to: "Swhack: a cross between Carl Sagan and acid."
22:00:04 *** Arnia (n=jgeldart@87-194-158-123.bethere.co.uk) has joined #swhack
22:00:43 *** jeffarch has quit (Read error: 54 (Connection reset by peer))
22:10:15 *** jeffarch (n=jeff@70-41-156-138.cust.wildblue.net) has joined #swhack
22:15:27 *** xjrn (n=jim@m320436d0.tmodns.net) has joined #swhack
22:17:48 *** nsh has quit ()
22:54:09 *** chris2_ has quit ("Leaving")
23:05:13 *** lmorchard is now known as lmorchard|away
23:11:01 *** lmorchard|away is now known as lmorchard
23:17:51 *** mzeltner has quit ()
23:19:42 *** xjrn has quit (Read error: 104 (Connection reset by peer))
23:25:48 <[bjoern]> phenny, tell sbp http://angelsanddemons.cern.ch/
23:25:49 <phenny> [bjoern]: I'll pass that on when sbp is around.
23:44:40 <[bjoern]> remind me in 3 minutes to !
23:44:40 <Monty2> [bjoern]: Okay, I'll remind you about that on Wed May 13 00:48:09 BST 2009
23:48:05 <Monty2> [bjoern]: You asked me to remind you to !