00:10:05 decker [n=decker@user-0c9h6n8.cable.mindspring.com] has joined #scheme 00:12:17 -!- ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 00:12:30 ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has joined #scheme 00:18:22 -!- mmc [n=mima@cs27122078.pp.htv.fi] has quit [Read error: 145 (Connection timed out)] 00:31:00 seanstickle [n=seanstic@c-68-33-221-168.hsd1.dc.comcast.net] has joined #scheme 00:33:18 metasyntax [n=taylor@pool-71-127-125-129.aubnin.fios.verizon.net] has joined #scheme 00:37:27 -!- seanstickle [n=seanstic@c-68-33-221-168.hsd1.dc.comcast.net] has quit [] 00:37:28 -!- ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 00:37:37 ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has joined #scheme 00:42:09 -!- masm [n=masm@bl9-112-158.dsl.telepac.pt] has quit ["Leaving."] 00:43:37 -!- ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has quit [Remote closed the connection] 00:43:45 ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has joined #scheme 00:45:44 segoe [n=segoe@83.231.9.152] has joined #scheme 00:45:58 hi 00:46:18 is there any literal syntax for hash tables? or there was any proposal for it? 00:54:15 beats me to be honest, but seems like it would be easy enough to do with a list of lists 00:57:34 Administrator_ [n=Administ@208.66.131.135] has joined #scheme 00:57:38 -!- Administrator_ is now known as cornbread 00:58:11 I know this might not be the place for this, but does anyone else get "file not found" errors when trying to run the mzscheme binary on linux? 01:01:15 -!- ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 01:01:28 ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has joined #scheme 01:07:02 cornbread: im running mzscheme on linux fine 01:07:08 cornbread: how are you running it? 01:09:29 $ /usr/local/plt/bin/mzscheme 01:10:09 or even when I install it in my home directory 01:10:13 it's really strange 01:10:19 since the mzscheme binary is clearly there 01:11:03 what exactly is the error message? 01:11:13 -bash: /usr/local/plt/bin/mzscheme: No such file or directory 01:11:41 oh, is it a shell script wrapper? look at the contents of the file 01:12:51 it's not, it's a binary file 01:14:15 huh 01:14:23 yea it's really weird 01:14:34 I am using an older version (372) since I want to try out arc 01:17:00 Trying out a recent version of PLT Scheme would undoubtedly be more interesting, fun, and rewarding than trying out Arc... 01:17:39 Riastradh, heh. I just wanted to mess around with the arc forum 01:19:09 -!- FunkyDrummer [n=RageOfTh@users-38-115.vinet.ba] has quit [Read error: 60 (Operation timed out)] 01:22:43 peter_12 [n=peter_12@S01060023699d4809.vn.shawcable.net] has joined #scheme 01:27:12 when will the voting happen for the new RS#R ? 01:31:36 Once every 3 years or so 01:31:40 cornbread, That "No such file or directory" with existing file problem often occurs when required libs are missing. 01:31:41 -!- ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 01:31:45 3-6 perhaps 01:32:39 cornbread, Feed this to the Google monster (quotes included) --> "no such file" directory "but file exists" 01:33:33 -!- peter_12 [n=peter_12@S01060023699d4809.vn.shawcable.net] has quit [] 01:33:46 jrtayloriv, thanks, I'll do a bit more research on it 01:34:07 ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has joined #scheme 01:34:37 cornbread, are you running a 64-bit OS? 01:34:38 -!- blackened` [n=blackene@ip-89-102-28-224.karneval.cz] has quit [] 01:34:44 yea I am 01:35:02 Yow. That's a really brain-damaged error message. Is that Linux's fault? On the BSD systems I'm familiar with, the dynamic loader will give a sensible error message such as `Shared object libfoo not found'. 01:35:22 cornbread, Which one? Ubuntu/Debian? 01:35:28 ubuntu hardy 01:35:35 apt-get ia32-libs 01:39:20 ahh yes, thanks jrtayloriv 01:39:28 Fixed it? 01:39:32 yea 01:39:35 thanks 01:39:46 No problem, glad to help. 01:40:32 That left one of the problems still there -- that your operating system gives a brain-damaged error message... 01:41:28 yea I would say that's a pretty stupid thing to print out 01:41:29 -!- ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 01:41:35 Riastradh, I have no idea why it says that. It is indeed one of the stupidest and most confusing error messages I've come across. Maybe there is some technical limitation that forces that to be used ... perhaps a bug report is warranted though. 01:41:57 ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has joined #scheme 01:52:12 -!- kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has quit [Read error: 104 (Connection reset by peer)] 01:52:41 kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has joined #scheme 01:53:05 -!- kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has quit [Remote closed the connection] 01:53:22 seanstickle [n=seanstic@c-68-33-221-168.hsd1.dc.comcast.net] has joined #scheme 01:55:22 -!- bgs100 [n=ian@unaffiliated/bgs100] has quit [] 01:55:43 kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has joined #scheme 01:56:00 -!- kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has quit [Remote closed the connection] 02:05:05 In PLT is (sleep 'yield) approximately equivalent to (sync (current-eventspace))? 02:05:05 -!- ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 02:05:36 ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has joined #scheme 02:09:03 brweber2 [n=brweber2@ip68-100-65-167.dc.dc.cox.net] has joined #scheme 02:09:04 -!- ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has quit [Read error: 54 (Connection reset by peer)] 02:09:13 ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has joined #scheme 02:09:23 *offby1* watches the tumbleweeds skitter down Main St 02:10:46 -!- cornbread [n=Administ@208.66.131.135] has quit [Read error: 145 (Connection timed out)] 02:17:03 sg [n=segoe@83.231.45.181] has joined #scheme 02:19:14 What Scheme systems have code coverage tools? 02:21:13 saccade [n=saccade@65-78-24-131.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 02:23:18 Riastradh: Guess. 02:23:36 Well, my initial guess is `none', but since you spoke up, I'll add PLT Scheme to that empty set. 02:23:59 And you'd be right to do so... 02:26:28 And so I bid you all adieu, to reawaken (hopefully) soon under four point two point two 02:27:00 kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has joined #scheme 02:27:00 -!- rudybot [n=luser@q-static-138-125.avvanta.com] has quit [Remote closed the connection] 02:27:12 *eli* hands offby1 a tissue 02:27:40 -!- kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has quit [Client Quit] 02:27:51 *offby1* drums fingers 02:28:40 *eli* reminds offby1 about `-W info' 02:29:13 oh yeah 02:29:17 too late 02:29:22 or maybe not 02:30:26 I'm looking for information on it, eli, but not turning up much. I see some primitive operations in the errortrace library at to find some coverage counts, and something about annotating covered and executed files, but it's not clear how I'm supposed to use this. 02:30:51 Riastradh: What is it that you're trying to do? 02:31:40 I have a big pile of code (say just a single file, for now -- but big enough that it doesn't all fit in my head at once) which I wrote and have tested somewhat. I want a nice display of what parts of it I have not tested. 02:32:30 So, if this is a quick check of the pile of code, the easiest way to see if there's any uncovered code is to run it in drscheme. 02:33:11 In the language selection dialog there's an option for "syntactic test suite coverage" -- 02:33:14 Yes, just a quick check (but not QuickCheck!). Polyvariant code coverage is hard, and so I imagine are graphical displays of it; I'm not looking for a good solution to that. 02:33:27 rudybot [n=luser@q-static-138-125.avvanta.com] has joined #scheme 02:33:40 choosing it will make covered code painted gree, and uncovered code in red. 02:33:49 rudybot: version 02:33:49 offby1: 248874a 02:33:53 pff 02:33:53 If the code stays in the same colors that means that you have complete coverage. 02:33:56 rudybot: eval (banner) 02:33:57 offby1: your r5rs sandbox is ready 02:33:57 offby1: error: reference to an identifier before its definition: banner in module: 'program 02:34:01 *sigh* 02:34:04 rudybot: init scheme 02:34:05 offby1: your scheme sandbox is ready 02:34:08 rudybot: eval (banner) 02:34:08 offby1: ; Value: "Welcome to MzScheme v4.2.2 [3m], Copyright (c) 2004-2009 PLT Scheme Inc.\n" 02:34:27 -!- segoe [n=segoe@83.231.9.152] has quit [Read error: 110 (Connection timed out)] 02:34:59 Riastradh: If you have a need to do this often, or on many files, then there's a convenient option for this in the sandbox library -- which is how I'm getting my class server to check for tests. 02:35:17 kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has joined #scheme 02:35:56 Finally, IIRC, the errortrace collection had a way to do only the coverage testing thing, but this is more difficult to set up from the above two methods. 02:37:04 -!- sg [n=segoe@83.231.45.181] has quit [Read error: 104 (Connection reset by peer)] 02:41:56 Why can I never remember what key to use to invoke the keyboard macro I just defined? Argh. 02:42:10 Apropos isn't turning up anything useful for `kbd-macro'. 02:43:56 C-x e by default, if you're talking about emacs 02:44:16 Oh, right: because it cleverly doesn't have `keyboard-macro' or `kbd-macro' anywhere in its name. 02:44:22 Very helpful... 02:44:27 I think it's execute-kbd-macro 02:44:37 Not defined. 02:44:49 oh, no; now it's kmacro-end-and-call-macro 02:44:50 (!) 02:45:03 In Edwin it's `call-last-kbd-macro'. I guess this whole `kmacro' business is some newfangled GNU Emacs 2x thing? 02:45:42 probably. 02:45:48 -!- kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has quit [Remote closed the connection] 02:46:28 kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has joined #scheme 02:46:53 Where's the BIT-COUNT procedure in PLT Scheme? There appears to be the R6RS's (amazingly stupidly named) BITWISE-BIT-COUNT, but that seems to be in an R6RS library; isn't there a built-in version that doesn't require R6RS crap? 02:47:28 -!- seanstickle [n=seanstic@c-68-33-221-168.hsd1.dc.comcast.net] has quit [] 02:47:33 Darki [i=Darkstar@p57B563FB.dip.t-dialin.net] has joined #scheme 02:47:42 (BITWISE-BIT-COUNT properly ought to be the identity: A single bit's bit count is, in fact, itself (1 has 1 bit set, 0 has 0 bits set). So applying the operation bitwise gives you the same bits back!) 02:48:52 Riastradh, what kind of programs have you written and do you write? Are there any applications that you have out there as open source? 02:49:07 -!- Dark-Star [i=Darkstar@p57B57EAE.dip.t-dialin.net] has quit [Read error: 145 (Connection timed out)] 02:49:07 -!- ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 02:49:23 ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has joined #scheme 02:49:24 minion: memo for jcowan: Please don't include the R6RS's *stupid* names for operations on integers as bit strings in the next Scheme report. 02:49:24 Remembered. I'll tell jcowan when he/she/it next speaks. 02:50:18 emma, what little software I have released publicly is generally at . 02:52:30 tjafk1 [n=timj@e176195253.adsl.alicedsl.de] has joined #scheme 02:54:06 -!- kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has quit ["Leaving"] 02:54:47 emma, also, `release' is too strong a word for much of the content of that directory. 02:55:38 (And not all of that is my own code -- some of it is up there because it had lost its presence elsewhere on the web.) 02:55:40 kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has joined #scheme 02:56:45 (What is mine is clearly marked as such, in any case.) 02:59:05 Yow! DrScheme is amazingly slow to react to the scroll wheel: it takes half a second to begin scrolling after I have begun moving the scroll wheel! 02:59:44 How do I spell `M-x revert-buffer RET' in DrScheme? 03:02:10 ...and how do I get a one-armed IF to work? Argh. 03:07:55 -!- timchen1` is now known as nasloc__ 03:08:21 Switching to the R5RS language worked, but then PROVIDE and REQUIRE stopped working (as expected), so I tried (#%require (only scheme provide require)), and then RENAME-IN clauses in REQUIRE stopped working (???). 03:08:28 cornbread [n=max@mendotasoft.com] has joined #scheme 03:09:08 -!- tjafk [n=timj@e176211156.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 03:09:59 Hey guys, Im kind of confused why I'm getting this error: http://pastebin.com/m4937cd99 03:11:11 (How can I tell DrScheme to stop complaining with `WARNING: The definitions window has changed. Click Run.' in bright yellow eye-hurting colours, when in fact the definitions window hasn't changed?) 03:11:27 -!- brweber2 [n=brweber2@ip68-100-65-167.dc.dc.cox.net] has quit [] 03:11:46 cornbread, you created a procedure that accepts any number of arguments, and in its body has the variable named H bound to a list of all those arguments. 03:12:02 cornbread, then you passed that list along to HASH-TABLE-FOR-EACH. 03:12:51 Riastradh: ah, okay, so put () around h 03:13:03 Yes, cornbread (around one of the H's, anyway!). 03:13:03 -!- ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 03:13:07 Riastradh: re keyboard macros in Emacs -- one of the libraries I have in my Emacs environment makes this much less painful -- `M-z ' starts recording a macro, then `M-z' (or the key) stops recording it and immediately binds the key to the macro that was recorded. 03:14:02 thanks! 03:14:05 Riastradh: re bit count -- it should be possible to require just that, but probably less painful to write one from scratch. (For a quick solution where speed doesn't matter, I'd just convert the number to a string with base-2, then count the number of ones with a regexp...) 03:14:50 Assume speed matters here. 03:15:14 MononcQc [n=parseido@modemcable062.225-20-96.mc.videotron.ca] has joined #scheme 03:15:19 Then I'd write a simple loop to count it... (I'm assuming that that's how it's implemented.) 03:15:25 ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has joined #scheme 03:15:44 Riastradh: To revert a file, there is a revert entry in the file menu. I don't know if there's a keyboard shortcut for that -- but it will also offer you to revert the buffer when you re-run it. If you really want convenience there's some tool somewhere on planet called drsync which reverts the DrScheme buffer when the file changes. 03:15:57 ...oops. I missed that. 03:16:00 Thanks. 03:17:44 Riastradh: To get one-armed `if's to work, the simplest thing to do is to write a macro -- mzscheme will allow you to redefine stuff that comes with the language, so a macro definition should work fine. Using r5rs means not only that you get `#%require' -- it's also the primitive form of the thing, which means that things like `rename-in' wont work. (It's essentially the same syntax as in v3xx.) 03:18:04 (Most processors, by the way, even recent x86-64 processors, have an instruction to compute bit counts.) 03:18:55 -!- luz [n=davids@189.122.90.116] has quit ["Client exiting"] 03:18:59 (In that case, if you post a message on the list you might get Matthew to add it -- he's in a "low-level mood" these days, doing some work on the unsafe operations module.) 03:19:53 Finally, about the constant complains about the definitions being modified -- go to the preferences (shortcut is C-;), then in the "Warnings" tab there's an item for "only warn once when definitions and interactions are not synchronized". 03:20:16 I have defined a procedure like so: (define (bucket? object) (pair? object)) But PAIR? and BUCKET? disagree: 03:20:19 > (pair? (cons 1 2)) 03:20:21 #t 03:20:24 > (bucket? (cons 1 2)) 03:20:26 #f 03:21:02 (DrScheme shouldn't be complaining at all, whether once or repeatedly: the file hasn't changed!) 03:21:30 DrScheme will execute *the buffer* -- not the file. 03:21:40 Neither the buffer nor the file has changed. 03:21:53 There are zero changes to any of this code, and any of the code that it requires, and any of the code that it includes. 03:22:11 And you did hit "run" at some point? 03:22:14 Yes. 03:22:19 (I accidentally typed a character in the definitions window and then undid it.) 03:22:46 Ah -- then it probably thinks that it's not in sync once there were any edits. 03:22:56 Ugh. Doesn't it know how to deal with undo? 03:23:12 Something like this requires more than just a dirty bit... 03:23:25 In any case, that sounds like a valid feature request. 03:23:53 As for the `bucket?' thing -- is this in r5rs? 03:23:56 Yes. 03:24:03 All the code involved is in the same module. 03:24:15 The definition of BUCKET?, the call to CONS that makes buckets, and the REPL interactions. 03:24:55 -!- bzzbzz [n=franco@modemcable240.34-83-70.mc.videotron.ca] has quit ["leaving"] 03:25:37 This is weird. 03:25:46 rudybot: init r5rs 03:25:46 -!- kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has quit [Read error: 54 (Connection reset by peer)] 03:25:47 eli: your r5rs sandbox is ready 03:25:52 rudybot: eval (define (bucket? object) (pair? object)) 03:25:58 rudybot: eval (list (pair? (cons 1 2)) (bucket? (cons 1 2))) 03:25:59 eli: ; Value: {#t #t} 03:26:00 kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has joined #scheme 03:26:31 Riastradh: Perhaps you required some stuff from `scheme' and `cons' and/or `pair?' slipped in? 03:27:10 -!- kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has quit [Client Quit] 03:27:26 kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has joined #scheme 03:28:18 Hmm. I required SRFI 1 (by #%REQUIRE'ing REQUIRE from SCHEME and using REQUIRE to get SRFI 1). But now if I isolate this to just the definitions of BUCKET? and MAKE-BUCKET, both PAIR? and BUCKET? answer false to anything I throw at them! 03:29:02 That is: #lang r5rs (#%require srfi/1) (define (bucket? object) (pair? object)) (define (make-bucket a b) (cons a b)) Now PAIR? and BUCKET? both answer false to what MAKE-BUCKET, CONS, and LIST all return. 03:30:52 I don't remember why I had SRFI 1 in there, though; perhaps it was a vestige of an earlier edition of this code. I'll take it out and see whether that improves anything. 03:31:18 Seems better now. 03:32:31 Well, srfi-1 in the released version suffers from the usual problems, if you use the nightly build then there's rotty's port of the code so it's "natively" dealing with mconses. 03:32:44 I'm using 4.2. 03:34:19 -!- ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 03:34:34 -!- Foofie [n=innocent@86.80-203-225.nextgentel.com] has quit [Read error: 104 (Connection reset by peer)] 03:34:35 ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has joined #scheme 03:34:54 Foofie [n=innocent@86.80-203-225.nextgentel.com] has joined #scheme 03:36:04 Riastradh: rotty's stuff is only in the nightly builds -- pre.plt-scheme.org/installers, if you want that. 03:36:10 schemer999 [n=tmilford@cpe-76-90-137-46.socal.res.rr.com] has joined #scheme 03:36:26 As for srfi-1 -- I just checked it, and it looks like it provides `pair?' for some weird reason. 03:36:31 No, I seem to have worked around this problem, so I sha'n't worry about it for now. 03:36:40 (by not needing SRFI 1 after all) 03:36:44 OK. 03:37:36 Does or can PLT Scheme warn about required modules of which no bindings are used, or which provide names that overlap with names provided by other required modules? 03:38:03 There are two things here: 03:38:55 The bindings that come from the language (the initial-import module) are special in that you don't get errors if they're redefined -- you just get the redefined versions. This is for both your own new definition or something that you `require'd in. 03:39:03 -!- MichaelRaskin [n=MichaelR@195.91.224.225] has quit [Remote closed the connection] 03:39:07 But that's not the case for stuff that you explicitly required. 03:39:26 Sure -- but can I ask PLT Scheme to warn about such overlapping names? 03:39:34 So, a module that begins with `#lang scheme (require scheme)' shouldn't allow redefinitions at all. 03:39:53 I see. 03:40:22 No -- there's no way to do that. This is a semi-recent change, BTW, so if it leads to problems it might be worth considering such a warning or something like that. 03:40:54 Adding (#%REQUIRE R5RS) at the top made PLT Scheme barf on (REQUIRE SRFI/1) for providing PAIR?. 03:40:57 We have the logging facility, which is useful as a "back channel" for such messages. (Eg, there are warnings about arity errors that the compiler detects that will be dumped on the log.) 03:41:54 Yes -- even with `require'd bindings, the rule is that you get no warnings for multiple requires if the same name is always coming from the same place. So you will get an error if you try to pull the same name from different places. 03:42:06 OK. 03:42:57 As for requires that are not needed -- in DrScheme, you can click the "check syntax" button which will do some highlighting of the buffer based on its expansion (so this involves expanding the code) -- this will highlight unused requires in red. 03:43:03 (IIRC, at least.) 03:43:27 Yes, it does. 03:43:55 (And BTW, check-syntax is a very useful tool -- but note that it will take some time the first time you use it.) 03:44:02 Can it follow INCLUDE? 03:44:14 If not, it's not very useful to me. 03:44:20 It should -- but it won't highlight code in included files. 03:44:24 Oh well. 03:45:21 BTW, that reminds me about your scroll wheen complaint -- it might be one of the things that were fixed since then -- 4.2 was the first version after a huge chunk of code moved from C++ to Scheme, so it had a few random bugs still. 03:48:43 -!- danlei [n=user@pD9E2D986.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 03:50:21 -!- kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has quit [Read error: 104 (Connection reset by peer)] 03:50:26 kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has joined #scheme 03:54:00 meh... want a lookup table to handle state 0, 1, 2, etc, and vectors can associate that really effectively, but to add a new handler for the next state number 3 is horribly messy with vectors... 03:54:39 (set! strategies (list->vector (reverse (cons strategy (reverse (vector->list strategies)))))) 03:55:55 I guess I could use srfi 43 03:56:43 eli, how do I make DrScheme paint my code green or red now that I've invoked an entry point and want to see what of it got run? 03:56:55 I selected the code coverate option in the language selector dialogue box. 03:56:59 Coverage, even. 03:59:03 -!- ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 03:59:12 ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has joined #scheme 04:00:04 I don't see anything in the DrScheme reference manual's index with the text `cover' in it. 04:00:14 Nor in its table of contents. 04:00:43 It should turn the text to red/green -- unless it was all covered. 04:00:55 jartur [n=jartur@78-24-225-236-dsl.vntc.ru] has joined #scheme 04:01:02 Well, I don't see any text of the real source code which I INCLUDEd. 04:01:21 None of the colour has changed at all in the module file. 04:01:33 (either by hitting Run or by running code at the REPL) 04:01:43 You mean the text in question is included? 04:01:58 Hello. I have a stupid question. How to define a macro which expands to a top-level list? 04:02:04 All of the interesting code is INCLUDEd, yes. 04:02:31 Oh, in that case it won't show that... 04:02:35 ... 04:02:37 I mean like (m (a b) (c d)) -> (x a b) (x c d) 04:02:39 Sorry that I missed that before. 04:02:49 Can anything deal with INCLUDEd files beyond the basic evaluator? 04:03:23 If not, then all of this is pretty useless to me, and to anyone who writes any portable Scheme code. 04:03:44 Well, it's possible to get that information -- but the coverage points include lots of potential source files, and at least in the sandbox library case, I chose the easy thing of ignoring all coverage points with a source that is not the current sandbox. 04:03:49 jartur: (x a b) (x c d) is two separate forms; I don't think a macro can expand to more than one form. 04:03:51 I don't think. 04:03:58 offby1: damn 04:04:16 jartur, you can expand to BEGIN if you want, for instance, to expand to a sequence of definitions or commands. 04:04:41 offby1: Riastradh: i don't think (define-structure ...) will work in begin 04:04:50 Why don't you think so, jartur? 04:04:51 Riastradh: If you have a specific use case in mind, then I can hack the sandbox library to collect coverage information about other files too -- that probably wouldn't be too difficult. 04:05:08 Riastradh: (But this will mean switching to the nightly build, etc.) 04:05:11 Riastradh: because I didn't try obviously =) 04:05:16 Riastradh: I'll try 04:05:44 Riastradh: I just remeber smth about (define-values ...) complaining about not being at a top-level 04:05:56 eli, I write portable Scheme code. I wrap it up in module descriptions for Scheme systems to port it to them, so that users of those Scheme systems can use it as though it were a native module. In some cases, such as in PLT Scheme, this requires using INCLUDE. (In others, such as in Scheme48 and MIT Scheme, it does not.) 04:07:59 Riastradh: I'll have a look and see if I can add that easily -- can you say how much you need such a feature? (Since if you need it exactly once, then I'd hesitate doing a lot of work, for example. But like I said, it might be very easy after all.) 04:08:55 Code coverage? It'd be nice to have this available to run any code through -- anything too big to fit in my head -- to find out what the test suite is missing. 04:09:27 OK. I'll have a look after I deal with a certain bug. 04:09:31 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [] 04:10:50 I'd like to do something like to get , except of course I don't want to get any Common Lisp yuck on me. 04:11:34 (Whether it be an HTML file I don't care; I'm interested more in the graphical display, however it be constructed.) 04:13:00 -!- MononcQc [n=parseido@modemcable062.225-20-96.mc.videotron.ca] has quit ["DOWNLOADING LATEST VERSION OF THE INTERNET"] 04:14:31 Riastradh: That looks cute. Getting this kind of interface is unlikely, but it might be easy to give you the information that can make that output. 04:15:36 When you say `interface', do you mean the way to use it, as in , or the way it looks, as in ? 04:16:32 I'll be happy if I can push a button at the REPL, enter an expression, and push another button, instead of evaluating magic expressions to start and stop coverage. 04:16:55 Well, it will be more like evaluating magic expressions. 04:17:06 More specifically, it will use the sandbox interface, 04:17:08 OK, I'm happy with that too. 04:17:28 so it will be something like (define e (make-module-evaluator (string->path "/some/file"))) 04:17:37 and then pulling the coverage information out of `e'. 04:18:24 -!- ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 04:19:22 Can I evaluate an expression not in the module's source code to trigger the coverage analysis? 04:19:29 E.g., (run-me-the-tests)? 04:20:49 ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has joined #scheme 04:23:26 Riastradh: Yes -- the `e' in the above is, roughly speaking, an `eval' function that works in the context of the module. 04:37:08 -!- kilimanjaro [n=kilimanj@70.116.95.163] has quit ["Leaving"] 04:41:12 -!- ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 04:44:01 ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has joined #scheme 04:50:41 -!- jartur [n=jartur@78-24-225-236-dsl.vntc.ru] has left #scheme 04:59:43 -!- ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has quit [Remote closed the connection] 05:01:34 ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has joined #scheme 05:05:26 -!- ski [n=slj@c-c110e055.1149-1-64736c10.cust.bredbandsbolaget.se] has quit [Remote closed the connection] 05:09:54 -!- guenthr_ [n=unknown@sahnehaschee.unix-ag.uni-kl.de] has quit [Read error: 60 (Operation timed out)] 05:09:56 guenthr [n=unknown@sahnehaschee.unix-ag.uni-kl.de] has joined #scheme 05:12:45 -!- ASau [n=user@ppp85-141-215-28.pppoe.mtu-net.ru] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 05:16:24 attila_lendvai [n=ati@catv-89-134-66-153.catv.broadband.hu] has joined #scheme 05:30:49 bohanlon [n=bohanlon@pool-173-48-104-141.bstnma.fios.verizon.net] has joined #scheme 05:32:09 bohanlon_ [n=bohanlon@pool-173-48-104-141.bstnma.fios.verizon.net] has joined #scheme 05:32:34 -!- bohanlon_ [n=bohanlon@pool-173-48-104-141.bstnma.fios.verizon.net] has quit [Remote closed the connection] 05:33:12 -!- mjonsson [n=mjonsson@cpe-74-68-112-229.nyc.res.rr.com] has quit [Read error: 110 (Connection timed out)] 05:33:17 optimizer [n=x@unaffiliated/lowlycoder] has joined #scheme 05:33:30 how do i setup chicken so that both chiciken and eggs are installed locally (instead of system wide) 05:33:46 Chani [n=chani@twinsen.warpedgames.com] has joined #scheme 05:35:03 Ask on the Chicken mailing list. 05:35:15 so... I have a function that, given a point and some other data, returns true if it's a valid point. I'm trying to write another function that, given a point and other data, returns a list of adjacent valid points. 05:35:48 so the list could have 0 to 4 elements in it. 05:36:03 I'm not entirely sure how to go about constructing this list nicely, though 05:36:52 I mean, I could write four functions that each check if one adjacent point is valid and then return either that point plus the result of hte function after it or only the function after it... 05:36:56 but that feels messy 05:40:52 make PLATFORM= PREFIX= 05:42:22 (that was in response to optimizer) 05:54:10 mjonsson [n=mjonsson@cpe-74-68-112-229.nyc.res.rr.com] has joined #scheme 06:06:17 -!- TR2N [i=email@89-180-163-127.net.novis.pt] has left #scheme 06:07:52 ski [n=slj@c-c110e055.1149-1-64736c10.cust.bredbandsbolaget.se] has joined #scheme 06:07:55 -!- jonrafkind [n=jon@98.202.86.149] has quit [Read error: 110 (Connection timed out)] 06:10:04 ski_ [n=md9slj@remote1.student.chalmers.se] has joined #scheme 06:12:58 ohh. append. duhh 06:16:02 mmc [n=mima@cs27122078.pp.htv.fi] has joined #scheme 06:22:55 underspecified [n=eric@isa7-dhcp-116-217.naist.jp] has joined #scheme 06:24:14 ASau [n=user@77.246.231.179] has joined #scheme 06:25:22 -!- Makoryu [n=vt920@pool-74-104-123-150.bstnma.fios.verizon.net] has quit [Read error: 110 (Connection timed out)] 06:34:38 -!- sstrickl [n=sstrickl@pool-151-199-30-68.bos.east.verizon.net] has quit [] 06:36:17 -!- jrtayloriv [n=jrt4@cpe-69-205-162-163.stny.res.rr.com] has quit [Read error: 104 (Connection reset by peer)] 06:38:49 jrtayloriv [n=jrt4@cpe-69-205-162-163.stny.res.rr.com] has joined #scheme 06:41:08 hi Chani 06:41:45 ello 06:42:11 *Chani* really should sleep. 06:42:45 bah 06:43:13 Sveklo2 [n=sveklo@unaffiliated/sveklo] has joined #scheme 06:43:26 -!- mmc [n=mima@cs27122078.pp.htv.fi] has quit [Read error: 145 (Connection timed out)] 06:45:07 -!- Baconizer [n=baconize@unaffiliated/baconizer] has quit [Read error: 110 (Connection timed out)] 06:50:06 -!- arcfide [n=arcfide@adsl-99-14-211-93.dsl.bltnin.sbcglobal.net] has left #scheme 06:55:42 jcowan [n=jcowan@cpe-74-68-154-139.nyc.res.rr.com] has joined #scheme 07:04:42 -!- jcowan [n=jcowan@cpe-74-68-154-139.nyc.res.rr.com] has left #scheme 07:14:54 -!- dmoerner [n=dmr@89-65.res.pomona.edu] has quit ["Leaving"] 07:14:59 forcer [n=forcer@e177120153.adsl.alicedsl.de] has joined #scheme 07:26:46 Fufie [n=poff@Gatekeeper.vizrt.com] has joined #scheme 07:29:22 MichaelRaskin [n=MichaelR@213.171.48.239] has joined #scheme 07:33:50 mmc [n=mima@esprx01x.nokia.com] has joined #scheme 07:35:39 -!- ASau [n=user@77.246.231.179] has quit [Remote closed the connection] 07:35:50 ASau [n=user@77.246.231.179] has joined #scheme 08:14:22 -!- ASau [n=user@77.246.231.179] has quit [Remote closed the connection] 08:14:52 ASau [n=user@77.246.231.179] has joined #scheme 08:32:25 -!- underspecified [n=eric@isa7-dhcp-116-217.naist.jp] has quit [] 08:33:42 underspecified [n=eric@163.221.116.148] has joined #scheme 08:39:00 thehcdreamer [n=thehcdre@94.198.78.26] has joined #scheme 08:58:44 dmoerner [n=dmr@89-65.res.pomona.edu] has joined #scheme 08:59:14 -!- decker [n=decker@user-0c9h6n8.cable.mindspring.com] has quit [Read error: 60 (Operation timed out)] 09:20:26 -!- dmoerner [n=dmr@89-65.res.pomona.edu] has quit ["Leaving"] 09:24:15 masm [n=masm@bl9-112-158.dsl.telepac.pt] has joined #scheme 09:27:58 xwl [n=user@58.207.132.146] has joined #scheme 09:35:58 -!- rstandy [n=rastandy@net-93-144-95-37.t2.dsl.vodafone.it] has quit [Read error: 110 (Connection timed out)] 09:38:28 xwl` [n=user@58.207.132.146] has joined #scheme 09:38:40 -!- xwl [n=user@58.207.132.146] has quit [Read error: 104 (Connection reset by peer)] 09:48:05 -!- sepult` [n=levgue@xdsl-87-78-31-118.netcologne.de] has quit [Client Quit] 09:50:56 -!- Axioplase is now known as Axioplase_ 09:52:15 a-s [n=user@nat-240.ro.66.com] has joined #scheme 09:58:24 -!- zanes [n=zane@c-76-24-24-236.hsd1.ma.comcast.net] has quit [] 09:58:32 shyam_k [n=user@unaffiliated/shyam-k/x-8459115] has joined #scheme 09:58:56 should i be reading knuth's book before sicp or after that?;-) 09:59:09 You have two eyes, don't you? Both at once! 09:59:20 *shyam_k* going through 1.2 of sicp..;-) 09:59:41 and got stuck at fermat's shit.. and saw its described in neet on knuths book.. 09:59:53 alaricsp: :P 10:00:36 sepult [n=levgue@xdsl-87-78-31-118.netcologne.de] has joined #scheme 10:01:24 alaricsp: but am reading k&r with the other eye:) 10:01:36 Ah, then you need to learn Braille ;-) 10:14:29 danlei [n=user@pD9E2FAA9.dip.t-dialin.net] has joined #scheme 10:18:34 -!- xwl` [n=user@58.207.132.146] has quit [Remote closed the connection] 10:19:29 -!- sepult [n=levgue@xdsl-87-78-31-118.netcologne.de] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 10:22:28 seriously, i am partially confused(or curious?) on which all books to read before i do serious programming;-) I'll just go finish sicp and then will take tacp.. but just got (over)curious;-) 10:28:00 Well, reading both will do you good, but I don't know which order to recommend! 10:28:42 sepult [n=levgue@xdsl-87-78-31-118.netcologne.de] has joined #scheme 10:30:09 hmm.. i get that and doing the same.. like i didn't get the fermat's primality test and found its explained precisely in a way i want in tacp.. 10:31:24 Then skip between the two ;-) 10:54:53 -!- underspecified [n=eric@163.221.116.148] has quit [] 10:55:05 -!- sepult [n=levgue@xdsl-87-78-31-118.netcologne.de] has quit [Read error: 60 (Operation timed out)] 10:55:18 sepult` [n=levgue@xdsl-87-78-101-69.netcologne.de] has joined #scheme 10:58:09 -!- sepult` is now known as sepult 10:58:55 -!- sepult [n=levgue@xdsl-87-78-101-69.netcologne.de] has quit [Client Quit] 11:02:48 sepult [n=levgue@xdsl-87-78-101-69.netcologne.de] has joined #scheme 11:12:02 -!- eno [n=eno@nslu2-linux/eno] has quit [Read error: 104 (Connection reset by peer)] 11:12:08 eno__ [n=eno@70.137.155.161] has joined #scheme 11:16:30 -!- Sveklo2 [n=sveklo@unaffiliated/sveklo] has quit ["Leaving..."] 11:21:43 -!- rcy [n=rcy@d154-20-175-81.bchsia.telus.net] has quit [Remote closed the connection] 11:35:27 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 11:39:45 rcy [n=rcy@d154-20-175-81.bchsia.telus.net] has joined #scheme 11:44:13 -!- jrtayloriv [n=jrt4@cpe-69-205-162-163.stny.res.rr.com] has quit [Read error: 104 (Connection reset by peer)] 11:45:23 jrtayloriv [n=jrt4@cpe-69-205-162-163.stny.res.rr.com] has joined #scheme 11:58:27 davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has joined #scheme 11:58:35 underspecified [n=eric@softbank220043052007.bbtec.net] has joined #scheme 12:07:25 Fare [n=Fare@c-24-218-127-11.hsd1.ma.comcast.net] has joined #scheme 12:09:24 -!- emma [n=em@unaffiliated/emma] has quit [Connection timed out] 12:09:41 mario-goulart [n=user@67.205.85.241] has joined #scheme 12:10:36 -!- shyam_k [n=user@unaffiliated/shyam-k/x-8459115] has quit [Read error: 105 (No buffer space available)] 12:16:35 Jafet [n=Jafet@unaffiliated/jafet] has joined #scheme 12:16:45 -!- MichaelRaskin [n=MichaelR@213.171.48.239] has quit [Read error: 110 (Connection timed out)] 12:23:49 foof` [n=user@FLH1Ahf049.osk.mesh.ad.jp] has joined #scheme 12:24:08 -!- foof [n=user@FLH1Ahf049.osk.mesh.ad.jp] has quit [Read error: 60 (Operation timed out)] 12:25:41 -!- attila_lendvai [n=ati@catv-89-134-66-153.catv.broadband.hu] has quit [Read error: 131 (Connection reset by peer)] 12:26:09 attila_lendvai [n=ati@catv-89-134-66-153.catv.broadband.hu] has joined #scheme 12:35:16 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [] 12:42:08 -!- danlei [n=user@pD9E2FAA9.dip.t-dialin.net] has quit [Remote closed the connection] 12:48:04 jeapostrophe [n=jay@69.169.141.110] has joined #scheme 12:48:44 rstandy [n=rastandy@pc212-189-140-32.unile.it] has joined #scheme 12:49:01 -!- neilmock [n=neilmock@99-11-93-68.lightspeed.nsvltn.sbcglobal.net] has quit [] 12:58:35 Nshag [i=user@Mix-Orleans-106-3-86.w193-248.abo.wanadoo.fr] has joined #scheme 12:59:48 -!- jeapostrophe [n=jay@69.169.141.110] has quit [] 13:02:29 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 13:06:18 Edico [n=Edico@unaffiliated/edico] has joined #scheme 13:11:02 blackened` [n=blackene@ffstudd14.phil.muni.cz] has joined #scheme 13:13:54 -!- dsmith [n=dsmith@cpe-173-88-196-177.neo.res.rr.com] has quit ["Leaving"] 13:18:15 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 13:23:19 -!- davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 13:27:56 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [] 13:28:13 antoszka_ [n=antoszka@unaffiliated/antoszka] has joined #scheme 13:28:48 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit [Nick collision from services.] 13:29:00 -!- antoszka_ is now known as antoszka 13:32:42 -!- blackened` [n=blackene@ffstudd14.phil.muni.cz] has quit [] 13:34:48 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 13:35:36 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [Client Quit] 13:50:56 -!- mjonsson [n=mjonsson@cpe-74-68-112-229.nyc.res.rr.com] has quit [Read error: 110 (Connection timed out)] 13:53:53 davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has joined #scheme 13:59:44 -!- Fufie [n=poff@Gatekeeper.vizrt.com] has quit ["Leaving"] 13:59:44 arcfide [n=arcfide@99.14.211.93] has joined #scheme 14:06:07 -!- ASau [n=user@77.246.231.179] has quit [Remote closed the connection] 14:06:42 ASau [n=user@77.246.231.179] has joined #scheme 14:08:22 luz [n=davids@139.82.89.70] has joined #scheme 14:10:43 anon_ [n=anon@ip56583baa.direct-adsl.nl] has joined #scheme 14:28:18 chupish [i=182ed347@gateway/web/freenode/x-cgmomtqnieujcgby] has joined #scheme 14:29:33 -!- dfeuer [n=dfeuer@wikimedia/Dfeuer] has quit [Read error: 113 (No route to host)] 14:31:00 Mr-Cat [n=Miranda@195.26.167.6] has joined #scheme 14:34:28 langmartin [n=user@exeuntcha.tva.gov] has joined #scheme 14:35:33 alaricsp1 [n=alaricsp@relief.warhead.org.uk] has joined #scheme 14:35:56 -!- alaricsp [n=alaricsp@relief.warhead.org.uk] has quit [Read error: 54 (Connection reset by peer)] 14:37:53 -!- ASau [n=user@77.246.231.179] has quit ["off"] 14:37:59 -!- anon_ [n=anon@ip56583baa.direct-adsl.nl] has left #scheme 14:38:33 nothingHappens [n=nothingH@173-25-176-111.client.mchsi.com] has joined #scheme 14:38:47 -!- nothingHappens [n=nothingH@173-25-176-111.client.mchsi.com] has quit [Read error: 104 (Connection reset by peer)] 14:45:51 albacker [n=eni@unaffiliated/enyx] has joined #scheme 14:46:45 eni_ [n=eni@ASt-Lambert-153-1-37-139.w81-249.abo.wanadoo.fr] has joined #scheme 14:50:07 -!- eni_ [n=eni@ASt-Lambert-153-1-37-139.w81-249.abo.wanadoo.fr] has quit [Client Quit] 14:59:20 decker [n=decker@user-0c9h6n8.cable.mindspring.com] has joined #scheme 15:08:47 Makoryu [n=vt920@pool-71-174-191-10.bstnma.fios.verizon.net] has joined #scheme 15:22:48 -!- foof` is now known as foof 15:28:26 -!- davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has quit [Remote closed the connection] 15:36:03 -!- sepult [n=levgue@xdsl-87-78-101-69.netcologne.de] has quit [Read error: 104 (Connection reset by peer)] 15:37:31 ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has joined #scheme 15:38:00 X-Scale [i=email@89.181.57.79] has joined #scheme 15:39:09 sepult [n=levgue@xdsl-87-78-101-69.netcologne.de] has joined #scheme 15:41:08 -!- ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 15:41:25 ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has joined #scheme 15:41:59 sstrickl [n=sstrickl@dublin.ccs.neu.edu] has joined #scheme 15:43:13 samth [n=samth@nomad.ccs.neu.edu] has joined #scheme 15:45:59 -!- mmc [n=mima@esprx01x.nokia.com] has quit [Remote closed the connection] 15:46:36 Is there a way in any scheme implementation to have polymorphic car/cdr/set-car!/set-cdr!: so that I can create a, say, record with car/cdr redefined for it? 15:46:56 Not in any Scheme system of which I am aware. 15:47:46 Thanks 15:49:25 Scheme doesn't have user-defined types at all, does it? 15:50:04 It does, Jafet: 15:50:49 schmir [n=schmir@mail.brainbot.com] has joined #scheme 15:50:52 Mr-Cat, it is easy to do that. You just have to create a module that exports all the bindings in scheme except car, cdr, etc. and redefine those bindings. 15:51:22 That doesn't make the existing CAR and CDR, or any existing code that uses CAR and CDR, work on your new pairs, maxm. 15:51:25 masm 15:51:57 Right. 15:52:07 -!- schmir [n=schmir@mail.brainbot.com] has quit [Remote closed the connection] 15:53:29 -!- ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 15:53:50 Riastradh: I believe that certain versions of T allowed this, actually, though it was broken in 3.1 if I recall correctly. 15:54:02 No, I don't think T ever allowed this. 15:54:22 And what is "T"? 15:54:28 T is a dialect of Scheme. 15:54:35 http://www.tscheme.org/ 15:54:36 ? 15:54:48 No. 15:54:49 ...er, no. 15:54:58 Oh 15:55:17 dacz [n=chatzill@209.139.213.73] has joined #scheme 15:55:38 Riastradh: Hm. I could swear that it was possible to use OBJECT to create an object that was PAIR? and responded to other messages. 15:55:45 http://mumble.net/~jar/tproject/ 15:55:54 thanks, chupish 15:56:00 np 15:56:05 ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has joined #scheme 15:56:30 danlei [n=user@pD9E2FAA9.dip.t-dialin.net] has joined #scheme 15:58:20 I believe Jonathan Rees always wanted it to be the case that you could do that, but I don't think that was ever implemented. Certainly both Orbit and TC, the pre-Orbit compiler, compile CAR and CDR as fixed-offset memory indirects. 15:59:05 OK. I never saw it work, but I remember seeing it documented as a bug, which led me to believe that it did work at one time. 15:59:05 you could try EuLISP :D 16:00:35 Mr-Cat: If you have an identity-keyed key-weak map, you can associate extra information with a pair. This isn't necessarily a very performant solution, but semantically it works. 16:01:44 schmir [n=schmir@mail.brainbot.com] has joined #scheme 16:01:52 -!- decker [n=decker@user-0c9h6n8.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 16:02:04 -!- ski_ [n=md9slj@remote1.student.chalmers.se] has quit ["Lost terminal"] 16:02:16 chandler: Sorry, don't quite get the idea 16:02:28 bweaver [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has joined #scheme 16:03:10 Mr-Cat: Supposing that you want to retain the "usual" semantics for CAR/CDR/SET-CAR!/SET-CDR!/PAIR?, you can put the other fields of your "record" in a key-weak hash table using the pair as the key. 16:04:12 Aha, now I get it, thanks. 16:05:10 -!- ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 16:05:18 jonrafkind [n=jon@crystalis.cs.utah.edu] has joined #scheme 16:05:31 -!- sstrickl [n=sstrickl@dublin.ccs.neu.edu] has quit [Remote closed the connection] 16:05:46 sstrickl [n=sstrickl@nomad.ccs.neu.edu] has joined #scheme 16:06:15 -!- rstandy [n=rastandy@pc212-189-140-32.unile.it] has quit [Connection timed out] 16:07:38 ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has joined #scheme 16:11:00 ejs [n=eugen@95.135.11.30] has joined #scheme 16:12:14 -!- ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 16:12:45 ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has joined #scheme 16:14:13 jlongster [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has joined #scheme 16:17:24 -!- thehcdreamer [n=thehcdre@94.198.78.26] has quit [] 16:19:03 -!- ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 16:19:23 ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has joined #scheme 16:22:57 -!- ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has quit [Read error: 54 (Connection reset by peer)] 16:23:30 ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has joined #scheme 16:30:29 -!- ejs [n=eugen@95.135.11.30] has quit [Read error: 145 (Connection timed out)] 16:35:42 -!- ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 16:36:12 ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has joined #scheme 16:39:14 -!- ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 16:39:53 ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has joined #scheme 16:44:17 -!- ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 16:44:28 ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has joined #scheme 16:50:46 -!- ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has quit [Read error: 104 (Connection reset by peer)] 16:51:07 -!- dacz [n=chatzill@209.139.213.73] has quit ["ChatZilla 0.9.85 [Firefox 3.5.3/20090824101458]"] 16:52:57 -!- ebzzry_ [n=ebzzry@124.217.76.10] has quit [Remote closed the connection] 16:53:05 ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has joined #scheme 16:53:25 gribozavr [n=grib@109.86.114.90] has joined #scheme 16:54:32 -!- Mr-Cat [n=Miranda@195.26.167.6] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 16:55:42 hi! how should the following be parsed: #|###|# ? is this start-of-block-comment, ###, end-of-block-comment? or start-comment, ##, start-comment, # ? 16:58:42 The latter. 16:59:46 now i'm going to ask, isn't r6rs ambigous about that? 17:01:00 No, I don't think so. 17:01:12 after all, -> #| * |#, where just can't contain #| and |# 17:01:38 Yes. cannot contain #| or |#. can, however. 17:02:44 it can, yes. but it is optional -- not the kleene star 17:02:53 Yes. So? 17:03:06 we have an ambigous grammar 17:03:11 -!- schemer999 [n=tmilford@cpe-76-90-137-46.socal.res.rr.com] has quit [] 17:03:14 No, I don't think so. 17:03:56 -!- ASau [n=user@ppp85-141-171-177.pppoe.mtu-net.ru] has quit [Read error: 54 (Connection reset by peer)] 17:04:43 Oh, I see. You're right: by the R6RS grammar, it should be parsed as a single whole comment. 17:05:20 that's what i'm talking about :) we can construct two different parse trees. 17:07:10 In any case, the right thing is what the obvious recursive descent parser does. The RnRS's `formal syntax' has never been very useful. 17:08:19 i have hit this problem while writting the lexer, though 17:09:00 Don't do what the R6RS formal grammar says. 17:09:29 Do what the obvious recursive descent parser does. 17:09:32 ...wait, lexer? 17:09:42 Don't write a lexer separate from a parser; just write the obvious, naive recursive descent parser. 17:09:45 yes, how to tokenize #|#? 17:10:02 And I do hope you're not writing a lexer as input to a parser. ...er, what Riastradh says. 17:10:08 Go code point by code point in the naivest way. 17:10:31 oh well, i was going to learn flex & bison... 17:10:39 Oh dear. No, don't do that. 17:10:45 When you see #, dispatch on the next character. When it is |, start reading a nested comment. When you see # again in the nested comment, dispatch on the next character. When it's |, recursively read a comment. 17:10:57 Flex and Bison are totally inappropriate for parsing Scheme. 17:11:17 When a character following # is #, dispatch again. 17:11:28 Thus, #|##||#|# is a properly nested block comment. 17:14:42 So, you suggest me writting a parser by hand? That can be a good thing of course. FOr example, to parse numbers. I have never thought that scheme's syntax for numbers is that complex. 17:15:26 decker [n=decker@user-0c9h6n8.cable.mindspring.com] has joined #scheme 17:15:35 ... it's complex compared to scheme's syntax for everything else :) 17:16:24 Yes; parsing numbers is hard in Scheme. (It's even harder in Common Lisp, where 1.F is a symbol.) 17:16:49 -!- decker [n=decker@user-0c9h6n8.cable.mindspring.com] has quit [Client Quit] 17:17:22 Hm. No, I think 1.F is a "potential number", but is treated by a symbol by many implementations. 17:18:20 1.F- is definitely a symbol, though. 17:20:24 rstandy [n=rastandy@net-93-144-95-84.t2.dsl.vodafone.it] has joined #scheme 17:33:19 -!- arcfide [n=arcfide@99.14.211.93] has left #scheme 17:41:11 -!- mreggen [n=mreggen@cm-84.215.28.167.getinternet.no] has quit ["leaving"] 17:42:08 davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has joined #scheme 17:54:47 gribozavr: Parsing numbers in Scheme is usually more complex than in most languages. 17:55:02 Here's a cute example: #e#x+e#s+e@-e#l-e 17:55:07 zanes [n=zane@nomad.ccs.neu.edu] has joined #scheme 17:55:09 rudybot: eval #e#x+e#s+e@-e#l-e 17:55:09 eli: ; Value: 16140901064495857664-50176i 17:57:11 *gribozavr* opens the grammar and tries to make sense of that 17:57:53 what is @ ? 17:58:18 eni_ [n=eni@ASt-Lambert-153-1-162-98.w90-44.abo.wanadoo.fr] has joined #scheme 17:58:39 Polar notation for complex numbers. 17:58:39 -> #e#x+e#s+#e@-e#l-e 17:58:39 readline::18: read-number: bad exponent: +e#s+#e 17:58:39 part of complex number syntax 17:58:55 rudybot: eval 1@1 17:58:55 eli: ; Value: 0.5403023058681398+0.8414709848078965i 17:59:46 And people complain about multiple values in r5rs... 17:59:48 oh i had an extra # in there 18:00:37 Both Scheme48 and MIT Scheme give me parse errors for that, eli. 18:01:20 plt scheme does not 18:01:51 -!- albacker [n=eni@unaffiliated/enyx] has quit [Nick collision from services.] 18:01:53 -!- eni_ is now known as albacker 18:02:37 Riastradh: This came up "recently" here, and Matthew said that "I don't think it's an R5RS number. MzScheme allows hex in more places than R5RS condones." 18:02:43 Right. 18:03:24 Of course, at this point, my personal view is "who cares...". 18:03:49 I'd throw polar notation out completely. 18:04:35 eli: yet, there are some domains for which it is superior to rectangular 18:05:47 eli: what are you trying to compress? 18:06:04 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit ["+++ killed by SIGSEGV +++"] 18:06:13 klutometis: at that point, you can probably just use a function, though 18:06:17 klutometis: Even for these domains, the functions that compute the complex number are better. 18:06:59 That is -- a function call, and a compiler that is smart enough to inline calls to such functions (which should cover anything semi-reasonable). 18:07:09 Fare: It's in the followup emails. 18:08:41 eli: the compressor can be slow? 18:09:13 Not *too* much -- it would eventually be part of setup-plt -- the part that produces the search page. 18:09:21 Fare: not too too slow, but it's part of a process that takes 5 minutes at the moment 18:10:03 you could try to build a forest of all substrings of size 1, 2, 3, n -- and the ways to write a string as the append of other strings. 18:10:13 I speak of compression, not decompression 18:10:32 if you can allow yourself slow compression, you can probably get better decompression size/times. 18:10:37 Yes, decompression should be "obvious" as I showed -- since the dictionary will be explicit. 18:11:36 danlei pasted "keybindings" at http://paste.lisp.org/display/88225 18:12:10 And I did consider the forest thing too -- looks like it's a better fit than LZW, but can still be a problem with trying to prune things. (The simple case of doing this would be using a hash table -- a proper tree structure will only get the space consumption down.) 18:12:19 this used to work before I updated to the new DrScheme version today, I'm new with DrScheme, what is the cause of the error? 18:12:24 how to trim the forest afterwards to get a "minimal" forest is probably NP-hard but you could try some heuristics like breaking at non-alphanumerics, etc. 18:13:14 I really would love to avoid such heuristics. That's how I started, and good regexps become nightmarish, fast. 18:13:55 Here's an example that is still too naive: #rx"^([^#]*/)([^/#]*)(?:.*(\\((?:lib|quote)\\._[^()]*\\)).*|.*)?$" 18:15:08 esp. I'm wondering about the "no module written in the framework/keybinding language" message, since I thought #lang s-exp keybinding/lang would take care of that ... (and, as I said, it worked in 4.2.1) 18:16:25 -!- Fare [n=Fare@c-24-218-127-11.hsd1.ma.comcast.net] has quit ["Leaving"] 18:16:40 zeroish [n=zeroish@135.207.174.50] has joined #scheme 18:16:57 mmc [n=mima@cs27122078.pp.htv.fi] has joined #scheme 18:17:02 danlei: This sounds like an issue for the mailing list. 18:17:34 eli, ok, thanks 18:20:43 can I include files in scheme? I'm tired of typing guile -l foo.ss -l bar.ss -l program.ss -s tests.ss 18:21:01 eli: looking at the data, it seems like there'd be a big win in just using the common prefixes of the path names 18:21:46 ooh, I think I finally found a website with decent docs 18:22:17 ...but it's for PLT scheme. hrm. 18:22:18 eli: as in, if you reduce ">htdp-langs/advanced-prim-ops.html#(def._((lib._lang/htdp-advanced..ss)._" to something shorter, that would be a big win 18:22:33 Chani: that's one of the advantages of PLT :) 18:23:33 Chani: Perhaps you want `load'? 18:23:55 Chani: Otherwise, recent versions of guile (2.0 alpha/beta?) should make it easy to express `include', if it's not already provided. 18:23:58 No, Chani probably wants a module system, although since it's Guile he's asking about... 18:24:05 arcfide [n=arcfide@99.14.211.93] has joined #scheme 18:24:39 I haven't tried it, but I expect that psyntax versions of Guile have gained sanity on the module system front. 18:25:24 samth: That's one of the things I tried, it reducing things by ~300k. 18:25:28 (I expect so because wingo has stated that it does.) 18:25:55 what does gzip get you, for size reduction? 18:25:56 samth: And this is what lead me down to regexp-hell, and when I realized that I posted the message. 18:27:00 IIRC, gzip reduces the whole thing down to the neighborhood of 380kb. 18:27:36 But I don't want to do any compression for the index entries, so search speed is not compromised. 18:29:59 I always seem to come in on half conversations these days. 18:30:03 I feel so out of touch. 18:30:30 mrsolo [n=mrsolo@nat/yahoo/x-xxdjnjorbssvxkid] has joined #scheme 18:32:04 seanstickle [n=seanstic@c-68-33-221-168.hsd1.dc.comcast.net] has joined #scheme 18:32:48 MichaelRaskin [n=MichaelR@195.91.224.225] has joined #scheme 18:32:52 chandler: yes, load was it. thanks :) 18:33:26 *Chani* doesn't need anything fancy. just doing assignments 18:38:02 choas [n=lars@p5B0DE4CC.dip.t-dialin.net] has joined #scheme 18:41:07 -!- choas [n=lars@p5B0DE4CC.dip.t-dialin.net] has quit [Client Quit] 18:41:11 choas [n=lars@p5B0DE4CC.dip.t-dialin.net] has joined #scheme 18:51:12 to quote Anton van Straaten, "Assignment leads to mutation. Mutation leads to pointers. Pointers lead to suffering!" 18:51:20 :) 18:54:02 and recursion leads to recursion 18:54:45 -!- Summermute [n=scott@c-68-34-67-216.hsd1.dc.comcast.net] has quit [Read error: 110 (Connection timed out)] 18:58:11 The fallacy in that deduction lies in "Mutation leads to pointers." 19:04:35 well, mutation leads to the concept of identity at least 19:04:50 in the sense of eq? 19:07:48 chandler, bink? 19:09:32 It should read "Mutation of aliased objects leads to pointers." 19:10:22 -!- Jafet [n=Jafet@unaffiliated/jafet] has quit [Connection timed out] 19:11:03 verbosity of jokes is directly proportional to how funny they are. good call! 19:11:22 pointers in terms of boxed objects 19:11:23 -!- luz [n=davids@139.82.89.70] has quit ["Client exiting"] 19:11:26 I think 19:11:48 A pedant is someone who can miss any joke. It's a difficult skill to master. 19:12:21 lol, was that a joke? 19:12:37 My statement? No; I was missing the original joke (intentionally). 19:12:44 Adamant [n=Adamant@unaffiliated/adamant] has joined #scheme 19:13:11 ok i dont know it 19:13:19 must have missed that one :) 19:14:42 Tfine [n=Mike@pool-68-163-149-106.bos.east.verizon.net] has joined #scheme 19:16:31 -!- apgwoz [n=apgwoz@216.156.136.2.ptr.us.xo.net] has quit [Read error: 110 (Connection timed out)] 19:17:21 MrFahrenheit [n=RageOfTh@users-120-156.vinet.ba] has joined #scheme 19:17:25 hotblack23 [n=jh@p5B057DFC.dip.t-dialin.net] has joined #scheme 19:24:32 kuribas [i=kristof@d54C43855.access.telenet.be] has joined #scheme 19:24:59 mreggen [n=mreggen@cm-84.215.28.167.getinternet.no] has joined #scheme 19:30:49 -!- seanstickle [n=seanstic@c-68-33-221-168.hsd1.dc.comcast.net] has quit [] 19:37:40 schemer999_ [n=tmilford@cpe-76-90-137-46.socal.res.rr.com] has joined #scheme 19:39:37 apgwoz [n=apgwoz@216.156.136.2.ptr.us.xo.net] has joined #scheme 19:41:00 mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 19:44:19 -!- schemer999_ is now known as schemer999 19:44:31 -!- schmir [n=schmir@mail.brainbot.com] has quit [Remote closed the connection] 20:04:34 -!- bohanlon [n=bohanlon@pool-173-48-104-141.bstnma.fios.verizon.net] has quit [Remote closed the connection] 20:05:48 ecyrb [i=bamoore@SDF.LONESTAR.ORG] has joined #scheme 20:09:31 -!- Edico [n=Edico@unaffiliated/edico] has quit ["Ex-Chat"] 20:14:14 ecyrb pasted "dynamic-define" at http://paste.lisp.org/display/88246 20:15:09 you cant map syntax... i go sleep now 20:15:26 before Riastradh explains HOS ;p 20:16:02 -!- dlouhy [n=jdlouhy@zerowing.ccs.neu.edu] has quit [Read error: 54 (Connection reset by peer)] 20:16:06 um... 20:16:14 why not? 20:16:21 -!- Armageddon00 [n=danking@zerowing.ccs.neu.edu] has quit [Read error: 104 (Connection reset by peer)] 20:16:22 -!- rcassidy [n=rcassidy@zerowing.ccs.neu.edu] has quit [Read error: 104 (Connection reset by peer)] 20:18:37 it seems to expand okay if I (syntax-object->datum (expand-to-top-form ...)) 20:18:55 rcy` [n=rcy@d154-20-143-140.bchsia.telus.net] has joined #scheme 20:20:31 regardless, is there a better way to (define (car '(a b c)) 3) to have 3 bound to a? 20:23:44 -!- rcy [n=rcy@d154-20-175-81.bchsia.telus.net] has quit [Read error: 110 (Connection timed out)] 20:23:52 TimMc pasted "Seemingly redundant pattern in type-scheme match statement" at http://paste.lisp.org/display/88248 20:24:40 samth: ^ Why do I need the sexpr: pattern in that code? Shouldn't Typed Scheme know that a Sexpr that is a list is made of more Sexprs? 20:26:14 ecyrb: Whatever you're doing, you're probably conflating your phases somehow. 20:26:29 (I asked eli in CCIS#pl, and he said to ask you.) 20:27:28 rouslan [n=admin@pool-70-109-151-129.cncdnh.east.myfairpoint.net] has joined #scheme 20:27:59 How do I cancel a current expression in MIT/GNU Scheme? 20:28:00 TimMc: in that case, it's possible to infer that 20:28:10 but it isn't possible for Typed Scheme in general 20:28:18 so it doesn't try 20:28:36 rouslan: Cancel? You mean interrupt? 20:28:53 samth: I suppose I don't understand what the general case is here. 20:29:21 chandler: I typed a few lines in but want to cancel them. 20:29:23 the `match' expression expands into a recursive function 20:29:38 and you're asking for inference of the type of the arguments to the recursive function 20:29:53 Can you give me an example of something in the same, err, "type complexity class" that it wouldn't be desirable for Typed Scheme to try to handle? 20:29:57 rouslan: You haven't hit enter yet? Or it's running and you want to interrupt them? 20:30:06 In either case, try C-c C-c 20:30:12 chandler: I'm trying to create a binding of an expression to the result of an expression 20:30:15 (That's Control-C twice) 20:30:26 chandler: No, it's not running 20:30:41 TimMc: it's always *desireable*, but not always possible 20:30:43 chandler: I have entered a few lines but want to cancel this 20:31:01 Try hitting Control-C twice. 20:31:03 samth: So the problem here is that there is a recursive call to depth from inside a match? 20:31:17 chandler: ^C keeps printing on the screen 20:31:19 ecyrb: Right. What you just asked for does not make sense in general 20:31:33 rouslan: I'm very confused about what you're trying to do now. 20:31:36 TimMc: no, that's not a problem 20:31:47 the recursive function is in the implementation of `match' 20:31:59 chandler: I am simply defining a function; this definition consists of several lines. 20:32:08 although, when i try it, it works without the annotation 20:32:18 (: depth : Any -> Number) 20:32:18 ;; to count the deepest nesting of the s-expression. 20:32:18 (define (depth e) 20:32:18 (match e 20:32:19 [(list parts ...) (add1 (foldr max 0 (map depth parts)))] 20:32:21 rouslan: Right. Are you using Edwin, or are you at the REPL. 20:32:21 [else 0])) 20:32:24 ? 20:32:32 chandler: I have not yet defined the entire function (specifically, I still have a few lines left). 20:32:38 and I think Sexpr = Any in your class 20:32:43 chandler: Edwin I think. 20:32:51 samth: Mine doesn't. DrScheme 4.2.2 w/ PL plugin. 20:32:52 And you can't just backspace over it? 20:33:20 chandler: No, because I have written a few lines already. 20:33:29 I don't understand. 20:33:46 And I already hit C-c so I cannot backspace at all. 20:33:51 samth: Erk, time for class. I have a followup question about this (regarding case coverage), but I suppose it will have to wait. 20:34:03 TimMc: did you enter exactly what i did? 20:34:21 Never mind, I'll just balance out the paranthesis in order to get a syntax error so I could rewrite the definition. 20:34:32 samth: Ah, if I change Sexpr to Any, yes that works. 20:34:47 I'll play with that, thanks. g2g 20:34:48 ok 20:34:53 that's surprising to me 20:35:06 -!- rcy` is now known as rcy 20:35:15 I'm not using an IDE (I'm in a terminal running mit-scheme). 20:35:32 Did you try hitting Control-C twice in a row? 20:35:46 Yes, ^C^C shows up 20:35:56 Then I cannot backspace. 20:36:00 What version are you running? 20:36:10 And what platform are you on? 20:36:26 Release 7.7.90.+ || Microcode 15.1 || Runtime 15.7 || SF 4.41 || LIAR/C 4.118 20:36:27 Edwin 3.116 20:36:46 What OS? 20:36:53 Linux localhost 2.6.29-hardened #5 SMP PREEMPT Sun Aug 16 23:19:18 EDT 2009 i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux 20:37:24 So this is not supposed to happen? 20:37:32 Strange. When I am entering something interactively (I'm on OS X), if I hit C-c it brings me to the interrupt menu, as it does when I interrupt normal execution. 20:37:41 The first C-c brings up a prompt like: Interrupt option (? for help): 20:37:48 The second C-c resets to the top-level. 20:38:42 I'll just balance out the paranthesis to get an error or restart the app if I make a mistake. 20:39:06 Are you unable to interrupt if you cause a deliberate infinite loop? 20:39:14 (let loop () (loop)) ; for example. 20:39:43 no 20:40:05 TimMc: it turns out that this is a bug with Sexpr in the `pl' language 20:40:10 i've emailed eli about it 20:40:48 -!- attila_lendvai [n=ati@catv-89-134-66-153.catv.broadband.hu] has quit [Read error: 110 (Connection timed out)] 20:41:06 I can't use ^D either...I have to killall mit-scheme 20:41:15 jao [n=jao@57.Red-88-6-163.staticIP.rima-tde.net] has joined #scheme 20:41:54 Never mind, it's not that bad, I'm used to this already. 20:42:03 What? That's totally broken. 20:42:27 I thought it was normal. 20:42:35 No, it's not. 20:43:00 Well, I have learned to make much less syntactical mistakes. 20:43:06 Ha. 20:43:53 rouslan: That is an old release, actually. 20:44:11 Oh, no, it's not. 20:44:12 Really? I downloaded the sources off the GNU website. 20:44:22 When does it say the image was saved? 20:44:33 A few days ago 20:45:10 Can you give the URL that you downloaded? 20:45:47 http://ftp.gnu.org/gnu/mit-scheme/snapshot.pkg/20090107/mit-scheme-c-20090107.tar.gz I think 20:45:50 -rudybot:#scheme- http://tinyurl.com/yby2khs 20:46:12 Does the binary at http://ftp.gnu.org/gnu/mit-scheme/snapshot.pkg/20090107/mit-scheme-20090107-ix86-gnu-linux.tar.gz behave any better? 20:46:14 -rudybot:#scheme- http://tinyurl.com/yark8fv 20:46:41 Riastradh: maybe time for a new snapshot? 20:49:12 -!- kuribas [i=kristof@d54C43855.access.telenet.be] has quit ["ERC Version 5.2 (IRC client for Emacs)"] 20:49:51 chandler: Should I delete existing scheme files and copy the contents of bin and lib? 20:50:25 I'd just unpack it into a temporary directory and run from there. 20:50:28 At first, that is. 20:50:37 If it doesn't work any better, no reason to switch. 20:50:58 I cannot, since it tries accessing /usr/local/lib 20:51:30 ./scheme: can't find a readable default for option --band. 20:51:32 searched for file all.com in these directories: 20:51:33 /usr/local/lib/mit-scheme 20:52:12 Try something like ./bin/mit-scheme --band ./lib/mit-scheme/all.com 20:54:10 Ok it runs for some time but subsequently becomes killed by PaX. 20:54:28 I'll try disabling memory restrictions on the scheme binary. 20:55:11 Armageddon00 [n=danking@zerowing.ccs.neu.edu] has joined #scheme 20:55:31 Hmm file mit-scheme does not have a PT_PAX_FLAGS program header, try conversion 20:55:59 I'll try compiling a non-hardened kernel and rebooting into that later. 20:56:03 Yikes. What distribution is this? 20:56:17 It probably does not like the native code generator. 20:56:49 Gentoo Linux x86 Real-Time Hardened (PaX+GrSecurity+LUKS+PIE) 20:57:42 Baconizer [n=baconize@unaffiliated/baconizer] has joined #scheme 20:57:49 That sounds like an awful lot of kool-aid to me. 20:57:57 I should probably compile a non-PIE GCC and try recompiling mit-scheme after rebooting into a non-PaX/GrSecurity kernel. 20:58:42 You cant compile mit-scheme without a working mit-scheme... 20:58:50 Never mind, I'll just use what I have; thanks for the help. 20:58:57 The C tarball bootstraps from pregenerated source, doesn't it? 20:59:17 Well, apparently PaX didn't kill that mit-scheme bin. 20:59:35 chandler: yes is does 21:00:37 *rouslan* should stop using Gentoo + hardened kernel 21:00:56 Much more trouble than it's worth...I've had to recompile everything several times. 21:01:38 -!- rouslan [n=admin@unaffiliated/rouslan] has quit [Remote closed the connection] 21:02:40 patmaddox [n=patmaddo@208.110.0.2] has joined #scheme 21:06:33 -!- Makoryu [n=vt920@pool-71-174-191-10.bstnma.fios.verizon.net] has quit [] 21:09:59 antoszka [n=antoszka@2001:6a0:14a:0:0:0:0:dada] has joined #scheme 21:10:39 -!- albacker [n=eni@unaffiliated/enyx] has quit ["Leaving"] 21:11:28 seanstickle [n=seanstic@c-68-33-221-168.hsd1.dc.comcast.net] has joined #scheme 21:13:48 -!- rcy [n=rcy@d154-20-143-140.bchsia.telus.net] has quit [Read error: 105 (No buffer space available)] 21:17:36 -!- langmartin [n=user@exeuntcha.tva.gov] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 21:29:21 -!- ecyrb [i=bamoore@SDF.LONESTAR.ORG] has quit [" * Blackened *"] 21:37:30 -!- Tfine [n=Mike@pool-68-163-149-106.bos.east.verizon.net] has left #scheme 21:37:53 -!- choas [n=lars@p5B0DE4CC.dip.t-dialin.net] has quit ["leaving"] 21:40:11 MononcQc [n=mononcqc@modemcable062.225-20-96.mc.videotron.ca] has joined #scheme 21:41:27 schoppenhauer [n=christop@unaffiliated/schoppenhauer] has joined #scheme 21:46:06 masm1 [n=masm@bl5-107-134.dsl.telepac.pt] has joined #scheme 21:46:36 -!- masm [n=masm@bl9-112-158.dsl.telepac.pt] has quit [Read error: 110 (Connection timed out)] 21:48:07 blackened` [n=blackene@ip-89-102-28-224.karneval.cz] has joined #scheme 21:49:34 patmaddo_ [n=patmaddo@234.sub-75-210-99.myvzw.com] has joined #scheme 21:57:18 -!- zanes [n=zane@nomad.ccs.neu.edu] has quit [] 21:57:48 kilimanjaro [n=kilimanj@70.116.95.163] has joined #scheme 21:59:32 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit ["ChatZilla 0.9.85 [Firefox 3.5.3/20090824101458]"] 22:08:33 samth: My followup question was going to be: If I specify (list (sexpr: arg) ...) and don't follow up with the more general (list arg ...), why is that not caught as a missing case? 22:08:55 `match' doesn't catch missing cases 22:09:05 However, I suppose that the "else" makes that question silly. 22:09:18 samth: Ah! I must be conflating it with `cases'. 22:09:24 TimMc: right 22:13:06 -!- MrFahrenheit [n=RageOfTh@users-120-156.vinet.ba] has quit [Read error: 60 (Operation timed out)] 22:14:47 -!- patmaddox [n=patmaddo@208.110.0.2] has quit [Connection timed out] 22:31:40 -!- patmaddo_ [n=patmaddo@234.sub-75-210-99.myvzw.com] has quit [Read error: 110 (Connection timed out)] 22:37:37 -!- schemer999 [n=tmilford@cpe-76-90-137-46.socal.res.rr.com] has quit [] 22:41:32 Has anyone encountered a programming language where (- 1 2 3 4 5 6) was evaluated as 1 - 2 + 3 - 4 + 5 - 6? 22:42:11 Possibly Brainfuck, judging purely by the name of it? 22:42:20 I had convinced myself that it was a Scheme implementation that did this, but now I'm not sure. 22:42:45 I'm pretty sure you've been hitting the tequila and paint thinner a bit too hard there, TimMc. 22:43:10 gnomon: BF is too low-level for that. 22:43:21 "judging purely by the name" 22:43:31 Fair. 22:44:04 Seriously, though, that sounds a bit more like something you'd find in an array-oriented language. 22:46:38 It was a prefix operator language (obviously), and I only know offhand of Haskell and Scheme (Lisp). 22:52:21 -!- seanstickle [n=seanstic@c-68-33-221-168.hsd1.dc.comcast.net] has quit [] 22:58:43 -!- davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 23:03:19 -!- chupish [i=182ed347@gateway/web/freenode/x-cgmomtqnieujcgby] has quit ["Page closed"] 23:12:12 -!- bweaver [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 23:13:06 dmoerner [n=dmr@89-65.res.pomona.edu] has joined #scheme 23:13:58 Does anyone here use miniKanren? 23:20:03 -!- samth [n=samth@nomad.ccs.neu.edu] has quit [Read error: 113 (No route to host)] 23:20:06 dysinger [n=dysinger@cpe-75-85-135-191.hawaii.res.rr.com] has joined #scheme 23:22:03 schemer999 [n=tmilford@cpe-76-90-137-46.socal.res.rr.com] has joined #scheme 23:23:51 Yes, it's time for a new snapshot... 23:24:45 chandler, lisppaste is broken again. 23:26:54 Grr. 23:29:22 -!- hotblack23 [n=jh@p5B057DFC.dip.t-dialin.net] has quit ["Leaving."] 23:32:04 chandler, MIT Scheme with the native back end maps a heap readably, writably, and executably; with the C back end, it does not, or at least it never tries to execute any code in its heap. 23:32:26 sepult` [n=levgue@xdsl-87-78-25-56.netcologne.de] has joined #scheme 23:32:46 Right. That would explain why ultra paranoid security settins would barf on it, same as they tend to collide with SBCL, CCL, & friends. 23:32:51 Gee...I wonder why people make lisppastes expire. 23:33:49 -!- ada2358 [n=ada2358@login-linux.ccs.neu.edu] has quit [Remote closed the connection] 23:33:52 ada2358 [n=ada2358@login-linux.ccs.neu.edu] has joined #scheme 23:34:02 I don't know. The intention is that people who are sharing pseudo-sensitive information (logs off real servers) can put a time limit on the content. Without that, I tended to get a lot requests for deletions of pastes. Now, I see people who set an expiration even though they don't need to. 23:37:34 I changed the name of the default; maybe that'll convince people to use the feature sensibly. 23:39:22 -!- jlongster [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has quit [Read error: 60 (Operation timed out)] 23:39:27 -!- jonrafkind [n=jon@crystalis.cs.utah.edu] has quit [Read error: 60 (Operation timed out)] 23:39:48 -!- masm1 [n=masm@bl5-107-134.dsl.telepac.pt] has quit ["Leaving."] 23:42:35 -!- Darki [i=Darkstar@p57B563FB.dip.t-dialin.net] has quit [] 23:44:25 Funny, though, that OpenBSD, which has a reputation for being a little annoying in the paranoid department, didn't cause MIT Scheme to barf too much. 23:45:04 Although, I think there was a minor hiccup with using it on OpenBSD before the fix was committed, no? 23:45:25 I'm not sure about that. When I was building MIT Scheme binaries on OpenBSD a couple of years ago, before I moved all my OpenBSD machines to NetBSD, on the native build I remember seeing some apparently random segfaults. 23:46:09 Riastradh: There were. 23:46:30 And I suspect that those had to do with the heap memory mapping. 23:46:46 (As I recall, they happened very early.) 23:47:03 (However, my memory is very fuzzy.) 23:47:15 -!- sepult [n=levgue@xdsl-87-78-101-69.netcologne.de] has quit [Connection timed out] 23:47:47 Riastradh: Out of curiosity, what convinced you to move your machines to NetBSD? 23:48:16 *arcfide* ponders whether Chez Scheme could be easily made to work on the ARM mobile devices.... 23:50:25 Actually, that wasn't an accurate description. I had only one machine running OpenBSD at the time, and a couple of others running NetBSD, and I wanted a more uniform environment. 23:51:21 Riastradh: I see. 23:51:56 BTW, Riastradh, I have not forgotten about Scheme CML. 23:56:45 -!- underspecified [n=eric@softbank220043052007.bbtec.net] has quit [] 23:56:59 -!- ve [n=a@94-193-95-252.zone7.bethere.co.uk] has quit [Read error: 60 (Operation timed out)]