00:34:44 *** thelsdj (n=adam@c-98-234-165-108.hsd1.ca.comcast.net) has joined #swhack
00:35:07 <thelsdj> I'm now torn to decide what my closest brush with celebrity is
00:35:51 <thelsdj> Was it the link I got to my first Radio blog post from Dave Winer back in '02?
00:36:28 <thelsdj> Now I think I may have surpassed that with having my nickname published in the acknowledgments of a mass market novel.
00:36:29 <[bjoern]> Twitter a coherent 140 character essay on how you almost became famous.
00:36:35 <[bjoern]> That will make you.
00:36:38 <thelsdj> yea i just did
00:36:41 <thelsdj> :P
00:37:47 <thelsdj> http://twitter.com/thelsdj/status/2110612799
00:42:10 <clsn> I show up a few times in the book at http://inthelandofinventedlanguages.com/ yay for me.
00:43:01 <[bjoern]> Google had between 2 and 4 million hits for my name for quite a while.
00:54:45 *** w00t69 (n=Danny@i59F74921.versanet.de) has joined #swhack
00:54:46 <Monty> hi w00t69
00:55:09 <jsled> w00t69: ¿¿ a/s/l ??
00:55:15 <jsled> what's your favorite sexual position, w00t69?
00:59:01 <[bjoern]> Oh I get it
01:02:44 <w00t69> lol
01:02:52 <w00t69> wuzzit hard?
01:02:52 <Monty> davisp, I'll definitely wrong window
01:03:13 <w00t69> wrong it now, monty!
01:03:16 <Monty> ninth clapping YaST slams oblong first mozzarella.
01:03:26 <w00t69> pretty good
01:03:31 <w00t69> n8 dudes
01:03:44 <w00t69> oh... jsled: doggy!
01:03:51 *** w00t69 has quit ("out like your style!")
01:05:00 *** cre8radix has quit (Read error: 110 (Connection timed out))
03:41:03 *** panni_ has quit ("( www.nnscript.de :: NoNameScript 3.81 :: www.XLhost.de )")
03:48:41 *** tav has quit ()
04:25:41 <[bjoern]> countdown
04:25:41 <Monty> One large one and five small numbers: 75, 5, 10, 9, 10, 5. Your target is 606. You have thirty seconds, tick, tock, tick, tock...
04:26:03 <[bjoern]> .c 9*(75-5)
04:26:03 <phenny> 9 * (75 - 5) = 630
04:26:11 <Monty> Duh dum, duh dum, duh-da-da-dum! Your 30 seconds are up!
04:26:12 <Monty> I found a solution in approximately 31 milliseconds. I found all 16 solutions in about 94 milliseconds.
04:26:14 <Monty> ibot (5*10 + 75)*5 - 9 - 10
04:26:15 <phenny> (((5 * 10) + 75) * 5) - 9 - 10 = 606
04:26:18 <[bjoern]> countdown
04:26:19 <Monty> One large one and five small numbers: 25, 8, 6, 3, 7, 9. Your target is 829. You have thirty seconds, tick, tock, tick, tock...
04:26:35 <[bjoern]> .c 3*8*(25+7)
04:26:36 <phenny> 3 * 8 * (25 + 7) = 768
04:26:48 <[bjoern]> .c 3*9*(25+7)
04:26:49 <Monty> Duh dum, duh dum, duh-da-da-dum! Your 30 seconds are up!
04:26:49 <phenny> 3 * 9 * (25 + 7) = 864
04:26:50 <Monty> I found a solution in approximately 16 milliseconds. I found all 12 solutions in about 63 milliseconds.
04:26:52 <Monty> ibot (25 + 6)*3*9 - 8
04:26:53 <phenny> ((25 + 6) * 3 * 9) - 8 = 829
04:27:00 <[bjoern]> Insufficiently speedy today Monty
04:27:05 <Monty> you plugged the weather like going through utils and they're doing less than git.
04:27:09 <[bjoern]> That too
04:27:11 <[bjoern]> countdown
04:27:11 <Monty> One large one and five small numbers: 50, 9, 8, 8, 6, 1. Your target is 642. You have thirty seconds, tick, tock, tick, tock...
04:27:27 <[bjoern]> .c 9*(50+8+6)
04:27:27 <phenny> 9 * (50 + 8 + 6) = 576
04:27:41 <Monty> Duh dum, duh dum, duh-da-da-dum! Your 30 seconds are up!
04:27:42 <Monty> I found a solution in approximately 16 milliseconds. I found all 24 solutions in about 78 milliseconds.
04:27:44 <Monty> ibot (8 + 1)*9*8 - 6
04:27:45 <phenny> ((8 + 1) * 9 * 8) - 6 = 642
04:27:52 <[bjoern]> stone
04:27:52 <Monty> I chose paper - I win! :o)
04:27:57 <[bjoern]> rock
04:27:57 <dahut> [bjoern] wins! (I had scissors.)
04:28:15 <[bjoern]> scissors
04:28:16 <dahut> nobody wins! (I had scissors.)
04:28:16 <Monty> I chose stone - I win! :o)
04:28:25 <[bjoern]> pape
04:28:27 <[bjoern]> pape
04:28:29 <[bjoern]> paper
04:28:29 <dahut> nobody wins! (I had paper.)
04:28:29 <Monty> I chose stone - You win :(
04:28:43 <[bjoern]> In your face Monty! (kinda anyway)
04:28:44 <Monty> sorry, #jokefail
04:29:12 <[bjoern]> .c 15KB/s times 24 hours
04:29:13 <phenny> (15 (KB / s)) times 24 hours = 1.23596191 gigabytes
04:41:36 *** scarless (n=cock@h75n3-um-a31.ias.bredband.telia.com) has joined #swhack
04:43:05 *** lmorchard is now known as lmorchard|away
04:43:14 <[bjoern]> phenny, tell sbp Headline Off; I start low: "Most Twitter users never tweet, don't follow anyone" - ars
04:43:14 <phenny> [bjoern]: I'll pass that on when sbp is around. I'll have to use a pastebin, though, so your message may get lost.
04:54:59 <[bjoern]> hmm http://www.google.com/trends?q=young,old
04:56:25 <[bjoern]> .gc +antirecessive
04:56:26 <phenny> +antirecessive: 180
04:58:05 <[bjoern]> wonder about the peak in http://www.google.com/trends?q=terrorism,recession,divorce
05:00:16 <[bjoern]> interesting http://www.google.com/trends?q=stargate,star%20trek
05:01:18 <[bjoern]> seems like a db error http://www.google.com/trends?q=mac+gyver
05:01:31 <nslater> [bjoern]: do you ever sleep?
05:01:41 <[bjoern]> no, why would I do that?
05:01:49 <nslater> dunno, out of bordom I guess
05:02:13 <nslater> stone
05:02:13 <Monty> I chose stone - Draw!
05:02:30 <nslater> how, when, why, does dahut not play with me
05:02:32 <[bjoern]> I am quite sure my dreams are no cure for boredom
05:02:41 <nslater> paper
05:02:41 <dahut> dahut wins! (I had scissors.)
05:02:41 <Monty> I chose scissors - I win! :o)
05:02:42 <[bjoern]> Because you said stone.
05:02:46 <nslater> paper
05:02:46 <dahut> I had paper, nobody wins.
05:02:46 <Monty> I chose stone - You win :(
05:02:54 <nslater> [bjoern]: not sure I follow
05:02:55 <nslater> paper
05:02:55 <dahut> I had rock, nslater wins.
05:02:55 <Monty> I chose scissors - I win! :o)
05:03:02 <[bjoern]> It's rock paper scissors.
05:03:12 <nslater> haha, yeah.. well, it is 06:02 here
05:03:25 <[bjoern]> You are an hour behind.
05:03:32 <nslater> rock
05:03:33 <dahut> nslater wins! (I had scissors.)
05:03:40 <nslater> Monty!?
05:03:43 <nslater> stone
05:03:43 <Monty> feeling some physical object you a professional ice hockey fan?
05:03:45 <Monty> I chose stone - Draw!
05:03:48 <nslater> weird...
05:03:56 <nslater> why does Monty use "stone"?
05:03:59 <Monty> ie, curl series that personally its possible to change
05:04:14 <nslater> .wik rock paper scissors
05:04:15 <phenny> "Rock-paper-scissors (also known as paper-scissors-rock, scissors-paper-stone, jan-ken-pon, rochambeau (sometimes spelled roshambo) and many derived terms[1]|), is a two-person hand game." - http://en.wikipedia.org/wiki/Rock_paper_scissors
05:04:19 <[bjoern]> .gcs "rock paper scissors" "stone paper scissors"
05:04:19 <phenny> "rock paper scissors" (285,000), "stone paper scissors" (1,360)
05:04:34 <nslater> .gcs "rock paper scissors" "stone paper scissors" "scissors paper stone"
05:04:35 <phenny> "rock paper scissors" (285,000), "scissors paper stone" (5,110), "stone paper scissors" (1,360)
05:04:42 <[bjoern]> .gcs "rock paper scissors" "scissors paper s... right
05:04:43 <phenny> s... (6,450,000,000), right (1,710,000,000), paper (579,000,000), "scissors (18,400,000), "rock paper scissors" (285,000)
05:04:47 <nslater> heh
05:04:51 <nslater> jan
05:04:55 <nslater> jen
05:04:58 <nslater> pon
05:05:06 <nslater> stupid bots
05:05:43 <[bjoern]> Try y/jawn porn ... not sure about the third.
05:05:57 <nslater> whut?
05:06:24 <[bjoern]> http://www.google.com/trends?q=love,porn
05:10:18 <[bjoern]> aah http://www.google.com/trends?q=music,porn
05:11:43 <[bjoern]> phenny, tell sbp http://www.google.com/trends?q=boat
05:11:44 <phenny> [bjoern]: I'll pass that on when sbp is around. I'll have to use a pastebin, though, so your message may get lost.
05:14:56 *** lmorchard|away is now known as lmorchard
05:16:33 <[bjoern]> http://www.google.com/trends?q=wiki%2Cblog%2Ciphone
05:17:38 <[bjoern]> http://www.google.com/trends?q=dating
05:18:02 <[bjoern]> Brought to us by Gstatistics.
05:32:25 <nslater> heh, DanC just came up on my facebook "You may know..."
05:32:36 *** lmorchard is now known as lmorchard|away
05:55:07 <nsh> mrrr
05:55:08 <nsh> Secure Connection Failed
05:55:09 <nsh>
05:55:09 <nsh>
05:55:09 <nsh>
05:55:09 <nsh>
05:55:10 <nsh>
05:55:12 <nsh>
05:55:14 <nsh>
05:55:16 <nsh>
05:55:18 <nsh> astrobiology.nasa.gov uses an invalid security certificate.
05:55:20 <nsh> The certificate is not trusted because the issuer certificate is unknown.
05:55:22 <nsh> (Error code: sec_error_unknown_issuer)
06:16:57 <nsh> <ChromeBrowser> Google Chrome 3.0.187.0 has been released to the Dev channel for Windows, Mac OS X, and Linux. http://bit.ly/OmnOe
06:19:28 <nsh> oh, still dev version
06:38:39 *** jeffarch has quit (Read error: 104 (Connection reset by peer))
06:54:44 *** jeffarch (n=jeff@70-41-156-138.cust.wildblue.net) has joined #swhack
07:09:22 *** jeffarch has quit (Read error: 104 (Connection reset by peer))
07:26:35 *** jeffarch (n=jeff@70-41-156-138.cust.wildblue.net) has joined #swhack
07:57:56 <xover> Wow, it's actually impressive how fast the JS in Safari 4 is compared to IE7.
07:58:23 <xover> I just tried using our invoice processing web app thingy in Safari 4.
07:58:40 <xover> I'd always imagined the slowness was due to network lag and poor implementation.
07:59:09 <xover> It's not exacty doing any heavy lifting, just simple field validation and such.
07:59:33 <xover> And last time I tried it in an older version of Safari I didn't really notice any huge difference.
07:59:48 <xover> But in Safari 4 the blasted thing actually feels snappy and responsive.
08:00:50 <xover> Dunno what they did (maybe it's prefetching and caching, and not JS performance per se), but keep pouring that secret sauce on there Safari team.
08:08:12 *** KiYanWang (n=KiYanWan@62.172.77.66) has joined #swhack
08:36:27 *** Talliesin (n=Talliesi@86.47.160.33) has joined #swhack
08:39:35 <nsh> sbp
08:39:37 <nsh> 7:00:43 pm HarryHayfield: #ukpolitics - For the first time ever, Parliament is voting on whether to dissolve itself. The motion has been tabled by the SNP and Plaid
08:39:37 <nsh> 7:02:20 pm HarryHayfield: #ukpolitics - At the present moment in time, Labour has a majority of 65 (meaning that 33 Labour MP's would have to mimic turkeys)
08:39:37 <nsh> 7:07:59 pm HarryHayfield: #ukpolitics - As this is a Nationalist inspired motion, the AYES to the right will be the number of MP's supporting the motion
08:39:37 <nsh> 7:17:23 pm HarryHayfield: #ukpolitics - The AYES to the right 258 The NOES to the left 340 so the NOES have it
08:43:14 <nsh> also sbp: http://www.pompeiana.org/Resources/Ancient/Graffiti%20from%20Pompeii.htm
08:44:17 <sbp> yo
08:44:18 <phenny> sbp: 10 Jun 21:38Z <[bjoern]> tell sbp http://entertainment.slashdot.org/article.pl?sid=09/06/10/1331258
08:44:21 <phenny> sbp: 10 Jun 23:06Z <Morbus> tell sbp that candystand.com seems to have a higher quality of games than kongregate - they seem to all "own", somehow, the ones theyve listed/
08:44:22 <phenny> sbp: 10 Jun 23:07Z <Morbus> tell sbp http://www.candystand.com/users/morbus
08:44:22 <Monty> gonna support R12 its the header lines
08:44:23 <phenny> sbp: 02:28Z <Morbus> tell sbp i have a saft crack if he's interested.
08:44:24 <phenny> [Sorry, some messages were elided and lost...]
08:47:59 *** libby (n=libby@ip-176-43.sn3.eutelia.it) has joined #swhack
09:07:41 *** KiYanWang_ (n=KiYanWan@62.172.77.66) has joined #swhack
09:20:53 *** mmmmmrob (n=mmmmmrob@62.172.77.66) has joined #swhack
09:24:56 *** KiYanWang has quit (Read error: 110 (Connection timed out))
09:29:56 *** Talliesin has quit (Read error: 113 (No route to host))
09:31:13 <nsh> .c 1744.28 USD in GBP
09:31:14 <phenny> 1 744.28 U.S. dollars = 1 063.97462 British pounds
09:33:14 <nsh> .c 179 USD in GBP
09:33:15 <phenny> 179 U.S. dollars = 109.186288 British pounds
09:33:39 <nsh> no margin on microsd cards it seems
09:45:52 <nsh> .c 14.5 USD in GBP
09:45:53 <phenny> 14.5 U.S. dollars = 8.84469928 British pounds
09:46:36 *** gromgull (n=ggrimnes@p5DD11519.dip0.t-ipconnect.de) has joined #swhack
09:46:50 <_ulises> almost back to 2x?
09:46:57 <_ulises> .c 1GBP in USD
09:46:58 <phenny> 1 British pound = 1.6394 U.S. dollars
09:46:59 <gromgull> sbp, are you here?
09:47:12 <_ulises> .c 1GBP in ARS
09:47:12 <Monty> oh, so WiX is pretty good ones that again, nslater?
09:47:13 <phenny> 1 British pound = 6.16167539 Argentine pesos
09:58:55 <sbp> gromgull: hi
09:59:09 <gromgull> hi
09:59:18 <gromgull> I was looking at updating the n3p parser you wrote aens ago
09:59:31 <gromgull> I take it you haven't touched it for a while?
09:59:39 <sbp> yeah, not since 2004 I think
09:59:40 <gromgull> i.e., since this: http://inamidst.com/n3p/
09:59:41 <gromgull> ?
09:59:43 <gromgull> right
09:59:44 <sbp> right
09:59:53 <gromgull> Hmm... n3 has changed a bit since then
10:00:04 <gromgull> I wonder if the right thing to do is to try and update n3p, or just go with cwm
10:00:10 <gromgull> this is for rdflib
10:00:17 <gromgull> you also had a finger in cwm I think?
10:00:28 *** KiYanWang_ has quit ()
10:00:32 <sbp> I made an N3 parser for Trio
10:00:48 <sbp> gromgull: http://inamidst.com/sw/trio/notation3.py
10:01:09 <sbp> it's from 2007
10:01:16 <sbp> it's a fork of the CWM notation3.py module
10:01:21 <sbp> so as to work independently of CWM
10:01:55 <gromgull> ah - and it supports running @prefix'es and @base I take it?
10:02:04 <gromgull> this might be worth looking into
10:02:28 <sbp> @base, yes. what are running @prefixes?
10:02:33 <gromgull> btw - what is Trio? should I know?
10:02:39 <sbp> an RDF API
10:02:41 <gromgull> you can apparently change the prefix as you go along
10:02:47 <sbp> oh, yeah, I think so
10:02:59 <sbp> best to check of course
10:03:03 <gromgull> http://www.dajobe.org/2004/01/turtle/tests/test-30.ttl
10:03:07 <gromgull> see that test-case
10:04:01 <gromgull> dbpedia uses it... not for changing existing prefix'es though, but they are no longer all on top
10:04:33 <sbp> you could download Trio and parse that file to test
10:04:58 <gromgull> will do
10:05:00 <gromgull> thanks
10:06:23 <gromgull> trio and rdflib seem to have a similar api
10:07:31 <gromgull> and it parses this file correctly - with base and prefix - nice!
10:08:19 <sbp> great!
10:10:26 *** ephemerian (n=ijd@nat/hp/x-21a560ba3d34e1f8) has joined #swhack
10:17:01 *** KiYanWang (n=KiYanWan@62.172.77.66) has joined #swhack
10:17:26 *** KiYanWang has quit (Remote closed the connection)
10:17:51 *** KiYanWang (n=KiYanWan@62.172.77.66) has joined #swhack
10:18:16 *** KiYanWang has quit (Remote closed the connection)
10:18:36 *** KiYanWang (n=KiYanWan@62.172.77.66) has joined #swhack
10:33:55 *** cre8radix (n=Danny@i59F7477A.versanet.de) has joined #swhack
10:33:56 <Monty> hey cre8radix
10:34:11 <cre8radix> heya monty
10:34:14 <Monty> Oh, he just did (maybe it's prefetching and paid.
10:39:03 <cre8radix> heya シ
10:40:36 *** KiYanWang has quit ()
10:42:37 *** libby has quit (Read error: 110 (Connection timed out))
10:58:12 *** Talliesin (n=Talliesi@86.47.160.33) has joined #swhack
11:05:42 <sbp> .u rightw arr
11:05:43 <phenny> U+2192 RIGHTWARDS ARROW (→)
11:17:29 *** chris2 (n=chris@dslb-188-098-192-166.pools.arcor-ip.net) has joined #swhack
11:38:52 *** KiYanWang (n=KiYanWan@62.172.77.66) has joined #swhack
11:39:47 <cre8radix> http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=58479254
11:59:43 *** ephemerian1 (n=ijd@nat/hp/x-acf9327d4d55443a) has joined #swhack
12:04:08 *** ephemerian has quit (Remote closed the connection)
12:08:33 *** MacTed has quit ()
12:12:09 *** chris2 has quit (Connection timed out)
12:13:04 *** chris2 (n=chris@dslb-188-098-192-166.pools.arcor-ip.net) has joined #swhack
12:19:11 *** cre8radix has quit ("out like your style!")
12:25:40 *** Talliesin has quit (Read error: 104 (Connection reset by peer))
12:33:50 *** melbel has quit ("Weeeeee.")
13:00:40 *** danja (n=danny@host42-61-dynamic.23-79-r.retail.telecomitalia.it) has joined #swhack
13:03:19 *** chris2 has quit ("Leaving")
13:05:53 <[bjoern]> noyu
13:08:01 *** danja_ (n=danny@host130-241-static.12-87-b.business.telecomitalia.it) has joined #swhack
13:10:59 *** lmorchard|away is now known as lmorchard
13:12:20 *** danja has quit (Read error: 60 (Operation timed out))
13:12:22 <[bjoern]> "The return to terrorism analysis made public by the Defense Department is based on classified information, to which he had no access." - http://www.lasvegassun.com/news/2009/jun/09/professor-claims-dod-inflates-gitmo-recidivism/
13:15:27 *** Arnia has quit (Read error: 60 (Operation timed out))
13:15:29 *** kpreid has quit ()
13:15:46 *** kpreid (n=kpreid@cpe-67-249-58-190.twcny.res.rr.com) has joined #swhack
13:25:29 *** danja_ has quit (Read error: 110 (Connection timed out))
13:30:06 *** MacTed (n=Thud@63.119.36.36) has joined #swhack
13:30:06 <Monty> hi MacTed, how ya doing?
13:36:06 <[bjoern]> .ety android
13:36:07 <phenny> "'automaton resembling a human being,' 1727, from Mod.L. androides, from Gk. andro- 'human' + eides 'form, shape.' Listed as 'rare' in OED (1879), popularized from c.1951 by science fiction writers." - http://etymonline.com/?term=android
13:47:47 <[bjoern]> .ety dungeon
13:47:47 <phenny> "c.1300, from O.Fr. donjon 'great tower of a castle,' from Gallo-Romance *dominionem, from L.L. dominium, from L. dominus 'master' (of the castle; see domain)." - http://etymonline.com/?term=dungeon
13:48:19 <[bjoern]> .gc terrorologist
13:48:20 <phenny> terrorologist: 597
13:49:57 <sbp> yo
13:50:56 *** sbp changed the topic to: "Swhack is based on classified information, to which we have no access"
13:51:51 <sbp> .gc terrorology
13:51:52 <phenny> terrorology: 314
13:52:03 <sbp> not quite 25,000
13:52:59 <[bjoern]> .gc getwitter
13:53:00 <phenny> getwitter: 24,700
13:53:17 <[bjoern]> [10 Jun 09 10:37] * [bjoern] * .gc getwitter
13:53:17 <sbp> also not quite
13:53:17 <[bjoern]> [10 Jun 09 10:37] * phenny * getwitter: 24,100
13:53:21 <[bjoern]> Can't be long now.
13:53:25 <sbp> ooh
13:54:23 <sbp> hehe
13:54:33 <sbp> they just brought up "PETE DOHERTY ARRESTED" on the news
13:54:42 <sbp> for like ten seconds, then switched to another story
13:54:43 <Monty> OHNOES THE FEDZ
13:54:52 <[bjoern]> So, another minister gone?
13:55:00 <sbp> exactly. it'd be more newsworthy if he hadn't been arrested
13:55:05 <sbp> heh, no, not a minister this time
13:55:33 <sbp> he's a singer, mostly known for getting arrested all the damn time
13:55:41 <sbp> also crapcakes, I just thought
13:55:50 <sbp> by mentioning getwitter we're helping it on its way
13:56:00 <[bjoern]> He had this thing with Kate Moss apparently
13:56:04 <sbp> even though we appreciate it for its faux-Germanic/Anglo-Saxonate qualities
13:56:18 <sbp> our ironic appreciation is helping those who appreciate it non-ironically
14:00:46 *** danja_ (n=danny@host214-60-dynamic.23-79-r.retail.telecomitalia.it) has joined #swhack
14:24:50 <sbp> .title http://skitch.com/
14:24:51 <phenny> sbp: Skitch.com + Skitch = fast and fun screen capture and image sharing.
14:52:28 *** tav (n=tav@78.147.2.250) has joined #swhack
14:57:45 *** nwalsh (n=ndw@96-32-124-29.static.oxfr.ma.charter.com) has joined #swhack
15:02:17 *** libby (n=libby@host-78-13-108-111.cust-adsl.tiscali.it) has joined #swhack
15:02:17 <Monty> howdy, libby
15:05:57 *** danja_ has quit (Read error: 110 (Connection timed out))
15:19:33 *** ephemerian (n=ijd@nat/hp/x-02d8f88397a771ad) has joined #swhack
15:23:36 *** ephemerian1 has quit (Remote closed the connection)
15:31:30 *** libby has quit (Read error: 110 (Connection timed out))
15:46:09 *** KiYanWang has quit ()
15:46:27 *** Arnia (n=jgeldart@0-16-cb-bd-57-e.it.wlan.dur.ac.uk) has joined #swhack
15:48:20 <kpreid> .gc umbrelligerence
15:48:20 <phenny> umbrelligerence: 0
15:59:37 *** ephemerian1 (n=ijd@nat/hp/x-9cc6d76cbaf7c341) has joined #swhack
16:03:02 *** ephemerian1 has quit (Client Quit)
16:03:57 *** ephemerian has quit (Remote closed the connection)
16:10:48 *** panni_ (i=hannes@ip-88-152-22-213.unitymediagroup.de) has joined #swhack
16:11:37 *** chris2 (n=chris@dslb-188-098-192-166.pools.arcor-ip.net) has joined #swhack
16:21:07 *** mmmmmrob has quit ("we're off to see the wizard...")
16:26:17 * [bjoern] wonders how to write g(10, g(4, g(1, ... g(3, x)) ... using a list for the first arguments in Haskell
16:32:42 *** danja_ (n=danny@host37-207-dynamic.9-79-r.retail.telecomitalia.it) has joined #swhack
16:32:42 <Monty> it's danja_!
16:32:43 <[bjoern]> foldr does, good
16:33:47 <[bjoern]> or foldl with a flip rather
16:39:06 *** chris2 has quit ("Leaving")
16:57:01 *** danja_ has quit (Read error: 110 (Connection timed out))
17:22:40 *** Arnia has quit (Read error: 110 (Connection timed out))
17:44:54 *** cre8radix (n=Danny@i59F70F23.versanet.de) has joined #swhack
17:45:31 <nslater> are there any IT contracters in here?
17:49:05 *** ephemerian (n=ijd@82-71-51-229.dsl.in-addr.zen.co.uk) has joined #swhack
17:51:02 *** Talliesin (n=Talliesi@86.47.160.33) has joined #swhack
17:53:53 *** askask (n=broffman@170.206.224.54) has joined #swhack
18:06:19 *** askask has parted #swhack ()
18:14:38 *** danja_ (n=danny@host195-60-dynamic.23-79-r.retail.telecomitalia.it) has joined #swhack
18:20:10 *** [bjoern] has quit (Read error: 54 (Connection reset by peer))
18:20:27 *** [bjoern] (n=bjoern@dslb-094-222-136-203.pools.arcor-ip.net) has joined #swhack
18:26:46 <[bjoern]> I'd like a haskell function that, given a list ala [1,2,3] generates the lists [1], [2], [3], [2,1], [2,2], [2,3], [3,1], ...
18:29:39 <sbp> we all would
18:30:07 <[bjoern]> Well go write one and publish it if you are so desperate.
18:30:34 <sbp> by the time I did that you'd have already solved it for me
18:30:45 <sbp> .g haskell permute
18:30:46 <phenny> sbp: http://www.mail-archive.com/haskell@haskell.org/msg19025.html
18:30:46 <sbp> .g haskell permutation
18:30:48 <phenny> sbp: http://www.mail-archive.com/haskell@haskell.org/msg19025.html
18:31:05 <sbp> hmm, that actually looks almost promising
18:32:04 <sbp> is your sequence meant to go on forever?
18:32:07 <sbp> or does it stop at [3, 3, 3]?
18:32:17 <[bjoern]> forever
18:32:37 <[bjoern]> after 333 you get 1111
18:33:03 *** Talliesin has quit (Read error: 104 (Connection reset by peer))
18:33:14 <sbp> so basically it's giving out numbers
18:33:21 <sbp> and [1, 2, 3] is the base places
18:33:33 <[bjoern]> the digits, aye
18:33:35 <sbp> I mean if you had [0, 1] input it would output the binary numbers
18:33:36 <sbp> etc.
18:33:39 <sbp> hmm
18:33:53 <cre8radix> lalala
18:34:35 <sbp> would a python version not do instead?
18:35:33 <sbp> <[bjoern]> I'd like a haskell function that, given a list ala [1,2,3] generates the lists [1], [2], [3], [2,1], [2,2], [2,3], [3,1], ...
18:35:36 <sbp> also, shouldn't it be:
18:35:48 <sbp> [1], [2], [3], [1, 1], [1, 2], [1, 3], [2, 1]...?
18:35:53 <[bjoern]> yes it should
18:35:54 <clsn> Oh, so you just want it to count in base len(array) using the array contents as digits.
18:35:59 <clsn> wait, should it?
18:36:08 <clsn> No. 1 is the zero digit in [1,2,3]
18:36:19 <sbp> oh, right
18:36:21 <clsn> After [3] comes [2 1]
18:36:55 <[bjoern]> If you are max max max ... you go max + 1 min min min ...
18:38:50 <[bjoern]> The algorithm is simple, say for three digits, you want to find the next: that's (a,b,c+1) if c < a, (a,b+1,0) if b < a and (a+1,0,0) if a < max
18:39:42 <sbp> Al Gore Rhythm? what are you trying to tell us?
18:40:42 <[bjoern]> You should have saved that one for when somebody typoed it sufficiently.
18:41:41 <sbp> once you see Al Gore in a word, it's hard to keep it to yourself
18:42:09 <[bjoern]> Are you seeing somebody about seeing Al Gore in words?
18:42:22 <sbp> only you
18:42:34 *** cre8radix has quit ()
18:42:35 <[bjoern]> Normally that does suffice.
18:43:11 <sbp> I suppose dervergewaltiger.de isn't funny like therapist.com?
18:43:56 <[bjoern]> sadly no
18:49:19 <sbp> disturbing:
18:49:19 <sbp> $ cat stream.py | sed 1d | file -
18:49:19 <sbp> /dev/stdin: ASCII Java program text
18:52:22 <[bjoern]> I guess the way to go is with recursion and a carry flag
18:52:51 <clsn> It's counting in base n; carry flag makes sense I guess.
18:53:09 <sbp> .gc "A MINON OF THE FINEST SORTE"
18:53:11 <phenny> "A MINON OF THE FINEST SORTE": 116
18:53:20 <sbp> .gc "EL NEV FSH HTLBMS 508"
18:53:22 <phenny> "EL NEV FSH HTLBMS 508": 25
18:53:38 <clsn> sbp: wtf?
18:53:59 <[bjoern]> It's rot13 for RY ARI SFU UGYOZF 508
18:54:08 <clsn> Ooooooh. That explains it.
18:54:29 <sbp> this was found on a slate at Jamestown
18:54:36 <sbp> probably dating back to the first two decades of the 17th century
18:54:38 <sbp> via Morbus
18:54:38 <[bjoern]> Interestingly sbp is rot13 for foc.
18:54:48 <sbp> .o rot13 bjoern
18:54:49 <phenny> sbp: Sorry, no such service. See http://code.google.com/p/phenny-ws/wiki/ServiceDefinitions
18:54:53 <clsn> Ah, gotcha
18:54:57 <[bjoern]> owbrea
18:55:11 <sbp> hmm, I see rot13 http://www.waterpoint.org:8080/kpreid/rot13?t=${args}
18:55:14 <sbp> .o refresh
18:55:16 <phenny> sbp: Okay, found 58 services.
18:55:17 <sbp> .o rot13 bjoern
18:55:17 <Monty> anyway, that's OK IMO
18:55:18 <phenny> sbp: Sorry, no such service. See http://code.google.com/p/phenny-ws/wiki/ServiceDefinitions
18:55:21 <sbp> FINE
18:55:38 <clsn> Sure you're spelling rot13 correctly? Maybe there's a silent letter or something.
18:55:42 <sbp> .py urllib.urlopen('http://www.waterpoint.org:8080/kpreid/rot13?t=bjoern').read()
18:55:46 <phenny> owbrea
18:55:52 <sbp> .o rot13 bjoern
18:55:53 <phenny> sbp: Sorry, no such service. See http://code.google.com/p/phenny-ws/wiki/ServiceDefinitions
18:55:56 <sbp> yep, fairly sure
18:56:05 <kpreid> sbp: this isn't my fault, right? :)
18:56:13 <sbp> kpreid: let's blame nslater
18:56:25 <clsn> I'm in favor of making it nslater's fault, yeah.
18:56:26 <[bjoern]> .o ebg13 sbp
18:56:26 <phenny> [bjoern]: Sorry, no such service. See http://code.google.com/p/phenny-ws/wiki/ServiceDefinitions
18:56:29 <kpreid> .o wa 1 + 1
18:56:30 <sbp> heh
18:56:33 <phenny> 1 1;1;one;*
18:56:39 <sbp> one!11!11
18:56:41 <kpreid> heh
18:56:43 <[bjoern]> .o wa rot13 Wolfram
18:56:44 <phenny> ROT13->Wolfram;Jbysenz
18:56:45 <kpreid> an appropriate caveat
18:57:13 <kpreid> oh I bet I know what happened there
18:57:35 <coax> can anyone recommend a good webhost
18:57:36 <kpreid> .u +
18:57:36 <phenny> U+002B PLUS SIGN (+)
18:57:44 <kpreid> .o wa 1 %2B 1
18:57:48 <phenny> 1+1;2;two;* *
18:57:59 <kpreid> sbp: see, you need to provide options for escaping!
18:58:17 <clsn> kpreid: Oh no. You cannot escape.
18:58:18 <nslater> sbp: you can do rot12 with phenny
18:58:34 <sbp> .py 'test'.encode('rot13')
18:58:38 <phenny> grfg
18:58:38 <nslater> .py "bjoern".encode("rot13")
18:58:38 <phenny> owbrea
18:58:47 <[bjoern]> .py "bjoern".encode("rot12")
18:58:48 <nslater> damn, you beat me to it :(
18:58:51 <phenny> LookupError: unknown encoding: rot12
18:58:56 <sbp> but .o is shorter
18:58:59 <kpreid> An encoding?! *sputter*
18:59:04 <nslater> your face is shorter
18:59:15 <kpreid> .py u"grfg".encode("rot13")
18:59:18 <phenny> test
18:59:20 <clsn> That's right, an encoding. And breaking it violates the DMCA. So watchit.
18:59:22 <kpreid> .py "grfg".decode("rot13")
18:59:23 <phenny> test
18:59:26 <kpreid> .py u"grfg".decode("rot13")
18:59:27 <phenny> test
18:59:32 <nslater> .py "æsthetic.com".encode("puny")
18:59:33 <phenny> LookupError: unknown encoding: puny
18:59:36 <nslater> .py "æsthetic.com".encode("punycode")
18:59:37 <phenny> sthetic.com-bna09a
18:59:43 <nslater> hurrar for python
18:59:56 <clsn> .py "3φ.com".encode("punycode")
18:59:56 <kpreid> .py u"• grfg".encode("rot13")
18:59:57 <nslater> 'cept I shouldn't have included the TLD
18:59:59 <phenny> • test
19:00:00 <phenny> 3.com-cba42c
19:00:08 <kpreid> .py type(u"• grfg".encode("rot13"))
19:00:09 <phenny> <type 'str'>
19:00:09 <nslater> .py "æsthetic".encode("punycode") + ".com"
19:00:09 <phenny> sthetic-yia4x.com
19:00:11 <clsn> Yeah, now you have me doing it.
19:00:19 <kpreid> .py len(u"• grfg".encode("rot13"))
19:00:20 <phenny> 8
19:00:24 <clsn> is .py a security risk?
19:00:29 <kpreid> ah, so it's really rot13-and-then-utf8
19:00:35 <nslater> to google maybe! lololololololololol
19:00:52 <sbp> deltab: twittering of an altogether better sort
19:01:16 <deltab> heh
19:02:09 *** coax has quit ("( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )")
19:02:14 <deltab> followed by Kröd Mändoon and the Flaming Sword of Fire
19:04:53 <sbp> hahaha, there are five again
19:05:45 <sbp> trying to debug this. doesn't seem to be picking up the item at all
19:08:31 <sbp> kpreid: ah!
19:08:31 <sbp> if not command.isalpha(): continue
19:08:39 <sbp> it was never included. did you ever test it?
19:09:03 <deltab> [bjoern]: http://www.google.com/trends?q=macgyver
19:11:39 <sbp> clsn: it uses Google Appspot, so the problem is just outsourced to Google
19:12:04 <clsn> Oh cool. So it's Google's problem.
19:12:17 <clsn> so .py isn't handled locally.
19:12:31 <[bjoern]> deltab: Yeah I checked that earlier today, also compared with Jean-Luc
19:12:42 <sbp> .py os.getcwd()
19:12:45 <phenny> /base/data/home/apps/phenny-ws/1.334011561837305029
19:12:51 <sbp> .py os.getcwd()
19:12:52 <phenny> /base/data/home/apps/phenny-ws/1.334011561837305029
19:12:59 <clsn> Neet.
19:13:32 <kpreid> sbp: no idea. I would think I did
19:13:33 <deltab> [bjoern]: without the space you added
19:13:46 <[bjoern]> Oh I did?
19:13:54 <sbp> .swhack rot13
19:13:56 <phenny> sbp: http://swhack.com/logs/2009-02-12#T19-48-49
19:14:13 <sbp> strange. must have added the constraint later. sorry!
19:14:30 <kpreid> probly after some jerk/wiseguy added some gunk by way of comments
19:14:31 <[bjoern]> So I did
19:15:08 * sbp changes it to:
19:15:08 <sbp> if all(c.isalpha() or c.isdigit() for c in command): continue
19:15:24 <deltab> command.isalnum()
19:15:47 <clsn> What sucks is there isn't a .isalnumorunderscore() method.
19:15:48 <sbp> oh, thanks
19:16:41 <sbp> (needed to invert it anyway)
19:17:20 *** phenny has quit (Remote closed the connection)
19:17:26 *** phenny (i=sbp@59.176.232.72.static.reverse.ltdomains.com) has joined #swhack
19:20:14 <[bjoern]> So first attempt with digits 0..3 hardcoded (and not the calling function which would do length expansion on carry); it's ugly
19:20:15 <[bjoern]> nextCarry :: [Int] -> (Int, [Int])
19:20:15 <[bjoern]> nextCarry [] = (1, [])
19:20:15 <[bjoern]> nextCarry (x:xs) =
19:20:15 <[bjoern]> if v >= 4 then (1, (0:n)) else (0, (v:n))
19:20:15 <[bjoern]> where s = nextCarry xs
19:20:17 <[bjoern]> c = fst s
19:20:19 <[bjoern]> n = snd s
19:20:21 <[bjoern]> v = x + c
19:21:31 <[bjoern]> Probably should return a list with the first element being the carry, that would be slightly less ugly perhaps; or not.
19:23:32 <sbp> “I love the smell of tawny owls”
19:29:05 <[bjoern]> So
19:29:06 <[bjoern]> nextCarry2 :: [Int] -> [Int]
19:29:06 <[bjoern]> nextCarry2 [] = [1]
19:29:06 <[bjoern]> nextCarry2 (x:xs) =
19:29:06 <[bjoern]> if v >= 4 then 1:(0:sx) else 0:(v:sx)
19:29:06 <[bjoern]> where (s:sx) = nextCarry2 xs
19:29:07 <[bjoern]> v = x + s
19:29:13 <[bjoern]> Less ugly, still some way to go
19:30:03 <[bjoern]> Must be a way to make this a fold..
19:31:15 <clsn> [bjoern]: If I wrote on in Python, would it help? I don't do Haskell.
19:31:26 <clsn> s/on in/one in/
19:31:31 <[bjoern]> lisppaste2: for inspiration!
19:38:02 <sbp> “we get pecked and pooed on quite a lot”
19:43:47 <clsn> [bjoern]: I wrote a function that takes a list that's supposed to be the current number (e.g. [4]) and a list of the digits we're using (e.g. [4,5,6]), and increments it by one.
19:43:51 <clsn> Is this a Good Thing for you?
19:44:16 <[bjoern]> sounds about right
19:44:18 <sbp> I wrote an incrementer in bash
19:44:27 <sbp> for alphanum
19:44:43 <clsn> OK. It's pretty simple, not even recursive.
19:44:46 <clsn> lisppaste2: url?
19:44:46 <lisppaste2> To use the lisppaste bot, visit http://paste.lisp.org/new/swhack and enter your paste.
19:45:10 <sbp> --
19:45:10 <sbp> alpha=abcdefghijklmnopqrstuvwxyz
19:45:11 <sbp> function next() {
19:45:11 <sbp> case $1 in
19:45:11 <sbp> *[a-y]) a=${1:${#1}-1}; b=${alpha#*$a}; echo ${1%[a-y]}${b:0:1};;
19:45:11 <sbp> *z) echo $(next ${1%z})a;;
19:45:13 <sbp> '') echo a;;
19:45:17 <sbp> esac
19:45:19 <sbp> }
19:45:21 <sbp> --
19:45:23 <sbp> mine's recursive like a fox
19:45:31 <lisppaste2> clsn pasted "Incrementer" at http://paste.lisp.org/display/81713
19:45:58 <[bjoern]> Yes, think APL's quad-AV...
19:46:01 <clsn> Yeah, there are coolio ways to do it recursively; I didn't, so there.
19:46:10 <clsn> Just explaining the variable name.
19:47:26 <clsn> sbp: that be usin' some bash shit I didn't know about.
19:47:28 <sbp> selfexplanatoryvariablename = '???'
19:47:35 <sbp> yeah, <3
19:47:43 <clsn> You're lucky you get ANY comments at all, OK?
19:47:48 <sbp> heh, heh
19:49:25 <sbp> “I'm going to moderate the gesticulation”
19:50:31 <[bjoern]> Now at foldr nextCarry3 [1] [2,0] with
19:50:33 <[bjoern]> nextCarry3 :: Int -> [Int] -> [Int]
19:50:33 <[bjoern]> nextCarry3 x (s:sx) =
19:50:33 <[bjoern]> if v > 3 then 1:(0:sx) else 0:(v:sx)
19:50:33 <[bjoern]> where v = x + s
19:51:15 <[bjoern]> (the [1] is the initial carry, [2,0] the current number)
20:10:26 <[bjoern]> .wik Emiliana Torrini
20:10:26 <phenny> "Emilíana Torrini (born May 16, 1977) is an Icelandic singer, best known for her 1999 album Love in the Time of Science and for performing 'Gollum's Song', during the ending credits of Peter Jackson's film The Lord of the Rings: The Two Towers." - http://en.wikipedia.org/wiki/Emiliana_Torrini
20:11:20 *** danja__ (n=danny@host27-202-dynamic.33-79-r.retail.telecomitalia.it) has joined #swhack
20:11:36 <clsn> There was a Gollum's Song? Ooookay.
20:12:12 <[bjoern]> You perhaps meant to ask "there were ending credits?"
20:13:11 <clsn> No, I probably watched the credits, or some of them.
20:13:17 <clsn> I guess I'll check the DVD.
20:13:25 <[bjoern]> "The song was to have been performed by Björk, whose name actually appeared in the closing credits of the film as shown in theaters; Björk had to decline because of her pregnancy, however, and Torrini was credited in the DVD."
20:13:49 <[bjoern]> "This track is also titled "Long Ways To Go Yet", in The Complete Recordings. This version of the track includes additional instrumental music at the end, making it a medley of themes to cap off the album. Artist Geoff Keezer has released a jazz piano version of the song. "
20:13:57 <clsn> Neet.
20:20:28 *** danja_ has quit (Read error: 110 (Connection timed out))
20:46:09 *** danja__ has quit (Read error: 110 (Connection timed out))
20:46:20 *** danja__ (n=danny@host27-202-dynamic.33-79-r.retail.telecomitalia.it) has joined #swhack
20:49:59 <[bjoern]> *Main> let xxx = [0,0,0,0] : [0,0,0,1] : [ tail (foldr nextCarry3 [1] x) | x <- tail xxx ]
20:49:59 <[bjoern]> *Main> take 16 xxx
20:49:59 <[bjoern]> [[0,0,0,0],[0,0,0,1],[0,0,0,2],[0,0,0,3],[0,0,1,0],[0,0,1,1],[0,0,1,2],[0,0,1,3]
20:49:59 <[bjoern]> ,[0,0,2,0],[0,0,2,1],[0,0,2,2],[0,0,2,3],[0,0,3,0],[0,0,3,1],[0,0,3,2],[0,0,3,3]]
20:50:37 <[bjoern]> Still need the wrapper function that increases length if carry on highest digit
20:50:49 <[bjoern]> (hence the first tail)
20:55:33 *** MacTed has quit ()
21:11:41 *** danja_ (n=danny@host27-202-dynamic.33-79-r.retail.telecomitalia.it) has joined #swhack
21:31:08 *** danja__ has quit (Read error: 110 (Connection timed out))
22:11:15 *** libby_ (n=libby@92.40.104.38.sub.mbb.three.co.uk) has joined #swhack
22:16:23 *** MacTed (n=Thud@66.30.249.84) has joined #swhack
22:19:02 *** gromgull has quit ("Leaving.")
22:48:28 *** libby_ has quit (Read error: 110 (Connection timed out))
22:55:36 *** danja_ has quit (Read error: 110 (Connection timed out))
22:59:09 *** nwalsh has quit (Read error: 110 (Connection timed out))
23:10:59 *** dmiles_afk (n=dmiles@c-71-197-210-170.hsd1.wa.comcast.net) has joined #swhack
23:12:41 *** libby_ (n=libby@host-84-201-162-58.xdsl.lixxus.net) has joined #swhack
23:12:41 <Monty> Thank goodness, libby_ is back!
23:14:50 *** MacTed has quit (Read error: 110 (Connection timed out))
23:24:41 <deltab> [bjoern]: you might find it easier to keep the digits in reverse, with the fastest-varying one at the head of the list
23:25:42 <[bjoern]> Yeah, I did it the other way round because last I did this I had a fixed width number and an infinite set of digits...
23:26:00 <deltab> infinite set of digits?
23:26:20 <[bjoern]> And there you have to know the most significant digit to decide how to increment the others
23:26:38 <[bjoern]> Yeah ala
23:26:39 <[bjoern]> (0,0,0) (1,0,0) (1,0,1) (1,1,0) (1,1,1) (2,0,0)
23:26:39 <[bjoern]> (2,0,1) (2,0,2) (2,1,0) (2,1,1) (2,1,2) (2,2,0)
23:26:39 <[bjoern]> (2,2,1) (2,2,2) (3,0,0) (3,0,1) (3,0,2) (3,0,3)
23:26:40 <[bjoern]> (3,1,0) (3,1,1) (3,1,2) (3,1,3) (3,2,0) (3,2,1)
23:26:48 <[bjoern]> ...using the natural numbers as digits
23:27:42 <[bjoern]> (this was to make a bijection from integer triples to integers)
23:29:00 <deltab> oh, first element is the base?
23:29:25 <deltab> (minus 1)
23:29:28 <[bjoern]> so to speak, yes
23:42:08 *** libby_ has quit (Read error: 110 (Connection timed out))
23:46:47 *** lisppaste2 has quit (Client Quit)
23:46:56 *** lisppaste2 (n=lisppast@common-lisp.net) has joined #swhack
23:49:31 *** cre8radix (n=Danny@i59F70F23.versanet.de) has joined #swhack