00:20 (quit) Kaylin: Quit: Leaving. 00:23 (join) groovy2shoes 00:26 (join) Kaylin 00:37 (join) kofno 00:41 (quit) kofno: Ping timeout: 252 seconds 00:42 (quit) groovy2shoes: Quit: Computer has gone to sleep 00:45 (quit) zacts: Ping timeout: 252 seconds 01:28 (quit) serhart: Quit: Leaving. 01:29 (quit) Kaylin: Ping timeout: 244 seconds 01:31 (quit) tzafrir_laptop: Ping timeout: 264 seconds 01:35 (join) mye 01:35 (quit) francisl: Quit: francisl 01:37 (join) Kaylin 01:37 (join) mizu_no_oto 01:38 (join) serhart 01:48 (join) Nisstyre-laptop 01:52 (join) dyoo 01:54 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 01:54 (quit) dyoo: Client Quit 01:59 (join) rmathews_ 02:00 (quit) rmathews: Ping timeout: 256 seconds 02:00 (nick) rmathews_ -> rmathews 02:02 (join) mizu_no_oto 02:04 (join) jonrafkind 02:05 (quit) Twey: Excess Flood 02:08 (join) kofno 02:14 (join) Twey 02:15 (part) sw2wolf: "ERC Version 5.3 (IRC client for Emacs)" 02:17 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 02:25 (quit) Twey: Excess Flood 02:30 (quit) mye: Quit: mye 02:31 (join) Twey 02:45 (quit) Twey: Excess Flood 02:48 (join) tzafrir_laptop 02:48 (join) mye 02:49 (join) Twey 03:01 (join) gridaphobe 03:18 (quit) kofno: Ping timeout: 256 seconds 03:19 (quit) Twey: Excess Flood 03:19 (join) cdidd 03:26 (quit) acarrico: Ping timeout: 256 seconds 03:26 (join) Twey 03:30 (join) mye_ 03:33 (quit) mye: Ping timeout: 276 seconds 03:33 (nick) mye_ -> mye 03:34 (quit) mithos28: Quit: mithos28 03:35 (join) neilv 03:35 (quit) neilv: Changing host 03:35 (join) neilv 03:41 (join) acarrico 03:52 (quit) Kaylin: Ping timeout: 256 seconds 03:54 (quit) gridaphobe: Remote host closed the connection 03:54 (join) gridaphobe 03:57 (join) Kaylin 03:59 (quit) gridaphobe: Ping timeout: 255 seconds 04:00 (quit) Fare: Read error: Operation timed out 04:11 (join) Kaylin1 04:13 (quit) Nisstyre-laptop: Ping timeout: 246 seconds 04:13 (quit) Kaylin: Ping timeout: 255 seconds 04:47 (quit) serhart: Quit: Leaving. 04:48 (join) Kaylin 04:48 (join) rmathews 04:49 (join) bitonic 04:50 (quit) jonrafkind: Read error: Operation timed out 04:51 (quit) Kaylin1: Ping timeout: 240 seconds 04:54 (quit) Twey: Excess Flood 05:00 (quit) cdidd: Remote host closed the connection 05:00 (join) Twey 05:02 (join) cdidd 05:08 (quit) cdidd: Remote host closed the connection 05:10 (join) cdidd 05:15 (quit) rmathews: Ping timeout: 246 seconds 05:26 (join) pgomes 05:26 pgomes: hello all 05:47 (quit) dca: Read error: Connection reset by peer 05:57 (quit) Twey: Excess Flood 06:04 (join) soegaard 06:05 (join) Twey 06:08 (quit) neilv: Ping timeout: 252 seconds 06:30 (quit) pgomes: Quit: Leaving 06:31 (quit) Kaylin: Read error: Connection reset by peer 06:32 (join) MayDaniel 06:38 (quit) gf3: Ping timeout: 256 seconds 06:39 (join) gf3 06:41 (join) jeapostrophe 06:41 (join) neilv 06:41 (quit) neilv: Changing host 06:41 (join) neilv 06:42 (join) snowylike 06:42 (part) __4 06:43 (quit) gf3: Read error: Operation timed out 06:47 (quit) blubberdiblub: Quit: Santa Maria, den Schnitzelwagen, Santa Maria 06:48 (join) blubberdiblub 06:57 (join) rmathews 07:02 (join) gf3 07:03 (quit) Twey: Excess Flood 07:03 (join) Twey 07:14 (join) karswell 07:29 (join) Wildblue 07:32 (part) Wildblue 07:45 (join) dca 07:55 (quit) Twey: Excess Flood 07:57 (join) masm 08:02 (quit) ASau: Ping timeout: 256 seconds 08:06 (join) Twey 08:12 (quit) soegaard: Quit: soegaard 08:13 (join) kofno 08:15 (quit) Twey: Excess Flood 08:22 (join) Twey 08:32 (join) RacketCommitBot 08:32 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/AV_LbQ 08:32 RacketCommitBot: racket/master 3e5a9ca Robby Findler: unbreak check syntax... 08:32 (part) RacketCommitBot 08:45 (join) ASau 08:56 (join) francisl 09:20 (quit) Twey: Excess Flood 09:22 (quit) snowylike: Quit: Nettalk6 - www.ntalk.de 09:28 (join) Twey 09:35 (quit) neilv: Quit: Leaving 09:58 (join) groovy2shoes 09:59 (join) serhart 09:59 (quit) kofno: Remote host closed the connection 10:08 (join) Fare 10:27 (quit) bartbes_: Ping timeout: 264 seconds 10:40 (join) mizu_no_oto 10:45 (quit) serhart: Quit: Leaving. 10:45 (quit) sirdancealot7: Ping timeout: 255 seconds 10:50 (join) serhart 10:55 (join) grettke 10:57 (join) sirdancealot7 10:58 (quit) mizu_no_oto: Ping timeout: 256 seconds 11:01 (join) kofno 11:09 (quit) groovy2shoes: Quit: Computer has gone to sleep 11:09 (quit) kofno: Ping timeout: 276 seconds 11:27 (join) neilv 11:33 (join) mizu_no_oto 11:40 (join) netrino 11:45 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 11:50 (join) mithos28 11:52 (join) mizu_no_oto 12:00 (join) ijp 12:15 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 12:16 (join) snowylike 12:24 (join) soegaard 12:29 (join) jonrafkind 12:35 (join) Shvillr 12:39 (join) zacts 12:43 (quit) snowylike: Quit: Nettalk6 - www.ntalk.de 12:47 (quit) Demosthenex: Ping timeout: 246 seconds 12:49 (quit) netrino: Ping timeout: 255 seconds 12:49 (join) Demosthenex 12:51 (join) kofno 12:53 (join) groovy2shoes 12:53 (quit) serhart: Quit: Leaving. 12:58 (quit) soegaard: Quit: soegaard 13:01 (quit) parcha: Remote host closed the connection 13:07 (join) Nisstyre-laptop 13:18 (join) soegaard 13:18 (quit) francisl: Quit: francisl 13:21 (join) ijp` 13:23 (quit) ijp: Ping timeout: 252 seconds 13:26 (join) shriphan` 13:29 (part) shriphan` 13:36 (quit) zacts: Quit: ERC Version 5.3 (IRC client for Emacs) 13:42 (join) shriphani_ 13:46 shriphani_: Hi. I am sure I am reading the docs incorrectly and I might come off as stupid asking this. I have the following two files and I am trying to use the first one as a #lang language. What is wrong here?: http://pastebin.ca/2307844 and http://pastebin.ca/2307846 13:46 mithos28: shriphani_: What is the error you get? 13:47 jonrafkind: you need (require "shriphani.rkt") 13:47 jonrafkind: instead of #lang shripani 13:47 mithos28: jonrafkind: Not if he/she is trying to use it as #lang language 13:48 jonrafkind: thank you for enlightening me 13:48 shriphani_: mithos28: http://pastebin.ca/2307847 13:48 shriphani_: but the path adds up. 13:48 shriphani_: i mean shriphani.rkt is still in /tmp 13:49 jonrafkind: shriphani_, also it should be @title{Firdaus} you dont need the quotes in there 13:49 shriphani_: Won't it still work ? 13:49 jonrafkind: yea it will 13:49 shriphani_: I have `(h1 ,s) 13:49 mithos28: Ok, so the first issue is that you cannot use arbitrary paths after #lang at-exp 13:49 mithos28: try using #lang at-exp reader "your-file.rkt" 13:50 shriphani_: mithos28: but there's a wikipedia snippet doing what I did (but with s-exp). 13:50 mithos28: shriphani_: That is a key difference 13:50 jonrafkind: shriphani_, http://pastebin.ca/2307849 13:51 shriphani_: mithos28: read-syntax: cannot find reader for `#lang reader "shriphani.rkt"' 13:52 mithos28: Interesting 13:53 mithos28: It looks like that is because at-exp is 'broken' 13:54 shriphani_: .... 13:54 mithos28: It reads the rest of the line instead of just the next object 13:54 jonrafkind: shriphani_, did that work 13:56 shriphani_: jonrafkind: I really wanted to use my own #lang (as a reading exercise + for learning more). 13:56 (join) netrino 13:58 shriphani_: mithos28: how does scribble build then ? 13:58 jonrafkind: ok then you have to create a directory called 'shriphani' that contains main.rkt which exports all the proper bindings to make a racket program work (like #%top, #%app, #%module-begin, etc). you can just re-export racket for now. then you need a lang/ directory with a reader.rkt file in there that specifies how to read the language 13:58 jonrafkind: you can use submodules instead of making all those different files too 13:58 mithos28: shriphani_: It is broken in the sense that it doesn't work with chained module readers 13:59 mithos28: so #lang at-exp module-path works 13:59 jonrafkind: then do PLT_COLLECTS_PATH=/path/to/shripani:$PLT_COLLECTS_PATH 13:59 mithos28: but #lang at-exp reader module-path doesn't 13:59 mithos28: follow jonrafkind's instructions for a way to use the first syntax 14:02 mithos28: shriphani_: What was the first line of your file when you got read-syntax: cannot find reader for `#lang reader "shriphani.rkt"' 14:02 shriphani_: racket@shriphani.rkt> ,enter "/tmp/test-shriphani.rkt" 14:02 shriphani_: read-syntax: cannot find reader for `#lang reader "shriphani.rkt"' 14:04 mithos28: the at-exp reader is working for me 14:05 mithos28: actually I think you want #lang at-exp s-exp "shriphani.rkt" 14:07 shriphani_: racket@> ,enter "/tmp/test-shriphani.rkt" 14:07 shriphani_: in: (module test-shriphani "shriphani.rkt" (#%module-begin (title "Firdaus"))) 14:07 shriphani_: errortrace...: 14:07 shriphani_: ..... 14:07 shriphani_: is it geiser ? 14:07 mithos28: I don't use geiser 14:08 mithos28: what is the actual error 14:08 (quit) netrino: Remote host closed the connection 14:08 mithos28: since you should still be getting an error 14:09 mithos28: because your "shriphani.rkt" file is not a real language file yet 14:09 mithos28: languages need to provide #%app and #%module-begin 14:09 shriphani_: http://pastebin.ca/2307855 14:09 shriphani_: that is the full error.. 14:09 mithos28: The easiest way to do that is to (provide (all-from-out racket)) 14:10 mithos28: yep, thats what I was hoping for 14:10 mithos28: so add the provide to "shriphani.rkt" and see if it goes away 14:12 shriphani_: yup that works. 14:20 (join) francisl 14:22 Fare: is there a webpage for the highschool teaching thing? 14:22 Fare: the old bootstrap camp page looks like it's down. 14:22 mithos28: http://www.bootstrapworld.org/ 14:28 (quit) jeapostrophe: Ping timeout: 276 seconds 14:31 (quit) Nisstyre-laptop: Read error: Connection reset by peer 14:31 (quit) ijp`: Read error: Connection reset by peer 14:32 (join) ijp` 14:43 (join) noam__ 14:46 (quit) noam_: Ping timeout: 255 seconds 14:55 (quit) kofno: Remote host closed the connection 15:25 (join) kofno 15:34 (quit) kofno: Ping timeout: 244 seconds 15:43 (join) adu 16:23 (join) gridaphobe 16:30 (quit) gridaphobe: Remote host closed the connection 16:32 (quit) jonrafkind: Ping timeout: 252 seconds 16:49 (quit) francisl: Quit: francisl 17:01 (join) kofno 17:10 bremner: is there a way to update the collects path from within a racket module? 17:12 mithos28: rudybot: doc current-library-collection-paths 17:12 rudybot: mithos28: your lazy sandbox is ready 17:12 rudybot: mithos28: http://docs.racket-lang.org/reference/collects.html#(def._((quote._~23~25kernel)._current-library-collection-paths)) 17:13 mithos28: bremner: Is that what you want? 17:14 bremner: mithos28: OK, but if I parameterize that, inside the body of the parameterize, certain things (like require) don't work anymore. 17:15 mithos28: If you change the collects path, wouldn't you expect require to not work 17:15 mithos28: Maybe if you could give more details on what you want 17:16 (join) anRch 17:17 (join) didi 17:17 bremner: I have a local collects directory, I want to be able to use it in scripts without updating PLTCOLLECTS. 17:17 bremner: or giving the interpreter the path on the command line. 17:17 mithos28: Do you want raco pkg then? 17:18 didi: Does Racket have support for unix domain sockets? 17:18 mithos28: That can set up a separate root collection directory 17:18 didi: bremner: raco link 17:18 bremner: mithos28: no, I don't think so. I just want to be able to run scripts from within drracket/geiser that use the local collection. 17:18 mithos28: didi: right, raco link not raco pkg 17:19 bremner: if you know perl, I want the equivalent of 'use lib "./collects";' 17:19 mithos28: don't know perl 17:19 mithos28: can you explain why raco link doesn't work better 17:19 bremner: because it doesn't work in a repl? 17:19 mithos28: it does 17:19 bremner: oh. OK. 17:20 mithos28: it sets up installation wide stuff 17:20 mithos28: didi: I don't think so about sockets 17:20 bremner: hmm. It still isn't local to a script. But I guess that is just hard for some reason... 17:21 mithos28: bremner: If you want it local to a script, why doesn't current-library-collection-paths work 17:21 bremner: mithos28: probably I am just incompetant. Can you show me an example? 17:22 mithos28: (current-library-collection-paths (cons "new directory" (current-library-collection-paths))) 17:22 mithos28: then future requires will also look in there 17:22 bremner: oh. 17:22 mithos28: also you can use parameterize if you want it more scoped 17:22 (quit) MayDaniel: Read error: Connection reset by peer 17:22 bremner: yes, I tried parameterize first, but that is too restrictive I think. 17:23 bremner: I don't know why I didn't pull that out of the docs. 17:26 bremner: mithos28: thanks, that seems to work. 17:27 (part) bjz 17:36 (quit) soegaard: Quit: soegaard 17:36 (quit) adu: Quit: adu 17:49 (quit) ijp`: Quit: The garbage collector got me 17:58 (quit) masm: Quit: Leaving. 18:00 (join) francisl 18:14 (join) bjz 18:16 (quit) anRch: Quit: anRch 18:30 (quit) Cryovat: Quit: BOOM 18:35 didi: mithos28: Aw, that's unfortunate. I found a message on the mailing list from 2007 about it. 18:37 didi: There is a socket package on Planet, but it is not working for me here. 18:38 (part) bjz 18:39 didi wonders about writing one 18:40 neilv: looks like the db package uses the ffi for unix domain sockets 18:42 neilv: your best bet is to ask on the email list. unix domain sockets would be good functionality to have in the standard library of racket 18:43 neilv: ok, i see the 2007 emails. looks like it was seen as a relatively low priority 18:44 neilv: but since then ryanc has implemented something for the db package 18:49 bremner: can anyone explain why this runs fine in DrRacket, but "racket file.rkt" doesn't seem to use the collection-path: http://paste.debian.net/229451/ 18:49 didi: neilv: What about asking ryanc to port the implementation to core Racket? 18:50 (join) Cryovat 18:50 mithos28: bremner: I'm guessing it is something to do with when the require does the lookup 18:50 mithos28: what happens when you raco make it? 18:51 bremner: mithos28: it odesn't compile 18:51 bremner: * doesn't 18:51 didi: People seemed a little reluctant to make it core Racket in 2007, though. 18:51 neilv: didi: you could ask on the email list about unix domain socket, and mention the existing code in the db collection. or i guess you could ask ryanc what he thought about the idea first 18:51 mithos28: ah, because drracket probably didn't properly sandbox your code 18:52 mithos28: what happens if you run it in a fresh drracket? 18:53 bremner: works 18:53 mithos28: Interesting, throws out that hypothesis 18:53 mithos28: so you at least need to do it in phase one 18:53 didi: neilv: OK, I'll write to the mailing list. 18:54 mithos28: can you try duplicating it and adding (begin-for-syntax …) around one of them 18:54 (quit) kofno: Remote host closed the connection 18:54 bremner: around the require? 18:54 mithos28: no, the setting of the current-library-collection-paths 18:54 bremner: ok. 18:56 bremner: current-library-collection-paths: unbound identifier in the transformer environment; 18:56 bremner: also, no #%app syntax transformer is bound in: current-library-collection-paths 18:57 mithos28: you'll need (require (for-syntax racket/base)) 18:57 mithos28: or #lang racket instead of #lang racket/base 19:00 bremner: ah, that seems to do it, after making sure local-collects is also defined for-syntax. 19:01 mithos28: yeah, because it will try to load the module at phase 1 looking for macros and so it needs to know about where they sould be 19:01 mithos28: I think it is actually a bug that it worked in DrRacket 19:02 bremner: yes, that makes sense. 19:02 bremner: it works in geiser too, but I know geiser does funny things with module loading. 19:03 bremner: mithos28: do you think that is a bug worth reporting? I'm not sure I can write a good bug report. 19:04 bremner: I guess I can report that DrRacket and the command line are inconsistent. 19:04 mithos28: I think you should report it, matthew should be able to figure out why the phases aren't seperate 19:08 (quit) mithos28: Quit: mithos28 19:09 (join) jeapostrophe 19:09 (quit) jeapostrophe: Changing host 19:09 (join) jeapostrophe 19:10 (quit) groovy2shoes: Quit: Computer has gone to sleep 19:14 (join) bjz 19:15 (quit) dnolen: Quit: ERC Version 5.3 (IRC client for Emacs) 19:16 (quit) bitonic: Read error: Connection reset by peer 19:16 (join) bitonic 19:18 bremner: darn. As soon as I look at the reported bug I can see it is invalid. 19:18 bremner: Can I close a bug that I submitted? 19:18 (join) mithos28 19:18 (part) bjz 19:19 mithos28: bremner: I don't think so, why is it invalid? 19:34 (join) jonrafkind 19:38 (join) gridaphobe 19:40 (quit) cdidd: Remote host closed the connection 19:44 (join) Kaylin 19:45 (join) sw2wolf 19:48 (join) kofno 19:54 (quit) kofno: Remote host closed the connection 20:00 (quit) Kaylin: Quit: Leaving. 20:01 (part) sw2wolf: "ERC Version 5.3 (IRC client for Emacs)" 20:03 (join) dnolen 20:20 (join) kofno 20:29 (quit) mithos28: Quit: mithos28 20:33 (join) mithos28 20:45 (quit) mithos28: Quit: mithos28 20:56 (quit) bitonic: Ping timeout: 260 seconds 21:02 (quit) tzafrir_laptop: Ping timeout: 244 seconds 21:19 (quit) gridaphobe: Remote host closed the connection 21:29 offby1: no, it must persist indefinitely, reminding the world of your failure 21:29 (join) Nisstyre 21:29 (join) gridaphobe 21:32 (quit) Nisstyre_: Ping timeout: 252 seconds 21:35 (quit) Nisstyre: Ping timeout: 255 seconds 21:35 didi: offby1: Are we still talking about bug reports or the Internet? 21:36 (join) Nisstyre 21:39 offby1: I was. yes, I know it was two hours ago. 21:48 (join) Nisstyre_ 21:51 (quit) Nisstyre: Ping timeout: 252 seconds 22:06 (quit) neilv: Ping timeout: 252 seconds 22:08 (quit) shriphani_: Quit: shriphani_ 22:15 (quit) gridaphobe: Remote host closed the connection 22:16 (join) gridaphobe 22:21 (join) tsion 22:21 (quit) tsion: Changing host 22:21 (join) tsion 22:22 (quit) francisl: Quit: francisl 22:28 (quit) dnolen: Ping timeout: 252 seconds 22:30 (join) shriphani_ 22:38 (join) cataska 22:41 (quit) Nisstyre_: Ping timeout: 255 seconds 22:42 (join) Nisstyre 22:54 (quit) rmathews: Quit: ... 22:57 (quit) jeapostrophe: Ping timeout: 252 seconds 23:00 (join) francisl 23:04 (quit) tsion: Quit: Leaving 23:18 (join) groovy2shoes 23:22 (join) dnolen 23:24 (quit) Nisstyre: Ping timeout: 260 seconds 23:26 (join) Nisstyre 23:34 (quit) dnolen: Remote host closed the connection 23:41 (join) Nisstyre_ 23:41 (quit) Nisstyre: Disconnected by services 23:42 (nick) Nisstyre_ -> Nisstyre 23:43 (join) univyrse 23:43 (part) univyrse 23:44 (quit) shriphani_: Read error: Connection reset by peer 23:46 (join) Nisstyre-laptop 23:47 (join) shriphani_