00:25 (quit) grettke: 00:31 (quit) dnolen: Quit: dnolen 01:05 (join) jonrafkind 01:13 (join) jao 01:28 (quit) jao: Ping timeout: 255 seconds 01:38 (quit) yoklov: Quit: Leaving. 01:52 jonrafkind: waaazzzzzzaaap 01:54 (nick) stchang -> s_chng 01:57 s_chng: yo 02:02 gf3: watttthhhhhhhaaaaaaaa 02:02 jonrafkind: well hell yea 02:10 (quit) realitygrill: Quit: realitygrill 02:21 (quit) jonrafkind: Ping timeout: 240 seconds 03:12 (quit) noelw_away: Ping timeout: 252 seconds 03:17 (join) Blkt 03:18 (quit) mithos28: Quit: mithos28 03:18 Blkt: good morning everyone 03:25 Gertm: I'm curious about how concurrency and multi-cpu stuff are done in Racket. Where can I get more information about that? Not on how to use it, but on how it's implemented. 03:33 (join) mithos28 03:33 (join) hkBst 03:45 (quit) _danb_: Quit: ERC Version 5.3 (IRC client for Emacs) 03:59 (join) MightyFoo 04:01 (quit) mithos28: Quit: mithos28 04:10 (join) ahinki 04:15 (join) dmac 04:15 (nick) MightyFoo -> tim-brown 04:25 (join) noelw_away 04:29 (join) mceier 04:40 (quit) dmac: Ping timeout: 240 seconds 04:41 (quit) Blkt: Read error: Connection reset by peer 04:43 (quit) sethalves: Ping timeout: 252 seconds 04:46 (join) masm 04:47 (join) dmac 04:49 (join) Blkt 04:54 (join) sethalves 05:13 tim-brown: is there any literature about modulelets? 05:21 (quit) Daemmerung: Quit: Smoove out. 05:34 noelw_away: I don't think so 05:34 (nick) noelw_away -> noelw 05:35 noelw: There aren't implemented yet AFAIK 05:35 noelw: Maybe there is something in the RacketCon videos, but they aren't up yet 05:40 tim-brown: so currently still in a secret lab somewhere? 05:55 (join) misterncw 06:02 (quit) misterncw: 06:07 (quit) mceier: Ping timeout: 245 seconds 06:09 (join) mceier 06:10 tim-brown: is embedded-load still defined in racket? 06:11 tim-brown: vim source has an "mzscheme_base.c", which invokes embedded-load on a set (715k) of binary data 06:30 noelw: Dunno. sorry 06:32 bremner: fwiw, it is still discussed in the source 06:39 (join) oiiii 06:59 (join) xharkonnen 07:15 (quit) dmac: Ping timeout: 258 seconds 07:22 (join) Emry 07:26 (quit) Burlingk: Ping timeout: 256 seconds 07:57 tim-brown: sanity check please: vim builds mzscheme_base.c with: 07:57 tim-brown: /usr/local/racket-5.1.3/bin/mzc --c-mods mzscheme_base.c ++lib scheme/base 07:57 tim-brown: does this do whatever 3m magic is necessary, or is --3m necessary? 08:22 (join) dnolen 08:38 (quit) abbe: Read error: Connection reset by peer 08:39 (join) abbe 08:39 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/GQNY8Q 08:39 RacketCommitBot: [racket/master] fix potential refcount bug - Matthew Flatt 08:39 RacketCommitBot: [racket/master] fix place refcount - Matthew Flatt 09:06 (quit) ahinki: Ping timeout: 258 seconds 09:07 (join) ahinki 09:31 (quit) dnolen: Quit: dnolen 09:36 (join) dingfeng 09:47 (join) ShakDiesel 09:47 ShakDiesel: hi guys 09:48 ShakDiesel: any1 here? 09:48 (join) veer 09:48 ShakDiesel: hello 09:51 (quit) veer: Client Quit 09:54 noelw: hi 10:01 (quit) Emry: Quit: Leaving 10:04 (quit) dingfeng: Ping timeout: 252 seconds 10:10 (join) MayDaniel 10:10 (quit) MayDaniel: Changing host 10:10 (join) MayDaniel 10:21 (quit) ShakDiesel: Ping timeout: 252 seconds 10:22 (part) tim-brown: "Leaving" 10:22 (join) tim-brown 10:23 tim-brown: bremner: thanks -- i've since found out that mzscheme_base.c is produced by vim's make using mzc on base.rkt 10:26 (join) ShakDiesel 10:26 (nick) samth_away -> samth 10:27 ShakDiesel: anyone can help me with a question? 10:27 samth: ShakDiesel: yes 10:27 ShakDiesel: sweet 10:27 samth: just ask your question 10:27 ShakDiesel: trying to string-append but i have a value that's calculated as a number and it says it needs a string 10:28 samth: try using number->string to convert it 10:28 samth: rudybot: eval (string-append "hello " (number->string 42) " ShakDiesel") 10:28 rudybot: samth: your racket/init sandbox is ready 10:28 rudybot: samth: ; Value: "hello 42 ShakDiesel" 10:29 ShakDiesel: so i can just define the number to be a string before i append it, correct? 10:29 samth: Gertm: see the paper from OOPSLA 2010 by Swaine et al, and the upcoming DLS 2011 paper by Tew et al 10:29 samth: ShakDiesel: i don't know what you mean by define 10:30 ShakDiesel: i think im confused can i show u code? 10:30 samth: yes 10:30 samth: try paste.lisp.org 10:30 (quit) MayDaniel: Read error: Connection reset by peer 10:31 ShakDiesel: (define (household-code name house-num street postal-code) (string-append postal-code "-" (substring name 0 4) "." (- house-num (string-length street)))) 10:33 (join) yoklov 10:33 ShakDiesel: (- house-num (string-length street)) . . . needs to be in the form string i guess 10:38 (join) jrslepak 10:39 ShakDiesel: any insight samth? 10:40 samth: use (number->string (- house-num (string-length street))) 10:42 ShakDiesel: thx ill give that a shot 10:44 ShakDiesel: i have one more question if u dont mind 10:44 (join) jschuster 10:46 samth: ShakDiesel: just ask your questions 10:46 samth: that's how things work on irc 10:46 (join) realitygrill 10:47 ShakDiesel: how can you find the number at position x of a certain number without the use of a string function 10:47 ShakDiesel: srry was typing 10:47 ShakDiesel: i am only aware of a substring method 10:48 (join) dingfeng 10:49 (quit) yoklov: Quit: Leaving. 10:50 (quit) hkBst: Remote host closed the connection 10:51 ShakDiesel: for ex. (numbah 763423450 9) => 0 10:52 Gertm: I'm sure you can calculate that. 10:52 dingfeng: are there xexpr->CSS libraries? 10:53 Gertm: with remainders 10:53 ShakDiesel: let me think a bit 10:53 ShakDiesel: lol 10:54 (join) veer 10:55 (join) yoklov 10:55 samth: dingfeng: i don't know what you mean by that 10:56 samth: ShakDiesel: is this a homework question? 10:56 (quit) ahinki: Read error: Connection reset by peer 10:56 (join) ahinki_ 10:56 (nick) ahinki_ -> ahinki 10:56 ShakDiesel: indeed im just trying to get insight of some function that could help me 10:58 ShakDiesel: rather operations that im not aware of 10:59 noelw: Shaq, 321 = 3*100 + 2*10 + 1 10:59 noelw: Try using that to go from a number into it's decimal representation 11:00 noelw: s/it's/its 11:00 ShakDiesel: thx let me sit on that for a bit 11:02 (join) ahinki_ 11:03 (quit) ahinki: Read error: Connection reset by peer 11:03 (nick) ahinki_ -> ahinki 11:07 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/jYID0w 11:07 RacketCommitBot: [racket/master] fix `raco exe' for cycles created via `define-runtime-module-path' - Matthew Flatt 11:07 RacketCommitBot: [racket/master] fix reference to statics meant to be adjusted by `raco exe' - Matthew Flatt 11:07 (quit) ahinki: Client Quit 11:17 (quit) ShakDiesel: Ping timeout: 252 seconds 11:24 (quit) realitygrill: Quit: realitygrill 11:30 (quit) veer: Quit: Leaving 11:30 (join) ShakDiesel 11:33 (join) mithos28 11:35 samth: mithos28: i added a comment on your gist 11:35 (join) dyoo 11:36 (join) anRch 11:40 (join) realitygrill 11:45 (quit) dingfeng: Ping timeout: 252 seconds 11:55 (quit) yoklov: Quit: Leaving. 11:59 (join) dnolen 12:03 (quit) ShakDiesel: Ping timeout: 252 seconds 12:08 (part) tim-brown: "Leaving" 12:10 (quit) anRch: Quit: anRch 12:13 mithos28: samth: yes, but I don't think that should change the semantics, the environment should already have been enriched after the define-values form was found 12:13 mithos28: I made a change to the program to output if the identifiers were bound 12:13 mithos28: https://gist.github.com/1258195 12:14 mithos28: This says that the identifiers are not bound-identifier=?, yet one still binds the other 12:17 (quit) Blkt: Quit: going home... 12:21 (join) anRch 12:23 (join) ShakDiesel 12:23 (quit) oiiii: Remote host closed the connection 12:46 (quit) mithos28: Quit: mithos28 12:46 ShakDiesel: damn so i came up with a function that works for half the entries 12:46 ShakDiesel: lol fail 12:51 (quit) anRch: Quit: anRch 13:00 ShakDiesel: any1 here? 13:03 bremner: ShakDiesel: please just ask your questions, rather than asking if people are there. Someone will answer when they can. 13:08 ShakDiesel: sure 13:08 ShakDiesel: actually i just resolved it 13:09 ShakDiesel: however i don't believe my code is efficient 13:09 ShakDiesel: (remainder (remainder (floor (/ candidate (expt 10 (- 9 position)))) 100) 10)) 13:09 ShakDiesel: would give u (sin-digit 463290115 6) => 0 13:10 ShakDiesel: (define (sin-digit candidate position) 13:12 ShakDiesel: im just guessing but thats prolly not the best way to solve that question correct? 13:26 bremner: ShakDiesel: what problem are you trying to solve? 13:28 (quit) ShakDiesel: Ping timeout: 252 seconds 13:29 (join) ShakDiesel 13:32 (join) mithos28 13:33 (join) yoklov 13:48 (join) Blkt 13:50 (join) dmac 13:54 (quit) dyoo: Ping timeout: 252 seconds 14:03 (quit) ShakDiesel: Quit: Page closed 14:06 (join) anRch 14:21 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/vsyrKw 14:21 RacketCommitBot: [racket/master] adjust the "Transfer-Encoding: chunked" code to re-use bytes more - Robby Findler 14:21 RacketCommitBot: [racket/master] add support for redirections to get-pure-port and add get-pure-port/headers - Robby Findler 14:21 RacketCommitBot: [racket/master] adjust drracket's "download plt" file functionality to follow redirections - Robby Findler 14:26 (join) jao 14:29 (quit) realitygrill: Quit: realitygrill 14:30 (join) MayDaniel 14:35 (quit) yoklov: Quit: Leaving. 14:41 (join) realitygrill 14:55 (quit) MayDaniel: Read error: Connection reset by peer 14:56 (quit) realitygrill: Quit: realitygrill 15:09 (quit) anRch: Quit: anRch 15:11 (join) yoklov 15:24 (quit) dmac: Ping timeout: 248 seconds 15:32 (quit) jao: Ping timeout: 256 seconds 15:42 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/vk3i3w 15:42 RacketCommitBot: [racket/master] Add "build.bat", "rbuildmode.c", and "sgc" from the worksp directory to - Eli Barzilay 15:50 (join) MayDaniel 15:52 (join) dmac 15:53 (join) zombo 15:54 zombo: hey guys 15:54 zombo: i need some help with this code i'm writing, i'm new to scheme 15:55 zombo: anyone here mind giving me a helping hand? 16:03 (quit) zombo: Quit: Page closed 16:08 samth: just ask 16:22 (quit) jrslepak: Quit: Leaving 16:30 (quit) MayDaniel: Read error: Connection reset by peer 16:43 Gertm: Sometimes I get arrows in drracket showing me the origin of definitions.. How can I toggle that? 16:45 stamourv: That's check syntax. 16:45 stamourv: There should be a button to run it. 16:46 stamourv: And if you're running a recent nightly build, there should be an option to have check syntax run online. 16:46 stamourv: That will be in the new version, that's due in a couple of weeks, IIRC. 16:50 (quit) karswell: Ping timeout: 252 seconds 16:53 (join) karswell 17:01 (join) realitygrill 17:07 (join) GnrlMxms 17:08 (quit) cky: *.net *.split 17:08 (quit) GeneralMaximus: *.net *.split 17:08 (nick) GnrlMxms -> GeneralMaximus 17:13 (join) cky 17:13 (quit) realitygrill: Ping timeout: 248 seconds 17:13 (join) realitygrill 17:38 (quit) karswell: Ping timeout: 248 seconds 17:39 (quit) mceier: Quit: leaving 17:40 (join) jao 17:42 (quit) dnolen: Ping timeout: 252 seconds 18:01 (join) jonrafkind 18:10 (quit) realitygrill: Quit: realitygrill 18:12 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/_1igAA 18:12 RacketCommitBot: [racket/master] fix the expansion of beginner-true and beginner-false so - Robby Findler 18:14 (quit) masm: Quit: Leaving. 18:15 (join) karswell 18:20 (quit) jonrafkind: Remote host closed the connection 18:20 (join) jonrafkind 18:21 (join) realitygrill 18:24 yoklov: is there a way to require only the bindings for a particular struct from a module other than (matching-identifiers-in #rx".*structname.*" somemodule)? 18:26 (quit) jamessan: Ping timeout: 244 seconds 18:26 mithos28: yoklov: the not so easy way is to use the struct-info object, which will work even if the names do not follow the standard 18:26 mithos28: but as far as I know you will have to implement it yourself 18:27 stamourv: yoklov: As an approximation, you can define another module that imports `somemodule', then only exports `(struct-out structname)', and then have your original module require that. 18:27 stamourv: Not especially elegant, though. 18:28 yoklov: hm, alright 18:30 (join) jamessan 18:30 (quit) jamessan: Changing host 18:30 (join) jamessan 18:44 (quit) realitygrill: Ping timeout: 260 seconds 18:55 (quit) jamessan: Ping timeout: 244 seconds 18:58 (join) jamessan 18:58 (quit) jamessan: Changing host 18:58 (join) jamessan 19:02 (quit) jschuster: Quit: Leaving 19:29 (quit) asumu: Ping timeout: 240 seconds 19:29 (join) asumu 19:33 (join) realitygrill 19:44 (quit) jamessan: Ping timeout: 244 seconds 19:45 (join) jamessan 19:45 (quit) jamessan: Changing host 19:45 (join) jamessan 19:45 (quit) asumu: Ping timeout: 244 seconds 19:52 (nick) samth -> samth_away 19:53 (join) asumu 20:41 (quit) Lajla: Read error: Connection reset by peer 20:42 (join) Lajla 20:57 (quit) jao: Ping timeout: 252 seconds 20:57 (quit) xharkonnen: Ping timeout: 248 seconds 21:01 (quit) karswell: Ping timeout: 258 seconds 21:03 (quit) asumu: Read error: Operation timed out 21:04 (join) asumu 21:10 (quit) abbe: *.net *.split 21:10 (quit) gf3: *.net *.split 21:10 (quit) GeneralMaximus: *.net *.split 21:10 (quit) rotty: *.net *.split 21:10 (quit) shachaf: *.net *.split 21:10 (quit) asumu: *.net *.split 21:10 (quit) mithos28: *.net *.split 21:10 (quit) sethalves: *.net *.split 21:10 (quit) noelw: *.net *.split 21:10 (quit) samth_away: *.net *.split 21:10 (quit) s_chng: *.net *.split 21:10 (quit) eli: *.net *.split 21:10 (quit) bremner: *.net *.split 21:10 (quit) tomku: *.net *.split 21:10 (quit) si14: *.net *.split 21:10 (quit) Twey: *.net *.split 21:10 (quit) tauntaun: *.net *.split 21:10 (quit) ohwow: *.net *.split 21:10 (quit) offby1: *.net *.split 21:11 (quit) rudybot: *.net *.split 21:11 (quit) bfulgham: *.net *.split 21:11 (quit) elliottcable: *.net *.split 21:11 (quit) jamessan: *.net *.split 21:11 (quit) yoklov: *.net *.split 21:11 (quit) _p4bl0: *.net *.split 21:13 (join) asumu 21:13 (join) jamessan 21:13 (join) GeneralMaximus 21:13 (join) yoklov 21:13 (join) mithos28 21:13 (join) abbe 21:13 (join) sethalves 21:13 (join) noelw 21:13 (join) ohwow 21:13 (join) rotty 21:13 (join) rudybot 21:13 (join) tomku 21:13 (join) shachaf 21:13 (join) gf3 21:13 (join) samth_away 21:13 (join) bfulgham 21:13 (join) si14 21:13 (join) elliottcable 21:13 (join) offby1 21:13 (join) Twey 21:13 (join) tauntaun 21:13 (join) bremner 21:13 (join) eli 21:13 (join) s_chng 21:13 (join) _p4bl0 21:28 (quit) dmac: Ping timeout: 252 seconds 21:30 (quit) mithos28: Quit: mithos28 21:45 (join) karswell 21:47 (join) masm 21:52 (quit) masm: Client Quit 22:20 (quit) yoklov: Quit: Leaving. 22:33 (quit) cky: Changing host 22:33 (join) cky 23:05 (join) yoklov 23:13 (join) mithos28 23:27 (join) veer 23:52 mithos28: what is the easiest way to write a macro that works like an identifier but correctly respects #%app bindings? 23:54 jonrafkind: uh what 23:54 jonrafkind: you want a set!-transformer? 23:55 mithos28: (syntax-case stx () ((id args …) #'(new-id args …))) will give the wrong #%app binding 23:56 jonrafkind: oh you want to use the app from the original syntax 23:56 jonrafkind: i think you have to do (datum->syntax stx (cons #'new-id #'(args ...)) stx) or something like that 23:57 mithos28: ok. It should be easier because most of the time that is the correct thing to do, and the easy way is wrong 23:57 jonrafkind: i agree