00:08 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 00:08 (join) dnolen 00:41 (quit) kofno: Remote host closed the connection 00:41 (join) kofno 00:46 (quit) tps_: Read error: Connection reset by peer 00:46 (join) tps__ 00:48 (quit) kofno: Ping timeout: 248 seconds 01:11 (join) kofno 01:20 (quit) kofno: Ping timeout: 260 seconds 01:25 (quit) mceier: Quit: leaving 01:38 (join) bniels 01:48 (quit) didi: Ping timeout: 276 seconds 01:54 (join) asvil 02:00 (join) safekeeping_ 02:02 (quit) tps__: Quit: tps__ 02:03 (quit) safekeeping: Ping timeout: 256 seconds 02:04 (quit) Kaylin: Quit: Leaving. 02:17 (quit) bniels: Remote host closed the connection 02:19 (join) bniels 02:22 (quit) safekeeping_: Read error: Connection reset by peer 02:26 (join) mceier 02:31 (quit) gridaphobe: Remote host closed the connection 02:31 (join) gridaphobe 02:32 (quit) gridaphobe: Read error: Connection reset by peer 02:34 (join) Shvillr 02:53 (quit) dnolen: Ping timeout: 255 seconds 02:56 (join) hkBst 02:56 (quit) hkBst: Changing host 02:56 (join) hkBst 02:58 (join) sw2wolf 03:10 (part) sw2wolf: "ERC Version 5.3 (IRC client for Emacs)" 03:13 (quit) merijn: Ping timeout: 276 seconds 03:20 (quit) myx: Ping timeout: 252 seconds 03:44 (quit) Nereid: Quit: ZNC - http://znc.sourceforge.net 03:47 (join) bitonic 04:14 (quit) jonrafkind: Ping timeout: 252 seconds 04:15 (join) Aune 04:23 (join) merijn 04:40 (join) tilde` 05:05 (quit) bitonic: Ping timeout: 260 seconds 05:08 (join) MightyFoo 05:09 (nick) MightyFoo -> tim-brown 05:39 (quit) mithos28: Quit: mithos28 06:00 (join) `quote` 06:00 `quote`: hello racket language users 06:01 (quit) bniels: Remote host closed the connection 06:07 (join) jeapostrophe 06:07 (quit) jeapostrophe: Changing host 06:07 (join) jeapostrophe 06:23 (quit) Aune: Quit: Hath Deprated 06:28 (quit) asvil: Remote host closed the connection 06:32 (join) myx 06:38 (join) bniels 06:43 bremner: is the racket optimizer getting smarter? I ran a test and a non-tail recursive factorial was actually a bit faster than the tail recursive one, and both could compute (fact 100000) without any trouble. 06:49 (join) bitonic 06:57 (quit) bitonic: Ping timeout: 260 seconds 07:10 (join) Aune 07:18 bremner: hmm. I guess it just must be that arithmetic dominates the computation. 07:21 (join) bitonic 07:23 (quit) jeapostrophe: Read error: Operation timed out 07:25 (join) kofno 07:32 (quit) tilde`: Ping timeout: 252 seconds 07:56 (join) Kaylin 08:03 (quit) bitonic: Ping timeout: 255 seconds 08:09 (join) mizu_no_oto 08:12 carleastlund: bremner, a the non-tail-recursive factorial is likely to perform well on a system with low memory usage overall, because it can just grab stack frames when it needs them. It would slow down a lot if, for instance, the system needed to go to swap space, while the tail-recursive version wouldn't. 08:13 (join) bitonic 08:19 (quit) bitonic: Ping timeout: 244 seconds 08:19 (join) tilde` 08:31 (quit) `quote`: Ping timeout: 260 seconds 08:36 (quit) tilde`: Quit: kthxbai 08:37 (quit) Shviller: Ping timeout: 248 seconds 08:40 samth: bremner: matthew explained this once, i think, on the mailing list 08:42 (join) anRch 08:58 (join) bitonic 08:59 (quit) noam: Ping timeout: 252 seconds 09:06 bremner: samth: well, for e.g. list length, the benefit of tail recursion is obvious. 09:06 (quit) Kaylin: Read error: Connection reset by peer 09:06 samth: sure 09:10 (join) tps_ 09:10 (quit) jrslepak: Quit: What happened to Systems A through E? 09:17 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 09:19 (join) hash_table 09:21 (quit) acarrico: Ping timeout: 244 seconds 09:23 (join) Shviller 09:25 (quit) hkBst: Read error: Connection reset by peer 09:26 (join) hkBst 09:26 (quit) hash_table: Ping timeout: 240 seconds 09:31 (join) nathanpc 09:34 (join) dnolen 09:35 (join) mizu_no_oto 09:37 (join) acarrico 09:38 (quit) kofno: Remote host closed the connection 09:41 (join) kofno 09:41 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 09:45 (join) francisl 09:46 (quit) anRch: Quit: anRch 10:01 (quit) bitonic: Ping timeout: 264 seconds 10:01 (join) jrslepak 10:03 (join) mceier_ 10:03 (join) friscosam 10:03 (join) anRch 10:07 (quit) mceier: *.net *.split 10:07 (quit) cdidd: *.net *.split 10:07 (quit) friscosa1: *.net *.split 10:08 (join) tilde` 10:09 (join) Kaylin 10:10 (join) cdidd 10:11 (quit) bniels: Quit: WeeChat 0.3.8 10:17 (join) mizu_no_oto 10:25 (join) bitonic 10:26 (join) soegaard 10:32 (quit) jrslepak: Quit: What happened to Systems A through E? 10:35 (join) hash_table 10:36 (join) didi` 10:36 (nick) didi` -> didi 10:41 (quit) dsantiago: Quit: Computer has gone to sleep. 10:44 (quit) mceier_: Quit: leaving 10:47 (join) jrslepak 10:49 (quit) Nisstyre: Quit: Leaving 10:52 (quit) soegaard: Quit: soegaard 10:55 (quit) Kaylin: Read error: Connection reset by peer 11:01 (join) Shvillr_ 11:01 (quit) Shviller: Ping timeout: 248 seconds 11:07 (quit) hkBst: Quit: Konversation terminated! 11:08 asumu: greghendershott: are you missing a few .md files in your wffi examples folder? 11:08 asumu: e.g., google-plus.md 11:11 (quit) anRch: Read error: Connection reset by peer 11:12 (join) anRch 11:13 greghendershott: asumu: I split the non-Racket-specific portion of wffi into its own project, https://github.com/greghendershott/webapi-markdown 11:14 greghendershott: I thought I updated wffi's README to explain that, but let me double-check ... 11:14 greghendershott: Yeah I did, but sorry if that was confusing. 11:16 asumu: Ah, sorry, that's my reading comprehension there. :p 11:19 greghendershott: I did just notice stupid typo in README.md, extra backtick. Just pushed fix for that, and a couple more commits. 11:22 (join) gridaphobe 11:24 greghendershott: BTW I'm working on the server side of things, again. i.e. When you're implementing a web service, using the Markdown spec/doc for "routing". 11:25 greghendershott: But I think under that I want something like Python's WSGI, Ruby's Rack, or Clojure's Ring. So I'm working on that part, first. 11:27 (quit) anRch: Quit: anRch 11:28 samth: greghendershott: sweet! 11:29 greghendershott: samth: I might call it "Lob". :) 11:29 samth: ? 11:29 samth: greghendershott: i don't get it 11:30 asumu: greghendershott: woo, I got a simple wffi thing for fetching gists. Now to do the rest of the API. 11:31 greghendershott: samth: In racket sports one lobs things back and forth. 11:31 samth: greghendershott: doh 11:40 (join) mister_zombie 11:41 mister_zombie: Hi, I'm new to Racket, and I'm not sure I get contracts too good. 11:41 asumu: mister_zombie: anything specifically? 11:41 mister_zombie: As far as arity is concerned, my contract works, but it doesn't seem to care much about the type of things I'm giving it. 11:42 mister_zombie: (provide (contract-out [x (integer? . -> . integer?)])) 11:42 mister_zombie: (define (x y) 24.2) 11:42 mister_zombie: I would expect this to fail 11:42 mister_zombie: Or at least complain when I call it 11:42 asumu: The way that contracts work, that will only fail when you call 'x' from another module. 11:43 asumu: rudybot: (module foo racket (define (x y) 24.2) (provide (contract-out [x (-> integer? integer?)]))) 11:43 rudybot: asumu: your sandbox is ready 11:43 rudybot: asumu: Done. 11:43 asumu: rudybot: (require 'foo) 11:43 rudybot: asumu: Done. 11:43 asumu: rudybot: (x 5) 11:43 rudybot: asumu: error: x: self-contract violation, expected: integer?, given: 24.2 contract from: foo, blaming: foo contract: (-> integer? integer?) at: #:1.63 11:43 asumu: Like so. 11:43 asumu: rudybot: (x "not an integer") 11:43 rudybot: asumu: error: x: contract violation, expected: integer?, given: "not an integer" contract from: foo, blaming: program contract: (-> integer? integer?) at: #:1.63 11:43 mister_zombie: Ooooooh. 11:44 mister_zombie: Excellent. 11:44 mister_zombie: I like this very much. 11:45 mister_zombie: I think I will enjoy Racket a lot. 11:45 asumu: :) 11:46 didi: mister_zombie: Careful though. It's highly addictive. 11:46 mister_zombie: I can see that. 11:47 mister_zombie: And contracts like that will accept predicates in general, I guess 11:49 asumu: Yeah, any predicate can be used as a contract. 11:50 mister_zombie: Niiiiiiiiiice. 11:50 mister_zombie: And if I define my predicate as a function inside my module it spits out the function name. 11:50 (quit) Aune: Quit: Hath Deprated 11:51 mister_zombie: Next question: How can I ever feel safe coding without DBC ever again? 11:52 bremner: mister_zombie: you can use Typed Racket instead ;) 11:54 bremner: well, for simple contracts it makes sense anyway. Sometimes complicated conditions are a bit contorted as types. 11:55 mister_zombie: Ya but I mean, I can see the power. 11:56 mister_zombie: You can make sure stuff is used as intended. 11:56 (join) mceier 11:59 mister_zombie: There probably is a nice way to deal with contract breakage on the part of the caller too? 12:00 mister_zombie: Anything I should read in that regard? I was up to chapter 4 of the Racket Guide. 12:01 (quit) merijn: Ping timeout: 276 seconds 12:03 (quit) gridaphobe: Remote host closed the connection 12:03 (join) mithos28 12:03 (join) gridaphobe 12:04 (quit) bitonic: Ping timeout: 255 seconds 12:04 (quit) tilde`: Quit: kthxbai 12:08 (quit) gridaphobe: Ping timeout: 256 seconds 12:08 (quit) sirdancealot7: Read error: Connection reset by peer 12:11 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 12:12 (join) mizu_no_oto 12:14 stamourv: rudybot: doc exn:fail:contract? 12:14 rudybot: stamourv: your sandbox is ready 12:14 rudybot: stamourv: http://docs.racket-lang.org/reference/exns.html#(def._((quote._~23~25kernel)._exn~3afail~3acontract~3f)) 12:14 stamourv: mister_zombie: ^ 12:14 stamourv: To recover from contract errors. 12:14 (join) samth_ 12:15 stamourv: Combined with `with-handlers', etc. 12:15 (join) soegaard 12:16 (quit) cdidd: Quit: Leaving 12:18 (join) didi 12:20 (join) Shviller 12:20 tim-brown: thanks, anyone there who answered my macro question on the list 12:22 (quit) Shvillr: Ping timeout: 256 seconds 12:22 mister_zombie: stamourv: That looks nice. What's the idiomatic way of binding error handlers? 12:23 stamourv: I usually use `with-handlers'. 12:23 didi: +1 `with-handlers' 12:23 mister_zombie: From the importing code, on any external function? 12:24 (part) nathanpc: "Leaving..." 12:26 stamourv: Functions usually document the exceptions they raise. 12:26 stamourv: As for where to put the handlers, I'd say it depends on your application. 12:33 mister_zombie: Nice. 12:33 mister_zombie: Quite clean. 12:33 mister_zombie: I like the exn:fail? thingie. 12:37 (join) MayDaniel 12:48 (join) gridaphobe 12:54 (join) bitonic 13:00 (quit) bitonic: Ping timeout: 256 seconds 13:13 (join) bitonic 13:25 (join) dsantiago 13:28 asumu: This reminds me, `with-handlers` is another identifier that needs examples in the docs. 13:29 mister_zombie: I'm slowly getting the hang of the way stuff is defined. 13:29 mister_zombie: (in the docs) 13:30 (quit) samth_: Ping timeout: 260 seconds 13:30 didi <3 the docs 13:51 (quit) gridaphobe: Remote host closed the connection 13:51 (join) gridaphobe 13:53 (quit) gridaphobe: Read error: Operation timed out 13:55 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 13:55 (join) gridaphobe 13:56 (join) ijp 13:58 (quit) tps_: Read error: Connection reset by peer 13:58 (join) tps_ 13:58 mister_zombie: If I wanna run a very light webserver, should I stick with web-server/servlet-env? 13:59 (join) mizu_no_oto 14:03 (quit) mizu_no_oto: Client Quit 14:07 (join) mizu_no_oto 14:10 (join) jonrafkind 14:15 (join) merijn 14:16 (quit) ijp: Remote host closed the connection 14:17 (join) ijp 14:26 (quit) karswell: Read error: Connection reset by peer 14:26 (join) karswell 14:27 (quit) Haffe: Ping timeout: 264 seconds 14:29 (join) Haffe 14:30 (quit) tps_: Quit: tps_ 14:32 (join) tps_ 14:34 (quit) myx: Quit: ัƒัˆั‘ะป 14:54 (quit) tps_: Quit: tps_ 14:59 (join) dyoo 15:10 (quit) mister_zombie: Quit: Leaving. 15:19 (join) hydandata 15:26 (join) jeapostrophe 15:26 (quit) jeapostrophe: Changing host 15:26 (join) jeapostrophe 15:40 (quit) ijp: Ping timeout: 260 seconds 15:42 (join) ijp 15:45 (join) anRch 15:48 (join) stilluntrusted 16:02 (quit) kofno: Remote host closed the connection 16:06 dyoo: does anyone here have prior exprience with SDL for Mac OS X? 16:06 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 16:10 jonrafkind: well of course i have games that use sdl that work on osx 16:24 (join) samth_ 16:25 (quit) stilluntrusted: Remote host closed the connection 16:31 (join) Nisstyre 16:32 (quit) didi: Ping timeout: 276 seconds 16:40 (join) RacketCommitBot 16:40 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/FuXhsQ 16:40 RacketCommitBot: racket/master fce4cba Robby Findler: loosen slightly the requirements for changing existing chars... 16:40 (part) RacketCommitBot 16:43 (nick) hydandata -> hydan 16:43 (part) hydan: "..." 16:49 (quit) gridaphobe: Remote host closed the connection 16:49 (join) gridaphobe 16:51 (join) tcsc 16:52 (quit) hash_table: Ping timeout: 255 seconds 16:54 (quit) gridaphobe: Ping timeout: 276 seconds 16:55 (quit) jonrafkind: Ping timeout: 276 seconds 16:56 (join) mizu_no_oto 16:56 (quit) anRch: Quit: anRch 16:59 (join) noam 17:02 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 17:04 (join) gridaphobe 17:09 (quit) jrslepak: Quit: What happened to Systems A through E? 17:11 (join) didi 17:26 (quit) MayDaniel: Read error: Connection reset by peer 17:33 (quit) soegaard: Quit: soegaard 17:46 (join) hash_table 17:46 (quit) hash_table: Read error: Connection reset by peer 18:00 (join) jonrafkind 18:06 (quit) jeapostrophe: Ping timeout: 244 seconds 18:18 (quit) dyoo: Quit: dyoo 18:22 (quit) didi: Ping timeout: 255 seconds 18:22 (join) francisl_ 18:23 (quit) gridaphobe: Remote host closed the connection 18:23 (join) gridaphobe 18:26 (quit) francisl: Ping timeout: 252 seconds 18:26 (quit) francisl_: Ping timeout: 256 seconds 18:29 (quit) gridaphobe: Ping timeout: 272 seconds 18:30 (join) safekeeping 18:35 (join) gridaphobe 18:37 (join) jrslepak 18:39 (join) jeapostrophe 18:39 (quit) jeapostrophe: Changing host 18:39 (join) jeapostrophe 18:48 (join) jeapostr1phe 18:48 (quit) jeapostrophe: Read error: Connection reset by peer 18:57 (join) Fare 19:03 (quit) samth_: Ping timeout: 260 seconds 19:04 (join) kofno 19:19 (quit) kofno: Ping timeout: 272 seconds 19:29 (join) zacts 19:30 (join) ijp` 19:34 (quit) ijp: Ping timeout: 256 seconds 19:34 (join) `quote` 19:34 (nick) ijp` -> ijp 19:39 (quit) `quote`: Client Quit 19:56 (quit) bitonic: Ping timeout: 272 seconds 20:00 (join) cdidd 20:01 (quit) jonrafkind: Ping timeout: 276 seconds 20:30 (join) dyoo 20:31 (part) dyoo 20:44 (quit) gridaphobe: Remote host closed the connection 20:44 (join) gridaphobe 20:49 (quit) gridaphobe: Ping timeout: 240 seconds 20:51 (join) RacketCommitBot 20:51 RacketCommitBot: [racket] plt pushed 5 new commits to master: http://git.io/jcDeKg 20:51 RacketCommitBot: racket/master 6349f85 Robby Findler: 2d cond reader (not yet done) 20:51 RacketCommitBot: racket/master 7df363c Robby Findler: progress on 2d 20:51 RacketCommitBot: racket/master ded6cb1 Robby Findler: more test cases ... 20:51 (part) RacketCommitBot 20:57 (join) mizu_no_oto 20:57 (quit) acarrico: Ping timeout: 244 seconds 21:06 (join) tps_ 21:07 (quit) carleastlund: Quit: carleastlund 21:13 (join) acarrico 21:16 (join) kofno 21:16 (join) RacketCommitBot 21:16 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/oZJ_hQ 21:16 RacketCommitBot: racket/master 24561e2 Neil Toronto: Finished matrix documentation, attendant fixes; please merge to 5.3.2... 21:16 (part) RacketCommitBot 21:20 (quit) kofno: Ping timeout: 248 seconds 21:31 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 21:33 (join) didi 21:43 (join) RacketCommitBot 21:43 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/1D7bEA 21:43 RacketCommitBot: racket/master 22d1619 Robby Findler: Oops, sorry.... 21:43 (part) RacketCommitBot 21:50 (join) mizu_no_oto 21:52 (join) kofno 22:06 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 22:13 (quit) jeapostr1phe: Read error: Operation timed out 22:27 (join) mizu_no_oto 22:37 (quit) tps_: Read error: Connection reset by peer 22:37 (join) tps_ 22:50 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 23:00 (quit) zacts: Ping timeout: 252 seconds 23:01 (join) jonrafkind 23:23 (quit) kofno: Remote host closed the connection 23:27 (join) kofno 23:33 (quit) kofno: Ping timeout: 272 seconds 23:44 (join) Doug__ 23:45 (quit) Doug__: Client Quit 23:58 (join) kofno