00:02 (join) dnolen 00:14 (quit) Demosthenes: Quit: leaving 00:17 (quit) chimeracoder1: Quit: Leaving. 00:18 (quit) mceier: Quit: leaving 00:25 (join) chimeracoder1 00:25 (join) ambrosebs 00:25 (quit) chimeracoder1: Client Quit 00:25 (part) ambrosebs 00:36 (quit) hash_table: Ping timeout: 272 seconds 00:36 (quit) getpwnam: Ping timeout: 272 seconds 00:43 (quit) antithesis: Quit: antithesis 00:54 (join) veer 00:55 (join) Kaylin 00:57 (quit) veer: Read error: Connection reset by peer 01:11 (join) rbarraud__ 01:11 (quit) rbarraud_: Ping timeout: 252 seconds 01:11 mithos28: stamourv: you around? 01:25 (join) PfhatWork 01:26 (quit) PfhorSlayer: Ping timeout: 260 seconds 01:27 (quit) danl_ndi: Ping timeout: 260 seconds 01:30 (join) veer 01:36 (join) PfhorSlayer 01:39 (quit) PfhatWork: Ping timeout: 272 seconds 01:43 (quit) dnolen: Ping timeout: 246 seconds 02:17 (join) mceier 02:32 (join) chturne 02:39 (quit) jonrafkind: Ping timeout: 240 seconds 02:52 (join) hkBst 02:52 (quit) hkBst: Changing host 02:52 (join) hkBst 02:52 (join) djcoin 02:54 (quit) mithos28: Read error: Connection reset by peer 02:54 (join) mithos28_ 03:07 (join) vu3rdd 03:07 (quit) vu3rdd: Changing host 03:07 (join) vu3rdd 03:24 (quit) Kaylin: Quit: Leaving. 03:33 (join) nilyaK 03:33 (quit) nilyaK: Client Quit 03:37 (join) noelw 03:39 (join) lewis1711 03:46 (quit) mithos28_: Quit: mithos28_ 04:03 (quit) mceier: Quit: leaving 04:15 (quit) veer: Quit: Leaving 04:39 (join) MightyFoo 04:49 (nick) MightyFoo -> tim-brown 04:56 (quit) hkBst: Read error: Connection reset by peer 04:57 (join) hkBst 04:57 (quit) hkBst: Changing host 04:57 (join) hkBst 05:06 chturne: Is there some akin to toString in Java, or ->string in Chicken in Racket? 05:08 lewis1711: where is this magical ->string procedure documented? 05:10 hkBst: chturne: not that I know of, but you can easily make your own 05:10 chturne: http://wiki.call-cc.org/man/4/Unit%20data-structures#->string 05:10 chturne: (OK, maybe I don't understand URL, but it's on that page!) 05:11 chturne: hkBst, yeah, guess I have find all the appropriate procedures to convert various data types to string first though... Or is there a better way? 05:12 chturne: Hm, could write to a port and read back from it 05:12 lewis1711: that is awesome 05:12 lewis1711: the ->string thing, I mean 05:12 lewis1711: wonder how it works 05:12 (join) antithesis 05:13 hkBst: chturne: I wrote this for my own needs recently (adapt as suits you): http://paste.lisp.org/+2SUU 05:13 (join) bitonic 05:13 chturne: Ah, thanks hkBst, saved me 10 minutes :) 05:14 hkBst: :) 05:17 lewis1711: I do miss these sorts of generic things in scheme 05:22 noelw: format is ->string 05:23 lewis1711: rudybot: (format 42) 05:23 rudybot: lewis1711: your sandbox is ready 05:23 rudybot: lewis1711: error: format: expects argument of type ; given: 42 05:23 noelw: (format "~w" 42) 05:24 hkBst: noelw: ->string is useful when you _don't_ know what object you're converting to a string... 05:27 noelw: > (define (->string val) 05:27 noelw: (define str (open-output-string)) 05:27 noelw: (write val str) 05:27 noelw: (get-output-string str)) 05:27 noelw: > (->string 42) 05:27 noelw: "42" 05:42 (join) veer 05:53 (quit) antithesis: Remote host closed the connection 06:00 tim-brown: will there be an example page or two from realm'o'racket generated soon? 06:01 chturne: noelw, that's exactly what I ended up using. :) 06:01 noelw: hi five! 06:01 chturne: *slap* 06:04 (join) dzhus 06:09 veer: Just curious , why the last argument(pos) to list-ref need to be exact-nonnegative-integer , why can't it be nonnegative-integer , like this (list-ref '(1 2 3) 1.0) 06:27 (join) masm 06:32 (quit) masm: Ping timeout: 272 seconds 06:32 (join) masm 06:35 (join) jeapostrophe 06:35 (quit) jeapostrophe: Changing host 06:35 (join) jeapostrophe 07:07 (join) gciolli 07:10 (join) mceier 07:10 (join) Shviller 07:13 (quit) Shvillr: Ping timeout: 246 seconds 07:38 (quit) gciolli: Ping timeout: 272 seconds 07:46 (join) MayDaniel 07:57 eli: ASau: I saw a message from you on he dev list; I don't remember that I added you to any lists but I can check if you want; I asked Matthew about the crash -- it might be useful to send another message too. 08:00 (join) kanak 08:03 (join) Girffe 08:03 Girffe: Hey, I was wondering if racket has a function that gets a random element of a list 08:04 Girffe: It's pretty trivial to write with (random), I'm just wondering if it's already defined in the language 08:04 (join) ambrosebs 08:04 eli: Girffe: No, but it's really trivial. 08:05 eli: samth_away: it might depend on the environment somehow, it's a low-level thing, almost like expect. 08:06 Girffe: Yeah, it's just a bit of a shame, (random-list) would probably be used more often than (random). 08:21 eli: Girffe: What would such a `random-list' do? 08:22 Girffe: Just return a random element of a list 08:22 Girffe: i.e. (define (random-list lst) (list-ref lst (inexact->exact (floor (* (random) (length lst)))))) 08:23 Girffe: I think most of the time people would use (random) in racket, they're just using it to get a random element of a list anyway 08:24 eli: Girffe: (a) in racket (and in scheme and lisp) we don't use "(foo)" as a way to say that foo is a function -- so it's not like using "foo()" in c. 08:25 eli: (b) you're doing it the hard way, instead: (define (random-list l) (list-ref l (random (length l)))) 08:25 eli: (c) "random-list" is a bad name for that, since it chooses a random element it doesn't create a random list. 08:26 Girffe: (a) what do you use to specify a function, then? (if anything) 08:26 (quit) jeapostrophe: Ping timeout: 264 seconds 08:26 Girffe: (b) oh, I hadn't realized you could give arguments to (random), that's not as bad then 08:26 eli: Finally, I don't know about its popularity, but I doubt that *most* uses of `random' are to choose from a list. 08:26 Girffe: (c) and yeah, I just made up the name in a second 08:26 eli: Re (a) -- juse use `random-list'. 08:27 eli: BTW, if the list is constant, you can also do this: 08:27 eli: rudybot: (define (choose . xs) (list-ref xs (random (length xs)))) 08:27 rudybot: eli: your sandbox is ready 08:27 rudybot: eli: Done. 08:27 eli: rudybot: (choose 1 2 3 4 5) 08:27 rudybot: eli: ; Value: 3 08:28 eli: And that's far from being the only way to define such a thing... 08:53 (quit) rbarraud__: Ping timeout: 255 seconds 08:57 (join) getpwnam 08:58 (join) hash_table 09:11 (join) Shvillr 09:17 (quit) getpwnam: Ping timeout: 264 seconds 09:18 (quit) hash_table: Ping timeout: 264 seconds 09:54 (quit) veer: Quit: Leaving 09:54 (join) Kaylin 10:04 (quit) MayDaniel: Read error: Connection reset by peer 10:06 (quit) Shvillr: Quit: bye 10:10 (quit) hkBst: Quit: Konversation terminated! 10:17 (quit) jrslepak: Quit: This computer has gone to sleep 10:22 (quit) Kaylin: Quit: Leaving. 10:24 (quit) mceier: Quit: leaving 10:26 eli: asumu: http://www.zazzle.com/elibarzilay 10:26 eli: Plain, fancy, & beer. 10:27 (join) Shvillr 10:29 (join) getpwnam 10:29 (join) hash_table 10:33 (join) bjz 10:35 (join) RacketCommitBot 10:35 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/H78vhQ 10:35 RacketCommitBot: [racket/master] Modernize (& racketize) ffi/examples. - Eli Barzilay 10:35 RacketCommitBot: [racket/master] Update self-test checksup for revized "racket -h" text. - Eli Barzilay 10:35 RacketCommitBot: [racket/master] Put the main work in a `main' sub-module. - Eli Barzilay 10:35 (part) RacketCommitBot 10:35 stamourv: mithos28_: I am now. 10:36 stamourv: eli: That's awesome. 10:38 eli: stamourv: ? 10:39 stamourv: The Racket mugs / beer steins. 10:40 eli: Ah, I thought that you were talking about the push, which wasn't significant in any awesome way... 10:43 (join) chimeracoder 10:47 (join) jrslepak 10:51 (join) gciolli 10:54 (quit) chturne: Ping timeout: 264 seconds 11:00 eli: ASau: Matthew said that he'll look into it later today or tomorrow. 11:04 asumu: eli: thanks, those are nice mugs. Now which choice to get... 11:05 (quit) gciolli: Ping timeout: 240 seconds 11:06 eli: asumu: IIRC, when you get them you can further customize them, so you can choose anything else they have. 11:19 (quit) chimeracoder: Quit: Leaving. 11:19 (join) anRch 11:20 (join) chimeracoder 11:21 (quit) chimeracoder: Client Quit 11:23 (join) chturne 11:25 (join) mithos28 11:32 (quit) bitonic: Remote host closed the connection 11:32 DGASAU`: eli: I've been going to ask about it. :D 11:33 DGASAU`: eli: if you need more information, feel free to ask. 11:33 DGASAU`: It just, you know, needs more attention... 11:38 eli: DGASAU`: Sure -- ping me if nothing happens (I'm generally slow to respond since I'm in Israel now). 11:40 (join) nilyaK 11:55 (join) mceier 11:56 (join) noelw_ 11:57 (quit) noelw: Ping timeout: 272 seconds 11:57 (nick) noelw_ -> noelw 11:59 mithos28: stamourv: I needed a TR dev to help me figure out how best to delay evaluation of code from expansion time to typechecking time 12:00 mithos28: where expansion time is the local expansion of the module form, and not all of phase 1 12:00 stamourv: Ok. 12:00 stamourv: Do you still need help? 12:01 (join) ynniv 12:02 mithos28: I have a way, but I needed to add it to the typechecker 12:03 mithos28: I added a syntax property 'typechecker:external-check whose value is a procedure 12:03 mithos28: which is called with the form when it is discovered during typechecking time, and then typechecking procedes normally 12:04 mithos28: The original problem is to parse a type and make sure that it has no free variables, else error out 12:05 mithos28: but types cannot be parsed until typechecking time when aliases are added to the environment 12:05 mithos28: my solution also relies on semi-3D syntax 12:06 mithos28: as the syntax properties value is a procedure accessing the phase 1 environment 12:06 stamourv: That sounds sensible. Does it work? 12:07 mithos28: Yep, I was just wondering if there seemed like a better way than adding this whole new mechanism 12:09 stamourv: It sounds like a generally useful thing to have. 12:09 stamourv: We could use that to implement a `cast' form, like assert, but with types instead of predicates. 12:09 mithos28: already done 12:10 stamourv: Cool! 12:10 stamourv: People have been asking for that for a long time. 12:10 mithos28: I started with making a make-predicate form 12:10 mithos28: like define-predicate but allowed at the expression level 12:11 stamourv: Right, I saw the discussion. 12:11 (join) gciolli 12:11 stamourv: Is this on yourt Github? 12:11 stamourv: s/yourt/your/ 12:11 mithos28: Not yet, I still need to add tests 12:12 mithos28: but I can push it for viewing, even if it is not ready for merging 12:12 stamourv: No hurry, I'm working on something else. 12:13 (quit) gciolli: Client Quit 12:13 stamourv: I'm exiling `defmacro', Chez-style modules and mutable pairs to a `compatibility' collect, for things that we support to help compatibility with other languages. 12:13 stamourv: So that it's clear that these aren't blessed Racket features. 12:14 mithos28: https://github.com/shekari/racket/compare/master...make-predicate 12:14 mithos28: I should have it ready for merging tonightish/some time this weekend 12:14 stamourv: Great. 12:14 stamourv: You on vacation, or is this the Google 20% time? 12:15 mithos28: neither 12:15 mithos28: I need to get to work though 12:15 stamourv: Does this 20% time thing even still exist? 12:15 mithos28: yep 12:16 stamourv: I heard rumors that it disappeared. 12:16 mithos28: rumors are greatly exaggerated 12:24 (join) antithesis 12:25 (quit) anRch: Quit: anRch 12:27 (quit) djcoin: Quit: WeeChat 0.3.2 12:33 (quit) hash_table: Ping timeout: 264 seconds 12:33 (quit) getpwnam: Ping timeout: 264 seconds 12:35 (join) jonrafkind 12:35 (quit) jonrafkind: Changing host 12:35 (join) jonrafkind 12:42 (join) MayDaniel 12:45 tim-brown: night all... i'm off for a weekend of reconciling myself to the shame of not using shen language :-( 13:01 (quit) bjz: Quit: Leaving... 13:14 (quit) Girffe: Ping timeout: 245 seconds 13:15 (quit) cdidd: Ping timeout: 244 seconds 13:19 (quit) masm: Quit: Leaving. 13:19 (join) neilv 13:21 neilv: anyone know when the release candidate builds happen? matthew had a commit around 6pm yesterday, but the last release candidate for download is from around 2pm and does not contain his fix 13:21 (quit) acarrico: Ping timeout: 240 seconds 13:26 (join) esilkensen 13:27 (part) esilkensen 13:28 (join) getpwnam 13:28 (join) esilkensen 13:29 (quit) ambrosebs: Ping timeout: 250 seconds 13:29 (join) hash_table 13:32 (quit) esilkensen: Remote host closed the connection 13:33 (quit) neilv: Quit: Leaving 13:38 (join) acarrico 14:03 (join) danl_ndi 14:08 (join) bitonic 14:16 (join) RacketCommitBot 14:17 RacketCommitBot: [racket] plt pushed 5 new commits to release: http://git.io/7rGM7A 14:17 RacketCommitBot: [racket/release] release notes update for stepper. - John Clements 14:17 RacketCommitBot: [racket/release] fix for bytecode validator - Matthew Flatt 14:17 RacketCommitBot: [racket/release] rewording of release notes message. - John Clements 14:17 (part) RacketCommitBot 14:25 (quit) bitonic: Ping timeout: 252 seconds 14:32 (quit) mithos28: Read error: Connection reset by peer 14:32 (join) mithos28_ 15:02 (join) jackhammer2022 15:12 (join) bitonic 15:15 (join) samth 15:15 (quit) ynniv: Quit: ynniv 15:20 stamourv: neilv: I think they're started manually. Let me go ask ryanc. 15:22 stamourv: neilv: Yes, they're manual. The next one should be available in 2-3 hours max. 15:28 (quit) bitonic: Ping timeout: 272 seconds 15:31 (quit) jackhammer2022: Quit: Textual IRC Client: http://www.textualapp.com/ 15:42 (join) neilv 15:43 (quit) kanak: Quit: Leaving. 15:44 (quit) mithos28_: Read error: Connection reset by peer 15:44 (join) mithos28 15:45 (join) mobile 15:57 (quit) mobile: Remote host closed the connection 15:58 (join) mobile 16:11 (quit) samth: Ping timeout: 246 seconds 16:14 (quit) antithesis: Quit: antithesis 16:23 (join) samth 16:27 (quit) mobile: Remote host closed the connection 16:33 (join) josdeha_rt 16:42 (quit) acarrico: Ping timeout: 255 seconds 16:43 (quit) vu3rdd: Remote host closed the connection 16:48 (quit) mithos28: Read error: Connection reset by peer 16:48 (join) mithos28_ 16:55 (quit) mithos28_: Read error: Connection reset by peer 16:55 (join) mithos28 17:04 (quit) mithos28: Read error: Connection reset by peer 17:04 (join) mithos28_ 17:04 (quit) ssbr: Ping timeout: 252 seconds 17:22 (join) masm 17:22 (quit) samth: Ping timeout: 250 seconds 17:23 (join) samth 17:23 (join) RacketCommitBot 17:23 RacketCommitBot: [racket] plt pushed 5 new commits to master: http://git.io/KVNaHA 17:23 RacketCommitBot: [racket/master] Add a `compatibility' collect for compatibility with other languages. - Vincent St-Amour 17:23 RacketCommitBot: [racket/master] Move mutable list functions to the compatibility collect. - Vincent St-Amour 17:23 RacketCommitBot: [racket/master] Add deprecation notice to the scheme language. - Vincent St-Amour 17:23 (part) RacketCommitBot 17:29 (quit) samth: Ping timeout: 246 seconds 17:29 (quit) jrslepak: Quit: This computer has gone to sleep 17:30 (join) samth 17:30 (quit) samth: Changing host 17:30 (join) samth 17:31 (quit) josdeha_rt: Remote host closed the connection 17:32 (join) anRch 17:39 (quit) samth: Ping timeout: 264 seconds 17:39 (join) samth 17:39 (quit) samth: Changing host 17:39 (join) samth 17:41 (join) josdeha_rt 17:55 (quit) samth: Ping timeout: 244 seconds 17:56 (quit) neilv: Quit: Leaving 18:26 (join) jrslepak 18:28 (quit) anRch: Quit: anRch 18:28 (join) snearch 18:29 (quit) josdeha_rt: Remote host closed the connection 18:36 (quit) nilyaK: Quit: Leaving. 18:49 (quit) MayDaniel: Read error: Connection reset by peer 19:11 (quit) snearch: Quit: Verlassend 19:17 (join) bjz 19:19 (quit) chturne: Ping timeout: 272 seconds 19:26 (quit) bjz: Quit: Bye! 19:32 (join) cdidd 19:40 (quit) mithos28_: Read error: Connection reset by peer 19:40 (join) mithos28 20:08 (quit) masm: Quit: Leaving. 20:15 (quit) stchang: Read error: Operation timed out 20:16 (quit) mithos28: Read error: Connection reset by peer 20:16 (join) mithos28_ 20:17 (join) stchang 20:43 (quit) jonrafkind: Ping timeout: 264 seconds 21:00 (quit) dzhus: Read error: Operation timed out 21:43 (join) ozzloy 22:16 (join) rbarraud 22:22 (quit) mithos28_: Read error: Connection reset by peer 22:22 (join) mithos28 22:55 (join) jonrafkind 22:55 (quit) jonrafkind: Changing host 22:55 (join) jonrafkind 23:32 (quit) getpwnam: Ping timeout: 246 seconds 23:32 (quit) hash_table: Ping timeout: 246 seconds 23:43 (part) lewis1711