00:03 (join) emma 00:03 (quit) jao: Ping timeout: 248 seconds 00:27 (join) realitygrill 00:32 offby1: smath: pong 00:32 offby1: er, samth 00:33 (quit) masm: Quit: Leaving. 00:35 (join) veer 00:41 (join) mithos28 00:53 (quit) veer: Quit: Leaving 01:00 (join) karswell 01:30 (quit) karswell: Ping timeout: 240 seconds 01:50 (quit) mithos28: Quit: mithos28 01:57 (join) vu3rdd 01:57 (quit) vu3rdd: Changing host 01:57 (join) vu3rdd 01:59 ozzloy: dingfeng, i feel awkward when sebastian stares into the camera and smiles 01:01 dingfeng: lol 01:02 dingfeng: i guess humans are biologically programmed to interact with real humans. everything else leaves a kind of impendance mismatch. 01:03 dingfeng: having read their entire book on introduction to AI, i find the quality of material in the book much better. 01:07 (quit) jonrafkind: Ping timeout: 245 seconds 01:10 (quit) EmmanuelOga: Quit: WeeChat 0.3.6-rc2 03:00 (part) shofetim: "ERC Version 5.3 (IRC client for Emacs)" 04:08 (join) vu3rdd` 04:10 (quit) vu3rdd: Ping timeout: 252 seconds 04:20 (quit) vu3rdd`: Remote host closed the connection 04:46 dingfeng: Question: foldl in racket takes (b -> a -> a) -> a -> (Listof b). Why not (a -> b -> a)? Which feels much more intuitive, and matches the subsequent arg orders. 04:49 (quit) jamessan: Ping timeout: 244 seconds 04:50 (join) jamessan 04:50 (quit) jamessan: Changing host 04:50 (join) jamessan 05:04 (quit) realitygrill: Read error: Connection reset by peer 05:04 (join) realitygrill 05:49 (join) veer 07:17 (join) masm 07:35 (join) _p4bl0 08:22 (join) karswell 08:40 (join) vu3rdd 08:40 (quit) vu3rdd: Changing host 08:40 (join) vu3rdd 09:16 (quit) vu3rdd: Remote host closed the connection 09:21 asumu: dingfeng: IIRC, it's because srfi/1 does it that way. 09:23 asumu: http://srfi.schemers.org/srfi-1/srfi-1.html#FoldUnfoldMap 09:40 dingfeng: Hm... Why does srfi/1 do it that way? 09:47 asumu: dingfeng: so that (foldl cons '() lst) is reverse. 09:49 asumu: This has been brought up before on the mailing list. I think the general consensus is that using the order that other languages (e.g. Haskell or Clojure) might be better. 09:49 asumu: But that it would break too many programs. 09:49 asumu: *other languages use 09:54 dingfeng: oh. that's nice to know. then i guess it's not a bad choice to use a reordered foldl for new projects. 10:03 (join) anRch 10:37 (join) Blkt 10:41 (quit) anRch: Quit: anRch 10:42 Blkt: good evening everyone 11:01 (join) francisl 11:06 (nick) samth_away -> samth 11:06 samth: offby1: rudybot was being really slow 11:08 Shviller pops in just to say thanks to samth 11:08 Shviller: That code mflatt committed not only fixed the problem, it _tripled_ the framerate of the gears demo. 11:09 samth: matthew is impressive like that 11:10 Shviller: Thanks for telling him. As you probably guessed, I never got around to posting on the mailing list. 11:10 samth: i didn't tell him -- i think that was probably eli 11:11 Shviller: Well, thanks to whomever it was, then. :D But you still get special thanks for taking the time to answer. 11:12 samth: Shviller: no problem -- that's why having a channel is nice 11:33 (join) jonrafkind 11:59 (quit) veer: Remote host closed the connection 12:04 (quit) realitygrill: Ping timeout: 240 seconds 12:05 (join) realitygrill 12:12 (join) MayDaniel 12:14 (join) anRch 12:20 (join) mithos28 12:23 (quit) rgrinberg: Remote host closed the connection 12:24 (join) rgrinberg 12:26 (quit) mithos28: Quit: mithos28 12:38 (join) tyson1 12:39 (part) tyson1 12:39 (join) tyson1 12:41 (nick) emma -> Em 12:45 (quit) Shviller: Ping timeout: 255 seconds 12:45 (part) tyson1 12:47 (join) tyson1 12:47 (part) tyson1 12:49 (join) tyson1 12:50 (quit) anRch: Quit: anRch 12:50 (quit) tyson1: Read error: Connection reset by peer 12:51 (join) tyson1 12:51 (part) tyson1 12:52 (join) tyson1 12:59 (quit) MayDaniel: Read error: Connection reset by peer 13:01 (join) MayDaniel 13:04 (quit) MayDaniel: Read error: Connection reset by peer 13:06 (join) jrslepak_ 13:14 (part) tyson1 13:29 (quit) jrslepak_: Ping timeout: 276 seconds 13:33 (join) jrslepak_ 13:42 offby1: samth: yes, I know; the entire ec2 instance on which rudybot runs has been slow for a couple days; no idea why 13:57 (quit) offby1: Read error: Connection reset by peer 13:59 (join) offby1 13:59 offby1: rudybot: init 14:00 rudybot: *offby1: your sandbox is ready 14:00 offby1: samth: I had a rogue emacs process that was sucking up 100% CPU :) 14:00 offby1: rudybot: feel better now? 14:00 rudybot: *offby1: feel free to talk to fsbot in pm 14:00 offby1: :-( 14:00 offby1: what a snub 14:00 samth: rudybot: eval (+ 3 4) 14:00 rudybot: samth: error: with-limit: out of time 14:01 offby1: :-( 14:01 samth: urg 14:01 offby1: rudybot: eval (+ 3 4) 14:01 rudybot: *offby1: error: with-limit: out of time 14:01 offby1: bah 14:03 offby1: rudybot: eval (+ 3 4) 14:03 rudybot: *offby1: error: with-limit: out of time 14:04 offby1: oddly, it seems to be just "eval" that's slow 14:13 (quit) jrslepak_: Quit: Leaving 14:28 (join) dnolen 15:01 (join) tyson1 15:21 (quit) cipher: Changing host 15:21 (join) cipher 15:36 (quit) offby1: Ping timeout: 255 seconds 15:56 (quit) Blkt: Remote host closed the connection 16:05 (quit) dnolen: Quit: dnolen 16:14 (join) jrslepak_ 16:20 (join) dnolen 16:43 (join) shader 16:43 (join) mithos28 16:47 (quit) mithos28: Client Quit 16:51 (part) tyson1 18:07 (quit) dnolen: Quit: dnolen 18:36 (join) offby1 18:37 samth: rudybot: eval (+ 3 4) 18:37 rudybot: samth: your racket/init sandbox is ready 18:37 rudybot: samth: ; Value: 7 18:37 samth: woot 18:37 samth: rudybot: eval woot 18:37 rudybot: samth: error: reference to an identifier before its definition: woot in module: 'program 18:37 samth: rudybot: eval 'woot 18:37 rudybot: samth: ; Value: woot 18:37 samth: that's better 18:38 offby1: can't explain it 18:40 (join) mithos28 18:54 (join) samth_ 18:58 (nick) samth -> samth_away 19:04 (quit) samth_: Ping timeout: 276 seconds 19:04 (quit) mithos28: Quit: mithos28 19:05 (join) mithos28 19:12 (join) dnolen 19:29 ozzloy: exit 19:33 offby1: foyer 20:18 (join) samth 20:24 (quit) samth: Ping timeout: 258 seconds 20:35 (join) EmmanuelOga 20:59 (quit) masm: Quit: Leaving. 21:28 (join) veer 21:30 (join) francisl_ 21:33 (quit) francisl: Ping timeout: 258 seconds 21:33 (nick) francisl_ -> francisl 22:01 (quit) dingfeng: Ping timeout: 265 seconds 22:06 (quit) EmmanuelOga: Quit: WeeChat 0.3.6-rc2 22:18 (quit) karswell: Remote host closed the connection 22:28 (join) karswell 22:30 (quit) jonrafkind: Quit: Ex-Chat 22:30 (join) jonrafkind 22:45 (quit) francisl: Quit: francisl 22:46 (join) francisl 23:07 (quit) veer: Quit: Leaving 23:08 (join) samth 23:12 ozzloy: is there a way to get the arity of a function that is passed in as an argument? so (define (call-with-all-truth-values f) call f with #t ... #t, then call f with #t ... #f, and so on? 23:12 ozzloy: right now i have (define (call-with-all-1-truth-values f) ...) up through (define (call-with-all-3-truth-values f) ...) 23:13 mithos28: rudybot: doc procedure-arity 23:13 rudybot: mithos28: your sandbox is ready 23:13 rudybot: mithos28: http://docs.racket-lang.org/reference/procedures.html#(def._((lib._racket%2Fprivate%2Fbase..rkt)._procedure-arity)) 23:13 mithos28: ozzloy: look at that 23:13 ozzloy: cool, thanks 23:14 mithos28: it is a little more than just the number of arguments because some functions can take optional arguments, and some can take as many as they want 23:14 ozzloy: right right 23:14 ozzloy: i would expect that to come up for the search "arity" 23:16 ozzloy: http://docs.racket-lang.org/search/index.html?q=arity&q=arity but it does not 23:16 mithos28: it is on the second page 23:16 ozzloy: oh cool, currying! 23:17 ozzloy: oh wow, i didn't even notice that 23:18 ozzloy: mithos28, that's what i get for not reading 23:24 (quit) jrslepak_: Quit: This computer has gone to sleep 23:55 (quit) realitygrill: Quit: realitygrill