00:16 (part) shofetim: "ERC Version 5.3 (IRC client for Emacs)" 00:16 eli: rudybot: eval #lang foo (printf "blah\n") 00:16 rudybot: eli: error: standard-module-name-resolver: collection not found: # in any of: (# #) 00:16 eli: rudybot: eval #lang racket (printf "blah\n") 00:16 rudybot: eli: Done. 00:17 eli: rudybot: (require 'program) 00:17 rudybot: eli: Done. 00:17 eli: rudybot: eval #lang racket (define x 123) 00:17 rudybot: eli: Done. 00:17 eli: rudybot: (require 'program) 00:17 rudybot: eli: Done. 00:17 eli: rudybot: x 00:17 rudybot: eli: error: reference to an identifier before its definition: x in module: 'program 00:45 em: offby1: I was thinking maybe make a user interface with html/css/javascript that writes data to a file which is processed by racket and outputs an .html file to be viewed in a browser. 00:46 em: That's the only way I can see to use racket to make an application that isn't in a console like drracket. 01:12 (quit) Geisteskrankh: Ping timeout: 260 seconds 01:27 (quit) hussaibi: Ping timeout: 268 seconds 01:33 (join) dnolen 01:36 offby1: you can do traditional desktop GUIs, too. In theory, you can run them outside of DrRacket. 01:36 offby1: I think you use "gracket" 01:36 offby1: didn't I say that yesterday? 02:01 em: nope 02:02 eli: em: Yes, you can write GUI code and run it with gracket. Or you can write some simple text code and run it with racket. Or write some network code and make it into a server. Or use the web server. 02:02 eli: It all depends on how your application wants to interact with whoever uses your code. 02:02 em: I will try to learn gracket. 02:03 em: I want to basically make like an interactive note taking program. 02:03 eli: So, first write the code so it runs in drracket. 02:03 eli: Then, just run the resulting file in gracket. 02:04 em: eli: huh? that works? 02:04 eli: Yes, of course. 02:05 em: so you can compile what you wrote to run in drracket with raco and then do gracket resultingfile.rkt ? 02:05 eli: No, you don't even need to compile. 02:05 eli: Here, type this into drracket's definition window: 02:05 eli: #lang racket/gui 02:05 eli: (define frame (new frame% [label "Foo"] [min-width 100] [min-height 100])) 02:05 eli: (send frame show #t) 02:06 eli: Then hit the Run button. 02:07 em: it made a window like thing 02:07 eli: OK, now close the window, then save the file. 02:07 eli: Which OS are you on? 02:07 em: okay 02:07 em: linux 02:07 em: ubuntu 02:07 eli: OK, so now just go to a terminal window, and enter 02:07 eli: "racket wherever/your/file/is.rkt" 02:08 em: okay 02:08 eli: (On linux you don't even need gracket -- racket will do fine.) 02:09 em: it turns out you do need to use gracket 02:10 eli: em: No, you shouldn't need it -- unless you're using a very old version. 02:10 eli: (Something before 5.1) 02:10 em: http://pastebin.com/fQvh3aPZ 02:11 em: eli: ^ 02:11 em: lemme see what my version is. 02:11 eli: em: run "racket -v" 02:11 em: em@maxwell:~$ racket -v 02:11 em: Welcome to Racket v5.0.2. 02:11 em: em@maxwell:~$ 02:12 eli: ThereYouGo. 02:12 eli: In your version, gracket is racket + a huge pile of C++ code for a GUI library. 02:12 em: I see. 02:12 eli: In newer versions (5.1 and up) gracket is racket + smaller pile of racket code for a gui library. 02:12 em: maybe i can somehow get rid of the version i have and get the better one but that's tricky for me. 02:12 eli: So it runs in racket too. 02:13 eli: Why is it tricky? 02:13 em: because i compiled the version i have here from source. since this was before racket had any presence in the ubuntu repos. 02:13 em: im not sure if it does yet. 02:13 eli: It doesn't matter -- just use our installer. 02:14 em: and im okay with compiling from source but im less confident about getting rid of something i compiled from source. 02:14 eli: You don't need to get rid of it. 02:14 eli: Do this: 02:14 em: i can probably do it by just rm -rf the directory i installed into. 02:14 eli: 1. go to racket-lang.org 02:14 em: okay 02:14 eli: 2. click the download. 02:14 em: yes ive been there. 02:14 eli: 3. choose the ubuntu build 02:15 eli: (we use jaunty, whatever that means) 02:15 em: At the time i was there the intaller was for an older version of ubuntu than I use, but maybe that doesn't matter. 02:15 eli: 4. download the sh 02:15 eli: 4. download the sh file 02:15 eli: then run the file with "sh the-downloaded-file" 02:15 eli: Then it will ask you about a unix-style install -- say no (or hit enter since this is the default) 02:15 em: yeah jaunty is is like Ubuntu 9.04 and I have Ubuntu 10.10 02:16 eli: Hold on a sec. 02:16 em: the Ubuntu number scheme is year.month 02:16 em: and it is every 6 months a new release. 02:16 eli: How can you tell which version an ubuntu is? 02:17 em: maybe uname -a 02:17 eli: No. 02:17 eli: Ugh. 02:17 eli: OK, the download page is lying. 02:17 eli: The build machine is running 02:17 eli: Ubuntu 9.10, Karmic 02:18 em: yes that comes right after Ubuntu 9.04 Jaunty 02:18 eli: So that's the build we have. 02:18 eli: In any case, just try it. 02:18 em: then came Ubuntu 10.04 Lucid, and I have Ubuntu 10.10 Maverick. 02:18 em: Okay 02:18 eli: After you say no to the unix-style question, it will ask you about a directory to install it to. 02:18 eli: Write some name of some new directory. 02:18 em: Okay 02:18 eli: Then see if it works. 02:18 eli: If it doesn't, then it'll just remove itself. 02:19 eli: And tell me how it goes, so I'll tell you what to do next. 02:19 em: I will do this Eli but please excuse me if I wait until tomorrow when I can feel less stressful. 02:19 eli: BTW, do you know how to install a PPA? 02:19 em: Yeah probably. 02:19 eli: (No problem, though tomorrow I probably won't be around.) 02:20 em: It's okay. 02:20 eli: So if you know about PPAs, on of the guys is making a Racket PPA for every release. 02:20 em: That would be the ideal ting. 02:20 em: thing. 02:20 em: I'll do that. 02:20 em: I trust Racket. 02:20 eli: I'll search the mails, just a second. 02:21 eli: https://launchpad.net/~plt/+archive/racket 02:21 em: Thanks! 02:21 eli: And he updates it after every release, so if you get that, you should be able to keep up easily. 02:22 eli: (At least that's what I understand PPAs are for.) 02:22 eli is on Fedora 02:23 em: yeah that's what PPAs are for! 02:23 eli: So ThereYouGo. 02:23 em: It's basically like adding it to the repository for apt but it's not in the Ubuntu repository. 02:24 eli: BTW, it's jonrafkind who did it. 02:24 em: Oh he's the best. 02:24 eli: Shhh, don't say that so loud. 02:25 em: hehehe 02:27 (quit) dnolen: Quit: dnolen 02:28 (quit) rudybot: Read error: Connection reset by peer 02:29 eli: offby1: ^ 02:29 (join) rudybot 02:35 offby1 wakes up 02:36 eli starts singing a lullaby 02:37 offby1: eli: do "cat /etc/issue" to see which flavor of Ubuntu you have. 02:37 offby1: Unfortunately that doesn't include the silly code name 02:37 offby1: I generally edit that file to add the code name, because I can never remember. 02:38 offby1: and now it's bed time 02:38 eli: offby1: I used /etc/lsb-release 02:42 eli: samth_away: If the code you were referring to is that TFIDF thing, then that's really nothing exciting... 02:44 Fulax: Hm, Is there a clean way to disable the call to ldconfig during make install? I mean, other than patching src/Makefile.in for removing $(MAKE) lib-finish 02:46 eli: Fulax: Where's that call done, and why do you want to disable it? 02:47 Fulax: eli; it is done in "install-common-middle", just before invoking raco-setup with my options 02:47 (join) kPb_in 02:48 Fulax: eli; I'm compiling racket into a sandbox (Gentoo ebuild), and when the build system issue "ldconfig -n /usr/lib", this cause libtool to rebuild symlinks for my libraries un /usr/lib, causing a sandbox violation (and cancelling the whole build) 02:49 eli: Fulax: Do you see ldconfig in the file? 02:49 eli: ..in the Makefile? 02:49 eli: I only see 4 subgoals for that target: install-plot, no-run, install-gracket-post-collects, lib-finish 02:50 Fulax: eli; nope, it is calling @LIBFINISH@ $(libdir) 02:51 eli: Fulax: OK, that's the source "Makefile.in" file, not the resulting one. 02:51 eli: You're probably building with shared libraries on. 02:52 Fulax: I do 02:52 Fulax: the resulting one is: 02:52 eli: Any particular reason? 02:52 Fulax: lib-finish: 02:52 Fulax: /var/tmp/portage/dev-scheme/racket-5.1.3/work/racket-5.1.3/src/lt/libtool --mode=finish "$(libdir)" 02:52 Fulax: is "shared libraries are cool" a valid reason? :) 02:53 eli: Not really. 02:53 eli: They'd help you a tiny bit in theory if you were to run lots of racket processes. 02:54 eli: The build should work, but I know nothing about libtool black magic, or why it does what it does, or why your sandbox build fails the way it fails. 02:54 eli: But an easy way around this whole thing is to just drop the shared libraries. 02:55 Fulax: I can understand, but in Gentoo we want to let that choice to the user, so we have to ensure that it builds correctly in both cases 02:56 eli: OK, that's why I asked -- do *you* have a reason to try shared libraries? 02:56 eli: If you're making some public package then that could be a reason. 02:57 Fulax: personally no, but I'm helping the maintainers to test the public package 02:58 eli: In that case, why don't you ask them how they let the build go through? 02:58 eli: I know that there were gentoo builds, so someone must have dealt with it. 03:01 Fulax: We don't provide binary packages 03:03 Fulax: the build actually works, it just that the sandbox kill the build because libtool called ldconfig that touched files outside the sandbox 03:04 Fulax: I'm not saying it is racket's fault, I was just wondering for a way to make the build not calling libtool --mode=finish is case of a shared libraries build 03:08 eli: Fulax: I know that gentoo is doing source distributions, but that's all I know. The sandbox issue with ldconfig is news to me. 03:15 (nick) fmu` -> fmu 03:22 (quit) kPb_in: Ping timeout: 258 seconds 03:25 (join) masm 03:26 (join) kPb_in 03:26 (join) realitygrill 03:32 jonrafkind: wheres my prize 03:50 (join) RacketCommitBot 03:50 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/Z2kUrQ 03:50 RacketCommitBot: [racket/master] New Racket version 5.1.3.2. - Eli Barzilay 03:50 (part) RacketCommitBot 04:02 (quit) jonrafkind: Ping timeout: 240 seconds 04:03 (join) soegaard 04:05 (join) pchrist 04:20 (join) hussaibi 05:26 (join) lucian 05:28 (quit) kPb_in: Quit: kPb_in 05:32 (join) kPb_in 05:46 (quit) masm: Ping timeout: 252 seconds 05:58 (quit) kPb_in: Ping timeout: 258 seconds 06:45 (join) masm 06:52 (join) chturne 06:53 (quit) chturne: Client Quit 06:54 (join) eulyix 06:54 (quit) eulyix: Read error: Connection reset by peer 07:03 (join) MayDaniel 07:07 (join) RacketCommitBot 07:07 RacketCommitBot: [racket] plt pushed 4 new commits to master: http://git.io/F3T5jw 07:07 RacketCommitBot: [racket/master] Add some extra safety when using `ns' for the namespace, get rid of factored away unnecessary `r' binding. - Eli Barzilay 07:07 RacketCommitBot: [racket/master] Set `read-accept-lang' to #t when reading a module in `make-module-evaluator'. - Eli Barzilay 07:07 RacketCommitBot: [racket/master] Some more `let' -> `define' uses. - Eli Barzilay 07:07 (part) RacketCommitBot 07:12 (quit) soegaard: Ping timeout: 252 seconds 07:15 (quit) lucian: Ping timeout: 264 seconds 07:50 (quit) MayDaniel: Read error: Connection reset by peer 08:03 (join) milos_5456 08:03 (join) jao 08:13 (quit) milos_5456: Quit: Page closed 08:33 (join) RacketCommitBot 08:33 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/EZDKgQ 08:33 RacketCommitBot: [racket/master] more time for the planet resolver thread safety test - Robby Findler 08:33 (part) RacketCommitBot 09:03 (join) anRch 09:43 (join) Geisteskrankh 09:53 (join) jonrafkind 10:14 (join) RacketCommitBot 10:14 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/hfxEJQ 10:14 RacketCommitBot: [racket/master] Allowing paths in convert-file and changing test to not be sensitive to cwd - Jay McCarthy 10:14 (part) RacketCommitBot 10:15 (quit) realitygrill: Quit: realitygrill 10:15 (quit) anRch: Quit: anRch 10:28 (join) bugQ 10:59 (quit) hussaibi: Ping timeout: 252 seconds 11:21 (join) mceier 11:50 (join) anRch 12:19 (join) dnolen 12:44 (quit) dnolen: Quit: dnolen 12:49 (quit) anRch: Quit: anRch 12:52 (join) MayDaniel 12:57 (quit) jonrafkind: Ping timeout: 240 seconds 13:11 (join) RacketCommitBot 13:11 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/4HW3kg 13:11 RacketCommitBot: [racket/master] FFI: add C arrays and unions - Matthew Flatt 13:11 RacketCommitBot: [racket/master] test fixes for Windows - Matthew Flatt 13:11 RacketCommitBot: [racket/master] history note - Matthew Flatt 13:11 (part) RacketCommitBot 13:21 (join) dnolen 13:33 (quit) MayDaniel: Read error: Connection reset by peer 13:51 (quit) bugQ: Remote host closed the connection 14:08 (join) ars_ 14:10 (join) chturne 14:11 (part) ars_ 15:16 (quit) dnolen: Quit: dnolen 15:21 (join) realitygrill 15:37 (join) dnolen 15:44 (join) mceier_ 15:44 (quit) mceier: Ping timeout: 240 seconds 15:45 (nick) mceier_ -> mceier 15:58 (quit) dnolen: Quit: dnolen 15:58 (join) dnolen 15:58 (quit) dnolen: Client Quit 15:59 (join) dnolen 16:14 (join) RacketCommitBot 16:14 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/mFiexw 16:14 RacketCommitBot: [racket/master] Sandbox fixes - Eli Barzilay 16:14 (part) RacketCommitBot 16:28 (join) MayDaniel 16:35 (join) lucian 16:36 (quit) chturne: Quit: Leaving 16:41 (join) browndwarf 16:42 (quit) browndwarf: Client Quit 16:46 (quit) lucian: Read error: Operation timed out 16:55 (quit) dnolen: Quit: dnolen 16:56 (quit) MayDaniel: Read error: Connection reset by peer 17:11 (quit) realitygrill: Quit: realitygrill 17:39 (join) dnolen 18:21 (join) gknauth 18:24 (join) browndwarf 18:31 (quit) gknauth: Quit: Colloquy for iPad - http://colloquy.mobi 18:34 (quit) mceier: Quit: leaving 18:40 (join) gknauth 18:44 (quit) gknauth: Client Quit 18:57 (part) browndwarf 20:16 (join) RacketCommitBot 20:16 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/8taaAA 20:16 RacketCommitBot: [racket/master] fix bug in the way planet was setting up the state for the installation process - Robby Findler 20:16 (part) RacketCommitBot 21:16 (quit) kennyd: Ping timeout: 268 seconds 21:27 (join) kennyd 21:43 (quit) masm: Quit: Leaving. 23:41 (join) jonrafkind 23:46 offby1: gabby, is that gabot