00:16 (join) jesyspa 00:19 close-paren: asumu: still here? 00:21 close-paren: someone beat me to it. check out this "generalized" set! macro. http://okmij.org/ftp/Scheme/map-set.txt 00:24 (quit) bremner: Ping timeout: 252 seconds 00:25 (join) soegaard 00:28 (join) bremner 00:28 (quit) bremner: Changing host 00:28 (join) bremner 00:32 (join) nkkarthik 00:35 (join) jeapostrophe 00:35 (quit) jeapostrophe: Changing host 00:35 (join) jeapostrophe 00:52 nkkarthik: hi, my setup is debian/emacs/quack/racket-5.2.1 00:53 nkkarthik: in the racket repl... how can i use define-datatype from 'eopl' 00:53 nkkarthik: I tried (require 'eopl) but it says 'no module named eopl' 00:54 nkkarthik: I see that eopl is installed at /usr/share/racket/collects/eopl 01:05 (quit) jao: Ping timeout: 276 seconds 01:13 (quit) jeapostrophe: Ping timeout: 246 seconds 01:16 (join) Kaylin 01:21 (quit) soegaard: Quit: soegaard 01:51 (quit) ChanServ: *.net *.split 01:58 (quit) ambrosebs: Ping timeout: 276 seconds 01:59 (join) scott_ 01:59 nkkarthik: if I run this in repl... (module eop-let eopl 01:59 nkkarthik: (define a 10))... how can I access 'a'? 02:02 (join) jeapostrophe 02:03 nkkarthik feels like Will Smith in "I am legend" 02:06 (join) mceier 02:06 (quit) jeapostrophe: Ping timeout: 252 seconds 02:06 (quit) mceier: Client Quit 02:07 (join) mceier 02:16 (join) mithos28 02:16 mithos28: nkkarthik: Did you solve your issues? 02:18 (join) sizz_ 02:18 (quit) sybex: Ping timeout: 265 seconds 02:18 (quit) peppep: Ping timeout: 265 seconds 02:18 (quit) zwak: Ping timeout: 252 seconds 02:18 (quit) spafflepip: Ping timeout: 252 seconds 02:18 (quit) pkkar: Ping timeout: 252 seconds 02:18 (quit) kampr: Ping timeout: 260 seconds 02:19 (join) peppep 02:19 (join) sybex 02:19 (join) kampr 02:19 (join) pkkar 02:19 (quit) peeeep: Ping timeout: 268 seconds 02:19 (quit) sizz: Ping timeout: 268 seconds 02:19 (join) spafflepip 02:20 (join) zwak 02:23 (quit) jackhammer2022: 02:23 (join) vu3rdd 02:30 (quit) Kaylin: Read error: Connection reset by peer 02:31 (quit) yoklov: Quit: computer sleeping 02:33 (join) ChanServ 02:33 (quit) vu3rdd: Changing host 02:33 (join) vu3rdd 02:33 (quit) mceier: Quit: Reconnecting 02:34 (join) mceier 02:34 (nick) scott_ -> Guest64571 02:36 (join) Guest64571 02:36 (nick) Guest64571 -> scott_ 02:40 nkkarthik: mithos28: hey, no I didn't 02:40 mithos28: what are you stuck on currently? 02:40 nkkarthik: I am trying to run a program from EOPL 02:41 nkkarthik: I am using emacs/quack 02:41 nkkarthik: my problem is how to require 'eopl module in the repl 02:41 mithos28: it should be eopl not 'eopl 02:41 nkkarthik: to get the 'define-datatype' 02:42 nkkarthik: so I do (require 'eopl) in the repl? 02:42 mithos28: no 02:42 mithos28: (require eopl) 02:42 mithos28: no ' 02:42 nkkarthik: oh 02:43 (quit) jonrafkind: Ping timeout: 245 seconds 02:44 nkkarthik: hey that seems to work!!... thank you so much mithos28 02:44 mithos28: no problem 02:44 nkkarthik: why do we need #lang eopl then? 02:45 mithos28: its just like #lang racket, 02:45 nkkarthik: I mean when I have to write it in a file can I just use (require eopl)... or do I have to use #lang eopl? 02:45 mithos28: you could do #lang racket/base, and (require racket) 02:45 mithos28: no you need a #lang line 02:45 nkkarthik: oh... why can't I just do (require eopl)? 02:46 mithos28: for a first approximation (there are ways to do what it does with out literally having a #lang) 02:46 mithos28: Because otherwise how would you know how to read the file? 02:46 mithos28: racket allows you to change it so the syntax of the program isn't the standard sexpression syntax 02:47 mithos28: look at scribble, where the default is text 02:47 nkkarthik: oh ok... I will try to figure it out 02:47 nkkarthik: the problem with #lang is... I can't load it into repl 02:48 mithos28: you can require it into the repl 02:48 nkkarthik: oh can I? 02:48 mithos28: or use enter! 02:48 nkkarthik: but it is written the #lang doesn't play with repl 02:49 mithos28: it works but differently than if you just typed those forms into the body 02:49 mithos28: body -> repl* 02:49 mithos28: so if your file was saved as "my-file.rkt", then you should run (require "my-file.rkt") 02:50 nkkarthik: oh 02:50 mithos28: you will probably also need a (provide (all-defined-out)) in your file 02:51 nkkarthik: but that's bad, isn't it?... to do all-defined-out 02:51 nkkarthik: can't I switch to that namespace... like in lisp? 02:51 mithos28: that would be enter! 02:51 nkkarthik: (enter! module-name)? 02:51 mithos28: yep 02:52 mithos28: is quack the repl enhancement thing? 02:53 nkkarthik: I have this simple file with text 02:53 nkkarthik: #lang eopl 02:53 nkkarthik: (define id? identifier?) 02:53 nkkarthik: when I load it in repl 02:53 nkkarthik: it says identifier? is unbound 02:53 mithos28: what do you mean 'load'? 02:53 nkkarthik: quack is a mode for emacs to work with scheme 02:54 mithos28: ok, you might want to look at xrepl if you get a chance. (require xrepl), it improves the repl for racket 02:54 nkkarthik: quack has the function 'load scheme file' 02:55 mithos28: so eopl doesn't have an identifier? binding 02:55 nkkarthik: oh is that what it means? 02:55 mithos28: yeah 02:55 nkkarthik: but identifier? is used all over in eopl 02:56 nkkarthik: (the book) 02:56 mithos28: http://docs.racket-lang.org/eopl/index.html 02:56 nkkarthik: when I type in repl identifier? says so it is available 02:57 nkkarthik: when I load the file it is not there 02:57 mithos28: thats because the repl is likely using the racket language 02:57 nkkarthik: ah... you are right... identifier? is not mentioned in the URL 02:58 nkkarthik: then how are others able to do the eopl exercises 02:58 nkkarthik: can I require both racket and eopl? 02:58 mithos28: you can add a (require racket/base) 02:58 mithos28: you should be able to, the only issue would be if they defined the same names with different bindings 02:59 nkkarthik: so can I do #lang racket/base and #lang eopl in the source file? 02:59 mithos28: no 02:59 mithos28: #lang eopl and (require racket/base) 02:59 mithos28: or #lang racket or #lang racket/base and (require eopl) 02:59 mithos28: I would do the first though 03:00 mithos28: they do slightly different things which are not likely important to you 03:00 nkkarthik: but we want the second one right?... first define all things in racket... then override them with eopl... if needed? 03:00 nkkarthik: ok I will do the first then 03:01 nkkarthik: one more small problem 03:01 mithos28: thats what it does for most forms (so you are right on that count), but #lang does other things 03:01 nkkarthik: I now have #lang eopl 03:01 nkkarthik: (require racket/base) 03:01 nkkarthik: (define id? identifier?) 03:02 mithos28: and if eopl changes those you want their versions 03:02 mithos28: but again likely you won't notice the difference 03:02 nkkarthik: yeah I guess so 03:03 nkkarthik: now i did this... #lang eopl (require racket/base) (define id? identifier?) 03:04 nkkarthik: first time I load the file... it worked 03:04 nkkarthik: second time I load again... it complains that 'cannot redefine constant id?' 03:05 nkkarthik: I think it is right... but I want to redefine it while developing 03:05 mithos28: http://docs.racket-lang.org/reference/eval.html?q=enter%21#(def._((quote._~23~25kernel)._compile-enforce-module-constants)) 03:05 mithos28: you want to set compile-enforce-module-constants to be false 03:06 nkkarthik: oh ok... cool I will look into that... 03:06 mithos28: You will need to set that before loading the module up the first time 03:06 nkkarthik: so I will look at enter!, xrepl, compile-enforce-module-constants 03:07 nkkarthik: oh ok I am trying that 03:09 nkkarthik: do I do this? 03:09 nkkarthik: (compile-enforce-module-constants #f) 03:10 mithos28: yep 03:10 nkkarthik: in the file? 03:10 (quit) close-paren: Ping timeout: 246 seconds 03:10 nkkarthik: so I have 03:10 nkkarthik: #lang eopl 03:10 nkkarthik: (require racket/base) 03:10 nkkarthik: (compile-enforce-module-constants #f) 03:10 nkkarthik: (define id? identifier?) 03:10 mithos28: no you need to do it in the repl 03:10 (join) close-paren` 03:10 (join) close-paren 03:11 mithos28: before you load the module into the repl 03:11 nkkarthik: oh that doesn't belong to file? 03:11 nkkarthik: I have to enter in the repl 03:12 mithos28: yes it changes how the repl works so that you can do redefinitions 03:14 nkkarthik: wow... it worked!!! 03:14 nkkarthik: hey thank you so much mithos28 03:15 nkkarthik: you helped me a lot 03:15 mithos28: glad to be of help 03:23 (join) djcoin 03:40 (quit) ChanServ: *.net *.split 03:43 (quit) mithos28: Quit: mithos28 03:47 (quit) vu3rdd: Remote host closed the connection 03:54 (join) MayDaniel 03:54 (join) noelw 04:21 (join) ChanServ 04:28 (quit) close-paren: Quit: close-paren 04:40 (join) MightyFoo 04:40 MightyFoo: morning all 04:41 Cryovat: Pip pip to you, good sir 04:42 MightyFoo: Crovat: thanks for reminding me... i've forgotten to wear my monocle and top hat 04:42 Cryovat: Haha 04:42 Cryovat: How could your manservant allow you to appear in public like that? 04:43 MightyFoo: I'll have the gamekeeper deal him a sound beating 04:44 Cryovat: That's a relief to hear :) 04:51 (join) Jeanne-Kamikaze 05:02 (join) dzhus 05:05 (nick) MightyFoo -> tim-brown 05:09 nkkarthik: in the repl, how can i quickly find out what a function does? 05:09 nkkarthik: I mean in clojure I can do (doc symbol?) in repl 05:10 scott_: nkkarthik: if you're using xrepl, try ,doc symbol? 05:10 scott_: it opens documentation in your web browser 05:10 nkkarthik: hmm... I am on emacs/quack... it opens racket... repl 05:10 scott_: oh xrepl's thing is just short for (help symbol?) 05:10 scott_: try that 05:11 nkkarthik: it seems i am not in xrepl 05:11 nkkarthik: it scolds... reference to an identifier before its definition: help in module: 'eop 05:12 nkkarthik: should I shift over to xrepl? 05:12 scott_: maybe if you (require racket/help) ? 05:12 scott_: I'm quite new to racket myself so I don't know much ;) 05:13 nkkarthik: yep it worked 05:13 nkkarthik: scott_: thank you 05:13 scott_: glad to help 05:13 nkkarthik: now I will see if I can ask it to open in emacs itself 05:14 nkkarthik: or maybe build some function which will read the url and print it in the repl itself... which is more pleasant IMHO... 05:14 nkkarthik: thank you, anyways... that was much help 05:55 (join) bitonic 06:22 Jeanne-Kamikaze: is async-channel-put thread-safe ? 06:23 Jeanne-Kamikaze: i.e. can you have multiple threads talking to one receiver through the same channel ? 06:28 noelw: I'm pretty sure it is 06:29 Jeanne-Kamikaze: yeah it is, I was just reading the page on events 06:33 (quit) MayDaniel: Read error: Connection reset by peer 06:36 (quit) Shviller: Read error: Connection reset by peer 06:40 (join) masm 06:53 nkkarthik: (identifier? 'a) => #f 06:53 nkkarthik: when does identifier? return true? 06:54 nkkarthik: (let ((a 10)) (identifier? a)) => #f 07:02 Jeanne-Kamikaze: (identifier? #'a) 07:03 nkkarthik: Jeanne-Kamikaze: ah... thank you... what could be the difference? 07:03 Jeanne-Kamikaze: well, it says "Returns #t if v is a syntax object and (syntax-e stx) produces a symbol." 07:04 Jeanne-Kamikaze: your 'a does not return a symbol 07:04 Jeanne-Kamikaze: in the first case it evaluates to itself (an id) and in the second case it evaluates to 10 07:04 nkkarthik: yeah read that but could make a thing out of it :) 07:04 Jeanne-Kamikaze: but don't trust me on that one 07:05 Jeanne-Kamikaze: this is my 3rd day of racket 07:05 nkkarthik: oh... it kinda makes sense now... after your explanation 07:05 nkkarthik: no no you must be right 07:05 nkkarthik: 'a evaluates to a symbol 07:05 nkkarthik: #'a evaluates to the value (i.e 10) in my example 07:05 Jeanne-Kamikaze: the other way around ? 07:06 nkkarthik: ,(define a 10) 07:06 nkkarthik: a 07:06 nkkarthik: does #racket have a bot? 07:06 Jeanne-Kamikaze: no idea 07:07 Jeanne-Kamikaze: is there a simple way to create thread safe mutable state ? I was looking for something like a box or a struct with protected setters 07:07 nkkarthik: nope I was wrong 07:08 Jeanne-Kamikaze: (and getters) 07:09 nkkarthik: Jeanne-Kamikaze: thank you for pointing it 07:11 Jeanne-Kamikaze: actually, that shouldn't make any sense 07:12 Jeanne-Kamikaze: in the first case 'a is a symbol, and it evaluates to itself so identifier? should return true ? 07:12 Jeanne-Kamikaze: #'a is a keyword 07:12 Jeanne-Kamikaze: *so it should 07:13 Jeanne-Kamikaze: ehm nvm, I messed up with all the ?s 07:13 noelw: #'a is syntax 07:14 noelw: Syntax is represented by its own data type 07:15 nkkarthik: is it like ':sym' keyword in lisp? 07:15 noelw: I dunno, but I expect it isn't 07:15 noelw: thread safe mutable state: box-cas! is one way of doing it 07:16 nkkarthik: noelw: ok thank you 07:16 noelw: lists are a data structure 07:16 noelw: vectors are a data structure 07:16 noelw: structs are a data structure 07:16 noelw: syntax is another data structure 07:17 noelw: If box-cas doesn't do the job, build your own using a semaphore 07:19 nkkarthik: I was confused with why (identifier? #'a) => #t and (identifier? 'a) => #f 07:20 nkkarthik: I am going through EOPL book and if I have to parse string "(let ((a 10)) a)" 07:21 nkkarthik: then (identifier? (caaadr expr) which is 'a should return true, I thought 07:21 DT``: nkkarthik, symbols are not identifiers. 07:21 noelw: You know what a macro is? 07:21 nkkarthik: I guess so 07:22 noelw: A macro is a function from syntax to syntax 07:22 noelw: When Racket reads source code, it stores that source code in a syntax data structure 07:22 noelw: Syntax is NOT (NOT NOT NOT!) a list 07:22 (join) bjz 07:22 noelw: It is a distinct data type 07:22 nkkarthik: oh ok... so this is different from lisp? 07:23 noelw: Yes 07:23 noelw: Modern macro systems don't represent source using lists 07:23 nkkarthik: lisp macros use symbols 07:23 noelw: Lists dont' have anywhere to put the information you need to maintain hygiene 07:23 noelw: etc 07:24 nkkarthik: oh ok... this must be what I heard about hygiene macros 07:25 nkkarthik: so if my parser has to read an s-expr like this 07:25 nkkarthik: (define expr '(let ((a 10)) a)) 07:26 nkkarthik: (identifier? (caaadr expr)) will be false 07:26 nkkarthik: I can't parse that list with my parser if I use identifier? 07:27 noelw: Yes, because you're using a list to represent syntax 07:27 noelw: Try datum->syntax if you really want to use syntax 07:27 noelw: BUT 07:27 nkkarthik: but? 07:27 noelw: I expect for EOPL you don't want to use syntax 07:28 noelw: as none of the code samples will work 07:28 nkkarthik: EOPL book didn't mention anything about 'syntax' and hygiene macros... but uses identifier? all over 07:28 noelw: They must have their own definition of identifier? 07:28 nkkarthik: oh!... yeah I remember... #lang eopl din't had any identifier? function 07:29 nkkarthik: I imported it from racket/base 07:30 nkkarthik: I think I will just go with symbol? then 07:30 noelw: Yeah, that sounds expedient 07:31 (quit) noam: Read error: Connection reset by peer 07:31 nkkarthik: noelw: thank you very much for your patience 07:31 noelw: no problemo 07:31 (join) noam 07:43 (quit) Shvillr: Read error: Connection reset by peer 07:43 (join) Shviller 07:44 (quit) Shviller: Client Quit 07:44 (join) Shviller 07:45 (quit) wtetzner: Remote host closed the connection 07:46 (join) soegaard 08:04 (join) jao 08:04 (quit) jao: Changing host 08:04 (join) jao 08:12 (join) kanak 08:15 (join) veer 08:17 (quit) Shviller: Read error: Connection reset by peer 08:21 (join) Shviller 08:32 (join) jeapostrophe 08:37 nkkarthik: I have a file env.scm (which has function empty-env) 08:37 nkkarthik: I have let.scm which does (require "env.scm") 08:38 nkkarthik: but I am unable to use 'empty-env' function 08:38 nkkarthik: from env.scm 08:38 noelw: Have you 'provide'ed empty-env? 08:38 noelw: (provide empty-env) 08:39 nkkarthik: in env.scm... I tried to have (provide (all-defined-out)) 08:39 nkkarthik: but it gave me error bad syntax at (all-defined-out) 08:40 nkkarthik: env.scm: I have these two lines at the beginning 08:40 nkkarthik: #lang eopl 08:40 nkkarthik: (provide (all-defined-out)) 08:41 noelw: Oh. That's probably it 08:41 Jeanne-Kamikaze: is the racket reference made using a particular documentation tool ? 08:41 noelw: I doubt the eopl language includes the module language 08:41 noelw: Racket docs are created using Scribble 08:42 nkkarthik: oh can I include it myself? 08:42 noelw: Yeah, you can import that stuff from racket/base 08:42 nkkarthik: cool... let me try that 08:45 nkkarthik: env.scm: (provide (all-defined-out)) worked 08:45 nkkarthik: but empty-env is still not visible in let.scm 08:45 noelw: What is do (require "env.scm") from the REPL? 08:45 noelw: If empty-env available? 08:47 nkkarthik: hey empty-env is available in repl... if I do (require "env.scm") in repl 08:47 nkkarthik: why doesn't require work in let.scm then? 08:48 noelw: What language is let.scm written in? 08:49 nkkarthik: wow... I restarted repl and now it works 08:50 nkkarthik: it's written in normal scheme itself 08:50 nkkarthik: I have #lang eopl at the top 08:50 nkkarthik: and as you told me to include 08:50 nkkarthik: (require racket/base) 08:50 nkkarthik: (require "env.scm") 08:50 nkkarthik: now I think somehow it works 08:51 nkkarthik: noelw: thank you... you are helping me a lot today :) 08:51 noelw: no worries 08:57 (quit) veer: Quit: Leaving 09:05 (join) getpwnam 09:05 (join) hash_table 09:12 (quit) close-paren`: Ping timeout: 252 seconds 09:14 (join) close-paren 09:25 (quit) jeapostrophe: Ping timeout: 256 seconds 09:38 (quit) hash_table: Ping timeout: 276 seconds 09:38 (quit) getpwnam: Ping timeout: 276 seconds 09:39 (join) jhemann 09:54 (join) MayDaniel 09:57 (join) Aune 09:58 (quit) mceier: Quit: leaving 10:01 (join) samth 10:01 (quit) samth: Changing host 10:01 (join) samth 10:05 (quit) jrslepak: Quit: What happened to Systems A through E? 10:11 (join) Kaylin 10:18 (quit) DT``: Ping timeout: 240 seconds 10:18 (join) vu3rdd 10:18 (quit) vu3rdd: Changing host 10:18 (join) vu3rdd 10:30 (join) jrslepak 10:36 (quit) close-paren: Ping timeout: 276 seconds 10:37 (join) DT`` 10:38 (join) close-paren 10:39 (join) RacketCommitBot 10:39 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/oKqS_A 10:39 RacketCommitBot: [racket/master] Cleanup builtin structs types. - Eric Dobson 10:39 RacketCommitBot: [racket/master] Add promise support to type->contract. - Eric Dobson 10:39 (part) RacketCommitBot 10:41 (join) getpwnam 10:42 (join) hash_table 10:45 (quit) soegaard: Quit: soegaard 10:48 (quit) jhemann: Ping timeout: 250 seconds 10:50 (join) Demosthenes 10:53 (join) jeapostrophe 10:56 (quit) Kaylin: Read error: Connection reset by peer 10:57 (quit) Demosthenes: Quit: leaving 10:57 (join) Demosthenes 10:58 (join) jhemann 10:58 (join) trink 10:59 (join) winklet 10:59 (quit) noelw: Quit: noelw 11:00 (join) noelw 11:00 (quit) noelw: Client Quit 11:03 (quit) noam: Quit: Leaving 11:06 (join) mceier 11:13 (quit) cdidd: Ping timeout: 260 seconds 11:22 (join) noam 11:24 asumu: nkkarthik: FYI, if you look at the source code provided with the book, they use (define identifier? symbol?) 11:25 asumu: I think this is specific to the 3rd edition of the book. 11:27 (quit) lusory: Ping timeout: 244 seconds 11:29 (quit) masm: Quit: Leaving. 11:30 (join) masm 11:30 nkkarthik: asumu: thank you :) yeah I did the same with noelw's help 11:31 nkkarthik: but there is a small problem I faced... when I (require racket/base) it complains identifier? can't be redefined 11:31 nkkarthik: so I think I will just use symbol? mostly 11:32 nkkarthik: asumu: thank you by the way 11:33 nkkarthik going to hunt for some food 11:34 (join) soegaard 11:38 (quit) nkkarthik: Ping timeout: 272 seconds 11:44 (join) nilyaK 11:46 soegaard: Any Windows 7 users? I had a student today that installed DrRacket from new. Everything worked fine - except starting the documentation. Neither F1 in DrRacket, Helpdesk from the menu nor the the shortcut in the start menu worked. 11:46 soegaard: However clicking the index.html file in C:\Programs\Racket\doc (I think) worked fine. 11:47 soegaard: Is there some kind of security setting that must be changed? 11:49 nilyaK: Hopefully somebody comes along to reply, I use it with Win7 but I am not on that machine atm and won't have access until I get home. :X 11:49 nilyaK: If the user has an Internet connection while using it though the online documentation is really great! 11:52 soegaard: FWIW the user in question did not have Chrome installed (only IE was present) 11:54 (join) anRch 11:58 soegaard: rudybot: tell nkkarthik Perhaps use (require (except-in racket/base identifier?)) to everything except the binding of identifier? 11:58 rudybot: soegaard: Are you using w3m-el from the debian repos nkkarthik? 12:04 (quit) vu3rdd: Remote host closed the connection 12:07 (join) close-paren` 12:10 (quit) mattmigh`: Ping timeout: 256 seconds 12:10 (join) mattmight 12:13 (join) mithos28 12:13 (join) gciolli 12:15 (quit) hash_table: Ping timeout: 240 seconds 12:15 (quit) getpwnam: Ping timeout: 240 seconds 12:18 (join) yoklov 12:22 (quit) nilyaK: Ping timeout: 272 seconds 12:23 (join) jonrafkind 12:24 (quit) jeapostrophe: Ping timeout: 252 seconds 12:28 (join) RacketCommitBot 12:28 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/HBS6NQ 12:28 RacketCommitBot: [racket/master] Make Typed Racket integration tests run in parallel. - Sam Tobin-Hochstadt 12:28 (part) RacketCommitBot 12:31 tim-brown: soegaard: check the "keybindings" on windows 12:31 soegaard: tim-brown: What do you mean? 12:31 tim-brown: for some reason my windows 7 is using emacs bindings (not what i'm used to with unix) 12:31 tim-brown: gack... i'm not near my win7 machine neither 12:32 tim-brown: but even control-s doesn't save (c-x;s) 12:32 tim-brown: very odd. 12:32 soegaard: That would explain why F1 would't work - but not why I couldn't start HelpDesk from the menu. 12:32 tim-brown: anyway, i think it's tools (or view?) has a "show current keybindings" 12:32 tim-brown: you'll get a list of bindings -- and might find help from there 12:33 tim-brown: no comment re HelpDesk on menu 12:33 (quit) anRch: Quit: anRch 12:33 tim-brown: this is all from (recent) memory -- good luck to your student 12:34 (quit) yoklov: Quit: computer sleeping 12:34 soegaard: I think it is the mechanism that opens an html-file in a browser that somehow doesn't work. Hopefully to some easily fixed setting in Windows. 12:34 tim-brown: night all 12:34 asumu: soegaard: there is a "Browser" preference in the preferences menu. Any idea what your student has that set to? 12:34 asumu: tim-brown: night. 12:35 soegaard: No but I'll next time. 12:36 soegaard: That tab on OS X only displays proxy settings ? 12:36 asumu: Oh, maybe it only shows that in Linux? Huh. 12:36 soegaard: I saw this http://lists.racket-lang.org/users/archive/2011-May/045340.html and thought it might be related. 12:37 soegaard: But he at least sees a browser. 12:38 soegaard: Maybe the best advice would be "Install Chrome" 12:38 soegaard: https://groups.google.com/forum/?fromgroups#!topic/racket-users/X37KBfaZ9Oo%5B1-25%5D 12:38 rudybot: http://tinyurl.com/8djebhn 12:40 (quit) djcoin: Quit: WeeChat 0.3.2 12:41 (quit) close-paren`: Quit: close-paren` 12:46 (join) RacketCommitBot 12:46 RacketCommitBot: [racket] plt pushed 7 new commits to master: http://git.io/I_oSVA 12:46 RacketCommitBot: [racket/master] Make TR's ignore-some property work even if there isn't an internal form. - Eric Dobson 12:46 RacketCommitBot: [racket/master] Allow contract definitions created from expressions to be fixed up. - Eric Dobson 12:46 RacketCommitBot: [racket/master] Add way for code to attach typechecks to itself, and implemented make-predicate. - Eric Dobson 12:46 (part) RacketCommitBot 12:48 (join) jeapostrophe 12:48 (quit) jeapostrophe: Changing host 12:48 (join) jeapostrophe 13:00 (join) nilyaK 13:06 jonrafkind: I see a lot of these "warning in: cloop in module: '#%utils: optimizer detects procedure incorrectly applied to 1 arguments: map 13:06 jonrafkind: " from git head today while running xform 13:08 samth: jonrafkind: good catch 13:08 samth: bug here: https://github.com/plt/racket/blob/master/src/racket/src/startup.rktl#L584 13:09 jonrafkind: did you already know about it or did you just find it very fast? 13:12 samth: jonrafkind: i know where to look 13:13 samth: if it's in a module with a #% name, then it's in `startup.rktl` 13:13 samth: and i then searched for `cloop` 13:13 samth: and then for `map` 13:13 jonrafkind: I get a whole bunch of other 'optimizer detects incorrect procedure...' in the rest of the build 13:13 jonrafkind: but they have been there for a while 13:13 jonrafkind: warning in: /home/jon/svn/plt/collects/mred/private/wx/common/rbtree.rkt:242:0: remove-min in module: 'rbtree: optimizer detects procedure incorrectly applied to 0 arguments: error 13:15 (quit) dzhus: Quit: -_- 13:16 samth: well, fix it 13:16 jonrafkind: warning in: /home/jon/svn/plt/collects/drracket/arrow.rkt:107:0: crop-to in module: 'arrow: optimizer constant-fold attempt failed: /: division by zero 13:16 jonrafkind: warning in: /home/jon/svn/plt/collects/typed-racket/typecheck/tc-app/tc-app-hetero.rkt:77:0: tc/hetero-set! in module: 'tc-app-hetero: optimizer detects procedure incorrectly applied to 5 arguments: index-error 13:16 jonrafkind: ok ill look at some of them and fix the easy ones 13:19 samth: i got the TR one 13:20 (join) RacketCommitBot 13:20 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/saWFDQ 13:20 RacketCommitBot: [racket/master] Fix typo detected by optimizer. - Sam Tobin-Hochstadt 13:20 (part) RacketCommitBot 13:20 jonrafkind: warning in: /home/jon/svn/plt/collects/drracket/private/unit.rkt:3680:8: loop in module: 'unit: optimizer constant-fold attempt failed: car: contract violation 13:20 jonrafkind: expected: pair? 13:20 jonrafkind: given: '() 13:20 jonrafkind: warning in /home/jon/svn/plt/collects/framework/main.rkt:241:14: opt/c doesn't know the contract (let ((old-children (send parent get-children))) (and/c (is-a?/c area-container-window<%>) (λ (child) (andmap eq? (append old-children (list child)) (send parent get-children))))) 13:21 jonrafkind: warning in: /home/jon/svn/plt/collects/racket/require-transform.rkt:188:2: convert-relative-module-path in module: 'require-transform: optimizer detects procedure incorrectly applied to 2 arguments: car 13:21 jonrafkind: warning in: /home/jon/svn/plt/collects/ffi/unsafe.rkt:1664:40: ...s/ffi/unsafe.rkt:1664:40 in module: 'unsafe: optimizer detects procedure incorrectly applied to 3 arguments: log-message 13:21 jonrafkind: i think thats all of them 13:21 jonrafkind: i dont build all of the collects though 13:31 (quit) bitonic: Remote host closed the connection 13:54 (join) anRch 13:55 (quit) jesyspa: Quit: leaving 14:00 (join) neilv 14:03 (quit) ChanServ: *.net *.split 14:05 (quit) mithos28: Quit: mithos28 14:07 (quit) jeapostrophe: Ping timeout: 248 seconds 14:08 (join) jesyspa 14:09 neilv: i have a situation in which db "connection?" is true one place and then later seems to be false, even though it still prints like one 14:10 neilv: i wonder whether i'm getting multiple copies of a module somehow 14:15 (quit) Jeanne-Kamikaze: Ping timeout: 246 seconds 14:15 samth: neilv: are you using multiple places? 14:16 (quit) jhemann: Ping timeout: 250 seconds 14:24 (join) jhemann 14:26 (join) Jeanne-Kamikaze 14:28 (join) RacketCommitBot 14:28 RacketCommitBot: [racket] plt pushed 6 new commits to master: http://git.io/XIFqng 14:28 RacketCommitBot: [racket/master] [honu] remove context argument from macro transformers - Jon Rafkind 14:28 RacketCommitBot: [racket/master] [honu] add primitive macro form - Jon Rafkind 14:28 RacketCommitBot: [racket/master] [honu] wrap syntax with (semicolon ...) when a ; is present - Jon Rafkind 14:28 (part) RacketCommitBot 14:32 (join) ChanServ 14:33 (quit) nilyaK: Ping timeout: 256 seconds 14:34 neilv: samth: no, not using multiple places 14:35 samth: neilv: presumably you're instantiating the db module multiple times somehow, although i'm not sure how 14:35 (join) nilyaK 14:39 (quit) ChanServ: *.net *.split 14:41 neilv: this large app has a few modules that re-provide other modules, and requires on the original modules and the re-providing modules. historically, this has worked fine, but i suppose we could finally be tickling a bug 14:41 (join) bitonic 14:44 samth: neilv: i doubt that's it 14:44 neilv: (require (prefix-in db: db/base) (prefix-in db: db/postgresql) openssl) 14:44 neilv: that should be fine right there 14:44 samth: more likely something with dynamic-require 14:44 samth: i'd ask on the list, or ask ryan directly 14:46 neilv: aha! 14:46 neilv: that could be it 14:48 neilv: if dynamic-require is the problem, it might have worked in the past because the db connection stuff was implemented as a c extension 14:48 neilv: there is also some eval going on 14:49 samth: yes, if you have the db library in two different namespaces, that will produce two different `connection` types 14:49 neilv: ok, looks like dynamic-require is not involved at this point in the code, but eval might be 14:50 (join) getpwnam 14:51 (join) RacketCommitBot 14:51 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/FFVYYw 14:51 RacketCommitBot: [racket/master] Move list-set and list-update to unstable/list. - Eric Dobson 14:51 RacketCommitBot: [racket/master] Don't use places for running single tests. - Sam Tobin-Hochstadt 14:51 RacketCommitBot: [racket/master] Add type for `processor-count`. - Sam Tobin-Hochstadt 14:51 (part) RacketCommitBot 14:51 neilv: samth: thanks. eval seems like a likely culprit. i'll see whether that's actually happening (it's a big system) 14:51 (join) hash_table 14:54 (join) Shvillr 14:55 (join) jeapostrophe 15:02 (join) ChanServ 15:11 neilv: it creates a namespace for the eval, using a bunch of namespace-requires. i'm guessing that's where a second copy of the module is happening 15:13 (quit) anRch: Quit: anRch 15:13 samth: neilv: yes, almost certainly 15:13 samth: you should probably use `namespace-attach` to share the `db` module 15:14 neilv: i wish old scheme books had never told people about eval 15:14 neilv: it's almost never necessary 15:14 neilv: at the application programmer level, i mean 15:22 (join) danl_ndi 15:23 samth: neilv: it's kind of a part of history, though 15:23 danl_ndi: is there a way to get Racket to eval (require-for-syntax "file.scm") properly? (we have code that is used in both mzscheme and racket) 15:25 (quit) Aune: Quit: L?mnar 15:25 samth: danl_ndi: just do a `(require (only-in mzscheme require-for-syntax))` first 15:26 samth: in the namespace you're doing the eval in 15:27 (quit) bitonic: Read error: Operation timed out 15:31 danl_ndi: actually I did a (define-syntax (require-for-syntax stx) (syntax-case stx () ((_ name) #'(require (for-syntax name))))) 15:31 danl_ndi: i had mistyped something, turns out it works 15:35 neilv: if people who wrote textbooks extolling the virtues of "eval" could hear all the cursing i am doing, they would be rushing revised editions to the printers, in fear of bodily harm 15:36 (quit) Shvillr: Ping timeout: 268 seconds 15:36 (join) Shvillr 15:40 nilyaK: of course they'd print after eval 15:41 nilyaK: >_> 15:42 (quit) gciolli: Quit: Leaving. 15:42 neilv: that was criminally bad 15:47 nilyaK: Bad puns are the best puns :P 15:53 (join) jhemann_ 15:55 (join) jhemann__ 15:56 (quit) jhemann: Ping timeout: 250 seconds 15:57 (quit) jhemann_: Ping timeout: 244 seconds 16:04 (quit) kanak: Quit: Leaving. 16:06 neilv: > I never metacircular evaluator I didn't like 16:06 neilv: > -- [[Neil-Van-Dyke]] on #scheme @ (http://www.freenode.org) 16:06 neilv: http://community.schemewiki.org/?channel-quotes 16:12 neilv: samth: thanks a lot for the pointer in the right direction. it works 16:25 (join) yoklov 16:31 (join) crundar 16:33 tewk_: ll 16:33 (quit) jhemann__: Ping timeout: 250 seconds 16:37 (join) crundar__ 16:39 (quit) crundar: Ping timeout: 250 seconds 16:39 Jeanne-Kamikaze: that moment when you open a terminal and type: (ls -l) 16:41 (quit) jrslepak: Quit: What happened to Systems A through E? 16:47 (quit) jao: Remote host closed the connection 16:52 (join) jao 16:52 (quit) jao: Changing host 16:52 (join) jao 16:53 (quit) jonrafkind: Ping timeout: 245 seconds 16:58 (quit) nilyaK: Read error: Connection reset by peer 17:11 (quit) MayDaniel: Read error: Connection reset by peer 17:13 (join) jrslepak 17:13 (quit) mceier: Quit: leaving 17:27 (quit) crundar__: Ping timeout: 250 seconds 17:30 (quit) soegaard: Quit: soegaard 17:30 (join) djcoin 17:51 (quit) neilv: Quit: Leaving 17:56 (quit) tewk_: Remote host closed the connection 18:10 (join) jyc 18:11 (join) jonrafkind 18:26 (join) RacketCommitBot 18:26 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/TKFWGg 18:26 RacketCommitBot: [racket/master] [honu] remove context argument - Jon Rafkind 18:26 (part) RacketCommitBot 18:31 (join) close-paren` 18:33 (quit) close-paren`: Client Quit 18:37 (quit) jeapostrophe: Ping timeout: 252 seconds 18:40 (join) wtetzner 18:52 (quit) jesyspa: Quit: leaving 18:58 (join) cdidd 19:02 (join) crundar__ 19:04 (join) neilv 19:11 (quit) hash_table: Ping timeout: 246 seconds 19:11 (quit) getpwnam: Ping timeout: 246 seconds 19:12 (join) jesyspa 19:14 (join) yoklov_ 19:15 (quit) yoklov: Read error: Connection reset by peer 19:18 (quit) djcoin: Quit: WeeChat 0.3.2 19:31 (quit) yoklov_: Ping timeout: 245 seconds 19:31 (join) getpwnam 19:37 (join) RacketCommitBot 19:37 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/VwXjKg 19:37 RacketCommitBot: [racket/master] fix docs for `deftech': mention case folding - Matthew Flatt 19:37 RacketCommitBot: [racket/master] scribble/manual: add `#:normalize?' option to `deftech' et al. - Matthew Flatt 19:37 (part) RacketCommitBot 19:45 (quit) jonrafkind: Ping timeout: 248 seconds 19:51 (quit) Jeanne-Kamikaze: Quit: Did you hear that ? 19:54 (quit) DT``: Read error: Connection reset by peer 19:54 (join) DT`` 20:06 (join) PfhorSlayer 20:47 (join) jeapostrophe 20:48 (join) Kaylin 20:54 (quit) close-paren: Ping timeout: 244 seconds 20:55 (join) close-paren 20:59 neilv: db/postgresql works well so far 21:02 offby1: rudybot uses db/sqlite 21:29 (quit) bjz: Quit: Leaving... 21:31 (join) RacketCommitBot 21:31 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/jZdeoQ 21:31 RacketCommitBot: [racket/master] fix a bug in the event handling that would cause updates - Robby Findler 21:31 RacketCommitBot: [racket/master] disable standalone submod.rkt test. it is run by run-all.rkt and - Robby Findler 21:31 (part) RacketCommitBot 21:35 (quit) neilv: Quit: Leaving 22:18 (quit) masm: Quit: Leaving. 22:32 (quit) bremner: Read error: Connection reset by peer 22:34 (join) bremner 22:34 (quit) bremner: Changing host 22:34 (join) bremner 22:42 (join) mithos28 22:51 (quit) mithos28: Remote host closed the connection 22:52 (join) mithos28 22:57 (join) bjz 23:07 (join) vu3rdd 23:07 (quit) vu3rdd: Changing host 23:07 (join) vu3rdd 23:17 (join) jonrafkind 23:38 (join) close-paren` 23:59 (quit) jeapostrophe: Ping timeout: 248 seconds