00:00:42 thanks! 00:01:49 Kumool [n=Amarante@24.139.152.73] has joined #scheme 00:04:40 -!- chmu [n=chmu@c83-250-245-222.bredband.comhem.se] has quit [] 00:05:12 -!- hkBst [n=hkBst@gentoo/developer/hkbst] has quit [Read error: 104 (Connection reset by peer)] 00:13:50 yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has joined #scheme 00:14:30 stated simply, i really like the gambit exception system 00:14:33 hadronzoo [n=hadronzo@gateway.publicvpn.net] has joined #scheme 00:17:09 Its semantics for WITH-EXCEPTION-HANDLER is unnecessarily unsafe. 00:17:14 it's exceptionally well-designed 00:17:27 WITH-EXCEPTION-CATCHER is not a substitute for a safe variation on the theme of WITH-EXCEPTION-HANDLER> 00:17:30 . 00:18:17 The pair of RAISE and ABORT is a feeble substitute for a formal condition recovery protocol. 00:19:02 Arelius [n=Indy@209.77.67.98] has joined #scheme 00:20:59 ROUSE and AVAST 00:23:29 -!- hotblack23 [n=jh@p5B056690.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 00:32:19 wow, gambit's ability to continue from exceptions 00:32:29 is what i've always wanted from but could never achieve with chicken 00:36:51 -!- cnicolas [n=cyprien@pdpc/supporter/student/cnicolas] has quit ["Leaving"] 00:37:58 wow, it even has with-exception-catcher 00:40:05 are you being ironic? 00:41:22 or a smartass? 00:41:27 I suppose I'm going about this wrong: http://rafb.net/p/leFB6F63.html 00:41:34 we don't lahk smahtasses 'round heah 00:41:40 seems like it's never getting to my if statement. would that be right? 00:42:16 decker, you must specify (1) exactly what you typed, (2) exactly what you saw, and (3) exactly what you expected to see. 00:42:33 Riastradh: oops, yeah, suppose that would help. 00:42:44 decker: looks reasonable to me; lemme try it 00:42:53 I went with (bifurcation 0 0) and all it spits out is .1 00:43:04 I expected it to spit out 100 different values 00:43:13 well, you don't refer to "window" or "a" anywhere,which is curious. 00:43:21 When you return to the REPL buffer, is it waiting for you to tell it whether you want to enter the debugger? 00:43:32 Or: did you define YN+1? 00:43:33 well, you do refer to "a" 00:43:36 offby1: yeah, that stuff comes later 00:43:48 (There is a reference to A, offby1.) 00:43:49 (define (yn+1 yn a) (* a yn (- 1 yn))) 00:45:12 Works for me to print .1 and then one hundred zeros. 00:45:17 hmm, perhaps newlines are my problem. can I do a newline with this write thing? 00:45:35 Riastradh: yeah, I guess that's what it did on my end too. I just thought that was precision 00:45:50 write...hmm, display is what I'm using I guess 00:46:53 guess I don't really need a newline for debugging purposes anyhow. long as I see it's converging 00:48:19 -!- bpt [n=bpt@cpe-071-070-209-067.nc.res.rr.com] has quit [Read error: 110 (Connection timed out)] 00:50:40 man, the more i learn about gambit, the more i love it 00:55:48 *mejja* prefers open games 00:56:26 which ones 00:56:54 triple a is pretty fun 01:00:32 hmm 01:00:49 -!- rkstr_ [n=u5h@syru216-039.syr.edu] has quit ["leaving"] 01:10:31 austin2 [n=austinfl@c-98-230-14-105.hsd1.fl.comcast.net] has joined #scheme 01:19:54 -!- mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Remote closed the connection] 01:20:52 -!- orgy` [n=ratm_@pD9FFCB85.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 01:23:25 Mr-Cat_ [n=Mr-Cat@bahirkin1507.dialup.corbina.ru] has joined #scheme 01:24:17 -!- Mr-Cat [n=Mr-Cat@bahirkin1507.dialup.corbina.ru] has quit [Read error: 104 (Connection reset by peer)] 01:26:50 why can't i do (pp '(\ a b c d e f)) ? 01:26:57 is \ somehow acting as an escape code? 01:27:05 wouldn't be surprised 01:27:13 rudybot: eval (pretty-print '(\ a b c d e f)) 01:27:13 offby1: ; stdout: "(| a| b c d e f)\n" 01:27:15 in paritucl,ar the error i get is: Invalid infix syntax 01:27:17 *shrug* 01:27:22 i'm using gambit scheme 01:27:28 hmm, this can be implementation defined 01:27:45 The interpretation of \ outside of strings and character literals is unspecified. 01:28:54 man, even using \\ gives me the same invalid infix syntax 01:29:15 I think that in Gambit, \ enters the bizarre infix notation supported by Gambit. 01:29:48 thanks 01:29:53 -!- rudybot [n=luser@69.12.222.44] has quit [Remote closed the connection] 01:29:55 okay, so i wanted some syntatix sugar 01:30:13 to be able to write something like (\ x y -> (+ x y)) insntead of (lambda (x y) (+ x y)) 01:30:26 basically, put the crap in between the \ and -> into the lambda (...) part 01:30:36 -!- hadronzoo [n=hadronzo@gateway.publicvpn.net] has quit [] 01:30:39 GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has joined #scheme 01:30:54 Too bad. 01:31:39 -!- GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has left #scheme 01:32:31 -!- spooneybarger [n=spooneyb@mobile-166-217-048-086.mycingular.net] has quit [] 01:35:49 -!- yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has quit [Read error: 110 (Connection timed out)] 01:39:05 rudybot [n=luser@q-static-138-125.avvanta.com] has joined #scheme 01:44:03 (define (foo x) (+ x 1)) (define-macro (bar y) (foo y)) (bar 10) 01:44:06 'undefined foo' 01:44:08 this baffles me 01:44:22 i expect (bar 10) to just expand out to 11 01:47:30 -!- underspecified [n=eric@softbank220043052007.bbtec.net] has quit [] 01:47:37 foo is not bound _at macro expansion time_ 01:48:10 so if a macro depends on some functions 01:48:16 (for expansion) 01:48:21 those functions have to be defined inside the macro? 01:51:29 -!- bweaver [n=bweaver@c-67-161-236-94.hsd1.tn.comcast.net] has quit [] 01:53:42 -!- attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has quit [Read error: 60 (Operation timed out)] 01:53:43 hml, try this: 01:53:55 listening 01:54:36 (define (foo x) (if (zero? x) 0 (bar x))) (define-macro (bar x) (foo 0)) (bar 1) 01:55:40 Does that make sense? 01:55:43 check it out: http://www.cs.ucr.edu/~gkaukola/bifurcation.png 01:56:28 *** ERROR IN #, "other.scm"@5.24 -- Unbound variable: 01:56:35 spooneybarger [n=spooneyb@mobile-166-217-189-211.mycingular.net] has joined #scheme 01:56:42 line 5 is: (define-macro (bar x) (foo 0)) 01:56:46 if anyone feels like screwing with this thing: http://rafb.net/p/U7UOIj71.html 01:56:52 No, hml, I don't want you to type that blindly into a REPL. 01:57:00 plus I'd welcome any comments 01:57:07 I want you to try to make sense of what that code is trying to say. 01:57:12 decker: What is it? Wow. 01:57:16 This sentence might help: `More people have been to Berlin than I have.' 01:58:18 arcfide: a fractal. I just pasted the code to generate it right there 01:58:38 underspecified [n=eric@softbank220043052007.bbtec.net] has joined #scheme 01:59:01 hml, if you can figure out what that code means, try substituting (foo x) for (foo 0) in the definition of the BAR macro. 01:59:28 i'm not convinced why the (bar x) 01:59:33 in (foo x) will be expanded at all 01:59:42 Surely every macro invocation is to be expanded. 02:02:05 -!- underspecified [n=eric@softbank220043052007.bbtec.net] has quit [Read error: 104 (Connection reset by peer)] 02:02:56 underspecified [n=eric@softbank220043052007.bbtec.net] has joined #scheme 02:03:08 If you can't make sense of this example, don't worry. You were not expected to make sense of it, because it doesn't make sense. 02:03:16 ah, wonderful 02:03:56 i think this is the point where the right thing to do is to read the gambit docs or the gambit source code 02:04:47 I doubt whether Gambit makes much sense concerning this, anyway. 02:05:06 The canonical reference is Flatt, `Composable and Compilable Macros'. 02:08:44 -!- exexex [n=chatzill@88.235.179.86] has quit [Remote closed the connection] 02:10:45 Riastradh: i would almost sugegst you start charging tuition 02:11:45 hml: He is, you'll receive your bill in April. 02:13:05 -!- name [n=name@sburn/devel/name] has quit [Read error: 145 (Connection timed out)] 02:13:13 just in time to screw up your taxes! 02:15:00 Riastradh: In your rdf-simple-graph.scm file, I notice that there is no definition for RDF-GRAPH/PURGE-MATCHING-PREDICATES! when there is a declaration for it in s48-interfaces.scm. 02:15:05 Intentionally missing? 02:20:28 GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has joined #scheme 02:21:08 -!- GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has left #scheme 02:28:06 yhara [n=yhara@p1174-ipbf05matsue.shimane.ocn.ne.jp] has joined #scheme 02:37:46 shoot. I'm only doing 50 recursive calls now and it's still telling me I've exceeded the maximum depth. I guess iterative is the much better way to go. although my recursive version sure is a bit easier on the eyes 02:38:50 That's weird. 02:40:43 -!- yhara [n=yhara@p1174-ipbf05matsue.shimane.ocn.ne.jp] has quit [Read error: 60 (Operation timed out)] 02:44:28 la la la 02:44:49 -!- athos [n=philipp@92.250.204.223] has quit ["leaving"] 02:45:16 -!- benny [n=benny@i577A0FD7.versanet.de] has quit [Read error: 60 (Operation timed out)] 02:59:59 GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has joined #scheme 03:00:16 -!- GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has left #scheme 03:00:17 bweaver [n=bweaver@c-67-161-236-94.hsd1.tn.comcast.net] has joined #scheme 03:06:57 jonrafkind [n=jon@12.50.149.2] has joined #scheme 03:14:30 hadronzoo [n=hadronzo@gateway.publicvpn.net] has joined #scheme 03:14:31 GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has joined #scheme 03:14:46 -!- GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has quit [Client Quit] 03:18:12 -!- grettke [n=grettke@CPE-65-31-142-107.wi.res.rr.com] has quit [] 03:19:57 hurdly gurdly 03:20:20 -!- luz [n=davids@201008031113.user.veloxzone.com.br] has quit [Read error: 145 (Connection timed out)] 03:20:50 -!- Mr-Cat_ [n=Mr-Cat@bahirkin1507.dialup.corbina.ru] has quit ["Leaving"] 03:22:33 GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has joined #scheme 03:23:09 -!- GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has quit [Client Quit] 03:28:17 GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has joined #scheme 03:28:30 -!- GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has left #scheme 03:32:34 GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has joined #scheme 03:32:42 -!- GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has quit [Client Quit] 03:34:51 -!- hml [n=x@unaffiliated/hml] has quit [Remote closed the connection] 03:37:29 offby1: Any chance of making rudybot more giving? 03:40:57 yhara [n=yhara@p1174-ipbf05matsue.shimane.ocn.ne.jp] has joined #scheme 03:42:25 reprore [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 03:48:50 reprore__ [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 03:49:04 -!- reprore [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 113 (No route to host)] 03:49:08 luz [n=davids@201.29.204.106] has joined #scheme 03:51:15 what, you want money again? Always with the "gimme, gimme" 03:51:25 -!- austin2 [n=austinfl@c-98-230-14-105.hsd1.fl.comcast.net] has quit [Read error: 110 (Connection timed out)] 03:51:58 -!- yhara [n=yhara@p1174-ipbf05matsue.shimane.ocn.ne.jp] has quit [Read error: 113 (No route to host)] 03:52:11 yhara [n=yhara@p1174-ipbf05matsue.shimane.ocn.ne.jp] has joined #scheme 03:53:55 rudybot: give eli a cookie 03:55:48 offby1: Can I offer hacking as a bribe? 03:56:13 That is: give me the magic git spells to get the source and I'll give you a patch? 03:58:13 *gasp* 03:58:15 finally! 03:58:27 one moment. 03:58:40 finally? 03:58:54 "git clone git://github.com/offby1/rudybot.git" 03:58:55 So I was manipulated into this... 03:58:57 then hack hack hack 03:59:16 "git commit" 03:59:29 then "git format-patch origin", and it'll drop a buncha patch files in the directory, one for each commit. 03:59:31 "git commit"? 03:59:40 yep, that's roughly "svn commit" 03:59:45 although it's entirely local 03:59:49 IIRC, it's enough to just "git diff" after the changes, right? 03:59:52 oh sure. 03:59:56 You don't _need_ to commit 04:00:12 If it were me, I would Try It And See. 04:00:16 hmm 04:00:38 I mean, you don't even need to "git clone"; you can just get a tarball from github, hack, and diff. 04:00:54 Good night everyone. 04:01:08 The only thing is that it's more convenient to get a diff this way. 04:01:23 Also, is it easy for me to run it? Just to try it out? 04:01:29 yep 04:01:38 ./freenode-main -p password to run it "for real" 04:01:47 ./main.ss to exercise various other flavors 04:01:56 But there should be some place to change the nick, right? 04:02:06 yes: by hacking the code :-| 04:02:08 Also, is it fine to run it without password? 04:02:15 oh sure, you don't need a password 04:02:19 that's just to identify with freenode 04:02:22 ok. 04:02:36 if I wuz you I'd install an IRC daemon and run it against that 04:03:39 Yeah yeah yeah... Every time I get near anything that requires knowing IRC, my blood pressure goes up. 04:04:20 heh 04:04:29 -!- arcfide [n=arcfide@adsl-99-137-203-69.dsl.bltnin.sbcglobal.net] has quit ["Leaving"] 04:04:39 actually getting a local IRC daemon working is a minor pain in the ass. 04:04:58 *eli* gags 04:04:59 so if you have it hit freenode, change my name to yours when it identifies, eh? 04:05:07 *offby1* whistles innocently 04:05:14 (out "JOIN #scheme"), (out "JOIN #emacs")?? 04:05:19 oh c'mon. 04:05:27 I'm an amateur! 04:05:42 I only parametrize when not doing so becomes painful. 04:05:53 (for ([c (in-list (*initial-channels*))]) (out (string-append "JOIN " c))) 04:05:53 offby1: do you actually use git am ? 04:05:58 bpalmer: a little. 04:06:05 Here. That's half the work. 04:06:07 eli: go wild. 04:06:37 my refactoring threshold is higher than yours, apparently. 04:06:50 I might write the same snippet THREE times before refactoring. 04:06:52 horrors. 04:06:54 *eli* translates: You do it, I commit it; I have my dentures to take take care of. 04:07:12 ooh snarky 04:07:21 I can't complain if you're gonna contribute some code though. 04:07:49 actually I guess I'm not an amateur, in that I get paid to write code. 04:08:29 And when you get paid I guess you write the whole project from scratch about once every two months... 04:09:07 *offby1* glances around nervously. 04:09:16 now don't be mean. 04:09:36 -!- mfredrickson [n=mfredric@c-98-212-171-158.hsd1.il.comcast.net] has quit [] 04:09:58 -!- reprore__ [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 104 (Connection reset by peer)] 04:10:07 now, now, just because offby1's a scheme user doesn't mean he doesn't understand reusing libraries. 04:10:10 reprore [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 04:10:20 *bpalmer* whistles and hides 04:10:57 *eli* hands over a heavy stick of enlightenment to offby1 04:11:53 I remain unenlightened 04:12:03 perhaps your patch(es) will enlighten me 04:12:26 I'm running it now. CPU is up, and nothing happens. 04:12:48 Ooh. Planet. 04:13:31 yep 04:13:35 eli: btw, git diff vs committing and then format-patch is that format-patch will let offby1 apply the same sets of commits (so, if you did your work in discrete atomic steps, the history will be maintained, even though you're working with patch files) 04:14:13 someone on the mailing list just suggested having (require (planet ...)) give some kind of feedback. 04:14:17 bpalmer: Yes, I vaguely know all that. 04:14:36 offby1: Yes, and Robby changed it in svn. 04:14:59 offby1: freenode-main: You didn't specify a NickServ password 04:15:17 eli: oh well. That's just a simple check; you can nix it 04:15:23 notrudybot [n=luser@winooski.ccs.neu.edu] has joined #scheme 04:15:32 notrudybot: eval 123 04:15:33 eli: ; Value: 123 04:15:37 Great success. 04:15:47 I see it claims to be mine! 04:15:49 Fraudster 04:15:56 .oO("winooski"?) 04:15:57 It does, where? 04:16:03 do "/whois notrudybot" 04:16:32 bah... 04:16:43 at least my name appears only once in the code. 04:16:58 loop.ss line 234 04:17:04 Let Me Grep That For You 04:17:32 Anyway, do you prefer that format-patch thing, or send you separate patches? 04:17:40 eli: whatever's easier 04:18:02 Let me see if I can deal with git commit. 04:18:06 -!- annodomini [n=lambda@wikipedia/lambda] has quit [Read error: 54 (Connection reset by peer)] 04:18:10 heh 04:18:20 -!- notrudybot [n=luser@winooski.ccs.neu.edu] has quit [Remote closed the connection] 04:18:21 you'll quickly find that you have to (* ahem *) do "git add" first :) 04:18:44 y'see, there's this thing called the "index", and ... oh the hell with it 04:18:47 bpalmer: you try 04:19:06 Bah. 04:19:09 heh 04:19:15 plain ol' diffs are fine. 04:19:18 git add --what--? 04:19:23 the file you want to commit. 04:19:32 probably sandbox.ss or something. 04:19:50 "git status" is mostly what you think, except there are _three_ possible statuses, not just two: 04:20:06 1) this file isn't even tracked by git; 04:20:18 2) this file is tracked, and you fiddled with it; but you didn't "git add" it; 04:20:27 3) hooray, you tracked, fiddled, and added. 04:20:55 Yeah, git add was pretty easy. 04:21:05 and if you "add" the file once, then hack some more -- you need to "add" it again to refresh the index with your new hackage. 04:21:09 if you don't want to deal with the index, git commit -a automatically adds all modified tracked files, then commits them. 04:21:10 That bit me over and over at first. 04:21:16 oh yeah. 04:21:28 I keep hearing that that's what Subversion people should try. 04:21:29 Though, I don't see why it's needed. I'm sure that there's some way to git add all the changed files. 04:21:33 Strange that I never tried that. 04:21:47 yes, git add . should also work. 04:21:51 eli: I think the idea is that it's nice to be able to piece together your next commit one bit at a time. 04:22:08 Yeah, I was about to get to what bpalmer said -- that there must be a way to do it automatically. 04:22:36 Well, they do have a way to do it now. 04:23:05 offby1: more to the point, so you can cherrypick out separate patches that you did at once; that way you can fix a typo incidentally as you work on a more important issue. 04:23:09 At some point someone suggested that the list of filenames in `svn commit' can be edited to include/exclude some files. 04:24:02 gvn (an extension to svn that adds cheap changebranching and code review capabilities) does let you do that; gvn does its best to turn svn into perforce. 04:24:51 "cheap changebranching"? "code review capabilities"? 04:24:51 -!- X-Scale [i=email@89.180.229.18] has quit [Read error: 60 (Operation timed out)] 04:26:14 bpalmer: please to explay-n? 04:27:05 eli: basically automate the process of creating a separate branch for each patch, and sending a mail about it to people; the reviewers can then approve the patch for merging with the mainline 04:27:39 these "changebranches" are cheap to create and delete, and automatically stay up to date with the main branch they're attached to. 04:27:47 Ah. IIUC, branches in svn are cheap -- but I got the feeling that they're not *that* cheap. 04:28:41 rudybot: eval (values 1 2 3) 04:28:43 eli: ; Value: 1 04:28:43 eli: ; Value: 2 04:28:45 eli: error: with-limit: out of time 04:29:00 offby1: Is there any point for *max-values-to-display*? 04:30:11 offby1: actually, in the `call-with-limit' for the output, is there any reason for a time limit? 04:31:06 offby1: And BTW, that code is wrong: the `call-with-limit' code calls back to the loop, which starts a new *nested* limit for the next iteration. 04:32:42 johnnowak [n=johnnowa@207-38-171-48.c3-0.wsd-ubr1.qens-wsd.ny.cable.rcn.com] has joined #scheme 04:38:01 eli: in svn, _branching_ is cheap; but _merging_ is ... painful 04:38:22 lemme look at those various things you mentioned 04:38:37 about *max-values-to-display*: 04:38:46 There is a point to that. 04:38:46 rudybot: eval (apply values (build-list 100 values)) 04:38:47 offby1: ; Value: 0 04:38:48 offby1: ; Value: 1 04:38:49 offby1: ; Value: 2 04:38:49 offby1: error: with-limit: out of time 04:38:56 That's a different problem. 04:39:09 You probably meant for the limits to apply to each value rendering. 04:39:13 actually since there's a time limit and I pause a second in between each, maybe it's not necessary. 04:39:30 No, I think that a better organization is: 04:39:52 Have the limit over the whole rendering, with some large time (15 seconds) 04:40:09 That is -- over the whole loop of values, rather than the bogus nesting of limits. 04:40:29 hm 04:40:32 Then, there is a perfectly valid point for the max-values-to-show thing. 04:40:48 And you still have the same memory & time protection. 04:42:15 bombshelter13 [n=bombshel@209-161-238-145.dsl.look.ca] has joined #scheme 04:42:38 I gotta be honest -- I haven't been in the mood for hacking for weeks now. Work saps my strenght :-| 04:42:41 strength 04:43:11 [As long as you're fine with the changes...] 04:43:33 I will probably apply your patches, run it once to make sure it's not obviously broken, and check it in. 04:43:40 QA is my middle name. 04:44:00 oh, and read 'em to see what I can learn from 'em, of course 04:45:11 -!- Kumool [n=Amarante@24.139.152.73] has quit ["Leaving"] 04:46:24 rudybot: eval (values (void) 1 2) 04:46:25 eli: ; Value: 1 04:46:26 eli: error: with-limit: out of time 04:46:35 rudybot: eval (values (void) (void) (void) 1 2) 04:46:37 eli: ; Value: 1 04:46:38 eli: error: with-limit: out of time 04:46:43 rudybot: eval (values (void) (void) (void) (void) (void) 1 2) 04:46:43 eli: five values is enough for anybody; here's the rest in a list: (1 2) 04:47:22 heh 04:49:04 -!- Gorgoroth [i=Gorgorot@195-132-141-240.rev.numericable.fr] has quit [] 04:52:09 Grimmjow_ [n=chatzill@c-69-250-158-95.hsd1.md.comcast.net] has joined #scheme 04:52:29 NOTrudybot [n=luser@winooski.ccs.neu.edu] has joined #scheme 04:52:37 NOTrudybot: eval (values 1 2 3) 04:52:38 eli: ; Value1: "" 04:52:39 eli: ; Value2: "#2" 04:52:40 eli: ; Value3: "#3" 04:52:46 -!- NOTrudybot [n=luser@winooski.ccs.neu.edu] has quit [Remote closed the connection] 04:52:59 NOTrudybot [n=luser@winooski.ccs.neu.edu] has joined #scheme 04:53:01 NOTrudybot: eval (values 1 2 3) 04:53:02 eli: ; Value: 1 04:53:03 eli: ; Value#2: 2 04:53:04 eli: ; Value#3: 3 04:53:10 what you doin'? 04:53:12 I don't get it 04:53:27 Making a difference between these two: 04:53:27 why'd it give two different responses? 04:53:42 rudybot: eval (values (void) 1) 04:53:44 eli: ; Value: 1 04:53:45 -!- hadronzoo [n=hadronzo@gateway.publicvpn.net] has quit [] 04:53:47 rudybot: eval (values 1 (void)) 04:53:47 eli: ; Value: 1 04:53:57 NOTrudybot: eval (values 1 (void)) 04:53:57 eli: ; Value: 1 04:54:00 NOTrudybot: eval (values (void) 1) 04:54:01 eli: ; Value#2: 1 04:54:15 ah, ok, you number 'em so you can see if one was omitted, fair enough 04:54:31 But only from the 2nd and on, so it usually doesn't matter. 04:54:47 NOTrudybot: eval (values 1 2 3 4 5 6 7 8 9 10) 04:54:47 eli: ; Value: 1 04:54:48 eli: ; Value#2: 2 04:54:49 eli: ; Value#3: 3 04:54:50 eli: ; Value#4: 4 04:54:51 eli: ; Value#5: 5 04:54:52 eli: ; five values is enough for anybody; here's the rest in a list: (6 7 8 9 10) 04:55:07 NOTrudybot: eval (values 1 2 3 4 5 6 7 8 (void) 9 (void) 10) 04:55:07 eli: ; Value: 1 04:55:09 eli: ; Value#2: 2 04:55:10 eli: ; Value#3: 3 04:55:10 eli: ; Value#4: 4 04:55:11 eli: ; Value#5: 5 04:55:13 eli: ; five values is enough for anybody; here's the rest in a list: (6 7 8 9 10) 04:55:27 offby1: Note the filtering in the rest of the values. 04:55:49 -!- NOTrudybot [n=luser@winooski.ccs.neu.edu] has quit [Remote closed the connection] 04:56:28 I didn't spend a lot of time considering when I had it omit void; I just was doing what the repl does 04:56:55 if void values printed, I'd print 'em 04:58:07 Well, what the repl does is not really relevant for that filtering -- since it doesn't tell you that five values is enough... 04:58:40 If it would, then it would probably do the same filtering though, since (void) is something that is a result of side-effects etc, so you're not supposed to see them. 04:58:47 mm hm 04:59:06 -!- gweiqi [n=greg@69.120.126.163] has quit ["Leaving."] 05:02:08 rudybot: eval (values 1 2 3 4 (display 5) (display 6 (current-error-port))) 05:02:09 eli: ; Value: 1 05:02:10 eli: ; Value: 2 05:02:10 eli: error: with-limit: out of time 05:02:42 rudybot: eval (values 1 2 (begin (display 5) (display 6 (current-error-port)))) 05:02:42 eli: ; Value: 1 05:02:43 eli: ; Value: 2 05:02:43 eli: ; stdout: "55" 05:02:43 eli: ; stderr: "66" 05:03:20 er? 05:03:33 One more: 05:03:46 rudybot: eval (let ([str (make-string 500 #\x)]) (values x (begin (display x) (display x (current-error-port))))) 05:03:46 eli: error: reference to undefined identifier: x 05:03:53 rudybot: eval (let ([x (make-string 500 #\x)]) (values x (begin (display x) (display x (current-error-port))))) 05:03:53 eli: ; Value: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 05:03:53 eli: ; stdout: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 05:03:56 eli: ; stderr: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 05:04:02 *offby1* winces 05:04:16 No sleeping there... 05:04:18 that's ugly, but I'm not sure it's bugaceous 05:04:18 ah 05:04:22 damn 05:04:26 you're good at this kinda thing 05:04:29 Should sleep. 05:04:56 I don't know the details, but I know that the IRC server will kick you if you emit too many lines in too little time 05:04:58 Gorgoroth [i=Gorgorot@195-132-141-240.rev.numericable.fr] has joined #scheme 05:05:19 Yeah, I know -- I was wondering if I'll get to that limit. 05:05:45 Also, for your process's sake, the std{out,err} should go in the with-limits too. 05:06:42 rudybot: eval (sleep 10) 05:06:46 eli: error: with-limit: out of time 05:07:41 Also would be nice if it was a different error for this limit and the output limit -- but not needed now that I made the other change (10sec for all output(s)) 05:09:32 offby1: re the IRC limit, I bet I could get it kicked by synchronizing that three-line hack from three different nicks... 05:09:40 I'll spare the garbage though. 05:09:49 [on the screen, that is.] 05:16:02 austin2 [n=austinfl@c-98-230-14-105.hsd1.fl.comcast.net] has joined #scheme 05:16:02 -!- austin2 [n=austinfl@c-98-230-14-105.hsd1.fl.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 05:17:19 hadronzoo [n=hadronzo@ppp-70-247-166-177.dsl.rcsntx.swbell.net] has joined #scheme 05:24:21 notrudybot [n=luser@winooski.ccs.neu.edu] has joined #scheme 05:24:44 notrudybot: eval (values "x" (begin (display "x") (display "x" (current-error-port)))) 05:24:45 eli: ; Value: "x" 05:24:46 eli: ; stdout: "x" 05:24:47 eli: ; stderr: "x" 05:25:05 -!- notrudybot [n=luser@winooski.ccs.neu.edu] has quit [Remote closed the connection] 05:27:58 tjafk1 [n=timj@e176223053.adsl.alicedsl.de] has joined #scheme 05:28:20 -!- tjafk2 [n=timj@e176202207.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 05:31:20 -!- gorki [n=chatzill@p54A7E527.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 05:33:31 gorki [n=chatzill@p54A7EDA7.dip.t-dialin.net] has joined #scheme 05:40:05 isomer`` [n=isomer@CPE001310e6cb31-CM0011aec5e684.cpe.net.cable.rogers.com] has joined #scheme 05:45:24 eno__ [n=eno@adsl-70-137-154-202.dsl.snfc21.sbcglobal.net] has joined #scheme 05:46:39 -!- eno [n=eno@nslu2-linux/eno] has quit [Read error: 60 (Operation timed out)] 05:46:59 -!- isomer [n=isomer@CPE001310e6cb31-CM0011aec5e684.cpe.net.cable.rogers.com] has quit [Read error: 110 (Connection timed out)] 05:49:29 rudybot: eval 05:50:36 -!- isomer`` is now known as isomer 05:55:04 rudybot: eval (error "blah blah") 05:55:05 eli: error: blah blah 06:01:48 rudybot_ [n=luser@winooski.ccs.neu.edu] has joined #scheme 06:01:59 -!- rudybot_ [n=luser@winooski.ccs.neu.edu] has quit [Remote closed the connection] 06:02:21 saccade_ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 06:02:24 notrudybot [n=luser@winooski.ccs.neu.edu] has joined #scheme 06:02:34 notrudybot: give eli 123 06:02:35 eli: error: car: expects argument of type ; given # 06:02:41 -!- notrudybot [n=luser@winooski.ccs.neu.edu] has quit [Remote closed the connection] 06:04:05 notrudybot [n=luser@winooski.ccs.neu.edu] has joined #scheme 06:04:10 notrudybot: eval 123 06:04:11 eli: ; Value: 123 06:04:14 notrudybot: give eli 123 06:04:18 -!- CaptainMorgan [n=CaptainM@c-75-68-42-94.hsd1.nh.comcast.net] has quit [Remote closed the connection] 06:04:33 notrudybot: give eli (values 123 111) 06:04:33 eli: error: you can only give one value 06:04:44 -!- notrudybot [n=luser@winooski.ccs.neu.edu] has quit [Remote closed the connection] 06:05:34 notrudybot [n=luser@winooski.ccs.neu.edu] has joined #scheme 06:05:36 notrudybot: give eli 123 06:06:30 la la 06:06:32 la la la 06:06:36 lisppaste: url 06:06:36 To use the lisppaste bot, visit http://paste.lisp.org/new/scheme and enter your paste. 06:09:25 offby1: ping 06:09:29 z0d pasted "Dynamic Lisp" at http://paste.lisp.org/display/74204 06:10:06 What will be captured in map as l in a dynamic binding Lisp? 06:10:32 in the list-ref form. 06:10:35 z0d: try it in emacs lisp? 06:11:29 duncanm: I know what the result is. I just don't understand why. i.e. what will l be in the list-ref form. 06:11:37 CaptainMorgan [n=CaptainM@c-75-68-42-94.hsd1.nh.comcast.net] has joined #scheme 06:11:50 http://some.really.long/url/which/doesnt/go/anywhere/special/blah/blah/blah/blah 06:11:51 -notrudybot:#scheme- http://tinyurl.com/bbfnl7 06:11:52 -rudybot:#scheme- http://tinyurl.com/bbfnl7 06:12:44 -!- notrudybot [n=luser@winooski.ccs.neu.edu] has quit [Remote closed the connection] 06:19:49 notrudybot [n=luser@winooski.ccs.neu.edu] has joined #scheme 06:20:48 notrudybot: give eli 1234 06:20:49 eli: eli has given you a value, use (grab) to get it 06:20:57 -!- notrudybot [n=luser@winooski.ccs.neu.edu] has quit [Remote closed the connection] 06:22:56 duncanm: In Emacs Lisp it gives an error, that fn is not defined 06:27:30 rudybot:shut-up-and eval 1234 06:27:59 rudybot:eval 1234 06:28:00 eli: ; Value: 1234 06:28:10 jcowan [n=jcowan@cpe-74-68-154-18.nyc.res.rr.com] has joined #scheme 06:32:45 -!- bweaver [n=bweaver@c-67-161-236-94.hsd1.tn.comcast.net] has quit [] 06:35:16 HG` [n=wells@118.82.169.165] has joined #scheme 06:39:24 -!- reprore [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 06:41:59 reprore [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 06:47:28 yhara_ [n=yhara@p1174-ipbf05matsue.shimane.ocn.ne.jp] has joined #scheme 06:48:34 -!- yhara [n=yhara@p1174-ipbf05matsue.shimane.ocn.ne.jp] has quit [Read error: 113 (No route to host)] 06:59:22 davids [n=davids@201.29.204.106] has joined #scheme 06:59:34 -!- davids [n=davids@201.29.204.106] has quit [Read error: 54 (Connection reset by peer)] 07:04:06 -!- jcowan [n=jcowan@cpe-74-68-154-18.nyc.res.rr.com] has left #scheme 07:05:14 kilimanjaro [n=kilimanj@70.116.95.163] has joined #scheme 07:14:25 -!- saccade_ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Read error: 110 (Connection timed out)] 07:15:21 -!- Gorgoroth [i=Gorgorot@195-132-141-240.rev.numericable.fr] has quit [] 07:19:44 -!- johnnowak [n=johnnowa@207-38-171-48.c3-0.wsd-ubr1.qens-wsd.ny.cable.rcn.com] has quit [] 07:37:41 yhara [n=yhara@p1174-ipbf05matsue.shimane.ocn.ne.jp] has joined #scheme 07:37:45 -!- yhara_ [n=yhara@p1174-ipbf05matsue.shimane.ocn.ne.jp] has quit [Read error: 113 (No route to host)] 07:50:32 -!- HG` [n=wells@118.82.169.165] has quit ["Leaving."] 07:53:11 -!- jlongster [n=user@c-68-59-187-95.hsd1.tn.comcast.net] has quit [Read error: 60 (Operation timed out)] 07:55:41 -!- yhara [n=yhara@p1174-ipbf05matsue.shimane.ocn.ne.jp] has quit [Read error: 113 (No route to host)] 07:58:28 -!- emma [n=emma@unaffiliated/emma] has quit [Nick collision from services.] 07:58:40 emma [n=emma@unaffiliated/emma] has joined #scheme 08:00:11 -!- emma [n=emma@unaffiliated/emma] has quit [Nick collision from services.] 08:05:01 emma_ [n=emma@unaffiliated/emma] has joined #scheme 08:06:07 -!- emma_ [n=emma@unaffiliated/emma] has quit [Client Quit] 08:19:29 -!- akitada [n=akitada@unaffiliated/akitada] has quit [] 08:43:57 -!- reprore [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 09:26:42 -!- synthase [n=synthase@c-69-243-234-165.hsd1.al.comcast.net] has quit [Read error: 145 (Connection timed out)] 09:32:36 nw__ [n=nw@ckc-109-187.ResHall.Berkeley.EDU] has joined #scheme 09:32:47 -!- foof [n=user@dn157-046.naist.jp] has quit [Read error: 104 (Connection reset by peer)] 09:33:39 foof [n=user@dn157-046.naist.jp] has joined #scheme 09:34:51 -!- eli is now known as eli111 09:35:22 -!- eli111 is now known as eli 09:35:42 -!- eli is now known as eli111 09:36:03 -!- eli111 is now known as eli 09:39:34 -!- Adamant_ [n=Adamant@unaffiliated/adamant] has quit [] 09:44:00 -!- luz [n=davids@201.29.204.106] has quit [Read error: 110 (Connection timed out)] 09:44:45 notrudybot [n=luser@winooski.ccs.neu.edu] has joined #scheme 09:45:17 notrudybot: eval (define money 1000) 09:45:24 notrudybot: eval (define (withdraw n) (set! money (- money n))) 09:45:33 notrudybot: eval (define (make-check n) (let ([cashed? #f]) (lambda () (if cashed? (error "THIEF!!!") (begin (set! cashed? #t) (withdraw n)))))) 09:45:44 Anyone alive? 09:46:05 Anyone? 09:49:01 mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 09:50:05 *foof* 09:50:39 -!- nicholasw_ [n=nw@ckc-109-187.ResHall.Berkeley.EDU] has quit [Read error: 110 (Connection timed out)] 09:52:39 athos [n=philipp@92.250.204.223] has joined #scheme 09:53:14 tr3 [n=tr3@host28-43-dynamic.183-80-r.retail.telecomitalia.it] has joined #scheme 09:54:30 benny [n=benny@i577A0B8E.versanet.de] has joined #scheme 09:55:18 notrudybot: give foof (make-check 10) 09:55:19 foof: eli has given you a value, use (GRAB) to get it 09:56:01 schmalbe [n=bernhard@p549A0E1B.dip0.t-ipconnect.de] has joined #scheme 09:57:50 notrudybot: (grab) 09:58:14 (It really should be in capitals) 09:58:28 (And in an eval ...(GRAB)...) 09:58:51 notrudybot: eval (GRAB) 09:58:52 foof: ; Value: # 09:58:59 notrudybot: eval (GRAB) 09:58:59 foof: ; Value: # 09:59:04 notrudybot: eval ((GRAB)) 09:59:11 notrudybot: eval money 09:59:11 eli: ; Value: 990 09:59:21 Great success. 09:59:31 -!- gorki [n=chatzill@p54A7EDA7.dip.t-dialin.net] has quit [Remote closed the connection] 09:59:31 notrudybot: eval money 09:59:32 foof: error: reference to undefined identifier: money 10:00:01 gorki [n=chatzill@p54A7EDA7.dip.t-dialin.net] has joined #scheme 10:00:15 yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has joined #scheme 10:00:34 offby1: (when you see this) it works. 10:02:06 foof: Thanks, btw. 10:02:22 np 10:03:26 Nshag [i=user@Mix-Orleans-106-2-155.w193-248.abo.wanadoo.fr] has joined #scheme 10:03:55 jmo- [n=jmo-@83.233.163.130] has joined #scheme 10:07:32 yhara_ [n=yhara@7.193.12.221.megaegg.ne.jp] has joined #scheme 10:08:11 emma [n=emma@unaffiliated/emma] has joined #scheme 10:08:54 -!- yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has quit [Read error: 104 (Connection reset by peer)] 10:14:25 -!- rtra_ [n=rtra@unaffiliated/rtra] has quit [Read error: 145 (Connection timed out)] 10:18:31 cnicolas [n=cyprien@pdpc/supporter/student/cnicolas] has joined #scheme 10:18:40 hotblack23 [n=jh@p5B056966.dip.t-dialin.net] has joined #scheme 10:20:40 toki [i=sena@cable-89-216-155-195.dynamic.sbb.rs] has joined #scheme 10:21:07 tizoc_ [n=user@r190-133-154-35.dialup.adsl.anteldata.net.uy] has joined #scheme 10:23:31 ejs [n=eugen@94-248-42-240.dynamic.peoplenet.ua] has joined #scheme 10:25:59 dzhus [n=sphinx@93-80-205-110.broadband.corbina.ru] has joined #scheme 10:26:18 -!- gorki [n=chatzill@p54A7EDA7.dip.t-dialin.net] has quit ["ChatZilla 0.9.83-rdmsoft [XULRunner 1.9.0.5/2008121621]"] 10:35:14 -!- bombshelter13 [n=bombshel@209-161-238-145.dsl.look.ca] has quit [] 10:35:35 exexex [n=chatzill@88.235.179.86] has joined #scheme 10:37:56 -!- nw__ [n=nw@ckc-109-187.ResHall.Berkeley.EDU] has quit [Read error: 110 (Connection timed out)] 10:38:28 -!- tizoc [n=user@r190-133-131-164.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 10:41:36 -!- Arelius [n=Indy@209.77.67.98] has quit [] 10:43:13 -!- raikov [n=igr@81.153.145.122.ap.yournet.ne.jp] has quit [Read error: 54 (Connection reset by peer)] 10:48:39 -!- yhara_ [n=yhara@7.193.12.221.megaegg.ne.jp] has quit [Read error: 60 (Operation timed out)] 10:50:01 jah [n=jah@33.56.76-86.rev.gaoland.net] has joined #scheme 10:50:27 ecraven [n=nex@140.78.42.103] has joined #scheme 10:55:55 name [n=name@sburn/devel/name] has joined #scheme 11:03:48 orgy` [n=ratm_@pD9FFEB12.dip.t-dialin.net] has joined #scheme 11:07:11 Ragnaroek [i=54a65133@gateway/web/ajax/mibbit.com/x-51a78e78dca9d38d] has joined #scheme 11:10:02 yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has joined #scheme 11:18:37 ricky_ [n=ricky@fedora/ricky] has joined #scheme 11:18:42 -!- ricky_ [n=ricky@fedora/ricky] has quit [Client Quit] 11:22:22 fschwidom [n=fschwido@dslb-088-069-165-096.pools.arcor-ip.net] has joined #scheme 11:23:09 luz [n=davids@201.29.244.29] has joined #scheme 11:30:04 -!- ejs [n=eugen@94-248-42-240.dynamic.peoplenet.ua] has quit [Read error: 110 (Connection timed out)] 11:39:36 -!- athos [n=philipp@92.250.204.223] has quit ["Lost terminal"] 11:57:08 davids [n=davids@201.29.244.29] has joined #scheme 11:58:18 -!- davids [n=davids@201.29.244.29] has quit [Client Quit] 11:58:26 davids [n=davids@201.29.244.29] has joined #scheme 11:58:43 -!- davids [n=davids@201.29.244.29] has quit [Read error: 104 (Connection reset by peer)] 11:58:53 -!- luz [n=davids@201.29.244.29] has quit ["Client exiting"] 12:02:37 Judofyr_ [n=Judofyr@95.34.27.96.customer.cdi.no] has joined #scheme 12:05:35 -!- Judofyr [n=Judofyr@95.34.27.156.customer.cdi.no] has quit [Nick collision from services.] 12:05:51 -!- Judofyr_ is now known as Judofyr 12:12:25 peter___ [n=sjamaan@frohike-old.xs4all.nl] has joined #scheme 12:12:31 -!- peter___ is now known as sjamaan 12:31:46 vixey [n=vicky@amcant.demon.co.uk] has joined #scheme 12:52:29 -!- schmalbe [n=bernhard@p549A0E1B.dip0.t-ipconnect.de] has quit [Remote closed the connection] 13:03:19 -!- elias` [n=me@unaffiliated/elias/x-342423] has quit ["leaving"] 13:04:53 ejs [n=eugen@nat.ironport.com] has joined #scheme 13:13:03 -!- mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Remote closed the connection] 13:14:06 mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 13:19:11 -!- hotblack23 [n=jh@p5B056966.dip.t-dialin.net] has quit [Remote closed the connection] 13:28:06 attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has joined #scheme 13:35:46 -!- yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has quit [Read error: 110 (Connection timed out)] 13:35:53 -!- toki [i=sena@cable-89-216-155-195.dynamic.sbb.rs] has quit ["???????"] 13:36:48 gaja [n=Gabriel@c-0689e555.017-40-6c6b7013.cust.bredbandsbolaget.se] has joined #scheme 13:36:57 hark [n=strider@hark.slew.org] has joined #scheme 13:49:19 elias` [n=me@unaffiliated/elias/x-342423] has joined #scheme 13:50:33 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #scheme 14:00:49 synthase [n=synthase@c-69-243-234-165.hsd1.al.comcast.net] has joined #scheme 14:02:19 Kumool [n=Amarante@24.139.152.73] has joined #scheme 14:07:30 -!- spooneybarger [n=spooneyb@mobile-166-217-189-211.mycingular.net] has quit [] 14:14:26 GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has joined #scheme 14:14:44 -!- GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has quit [Client Quit] 14:21:02 -!- underspecified [n=eric@softbank220043052007.bbtec.net] has quit [Read error: 54 (Connection reset by peer)] 14:26:23 -!- jonrafkind [n=jon@12.50.149.2] has quit [Read error: 110 (Connection timed out)] 14:28:01 underspecified [n=eric@softbank220043052007.bbtec.net] has joined #scheme 14:30:23 -!- Judofyr [n=Judofyr@95.34.27.96.customer.cdi.no] has quit [Remote closed the connection] 14:37:56 macdice [n=macdice@78-86-162-220.zone2.bethere.co.uk] has joined #scheme 14:51:56 gweiqi [n=greg@69.120.126.163] has joined #scheme 14:56:18 hotblack23 [n=jh@p5B056966.dip.t-dialin.net] has joined #scheme 15:02:21 Judofyr [n=Judofyr@95.34.27.156.customer.cdi.no] has joined #scheme 15:04:40 jr92 [n=jon@209.221.62.186] has joined #scheme 15:08:35 choas [n=lars@p5B0DC9A6.dip.t-dialin.net] has joined #scheme 15:08:54 -!- ejs [n=eugen@nat.ironport.com] has quit ["Leaving"] 15:43:15 -!- gweiqi [n=greg@69.120.126.163] has left #scheme 15:45:33 gweiqi [n=greg@69.120.126.163] has joined #scheme 15:51:50 Gorgoroth [i=Gorgorot@195-132-141-240.rev.numericable.fr] has joined #scheme 15:53:51 -!- macdice [n=macdice@78-86-162-220.zone2.bethere.co.uk] has quit ["Leaving"] 15:56:49 -!- tizoc_ is now known as tizoc 16:08:33 -!- tr3 [n=tr3@host28-43-dynamic.183-80-r.retail.telecomitalia.it] has quit ["Leaving"] 16:13:37 -!- jr92 [n=jon@209.221.62.186] has quit [Connection timed out] 16:18:52 ray` [n=user@c-76-108-236-161.hsd1.fl.comcast.net] has joined #scheme 16:22:17 maskd [i=maskd@unaffiliated/maskd] has joined #scheme 16:26:11 reprore [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 16:43:08 -!- jah [n=jah@33.56.76-86.rev.gaoland.net] has quit ["Quitte"] 16:45:49 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 16:46:34 -!- benny [n=benny@i577A0B8E.versanet.de] has quit [No route to host] 16:51:34 -!- foof [n=user@dn157-046.naist.jp] has quit [Read error: 54 (Connection reset by peer)] 16:51:53 foof [n=user@dn157-046.naist.jp] has joined #scheme 16:53:15 benny [n=benny@i577A0B8E.versanet.de] has joined #scheme 16:54:25 athos [n=philipp@92.250.204.223] has joined #scheme 16:56:59 kewl 17:00:33 -!- name [n=name@sburn/devel/name] has quit ["Lost terminal"] 17:03:55 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #scheme 17:07:06 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 17:14:01 -!- eno__ is now known as eno 17:20:41 Linus is an idiot. Gnome is a pile of poo: http://linux.slashdot.org/article.pl?sid=09/01/24/1842218 17:21:59 tizoc_ [n=user@r190-133-141-104.dialup.adsl.anteldata.net.uy] has joined #scheme 17:23:45 Film at eleven? 17:24:27 grettke [n=grettke@CPE-65-31-142-107.wi.res.rr.com] has joined #scheme 17:24:59 *grettke* maps the human-or-other? functions across the rooom 17:25:51 -!- dzhus [n=sphinx@93-80-205-110.broadband.corbina.ru] has quit [Remote closed the connection] 17:25:54 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #scheme 17:26:15 REPLeffect [n=REPLeffe@69.54.115.254] has joined #scheme 17:28:52 -!- tizoc [n=user@r190-133-154-35.dialup.adsl.anteldata.net.uy] has quit [Nick collision from services.] 17:28:55 -!- tizoc_ is now known as tizoc 17:43:32 schmalbe [n=bernhard@p549A1D70.dip0.t-ipconnect.de] has joined #scheme 17:47:10 jah [n=jah@33.56.76-86.rev.gaoland.net] has joined #scheme 17:55:10 *offby1* puts up a convincing facade 17:59:42 -!- Kumool [n=Amarante@24.139.152.73] has quit [Read error: 110 (Connection timed out)] 18:00:17 name [n=name@sburn/devel/name] has joined #scheme 18:01:44 Kumool [n=Amarante@24.139.152.73] has joined #scheme 18:05:19 -!- reprore [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 104 (Connection reset by peer)] 18:05:39 reprore [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 18:11:45 -!- elias` [n=me@unaffiliated/elias/x-342423] has quit ["leaving"] 18:18:11 saccade_ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 18:25:31 -!- fschwidom [n=fschwido@dslb-088-069-165-096.pools.arcor-ip.net] has quit [Remote closed the connection] 18:32:39 tripwyre [n=sathya@117.193.163.206] has joined #scheme 18:33:40 incubot: the to-be-stitched mini-books are called signatures, apparently, not fascicles 18:33:42 I think that the downloadable version is old anyway, on amazon, you can buy the *real* fascicles (that doesn't make 'patching' easier, but makes the patch preatier I believe). 18:38:59 jcowan [n=jcowan@cpe-74-68-154-18.nyc.res.rr.com] has joined #scheme 18:42:01 aleix [n=aleix@46.Red-83-61-3.dynamicIP.rima-tde.net] has joined #scheme 18:42:41 *offby1* waves 18:42:58 incubot: who do you like for Best Picture? 18:43:00 http://www.plt-scheme.org/screenshots/graphical-syntax.jpg <-- hello. Does anyone know how I can get x-exprs to be shown like in the picture? 18:43:09 offby1: how goes it, btw? 18:43:43 reasonably well 18:44:06 eli has added a truly remarkable feature to the bot. Unfortunately my inbox is too small to contain it 18:44:17 -!- reprore [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [No route to host] 18:44:35 the ability to pass a value to a person? 18:45:17 yep 18:45:36 or, rather, from one sandbox to another 18:46:04 *offby1* 's brain is 90% committed to imagining leftovers 18:46:17 there's that curried chicken Mrs offby1 made last night ... mmmm 18:47:07 never thought it would happen, but palo alto has curried me out 18:47:21 every other restaurant is indian, it seems 18:48:25 hmmm, curried chicken 18:48:46 peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has joined #scheme 18:48:59 -!- aleix [n=aleix@46.Red-83-61-3.dynamicIP.rima-tde.net] has left #scheme 18:49:38 -!- saccade_ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit ["This computer has gone to sleep"] 18:50:47 Gosh! A brand new mit-scheme snapshot... 18:51:01 Choipmunk [n=skaushik@122.172.31.202] has joined #scheme 18:51:13 -!- Choipmunk [n=skaushik@122.172.31.202] has quit [Client Quit] 18:53:23 Chipku [n=skaushik@122.172.31.202] has joined #scheme 18:54:43 *offby1* is heating it up as we speak 18:54:47 film at eleven 18:54:55 notrudybot: eval money 18:54:56 eli: ; Value: 990 18:54:59 aha! 18:55:00 he returns. 18:55:10 notrudybot: give offby1 (make-check 40) 18:55:11 offby1: eli has given you a value, use (GRAB) to get it 18:55:18 -!- hotblack23 [n=jh@p5B056966.dip.t-dialin.net] has quit [Remote closed the connection] 18:55:19 I should drink a quart of tea, so as to be in good hacking shape 18:55:26 notrudybot: (grab) 18:55:30 notrudybot: eval (grab) 18:55:31 offby1: error: reference to undefined identifier: grab 18:55:33 Ha! 18:55:34 notrudybot: eval (GRAB) 18:55:34 offby1: ; Value: # 18:55:37 notrudybot: eval ((GRAB)) 18:55:43 notrudybot: eval money 18:55:43 eli: ; Value: 950 18:55:44 UI has never been our strong suit 18:55:53 WHERE'S MY CHECK?! 18:56:03 It's still there. 18:56:13 You can use (GRAB) to get it again. 18:56:14 you mean I can drain your account? kewl 18:56:16 notrudybot: eval ((GRAB)) 18:56:16 offby1: error: THIEF!!! 18:56:16 notrudybot: eval ((GRAB)) 18:56:17 offby1: error: THIEF!!! 18:56:17 notrudybot: eval ((GRAB)) 18:56:17 offby1: error: THIEF!!! 18:56:20 *offby1* glances around nervously. 18:56:53 notrudybot: give incubot (make-check 40) 18:57:10 reprore [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 18:57:34 offby1: Is there some "official" way to know if someone is a bot? 18:57:40 Or should I just use a regexp? 18:57:43 not that I know of 18:57:50 I just look for "bot" at the end of their nick 18:57:57 johnnowak [n=johnnowa@207-38-171-48.c3-0.wsd-ubr1.qens-wsd.ny.cable.rcn.com] has joined #scheme 18:58:27 It did give incubot a check btw -- I just made it not spit out the "use (GRAB)" instructions every time. 18:58:31 Probably a mistake. 18:59:22 Also, is there any tracking of nicks? 18:59:46 define "tracking" 18:59:58 Something that makes it possible to throw an error if I give something to an inexistent nick. 19:00:15 Can't think of such a thing offhand. 19:00:25 Also, if I do something like: 19:00:38 notrudybot: give offby1 (makke-string 10000) 19:00:39 eli: error: reference to undefined identifier: makke-string 19:00:42 It's possible to get a list of nicks that are "in" a channel, but a) that's kinda expensive; and b) it'll be outdated two seconds after you do it, once someone joins or parts 19:00:43 notrudybot: give offby1 (make-string 10000) 19:00:43 offby1: eli has given you a value, use (GRAB) to get it 19:00:51 heh 19:01:00 notrudybot: eval ((GRAB)) 19:01:00 offby1: error: procedure application: expected procedure, given: "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000... (no arguments) 19:01:04 hmm 19:01:08 notrudybot: eval (GRAB) 19:01:09 offby1: ; Value: "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u 19:01:13 fair enough 19:01:14 (A check is a function...) 19:01:25 Now there's a handle that will keep that string around in my sandbox. 19:01:42 ooh, can you mutate it? 19:01:45 If there was tracking of nicks, then the handle could be released when you log out. 19:01:53 Mutate the string? 19:01:56 ya 19:01:59 Of course. 19:02:03 you can look for a PART message from me. 19:02:09 note that some people never log out 19:02:12 *offby1* glares at duncanm 19:02:27 That goes into IRC world too much for my taste... 19:02:40 hey, man, don't blame me 19:02:41 notrudybot: eval (define b (box #f)) 19:02:50 notrudybot: give offby1 b 19:02:51 offby1: eli has given you a value, use (GRAB) to get it 19:03:02 ooh! A box? For me? 19:03:05 notrudybot: eval (box-set! b 123) 19:03:05 I wonder what it is 19:03:05 eli: error: reference to undefined identifier: box-set! 19:03:11 notrudybot: eval (set-box! b 123) 19:03:12 *offby1* tears off the wrapping paper 19:03:24 notrudybot: eval (GRAB) 19:03:24 offby1: ; Value: #&123 19:03:29 ooh, it's a lovely 123! 19:03:35 Now you can put something in it for me. 19:03:53 notrudybot: eval (set-box! (GRAB) "Dear Eli: Thank you for the lovely 123") 19:03:57 *offby1* whistles innocently 19:04:00 just my size 19:04:03 notrudybot: eval (unbox b) 19:04:03 eli: ; Value: "Dear Eli: Thank you for the lovely 123" 19:04:49 it's a new IRC paradigm. 19:04:58 The thing is that with the sketch code I did, the handle was kept in the destination sandbox, which was cute in a very obscure way: 19:05:00 *offby1* thinks of ways to monetize it 19:05:25 When I give you a value -- the handle is kept in your box, so my value would not get GCed, 19:05:32 ya 19:05:45 -!- attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has quit [Read error: 113 (No route to host)] 19:05:54 But if your box dies, then the handle is not kept, and then the given value in my box can be GCed. 19:06:02 sure 19:06:07 izzat bad? 19:06:11 rtra [n=rtra@unaffiliated/rtra] has joined #scheme 19:06:12 That's good. 19:06:15 ah. 19:06:27 But it would be a bad idea to do that in rudybot, since this means that every 19:06:36 notrudybot: give blahblahblah 12345 19:06:36 blahblahblah: eli has given you a value, use (GRAB) to get it 19:06:43 will create a new sandbox. 19:06:48 ah. 19:06:52 (Which might kill my own sandbox.) 19:07:15 well, couldn't you retain the rather small limit on the number of outstanding sandboxes? 19:07:16 So the handle is kept in a hash table, indexed by nickname strings. 19:07:18 yes, yours might go away 19:07:30 notrudybot: evan (exit) 19:07:33 notrudybot: eval (exit) 19:07:33 eli: error: evaluator: terminated (exited) 19:07:46 Now try to grab your present back. 19:07:47 notrudybot: eval (GRAB) 19:07:47 offby1: error: grab: the sending evaluator died 19:07:49 aw. 19:08:00 -!- johnnowak [n=johnnowa@207-38-171-48.c3-0.wsd-ubr1.qens-wsd.ny.cable.rcn.com] has quit [] 19:08:00 I never even got to try it on 19:08:04 :) 19:09:13 Anyway, if you have any idea for a better, um, "user interface", now's the time. 19:09:23 I used (GRAB) to minimize collisions. 19:09:37 seems reasonable enough. 19:09:45 ought to be easy enough to change 19:10:08 I know about the horribly loud code-quoting style used in this neighborhood. 19:10:14 ? 19:10:24 I'd ask for an example, but I fear I'd regret it 19:10:35 blah blah (IF (< FOO BAR) (BAZ) (BLAH BLAH)) 19:10:50 well, that's a good thing: GRAB will be lost in the noise. 19:10:55 r5rs-ism. 19:11:06 (case-insensitivity, that is) 19:11:10 CL-ism. 19:11:28 (use capitals to "quote" code, that is) 19:12:14 I gotta admit: I like case-insensitivity 19:12:29 I think the case-insensitive file system is one of the things Microsoft got right 19:12:37 probably complicated internally, but friendly for us forgetful humans 19:14:15 Well, my opinion on that is very different... (And probably posted in many places...) 19:14:47 Mostly because I'm not native on the capital-able alphabet thing. 19:15:09 heh 19:15:12 damn, that's right! 19:15:27 And because I don't care to get Unicode leaking into the meaning of code. 19:15:27 y'all do however drop your vowels indiscriminately, if I recall correctly 19:17:32 that's gross, at least have the decency to drop your vowels in the toilet 19:17:33 savages 19:17:38 -!- choas [n=lars@p5B0DC9A6.dip.t-dialin.net] has quit ["leaving"] 19:18:20 offby1: Yes, but that's not the main issue, 19:18:41 There are also a few letters with different forms when they appear at the end of a word. 19:18:52 Which is, of course, a different unicode character. 19:19:27 And in some cases the non-final form is still used at the end. 19:19:55 And there's the well known Turkish or German ss thing or something like that. 19:19:58 yeah, many languages are complex that way -- and 19:20:00 yes. 19:20:01 jinx. 19:20:39 It's probably not unreasonable to expect, for example, for the Israeli Academy of Hebrew to decide on some new rule, 19:20:50 and for Unicode version N.M to adopt that change, 19:21:08 and I really, *really* don't want all that to change source-code meaning. 19:23:30 there's an Academy? 19:23:43 I hope they're not stuffy fools as the Academy Francais is said to be 19:23:50 Yeah. I hate such things. 19:23:57 outlawing words like "Le Weekend" because it's, y'know, from _another language_ 19:24:14 Every time I go to Israel I find a bunch of new words on the ground. 19:24:53 It's especially ridiculous with hi-tech-related translations. 19:25:28 -!- notrudybot [n=luser@winooski.ccs.neu.edu] has quit [Remote closed the connection] 19:25:30 -!- set1 [n=seth@76-191-139-155.dsl.static.sonic.net] has left #scheme 19:25:52 Arelius [n=Indy@209.77.67.98] has joined #scheme 19:26:36 offby1: OK, so I have a bunch of patches. 19:27:06 offby1: http://tmp.barzilay.org/rudybot 19:27:42 antoszka [n=antoszka@unaffiliated/antoszka] has joined #scheme 19:28:34 oho 19:28:47 oh cool! you used git-format-patch 19:28:57 Yes, I'm very advanced now. 19:28:58 lemme see if those apply in the branch I made SPECIALLY FOR YOU 19:29:17 A branch, for me? 19:29:54 So you merge the patches to a branch and then merge the branch to the trunk? 19:30:50 behold: http://github.com/offby1/rudybot/commits/elis-sandbox-idea 19:30:53 yes. 19:31:08 got-to-go... 19:31:10 I will only merge into the trunk after, y'know, having my people look it over 19:31:11 thanks! 19:34:05 -!- decker [n=chatzill@71-93-181-7.static.rvsd.ca.charter.com] has quit [Remote closed the connection] 19:34:20 DGMurdockIII [n=name@208-70-43-114.bb.hrtc.net] has joined #scheme 19:34:27 -!- DGMurdockIII [n=name@208-70-43-114.bb.hrtc.net] has left #scheme 19:34:36 singhv [n=vsingh@CPE0014bf4af6c2-CM000a739caee2.cpe.net.cable.rogers.com] has joined #scheme 19:35:20 offby1, what our «Académie Française» is said to be ? 19:35:46 (I think the special chars messed up) 19:37:30 -!- grettke [n=grettke@CPE-65-31-142-107.wi.res.rr.com] has quit [] 19:42:40 saccade_ [n=saccade@c-66-31-201-117.hsd1.ma.comcast.net] has joined #scheme 19:45:33 austin2 [n=austinfl@c-98-230-14-105.hsd1.fl.comcast.net] has joined #scheme 19:46:11 mejja, yep, a new snapshot at last. No more (STREAM-TAIL '()), no more (%RECORD-REF #F 3), less CPU usage in general, and many IMAIL fixes. 19:48:09 *cnicolas* sometimes hates google 19:50:13 cnicolas: absurdly conservative: outlawing words like "Le Weekend" because it's, y'know, from _another language_ 19:50:30 cnicolas: (the special characters look fine to me) 19:51:55 but "le parking" has legal use :) 19:52:46 well, thank God for that 19:53:05 Is what I heard correct: are they in fact absurdly conservative? 19:53:10 (ok I switched to utf-8 just after, as required by some french channels) 19:53:24 offby1, no, but they make recomandations 19:53:26 utf-8 is the best choice most of the time 19:53:40 cnicolas: Oh! That's OK; I thought they actually had the power to _outlaw_ words. 19:53:43 -!- underspecified [n=eric@softbank220043052007.bbtec.net] has quit [] 19:53:45 we should not use DVD as instance 19:53:50 (Not that that hasn't been tried here in the US too) 19:54:41 jewel [n=jewel@dsl-242-151-10.telkomadsl.co.za] has joined #scheme 19:55:13 So there are "official" translations in french for common words, like e-mail, browser, DSL, but nobody use them, there are quite impossible to be understood 19:55:41 :) 19:55:55 The word "Quixotic" comes to mind 19:56:00 I imagine you have that word too 19:56:10 .oO("Quixotique"?) 19:56:34 hem, I'm discovering it... 19:57:37 We call that author "Don Quichotte" 19:57:43 no ex 19:58:08 so quichottique is the word :) 19:58:38 noted. 19:59:51 a funny thing from the French Academy, is we should write CDROM as cédérom 20:00:03 the phonetic way 20:00:11 that makes even less sense. 20:00:17 CDROM is an _English_ acronym 20:00:58 yep 20:01:02 Might's well call it "disque compact à lecture seule" 20:01:17 :) 20:01:25 that's true for audio CD 20:01:35 -!- Chipku [n=skaushik@122.172.31.202] has quit [] 20:03:35 what's the difference between ;, ;; and ;;;? which should I use when? 20:04:02 ; introduces a commentary 20:04:06 -!- reprore [n=reprore@ntkngw560169.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 20:04:11 whatever stands after 20:04:42 yeah, I know. but what about the semantic difference? 20:04:56 Judofyr, Scheme ignores everything after the first semicolon until the end of the line. 20:05:37 Judofyr: yeah: there's no difference at all as far as Emacs itself is concerned. It's just a convention for humans. 20:05:37 there is no semantics, but some implementation use special syntax for self-generated documentation... 20:05:47 Judofyr: (info "(elisp) Comment Tips") 20:05:50 ala javadoc 20:06:01 Judofyr, conventionally, ;;; begins top-level comments, ;; begins indented code-level comments associated with the form on the next line, and ; begins margin comments. 20:06:45 and #|... |# for block comments, but I don't know if there are standard... 20:07:22 Riastradh: thanks :-) 20:07:36 -!- pfo [n=pfo@chello084114049188.14.vie.surfer.at] has quit [Remote closed the connection] 20:07:57 I don't think Emacs groks #| ... |# 20:07:58 pfo [n=pfo@chello084114049188.14.vie.surfer.at] has joined #scheme 20:08:45 I'm sure it does not 20:08:46 Emacs poorly handles block comments, which are not found in the IEEE standard or in the R5RS, but which are described in one of the SRFIs (30 or 31 or so). 20:10:20 offby1, is `grok' a slang word ? I never saw it before 20:10:55 `Grok' is not precisely `slang'. 20:12:02 hm okay 20:12:42 I just saw the wikipedia page 20:13:31 saved me a lot of typing :) 20:13:52 Riastradh: you're right. But what _would_ you call it? I can't think of a word that nicely describes words like "grok". 20:14:04 offby1: jargon ;) 20:14:07 It's not really jargon 20:14:07 Jargon is closer, although it's not quite that either. 20:14:10 jinx 20:15:03 *Riastradh* vanishes. 20:15:24 well, it's an entry in the "Jargon file" or "new hacker's dictionary" 20:15:33 Hey! The Jargon File on the Web uses Latin-1 encoding. That doesn't seem very esr-like. 20:15:43 sjamaan: damn, boy, will you get your own brain?! I'm using mine. 20:15:49 there's an entry in the Oxford Dictionnary also... 20:15:56 I'd go with esr for this one. 20:16:16 heh 20:16:42 man, wouldn't it be nice if I could tell my browser: "yo, use Latin-1 for _every page in this site_, not just this page" 20:16:43 *sigh* 20:17:01 wouldn't it be nice if the web page said "yo browser: I am encoded with Latin-1; decode accordingly" 20:17:10 It should 20:17:11 ain't that 'sposed to be part of HTML or something? 20:17:23 huh, it does so say. 20:17:25 There's a header for that 20:17:27 Quite clearly. 20:17:31 -!- jah [n=jah@33.56.76-86.rev.gaoland.net] has quit ["Quitte"] 20:17:35 Maybe I've told my browser to ignore that setting. 20:17:40 haha 20:17:45 you get what you ask for ;) 20:18:40 GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has joined #scheme 20:18:58 If I _did_ tell it that, I dunno _how_. Nor can I figure out how to un-tell it :-| 20:19:30 -!- GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has quit [Client Quit] 20:22:31 -!- puchacz [n=puchacz@87-194-5-99.bethere.co.uk] has quit [Remote closed the connection] 20:22:40 -!- hemulen [n=hemulen@cpe-069-134-114-252.nc.res.rr.com] has quit [Read error: 104 (Connection reset by peer)] 20:22:55 hemulen [n=hemulen@cpe-069-134-114-252.nc.res.rr.com] has joined #scheme 20:25:21 -!- schmalbe [n=bernhard@p549A1D70.dip0.t-ipconnect.de] has quit [Remote closed the connection] 20:29:02 *cnicolas* thinks he groks the meaning of Grok 20:29:27 :) 20:30:41 -!- cnicolas is now known as Fulax 20:33:59 ejs [n=eugen@94-248-28-133.dynamic.peoplenet.ua] has joined #scheme 20:34:39 a-s [n=user@92.80.104.123] has joined #scheme 20:39:51 -!- austin2 [n=austinfl@c-98-230-14-105.hsd1.fl.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 20:39:56 austin2 [n=austinfl@c-98-230-14-105.hsd1.fl.comcast.net] has joined #scheme 20:48:30 -!- tripwyre [n=sathya@117.193.163.206] has quit [] 20:56:33 -!- Ragnaroek [i=54a65133@gateway/web/ajax/mibbit.com/x-51a78e78dca9d38d] has quit ["http://www.mibbit.com ajax IRC Client"] 21:04:22 -!- Nshag [i=user@Mix-Orleans-106-2-155.w193-248.abo.wanadoo.fr] has quit ["Quitte"] 21:12:54 -!- austin2 [n=austinfl@c-98-230-14-105.hsd1.fl.comcast.net] has quit [Read error: 110 (Connection timed out)] 21:18:26 -!- jmo- [n=jmo-@83.233.163.130] has quit [Remote closed the connection] 21:18:44 -!- rudybot [n=luser@q-static-138-125.avvanta.com] has quit [Remote closed the connection] 21:19:24 rudybot [n=luser@q-static-138-125.avvanta.com] has joined #scheme 21:20:22 rudybot: give eli "OK, it's live!" 21:20:22 eli: offby1 has given you a value, use (GRAB) in an eval to get it (case sensitive) 21:20:25 rudybot: source 21:20:26 offby1: http://github.com/offby1/rudybot/tree/5a808bfc5c7a1fb6021566815bd6ae4e7f64c3b8 21:21:34 rudybot: give Judofyr "This is a test" 21:21:35 Judofyr: error: Talk to yourself much too? 21:21:38 :-( 21:22:39 rudybot: give rudybot #xF00D 21:22:39 rudybot: p1dzkl has given you a value, use (GRAB) in an eval to get it (case sensitive) 21:22:50 Judofyr: I didn't write this "give" code, so I'm not 100% sure, but: I think if you were to give yourself a value, it'd cause some awful deadlock or something 21:24:46 weird, rudybot was supposed to say "I'm full, thanks" when I gave him something 21:24:48 http://github.com/offby1/rudybot/commit/95c06b8672c85301deccf9a42213796a98209585#L0R173 21:24:50 -rudybot:#scheme- http://tinyurl.com/ccjlcc 21:25:06 eli? 21:26:55 rudybot: give incubot 'The-finger! 21:26:56 incubot: mejja has given you a value, use (GRAB) in an eval to get it (case sensitive) 21:26:56 Error: unbound variable: mejja 21:26:58 p1dzkl: inded. 21:27:00 indeed 21:27:22 crazy: it sees parens _anywhere_ and it decides to eval? 21:27:28 incubot: you are too loose 21:27:30 annotated #47039 with "another funky-ass macro on the loose" at http://paste.lisp.org/display/47039#2 21:28:26 rudybot: give rudybot #T 21:28:26 rudybot: mejja you got a value, use (GRAB) 21:28:40 rudybot: eval (GRAB) 21:28:54 :-( 21:29:07 wait. 21:29:18 What is the "you got a value"? What happened to "... has given you a value"? 21:29:22 WHO'S HACKED MY BOT?! 21:30:52 rudybot: give offby1 #f 21:30:53 offby1: mbishop has given you a value, use (GRAB) in an eval to get it (case sensitive) 21:31:03 I'm afraid to. 21:31:13 It's probably a box full of kids standing on my lawn 21:31:20 rudybot: eval (GRAB) 21:31:21 offby1: ; Value: #f 21:31:23 *whew* 21:31:59 impomatic [n=John@nat65.mia.three.co.uk] has joined #scheme 21:33:05 rudybot: give offby1 (lambda (x) (x x)) 21:33:05 offby1: elly has given you a value, use (GRAB) in an eval to get it (case sensitive) 21:33:11 surprise omega function! 21:33:23 rudybot: eval (GRAB) 21:33:23 offby1: ; Value: # 21:33:26 rudybot: eval ((GRAB)) 21:33:26 offby1: error: #: expects 1 argument, given 0 21:33:30 rudybot: eval ((GRAB) 'snord) 21:33:30 offby1: error: procedure application: expected procedure, given: snord; arguments were: snord 21:33:38 you have to apply it to itself for maximal enjoyment 21:33:46 rudybot: eval ((GRAB) (lambda (snord) 'fnord)) 21:33:46 offby1: ; Value: fnord 21:33:55 rudybot: eval ((GRAB) (lambda (snord) (GRAB))) 21:33:55 offby1: ; Value: # 21:34:05 rudybot: eval ((GRAB) (GRAB)) 21:34:06 rudybot: (GRAB) 21:34:08 offby1: error: with-limit: out of time 21:34:08 yeah, that :P 21:34:09 rudybot: eval (GRAB) 21:34:10 eli: ; Value: "OK, it's live!" 21:34:18 rudybot: eval ((GRAB) (GRAB)) 21:34:18 wow 21:34:21 offby1: error: with-limit: out of time 21:34:31 grab slab flab blab. 21:34:37 offby1: Should I do the pull again to fix the short-message bug? 21:34:42 *offby1* stares blankly 21:34:53 The git thing to get the updated sources. 21:35:02 Or I can just send you a patch just for that. 21:35:05 rudybot: give elly (lambda (car cdr) (lambda (selector) (selector car cdr))) 21:35:06 elly: vixey has given you a value, use (GRAB) in an eval to get it (case sensitive) 21:35:06 yeah, I know what "pull" is. But I don't know what "the short-message bug" is. 21:35:24 rudybot: give offby1 1 21:35:25 offby1: eli you got a value, use (GRAB) 21:35:27 aaahh 21:35:32 That grabled text. 21:35:35 funny I didn't even notice that in the source. 21:35:41 Shows how carefully I reviewed it. 21:35:46 sure, pull again if you want. 21:35:57 note, though, that the branch is now gone; you want the "master" branch. 21:36:00 vixey: :O 21:36:02 do 'git checkout master' before you pull 21:36:03 -!- impomatic [n=John@nat65.mia.three.co.uk] has quit ["http://impomatic.blogspot.com"] 21:36:12 rudybot: eval ((GRAB) (GRAB) (GRAB)) 21:36:13 elly: ; Value: # 21:36:22 eli: it's a hit already! 21:36:29 offby1: Actually, all you need to do is replace (msg* "you got a value, use (GRAB)") with (msg* "gave you a value, use (GRAB)") 21:36:31 rudybot: give eli (let ((counter 0)) (lambda () (set! counter (+ 1 counter)) counter))) 21:36:31 vixey: error: eval:1:68: read: unexpected `)' 21:36:34 :( 21:36:43 rudybot: give eli (let ((counter 0)) (lambda () (set! counter (+ 1 counter)) counter)) 21:36:44 eli: vixey you got a value, use (GRAB) 21:36:46 eli: are you saying you've got the same string in two places?! I'm shocked. 21:36:59 rntz [n=marntzen@WEH5207-07.WEH.ANDREW.CMU.EDU] has joined #scheme 21:37:02 vixey: that's not much fun since you don't have access to the state that I can change. 21:37:20 rudybot: give rntz (lambda (x) (x x)) 21:37:20 rntz: elly you got a value, use (GRAB) 21:37:25 rudybot: (define other-counter 0) 21:37:29 grammar fail :( 21:37:33 vixey: you want eval 21:37:37 offby1: No, there are two messages there: `msg' is the long version and `msg*' is the short, less nagging one. 21:37:46 rudybot: eval (define other-counter 0) 21:37:50 rudybot: give offby1 (lambda () (set! other-counter (+ 1 other-counter)) other-counter) 21:37:51 offby1: vixey you got a value, use (GRAB) 21:38:08 rudybot: ((GRAB) (lambda (x) x)) 21:38:19 rudybot: eval ((GRAB) (lambda (x) x)) 21:38:20 rntz: ; Value: # 21:38:32 rudybot: eval other-counter 21:38:32 vixey: ; Value: 0 21:38:53 yeah, I see that. 21:38:54 rudybot: give elly (lambda (x) `(,x ',x)) 21:38:54 elly: rntz you got a value, use (GRAB) 21:39:01 fixed & pushed, but not deployed. 21:39:11 It hurts me every time I kill him. 21:39:16 rudybot: eval ((GRAB) (GRAB)) 21:39:17 elly: ; Value: (# (quote #)) 21:39:31 rudybot: eval (((GRAB) (GRAB))) 21:39:31 elly: error: procedure application: expected procedure, given: (# (quote #)) (no arguments) 21:39:34 offby1: Also, change (equal? for-whom (*my-nick*)) to (equal? (car words) (*my-nick*)) 21:39:38 rudybot: eval (GRAB) 21:39:38 elly: ; Value: # 21:39:38 aaaah 21:39:41 eli: I was about to say 21:39:43 how is function called 21:39:50 weird, rudybot was supposed to say "I'm full, thanks" when I gave him something 21:39:55 eli: that's the fix, I'm sure 21:40:01 offby1: Yes, I just got to that. 21:40:21 rudybot: eval ((lambda (x) `(,x ',x)) (lambda (x) `(,x ',x))) 21:40:21 rntz: ; Value: (# (quote #)) 21:40:49 rudybot: eval ((lambda (x) `(,x ',x)) `(lambda (x) `(,x ',x))) 21:40:50 vixey: ; Value: ((lambda (x) (quasiquote ((unquote x) (quote (unquote x))))) (quote (lambda (x) (quasiquote ((unquote x) (quote (unquote x))))))) 21:40:55 which scheme runs rudybot ? 21:41:00 fusss [n=chatzill@ip70-179-113-121.dc.dc.cox.net] has joined #scheme 21:41:07 rudybot: eval (banner) 21:41:08 offby1: ; Value: "Welcome to MzScheme v4.1.4 [3m], Copyright (c) 2004-2009 PLT Scheme Inc.\n" 21:41:20 Fulax: 'zat answer your question? :) 21:41:30 perfectly offby1 :) 21:41:44 rudybot: source 21:41:44 offby1: http://github.com/offby1/rudybot/tree/5a808bfc5c7a1fb6021566815bd6ae4e7f64c3b8 21:42:06 I like how github shows eli as the author of his commits ... without my having had to do anything at all 21:42:49 not for the wiki page :p 21:43:21 aw, nobody uses those. 21:45:02 -!- jewel [n=jewel@dsl-242-151-10.telkomadsl.co.za] has quit [Read error: 113 (No route to host)] 21:45:28 I there a special reason for naming it rudy ? 21:45:57 sort of. 21:46:16 When I originally wrote it, I was suffering a little bit of gastric distress, so I named it "fartbot". 21:46:23 Someone pointed out that that was rude. 21:46:24 rudybot, eval (whoami) 21:46:24 Fulax: error: reference to undefined identifier: whoami 21:46:39 So I changed the name to "rudebot". I don't know how or why it changed from "rude" to "rudy" 21:46:41 -!- saccade_ [n=saccade@c-66-31-201-117.hsd1.ma.comcast.net] has quit ["This computer has gone to sleep"] 21:46:47 Probably because Rudy is an actual name 21:47:32 *offby1* wonders if he has frightened the children 21:47:36 The truth is often unpleasant. 21:48:15 :) 21:48:42 *elly* is afraid now 21:48:50 GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has joined #scheme 21:48:59 It's OK, you don't live within two blocks of my house. 21:49:01 Do you? 21:49:01 Once, one of my teachers said : One should not believe all truths 21:49:12 -!- GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has left #scheme 21:49:30 offby1: I doubt it 21:49:50 hey, i'm trying to teach someone lisp and i chose to play with plt for that. however, DrScheme doesn't seem very intuitive for a slime user. how can i write code in the editor buffer and have it sent to the repl underneath? there is only one "Run" button and I don't see any keychords anywhere. what do i do? 21:50:30 Click the "Run" button! 21:50:31 Ctrl+T 21:50:41 is my memory doesn't fail 21:50:58 or Apple-T on a mac 21:51:31 *Fulax* hates mice 21:54:20 my editing buffer has some code that uses scheme/gui/base; do i need to require that at the top of the file or do I have to say #lang scheme/gui or what? 21:54:47 pretty big should be ok for gui 21:54:49 fusss: check out http://www.cs.brown.edu/research/plt/software/divascheme/ 21:55:13 "DivaScheme is an alternative set of key bindings for DrScheme. When DivaScheme is on, the most important functions of DrScheme are available through unchorded keystrokes, and the motion commands operate on sexps by default. " 21:56:30 nice! it's working for me now. 22:02:08 -!- ecraven [n=nex@140.78.42.103] has quit ["bbl"] 22:03:28 *offby1* never warmed to divascheme 22:03:45 I tried once 22:03:52 but never twice 22:04:49 bombshelter13 [n=bombshel@209-161-238-145.dsl.look.ca] has joined #scheme 22:06:28 -!- rntz [n=marntzen@WEH5207-07.WEH.ANDREW.CMU.EDU] has left #scheme 22:07:21 jlongster [n=user@c-68-59-187-95.hsd1.tn.comcast.net] has joined #scheme 22:14:21 -!- ejs [n=eugen@94-248-28-133.dynamic.peoplenet.ua] has quit [Read error: 60 (Operation timed out)] 22:19:00 Judofyr_ [n=Judofyr@95.34.27.156.customer.cdi.no] has joined #scheme 22:19:37 tr3 [n=tr3@host28-43-dynamic.183-80-r.retail.telecomitalia.it] has joined #scheme 22:19:40 underspecified [n=eric@220.43.52.7] has joined #scheme 22:19:42 -!- Judofyr [n=Judofyr@95.34.27.156.customer.cdi.no] has quit [Read error: 60 (Operation timed out)] 22:20:38 fschwidom [n=fschwido@dslb-088-069-165-096.pools.arcor-ip.net] has joined #scheme 22:23:33 underspecified_ [n=eric@softbank220043052007.bbtec.net] has joined #scheme 22:23:33 -!- underspecified [n=eric@220.43.52.7] has quit [Read error: 131 (Connection reset by peer)] 22:25:19 hml [n=x@unaffiliated/hml] has joined #scheme 22:25:34 -!- fusss [n=chatzill@ip70-179-113-121.dc.dc.cox.net] has quit [SendQ exceeded] 22:28:19 -!- leppie [n=lolcow@196.210.162.53] has quit [Read error: 54 (Connection reset by peer)] 22:28:50 leppie [n=lolcow@196.210.162.53] has joined #scheme 22:29:20 fusss [n=chatzill@ip70-179-113-121.dc.dc.cox.net] has joined #scheme 22:35:28 ejs [n=eugen@94-248-28-133.dynamic.peoplenet.ua] has joined #scheme 22:36:56 -!- Mr_Awesome [n=eric@pool-98-115-118-219.chi01.dsl-w.verizon.net] has quit ["aunt jemima is the devil!"] 22:38:17 -!- jcowan [n=jcowan@cpe-74-68-154-18.nyc.res.rr.com] has quit ["Bailing out"] 22:38:49 austin2 [n=austinfl@c-98-230-14-105.hsd1.fl.comcast.net] has joined #scheme 22:46:08 nothingHappens_ [n=nothingH@12.226.78.3] has joined #scheme 22:49:11 -!- hemulen [n=hemulen@cpe-069-134-114-252.nc.res.rr.com] has quit ["He rode off into the sunset. . ."] 22:49:19 Adamant [n=Adamant@c-71-226-66-93.hsd1.ga.comcast.net] has joined #scheme 22:56:38 -!- underspecified_ [n=eric@softbank220043052007.bbtec.net] has quit [Read error: 104 (Connection reset by peer)] 22:57:18 underspecified [n=eric@softbank220043052007.bbtec.net] has joined #scheme 22:57:33 -!- fusss [n=chatzill@ip70-179-113-121.dc.dc.cox.net] has quit [SendQ exceeded] 22:59:39 -!- austin2 [n=austinfl@c-98-230-14-105.hsd1.fl.comcast.net] has quit [Read error: 110 (Connection timed out)] 22:59:55 fusss [n=chatzill@ip70-179-113-121.dc.dc.cox.net] has joined #scheme 23:01:05 raikov [n=igr@203.181.243.11] has joined #scheme 23:04:50 -!- ejs [n=eugen@94-248-28-133.dynamic.peoplenet.ua] has quit [Read error: 110 (Connection timed out)] 23:04:52 yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has joined #scheme 23:06:04 instead of writing (let ( (head (car blah)) (tail (cdr blah)) ) ... ) I would prefer to write (let ((head . tail) blah) ... is there a good way to do this? 23:06:14 or rather, I wnat to do this, but i don't want to reinvent the wheel; what's the existing standard 23:06:30 the match thing ? 23:06:42 hml: probably some "matching"... yeah. 23:07:54 yep 23:07:58 I can never remember the syntax 23:08:01 there are some stuff doing that, but they are not r5rs, as far as i know 23:08:30 rudybot: eval (match '(fee .fi) [(x . y) (format "It's ~a and ~a!!" x y)]) 23:08:30 offby1: error: eval:1:19: match: syntax error in pattern in: (x . y) 23:08:32 crap 23:08:42 rudybot: eval (match '(fee .fi) [(cons x y) (format "It's ~a and ~a!!" x y)]) 23:08:42 offby1: ; Value: "It's fee and (.fi)!!" 23:08:45 ugh 23:08:54 rudybot: eval (match '(fee . fi) [(cons x y) (format "It's ~a and ~a!!" x y)]) 23:08:54 offby1: ; Value: "It's fee and fi!!" 23:08:55 > match 23:08:55 *** ERROR IN (console)@1.1 -- Unbound variable: match 23:08:57 *whew* 23:09:04 incubot: do you like erlang? 23:09:06 since the size of CL puts me off, this sounds like a Good Thing 23:09:17 rudybot: give hml (lambda (pair) (match pair [(cons x y) (format "It's ~a and ~a!!" x y)])) 23:09:18 hml: offby1 has given you a value, use (GRAB) in an eval to get it (case sensitive) 23:20:08 mapour [n=mapour@211-158.adsl.lpoy.dnainternet.fi] has joined #scheme 23:20:27 attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has joined #scheme 23:23:30 -!- fschwidom [n=fschwido@dslb-088-069-165-096.pools.arcor-ip.net] has quit [Remote closed the connection] 23:24:22 rudybot: give synx (grab) 23:24:22 synx: error: Talk to yourself much too? 23:24:59 rudybot: give synx (GRAB) 23:25:00 synx: vixey has given you a value, use (GRAB) in an eval to get it (case sensitive) 23:25:15 -!- criminy [n=criminy@adsl-158-251-183.asm.bellsouth.net] has quit ["leaving"] 23:25:28 I'm not sure what the result of that is going to be... 23:25:39 rudybot: eval (grab) 23:25:40 synx: error: reference to undefined identifier: grab 23:25:44 er 23:25:49 rudybot: eval (GRAB) 23:25:58 why the hell is it case sensitive 23:26:21 what next? XML syntax? 23:26:31 rudybot: give vixey (GRAB) 23:26:31 vixey: synx you got a value, use (GRAB) 23:26:39 rudybot: give synx (GRAB) 23:26:40 synx: vixey you got a value, use (GRAB) 23:26:49 rudybot: eval (GRAB) 23:26:55 rudybot: eval (list 1 (GRAB)) 23:26:56 vixey: ; Value: (1 #) 23:26:57 rudybot: eval (list 1 GRAB) 23:26:58 vixey: ; Value: (1 #) 23:27:11 hmm, maybe if we start with a value 23:27:30 oh 23:27:32 rudybot: give synx GRAB 23:27:33 synx: vixey you got a value, use (GRAB) 23:27:34 rudybot: give vixey 42 23:27:34 vixey: synx you got a value, use (GRAB) 23:27:41 eval (GRAB) 23:27:48 oops 23:27:51 rudybot: eval (GRAB) 23:27:51 synx: ; Value: # 23:27:58 rudybot: give synx GRAB 23:27:59 synx: vixey you got a value, use (GRAB) 23:28:12 rudybot: give synx (lambda () (GRAB)) 23:28:13 synx: vixey you got a value, use (GRAB) 23:28:16 This is an extremely odd form of IPC 23:28:18 rudybot: eval (GRAB) 23:28:18 synx: ; Value: # 23:28:20 -!- tr3 [n=tr3@host28-43-dynamic.183-80-r.retail.telecomitalia.it] has quit ["Leaving"] 23:28:32 rudybot: eval ((GRAB)) 23:28:35 synx: error: with-limit: out of time 23:28:47 rudybot: give vixey (lambda () (GRAB)) 23:28:47 vixey: synx you got a value, use (GRAB) 23:28:55 rudybot: eval (list GRAB (GRAB)) 23:28:56 vixey: ; Value: (# #) 23:29:00 rudybot: eval (list GRAB (GRAB) ((GRAB))) 23:29:04 vixey: error: with-limit: out of time 23:29:14 I guess we made an infinite loop 23:29:21 rudybot: give synx 42 23:29:21 synx: vixey you got a value, use (GRAB) 23:29:23 rudybot: eval (list GRAB (GRAB) ((GRAB))) 23:29:26 vixey: error: with-limit: out of time 23:29:28 rudybot: eval (list GRAB (GRAB)) 23:29:29 vixey: ; Value: (# #) 23:29:33 I don't have your GRAB though somehowe 23:29:47 I gave you something else 23:30:00 rudybot: give synx 42 23:30:01 synx: vixey you got a value, use (GRAB) 23:30:05 rudybot: give vixey (GRAB) 23:30:06 vixey: synx you got a value, use (GRAB) 23:30:14 rudybot: eval (GRAB) 23:30:15 vixey: ; Value: 42 23:30:19 rudybot: eval (GRAB) 23:30:19 synx: ; Value: 42 23:30:19 but 23:30:22 rudybot: give synx 43 23:30:23 synx: vixey you got a value, use (GRAB) 23:30:27 rudybot: eval (GRAB) 23:30:27 vixey: ; Value: 42 23:30:30 rudybot: eval (GRAB) 23:30:30 synx: ; Value: 43 23:30:38 I have the static value 42 not your GRAB 23:30:47 yes, I see that. 23:30:59 rudybot: give synx (lambda () GRAB) 23:31:00 synx: vixey you got a value, use (GRAB) 23:31:28 It's probably the same grab procedure, with a lookup table. 23:31:37 rudybot: eval (((grab))) 23:31:37 synx: error: reference to undefined identifier: grab 23:31:43 rudybot: eval (((GRAB))) 23:31:46 synx: error: with-limit: out of time 23:31:48 try to give me 42 first 23:32:07 rudybot: give vixey 42 23:32:07 vixey: synx you got a value, use (GRAB) 23:32:11 rudybot: give synx (lambda () GRAB) 23:32:12 synx: vixey you got a value, use (GRAB) 23:32:21 rudybot: eval ((GRAB)) 23:32:21 synx: ; Value: # 23:32:29 rudybot: eval (((GRAB))) 23:32:32 synx: error: with-limit: out of time 23:32:35 weird :( 23:32:50 rudybot: eval (define store #f) 23:34:11 rudybot: give synx (lambda (message) (case (car message) ((read) store) ((write) (set! store (cadr message))))) 23:34:11 synx: vixey has given you a value, use (GRAB) in an eval to get it (case sensitive) 23:34:22 rudybot: eval store 23:34:23 vixey: ; Value: #f 23:34:55 I offer you a mutable cell! 23:35:02 hmm, interesting! 23:35:40 rudybot: eval (call-with-current-contination (lambda (k) (set! store k))) 23:35:40 vixey: error: reference to undefined identifier: call-with-current-contination 23:35:42 rudybot: eval (define ask-vixey (GRAB)) 23:35:50 rudybot: eval (call-with-current-continuation (lambda (k) (set! store k))) 23:36:03 and you can have my current continuation too :p 23:36:09 saccade_ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 23:36:18 rudybot: eval (ask-vixey 'write 42) 23:36:18 synx: error: #: expects 1 argument, given 2: write 42 23:36:31 rudybot: eval (ask-vixey (list 'write 42)) 23:36:37 rudybot: eval store 23:36:38 vixey: ; Value: 42 23:36:40 ! 23:36:50 sweet jesus! 23:37:12 -!- orgy` [n=ratm_@pD9FFEB12.dip.t-dialin.net] has quit [Remote closed the connection] 23:37:12 Do the continuation thing too. I missed trying it! 23:37:24 rudybot: eval (+ 1 (call-with-current-continuation (lambda (k) (set! store k) 0))) 23:37:24 vixey: ; Value: 1 23:37:51 rudybot: eval (define vixey-cont (GRAB)) 23:38:15 rudybot: eval (vixey-cont 42) 23:38:15 synx: error: car: expects argument of type ; given 42 23:38:28 rudybot: eval vixey-cont 23:38:29 synx: ; Value: # 23:38:45 OH my bad. 23:38:58 rudybot: eval (ask-vixey (list 'read)) 23:38:58 synx: ; Value: # 23:39:06 :D 23:39:10 rudybot: eval (set! vixey-cont (ask-vixey (list 'read))) 23:39:19 rudybot: eval (vixey-cont 42) 23:39:19 synx: ; Value: 43 23:39:25 crazy 23:39:32 that's nuts 23:39:36 hehe 23:40:16 can we mess rudybot ? 23:40:26 ooh 23:40:31 with some (define + *) 23:40:37 rudybot: give Fulax (lambda (message) (case (car message) ((read) store) ((write) (set! store (cadr message))))) 23:40:38 Fulax: vixey has given you a value, use (GRAB) in an eval to get it (case sensitive) 23:40:42 rudybot: eval (ask-vixey 1) 23:40:42 elly: error: reference to undefined identifier: ask-vixey 23:40:46 yhara_ [n=yhara@7.193.12.221.megaegg.ne.jp] has joined #scheme 23:40:51 oh, someone else wrote that 23:40:52 rudybot: give elly (lambda (message) (case (car message) ((read) store) ((write) (set! store (cadr message))))) 23:40:53 -!- yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has quit [Read error: 54 (Connection reset by peer)] 23:40:53 elly: vixey you got a value, use (GRAB) 23:40:59 *vixey* is giving everyone a mutable cell :p 23:41:05 vixey: ! 23:41:16 rudybot, eval (GRAB) 23:41:17 Fulax: ; Value: # 23:41:19 ((GRAB) '(read 3)) 23:41:29 ((GRAB) '(write 3)) 23:41:33 er, oops 23:41:38 rudybot: eval ((GRAB) '(write 3)) 23:41:48 rudybot, eval ((GRAB) '(store (define + *)) 23:41:48 Fulax: error: eval:1:0: read: expected a `)' to close `(' 23:41:49 rudybot: eval ((GRAB) '(read)) 23:41:49 elly: ; Value: 3 23:41:53 rudybot, eval ((GRAB) '(store (define + *))) 23:41:58 vixey: aww, thanks! It's just what I wanted :) 23:42:23 rudybot, eval (eval ((GRAB) '(read))) 23:42:23 Fulax: ; Value: 3 23:42:28 *elly* hugs vixey 23:42:31 hu? 23:42:32 :)) 23:42:37 *vixey* hugs elly 23:42:49 does DrScheme any kind of input completion or am I thinking of it wrong? 23:43:07 Fulax, It should be write instead of store 23:43:29 fusss, I never bothered to enable it but I thougth I read it did 23:43:38 vixey, I see, but it seems the store var is shared between all of us 23:43:42 damn, that GRAB feature is more popular than I'd have expected 23:43:48 rudybot: give vixey (let ((cell #f)) (values (lambda () cell) (lambda (value) (set! cell value)))) 23:43:48 Fulax, yes! 23:43:48 synx: error: you can only give one value 23:43:52 rudybot, eval ((GRAB) '(write (define + *))) 23:43:54 *offby1* grabs rudybot's butt 23:43:55 rudybot, eval (eval ((GRAB) '(read))) 23:44:07 rudybot, eval (+ 3 3) 23:44:07 Fulax: ; Value: 9 23:44:08 awww 23:44:10 yep ! 23:44:19 rudybot: give vixey (let ((cell #f)) (list (lambda () cell) (lambda (value) (set! cell value)))) 23:44:20 vixey: synx has given you a value, use (GRAB) in an eval to get it (case sensitive) 23:44:31 rudybot: eval (+ 3 3) 23:44:33 vixey: ; Value: 6 23:44:43 rudybot, eval (+ 3 3) 23:44:43 Fulax: ; Value: 9 23:44:45 now I'm cunfesed :P 23:44:47 confused 23:44:50 nice behavior 23:44:58 that doesn't even make sense 23:44:58 lol 23:45:05 surely not 23:45:06 rudybot: eval ((GRAB)) 23:45:07 vixey: error: procedure application: expected procedure, given: (# #) (no arguments) 23:45:14 rudybot: eval ((car (GRAB))) 23:45:15 vixey: ; Value: #f 23:45:18 one environment per user ? 23:45:22 rudybot: eval ((cdr (GRAB)) #t) 23:45:22 vixey: error: procedure application: expected procedure, given: (#); arguments were: #t 23:45:24 rudybot: eval ((car (GRAB))) 23:45:24 He wrote some scheme to your value, then read it back, and evaluated it redefining + 23:45:24 vixey: ; Value: #f 23:45:33 rudybot: eval ((cadr (GRAB)) #t) 23:45:35 rudybot: eval ((car (GRAB))) 23:45:35 vixey: ; Value: #t 23:45:38 someone clobbered their top-level + 23:45:44 I know 23:45:49 rudybot: eval (set! store +) 23:45:50 vixey: error: set!: cannot set undefined identifier: store 23:45:54 aw... 23:45:57 Fulax: yes, one sandbox per user 23:45:58 I did have a store earlier 23:46:03 but I was going to give Fulax my + 23:46:06 that's why eli wrote GRAB in the first place: there's no other way to share values 23:46:16 rubybot: give Fulax + 23:46:21 Fulax: if your sandbox is hosed, try "rudybot: eval (exit)" 23:46:33 ok 23:46:36 *offby1* should write a "nix my sandbox" function 23:46:46 right after I complete the "pimp my REPL" function 23:47:10 offby1, but if there some sandbox, how the store var could be shared 23:47:30 you'll have to rephrase that question; I didn't understand it 23:47:35 ok 23:48:14 if you lose your sandbox, vixey will have to give you the value again 23:48:20 offby1, scroll back just before you said : damn, that GRAB feature is more popular than I'd have expected 23:48:43 ok 23:48:54 you said "it seems the store var is shared between all of us" 23:49:05 yep 23:49:09 so ... what's your question? 23:49:13 -!- singhv [n=vsingh@CPE0014bf4af6c2-CM000a739caee2.cpe.net.cable.rogers.com] has quit [] 23:49:22 rudybot: eval (define daisy-chain (list 'vixey 'synx)) 23:49:26 if that's true, where's the sandbox ? 23:49:28 It's in the same space, but the reference to it is only in your sandbox... except with grab. 23:49:32 rudybot: give synx (cdr daisy-chain) 23:49:33 synx: vixey has given you a value, use (GRAB) in an eval to get it (case sensitive) 23:49:51 ok synx, that the answer I was looking for 23:49:54 pass it around and loop it at the end lol 23:50:00 hmm 23:50:09 I think I am going to have a heart attack with this 23:50:16 *offby1* is glad someone understood Fulax' question 23:50:35 *offby1* failed to consider the medical implications of all this value sharing 23:50:38 offby1, can you bring this bot to ##SICP please? 23:50:38 I'm sorry you didn't 23:50:43 isn't there a Tom Lehrer song about this? 23:50:50 vixey: seriously? I don't see why not. 23:51:09 vixey: but y'know the bot "talks" PLT scheme, which is different enough from what the book uses that it might confuse people. 23:51:10 yaeh 23:51:14 offby1, is the user sandbox shared between differents channels ? 23:51:17 vixey: Not without set-mcdr! I'm afraid 23:51:18 Fulax: yes. 23:51:19 there is no SICP-Scheme 23:51:26 synx ugh :((( 23:51:31 offby1, you did understand that question :p 23:51:31 vixey: sure there is. It's whatever flavor SICP assumes. 23:51:34 rudybot: eval SET-CDR! 23:51:35 vixey: error: reference to undefined identifier: SET-CDR! 23:51:36 rudybot: eval SET-MCDR! 23:51:37 vixey: error: reference to undefined identifier: SET-MCDR! 23:51:40 gross 23:51:41 case-sensitive 23:51:42 yuck 23:51:48 rudybot: eval set-mcdr! 23:51:48 offby1: ; Value: # 23:51:49 rudybot: eval set-cdr! 23:51:50 vixey: error: reference to undefined identifier: set-cdr! 23:52:16 hmmmf 23:52:19 *Fulax* considers having a look at mzscheme v4... 23:52:20 I do not like mutable conses 23:52:22 rudybot: eval (begin (require lang/r5rs) set-cdr!) 23:52:22 offby1: ; Value: # 23:52:28 vixey: neither do the PLT people. 23:52:40 I mean it in a different way 23:53:02 I think ALL (illiteral) conses should be mutable -- having a specific "mutable cons" gives it second class status 23:53:18 i.e. R5RS pretty much got it right mio 23:53:37 -!- hiyuh [n=hiyuh@KD125054017176.ppp-bb.dion.ne.jp] has quit ["|_ e /\ \/ i |/| G"] 23:53:48 ah, then you mean the exact opposite of what I thought 23:53:50 mutable cons lets you make things like circular lists though, and you can't eliminate certain redundancies... 23:54:12 I got no problem extending R5RS with a IMMUTABLE-CONS and IMMUTABLE-LIST etc 23:55:10 It's a question of point of view, if you look purely functional language, you should not use mutable things 23:55:47 also nothing bad about pure fp -- but scheme isn't it 23:56:04 amen sistah 23:56:49 I personally uses Bigloo for doing scheme stuff 23:57:36 everybody gots their favorite. 23:57:41 Bigloo has "hop" which is very cool 23:57:46 although I always have trouble getting it working 23:57:53 -!- name [n=name@sburn/devel/name] has quit ["Lost terminal"] 23:57:57 I made an internship there 23:58:00 PLT on the other hand has "malt" which is also cool 23:58:07 Fulax: Great! 23:58:35 so that's explains why I'm used to bigloo :p 23:58:50 -!- cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has quit ["The funniest things in my life are truth and absurdity."]