00:15 (join) jeapostrophe 00:19 (quit) jeapostrophe: Read error: Operation timed out 00:45 (join) cdidd 01:19 (quit) jonrafkind: Ping timeout: 260 seconds 01:43 (quit) EmmanuelOga: Ping timeout: 244 seconds 02:09 (join) jeapostrophe 02:26 (join) dme 02:27 (nick) offby1` -> offby1 02:27 (nick) offby1 -> 64MAASWU4 02:28 (nick) 64MAASWU4 -> offby1 02:29 (join) bluezenix 02:29 (join) sid0 02:42 (quit) realitygrill: Quit: realitygrill 02:42 (quit) jaimef: Excess Flood 02:43 (join) jaimef 02:55 (join) hkBst 02:55 (quit) hkBst: Changing host 02:55 (join) hkBst 03:01 (join) hkBst_ 03:01 (quit) hkBst_: Changing host 03:01 (join) hkBst_ 03:01 (quit) hkBst: Read error: Connection reset by peer 03:12 (quit) hkBst_: Read error: Connection reset by peer 03:14 (join) hkBst_ 03:15 (join) sindoc 03:20 (quit) dme: Ping timeout: 240 seconds 03:22 (quit) jeapostrophe: Ping timeout: 245 seconds 03:28 (join) gciolli 03:47 (join) Sicp 03:47 (quit) Sicp: Changing host 03:47 (join) Sicp 04:22 (join) Patterngazer_ 04:25 (quit) mithos28: Quit: mithos28 04:45 (quit) lnostdal: Ping timeout: 272 seconds 04:50 (quit) Sicp: Quit: Leaving 04:52 (join) lnostdal 04:54 (join) sindoc1 04:54 (quit) sindoc: Read error: Connection reset by peer 04:55 (join) sindoc 04:55 (quit) sindoc1: Read error: Connection reset by peer 04:56 (part) sindoc 04:59 (join) dzhus 05:02 (join) mario-go` 05:03 (join) Skola 05:04 (quit) mario-goulart: Ping timeout: 272 seconds 05:06 (quit) bluezenix: Quit: Leaving. 05:08 (join) bluezenix 05:09 (join) mceier 05:10 (join) bluezenix1 05:12 (quit) bluezenix: Ping timeout: 244 seconds 05:19 (quit) dzhus: Read error: Connection reset by peer 05:21 (join) rmrfchik_ 05:21 (quit) rmrfchik_: Client Quit 05:22 (join) rmrfchik 05:32 (nick) mario-go` -> mario-goulart 05:48 (quit) bluezenix1: Quit: Leaving. 05:54 (join) bluezenix 05:55 (join) dme 05:59 (quit) bluezenix: Client Quit 06:09 (join) masm 06:21 (join) MayDaniel 06:54 (join) vkz 07:09 Skola: what's the way to generate a list of numbers within a certain range? 07:09 Skola: the preferred way* 07:15 noelw: (for/list ([i (in-range min max)]) i) 07:17 (quit) Skola: Remote host closed the connection 07:18 (join) Skola 07:30 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/cxvHBA 07:30 RacketCommitBot: [racket/master] Increase default timeout to 15m. - Eli Barzilay 07:31 (join) EmmanuelOga 07:37 (quit) dme: Ping timeout: 248 seconds 07:59 (quit) Skola: Ping timeout: 240 seconds 07:59 (quit) duomo: Quit: Linkinus - http://linkinus.com 08:16 (join) dzhus 08:16 (join) Skola 08:17 (quit) Skola: Remote host closed the connection 08:19 (quit) francisl: Quit: francisl 08:19 (join) asdfhjkl 08:25 (quit) jrslepak: Quit: This computer has gone to sleep 08:29 (quit) ivan\: Ping timeout: 272 seconds 08:30 (join) Sicp 08:30 (quit) Sicp: Changing host 08:30 (join) Sicp 08:33 (join) ivan\ 08:36 (quit) vkz: Quit: vkz 08:38 RacketCommitBot: [racket] plt pushed 6 new commits to master: http://git.io/VaWPGg 08:38 RacketCommitBot: [racket/master] add release note about `handle-evt' - Matthew Flatt 08:38 RacketCommitBot: [racket/master] fix CPP mistake - Matthew Flatt 08:38 RacketCommitBot: [racket/master] ffi: fix `_x-pointer/null' when `_x' has a supertype - Matthew Flatt 08:43 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/9RxWIA 08:43 RacketCommitBot: [racket/master] mflatt responsible for collects/mzlib - Sam Tobin-Hochstadt 08:53 (quit) Sicp: Quit: Leaving 08:53 (join) Sicp 08:58 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/qyZ5XQ 08:58 RacketCommitBot: [racket/master] Set eli as responsible for files in tests. - Sam Tobin-Hochstadt 09:02 (quit) EmmanuelOga: Ping timeout: 244 seconds 09:05 (join) jrslepak 09:09 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/TGHKuw 09:09 RacketCommitBot: [racket/master] Remove erroneous file, and add an ignore rule for it. - Eli Barzilay 09:15 (quit) dspt: Ping timeout: 248 seconds 09:18 (join) sindoc 09:20 (join) jeapostrophe 09:22 (join) dspt 09:26 (quit) angusiguess: Read error: Connection reset by peer 09:27 (join) angusiguess 09:37 (quit) jrslepak: Quit: This computer has gone to sleep 09:38 (join) francisl 09:46 (join) jrslepak 09:55 (join) dme 10:02 (quit) dzhus: Remote host closed the connection 10:03 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/NOtgZg 10:03 RacketCommitBot: [racket/master] Docs: fix example in FFI intro - Asumu Takikawa 10:04 (part) sindoc 10:10 (join) sindoc1 10:10 (part) sindoc1 10:11 (join) Shvillr_ 10:11 (quit) Shvillr: Ping timeout: 265 seconds 10:14 samth: rudybot: welcome back! 10:14 rudybot: samth: youre welcome 10:14 samth: offby1: you too :) 10:18 (join) realitygrill 10:24 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/IM5l9w 10:24 RacketCommitBot: [racket/master] Remove guibuilder. See mred-designer on planet for a maintained alterative. - Sam Tobin-Hochstadt 10:24 samth: today's the day for deleting code! 10:25 asumu: samth: Nice. I'm glad since guibuilder was the source of at least one DrRacket crash. 10:25 asumu: (though only if you built the full distribution and did something weird) 10:26 samth: asumu: and now i get to close 2 bugs :) 10:42 (quit) Patterngazer_: Quit: REALITY.SYS Corrupted: Re-boot universe? (Y/N/Q) 10:44 (quit) jrslepak: Quit: This computer has gone to sleep 10:47 (quit) hkBst_: Quit: Konversation terminated! 10:55 (join) Shvillr 10:57 (quit) MayDaniel: Read error: Connection reset by peer 10:58 (quit) Shviller: Ping timeout: 260 seconds 11:01 (nick) jschuster_ -> jschuster 11:10 (join) EmmanuelOga 11:17 (quit) asdfhjkl: Quit: Leaving 11:21 (join) MayDaniel 11:23 samth: rudybot: eval 3 11:23 rudybot: samth: error: procedure get-sandbox-by-name: expects 2 arguments plus optional arguments with keywords #:force/new?, #:lang, and #:timeout-seconds, given 4: '#hash() "samth" 'racket '#&#f 11:24 samth: offby1: something seems off here 11:25 (join) dzhus 11:26 (quit) angusiguess: Read error: Connection reset by peer 11:27 (join) angusiguess 11:36 (join) anRch 11:39 (quit) jaimef: Read error: No route to host 11:40 tonyg: Is there some way of constructing some new type (e.g. a struct) that causes equal? to raise an exception when it's used on instances of the new type? I have a non-free datatype and I want some assurance I'm not using equal? where I shouldn't. 11:40 (quit) MayDaniel: Read error: Connection reset by peer 11:41 (join) dnolen 11:42 tonyg: ooo I guess I could use prop:equal+hash perhaps?? 11:43 (join) MayDaniel 11:57 Sicp: I want to create a text area for an IRC client like the one in Xchat or others, what UI widget should I use? 12:07 Sicp: cause canvas is not the right thing to do 12:19 (quit) dme: Ping timeout: 255 seconds 12:23 (join) pql 12:26 (part) pql 12:26 (quit) anRch: Quit: anRch 12:29 (join) jonrafkind 12:32 (join) anRch 12:33 (quit) realitygrill: Quit: realitygrill 12:39 (join) mithos28 12:41 (join) realitygrill 12:52 (quit) anRch: Quit: anRch 12:58 (join) dme 12:59 (join) sindoc 13:02 (quit) realitygrill: Quit: realitygrill 13:13 (quit) jeapostrophe: Ping timeout: 252 seconds 13:24 (join) bluezenix 13:29 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/N5fg2Q 13:29 RacketCommitBot: [racket/master] racket/draw: change font face name interpretation again - Matthew Flatt 13:39 (join) dous_ 13:41 (quit) dous: Ping timeout: 240 seconds 13:50 (join) jeapostrophe 14:04 (join) Fare 14:05 (quit) dnolen: Ping timeout: 245 seconds 14:08 (quit) gciolli: Ping timeout: 252 seconds 14:10 (join) dnolen 14:10 (join) anRch 14:28 (nick) danking_ -> danking 14:36 (quit) jeapostrophe: Ping timeout: 248 seconds 14:36 (quit) Sicp: Quit: Leaving 14:41 (quit) tonyg: Quit: leaving 14:47 (join) Sicp 15:00 (join) jeapostrophe 15:01 (join) fftb 15:04 Sicp: can't I utilize (current-date) simply by (require racket/date)? 15:04 Sicp: nevermind, yes I can 15:06 (quit) anRch: Quit: anRch 15:18 asumu: Sicp: text% probably. 15:19 Sicp: yea I got that a long time ago 15:19 Sicp: thanks 15:19 asumu: Alright. Make sure to look in framework if you want more features out of a text% though. 15:19 Sicp: yea 15:19 (quit) jeapostrophe: Ping timeout: 245 seconds 15:19 Sicp: something's up now 15:19 Sicp: I want to create a file based on the result of a regexp on (current-date) 15:20 (quit) mceier: Read error: Operation timed out 15:20 Sicp: one moment 15:21 Sicp: (define fileName (string-append day " " month " " year ".txt")) 15:21 Sicp: no good? 15:21 Sicp: given a casual usage, just anywhere 15:24 (join) mceier 15:26 asumu: Sicp: build-path is better than string-append 15:27 Sicp: I'm encountering this, because of not understand the scope of the regexp and what I group from it 15:28 Sicp: hold please 15:29 Sicp: http://pastebin.com/z5VD8283 15:29 Sicp: that 15:29 Sicp: it's been determined that (current-date) doesn't output as a string literal, but that error is talking about something else 15:30 Sicp: the fact that I can't just define something in there and not use it in that very scope 15:37 (quit) fftb: Remote host closed the connection 15:43 asumu: Sicp: Your match clause doesn't ever output anything. 15:44 asumu: You have to return filename. "fileName" 15:45 (join) gciolli 15:51 asumu: Sicp: BTW, you probably want to convert the date to a string or use struct* to match on a date. 15:51 Sicp: I am trying to convert, number->string is not working 15:51 Sicp: nor is (format "~a~a...) 15:53 asumu: Sicp: How about date->string? 15:54 stamourv: Sicp: The main problem is that you're using a regexp to match a struct. That can't work. 15:54 stamourv: rudybot: doc current-date 15:54 rudybot: stamourv: error: procedure get-sandbox-by-name: expects 2 arguments plus optional arguments with keywords #:force/new?, #:lang, and #:timeout-seconds, given 4: '#hash() "stamourv" 'racket '#&#f 15:54 stamourv: ... thank you? 15:55 asumu: Sicp: also see http://stackoverflow.com/questions/8182452/pattern-matching-with-kleene-star-on-structure-type-in-racket 15:55 rudybot: http://tinyurl.com/7jboqdo 15:55 Sicp: *explodes* 15:56 (quit) gciolli: Quit: Leaving. 15:56 (join) vkz 15:59 Sicp: sam tobin is everywhere 16:05 Sicp: I try to build-path on fileName which is defined as empty, and I get "1st argument was empty, others were "the actual date"" 16:05 Sicp: of course it's empty! 16:05 Sicp: I'm using you to FILL IT! 16:26 (join) guy 16:27 guy: I have a question regarding places 16:27 (nick) guy -> Guest20409 16:28 Guest20409: I'm using places to parallelize a duplicate-finder utility program 16:28 Guest20409: each directory or sub-directory gets run in a new place 16:28 Guest20409: but when I have lots of subdirectories I get this error: 16:29 Guest20409: "dup: error duplicating file descriptor (Too many open files; errno=24)" 16:29 Guest20409: any suggestions 16:29 Guest20409: ? 16:29 Guest20409: this is my first time doing parallel programming in Racket 16:29 Guest20409: but I've done it in other languages before 16:29 samth: Guest20409: there are limits on the number of open files a process can have 16:29 Guest20409: is that an OS thing? 16:30 samth: you should probably try to limit the total number places you create 16:30 Guest20409: or a Racket VM thing? 16:30 samth: yes, this is an OS limit 16:30 Guest20409: ok 16:30 samth: so you should have worker places, and send them work as they finish 16:30 samth: that way you won't open too many files before you close the earlier ones 16:30 Guest20409: is there a way in Racket to query how many cores are available? 16:30 Guest20409: or should I just choose an arbitrary number? 16:31 Sicp: major FFFUUU, major.. 16:32 samth: Guest20409: use (processor-count) 16:33 samth: rudybot: doc processor-count 16:33 rudybot: samth: error: procedure get-sandbox-by-name: expects 2 arguments plus optional arguments with keywords #:force/new?, #:lang, and #:timeout-seconds, given 4: '#hash() "samth" 'racket '#&#f 16:33 Guest20409: samth: awesome, thanks! 16:35 (quit) EmmanuelOga: Ping timeout: 244 seconds 16:35 tewk: wow, People are using places, I must exist. 16:37 samth: tewk: yep 16:37 (quit) Guest20409: Ping timeout: 245 seconds 16:38 tewk: On my linux system open files ulimit is 1024, I suspect he never got close to 1024 places though. 16:38 samth: tewk: i see one bug assigned to you, so you must exist 16:38 samth: but if you fix it ... 16:39 samth: tewk: more seriously, would it be possible to change setup to extract more parallelism? 16:40 samth: ie, to take jobs on a per-file basis? 16:42 Sicp: I looked into text% but got lost while looking at Framework 16:42 Sicp: I would like to know how to attach text% to frame 16:42 Sicp: I couldn't do [parent frame] 16:43 tewk: Jobs are taken on a per-file basis. The problem is when you have 4 places and 3 places are in the middle of a compile, but are waiting on a common dependency B that the fourth place is compiling. They all have to wait for the fourth place to finish compiling B. 16:45 tewk: Making a list of all files and randomly handing out tasks may work a little better. 16:54 Sicp: thanks for that link, asumu 16:54 Sicp: this is what came out of it in the end, http://pastebin.com/iZEYDJ64 17:03 (quit) francisl: Quit: francisl 17:15 samth: tewk: you should probably have the other 3 give up and try something else in that case 17:16 (quit) MayDaniel: Read error: Connection reset by peer 17:20 (join) jrslepak 17:27 (join) jeapostrophe 17:37 (join) sindoc1 17:37 (quit) sindoc: Read error: Connection reset by peer 17:41 (quit) cdidd: Remote host closed the connection 17:45 (quit) mceier: Quit: leaving 17:52 (nick) samth -> samth_away 18:02 (part) sindoc1 18:06 (quit) dzhus: Remote host closed the connection 18:06 (join) DanBurton 18:18 (quit) vkz: Quit: vkz 18:21 asumu: Sicp: for text% use an editor-canvas%. 18:21 Sicp: ah, so instead of frame%, editor-canvas% 18:21 asumu: Yes, then editor-canvas% in a frame%. 18:22 Sicp: oh 18:22 Sicp: yea 18:22 Sicp: makes sene 18:22 Sicp: +s 18:22 (quit) jonrafkind: Read error: Operation timed out 18:22 asumu: The editor-canvas% controls the actual drawing and such for an editor<%>, which does the text stuff. 18:22 asumu: (or something like that) 18:32 Sicp: it should just be a text% inside an editor-canvas% which is inside a frame% 18:32 Sicp: as I don't want the text% to be edited actually, it's just for display 18:32 (quit) bluezenix: Quit: Leaving. 18:34 (join) sindoc 18:38 (join) ararara 18:38 (join) danlndi 18:39 Sicp: but text% doesn't have any callbacks, I should be done with (define myText (new text% [parent myEditorCanvas])) 18:39 Sicp: and that should be it.. 18:39 danlndi: are the racket downloads hosted at PLT built with all optimizations? 18:40 danlndi: or... at least -O3 optimizations? 18:41 (quit) jeapostrophe: Read error: Operation timed out 18:45 (join) guy 18:46 (nick) guy -> Guest30136 18:46 Guest30136: I can't for the life of me find in the docs what the parameter is that lets you specify how many decimal places to print 18:54 ararara: Guest30136: huh. I would have thought it would be in (help format) 18:57 rapacity: real->decimal-string 18:57 rapacity: oh parameter 19:00 Guest30136: I'm still not finding it 19:01 Guest30136: I don't get what (help format) means 19:01 Guest30136: if that means the format docs, then I looked and either am blind or it's not there 19:02 (quit) dnolen: Quit: Page closed 19:02 ararara: The help form should give you help on the argument given 19:02 ararara: (help format) should open http://docs.racket-lang.org/reference/Writing.html in your browser 19:03 ararara: and it isnt there as i expected it would be 19:03 ararara is assuming Guest30136 means format parameters, like ~a 19:05 Guest30136: no sorry 19:05 Guest30136: like (parameterize (printf ...)) 19:05 Guest30136: I've used it before 19:05 Guest30136: I can't remember what it's called 19:06 Guest30136: and I don't know where to look 19:06 Guest30136: I've looked in pretty-printing, printer-extensions, and some other places I thought would make sense 19:09 (join) jonrafkind 19:10 Guest30136: to be clear, I'm using parameter in the Racket sense: http://docs.racket-lang.org/reference/parameters.html 19:11 (quit) dspt: Ping timeout: 272 seconds 19:11 ararara: Guest30136: yeah, im reading that now. Its not something ive looked at yet 19:13 Guest30136: sorry, I just barely looked into rapacity's suggestion 19:14 Guest30136: that should work fine for me 19:14 Guest30136: I thought I remembered having to parameterize something 19:14 Guest30136: and I still think there is a parameter like that 19:14 (join) dspt 19:14 Guest30136: but real->decimal-string will do the trick 19:14 Guest30136: thanks 19:16 Sicp: nice 19:21 (quit) DanBurton: Quit: Leaving 19:25 (quit) Guest30136: Ping timeout: 245 seconds 19:31 (quit) jrslepak: Quit: This computer has gone to sleep 19:35 (quit) karswell__: Read error: Connection reset by peer 19:35 (quit) dspt: Ping timeout: 255 seconds 19:37 (join) dspt 19:39 (part) sindoc 19:45 (join) karswell 19:50 (join) dnolen 19:51 (quit) jonrafkind: Ping timeout: 272 seconds 19:54 em: I think it would be cool if you could program in the browser with racket 19:55 danlndi: anyone know where I can find the definition of string-append? 19:57 em: danlndi: --- http://docs.racket-lang.org/reference/strings.html#%28def._%28%28quote._~23~25kernel%29._string-append%29%29 19:57 rudybot: http://tinyurl.com/72wvd43 19:58 asumu: danlndi: In the C code, I think. 19:59 asumu: (at src/racket/src/string.c) 19:59 em: oh he meant the code that creates the append-string procedure. I see. 20:00 danlndi: asumu: it's declared in string.c, but I don't see the definition 20:01 danlndi: asumu: ah, it's in strops.inc 20:02 danlndi: just wondering about performance... seems as good as it could be without representing strings as some sort of heap 20:08 (join) jeapostrophe 20:31 (quit) Sicp: Quit: Leaving 20:41 (quit) masm: Quit: Leaving. 20:56 (join) Sicp 20:56 (quit) Sicp: Changing host 20:56 (join) Sicp 20:58 (quit) Sicp: Client Quit 21:01 (join) ivan\_ 21:03 (quit) ivan\: *.net *.split 21:03 (quit) stchang: *.net *.split 21:03 (nick) ivan\_ -> ivan\ 21:07 (join) sousousou 21:17 (quit) dnolen: Ping timeout: 252 seconds 21:21 (quit) danlndi: Quit: leaving 21:24 (join) jrslepak 21:39 (quit) gf3: Excess Flood 21:39 (join) gf3 22:00 (quit) jeapostrophe: Ping timeout: 245 seconds 22:24 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/_30rBw 22:24 RacketCommitBot: [racket/master] Ownership props. - Eli Barzilay 22:46 (join) wally 22:47 wally: I wrote a sort program but it works most the time but sometimes it fails. Any help? 22:50 (join) dalaing1 22:53 (join) jonrafkind 22:55 wally: This is the code. I wrote sort it works most the time. Looking for help to fix. Thanks in advance for any help. http://codepad.org/Wl8K9lmC 22:58 bremner: wally: i'd start by factoring out "swap" to a seperate function, and then identify which cases it doesn't work; there are only six cases, after all. 23:09 (join) jeapostrophe 23:11 (quit) dalaing1: Quit: Leaving. 23:13 offby1 harrupmhs 23:18 offby1 harrumphs about poor spelling 23:18 (join) dalaing1 23:20 (quit) rudybot: Remote host closed the connection 23:20 (join) rudybot 23:21 offby1 twiddles thumbs 23:21 offby1: rudybot: eval 3 23:21 offby1 twiddles big toes 23:21 (part) dalaing1 23:21 rudybot: offby1: your sandbox is ready 23:21 rudybot: offby1: ; Value: 3 23:22 offby1: rudybot: let that be a lesson to you 23:22 rudybot: offby1: error: with-limit: out of time 23:22 rudybot: offby1: jaik dont let ams hassle you 23:22 offby1: that's right.