00:14 (join) aalix 00:24 (join) dnolen 00:32 (join) samth_ 00:42 askhader: Wow, nobody said anything in the past 24 hours.. 00:48 jonrafkind: boo 00:48 (quit) rekahsoft: Ping timeout: 276 seconds 00:49 (join) rekahsoft 00:49 (quit) dnolen: Quit: dnolen 00:53 (quit) rekahsoft: Ping timeout: 258 seconds 01:27 (quit) samth_: Ping timeout: 255 seconds 02:18 (quit) ckrailo: Quit: Computer has gone to sleep. 02:19 (join) ckrailo 02:23 (quit) ckrailo: Ping timeout: 252 seconds 02:25 (quit) jonrafkind: Ping timeout: 240 seconds 02:42 (quit) mario-goulart: Remote host closed the connection 02:43 (join) mario-goulart 03:48 (join) masm 04:07 (join) noelwelsh 04:56 (quit) Quinrapt: Quit: Phallic Illuminatus 05:29 (quit) vu3rdd: Read error: Connection reset by peer 05:40 (join) MayDaniel 06:02 (quit) MayDaniel: Read error: Connection reset by peer 07:30 (join) MayDaniel 07:51 (quit) MayDaniel: Read error: Connection reset by peer 08:01 (join) jeapostrophe 08:05 jeapostrophe: rudybot: later tell Demosthenes This is the start of an ncurses interface that didn't turn out to do what I wanted: https://github.com/jeapostrophe/rl/tree/master/exp/ncurses 08:05 rudybot: minion: memo for Demosthenes: jeapostrophe told me to tell you: This is the start of an ncurses interface that didn't turn out to do what I wanted: https://github.com/jeapostrophe/rl/tree/master/exp/ncurses 08:45 (join) dnolen 09:06 (join) samth_ 09:14 ohwow: oohh rougelike 09:14 ohwow: cool 09:18 (quit) jeapostrophe: Quit: jeapostrophe 09:36 (join) jonrafkind 09:49 (quit) dnolen: Quit: dnolen 10:09 (join) rekahsoft 10:27 (join) Demosthenes 10:43 (join) kenjin2201 10:44 (join) dnolen 10:45 (join) mithos28 10:48 (quit) samth_: Ping timeout: 255 seconds 10:51 (join) mithos28_ 10:53 (quit) mithos28: Ping timeout: 244 seconds 10:53 (nick) mithos28_ -> mithos28 11:13 (quit) aalix: Quit: Textual IRC Client: http://www.textualapp.com/ 11:19 (join) ckrailo 11:21 (join) entrix 11:27 (nick) samth_away -> samth 12:01 (join) shofetim 12:02 (join) tauntaun 12:07 (quit) noelwelsh: Quit: noelwelsh 12:09 (join) lucian 12:25 (quit) masm: Ping timeout: 240 seconds 12:26 (quit) gienah: Quit: leaving 12:31 (quit) tauntaun: Quit: Ex-Chat 12:49 (join) masm 12:57 (join) anRch 13:00 (join) PLT_Notify 13:00 PLT_Notify: [racket] plt pushed 1 new commit to master: http://bit.ly/jjNeJd 13:00 PLT_Notify: [racket/master] Use a real contract instead of imaginary for sleep - Asumu Takikawa 13:00 (part) PLT_Notify 13:01 jonrafkind: ooh fancy 13:02 jonrafkind: who made that change to plt_notify, samth or github? 13:02 samth: i didn't do anything 13:02 samth: also, i'm not in charge, eli is 13:02 jonrafkind: oh ok 13:31 (quit) lucian: Quit: Ex-Chat 13:32 (quit) anRch: Ping timeout: 255 seconds 13:38 (join) lucian 14:20 offby1 wonders what an imaginary contract is 14:20 jonrafkind: imaginary numbers 14:20 jonrafkind: real numbers 14:25 (join) anRch 14:27 samth: a contract that does not exist 14:37 offby1: just a comment, like ;; int? . -> . boolean? 14:40 (quit) tewk: Remote host closed the connection 14:50 samth: no, like a contract in the documentation like this 'foo : perfect-square?' 14:50 samth: except that perfect-square? doesn't actually exist 14:51 (quit) _p4bl0: Read error: Connection reset by peer 14:55 (join) _p4bl0 15:02 (join) tauntaun 15:12 eli: jonrafkind: GH did. 15:13 jonrafkind: ok 15:38 (quit) kenjin2201: Remote host closed the connection 15:39 (quit) anRch: Quit: anRch 15:57 (quit) tauntaun: Quit: Ex-Chat 16:07 (quit) shofetim: Read error: Connection reset by peer 16:07 (join) shofetim 16:11 (quit) mithos28: Ping timeout: 240 seconds 16:12 (part) shofetim 16:13 offby1: Man, I love Danny Yoo. I gotta send him money or beer or something. 16:13 offby1 's brain is all befudged 16:15 jonrafkind: i wrote an email to the list on how to make a #lang at some point 16:16 (join) mithos28 16:20 offby1: ah, but it probably didn't make me laugh out loud the way https://github.com/dyoo/brainfudge.git does :) 16:21 jonrafkind: 404 16:21 stamourv: 404s make me laugh out loud. 16:22 offby1: ah, https://github.com/dyoo/brainfudge 16:22 offby1: I always do that 16:22 offby1: github's 404s are indeed more amusing than average 16:23 offby1: and specifically, his manual, which is more easily readable at http://planet.racket-lang.org/package-source/dyoo/bf.plt/1/4/planet-docs/manual/index.html 16:23 rudybot: http://tinyurl.com/63997l7 16:24 jonrafkind: that sort of stuff needs loads more documentation 16:26 (nick) elliottcable -> ec|detached 16:27 (quit) ckrailo: Quit: Leaving... 16:28 offby1: and dyoo is providing it, apparently outta the goodness of his heart; hence my urge to throw beer at him 16:30 (quit) mithos28: Quit: mithos28 16:31 (join) tunes 16:33 stamourv: offby1: He's probably going to be at RacketCon. You should come too. 16:35 offby1: yeah, well, I've love to come to racketcon, but it's 3,000 miles away. 16:35 (join) asumu 16:35 offby1: I should send rudybot as my emmisary. 16:35 rudybot: You should indeed. I promise not to pad my expense account. 16:42 (join) ckrailo 16:46 (quit) entrix: Ping timeout: 240 seconds 16:48 stamourv: offby1: It seems your name is misspelled in the acknowledgements for rackunit. Or is it referring to someone else? 17:11 (join) mithos28 17:19 (nick) ec|detached -> elliottcable 17:26 (join) David_ 17:27 David_: Hi, I have one question regardin RACKET, I have one homework to do, something with HTML (#lang web-server/insta) what do you suggest do create something easy and fast 17:28 jonrafkind: a blog 17:28 David_: thank you, but there is allready one in the sample 17:28 samth: how about a clone of twitter? 17:29 jonrafkind: just what we need 17:29 stamourv: A webcomic? 17:29 samth: where everyone can post to a timeline 17:29 David_: I think it's tu much, I shoud spent a lot of time 17:29 David_: I am new with racket 17:29 jonrafkind: make the 20 questions game 17:29 jonrafkind: which learns new responses 17:30 David_: do you any link, where can I see samples with #lang web-server/insta ? 17:30 jonrafkind: you just said theres one in the sample 17:31 David_: yes, sorry, I thought another samples 17:42 (quit) David_: Quit: Page closed 17:49 offby1: stamourv: never noticed my name in the acknowledgements of rackunit; I'll check 17:49 stamourv: offby1: Thanks. If it is indeed misspelled, I'll fix it. 17:49 offby1: stamourv: you are correct, sir! I shall send them the missing "r" via FedEx. 17:49 offby1: oh, better yet. 17:50 stamourv: Ok, I'll fix that. 17:50 offby1: (that's good, since I only have two or three 'r's left.) 17:51 stamourv: We got several unopened Scrabble boxes around the lab, so we should have plenty of Rs. 17:51 offby1: aw, I'd hate for you to have to bust the seal on a new box. 17:52 stamourv: It's ok, we just got a grant for several more. 17:52 stamourv: That's your tax money at work ;). 17:52 offby1: hm, well ok 17:52 offby1: _ __ 17:52 eli: stamourv: No need, I already did it. 17:52 offby1: | '__| 17:52 offby1: | | 17:52 offby1: |_| 17:53 offby1: one just came across the wire! 17:53 offby1: a gift from an anonymous donor. 17:53 stamourv: eli: Ok. 17:53 offby1: (case r ((upper) 'quit-shouting) ((lower) 'speak-up-sonny)) 17:56 eli: tonyg: That HOST_RACKET_BUILD_ROOT looks very suspicious. 17:57 eli: s/very suspicious/broken/ 17:57 (join) lucian_ 17:58 (join) shofetim 17:58 (join) PLT_Notify 17:58 PLT_Notify: [racket] plt pushed 1 new commit to master: http://bit.ly/kGQcNc 17:58 PLT_Notify: [racket/master] Fix GUI and Reference doc typos - Asumu Takikawa 17:58 (part) PLT_Notify 18:00 (quit) lucian: Ping timeout: 246 seconds 18:04 (quit) mithos28: Quit: mithos28 18:09 (quit) dnolen: Ping timeout: 252 seconds 18:12 (join) CoolgyFurlough 18:12 CoolgyFurlough: quick question 18:13 CoolgyFurlough: Does racket work properly on Ubuntu Natty? 18:13 offby1: yep 18:14 CoolgyFurlough: even thought the download on the site is for Jaunty? 18:14 bremner: what download on what site? 18:15 CoolgyFurlough: http://racket-lang.org/download/ 18:16 offby1: CoolgyFurlough: yeah, it's fine 18:16 offby1: dunno why they put the release name there 18:16 CoolgyFurlough: kk, thanks :D 18:16 bremner: there is also a PPA 18:16 offby1: ooh 18:17 (quit) asumu: Ping timeout: 276 seconds 18:17 (quit) CoolgyFurlough: 18:18 jonrafkind: ill update the ppa for natty at some point 18:19 offby1 dreads natty 18:20 bremner: is that a bob marley reference, or Peter Tosh? 18:20 offby1: I honestly don't know. 18:20 offby1: all I know is it's a raggae reference 18:24 (join) mithos28 18:29 (join) Lajla 18:30 samth: eli: what do you think is wrong w/ HOST_RACKET_BUILD_ROOT? 18:30 samth: something like that is needed for cross-compiling w/ 3m 18:33 eli: samth: I don't know which part is needed, or what you mean by "cross-compiling w/ 3m", but using the current directory is asking for trouble, and another issue is that (IIRC) paths are all relative to the source makefile. 18:33 samth: eli: he's cross-compiling racket 18:33 samth: but the target racket can't run on the host machine 18:33 samth: so there needs to be some version of racket to use for xform 18:33 eli: In short, this looks like something that would break if configure is used inside or outside the build tree. 18:34 samth: normally, racket uses the cgc version of racket that it just built to bootstrap 18:34 eli: That's cross-compiling period (I don't see 3m-specificeness here), but what I said still makes it broken regardless. 18:34 samth: but if the C compiler is compiling to another architecture, then that won't work 18:35 samth: the complication is only needed for 3m, b/c racket isn't part of the build process for cgc 18:35 samth: the current makefiles are all doing stuff relative to the current directory 18:37 eli: I have no idea how that's relevant. If stuff in the makefiles is not relative to the current directory, then things are broken. 18:37 eli: Referring to something outside of the current build directory should be done by a new environment variable that points to that outside place. 18:37 (quit) mithos28: Quit: mithos28 18:37 eli: "Complication" is also an odd word for something that looks like it's broken. 18:37 (quit) lucian_: Remote host closed the connection 18:39 samth: that's exactly what that variable is doing -- pointing to someplace that might be outside the current directory 18:39 samth: but might also be in the current directory 18:40 eli: That sounds even more straightforwardly wrong. 18:42 samth: eli: before we continue, do you understand the problem being solved here? 18:42 eli: Yes, and you don't understand what I'm suggesting. 18:42 (join) lucian 18:43 (join) sheikra 18:44 samth: therefore, you understand that to run xform, a working (host) version of racket is need 18:44 samth: ed 18:44 sheikra: hey! Is there an easy way to parse a racket file and get full information about the s-exps? I mean with start and end offsets and line, col information? 18:44 (join) mithos28 18:44 offby1: I bet there is 18:44 offby1: I'd be interested to hear how 18:44 samth: sheikra: see `read-syntax' 18:45 offby1: sheikra: and see http://planet.racket-lang.org/package-source/dyoo/bf.plt/1/4/planet-docs/manual/index.html for a nicely-written example of how to use it 18:45 rudybot: http://tinyurl.com/63997l7 18:45 offby1: (among some other things) 18:45 sheikra: samth: thanks! 18:46 samth: sheikra: then use `syntax-line', `syntax-column', etc 18:47 samth: eli: so the host version might be either the just-built cgc version, which is in the source tree 18:47 samth: or some other version, which would be outside the source tree 18:49 sheikra: samth: great 18:50 eli: samth: No, the just-built cgc version is *not* in the source tree. 18:50 samth: right, sorry, it's in the build tree 18:51 samth: which is also where the makefile is 18:51 sheikra: Do I open a file with open-input-file first then use read-syntax? 18:51 samth: sheikra: yes 18:54 sheikra: This is what I did ... (define f1 (open-input-file "t1.ss")) (define s1 (read-syntax f1)) ... 18:54 sheikra: then (syntax-line s1) save me #f 18:56 (quit) mithos28: Quit: mithos28 18:56 jonrafkind: you need to call count-port-lines or whatever 18:57 jonrafkind: http://docs.racket-lang.org/reference/linecol.html?q=port-count#(def._((quote._~23~25kernel)._port-count-lines!)) 18:58 sheikra: I don't want the number of lines in the file. I want a list of sexps, with their line, col, start, end index information 18:58 eli: samth: Yes, it's in the build tree, which is why adding a "CURDIR" variable is bogus. Instead, it could run racketcgc as usual or, when some environment variable is specified, from there. 18:58 (join) dnolen 18:59 jonrafkind: sheikra, what is a line? 18:59 samth: sheikra: `port-count-lines!' enables line/column/character information for that port 18:59 samth: eli: that's exactly what it's doing 19:00 eli: sheikra: You're missing an argument -- see the docs. (You need something like (read-syntax 'foo )) 19:00 eli: samth: No, that's not what it's doing -- it makes it always use $CURDIR. 19:00 sheikra: eli: oh, but what should 'foo be? 19:01 jonrafkind: actually he wanted (with-input-from-file "t1.ss" (lambda () (read-syntax))) 19:01 jonrafkind: oh nevermind, you're right 19:02 samth: eli: isn't that CURDIR at build time -- therefore, in the build tree? 19:02 eli: sheikra: 'foo should be the name of the port -- the common convention would be (object-name ) 19:03 eli: samth: That's exactly why I started with "questionable" -- if that's what CURDIR is, then it is not needed; the fact that it was makes it suspicious and very likely broken. 19:03 sheikra: eli: ah, ... 19:04 samth: as in, instead of using CURDIR, you'd use "" ? 19:04 sheikra: eli: I just have a line "(lambda (x) x)" in the file t1.ss, and I want a sexp returned from the parser, with all the location information for (lambda (x) x), lambda, (x), and x ... 19:06 (join) riddochc 19:07 riddochc: Heya. I'm having problems building racket-textual-5.1.1 on solaris, with --disable-libffi. 19:08 riddochc: In particular, this is what I get from part of the main configure script, when it calls the configure script in foreign/libffi: 19:08 riddochc: === configuring in foreign/libffi (/ma/home/criddoch/racket-textual-5.1.1/src/build/foreign/libffi) 19:08 riddochc: configure: running /bin/bash ../../../foreign/libffi/configure '--prefix=/ma/home/criddoch/' '--disable-gracket' '--enable-usersetup' '--disable-libffi' --cache-file=/dev/null --srcdir=../../../foreign/libffi 19:08 riddochc: configure: WARNING: unrecognized options: --disable-gracket, --enable-usersetup, --disable-libffi 19:11 riddochc: So, foreign.o gets built, but it fails when trying to link - likely, because there really is no libffi to link to. 19:23 samth: riddochc: those warnings aren't a problem 19:23 samth: but it ought to not try to link that at all 19:23 riddochc: Maybe not, but it still tries to link, and fails. 19:24 samth: riddochc: you need to use --disable-foreign 19:24 samth: --disable-libffi is about whether it uses the system or bundled version of libffi 19:25 riddochc: Oh. I was using disable-libffi because there isn't an installed libffi... I suppose I should have just let it figure it out for itself. 19:26 riddochc: Trying that now. 19:26 (quit) tunes: Quit: Leaving 19:31 riddochc: Hmmm. 19:31 riddochc: libtool: link: false cru .libs/libffi.a src/debug.o src/prep_cif.o src/types.o src/raw_api.o src/java_raw_api.o src/closures.o src/sparc/ffi.o src/sparc/v8.o src/sparc/v9.o 19:31 riddochc: make[9]: *** [libffi.la] Error 1 19:32 (quit) masm: Quit: Leaving. 19:33 riddochc: Oh, well. I'll just --disable-foreign, then. 19:33 jonrafkind: what does 'false cru' mean? wasn't it trying to do 'ar cru ...' ? 19:34 (join) jeapostrophe 19:34 riddochc: Good question. Perhaps it couldn't find ar. 19:34 riddochc: This is a pretty wonky solaris setup. 19:34 riddochc: Just a guess. 19:36 riddochc: Yeah, ar isn't found. And it looks like it can't find a header necessary for file locking, in racket/src/port.c. implicit definition of flock, FLOCK_EX undeclared, etc. 19:36 riddochc: Okay, looks like I have bigger problems. Thanks for the help. ;) 19:36 riddochc: Without ar, I suspect I'm out of luck on this anyway. 19:37 jonrafkind: well yea but why dont you have ar 19:37 jonrafkind: isnt that pretty standard? 19:38 riddochc: Heck if I know. Solaris. Heh. 19:40 riddochc: I live in linux-land most of the time. In fact, the entire reason I was trying to build racket is because I can do something approaching what I'd otherwise do with shell scripts, but the differences between solaris and gnu tools... well. 19:41 riddochc: Sed doesn't have -i. I don't know how sed is usable at all, without that. Just as an example. 19:41 jonrafkind: yes the bsd toolset is an abomination 19:41 jonrafkind: but you can just install the gnu tools 19:41 bremner: solaris is not NSF 19:41 bremner: err bsd 19:41 riddochc: BSD is another beast altogether, I thought. Another branch of the unix history. 19:42 bremner: sunos was bsd 19:42 riddochc: And yes, I could just install the gnu tools, if I could build them, which without 'ar' or sysadmin privileges seems extremely unlikely. 19:43 riddochc: Maybe ar is just in an sbin directory somewhere. In any case, this obviously isn't a racket problem. 19:43 jonrafkind: i thought solaris, osx, and freebsd all shared the same basic tools 19:44 riddochc: It's... complicated, jonrafkind. But, I do want to say, cheers for racket - The 'fold-files' function alone makes racket a nice shell-script replacement, or sysadmin tool. 19:45 jonrafkind: does it descend into sub-directories? 19:46 (quit) sheikra: Quit: Leaving 19:46 riddochc: Yes, it does. 19:47 riddochc: And it's a proper fold, too, so I can accumulate properties of any group of files/directories I need. 19:48 lisppaste: riddochc pasted "demo of fold-files" at http://paste.lisp.org/display/122612 19:50 riddochc: First command-line-arg is turned into a regex, second is a path. This finds the total file size of all files matching that regex in that path, and subdirectories. 19:50 riddochc: There may be a better way to do this, but this was the first thing I came across that looked like it would do what I wanted. 19:52 jonrafkind: yea looks good 19:52 riddochc: It's likely that bash or zsh has some clever way of doing the same, but this was pretty easy to do. 19:52 jonrafkind: now i have to see if python's os.walk can do it :p 19:52 (join) asumu 19:53 riddochc: I'm sure it can, jonrafkind. Anyhow, I need to be somewhere else. Have fun racketing, everyone. 19:53 (part) riddochc: "No reason" 19:54 (quit) jeapostrophe: Quit: jeapostrophe 19:57 (join) JoelMcCracken 20:03 (join) mithos28 20:06 (quit) lucian: Quit: Ex-Chat 20:23 (quit) JoelMcCracken: Ping timeout: 240 seconds 20:24 (quit) ckrailo: Quit: Computer has gone to sleep. 20:29 (nick) samth -> samth_away 20:52 (join) gienah 20:52 (join) ckrailo 21:20 (join) redgetan 21:22 (join) samth_ 21:27 (quit) rekahsoft: Read error: Operation timed out 21:28 (join) rekahsoft 21:32 (quit) jonrafkind: Ping timeout: 258 seconds 22:04 (join) jeapostrophe 22:30 (quit) rekahsoft: Ping timeout: 240 seconds 22:31 (join) rekahsoft 22:33 (nick) elliottcable -> ec|detached 23:11 offby1: samth_away: heh. "done business with"? :-) 23:35 (quit) samth_: Ping timeout: 255 seconds 23:39 (join) aalix