Swhack! 21 June 2009
13:41:19 loggy (n=loggy@65.23.155.167) has joined #swhack
13:41:19 <hubbard.freenode.net> Topic for #swhack is: <Monty> nslater yay, that he'll make money from 120 years old ladies walking through this
13:41:19 <hubbard.freenode.net> Users on #swhack: loggy ephemerian eel libby dahut Mike_L l7 procto maxkelley bancus Guest40355 edsu CaptSolo deltab mahound nslater xover thelsdj scarless lisppaste2 dmiles JibbyBot BigJibby radii sr MoiraA tobbez xxv tav lmorchard|away Xanthor[aw] tro clsn jsled authentic Monty Jibbler jeffarch Megatomte skwerl kpreid shepazu danja_ _ulises chris2 [bjoern] sbp nsh phenny Morbus Charl spb ivan realist
13:41:31 <sbp> nah, use ring-little-middle-index
13:41:34 <sbp> 3-3-2-1
13:41:42 <danja_> but mebee you got ehat I wanted - Am7
13:41:52 <sbp> yeah, that's the 002213
13:42:05 <danja_> oh, a pinky 7
13:42:13 <sbp> 7?
13:42:26 <sbp> oh, 7th, yeah
13:42:33 <danja_> G in an A chord?
13:42:46 <sbp> aye
13:43:10 <sbp> it anticipates moving back to G as a root in the GMaj
13:43:14 <[bjoern]> .gs * wants to copulate with me
13:43:14 <phenny> [bjoern]: wich she wrote, she, sooz, she)
13:43:29 <danja_> I usually use (bad barres or) 002010
13:43:43 <danja_> the 0 in the mid does the 7 bit
13:43:44 <sbp> yeah, but 002213 sounds better here
13:43:53 <sbp> you can also do both: 002013
13:44:07 <sbp> I tried all three and decided on the 002213
13:44:22 <danja_> oo, 002213 does sound very soulful
13:44:55 <danja_> There is..a house...
13:45:13 <sbp> heh
13:51:48 <danja_> love the js shell you get on slicehost
13:51:48 <[bjoern]> .gs * want to copulate with me
13:51:49 <phenny> [bjoern]: tormented because you don't (2), pazhaverkaadu will (2)
13:52:30 <danja_> .ety pazhaverkaadu
13:52:32 <phenny> Can't find the etymology for "pazhaverkaadu". Try http://etymonline.com/?search=pazhaverkaadu
13:53:00 <[bjoern]> .img pazhaverkaadu
13:53:00 <phenny> [bjoern]: http://farm4.static.flickr.com/3025/2933184829_223df70c0a.jpg
13:53:01 <phenny> More here: http://images.google.com/images?q=pazhaverkaadu
14:04:01 panni_ (i=hannes@ip-88-152-22-213.unitymediagroup.de) has joined #swhack
14:05:21 thelsdj has quit (No route to host)
14:07:19 Monty has quit (Read error: 104 (Connection reset by peer))
14:08:26 <danja_> this laptop is dual-core, running 64 bit linux - wtf does it slow to a halt because I'm scp'ing something?
14:09:17 <[bjoern]> `top` might give an initial clue
14:12:31 <nsh> smells like a bug
14:18:57 <nsh> so
14:18:59 <nsh> i had an idea
14:20:06 <[bjoern]> Yes, but how do you get the elephant out of the black hole?
14:20:15 <nsh> yeah, that's the stumbling point
14:32:35 *** lmorchard|away is now known as lmorchard
14:34:48 <danja_> ouch, wish I'd not thought to try "Not Fade Away" - Bo diddley beat makes fingers bleed
14:38:38 <[bjoern]> phenny, tell sbp So, odds a brit will win in germany next month?
14:38:38 <phenny> [bjoern]: I'll pass that on when sbp is around.
14:40:09 <[bjoern]> 0x146
14:40:18 <[bjoern]> .c 0x146 + 32768
14:40:18 <phenny> 0x146 + 32 768 = 0x8146
14:40:37 <[bjoern]> .c 0x14 times 16 in decimal
14:40:37 <phenny> 0x14 times 16 = 320
14:40:44 <[bjoern]> .c 0x14 times 16 in hex
14:40:44 <phenny> 0x14 times 16 = 0x140
14:41:40 <[bjoern]> .c 0x00008287 + 32768
14:41:40 <phenny> 0x00008287 + 32 768 = 0x10287
14:42:11 <[bjoern]> .c 0x00008287 + 32768 + 1 + 32768
14:42:12 <phenny> 0x00008287 + 32 768 + 1 + 32 768 = 0x18288
14:42:37 Arnia (n=arnia@82.132.139.21) has joined #swhack
14:44:34 Arnia has quit (Client Quit)
14:50:28 sysfault (i=exalted@p3m/member/sysfault) has joined #swhack
14:58:35 * [bjoern] tries to grasp http://upload.wikimedia.org/wikipedia/commons/0/01/Mp3filestructure.svg
14:59:25 chris2 has quit ("Leaving")
15:02:55 kpreid has quit ()
15:03:12 kpreid (n=kpreid@cpe-67-249-58-190.twcny.res.rr.com) has joined #swhack
15:07:06 crschmidt (i=crschmid@59.176.232.72.static.reverse.ltdomains.com) has joined #swhack
15:07:09 crschmidt has parted #swhack ()
15:31:56 <[bjoern]> .g "The why of Y"
15:31:56 <phenny> [bjoern]: http://www.dreamsongs.com/NewFiles/WhyOfY.pdf
15:43:00 <[bjoern]> .c 0xe0 in binary
15:43:01 <phenny> 0xe0 = 0b11100000
15:50:09 tobbez_ (i=tobbez@sagiri.wrya.net) has joined #swhack
15:51:08 tobbez has quit (Read error: 104 (Connection reset by peer))
15:51:08 *** tobbez_ is now known as tobbez
16:24:05 <kpreid> .u 221a
16:24:05 <phenny> U+221A SQUARE ROOT (√)
16:24:16 <[bjoern]> .c √2
16:24:16 <phenny> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128) (file "/var/www/inamidst.com/htdocs/phenny/tools.py", line 20, in new)
16:24:37 <[bjoern]> .g √2
16:24:37 <phenny> [bjoern]: http://www.w3.org/TR/CSS2/
16:24:44 <[bjoern]> .g 2
16:24:44 <phenny> [bjoern]: http://www.w3.org/TR/CSS2/
16:24:50 <[bjoern]> .g 1
16:24:50 <phenny> [bjoern]: http://en.wikipedia.org/wiki/January_1
16:24:56 <[bjoern]> .g 3
16:24:56 <phenny> [bjoern]: http://en.wikipedia.org/wiki/3_(number)
16:25:00 <[bjoern]> .g 4
16:25:00 <phenny> [bjoern]: http://www.4chan.org/
16:25:04 <[bjoern]> .g 5
16:25:05 <phenny> [bjoern]: http://en.wikipedia.org/wiki/5_(number)
16:25:08 <[bjoern]> .g 6
16:25:08 <phenny> [bjoern]: http://en.wikipedia.org/wiki/6_(number)
16:25:11 <[bjoern]> .g 7
16:25:12 <phenny> [bjoern]: http://en.wikipedia.org/wiki/7_(number)
16:25:14 <[bjoern]> .g 8
16:25:14 <phenny> [bjoern]: http://en.wikipedia.org/wiki/8_(number)
16:25:16 <[bjoern]> .g 9
16:25:17 <phenny> [bjoern]: http://www.apple.com/trailers/focus_features/9/
16:25:30 <[bjoern]> .title
16:25:31 <phenny> [bjoern]: Apple - Trailers - 9
16:25:56 <[bjoern]> .wik 9 film
16:25:57 <phenny> "9, created by Shane Acker, is a computer animated 2005 Academy Award-nominated short film, and will be adapted as a feature film distributed by Focus Features." - http://en.wikipedia.org/wiki/9_(film)
16:26:24 <[bjoern]> .wik 9 2009 film
16:26:25 <phenny> "9 is an upcoming animated action/fantasy film directed by Shane Acker and produced by filmmakers Tim Burton and Timur Bekmambetov, director of Wanted." - http://en.wikipedia.org/wiki/9_(2008_film)
16:26:36 <[bjoern]> neither has a dewik page...
16:46:45 <[bjoern]> .gc +alphaic
16:46:45 <phenny> +alphaic: 2,590
17:06:11 <[bjoern]> Monty: sprongle intricate phalliastiles.
17:06:26 <[bjoern]> Who shot the Monty?
17:06:42 <[bjoern]> Speak now or be accused of non-speaking!
17:10:43 Arnia (n=jgeldart@87-194-158-123.bethere.co.uk) has joined #swhack
17:22:34 <Charl> .u divergence
17:22:34 <phenny> Charl: Sorry, no results for 'divergence'.
17:22:41 <Charl> .u diverg
17:22:42 <phenny> Charl: Sorry, no results for 'diverg'.
17:22:51 <Charl> .u laplac
17:22:51 <phenny> Charl: Sorry, no results for 'laplac'.
17:22:52 <phenny> Charl: Sorry, no results for 'laplac'.
17:24:44 <clsn> .u nabla
17:24:44 <phenny> U+2207 NABLA (∇)
17:25:01 <clsn> That what you were looking for?
17:25:03 <Charl> I was just about to try that :) thanks
17:38:51 *** lmorchard is now known as lmorchard|away
17:40:53 jeffarch has quit (Read error: 104 (Connection reset by peer))
17:48:20 <[bjoern]> .c 43/65
17:48:21 <phenny> 43 / 65 = 0.661538462
17:51:26 jeffarch (n=jeff@70-41-156-138.cust.wildblue.net) has joined #swhack
17:52:04 ephemerian has quit ("Leaving.")
17:52:13 ephemerian (n=ijd@82-71-51-229.dsl.in-addr.zen.co.uk) has joined #swhack
17:58:21 hannes_ (n=hannes@sedanet0.sedan.Uni-Osnabrueck.DE) has joined #swhack
18:10:21 <[bjoern]> .wik M
18:10:21 <phenny> "M is the thirteenth letter of the modern Latin alphabet." - http://en.wikipedia.org/wiki/M
18:11:08 <sbp> [bjoern]: high if it's hot!
18:11:08 <phenny> sbp: 14:38Z <[bjoern]> tell sbp So, odds a brit will win in germany next month?
18:11:09 <phenny> sbp: 14:58Z <Morbus> tell sbp yeah, i think that dvdworld money is lost. they removed the shopping cart links now. heh.
18:11:26 <[bjoern]> We used to win on rain.
18:12:34 <[bjoern]> Help, pic on http://en.wikipedia.org/wiki/Perl6
18:13:33 * [bjoern] hates borken threading http://www.nntp.perl.org/group/perl.perl6.users/2009/03/msg1031.html
18:14:01 <[bjoern]> hmm http://www.rakudo.org/some-rakudo-logo-ideas
18:15:37 <[bjoern]> I like the palm tree
18:16:01 <[bjoern]> ~ http://www.nntp.perl.org/group/perl.perl6.language/2009/03/msg31312.html
18:17:13 <[bjoern]> ~ http://svn.pugscode.org/pugs/misc/camelia.txt
18:25:14 libby has quit (Read error: 113 (No route to host))
18:29:42 <sbp> Italy vs. Brazil, football
18:29:53 <sbp> [bjoern]: yeah, I added the pic on Perl6
18:30:36 <[bjoern]> Haven't they been pwnd enough this week?
18:30:38 <sbp> I'm glad you appreciate my little touches to Wikipedia... :-)
18:30:44 <sbp> Italy? or Brazil?
18:30:56 <[bjoern]> Italy.
18:31:10 <sbp> Brazil were nearly beaten by Egypt, weren't they?
18:31:47 <[bjoern]> .swhack egypt
18:31:47 <phenny> [bjoern]: http://swhack.com/logs/2009-02-15#T19-58-40
18:31:58 <[bjoern]> is all borken
18:32:46 <sbp> nearlies a goal
18:32:53 <sbp> hmm, offside anyway
18:33:13 <[bjoern]> nearly a near-miss
18:35:23 <sbp> they are kicking that techno-pig-bladder like awesomes
18:35:53 <[bjoern]> is this wc qual?
18:36:05 <sbp> nope, Confederations Cup
18:36:12 <sbp> ooh, another close one
18:36:35 <sbp> the Confederations Cup is where the winners of each confederation play one another
18:37:10 <sbp> we (England and Germany) don't hear about it much because we're never in it...
18:37:49 <[bjoern]> Egypt beat italy, Egypt nearly beat brazil
18:38:12 <[bjoern]> We were in like 2005 and came 3rd
18:38:21 <sbp> ah. I think I saw the Egypt-Italy game vaguely too...
18:38:30 <sbp> 3rd eh?
18:38:54 <[bjoern]> Yes you commented on egyptians beating the champs.
18:39:11 <sbp> oh yeah, I remember now
18:39:20 <sbp> I don't pay much attention to me
18:40:03 <[bjoern]> I recommend that.
18:40:25 <[bjoern]> We were in 2005 because we hosted the world cup
18:40:58 <sbp> ah
18:41:09 <sbp> did you see that North Korea qualified for the World Cup?
18:41:20 <sbp> oh yes, I think I showed you that, because of the mines punishment
18:41:24 <[bjoern]> won against australia, tunesia, draw argentinia, beaten by brazil, won against mexico
18:41:53 <[bjoern]> I distinctly fail to recall any of that.
18:41:56 <sbp> so by extension you would have been able to beat Italy too
18:42:03 <sbp> what, the North Korean thing?
18:42:06 <sbp> or the 2005 CC?
18:42:18 <[bjoern]> both.
18:42:29 <sbp> .title http://news.bbc.co.uk/sport1/hi/football/internationals/8106203.stm
18:42:31 <phenny> sbp: BBC SPORT | Football | Internationals | North Korea qualify for World Cup
18:42:47 <sbp> oh, hmm, this article doesn't mention the thing I found
18:42:54 <sbp> so apparently some guy defected from North Korea
18:43:10 <sbp> and he said when he was young he was listening to the North Korean team's successes in the World Cup of 1966
18:43:18 <sbp> which is, incidentally, the last time they qualified
18:43:22 <sbp> apparently they did quite well in 1966
18:43:33 <sbp> but the team were totally on the debauch, going off drinking and womanising
18:43:53 <sbp> and there's a rumour that when they got back to North Korea, the government punished them by sending them off to work down mines
18:44:00 <sbp> which is why North Korea didn't qualify again after that
18:44:07 <sbp> man, Brazil are having loads of shots here
18:45:41 <[bjoern]> Korea DPR ranks #106 currently
18:47:40 <[bjoern]> We are 3rd, you 6th; spain on top
18:47:44 <[bjoern]> by some margin
18:48:01 <sbp> 6th?!
18:48:08 <[bjoern]> http://en.wikipedia.org/wiki/FIFA_World_Rankings
18:48:11 <sbp> then again, we have one every single one of our qualifying matches so far
18:48:18 <sbp> and the FIFA World Rankings are notoriously barmy
18:48:30 <[bjoern]> NO SAY IT AINT SO
18:48:38 <sbp> heh, heh
18:49:05 <[bjoern]> apparently so far qualified are south africa, japan, australia, korea, netherlands, korea dpr
18:49:07 <sbp> if Monty were around, I could tell him to tell you it ain't so
18:49:35 <[bjoern]> You think you have that in you?
18:51:10 <sbp> the only thing I have in me is a fruit juice lolly
18:51:25 <[bjoern]> we have to play against finland and azerbaijan still
18:51:29 <sbp> fun!
18:51:40 <[bjoern]> you belarus and croatia
18:51:53 <[bjoern]> where i note that croatia ranks ... 8
18:51:55 <sbp> hmm, Croatia put us out of the Euroes I think
18:52:20 <[bjoern]> (the others not in top 25)
18:54:23 <[bjoern]> Iceland cannot qualify anymore
18:54:41 <[bjoern]> Malta not either, if you were counting on that.
18:55:25 <sbp> hehe
18:55:34 <sbp> England vs. Malta in the final would've been great
18:55:37 <sbp> 12-0!
18:57:53 <sbp> nearly an Italian goal
18:58:01 <sbp> good strike
18:58:08 <[bjoern]> Malta the only team with goals in favour = 0
18:58:17 <sbp> heh
18:58:23 <sbp> nil pwah
18:59:00 <sbp> okay here we go, new Top Gear!
18:59:08 <sbp> deltab! other people!
18:59:10 <sbp> Top Gear!
18:59:44 <[bjoern]> I take it if Norway loses to Scotland, they are out.
18:59:55 <sbp> I'd say anybody who loses to them should be out, yeah
19:00:15 <sbp> Top Gear has been off the air way too long
19:00:23 <sbp> they should broadcast all year round
19:00:23 <[bjoern]> they were 0:0 last time
19:00:45 <[bjoern]> Scotland only beat Iceland (twice)
19:01:06 <sbp> Clarkson gets a British Rail suntan
19:01:49 libby (n=libby@94-169-110-24.cable.ubr22.aztw.blueyonder.co.uk) has joined #swhack
19:02:07 <sbp> oh this looks good
19:02:19 <[bjoern]> Wayne Rooney shot the most goals in the uefa group (8)
19:02:33 <sbp> I thought it was in all groups
19:03:16 <[bjoern]> possible, but no wik page for it
19:03:22 <clsn> sbp: look like a good shirt for the math geek? http://web.meson.org/cache/alephshirt_white.png
19:03:30 <sbp> TOP GEAR
19:03:54 <sbp> I will be with you in 1hrorso
19:04:20 <sbp> (this might be the best television all year)
19:04:29 chris2 (n=chris@dslb-094-216-064-031.pools.arcor-ip.net) has joined #swhack
19:04:29 <[bjoern]> Not impressed by the shirt
19:04:35 * clsn is sad.
19:05:27 <[bjoern]> Well, I'm not a math geek in any way...
19:05:56 <clsn> Hmm, that can be fixed, with some effort.
19:08:12 <[bjoern]> Ah, you are a glass-half-an-ocean people.
19:08:51 <[bjoern]> .wik The Game of Their Lives (2002 film)
19:08:51 <phenny> "The Game of Their Lives is a 2002 documentary film directed by Daniel Gordon and his executive Nicholas Bonner about the seven surviving members of North Korean national football team who participated in the Football World Cup 1966." - http://en.wikipedia.org/wiki/The_Game_of_Their_Lives_(2002_film)
19:09:06 <clsn> Some people say the glass is half-full. Some say the glass is half-empty. Some say, "Hey, who's the hot chick drinking the glass of water?"
19:09:38 <[bjoern]> Identity-obsessed people.
19:09:42 <xover> .title http://www.tbray.org/ongoing/When/200x/2009/06/20/Erik-Naggum
19:09:43 <phenny> xover: ongoing · Erik Naggum, R.I.P.
19:09:53 <xover> .title http://harmful.cat-v.org/software/xml/s-exp_vs_XML
19:09:54 <phenny> xover: software - xml - s-exp vs XML | cat -v harmful stuff
19:10:26 <xover> «A comment on this statement is by now entirely superfluous.» (enag in the latter link)
19:11:01 *** xover changed the topic to: "Erik Naggum, R.I.P."
19:12:48 <clsn> Oyeah! I had an .o-like idea to bounce off nslater. And see if it makes sense. Hrm.
19:13:05 <[bjoern]> I want one to look up integer series
19:13:40 <clsn> That shouldn't be too tough.
19:14:13 <clsn> Me, I can't help thinking that a lot of them are a matter of "pass arguments to URL, parse result page, return some piece."
19:14:40 <[bjoern]> yes, that is it indeed
19:14:57 <clsn> I wonder if it might be possible to make something general-purpose to do that, like something that can be passed a Xpath containing what I want to pull out or some such, so we don't need special-purpose ones for each thing.
19:15:17 <clsn> Since at least some of the time it's just "grab this bit"
19:15:30 <[bjoern]> Problem would be line length restrictions
19:15:50 <[bjoern]> And at times memory consumption, unless you happen to have a streaming xpath on html tag soup thingy
19:16:50 <clsn> I mean a cgi program hosted someplace that gets told the url and the xpath, and does the job. Or even gets told where to find some XML or XSLT defining what to pass back.
19:17:17 <clsn> So you wouldn't have to write a new program every time, just, at most, some XML (which could also be placed on the phenny-ws wiki)
19:17:52 <[bjoern]> My main problem usually is representing a meaningful snippt ircfully.
19:18:08 <clsn> True, sometimes you have to be smarter.
19:18:18 <clsn> But I can't help thinking such a tool could be useful for some things.
19:18:26 <[bjoern]> Also, usually there's already some perl module doing the heavy lifting...
19:19:39 <clsn> Something to ponder. I'll see if maybe I can make one.
19:22:16 <clsn> wonder if there's an xpath interpreter for python already.
19:22:18 <[bjoern]> if i didnt have to worry about performance/memory/traffic i'd make a service that takes uri template, xslt, that maps to some xml format that then is ircified by phenny (like cutting off too long lines and such)
19:22:27 <[bjoern]> there is of course
19:22:31 <[bjoern]> lxml for example
19:22:59 <clsn> Apparently, yes.
19:22:59 <[bjoern]> with xpath 2.0 this would be more fun
19:23:32 <clsn> why do we have to worry about performance/memory/traffic? We can host as much as possible of this off of Google apps in phenny-ws
19:23:38 <clsn> Then it's their problem.
19:23:56 <[bjoern]> i was like totally unaware
19:24:12 <[bjoern]> does it have xslt?
19:24:24 Xanthor[aw] has quit (Read error: 110 (Connection timed out))
19:24:35 <clsn> Dunno...
19:25:09 <[bjoern]> lxml supposedly has xslt...
19:29:22 <[bjoern]> "I note in passing that the stereotypical American male longs for much larger than natural female breasts, presumably to maintain the proportion to his own size from his infancy, which has caused the stereotypical American female to feel a need for breasts that will give the next generation a demand for even more disproportionally large breasts"
19:32:33 <[bjoern]> "Look at the United States of America, with its depressingly moronic units instead of going metric, with its inability to write dates in either ascending or descending order of unit size, and with its insistence upon the 12-hour clock, clearly evidencing the importance of the short-term pain threshold and resistance to doing anyone else's bidding."
19:33:39 sysfault has quit (Read error: 54 (Connection reset by peer))
19:34:47 <[bjoern]> "In many ways, the current American presidency and XML have much in common."
19:35:50 <sbp> ha
19:36:24 <sbp> er, ahahaha even
19:36:33 <sbp> they just revealed The Stig
19:36:43 Xanthor[aw] (n=Xanthor@ALyon-257-1-119-40.w90-28.abo.wanadoo.fr) has joined #swhack
19:37:17 <[bjoern]> "When the overall growth of something is so rapid that an idiotic decision no longer causes any immediate losses, the number of such decisions will grow without bounds until the losses materialize, such as in an economic depression."
19:37:44 <sbp> told you. television moment of the year
19:38:28 <[bjoern]> So you don't expect the pope to have a wardrobe malfunction
19:45:31 <[bjoern]> "Biggest defeat Norway 11-0 USA (Oslo; 11 August 1948)"
19:48:26 <[bjoern]> they supposedly play egypt today
19:50:08 <[bjoern]> egype 0 1 usa currently
19:54:55 <[bjoern]> US Fed buying back hundreds of billions of US bonds from china (as in, they are selling...)
19:55:30 <[bjoern]> "The Court of Appeal has ruled that a criminal trial can take place at Crown Court without a jury for the first time in England and Wales."
19:55:52 <[bjoern]> Invest all your money in pitchforks.
19:57:22 <[bjoern]> "Parents of children at a primary school have been banned from taking pictures of their own children at the annual sports day."
19:57:54 <[bjoern]> Their response: "It is a shame but that is the way it is all going now, you are not allowed to do a lot of things because of rules and regulations."
19:57:55 cre8radix (n=Danny@i59F71052.versanet.de) has joined #swhack
19:57:59 <[bjoern]> yo cre8radix
19:58:19 <cre8radix> yo [bjoern]
19:59:50 *** sbp changed the topic to: "Swhack: What a Cockend"
20:00:00 <[bjoern]> "Staff at Goldman Sachs staff can look forward to the biggest bonus payouts in the firm's 140-year history after a spectacular first half of the year"
20:01:22 <[bjoern]> "Last week, the firm predicted that President Barack Obama's government could issue $3.25tn of debt before September, almost four times last year's sum. Goldman, a prime broker of US government bonds, is expected to make hundreds of millions of dollars in profits from selling and dealing in the bonds."
20:03:56 <[bjoern]> "It has been pointed out that Paulson's plan could potentially have some conflicts of interest, since Paulson was the former CEO of Goldman Sachs, a firm that may benefit largely from the plan."
20:05:06 <cre8radix> :D
20:06:12 <[bjoern]> They'll be breaking the 10% unemployment rate mark shortly http://www.bls.gov/news.release/laus.nr0.htm
20:06:21 <sbp> man, that was great
20:06:23 <sbp> see, told you
20:06:27 <sbp> TOLD YOU
20:06:31 <sbp> TOP GEAR. WHOOOO
20:06:34 <[bjoern]> Told me what!
20:06:43 * sbp looks at the maths shirt
20:07:33 <[bjoern]> http://mvanier.livejournal.com/2897.html is probably the first useful livejournal page I read.
20:08:06 <sbp> and huge
20:34:13 cre8radix has quit ()
20:38:50 <[bjoern]> remind me in 10 minutes to !
20:38:53 <[bjoern]> aww
20:38:59 <sbp> hehe. kk, I'll try
20:47:02 <[bjoern]> I saw to it myself.
20:47:14 <[bjoern]> BUT THX !!1
20:48:26 <bancus> [bjoern]: !
20:48:42 <[bjoern]> Thank you, bancus, most kind of you.
20:48:47 <bancus> YW
20:49:03 cre8radix (n=Danny@i59F71052.versanet.de) has joined #swhack
20:51:48 <[bjoern]> .wik memcached
20:51:48 <phenny> "memcached (pronunciation: mem-cash-dee.) is a general-purpose distributed memory caching system that was originally developed by Danga Interactive for LiveJournal, but is now used by many other sites." - http://en.wikipedia.org/wiki/Memcached
20:55:14 <sbp> May's going up in a U2, which is rather cool
20:59:56 <nslater> how goes it?
21:00:01 <nslater> annoying
21:00:39 <[bjoern]> .o twitter nslater
21:00:39 <phenny> <@nslater> Twitter is IRC without the good bits. (http://twitter.com/nslater/statuses/1070131144)
21:03:41 <nslater> clsn: ping
21:04:03 <clsn> nslater: y0.
21:04:18 <nslater> clsn: I wrote a python script that does exactly what you were describing
21:04:39 <nslater> clsn: pass a uri, and an xpath, and it returns the results
21:04:48 <clsn> Is it as cool as I hoped it would be, making obsolete or trivial a whole raft of oblique phenny services?
21:04:50 <nslater> clsn: about 20 lines with lxml :)
21:05:02 <clsn> huzzah for lxml!
21:05:18 <nslater> clsn: hmm, not really for two reasons: you have to construct xpath expressins each time, so you'd want a way to add shortcuts
21:05:25 <nslater> but more importantl, you cant use lxml on app engine
21:05:31 Megatomte has parted #swhack ()
21:05:39 <nslater> in fact, I've found no way to do xpath on app engine
21:06:09 <nslater> all of the libraries offering xpath evaluation rely on a c module or something unsafe that they wont allow
21:06:22 <clsn> Constructing the xpath each time is okay; it would have to be baked into the URL of the call.
21:06:33 <clsn> Not being able to use it on the app engine, otoh, sucketh the balls.
21:06:48 <clsn> Unless we roll our own somehow.
21:06:57 <clsn> (our own library, not our own balls)
21:08:33 <clsn> I imagine an interpreter for at least a subset of Xpath shouldn't be too impossible to write in Python. Just indescribably more of a pain in the ass than using a library some other poor loser has already written
21:10:07 <[bjoern]> Megatomte?
21:12:50 * clsn is reading http://mvanier.livejournal.com/2897.html at [bjoern]'s recommendation. Sez the page, "As Yoda says, you've just taken the first step into a larger world." NOO YU LUZER! BEN KENOBI SEZ DAT!
21:12:54 <[bjoern]> .g pure python xpath
21:12:54 <phenny> [bjoern]: http://mail.python.org/pipermail/python-announce-list/2009-February/007248.html
21:12:57 <[bjoern]> .title
21:12:58 <phenny> [bjoern]: ANN: py-dom-xpath - Pure Python XPath implementation
21:14:55 <[bjoern]> It was useful mainly because my assignment involved crafting a recursive lambda expression
21:16:03 <clsn> Yeah, but their Star Wars quotes are wrong, man...
21:16:25 <[bjoern]> I had not noticed star wars quotes. do they look like banners or nav bars?
21:17:16 <clsn> They're just words... but words quoted WRONG>
21:17:37 <clsn> (there's one word that for some reason kids *always* pronounce wrong.)
21:17:46 <clsn> (that word is “wrong,” of course)
21:17:54 <[bjoern]> We will not turn off the internet until this error has been rectified.
21:18:22 <[bjoern]> if you pronounced it right, then it would not be wrong.
21:18:33 <clsn> Yes... The internet must remain up so long as there is someone wrong on the internet.
21:22:55 <deltab> WRONG
21:23:21 <deltab> if the internet were not up, how someone be wrong on it?
21:23:58 <clsn> All the more reason.
21:25:00 <[bjoern]> Exactly, we must not turn it off to avoid this paradox.
22:10:40 <clsn> nslater: So I guess we should try with this py-dom-xpath. Lemme see.
22:19:18 <clsn> Course, we're dealing with HTML, which is usually wrong. hence BeautifulSoup and its forgiving parse.
22:20:28 <clsn> Which may not work with py-dom-xpath I think. Hrm. Hrm indeed.
22:20:50 <[bjoern]> .g beautifulsoup minidom
22:20:51 <phenny> [bjoern]: http://lethain.com/entry/2008/jun/09/deployment-scripts-with-beautifulsoup/
22:20:56 <[bjoern]> .title
22:20:57 <phenny> [bjoern]: Deployment Scripts With BeautifulSoup @ Irrational Exuberance
22:21:13 <[bjoern]> less win than last time i suspect
22:22:10 <clsn> maybe it will.
22:26:39 <[bjoern]> You could use html5lib apparently
22:26:39 <clsn> guess not...
22:27:04 <clsn> .g html5lib
22:27:05 <phenny> clsn: http://code.google.com/p/html5lib/
22:27:59 <clsn> BeautifulSoup has some find functions too...
22:28:39 <[bjoern]> there is always the serialize + reparse solution if you don't pay for the cycles...
22:29:12 <clsn> Yah... WOnder if there's a beautifulsoup -> minidom converter. html5lib might have that.
22:32:16 <clsn> hrm, still not working, at least the obvious bone-headed attempts.
22:32:37 * [bjoern] suspects namespace issues
22:32:48 <[bjoern]> Try "/*" ?
22:33:01 <[bjoern]> or //*[local-name() = "..."] or something
22:33:37 <[bjoern]> Then declare xhtml namespace and try /h:html or whatever
22:35:11 <clsn> No; BeautifulSoup's output isn't getting parsed by minidom.
22:36:02 <[bjoern]> Isn't that expected?
22:36:43 <clsn> That was the serialize+reparse solution.
22:37:10 <[bjoern]> ah
22:47:22 <clsn> I'm not trying very hard (rl stuff), but I'll poke at it.
22:48:55 <[bjoern]> I'm watching video too.
23:10:30 danja_ has quit (Read error: 110 (Connection timed out))
23:22:02 chris2 has quit ("Leaving")
23:22:45 <[bjoern]> .ety livestock
23:22:46 <phenny> Can't find the etymology for "livestock". Try http://etymonline.com/?search=livestock
23:24:13 libby has quit (Read error: 113 (No route to host))
23:30:09 <nsh> .title http://www.guardian.co.uk/world/2009/jun/22/presidents-emails-barack-obama
23:30:10 <phenny> nsh: All the president's emails as seen by Oliver Burkeman - Mon 22 June | World news | The Guardian
23:35:47 <[bjoern]> terribly written