←2007-12-13 2007-12-14 2007-12-15→ ↑2007 ↑all
00:09:51 -!- faxathisia has joined.
00:25:43 <dbc> oklopol...your last paste, which is just of the song part, won't work when incorporated into the previous paste. Traceback (most recent call last):
00:25:43 <dbc> File "p526564465.txt", line 61, in <module>
00:25:43 <dbc> song=song_parse("#0.33")
00:25:43 <dbc> File "p526564465.txt", line 55, in song_parse
00:25:43 <dbc> while raw[j]=="." or raw[j].isdigit():
00:25:45 <dbc> IndexError: string index out of range
00:29:19 -!- sebbu has quit ("@+").
01:06:46 <GregorR> oerjan: I'm told this will make your head explode:
01:06:49 <GregorR> <GregorR> Actually, now that it's lazy, it's far more like an extremely impure functional language than it is like an imperative language.
01:06:49 <GregorR> <GregorR> Like Haskell if you were always in a monad.
01:07:06 <pikhq> :)
01:07:26 <GregorR> Oh, I'm sorry, /implode/.
01:09:49 <oerjan> in Haskell, being always in the IO monad destroys laziness
01:10:03 <oerjan> since it is explicitly sequenced
01:10:45 <GregorR> Pretty much. With the exception that arguments to a function will still be resolved lazily, I believe. Yes?
01:11:57 <oerjan> well but then those arguments remain outside the monad, sort of
01:12:25 * pikhq casts "implode head" on oerjan (as an unregulated action)
01:14:00 <oerjan> now to make haskell extremely impure you can toss in unsafeInterleaveIO (in the monad) or unsafePerformIO (even less pure, outside the monad)
01:15:29 <GregorR> I can't even begin to guess what either of those do.
01:16:01 <oerjan> unsafePerformIO completely bypasses the IO encapsulation
01:17:12 -!- Tritonio_ has quit (Read error: 110 (Connection timed out)).
01:17:26 <oerjan> it turns an IO action into a pure one. unless you know what you are doing, expect compiler optimizations to mess it up horribly
01:17:40 <GregorR> Heh
01:17:53 -!- Tritonio_ has joined.
01:18:02 <GregorR> That is to say, it doesn't actually turn the IO action into a pure one, it just convinces the compiler that it has :P
01:18:02 <oerjan> unsafeInterleaveIO is slightly more well-behaved, if you know what you are doing
01:18:19 <oerjan> heh, i suppose so
01:20:46 <oerjan> it turns an action that immediately runs to produce its result, into a delayed action that is only performed when the result is demanded. this is somewhat safer because it still guarantees the value only triggers the action at most once
01:22:02 <GregorR> That could be useful to see if the code is in fact evaluating something that you think it ought to be evaluating, no?
01:23:16 <oerjan> unsafePerformIO is safe enough for that. i think the trace function uses it.
01:23:34 <oerjan> however, unsafeInterleaveIO is used to implement lazy file reading
01:23:52 <GregorR> Ohhhhhhhhhh.
01:24:19 <oerjan> getContents and friends.
01:58:31 <RodgerTheGreat> 'night, guys
01:58:43 -!- RodgerTheGreat has quit.
03:00:40 -!- ReachingFarr has joined.
03:01:51 -!- ReachingFarr has left (?).
04:18:47 -!- cherez has joined.
04:57:39 <bsmntbombdood> http://www.nextlevelhardware.com/storage/battleship/
04:57:46 <bsmntbombdood> 800 mb/s sustained reads!!!
05:00:06 <pikhq> Cherez, though shalt Plof it up.
05:04:09 <bsmntbombdood> i bet you could raid 0 ram
05:04:46 -!- immibis has joined.
05:33:16 -!- xristos has joined.
05:57:11 -!- oerjan has quit ("bus to catch").
06:17:40 -!- immibis_ has joined.
06:18:52 <GregorR> bsmntbombdood: Hahah, that would be awesome X-D
06:19:16 <GregorR> bsmntbombdood: To suspend, you just cut the power :P
06:32:30 <bsmntbombdood> who wants read speeds of 50 gb/s?
06:33:00 -!- immibis has quit (Read error: 110 (Connection timed out)).
06:33:26 <bsmntbombdood> the proccessor on the raid card would be bigger than the main proc :D
06:41:33 <bsmntbombdood> the card they used costs $850 and only could get 800mb/s
07:25:48 -!- immibis_ has quit (Read error: 110 (Connection timed out)).
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
08:03:03 -!- Sgeo has quit (Remote closed the connection).
08:45:48 <piksi> oklopol: oh, sorry for wrong chan, and thanks anyway ;->
08:46:25 -!- piksi has left (?).
09:36:21 <oklopol> dbc: oh, right, it won't work, there was a bug in the parser, which i guess i fixed without giving the new source
09:36:47 <dbc> Yeah.
09:50:56 <oklopol> i guess i'll give the new parser, then, since otherwise my paste has been a waste of bytes
09:53:06 <oklopol> http://www.vjn.fi/pb/p122625451.txt
09:53:47 <oklopol> i don't like the new piece, my head started hurting a bit, so i just quickly randomized the end
11:20:33 -!- Tritonio_ has quit (Remote closed the connection).
11:43:20 -!- Maxdamantus has joined.
12:32:50 -!- faxathisia has quit (calvino.freenode.net irc.freenode.net).
12:32:53 -!- Maxdamantus has quit (calvino.freenode.net irc.freenode.net).
12:32:53 -!- xristos has quit (calvino.freenode.net irc.freenode.net).
12:32:55 -!- EgoBot has quit (calvino.freenode.net irc.freenode.net).
12:32:57 -!- cherez has quit (calvino.freenode.net irc.freenode.net).
12:32:58 -!- oklopol has quit (calvino.freenode.net irc.freenode.net).
12:32:58 -!- Slereah has quit (calvino.freenode.net irc.freenode.net).
12:32:58 -!- bsmntbombdood has quit (calvino.freenode.net irc.freenode.net).
12:32:58 -!- GregorR has quit (calvino.freenode.net irc.freenode.net).
12:32:58 -!- cmeme has quit (calvino.freenode.net irc.freenode.net).
12:32:59 -!- lifthrasiir has quit (calvino.freenode.net irc.freenode.net).
12:32:59 -!- johnl has quit (calvino.freenode.net irc.freenode.net).
12:33:00 -!- Overand has quit (calvino.freenode.net irc.freenode.net).
12:33:23 -!- tejeez has quit (calvino.freenode.net irc.freenode.net).
12:33:24 -!- sekhmet has quit (calvino.freenode.net irc.freenode.net).
12:33:25 -!- Possum has quit (calvino.freenode.net irc.freenode.net).
12:33:31 -!- faxathisia has joined.
12:33:57 -!- Maxdamantus has joined.
12:33:57 -!- xristos has joined.
12:34:22 -!- cherez has joined.
12:34:22 -!- oklopol has joined.
12:34:22 -!- Slereah has joined.
12:34:22 -!- bsmntbombdood has joined.
12:34:22 -!- GregorR has joined.
12:34:22 -!- cmeme has joined.
12:34:22 -!- Overand has joined.
12:34:22 -!- johnl has joined.
12:34:22 -!- lifthrasiir has joined.
12:34:43 -!- tejeez has joined.
12:34:43 -!- sekhmet has joined.
12:34:43 -!- Possum has joined.
12:34:54 -!- EgoBot has joined.
13:15:18 -!- ais523 has joined.
13:18:53 -!- faxathisia has quit ("Leaving").
14:04:49 -!- ais523 has quit (Remote closed the connection).
15:04:04 -!- faxathisia has joined.
15:04:14 -!- jix has joined.
15:29:33 -!- ais523 has joined.
15:36:37 -!- ehird` has joined.
15:37:06 -!- jix has quit (Remote closed the connection).
15:37:31 -!- jix has joined.
15:37:57 -!- ehird` has quit (Read error: 113 (No route to host)).
15:38:53 -!- ehird` has joined.
15:41:49 -!- ehird` has quit (Read error: 104 (Connection reset by peer)).
15:42:39 -!- ehird` has joined.
15:45:32 -!- ehird` has quit (Read error: 104 (Connection reset by peer)).
15:48:14 -!- ehird` has joined.
16:04:16 -!- ihope_ has joined.
16:19:57 -!- sebbu has joined.
16:34:55 -!- ais523 has quit ("""").
16:47:18 -!- Sgeo has joined.
16:58:35 -!- jix has quit ("CommandQ").
16:59:57 -!- RodgerTheGreat has joined.
17:38:07 -!- Sgeo has quit (Read error: 104 (Connection reset by peer)).
19:08:46 -!- Tritonio_ has joined.
19:36:43 -!- Tritonio_ has quit (Read error: 104 (Connection reset by peer)).
19:59:28 -!- Tritonio_ has joined.
20:16:40 <Slereah> Hm. Why doesn't bande[t]=sys.stdin.read() work on them snake?
20:16:57 <Slereah> Or bande[t]=sys.stdin.read(1)
20:20:21 -!- Sgeo has joined.
20:25:05 <bsmntbombdood> damn this album is good
20:25:07 <bsmntbombdood> Daft Punk - Alive 2007
20:26:27 -!- Tritonio__ has joined.
20:26:40 -!- Tritonio__ has quit (Read error: 104 (Connection reset by peer)).
20:27:37 -!- Tritonio_ has quit (Read error: 110 (Connection timed out)).
20:38:28 <ehird`> i wonder how esoteric i can make the editor i am writing
20:38:38 <ehird`> hey, i could write a dialect of lisp's implementation in c then write it in that
20:38:42 <ehird`> oh. wait.
20:39:17 <faxathisia> as long as you don't write a bunch of lisp -in- C .. yuck
20:39:30 * faxathisia (complains about trying to find bugs in emacs..)
20:45:50 <ihope_> I wonder if I could port emacs to Firefox.
20:45:53 <ihope_> Couldn't be that hard.
20:45:59 <ihope_> Harder would be to then port Firefox to emacs.
20:46:25 <faxathisia> maybe you could do a firefox self interpreter via emacs?
20:46:48 <faxathisia> and calculate it's eigenratio! :D
20:47:45 <ihope_> Eigenratio?
20:49:26 <faxathisia> this thing http://eigenratios.blogspot.com/
20:49:29 <faxathisia> it's pretty cool
20:49:39 <faxathisia> ooh new posts
20:54:21 -!- pikhq_ has joined.
20:57:08 <bsmntbombdood> oklopol: i bottled my apple wine today
20:58:47 -!- Tritonio_ has joined.
21:11:18 -!- pikhq has quit (Read error: 110 (Connection timed out)).
21:33:41 <ihope_> Hmm, ContinuousEquation reminds me of a certain idea I had once.
21:36:30 <ihope_> I think it was called Mode.
21:41:27 -!- Tritonio_ has quit (Read error: 110 (Connection timed out)).
21:42:21 -!- Tritonio_ has joined.
21:55:14 -!- faxathisia has quit ("Leaving").
22:08:05 -!- sebbu2 has joined.
22:09:09 -!- Tritonio_ has quit (Read error: 110 (Connection timed out)).
22:09:36 -!- Tritonio_ has joined.
22:11:22 -!- sebbu3 has joined.
22:12:18 <ehird`> hm
22:26:53 -!- sebbu has quit (Read error: 110 (Connection timed out)).
22:29:25 -!- sebbu2 has quit (Connection timed out).
22:45:23 -!- Tritonio_ has quit (Remote closed the connection).
23:09:30 -!- oerjan has joined.
23:15:44 -!- ihope__ has joined.
23:32:26 -!- ihope_ has quit (Read error: 110 (Connection timed out)).
←2007-12-13 2007-12-14 2007-12-15→ ↑2007 ↑all