00:02 (quit) jao: Ping timeout: 252 seconds 00:23 (quit) dyoo: Ping timeout: 264 seconds 00:27 (join) moshi` 00:51 (quit) dnolen: Quit: ERC Version 5.3 (IRC client for Emacs) 01:14 (quit) moshi`: Remote host closed the connection 01:38 (quit) em: Ping timeout: 255 seconds 01:40 (quit) jeapostrophe: Ping timeout: 252 seconds 01:40 (join) em 01:45 (quit) em: Ping timeout: 240 seconds 01:46 (join) em 01:52 (quit) em: Ping timeout: 240 seconds 01:53 (join) em 01:53 (quit) yoklov: Quit: computer sleeping 01:56 (quit) Shvillr: Ping timeout: 248 seconds 01:57 (join) Shvillr 01:58 (quit) em: Ping timeout: 244 seconds 01:59 (quit) dous_: Remote host closed the connection 01:59 (join) em 02:05 (quit) em: Ping timeout: 245 seconds 02:06 (join) em 02:11 (quit) em: Ping timeout: 240 seconds 02:13 (join) em 02:18 (quit) em: Ping timeout: 252 seconds 02:19 (join) em 02:25 (quit) em: Ping timeout: 276 seconds 02:26 (join) em 02:27 (quit) jonrafkind: Ping timeout: 260 seconds 02:31 (quit) em: Ping timeout: 252 seconds 02:33 (join) em 02:38 (quit) em: Ping timeout: 252 seconds 02:39 (join) em 02:45 (join) sindoc 02:45 (quit) em: Ping timeout: 272 seconds 02:46 (join) em 02:52 (quit) em: Ping timeout: 272 seconds 02:53 (join) em 02:58 (quit) em: Ping timeout: 255 seconds 03:12 (join) bluezenix 03:30 (join) Blkt 03:43 (join) DGASAU` 03:44 (nick) DGASAU` -> DGASAU 03:47 (join) dous 03:49 (join) bluezenix1 03:49 (quit) bluezenix: Ping timeout: 244 seconds 03:51 (quit) Shviller: Ping timeout: 252 seconds 03:51 (join) Shviller 04:06 (quit) sindoc: Quit: Leaving. 04:10 (quit) dous: Read error: Connection reset by peer 04:12 (join) dous 04:39 (join) mceier 04:50 (join) dous_ 04:53 (quit) dous: Ping timeout: 240 seconds 04:56 (quit) kvda: Quit: x___x 04:58 (quit) mithos28: Quit: mithos28 05:12 (join) sindoc 05:17 (quit) jyc: Ping timeout: 252 seconds 05:57 (join) masm 06:05 (quit) dous_: Remote host closed the connection 06:16 (quit) bluezenix1: Quit: Leaving. 06:34 (join) emma 06:43 (join) bluezenix 06:46 (join) noelw 07:36 (join) RPR 07:54 (join) jeapostrophe 07:55 (quit) RPR: Remote host closed the connection 08:06 (quit) jeapostrophe: Ping timeout: 272 seconds 08:20 (join) dous 08:21 (join) jeapostrophe 08:22 (nick) chaozzbubi -> ChaozZBubi 08:28 (quit) jeapostrophe: Ping timeout: 272 seconds 08:28 (quit) Lajla: Ping timeout: 248 seconds 08:31 (join) jrslepak 08:43 (quit) jrslepak: Quit: This computer has gone to sleep 08:53 (join) jrslepak 08:53 (join) yoklov 08:54 (join) kanak 09:07 (quit) yoklov: Quit: computer sleeping 10:25 (join) jeapostrophe 10:27 (nick) jschuster_away -> jschuster 10:47 (quit) jeapostrophe: Ping timeout: 252 seconds 10:47 (quit) snorble: Read error: Connection reset by peer 10:59 (nick) jschuster -> jschuster_away 11:01 (join) marcelli 11:02 (join) snorble 11:05 (quit) SHODAN: Remote host closed the connection 11:06 (join) SHODAN 11:07 (quit) snorble: Ping timeout: 245 seconds 11:15 (nick) jschuster_away -> jschuster 11:17 (part) marcelli 11:19 (join) snorble 11:22 (nick) samth -> samth_away 11:33 (join) DanBurton 11:33 (quit) SeanTAllen: Remote host closed the connection 11:42 DanBurton: Question about Typed Racket and Values http://pastebin.com/Hy4guAna 11:46 noelw: IIRC it should be (Values Integer Integer) 11:47 DanBurton: oh you're right. I copied it wrong >,< 11:47 (join) jeapostrophe 11:48 DanBurton: corrected: http://pastebin.com/FzBxJjWY 11:48 DanBurton: without the parens around (Values Integer Integer) it's an entirely different and helpful error message 11:49 DanBurton: with correct syntax, it says that Values is an unbound type name, even though the TR reference disagrees http://docs.racket-lang.org/ts-reference/type-ref.html#(form._((lib._typed-racket/base-env/base-types-extra..rkt)._.Values)) 11:51 (join) yoklov 11:51 (quit) yoklov: Remote host closed the connection 11:52 rapacity: in the older versions I remember it used to be "values" the v lowercase 11:53 DanBurton: rapacity: oh hey look that makes it work :) 11:53 DanBurton: using DrRacket 5.1.3 11:55 rapacity: it works as expected on v5.2.1.3 11:55 rapacity: not sure when they made the change 11:56 (join) SeanTAllen 11:58 (quit) bluezenix: Quit: Leaving. 12:00 DanBurton: upgraded to the regularly distributed 5.2, capitalized Values as a type works correctly 12:01 (join) dnolen 12:01 (quit) jrslepak: Quit: This computer has gone to sleep 12:06 (join) anRch 12:09 (join) MayDaniel 12:12 (quit) noelw: Quit: noelw 12:21 (join) dous_ 12:21 (nick) jschuster -> jschuster_away 12:23 (quit) dous: Ping timeout: 240 seconds 12:24 (join) JoelMcCracken 12:30 (join) gciolli 12:30 (quit) Blkt: Read error: Connection reset by peer 12:35 (quit) gciolli: Ping timeout: 276 seconds 12:43 (quit) anRch: Quit: anRch 12:44 DanBurton: translating a file to typed racket. Finally got past the trivial errors, now it apparently makes it to the next pass of typechecking. 111 type errors encountered xD 12:44 (join) mithos28 12:48 (quit) DanBurton: Quit: Leaving 12:52 (join) samth 12:56 (quit) samth: Ping timeout: 244 seconds 12:59 ASau: Hm. 12:59 ASau: Who is moderating development list then?.. 13:00 ASau: eli? 13:07 (join) jonrafkind 13:10 (quit) MayDaniel: Read error: Connection reset by peer 13:12 (nick) jschuster_away -> jschuster 13:13 (nick) jschuster -> jschuster_away 13:13 (join) Lajla 13:22 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/WcBSdw 13:22 RacketCommitBot: [racket/master] improve docs for `cast' with warnings about potential bugs - Matthew Flatt 13:22 RacketCommitBot: [racket/master] racket/gui: correct some casts in GUI bindings - Matthew Flatt 13:32 (join) jrslepak 13:44 eli: ASau: I let it through, but sending an email and waiting for my approval is a very bad way of doing it. Please see the reply that was sent and subscribe to the list. 13:52 (join) bluezenix 13:56 (join) bluezenix1 13:58 (quit) bluezenix: Ping timeout: 244 seconds 14:04 (join) anRch 14:10 (quit) sindoc: Quit: Leaving. 14:12 (join) freakazoid 14:25 (join) kudkudyak 14:26 (quit) anRch: Ping timeout: 252 seconds 14:27 (join) anRch 14:31 (quit) JoelMcCracken: Ping timeout: 248 seconds 14:31 (quit) kudkudyak: Read error: Connection reset by peer 14:33 (join) kudkudyak 14:35 ASau: eli: alright, at list you provide the feature of not getting all the mail from the list. 14:36 eli: ASau: Not me, it's a standard mailman feature, and I didn't see any mailing list that didn't have it. 14:36 offby1: eli: any notion what might be causing rudybot to complain about "`exists' access denied for /usr/local/src/rudybot/"? 14:36 offby1: rudybot: (dict-update '((a . 9) (b . 2) (a . 1)) 'a add1 0) 14:36 rudybot: *offby1: error: current-directory: `exists' access denied for /usr/local/src/rudybot/ 14:36 offby1: tewtally baffling 14:37 eli: offby1: Probably contracts. There was a recent discussion about the problem and how it could be resolved. 14:39 (nick) samth_away -> samth 14:41 samth: eli: offby1 wouldn't have seen that discussion though, since it was in a bug 14:42 eli: It doesn't matter though. 14:49 offby1: hm, rudybot doesn't use contracts. 14:49 offby1: I don't think. 14:49 offby1: unless you're talking about contracts being used internally by some racket library or other. 14:49 samth: offby1: there are contracts in racket/dict 14:50 offby1: ah, ok 14:56 jaimef: wow offby1 is here 14:56 jaimef: and rubybot :P 14:58 (join) jao 14:58 eli: offby1: Yes, it's using a contracted function that seem to trigger it. I can find the bug number if you really want to see the details. (But it's really not important, since there's no much you can do ATM besides including these paths explicitly.) 15:01 offby1: jaimef: this is surprising? 15:01 (quit) dous_: Remote host closed the connection 15:01 offby1 is always here 15:03 offby1: eli: hm. It _would_ be nice to have a workaround. When you say "including these paths explicitly", do you mean adding something like (require "collects/dict/whatever.rkt")? 15:06 (quit) anRch: Quit: anRch 15:09 jaimef: offby1 I was thinking I knew you from another channel 15:10 eli: offby1: Try to put this somehwere at the beginning: (sandbox-path-permissions '([exists "/"])) 15:10 eli: or around the point that creates a sandbox. 15:10 eli: It allows "exist" queries for any path in the system, but that's not a big deal in terms of security. 15:12 eli: (But I think that it's sufficient to include only the paths in your $PATH since those are those that lead to the problem. Not sure about it though.) 15:12 (join) sindoc 15:14 (join) DanBurton 15:14 offby1: eli: will d. 15:14 offby1: eli: will do. 15:15 offby1: Oh, I'll probably have to reboot rudybot though, since the automatic module reloading hasn't worked in a while. (Although I wouldn't be surprised if it's broken for exactly this same reason, so perhaps this'll be the last reboot I'll need.) 15:17 eli: offby1: IIRC, the sandbox file is not a reloadable one. 15:17 offby1: there is also that 15:36 (join) samth_ 15:36 (quit) samth_: Remote host closed the connection 16:02 (quit) rudybot: Remote host closed the connection 16:02 offby1: OK, rebooting rudybot now 16:03 (join) rudybot 16:03 offby1: rudybot: (dict-update '((a . 9) (b . 2) (a . 1)) 'a add1 0) 16:04 (join) MayDaniel 16:04 offby1 drums fingers 16:04 rudybot: offby1: error: with-limit: out of time 16:04 offby1: figures 16:04 (nick) ChaozZBubi -> chaozzbubi 16:07 (quit) dnolen: Ping timeout: 264 seconds 16:15 offby1: gaah, adding the "exists" permission merely replaced one bug with another: 16:15 offby1: rudybot: (dict-update '((a . 9) (b . 2) (a . 1)) 'a add1 0) 16:15 rudybot: offby1: error: car: expects argument of type ; given #f 16:15 (quit) MayDaniel: Read error: Connection reset by peer 16:35 (quit) SHODAN: *.net *.split 16:35 (join) SHODAN 16:37 scyrmion: I might be unattentive, but how do you search planet? 16:37 scyrmion: Is it limited to only the list on that front page? 16:38 samth: scyrmion: yes 17:01 (join) yoklov 17:06 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/qY7mnQ 17:06 RacketCommitBot: [racket/master] Sort out stuff around `timeout-control'. - Eli Barzilay 17:07 (join) dnolen 17:09 (join) karswell 17:09 eli: rudybot: (dict-update '((a . 9) (b . 2) (a . 1)) 'a add1 0) 17:09 rudybot: eli: your sandbox is ready 17:09 rudybot: eli: error: car: expects argument of type ; given #f 17:10 (quit) karswell__: Ping timeout: 240 seconds 17:11 eli: rudybot: (version) 17:11 rudybot: eli: ; Value: "5.2" 17:11 eli: offby1: (No idea what's wrong.) 17:20 offby1: :-( 17:20 offby1: well, on the plus side, I figured out how to emulate "clearenv" on OS X 17:35 (part) freakazoid: "Textual IRC Client: http://www.textualapp.com/" 17:38 (quit) jrslepak: Quit: This computer has gone to sleep 17:54 (quit) jeapostrophe: Ping timeout: 240 seconds 17:54 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/HXKjDw 17:54 RacketCommitBot: [racket/master] Updated HISTORY. - John Clements 17:59 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/M8aA8w 17:59 RacketCommitBot: [racket/master] PLoT documentation for new renderers and plot/utils (code changes are only to move code around so a previously public function could be public again) - Neil Toronto 17:59 RacketCommitBot: [racket/master] Removed test byproducts accidentally committed in d020c75202f92873d02998b81bfc4085506df5cf - Neil Toronto 18:03 (join) ASau` 18:07 (join) danlndi 18:07 danlndi: is there a way to do keyword named parameter syntax? 18:07 (quit) ASau: Ping timeout: 245 seconds 18:07 (quit) DanBurton: Quit: Leaving 18:10 (join) jyc 18:12 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/Ef50iw 18:12 RacketCommitBot: [racket/master] db: added #:use-sources for db/base exports - Ryan Culpepper 18:30 (nick) emma -> em 18:32 (quit) dnolen: Quit: Page closed 18:33 (join) realitygrill_ 18:33 (quit) realitygrill: Read error: Connection reset by peer 18:33 (nick) realitygrill_ -> realitygrill 18:38 (join) jeeve 18:39 offby1: danlndi: not sure what you mean. Racket certainly allows you to define functions that take keyword arguments. 18:40 offby1: rudybot: doc keyword 18:40 rudybot: offby1: no docs for a current binding, but provided by: syntax/parse 18:40 offby1: rudybot: doc keyword? 18:40 rudybot: offby1: http://docs.racket-lang.org/reference/keywords.html#(def._((quote._~23~25kernel)._keyword~3f)) 18:49 (quit) mceier: Quit: leaving 18:50 ozzloy: rudybot, hug! 18:50 rudybot: ozzloy: lets hug, and cuddle. 18:50 ozzloy: 0.0 18:50 ozzloy: unexpected 18:51 offby1: EBOTCREEPY 19:07 (quit) jeeve: Ping timeout: 264 seconds 19:08 (join) dsantiag_ 19:09 (quit) abbe: Excess Flood 19:10 (quit) dsantiago: Ping timeout: 272 seconds 19:10 (nick) dsantiag_ -> dsantiago 19:10 (join) abbe_ 19:11 (quit) abbe_: Changing host 19:11 (join) abbe_ 19:11 (nick) abbe_ -> abbe 19:13 (quit) sindoc: Quit: Leaving. 19:13 (quit) bluezenix1: Quit: Leaving. 19:34 (join) sindoc 19:34 (quit) sindoc: Client Quit 19:38 bremner: anyone know if I can just reply by mail to the Racket bug tracker? 19:39 offby1: you'd think I'd know that 19:41 jonrafkind: you can yes 19:42 bremner: it uses the subject? 19:43 jonrafkind: to correlate your response with the bug? i dunno 19:43 jonrafkind: probably 19:43 jonrafkind: it works if you dont mess with it 19:51 danlndi: offby1: i'm looking for syntax transformers that take keyword parameters 19:58 (quit) jonrafkind: Ping timeout: 240 seconds 20:02 (quit) masm: Ping timeout: 248 seconds 20:07 (join) masm 20:09 danlndi: I've triggered a ": expects args of type ; given instance of a different " error. But they are the same structure types! 20:11 (quit) masm: Ping timeout: 252 seconds 20:16 (join) masm 20:17 (join) dous 20:21 (quit) masm: Ping timeout: 260 seconds 20:26 (join) masm 20:30 (quit) masm: Ping timeout: 260 seconds 20:43 (join) masm 20:46 (quit) mithos28: Read error: Connection reset by peer 20:47 (join) mithos28 21:01 (part) masm 21:09 (join) jeapostrophe 21:52 (quit) jao: Ping timeout: 240 seconds 21:52 RacketCommitBot: [racket] plt pushed 4 new commits to release: http://git.io/QHGAEA 21:52 RacketCommitBot: [racket/release] try to fix Win64 installer: "Program Files (x86)" => "Program Files" - Matthew Flatt 21:52 RacketCommitBot: [racket/release] Updated HISTORY. - John Clements 21:52 RacketCommitBot: [racket/release] PLoT documentation for new renderers and plot/utils (code changes are only to move code around so a previously public function could be public again) - Neil Toronto 21:56 (join) veer 22:21 (join) jrslepak 22:22 (join) dnolen 22:24 offby1: danlndi: I've seen that too; don't know what causes it 22:34 (join) Demosthenes 22:53 (join) jonrafkind 23:07 (join) ben_ 23:07 ben_: i have a question 23:07 (quit) ivan`: Quit: ERC Version 5.3 (IRC client for Emacs) 23:08 ben_: is there a function that choose a picture from a select group? 23:08 ben_: like if i have 50 pictures and it'll pick 1 of those at random 23:09 ben_: anyone there? 23:10 jonrafkind: whats a group 23:10 jonrafkind: a list? 23:10 jonrafkind: you could do (list-ref group (random (length group))) 23:10 ben_: idk I'm trying to create a black jack function and i defined 52 cards with images 23:10 ben_: im in highschool messing around 23:11 ben_: so it needs to select a random card of if possible 23:12 ben_: kk i think i can make that work thanks 23:13 mithos28: ben_: you might also want to look at shuffle from racket/list 23:13 mithos28: rudybot: doc shuffle 23:13 rudybot: mithos28: your sandbox is ready 23:13 rudybot: mithos28: http://docs.racket-lang.org/reference/pairs.html#(def._((lib._racket%2Flist..rkt)._shuffle)) 23:14 ben_: lots of thanks 23:15 (quit) veer: Ping timeout: 276 seconds 23:17 (join) veer 23:17 (join) ivan` 23:28 ben_: So I'm new to Programming, DrRacket and lists, if this is not what this chat is for please tell me so I'm not bother anyone but.. 23:28 ben_: If I were to create a list for this function it would be like (list *card image* *card image* etc) or somthing like that then (list-ref list (random (length list))) 23:29 jonrafkind: yea pretty much 23:31 ben_: do i need to define a list like cardlist or something? 23:31 jonrafkind: yea 23:31 jonrafkind: (define cardlist (list ...)) 23:36 ben_: Last question (define cardlist (list card1 card2 etc.)) - (list-ref cardlist (random (length cardlist))) is there a way to mark something as selected? 23:37 ben_: so it won't choose something twice 23:37 offby1: why not shuffle the list, then cdr down that? 23:37 jonrafkind: offby1, now try again, but pretend you're talking to a beginner 23:38 (quit) Demosthenes: Read error: Connection reset by peer 23:38 ben_: yes I'm in high school and have been sort of teaching myself racket a lot doesn't make sense 23:38 offby1: rudybot: (let ([deck (build-list 52 values)]) (let loop ([shuffled (shuffle deck)]) (when (not (null? shuffled)) (printf "Fiddling ~a~%" (car shuffled)) (loop (cdr shuffled))))) 23:38 rudybot: offby1: ; stdout: "Fiddling 11\nFiddling 18\nFiddling 46\nFiddling 0\nFiddling 29\nFiddling 1\nFiddling 8\nFiddling 9\nFiddling 12\nFiddling 41\nFiddling 25\nFiddling 22\nFiddling 31\nFiddling 23\nFiddling 48\nFiddling 14\nFiddling 32\nFiddling 44\nFiddling 2\nFiddling 13\nFiddling 27\nFiddling 21\nFiddling 45\nFiddling 51\nFiddling 33\nFiddling 40\nFiddling 36\nFiddling 10\nFiddling 50\nFiddling 38\nFiddling 26\nFiddling 23:39 offby1: why not shuffle the list, then process each element of that shuffled list in turn? 23:39 offby1: (better?) 23:39 offby1: being in high school is no excuse! 23:39 ben_: yes I can try and figure that out and i know =p 23:40 offby1 waggles a finger 23:40 offby1: why, when I was your age ... 23:40 offby1: etc etc 23:40 offby1: actually somewhere I have a program that deals out a deck of cards ... 23:41 ben_: what I'm trying to do =) but mine has numerous problems 23:45 offby1: actually, to answer your question directly -- yes, there are lots of ways to mark something as selected. I suspect doing so is a bad idea, but you can do it. 23:45 offby1: One way is to keep another variable that is, say, a set of cards. 23:46 offby1: you could look in the set to see if a card has already been chosen; then if you do choose it, you add the card to the set. 23:46 (quit) veer: Ping timeout: 240 seconds 23:46 offby1: This would probably be slower than ideal, since towards the end, you'd have to try and fail about 51 times before you stumbled onto the one remaining unchosen card. 23:48 ben_: oooooh I see, and I understand before so I shuffle the list and then select the card at random 23:48 offby1: well, not quite 23:48 ben_: oh 23:48 offby1: I'd shuffle the list, and then I'd just select the first card from that shuffled list ... then I'd select the second card ... then the third ... etc 23:48 offby1: that way I'm choosing the cards at random 23:48 offby1: and it's super-easy 23:48 offby1: rudybot: (build-list 10 values) 23:48 rudybot: offby1: ; Value: (0 1 2 3 4 5 6 7 8 9) 23:48 offby1: rudybot: (shuffle (build-list 10 values)) 23:48 rudybot: offby1: ; Value: (6 7 5 2 0 3 4 8 9 1) 23:49 offby1: rudybot: (for ([card (shuffle (build-list 10 values))]) (displayln card)) 23:49 rudybot: offby1: ; stdout: "4\n3\n2\n7\n1\n8\n0\n9\n6\n5\n" 23:49 offby1: etc etc 23:49 offby1: rudybot: (values (shuffle (build-list 5 values))) 23:49 rudybot: offby1: ; Value: (2 0 4 3 1) 23:49 offby1: rudybot: (apply values (shuffle (build-list 5 values))) 23:49 rudybot: offby1: ; Value: 4 23:49 rudybot: offby1: ; Value#2: 0 23:49 rudybot: offby1: ; Value#3: 1 23:49 rudybot: offby1: ; Value#4: 2 23:49 rudybot: offby1: ; Value#5: 3 23:49 offby1 whistles innocently 23:50 ben_: yes I see what you are saying 23:50 offby1: \o/ 23:50 offby1: the less bookkeeping, the better, I say. 23:52 ben_: I will experiment wit this, thanks 23:52 offby1: keep coming back! 23:52 offby1: one day at a time! 23:53 (nick) ASau` -> ASau 23:53 ben_: I will and ill try and finish this one thing tongiht 23:56 ben_: Will certain functions not be available depending on my language I selected at bottom of DrRacket, mine is beginning student 23:57 offby1: exactly. 23:58 offby1: the student languages are, if I understand correctly, designed to be easy to understand and explain, and to give good error messages. 23:58 offby1: for reasons I don't understand, this requires that they not include some functions. 23:58 (join) veer 23:59 ben_: yeah, that makes sense a guess shuffle isn't beginner Ill change it now