00:01 (join) offby1` 00:02 (quit) offby1`: Changing host 00:02 (join) offby1` 00:03 (quit) offby1: Disconnected by services 00:03 (nick) offby1` -> offby1 00:08 (quit) elliott: Ping timeout: 246 seconds 00:09 (quit) heeki: *.net *.split 00:12 (join) heeki 00:20 (quit) dnolen: Quit: dnolen 01:08 no-name-: from http://docs.racket-lang.org/quick/index.html - "That is, the identifier circle is bound to a function (a.k.a. “procedure”), just like c is bound to a circle." ---- wwat? functions and procedures are not the same thing..... are they? 01:08 offby1: I think so. 01:09 offby1: just two names for the same thing. 01:09 no-name-: ok 01:19 (join) realitygrill_ 01:21 (quit) realitygrill: Ping timeout: 240 seconds 01:21 (nick) realitygrill_ -> realitygrill 01:39 (quit) realitygrill: Quit: realitygrill 01:40 (join) realitygrill 01:41 (quit) heeki: Ping timeout: 246 seconds 02:19 (quit) realitygrill: Ping timeout: 246 seconds 02:20 (join) realitygrill 02:27 (quit) realitygrill: Quit: realitygrill 02:30 (quit) sstrickl: Quit: sstrickl 03:08 (join) hkBst 03:48 Sgeo: Is rudybot continuation-based? 03:48 Sgeo: I think a continuation-based IRC bot would be nifty 04:13 (quit) ckrailo: Quit: Computer has gone to sleep. 04:22 (quit) danking: Ping timeout: 240 seconds 04:24 (join) danking 04:31 (join) masm 04:34 (join) misterncw 04:36 Sgeo: What if I want to use eventspaces etc. independently of the GUI? 06:17 (join) misternc_ 06:17 (quit) misterncw: Read error: Connection reset by peer 07:13 (join) Demosthenes 07:26 (join) lucian 07:42 (join) tfb 08:15 (quit) misternc_: Read error: Connection reset by peer 08:16 (quit) Demosthenes: Ping timeout: 250 seconds 08:35 (join) martin_hex 08:35 (quit) martinhex: Disconnected by services 08:35 (nick) martin_hex -> martinhex 08:40 (quit) martinhex: Ping timeout: 240 seconds 09:00 (quit) no-name-: 09:01 (join) martinhex 09:05 (quit) martinhex: Ping timeout: 240 seconds 09:08 (join) mithos28 09:12 shofetim: #ub 09:32 (quit) mithos28: Quit: mithos28 09:33 (join) mithos28 09:40 (nick) samth_away -> samth 09:41 samth: Sgeo, see `rec' in the `mzlib/etc' library 09:42 samth: Sgeo, rudybot doesn't use continuations, i believe 09:47 samth: you can see the source to rudybot here: https://github.com/offby1/rudybot/ 09:52 (join) dnolen 09:55 (join) sstrickl 10:12 (quit) mithos28: Quit: mithos28 10:17 (join) realitygrill 10:19 (part) shofetim: "ERC Version 5.3 (IRC client for Emacs)" 10:20 (quit) dnolen: Quit: dnolen 10:24 (join) anRch 10:48 (join) MayDaniel 11:06 (join) PLT_Notify 11:06 PLT_Notify: racket: master Robby Findler * 91f5fbc (0 files in 0 dirs): added a test case for PR 11930 - http://bit.ly/j6piGU 11:06 (part) PLT_Notify 11:13 (join) ckrailo 11:26 clklein: The value of (set 1 2 3) prints as "(make-set ...)" when DrR is in Constructor or Quasiquote printing mode. Should racket/set be doing something to interface better with the printer? 11:27 (quit) MayDaniel: Read error: Connection reset by peer 11:30 (join) mithos28 11:42 (join) ZachBeta 11:49 (join) elliott 11:51 (join) dnolen 12:00 (quit) mithos28: Quit: mithos28 12:04 (join) mithos28 12:05 (quit) anRch: Quit: anRch 12:16 (join) anRch 12:20 samth: clklein, i think so 12:27 (quit) tfb: Quit: sleeping 12:31 (quit) tonyg: Remote host closed the connection 12:35 (quit) hkBst: Remote host closed the connection 13:01 (join) tfb 13:10 (quit) anRch: Quit: anRch 13:17 (join) Lajla 13:17 (part) Lajla 13:56 (join) superjudge 14:02 (join) gmarceau 14:05 (quit) lucian: Read error: Connection reset by peer 14:05 (join) lucian 14:19 (quit) cky: Quit: Reconnecting 14:21 (join) dyoo 14:21 (quit) tfb: Quit: gone 14:23 (join) cky 14:29 samth: mattmight, open drracket, type \alpha, hit cmd-\ 14:30 (quit) elliott: Ping timeout: 264 seconds 14:30 (join) elliott 14:31 mattmight: I get \alphaλ from that. 14:32 ohwow: hm 14:32 ohwow: cmd-\ is mac-only? 14:32 cky: ohwow: Any time you see Cmd, use Ctrl on non-Mac systems. 14:32 samth: mattmight, i might have the key sequence wrong 14:33 samth: it might be ctrl 14:33 ohwow: hrm 14:33 ohwow: wow i like this λ 14:33 samth: mattmight, it's ctrl-\ 14:33 ohwow: I wish I could type it in irssi 14:34 mattmight: Nifty! It works. 14:35 (join) mitchwand 14:35 samth: hi, mitchwand! 14:35 (join) asumu 14:35 ohwow: I have troubles implementing imperative algorithm in Racket (traveling salesman problem via branch&bounds in this case), are there any imperative constructs I could use besides `do'? 14:35 mattmight: Neat. That trick works for lots of latex characters. 14:36 ohwow: some algos looks just PERFECT in Scheme, but I might not be smart/experienced enough to implement complex ones :{ 14:36 samth: ohwow, what imperative constructs do you need? 14:36 samth: ohwow, see `for', `begin', etc 14:37 ohwow: there is (for) D: 14:37 ohwow: hm, thanks 14:53 eli: mattmight: Did you see the typo I sent you? 14:54 samth: eli, did you ever create that stub page for me? 14:54 mattmight: Yes, got it. Thanks! It's on my to-do list. 14:55 eli: mattmight: (BTW, I started with some of your examples for an extended version of the PLAI parts, but then diverged to very different ones -- including a complete explanation of how to derive `amb', and then an extended version of the PLAI stuff...) 14:55 eli: samth: Yes, it's in iplt/web/con, IIRC. 14:55 samth: eli, thanks 14:56 eli: samth: With the configuration set to show the racket front page, so you can write and commit freely, and flip the switch when you're ready. 14:56 eli: Also, I think that I sent you the instructions on how to run it so you can see what comes out. 14:57 samth: eli, yes you did, i just forgot, sorry 14:57 eli: ok 15:07 (join) ohwow_ 15:12 (quit) realitygrill: Ping timeout: 252 seconds 15:27 (join) Fare 16:01 (quit) sstrickl: Quit: sstrickl 16:12 (join) martinhex 16:19 Sgeo: Why is frtime a separate language? 16:20 (join) no-name- 16:25 (join) realitygrill 16:40 (join) lucian_ 16:40 (quit) lucian: Ping timeout: 260 seconds 16:41 (join) sstrickl 16:41 samth: Sgeo, it has a totally different semantics 16:45 (quit) dyoo: Ping timeout: 252 seconds 16:49 (quit) dnolen: Ping timeout: 252 seconds 16:54 (quit) realitygrill: Ping timeout: 246 seconds 17:06 (join) realitygrill 17:11 (quit) superjudge: Quit: superjudge 17:11 (quit) realitygrill: Read error: Connection reset by peer 17:12 (join) realitygrill 17:13 offby1: eli: I haven't found any way to speed up regexp matching ... short of writing my own little character-by-character parser, have you any ideas? 17:13 eli: offby1: Did you get rid of the non-greedy things? 17:14 offby1: yep, that actually made things _slower_ 17:14 eli: Very weird. 17:14 eli: Where's the code? 17:14 eli: s/code/regexp/ 17:14 offby1: hold on 17:15 offby1: https://github.com/offby1/rudybot/blob/master/log-parser.rkt#L17 17:15 offby1: you'll want some sample data too 17:16 offby1: http://dl.dropbox.com/u/203667/big-log 17:16 offby1: tx 17:17 eli: offby1: Will the data be there for a while? 17:18 offby1: sure 17:19 offby1: I greatly appreciate any time you spend on this. I don't know if the slowness will ultimately be due to something wrong inside racket 17:22 eli: offby1: I have to leave now, so I'll try to remember to get there later (probably 9pm and on). Feel free to ping me in case I don't say anything... 17:27 (join) realitygrill_ 17:29 offby1: sure, thanks 17:31 (quit) realitygrill: Ping timeout: 260 seconds 17:31 (nick) realitygrill_ -> realitygrill 17:39 (quit) asumu: Read error: Operation timed out 17:53 (join) realitygrill_ 17:56 (join) PLT_Notify 17:56 PLT_Notify: racket: master Vincent St-Amour * c02071b (1 files in 1 dirs): Reduce the number of hygiene violations in rep-utils.rkt. ... 17:56 PLT_Notify: racket: master Vincent St-Amour * 027947e (4 files in 1 dirs): Use more descriptive variable names. 17:56 PLT_Notify: racket: master Vincent St-Amour * a1fab6e (31 files in 7 dirs): Give more meaningful names to conditional contract forms. 17:56 PLT_Notify: racket: master Vincent St-Amour * 3b03638 (76 files in 10 dirs): Remove trailing whitespace. 17:56 PLT_Notify: racket: master Vincent St-Amour * 006d5ef (1 files in 1 dirs): Typo. 17:56 PLT_Notify: racket: master commits 91f5fbc...006d5ef - http://bit.ly/jwujl8 17:56 (part) PLT_Notify 17:56 (quit) realitygrill: Ping timeout: 260 seconds 17:57 (nick) realitygrill_ -> realitygrill 18:01 (join) shofetim 18:03 (join) realitygrill_ 18:07 (quit) realitygrill: Ping timeout: 246 seconds 18:07 (nick) realitygrill_ -> realitygrill 18:13 (quit) elliott: Ping timeout: 276 seconds 18:20 (quit) mitchwand: Ping timeout: 276 seconds 18:42 (quit) realitygrill: Ping timeout: 246 seconds 18:42 (quit) Fare: Quit: Leaving 18:43 eli: offby1: Does ~4s for parsing the whole file sound similar to the (bad) time you get? 18:44 eli: offby1: BTW, use (struct utterance (timestamp speaker target text) #:prefab) -- you get a nicer constructor name (`utterance') which can be used in patterns too. 18:45 (join) mitchwand 18:48 (join) realitygrill 18:53 (quit) realitygrill: Ping timeout: 246 seconds 18:53 (join) realitygrill 18:59 offby1: eli: I'm getting something like 14 seconds for that file, but then I'm probably using a slower box. 19:00 (join) tauntaun 19:01 eli: offby1: Just a quick experiment: 19:02 eli: #px"^ *([[:print:]]*?) <= +(\".*\")" --> #px"^ *([^ ]*) <= +(\".*\")" 19:02 eli: #px"^:(.*?)!(.*?)@(.*?) PRIVMSG ([[:print:]]+?) :(.*)" --> #px"^:([^!]*)!([^@]*)@([^ ]*) PRIVMSG ([^:]+) :(.*)" 19:03 eli: That reduces it for me to 2.7s. 19:03 eli: (And I assume that if that file is parsed the same, then it's a valid parse -- so the changes in the regexp are fine.) 19:04 (join) PLT_Notify 19:04 PLT_Notify: racket: master Matthew Flatt * b644588 (5 files in 3 dirs): add pre-multiplied mode for `{get,set}-argb-pixels' - http://bit.ly/meK5ZL 19:04 (part) PLT_Notify 19:06 offby1 rubs chin 19:06 offby1: I see whatcher dooin' 19:07 (quit) mitchwand: Read error: Connection reset by peer 19:08 offby1: that seems to actually slow it down for me 19:12 offby1: (unrelated: the call to "pretty-print"is quite slow; "write" is perfectly fine and faster) 19:12 (quit) tauntaun: Quit: Ex-Chat 19:12 (part) eli: "*sigh*" 19:13 (join) eli 19:13 eli: offby1: I'm using just that function. 19:15 eli: offby1: BTW, are you open for changes to the log file format? 19:15 offby1: more than open 19:15 offby1: I hate it 19:16 eli: I'm not talking about a drastic change -- 19:16 offby1: I've thought about redoing all of the logging, even going so far as to consider logging to an AWS "simpledb" thing 19:16 eli: Just have the same prefix, but then have the string directly in, instead of printed via "~s". 19:17 eli: It should eliminate the (read (open-input-string raw-string)), which should make things better. 19:18 offby1: yep 19:18 eli: OK, I'll convert and see what I get. 19:18 offby1: anyway, replacing pretty-print with write, and using your regexp instead of mine, brings my time down from 21 seconds to 6.5, which is pretty great. 19:19 eli: I'm assuming that it's enough to change the suffix string only in lines with "<=" or "=>" 19:19 eli: Ah, you measure the printout too... 19:20 (join) asumu 19:21 offby1: Yeah, I was just measuring the run-time of the whole program, on a 100,000-line input 19:22 offby1: yep, eliminating "read" does indeed help 19:23 offby1: ... oddly, after eliminating "read", your regexp and mine seem to perform similarly 19:26 (join) rudybot_ 19:32 (quit) rudybot: *.net *.split 19:39 (nick) rudybot_ -> rudybot 19:39 (join) dnolen 19:41 (join) georgeribeiro 19:43 (join) botnick 19:43 (quit) botnick: Remote host closed the connection 19:55 (quit) masm: Ping timeout: 240 seconds 20:02 (quit) ckrailo: Quit: Computer has gone to sleep. 20:02 (quit) lucian_: Remote host closed the connection 20:10 eli: offby1: I see a very definite speedup with either log format 20:19 (join) hussaibi 20:23 offby1: hm 20:25 offby1: here's what I'm experimenting with now: https://github.com/offby1/rudybot/tree/perf 20:25 offby1: it's easy to switch 'twixt the older regexes and the newer 20:37 (part) georgeribeiro 20:44 (part) eli: "*sigh*" 20:44 (join) eli 20:44 eli: offby1: http://tmp.barzilay.org/offby1.rk 20:44 eli: t 20:48 offby1: one moment! 20:48 offby1: yikes! You do good work, and for free, too! 20:48 offby1: rudybot: send that man a sandwich 20:48 rudybot: *offby1: settles for a pot of tea and thinly sliced sandwich ... 20:53 (nick) samth -> samth_away 21:26 (quit) ZachBeta: Ping timeout: 246 seconds 21:30 (join) ZachBeta 21:40 (join) ckrailo 21:49 (quit) hussaibi: Quit: Ex-Chat 22:15 (join) hussaibi 23:26 (join) superjudge