00:00:00 Okay cool. 00:00:12 -!- Cheshire [n=e@amcant.demon.co.uk] has left #scheme 00:00:15 eli: Are you also an advocate for mzscheme ? 00:00:24 emma: MzScheme is the name of the core Scheme implementation. DrScheme is written in MzScheme (actually in Mred, which is a GUI extension of MzScheme). 00:00:35 I may not know how to sort a list of paired lists, but I sure do know how DrScheme and MzScheme are related .. :) 00:01:16 I thought that PLT was the name of the core Scheme implementation. 00:01:18 mns: Are you using scm? 00:01:20 mns: If you're using MzScheme, then your `sort' line is fine, but there is no `getenv' that lists the enviroment variables. 00:01:33 What is the relationship between mzscheme and PLT ? 00:01:33 emma: PLT is the name of the whole thing. 00:01:34 arcfide: I am using SCM 00:01:43 eli: I'm using scm not mzscheme 00:01:45 The whole thing. 00:01:48 ? 00:02:22 emma: PLT is an umbrella term for all of the work related to MzScheme and its affiliates. 00:02:37 emma: Yes, the group and the two ton of stuff you get in the PLT Scheme installer, and the two ton of stuff that is not included but you can get. 00:02:48 PLT Scheme = MzScheme, DrScheme, MrEd, etc 00:02:57 I see. 00:03:34 Is MrEd a gui library like gtk or is it like an extended version of mzscheme? 00:04:18 It is a MzScheme extension that can talk to your GUI system. 00:04:46 oh so you pick what gui framework you want and MRed talks to it? 00:05:14 You "pick" one by working on Windows, or OSX, or X. 00:06:06 Hmm Debian doesn't provide mzscheme and drscheme as seperate packages .. you have to install the two tones of stuff ! 00:06:49 Ubuntu packages drscheme and mzscheme separate. 00:06:50 What is known as "the mzscheme distribution" is not really fit for general development. You're better off installing PLT. 00:07:09 -!- jonrafkind [n=jon@wireless46.wireless.utah.edu] has quit [Connection timed out] 00:07:23 *hkBst* thinks mns should be glad debian provides drscheme at all 00:07:33 plt does not seem to be in ubuntu 00:08:01 It's in -- some badly outdated version, at least. 00:08:12 I use scm mostly. I was just going to try out my (sort) issue using mzscheme and see how that worked out. 00:08:15 You're better of getting our installers from plt-scheme.org 00:08:27 mns: You can try rudybot 00:08:58 eli: why? 00:09:02 rudybot: eval (sort '(("foo" 1) ("bar" 2) ("baz" 3)) string eli: ; Value: (("bar" 2) ("baz" 3) ("foo" 1)) 00:09:42 emma: Because the ubuntu package is not maintained well, and suffers from some odd build options that whoever maintains it chose to do. 00:09:48 ahh .. I've got the order incorrect .. 00:09:51 That's at least what I remember from it. 00:09:57 jonrafkind [n=jon@crystalis.cs.utah.edu] has joined #scheme 00:10:13 mns: The order in PLT does not have to be like the order in SCM. 00:10:23 rudybot: eval (sort #:key car '(("foo" 1) ("bar" 2) ("baz" 3)) string eli: ; Value: (("bar" 2) ("baz" 3) ("foo" 1)) 00:12:09 looks like plt-scheme package is in the next release of Ubuntu but not in the current release. 00:12:28 -!- Mr-Cat [n=Mr-Cat@bahirkin1507.static.corbina.ru] has quit [Read error: 104 (Connection reset by peer)] 00:12:29 emma: I can repeat my recommendation. 00:12:36 Does rudybot use PLT scheme? 00:12:44 Yes. 00:12:48 rudybot: eval (version) 00:12:48 eli: ; Value: "4.1.4" 00:12:53 rudybot: eval (banner) 00:12:53 eli: ; Value: "Welcome to MzScheme v4.1.4 [3m], Copyright (c) 2004-2009 PLT Scheme Inc.\n" 00:12:58 aha !! I got it. In scm you need to do (sort (getenv) string now to do something similar in lisp .. 00:16:23 mns: (sort '(("foo" 1) ("bar" 2) ("baz" 3)) #'string-lessp :key #'car) 00:16:42 -!- orgy` [n=ratm_@pD9FFF817.dip.t-dialin.net] has quit ["Gone."] 00:18:07 eli, is that for lisp ? 00:18:22 mns: lisp is a family of languages 00:19:43 hkBst: would common lisp qualify as one of the members of the lisp family of languages ? 00:19:50 yes 00:20:09 mns: That's for CL. 00:20:56 eli: thanks. 00:21:16 and CLISP would be a specific implementation, yes ? 00:22:05 mns: Yes. But also the differences between specific CL implementations are smaller than in the Scheme world. 00:22:45 eli: yeah, I'm learning that as I go along. 00:23:20 all right time for din din .. see you all later. 00:23:38 ("din din"?) 00:23:52 I'm trying to learn Lisp, Scheme, and a couple of other languages at the same time .. 00:24:00 ("dinner") 00:24:18 That's not a great idea. 00:24:36 (The lisp+scheme part, not the din-dining part.) 00:25:08 ok. Scheme first then lisp ? or the other way around ? 00:25:27 Or does it matter which you do first ? 00:25:44 It does, and this channel is generally very biased. 00:26:01 as is the other channel .. :) 00:26:11 + probably 00:26:31 Well, if you're going to ask the other channel, I take it back. 00:26:44 This channel is the most un-biased thing on the planet. 00:26:55 Scheme is objectively much better for you to learn, 00:27:06 and PLT Scheme is objectively the best Scheme implementation. 00:27:38 rudybot: give eli "a lollipop" 00:27:38 eli: mejja has given you a value, use (GRAB) in an eval to get it (case sensitive) 00:27:40 eli: nice! show us the benchmarks, or other metrics please 00:28:57 For some reason I've never liked DrScheme/PLT Scheme ... I've always liked scm/slib combination. Just a personal preference, nothing based on any technical aspect. Probably because scm was the first one I used. 00:29:45 rudybot: eval (define bag '()) 00:29:59 rudybot: eval (require (only-in swindle push!)) 00:30:05 rudybot: eval (push! (GRAB) bag) 00:30:11 rudybot: eval bag 00:30:11 eli: ; Value: ("a lollipop") 00:30:27 hkBst: (benchmarks?) 00:30:32 joshg [i=8675fef9@gateway/web/ajax/mibbit.com/x-d5c179aa94898d40] has joined #scheme 00:30:41 SchemeNate [i=nathan@lambda.caesium.org] has joined #scheme 00:31:08 mns: I won't say more. scm was my first implementation too. That was back around 1917. 00:31:43 :) 00:31:55 Lord, remind me where the... neber mind lisp psate 00:31:57 Aratsu- [n=blah@24.42.160.108] has joined #scheme 00:32:28 Hey guys, I'm trying to write a mathematical function, and basically i *think* i'm doing something wrong... (* (/ 5 9) b) always gives me 0 00:32:41 it's been driving me mad 00:33:18 joshg: b == ? 00:34:10 SchemerNate pasted "VM Error or user Error?" at http://paste.lisp.org/display/75086 00:34:11 anything, it seems 00:34:18 arcfide: i'll pastebin the code 00:34:25 it isn't exactly that form 00:35:29 If I take the LIST-REF out it works (no VM error.) Shouldn't that not even get evaled for n = 0 Or am I forgeting something? 00:36:42 arcfide: http://pastebin.com/m565954a3 00:37:03 that *does* match this formula, right? (a * 2) + (5 / 9) * (6 - b) 00:38:35 rudybot: eval (list-ref '(1 2) 1) 00:38:35 hkBst: ; Value: 2 00:38:59 SchemeNate: maybe switch `2' and `datum'? 00:39:18 -!- Mr_Awesome [n=eric@pool-98-115-118-219.chi01.dsl-w.verizon.net] has quit ["aunt jemima is the devil!"] 00:39:38 arcfide: i think my interpreter is bunk 00:39:46 a friend int he course said my solution is correct 00:40:06 but, for example, (equation-a 1 2) gives me 2.. which is wrong 00:41:04 joshg: that gives me 38/9 here, so it is your interpreter 00:41:56 it works in mine eh 00:42:28 i was using some shit one, someone just recommended dr scheme to me 00:42:29 on that now 00:42:31 so pissed 00:42:34 5 5 gives anyway 95/9 00:42:39 joshg: which one is the shit one? 00:43:01 it was scheme lite 00:43:04 maybe configured wrong 00:43:23 *SchemeNate* blushes 00:44:06 joshg: linky? 00:44:29 the prof had it up: http://www.scs.carleton.ca/~deugo/comp3007/Code/JSCHEME.0.0.1.zip 00:44:33 so that's all i have 00:44:35 JScheme i guess 00:44:41 i think he may have wrote the plugin, no idea though 00:44:54 he's part of the eclipse foundation so he's a big advocate of it... 00:45:04 i work for SWT but if the plug-in is bunk... id rather not use it 00:45:36 -!- morphir [n=morphir@217.168.81.9] has quit [] 00:46:33 joshg: JScheme looks pretty dead to me 00:46:50 rudybot: eval schemes 00:46:50 hkBst: error: reference to undefined identifier: schemes 00:47:13 oh where is sarahbot when you need her? 00:47:29 joshg: How's about something like MIT or Petite Chez Scheme? 00:49:40 arcfide: using Dr. Scheme, works amazing 00:49:42 Petite Chez Scheme is some crazy closed stuff. Why use it when there are so many good free ones. 00:49:42 thanks though 00:49:50 i hate asking school questions, but that worked out 00:50:06 i don't think people mind helping when my code is fine and the interpreter is bunkkk 00:50:31 joshg: professors LOVE to use shit implementations, apparently 00:50:47 some do anyway 00:51:18 -!- jonrafkind [n=jon@crystalis.cs.utah.edu] has quit [Read error: 104 (Connection reset by peer)] 00:51:43 jonrafkind [n=jon@crystalis.cs.utah.edu] has joined #scheme 00:52:03 -!- fwd_ [n=fwd@80-219-193-14.dclient.hispeed.ch] has quit ["Leaving"] 00:52:16 hkBst: yeah, it'll get ya 00:52:51 thanks fo your help thoyugh guys 00:52:55 gone ot do this now that it works haha 00:52:55 bye 00:52:57 -!- joshg [i=8675fef9@gateway/web/ajax/mibbit.com/x-d5c179aa94898d40] has quit ["http://www.mibbit.com ajax IRC Client"] 00:54:02 er, hey if you want to provide a syntax in chicken, you can't do that right? 00:54:11 -!- athos [n=philipp@92.250.204.223] has quit ["leaving"] 00:54:20 what's chicken now? 00:54:22 I mean, it has to compile ignoring the other scheme files, then link together. Can't compile if the syntax isn't right there. 00:54:28 chicken scheme 00:54:37 http://www.call-with-current-continuation.org/ 00:54:45 hkBst: Hehe, what's so crazy about it? 00:54:49 I was poking at it because it's got a working sqlite implementation. 00:55:56 arcfide: it's about having to use IE to access your bank account 00:56:26 LOL 00:56:33 Ookaay then... 00:56:38 *arcfide* backs away, laughing. 00:57:59 arcfide: apparently this is how it is in korea IIRC 00:58:06 or so I heard 00:58:07 Huh? 00:59:36 flourscent [n=floursce@118.176.71.148] has joined #scheme 01:00:56 troter [n=troter@nurikabe.timedia.co.jp] has joined #scheme 01:20:02 -!- bzzbzz [n=franco@modemcable027.191-81-70.mc.videotron.ca] has quit ["leaving"] 01:32:28 -!- underspecified [n=eric@softbank220043052007.bbtec.net] has quit [] 01:33:43 -!- Aratsu- [n=blah@24.42.160.108] has quit [Read error: 60 (Operation timed out)] 01:35:35 dammit I think I found a bug in chicken's sqlite 01:36:27 oh thank goodness it's freezing elsewhere 01:36:35 hopefully still my code 01:36:36 -!- aaco [n=aaco@unaffiliated/aaco] has quit ["Leaving"] 01:38:18 Doesn't Riastradh have an SQLITE thing he did? You could test that. ;-) 01:40:31 meep... just want something that works 01:40:47 so many different incompatible implementations to sort through 02:06:58 -!- jonrafkind [n=jon@crystalis.cs.utah.edu] has quit [Read error: 113 (No route to host)] 02:07:21 rudybot: eval (define electorate-uri "http://www.r6rs.org/steering-committee/election/electorate.html") 02:19:41 -!- hkBst [n=hkBst@gentoo/developer/hkbst] has quit [Read error: 104 (Connection reset by peer)] 02:25:07 -!- bsmntbombdood [n=gavin@97-118-127-13.hlrn.qwest.net] has quit [Read error: 104 (Connection reset by peer)] 02:28:04 -!- mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit ["ChatZilla 0.9.84 [Firefox 3.0.5/2008121622]"] 02:29:25 bsmntbombdood [n=gavin@97-118-127-13.hlrn.qwest.net] has joined #scheme 02:32:52 underspecified [n=eric@isa7-dhcp-116-154.naist.jp] has joined #scheme 02:33:43 mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 02:35:47 -!- underspecified [n=eric@isa7-dhcp-116-154.naist.jp] has quit [Client Quit] 02:37:08 underspecified [n=eric@isa7-dhcp-116-154.naist.jp] has joined #scheme 02:38:44 Anyone here familiar with CreateFile and _open_osfhandle() on Windows? 02:38:47 -!- Nshag [i=user@Mix-Orleans-105-1-164.w193-250.abo.wanadoo.fr] has quit [Remote closed the connection] 02:38:55 Specifically, using them with Serial Ports? 02:39:49 -!- Cowmoo [n=Cowmoo@c-98-218-214-24.hsd1.va.comcast.net] has quit [Remote closed the connection] 02:39:54 -!- kryptiskt [n=irc@cust-IP-129.data.tre.se] has quit [Read error: 110 (Connection timed out)] 02:52:29 benny` [n=benny@i577A0C7F.versanet.de] has joined #scheme 02:56:34 Can't believe I'm still trying to get persistent objects >_< 02:57:07 Just save them to files or something dammit... it's always so complicated when I try stuff. 03:00:54 roygbiv [n=blank@pdpc/supporter/active/roygbiv] has joined #scheme 03:07:10 reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 03:07:20 -!- benny [n=benny@i577A0A0D.versanet.de] has quit [Read error: 110 (Connection timed out)] 03:07:21 -!- benny` is now known as benny 03:09:32 -!- roygbiv [n=blank@pdpc/supporter/active/roygbiv] has left #scheme 03:09:56 Mr_Awesome [n=eric@isr5452.urh.uiuc.edu] has joined #scheme 03:13:57 morphir [n=morphir@217.168.81.9] has joined #scheme 03:14:21 -!- morphir [n=morphir@217.168.81.9] has quit [Client Quit] 03:15:38 arcfide, so if you don't want to link statically against kernel.o, link dynamically against libkernel.so with `-lkernel', or assume that whoever is about to load sockets.so already has kernel.so loaded, and perhaps instruct the linker that undefined references should be resolved at load-time or at run-time. 03:25:01 Riastradh: That last part, about resolving at run-time: I don't know how to do that. ;-) 03:28:53 -!- gweiqi [n=greg@69.120.126.163] has quit ["Leaving."] 03:30:55 -!- Modius__ [n=Modius@adsl-68-91-192-214.dsl.austtx.swbell.net] has quit [Connection reset by peer] 03:31:22 Modius__ [n=Modius@adsl-68-91-192-214.dsl.austtx.swbell.net] has joined #scheme 03:31:38 I'm getting VM errors on the pre-scheme compiler after mergering forms. Any clues? 03:35:49 SchemeNate, clearly ESP suffices for me to read the problem you see on your screen, and all of the associated context, and all your source code, and so on. 03:37:10 Sorry, working on the lisp paste. 03:37:47 -!- kilimanjaro [n=kilimanj@70.116.95.163] has quit [Connection reset by peer] 03:37:59 kilimanjaro [n=kilimanj@70.116.95.163] has joined #scheme 03:39:14 arcfide, sorry, I don't know off hand either with GNU ld, which is what I presume you are using. With OS X's ld, one uses `-undefined dynamic_lookup' or `-undefined suppress' when linking a bundle. 03:42:43 SchemerNate pasted "PreScheme" at http://paste.lisp.org/display/75095 04:01:55 Hmm I got rid of even? and it works fines 04:04:25 When I can open a reliable TCP connection to paste.lisp.org I'll take a look. I'm not having much luck. 04:05:58 -!- mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit ["ChatZilla 0.9.84 [Firefox 3.0.5/2008121622]"] 04:06:41 It seems to be working fine now (the compiler) Most strange 04:13:59 What did you change? There is a bug in the compiler's type checker concerning null or void or empty tuple types. 04:16:21 ...but that won't matter if the types on the external procedures are completely wrong! 04:16:49 Presumably you meant to write (DEFINE OUTB (EXTERNAL "outb" (=> (INTEGER INTEGER) NULL))), and similarly for IOPERM. 04:17:54 SchemerNate annotated #75095 with "untitled" at http://paste.lisp.org/display/75095#1 04:18:47 Riastradh: Good point. 04:19:12 I'm still not used to the type system. 04:22:46 That What I get for not reading the manual page close enough 04:28:53 Putting in the proper type fixed it. Thanks Riastradh. 04:35:23 -!- mr-slave [n=luser@winooski.ccs.neu.edu] has quit [Remote closed the connection] 04:35:54 -!- meanburrito920_ [n=John@adsl-76-236-77-163.dsl.lsan03.sbcglobal.net] has quit [Remote closed the connection] 04:38:39 -!- yaroslav_h|sleep is now known as yaroslav_h 04:41:17 offby1: ping 04:46:35 ramkrsna [n=ramkrsna@unaffiliated/ramkrsna] has joined #scheme 04:46:38 -!- yaroslav_h [n=yaroslav@89-109-22-97.dynamic.mts-nn.ru] has quit ["    (xchat 2.4.5  )"] 04:50:08 plop 04:50:48 -!- samth [n=samth@c-65-96-163-214.hsd1.ma.comcast.net] has quit [Read error: 110 (Connection timed out)] 04:50:52 offby1: why do you have a `last-two'? 04:51:08 The userinfo thing should not store more than two sightings anyway. 04:51:09 because if it spews all of 'em they get truncated. 04:51:21 I think many nicks have more than two due to the way I converted. 04:51:51 But even in that case you'd only get a maximum of three -- since this was what the previous code was keeping, no? 04:51:58 I think the userinfo thing is careful to trim one old item for every item it adds. 04:52:08 yes, but even three is too many. 04:52:18 Ah, OK. 04:53:15 I'll make it drop as many as it takes 04:53:27 and I'll make it drop them also when retreiving them. 04:54:34 it already drops as many as it takes ... doesn't it? 04:55:01 or rather, it drops as many as it -adds-, which makes sense 04:55:13 No, it does what you said: "trim one old item for every item it adds". 04:56:02 -!- attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has quit [Read error: 113 (No route to host)] 04:56:28 patmaddox [n=pergesu@ip68-4-201-9.oc.oc.cox.net] has joined #scheme 04:59:36 yaroslav_h [n=yaroslav@89-109-22-97.dynamic.mts-nn.ru] has joined #scheme 05:03:28 mm hm 05:03:55 offby1: Done. 05:04:10 I have one more killer feature. 05:05:23 *offby1* rubs hands together 05:05:36 y'know I think it's time you discovered "git send-email" 05:06:50 Summary? 05:07:18 -!- arcfide [n=arcfide@99.137.203.69] has quit ["Leaving"] 05:07:34 Will it know who to send it to? 05:08:38 sure, because you'll tell it. 05:08:57 Ugh. 05:09:04 I used the --dry-run thing. 05:09:15 "git format-patch origin ; git send-email --some-option-or-other=eric.hanchrow@gmail.com 00*.patch" 05:09:18 It says: "No patch files specified" 05:09:25 did you name 'em on the command line? 05:09:34 No, of course. 05:09:38 heh 05:09:40 I expected it to do the work for me. 05:09:49 is it possible that you're even lazier than me? Nah 05:10:06 Of course. 05:10:16 I mean -- it *should* have all the info right? 05:10:17 tjafk2 [n=timj@e176222038.adsl.alicedsl.de] has joined #scheme 05:10:47 how would it? 05:11:00 So something like "git send-email -a" would create the patches, send them to the repository's main email (or whoever I got it from), then remove them. 05:11:06 In this case, it sees two committers, you and me. If it knew one of them was you, I suppose it could guess you want to send to me ... 05:11:13 athos [n=philipp@92.250.204.223] has joined #scheme 05:11:18 probably doable. 05:11:45 It should know that I cloned it from somewhere... 05:12:12 but you didn't clone from an email address. 05:12:39 In fact it might have been possible for _me_ to have set the default "sendemail.to" config thingy, such that you'd have gotten a copy. 05:13:06 Yeah, that would work too. 05:13:24 Is there a difference between "git format-patch" and "git format-patch origin"? 05:13:32 (I only used the first so far.) 05:13:33 not sure. 05:13:38 ah, in that case, probably not. 05:13:45 my hunch is that "origin" is the default. 05:13:52 ok 05:17:22 meanburrito920_ [n=John@adsl-76-236-77-163.dsl.lsan03.sbcglobal.net] has joined #scheme 05:20:50 MichaelRaskin_ [n=raskin@213.171.48.239] has joined #scheme 05:21:15 -!- huangjs [n=user@watchdog.msi.co.jp] has quit [Read error: 104 (Connection reset by peer)] 05:27:04 -!- tjafk1 [n=timj@e176220158.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 05:33:53 offby1: ping 05:36:43 plop 05:37:09 lisppaste: url? 05:37:09 To use the lisppaste bot, visit http://paste.lisp.org/new/scheme and enter your paste. 05:37:21 *offby1* nods absently 05:38:04 eli pasted "fib" at http://paste.lisp.org/display/75098 05:38:16 offby1: See that? 05:38:18 sure 05:38:32 *SchemeNate* peers at offby1 05:38:38 oh I think I know what's coming 05:38:44 newrudybot [n=luser@winooski.ccs.neu.edu] has joined #scheme 05:38:53 he's gonna have the bot load that code from lisppaste, and eval it 05:38:55 Yes... 05:38:57 hopefully in lazyland 05:39:07 newrudybot: init http://paste.lisp.org/display/75098/raw 05:39:08 *eli: your "http://paste.lisp.org/display/75098/raw" sandbox is ready 05:39:13 heh 05:39:16 newrudybot: eval (fib 10) 05:39:16 *eli: ; Value: 89 05:39:22 someone asked for that feature a while ago. 05:39:30 Nice that I can give it to them without writing a line of code myself. 05:40:03 I hacked on it to always tell you what language it uses, to avoid confusion 05:40:05 "someone" was chandler. 05:40:13 rudybot: init r5rs 05:40:13 eli: your sandbox is ready 05:40:26 rudybot: eval ((lambda (x) (x x)) (lambda (x) (cons 1 (x x)))) 05:40:29 eli: error: evaluator: terminated (out-of-memory) 05:40:38 ...and three weeks later... 05:40:42 newrudybot: init 05:40:42 offby1: your sandbox is ready 05:40:44 rudybot: eval (+ 1 2) 05:40:44 eli: ; Value: 3 05:40:45 hmm 05:40:50 newrudybot: eval 123 05:40:50 offby1: ; Value: 123 05:41:05 so ... where does it tell me what language it's using? 05:41:09 I'm probably unaware now that it still remembers to set me up with an r5rs sandbox. 05:41:27 newrudybot: for offby1 init r5rs 05:41:27 offby1: your r5rs sandbox is ready 05:41:38 newrudybot: for offby1 eval ((lambda (x) (x x)) (lambda (x) (cons 1 (x x)))) 05:41:39 offby1: error: evaluator: terminated (out-of-memory) 05:41:42 well 05:41:48 newrudybot: for offby1 eval (* 8 7) 05:41:48 offby1: your r5rs sandbox is ready 05:41:48 offby1: ; Value: 56 05:41:52 There. 05:41:53 hmm 05:41:54 but 05:41:59 newrudybot: eval 111 05:41:59 offby1: ; Value: 111 05:42:04 why not there? 05:42:14 Debian is so dramtic about system halts... "The system is going DOWN for system halt in 5 minutes!"... 05:42:17 You mean tell you on every interaction? 05:42:26 SchemeNate: That's unix. 05:42:26 I guess. 05:42:47 Anyway, *that* feature took most of the time. 05:42:57 I'm unlikely to forget which language I wanted, in the time between my typing "init", and the bot responding approximately one tenth of a second later 05:43:00 eli: Yah, just find amusing tonight for some reasion. 05:43:02 Getting an off-the-web-evaluator was 8 new lines of code, roughly. 05:43:05 -!- underspecified [n=eric@isa7-dhcp-116-154.naist.jp] has quit [] 05:43:24 it doesn't _sound_ hard 05:43:28 offby1: In that case you can just `init' it... 05:43:42 newrudybot: init 05:43:42 offby1: your r5rs sandbox is ready 05:43:45 hmm 05:43:55 so now I remember the language -- but my bindings are all gone 05:44:02 SchemeNate: That's not amusing at all for the 87 users who are supposedly using your machine -- it's them that the command is so verbose for. 05:44:15 heh 05:44:27 who actually shares machines in this day and age? 05:45:05 Well, I guess I'm not a common example these days, of someone who would run this command in an environment where the mass-message was extremely relevant. 05:46:45 offby1: turns out that I never did `git format-patch' without the `origin' since that doesn't do anything. 05:48:41 offby1: Patches sent. 05:49:10 How do you know in what order to apply them when the order matters? 05:50:29 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 05:50:32 joshg [i=63f17473@gateway/web/ajax/mibbit.com/x-6c7f5eac84208625] has joined #scheme 05:51:06 hey guys, i'm trying to do a somewhat more complex if statement 05:51:30 wow, nevermind 05:54:34 here's a better question, can you overload a function in scheme? (define (myFunction a)), (define (myFunction a b)) 05:55:23 joshg: In some of them. 05:55:46 turns out mine doesn't 05:56:14 if not, i guess i can just get the function to call a similar function recursively 05:56:29 trying to half a number using only addition and subtraction 05:56:32 Many Schemes can have optional arguments in some form. 05:57:04 i'm using Dr. Scheme with Lazy Scheme i think? 05:57:14 ? 05:57:15 Why? 05:57:33 it's just for school. i was using an eclipse plugin earlier, but it was garbage 05:57:46 -!- kilimanjaro [n=kilimanj@70.116.95.163] has quit [Connection reset by peer] 05:57:48 nicholasw [n=nw@ckc-109-187.ResHall.Berkeley.EDU] has joined #scheme 05:57:58 kilimanjaro [n=kilimanj@70.116.95.163] has joined #scheme 05:58:27 joshg: Well, PLT Scheme does have such a form: 05:58:30 rudybot: init scheme 05:58:31 eli: your sandbox is ready 05:58:49 rudybot: eval (define foo (case-lambda [(x) "one"] [(x y) "two"])) 05:58:55 rudybot: eval (foo 1) 05:58:55 eli: ; Value: "one" 05:58:58 rudybot: eval (foo 1 1) 05:58:58 eli: ; Value: "two" 05:59:27 But it won't work well in lazy Scheme -- it will get you a non-lazy function. 05:59:38 i see 05:59:43 thanks 06:00:50 That's pure laziness on the side of whoever implemented lazy scheme... 06:03:15 X-Scale2 [i=email@89.181.87.218] has joined #scheme 06:09:04 Axioplase [n=Pied@watchdog.msi.co.jp] has joined #scheme 06:09:08 -!- athos [n=philipp@92.250.204.223] has quit ["leaving"] 06:09:23 -!- meanburrito920_ [n=John@adsl-76-236-77-163.dsl.lsan03.sbcglobal.net] has quit ["has been attacked by a grue"] 06:11:46 corrupt [n=chatzill@c-98-194-129-225.hsd1.tx.comcast.net] has joined #scheme 06:12:04 what would be a cool data mining project? 06:17:04 -!- yaroslav_h is now known as yaroslav_h_ 06:17:33 -!- yaroslav_h_ is now known as yaroslav_h 06:18:58 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 06:21:37 -!- X-Scale [i=email@89-180-76-121.net.novis.pt] has quit [Connection timed out] 06:23:09 corrupt: i know one thing, it would involve drill bits 06:24:43 peddie [n=peddie@18.224.1.200] has joined #scheme 06:25:19 drill bits aye 06:26:46 where could i look at the data set? 06:27:56 HG` [n=wells@118.82.169.165] has joined #scheme 06:28:49 it's part of the scheme underground 06:32:12 -!- X-Scale2 is now known as X-Scale 06:38:06 zbigniew, seriously? 06:46:07 No. 06:55:32 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 07:05:16 -!- HG` [n=wells@118.82.169.165] has quit ["Leaving."] 07:13:22 -!- AtnNn [n=welcome@modemcable087.62-56-74.mc.videotron.ca] has quit ["strawberry"] 07:24:20 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit ["+++ killed by SIGSEGV +++"] 07:27:29 -!- ken-p [n=unknown@84.92.70.37] has quit [Read error: 110 (Connection timed out)] 07:28:10 -!- peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has quit [Read error: 110 (Connection timed out)] 07:28:26 jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has joined #scheme 07:28:33 Aratsu- [n=blah@24.42.160.108] has joined #scheme 07:34:34 -!- Aratsu- [n=blah@24.42.160.108] has quit [Read error: 60 (Operation timed out)] 07:48:13 antoszka [n=antoszka@unaffiliated/antoszka] has joined #scheme 07:49:58 Mr-Cat_ [i=ejabberd@jabbus.org] has joined #scheme 07:50:36 ecraven [n=nex@140.78.42.103] has joined #scheme 07:52:12 mornfall_ [n=mornfall@anna.fi.muni.cz] has joined #scheme 07:52:15 sad0ur_ [n=sad0ur@psi.cz] has joined #scheme 07:52:53 -!- mornfall [n=mornfall@kde/developer/mornfall] has quit [Read error: 113 (No route to host)] 07:52:58 -!- sad0ur [n=sad0ur@psi.cz] has quit [Read error: 104 (Connection reset by peer)] 08:06:00 -!- nicholasw [n=nw@ckc-109-187.ResHall.Berkeley.EDU] has quit [] 08:13:26 -!- geckosenator [n=sean@71.237.94.78] has quit [Read error: 60 (Operation timed out)] 08:17:37 -!- kilimanjaro [n=kilimanj@70.116.95.163] has quit ["Leaving"] 08:20:48 higepon898 [n=taro@218-223-22-146.bitcat.net] has joined #scheme 08:24:50 attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has joined #scheme 08:25:53 echo-area [n=user@119.42.238.68] has joined #scheme 08:32:53 -!- joshg [i=63f17473@gateway/web/ajax/mibbit.com/x-6c7f5eac84208625] has quit [Remote closed the connection] 08:47:13 -!- Mr-Cat_ [i=ejabberd@jabbus.org] has left #scheme 09:05:50 X-Scale2 [i=email@89-180-49-14.net.novis.pt] has joined #scheme 09:07:07 -!- reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 104 (Connection reset by peer)] 09:07:48 reprore_ [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 09:16:36 jewel [n=jewel@dsl-242-159-249.telkomadsl.co.za] has joined #scheme 09:22:44 -!- higepon898 [n=taro@218-223-22-146.bitcat.net] has quit [Read error: 110 (Connection timed out)] 09:23:24 -!- X-Scale [i=email@89.181.87.218] has quit [Read error: 110 (Connection timed out)] 09:26:52 certainty|work [n=david@alpha.d-coded.de] has joined #scheme 09:39:38 -!- X-Scale2 is now known as X-Scale 09:41:22 exexex [n=chatzill@85.97.0.34] has joined #scheme 09:42:01 orgy` [n=ratm_@pD9FFE5EE.dip.t-dialin.net] has joined #scheme 09:53:22 -!- corrupt [n=chatzill@c-98-194-129-225.hsd1.tx.comcast.net] has quit [Read error: 110 (Connection timed out)] 10:00:47 -!- attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has quit [Read error: 60 (Operation timed out)] 10:01:29 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 10:11:55 ejs [n=eugen@nat.ironport.com] has joined #scheme 10:15:46 jah [n=jah@224.55.198-77.rev.gaoland.net] has joined #scheme 10:24:25 Adamant [n=Adamant@c-71-226-66-93.hsd1.ga.comcast.net] has joined #scheme 10:25:54 pmatos [n=pmatos@pocm06r.ecs.soton.ac.uk] has joined #scheme 10:26:08 -!- pmatos [n=pmatos@pocm06r.ecs.soton.ac.uk] has quit [Remote closed the connection] 10:29:57 -!- cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has quit ["The funniest things in my life are truth and absurdity."] 10:31:25 hkBst [n=hkBst@gentoo/developer/hkbst] has joined #scheme 10:32:39 -!- reprore_ [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 104 (Connection reset by peer)] 10:33:25 reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 10:34:14 Mr-Cat [n=Mr-Cat@bahirkin1507.static.corbina.ru] has joined #scheme 10:36:36 If I want capture a bunch of bindings by a macro without passing the names of binded variables to it, am I right, that tis cannot be done with syntax-rules and I should use syntax-case along with datum->syntax? 10:36:59 s/tis/this/ 10:40:04 s/binded/bound/ 10:40:28 yes, you can't define unhygienic macros with `syntax-rules' 10:40:28 ski_: yes, thanks 10:41:30 (there are several hygienic macro systems that allow introduction of unhygienic macros, though .. `syntax-case' is just one such (or maybe several)) 11:00:46 -!- jah [n=jah@224.55.198-77.rev.gaoland.net] has quit ["Quitte"] 11:08:35 Is there a way to do something to `pattern variables outside syntax forms'? Or should I extract needed values from the form itself, not from pattern variables? What I'm trying to do is to parse a string, passed to a macro as a parameter. 11:12:29 'the form itself' - I mean the s-expr, that is passed to lambda, containing syntax-case 11:16:47 Well, seems, that, I've answered my question while asking it :) 11:21:45 jao [n=user@74.Red-80-24-4.staticIP.rima-tde.net] has joined #scheme 11:28:13 -!- patmaddox [n=pergesu@ip68-4-201-9.oc.oc.cox.net] has quit [Read error: 60 (Operation timed out)] 11:33:34 -!- Axioplase is now known as Axioplase_ 11:35:41 attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has joined #scheme 11:49:39 hemulen [n=hemulen@cpe-069-134-114-252.nc.res.rr.com] has joined #scheme 11:51:34 -!- forcer [n=forcer@e177138125.adsl.alicedsl.de] has quit [Read error: 60 (Operation timed out)] 11:52:13 forcer [n=forcer@f054020028.adsl.alicedsl.de] has joined #scheme 11:52:55 a-s [n=user@85.9.55.98] has joined #scheme 12:05:14 -!- troter [n=troter@nurikabe.timedia.co.jp] has quit ["Leaving..."] 12:10:12 -!- Mr-Cat [n=Mr-Cat@bahirkin1507.static.corbina.ru] has quit [Read error: 110 (Connection timed out)] 12:12:41 -!- exexex [n=chatzill@85.97.0.34] has quit [Remote closed the connection] 12:19:07 Nshag [i=user@Mix-Orleans-106-2-37.w193-248.abo.wanadoo.fr] has joined #scheme 12:19:52 -!- forcer [n=forcer@f054020028.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 12:31:38 -!- elmex [i=elmex@ist.m8geil.de] has quit [Remote closed the connection] 12:31:41 elmex [i=elmex@ist.m8geil.de] has joined #scheme 12:32:01 -!- jewel [n=jewel@dsl-242-159-249.telkomadsl.co.za] has quit [Operation timed out] 12:33:50 jewel [n=jewel@dsl-242-159-249.telkomadsl.co.za] has joined #scheme 12:37:14 -!- Arelius [n=Indy@netblock-68-183-230-134.dslextreme.com] has quit [] 12:41:23 jmo- [n=jmo-@83.233.243.145] has joined #scheme 12:48:17 -!- attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has quit ["..."] 12:53:48 alaricsp [n=alaricsp@host86-147-109-90.range86-147.btcentralplus.com] has joined #scheme 12:54:17 Arelius [n=Indy@netblock-68-183-230-134.dslextreme.com] has joined #scheme 13:02:56 -!- Pegazus [n=awefawe@host100.190-137-19.telecom.net.ar] has left #scheme 13:06:43 -!- Arelius [n=Indy@netblock-68-183-230-134.dslextreme.com] has quit [] 13:14:23 higepon28 [n=taro@FL1-122-133-100-227.tky.mesh.ad.jp] has joined #scheme 13:20:57 Mr-Cat_ [i=ejabberd@jabbus.org] has joined #scheme 13:24:26 samth [n=samth@c-65-96-163-214.hsd1.ma.comcast.net] has joined #scheme 13:28:38 eno___ [n=eno@adsl-70-137-149-76.dsl.snfc21.sbcglobal.net] has joined #scheme 13:32:11 rudybot: eval (string->symbol "one two three") 13:32:12 Mr-Cat_: ; Value: |one two three| 13:32:27 Hm... Is this a standard behavior? 13:32:42 *Mr-Cat_* opend rnrs 13:34:47 -!- mornfall_ is now known as mornfall 13:36:43 rudybot: eval (symbol->string '|symbol|) 13:36:44 Mr-Cat_: ; Value: "symbol" 13:37:21 rudybot: eval (string->symbol "|symbol|") 13:37:21 Mr-Cat_: ; Value: \|symbol\| 13:37:38 Cheshire [n=e@amcant.demon.co.uk] has joined #scheme 13:39:24 langmartin [n=user@75.148.111.133] has joined #scheme 13:40:19 that's standard quoting for symbols with funny characters in them 13:40:53 aspect: I'm trying same things in chicken now, It seems to behave in a bit different way 13:40:54 rudybot: eval (string->symbol "2") 13:40:54 aspect: ; Value: |2| 13:41:18 Besides, r5rs (at least) says noting about | | 13:41:21 reading isn't mandated, iirc, but the |...| printing notation is common 13:41:48 rudybot: eval (symbol->string (string->symbol "|symbol|")) 13:41:48 Mr-Cat_: ; Value: "|symbol|" 13:42:31 -!- eno [n=eno@nslu2-linux/eno] has quit [Connection timed out] 13:43:48 In chicken there seem to be some minor differences... So, I guess, playing with such symbols is a good way to shoot off a leg 13:43:48 #;1> (string->symbol "|symbol|") 13:43:48 |\|symbol\|| 13:50:26 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 14:04:00 rudybot: Tell eli later 87 user? 14:04:00 SchemeNate: ? 14:04:09 rudybot: Bah! 14:04:09 SchemeNate: ? 14:05:14 *SchemeNate* pokes rudybot 14:09:20 -!- higepon28 [n=taro@FL1-122-133-100-227.tky.mesh.ad.jp] has quit [Remote closed the connection] 14:09:34 -!- reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 54 (Connection reset by peer)] 14:10:25 reprore_ [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 14:15:35 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 14:17:35 -!- ramkrsna [n=ramkrsna@unaffiliated/ramkrsna] has quit ["Leaving"] 14:21:42 -!- jewel [n=jewel@dsl-242-159-249.telkomadsl.co.za] has quit [Connection timed out] 14:22:36 hiyuh [n=hiyuh@KD125054017176.ppp-bb.dion.ne.jp] has joined #scheme 14:24:17 jewel [n=jewel@dsl-242-159-249.telkomadsl.co.za] has joined #scheme 14:36:53 annodomini [n=lambda@64.30.3.122] has joined #scheme 14:41:49 mike [n=m@dslb-088-066-253-007.pools.arcor-ip.net] has joined #scheme 14:42:09 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 14:42:19 -!- mike is now known as Guest247 14:45:18 -!- tizoc is now known as otizoc 14:46:05 -!- otizoc is now known as tizoc 14:54:23 -!- echo-area [n=user@119.42.238.68] has quit [Remote closed the connection] 14:56:23 xwl [n=user@123.112.115.27] has joined #scheme 14:57:50 levi` [n=user@levi.dsl.xmission.com] has joined #scheme 14:59:32 -!- hkBst [n=hkBst@gentoo/developer/hkbst] has quit [Read error: 104 (Connection reset by peer)] 14:59:33 -!- levi [n=user@levi.dsl.xmission.com] has quit [Read error: 104 (Connection reset by peer)] 14:59:52 -!- Cheshire [n=e@amcant.demon.co.uk] has quit [Read error: 60 (Operation timed out)] 15:02:18 annodomini [n=lambda@130.189.179.215] has joined #scheme 15:07:36 Cheshire [n=e@amcant.demon.co.uk] has joined #scheme 15:09:51 -!- ecraven [n=nex@140.78.42.103] has quit ["bbl"] 15:13:59 SchemeNate: SomeRandomNumberBiggerThan1 15:14:08 -!- ASau [n=user@193.138.70.52] has quit [Remote closed the connection] 15:33:52 Aratsu- [n=blah@24.42.160.108] has joined #scheme 15:33:55 -!- MichaelRaskin_ [n=raskin@213.171.48.239] has quit [Read error: 110 (Connection timed out)] 15:34:46 jlongster [n=user@75.148.111.133] has joined #scheme 15:36:09 aaco [n=aaco@unaffiliated/aaco] has joined #scheme 15:38:13 -!- araujo [n=araujo@gentoo/developer/araujo] has quit ["Leaving"] 15:48:43 -!- Cheshire [n=e@amcant.demon.co.uk] has quit [Read error: 60 (Operation timed out)] 15:50:48 joshg [i=63f17473@gateway/web/ajax/mibbit.com/x-25bb11b3e5627e0f] has joined #scheme 15:51:11 is there a mod function in scheme? 15:51:38 Yes 15:51:45 is it not %? 15:51:48 modulo, IIRC, and remainder as well 15:51:55 thanks dude 15:52:13 (modulo 3 2) => 1 15:52:30 The difference between modulo and remainder is how -ve numbers are handled, but I never know which is which! 15:52:42 I only ever need to do mod in natural numbers ;-) 15:53:19 it isn't a big deal, i basically just need to make a shuffle algorithm, so (shuffle x y) where x, y are positive integers, ex: (shuffle 12 34) -> 1324 15:53:23 i figure mod is the best way to do it 15:53:48 Yes, that'd be right 15:55:39 Cheshire [n=e@amcant.demon.co.uk] has joined #scheme 15:59:07 -!- samth [n=samth@c-65-96-163-214.hsd1.ma.comcast.net] has quit [Read error: 110 (Connection timed out)] 16:01:20 -!- Guest247 [n=m@dslb-088-066-253-007.pools.arcor-ip.net] has quit ["This computer has gone to sleep"] 16:01:25 Fare [n=Fare@ita4fw1.itasoftware.com] has joined #scheme 16:03:37 -!- synthase [n=synthase@c-69-243-234-165.hsd1.al.comcast.net] has quit [Read error: 110 (Connection timed out)] 16:04:24 -!- ejs [n=eugen@nat.ironport.com] has quit [Read error: 110 (Connection timed out)] 16:07:44 -!- a-s [n=user@85.9.55.98] has quit [Remote closed the connection] 16:07:44 -!- Mr-Cat_ [i=ejabberd@jabbus.org] has left #scheme 16:08:38 -!- REPLeffect [n=REPLeffe@69.54.115.254] has quit [No route to host] 16:10:12 synthase [n=synthase@c-69-243-234-165.hsd1.al.comcast.net] has joined #scheme 16:12:18 -!- reprore_ [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 60 (Operation timed out)] 16:12:52 -!- peddie [n=peddie@18.224.1.200] has quit [Read error: 110 (Connection timed out)] 16:13:03 reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 16:13:08 -!- Aratsu- [n=blah@24.42.160.108] has quit [Read error: 113 (No route to host)] 16:18:06 -!- joshg [i=63f17473@gateway/web/ajax/mibbit.com/x-25bb11b3e5627e0f] has quit ["http://www.mibbit.com ajax IRC Client"] 16:20:32 -!- Cheshire [n=e@amcant.demon.co.uk] has quit [Read error: 113 (No route to host)] 16:28:15 -!- flourscent [n=floursce@118.176.71.148] has quit [] 16:29:15 saccade_ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 16:32:57 mike [n=m@dslb-088-066-253-007.pools.arcor-ip.net] has joined #scheme 16:33:29 -!- mike is now known as Guest2832 16:34:25 ecraven [n=nex@140.78.42.103] has joined #scheme 16:35:29 rudybot: seen eli 16:35:29 *offby1: eli was seen in/on #scheme ten hours, thirty-four minutes ago, saying "That's pure laziness on the side of whoever implemented lazy scheme...", and then eli was seen in/on #scheme one hour, twenty-one minutes ago, saying "SchemeNate: SomeRandomNumberBiggerThan1" 16:36:02 bombshel1er13 [n=bombshel@net1.senecac.on.ca] has joined #scheme 16:36:57 ASau [n=user@193.138.70.52] has joined #scheme 16:37:26 -!- saccade_ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Read error: 60 (Operation timed out)] 16:38:12 saccade_ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 16:44:41 Daemmerung [n=goetter@1133sae.mazama.net] has joined #scheme 16:45:47 So my wireless mac keyboard has been rendered useless. 16:45:58 cknapp [i=d82f8555@gateway/web/ajax/mibbit.com/x-b5adb3e396b35a87] has joined #scheme 16:46:18 -!- Fare [n=Fare@ita4fw1.itasoftware.com] has quit ["Leaving"] 16:46:19 Hello... ? 16:46:28 I hate wireless keyboards 16:46:34 I changed the batteries, and a little piece of plastic fell out. I put it back in, and I think it's backwards because even with new batteries it won't work. 16:46:34 What happened, foof? Wore out the parenthesis buttons? 16:46:43 :-( 16:47:20 Now the plastic is completely stuck. I can't shake or bang it out, and can't get enough leverage with a coat-hanger to pull it out of the long, long casing. 16:48:05 Cheshire [n=e@amcant.demon.co.uk] has joined #scheme 16:48:23 needle-nose pliers? 16:49:11 No, it's about 8 inches in, I don't know of any pliers that long. 16:49:26 Aratsu- [n=blah@24.42.160.108] has joined #scheme 16:49:34 Hey, I have a question about closures: what is actually happening? I don't think I understand the scheme execution model well enough to understand how the variables are bound within a closure. 16:49:52 It occurs to me as a somewhat major design flaw in the keyboard. There's absolutely no way to get at that spot. 16:50:17 -!- tizoc is now known as otizoc 16:51:00 yikes 16:51:03 that is alarming 16:52:02 It's something down in the battery holder tube, that wedges if mis-inserted? 16:53:05 There must be a special tool you could make with the coathanger to fish it out 16:53:22 If you didn't live HALF A PLANET from me I'd be over there in a flash bristling with tools, as I love this kind of challenge 16:53:31 heh 16:54:55 -!- cknapp [i=d82f8555@gateway/web/ajax/mibbit.com/x-b5adb3e396b35a87] has left #scheme 16:55:12 What shape is the bit of plastic? 16:55:36 Round, cap-like, the size of a AA battery. 16:55:36 And how much mangling of it can be tolerated? 16:55:59 Wedged in very tightly because I put in the batteries after it. 16:56:07 So it's like the lid of a soft drink bottle, the width of an AA battery, and hollow and open at one end? The end facing you, or not? 16:56:26 yes 16:56:55 All is not lost 16:57:01 The bottom is facing you. 16:57:31 Ok 16:57:39 -!- lisppaste [n=lisppast@common-lisp.net] has quit ["Want lisppaste in your channel? Email lisppaste-requests AT common-lisp.net."] 16:57:39 -!- specbot [n=specbot@common-lisp.net] has quit [Connection reset by peer] 16:57:40 -!- minion [n=minion@common-lisp.net] has quit [Broken pipe] 16:57:57 Firstly, try straightening the coathanger, folding it in half, then bending the ends outwards to about 160 degrees or so to make vicious barbs 16:57:59 -!- Cheshire [n=e@amcant.demon.co.uk] has left #scheme 16:58:08 Cheshire [n=e@amcant.demon.co.uk] has joined #scheme 16:58:18 Insert this, and then find something you can wedge between the two sides to force them open harder than just pulling from the outside permits? 16:59:03 hmmm... 16:59:08 bweaver [n=bweaver@75.148.111.133] has joined #scheme 16:59:30 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [Nick collision from services.] 16:59:39 sladegen [n=nemo@unaffiliated/sladegen] has joined #scheme 16:59:50 cknapp [i=d82f8555@gateway/web/ajax/mibbit.com/x-b5adb3e396b35a87] has joined #scheme 17:00:10 Worth a try, but I'm falling asleep now... maybe tomorrow... 17:00:33 Best done with a clear head, yes 17:02:21 -!- 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"] 17:02:41 lisppaste [n=lisppast@common-lisp.net] has joined #scheme 17:03:24 BMeph [n=BMeph@wsip-70-167-169-169.sd.sd.cox.net] has joined #scheme 17:03:31 -!- cknapp [i=d82f8555@gateway/web/ajax/mibbit.com/x-b5adb3e396b35a87] has quit ["http://www.mibbit.com ajax IRC Client"] 17:03:34 Night all! 17:03:34 -!- xwl [n=user@123.112.115.27] has quit [No route to host] 17:03:52 nn! 17:04:09 saccade_ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 17:04:16 minion [n=minion@common-lisp.net] has joined #scheme 17:04:22 specbot [n=specbot@common-lisp.net] has joined #scheme 17:04:47 kryptiskt [n=irc@cust-IP-129.data.tre.se] has joined #scheme 17:08:56 -!- reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 104 (Connection reset by peer)] 17:11:13 reprore_ [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 17:19:07 hkBst [n=hkBst@gentoo/developer/hkbst] has joined #scheme 17:19:19 -!- bombshel1er13 [n=bombshel@net1.senecac.on.ca] has quit [Read error: 60 (Operation timed out)] 17:19:37 -!- otizoc is now known as tizoc 17:19:50 -!- alaricsp [n=alaricsp@host86-147-109-90.range86-147.btcentralplus.com] has quit [] 17:21:49 -!- 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)] 17:27:12 peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has joined #scheme 17:28:19 -!- jewel [n=jewel@dsl-242-159-249.telkomadsl.co.za] has quit [Operation timed out] 17:28:56 athos [n=philipp@92.250.204.223] has joined #scheme 17:32:54 zachk [i=47b665af@gateway/web/ajax/mibbit.com/x-c7425c42f9dcc763] has joined #scheme 17:36:09 geckosenator [n=sean@71.237.94.78] has joined #scheme 17:37:52 -!- Aratsu- [n=blah@24.42.160.108] has quit [No route to host] 17:38:46 luz [n=davids@139.82.89.70] has joined #scheme 17:41:36 r5rs argument evaluation 17:44:45 -!- levi` is now known as levi 17:44:54 Mr-Cat [n=Mr-Cat@78.107.234.53] has joined #scheme 17:47:57 peddie [n=peddie@GUGGENHEIM-FOUR-SEVENTEEN.MIT.EDU] has joined #scheme 17:48:09 -!- peddie [n=peddie@GUGGENHEIM-FOUR-SEVENTEEN.MIT.EDU] has quit [Read error: 54 (Connection reset by peer)] 17:48:15 mpeddie [n=peddie@GUGGENHEIM-FOUR-SEVENTEEN.MIT.EDU] has joined #scheme 17:48:27 -!- mpeddie [n=peddie@GUGGENHEIM-FOUR-SEVENTEEN.MIT.EDU] has quit [Remote closed the connection] 17:49:09 melito [n=melito@70.99.250.82] has joined #scheme 17:49:54 -!- jao [n=user@74.Red-80-24-4.staticIP.rima-tde.net] has quit [Read error: 113 (No route to host)] 17:51:29 Fulax [n=cyprien@pdpc/supporter/student/cnicolas] has joined #scheme 17:56:55 -!- rmrfchik [n=paul@62.117.74.154] has quit [Remote closed the connection] 17:57:01 -!- Mr-Cat [n=Mr-Cat@78.107.234.53] has quit ["Leaving"] 17:58:27 Mr_Cat_ [n=Mr-Cat_@hg-ro.corbina.net] has joined #scheme 18:00:31 cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has joined #scheme 18:01:23 rmrfchik [n=paul@relay2.jet.msk.su] has joined #scheme 18:02:54 GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has joined #scheme 18:03:12 -!- GreyLensman [n=ray@c-76-108-236-161.hsd1.fl.comcast.net] has quit [Client Quit] 18:03:21 joshg [i=8675fef9@gateway/web/ajax/mibbit.com/x-89723f6fc2528242] has joined #scheme 18:05:07 anyone have a good tutorial for lambda(s) in scheme? 18:06:47 -!- jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has quit [Connection timed out] 18:10:34 *sjamaan* 's jaw drops 18:12:13 jonrafkind [n=jon@crystalis.cs.utah.edu] has joined #scheme 18:13:01 ramkrsna [n=ramkrsna@unaffiliated/ramkrsna] has joined #scheme 18:15:07 -!- luz [n=davids@139.82.89.70] has quit ["Client exiting"] 18:15:33 joshg: that's a bit like asking for a tutorials for "int" in C. Lambda is the ultimate Scheme primitive. I recommend that you buy a copy of /The Little Schemer/ and work through its first few chapters. 18:16:11 ^ great recommendation 18:26:18 reading something now.. my problem is creating a procedure that takes a procedure of one argument as the argument, and then returns a procedure that applies the original procedure a number of times 18:27:34 joshg: Try doing it in steps 18:27:51 oh, i've been trying 18:28:05 midterm on wednesday, and if i don't know how to do this, i can't see me passing 18:28:09 What do you have now? 18:28:11 lisppaste: url 18:28:11 To use the lisppaste bot, visit http://paste.lisp.org/new/scheme and enter your paste. 18:28:36 i've had some things, but always erase 18:28:39 give me a minute 18:32:37 iVaeshir [n=ivaeshir@nomad.ccs.neu.edu] has joined #scheme 18:32:56 -!- iVaeshir [n=ivaeshir@nomad.ccs.neu.edu] has quit [Client Quit] 18:33:16 Amplifying sjamaan's suggestion, try a simpler version of your problem: create a procedure that takes a number, and returns a procedure that when called, returns the number originally supplied. 18:33:32 jmo-_ [n=jmo-@83.233.243.145] has joined #scheme 18:34:46 -!- joshg [i=8675fef9@gateway/web/ajax/mibbit.com/x-89723f6fc2528242] has quit ["http://www.mibbit.com ajax IRC Client"] 18:35:50 joshg pasted "lambda" at http://paste.lisp.org/display/75124 18:35:54 joshg [i=8675fef9@gateway/web/ajax/mibbit.com/x-16172d249dc8d341] has joined #scheme 18:36:54 i just pasted it... not sure what's happening 18:37:39 joshg: What does (x x) do? 18:37:47 (given any value of x) 18:37:47 http://paste.lisp.org/display/75124 if it didn't work 18:37:55 It worked 18:38:07 You got disconnected for a second, though 18:39:48 -!- joshg [i=8675fef9@gateway/web/ajax/mibbit.com/x-16172d249dc8d341] has quit [Client Quit] 18:40:12 joshg [i=8675fef9@gateway/web/ajax/mibbit.com/x-200791f9e48a1dec] has joined #scheme 18:40:37 -!- r0bby [n=wakawaka@guifications/user/r0bby] has quit [Connection timed out] 18:40:42 my connection is so bunk 18:40:49 13:38 joshg increment 13:38 joshg or that's what i think it should be 13:38 joshg basically, i needed to create a procedure single to call increment once on a number, double to call the procedure twice... etc 13:39 joshg something like... ((double increment) 2) would spit out 4 13:39 joshg i don't think i'm getting this lambda thing 18:41:07 You should use a real IRC client ;) 18:41:40 i normall yuse mIRC, but that's probably bunk too 18:41:40 do you know what i'm trying to achieve though? 18:41:47 it's basically the only thing blocking me right now, brutal 18:42:30 rudybot: eval ((lambda (x) (lambda (x) x) 1) 2) 18:42:31 sjamaan: ; Value: 1 18:43:04 rudybot: eval ((lambda (x) (lambda (y) x) 1) 2) 18:43:04 sjamaan: ; Value: 1 18:43:10 rudybot: eval ((lambda (x) (lambda (y) y) 1) 2) 18:43:10 sjamaan: ; Value: 1 18:43:20 so Riastradh, why didn't you accept your Scheme Steering Commitee nomination? 18:43:54 He refuses to join any club that would have him as a member. 18:44:22 and I was gonna make him an honoury member of the MickeyDee's b-day club :( 18:44:35 joshg: Ignore me 18:45:05 sjamaan: lol, i can't 18:45:28 it's a homework question, so i don't know if that bothers you (if it's any consolation, it is way past overdue) 18:45:34 rudybot: eval (((lambda (x) (lambda (x) x)) 1) 2) 18:45:34 sjamaan: ; Value: 2 18:46:03 rudybot: eval (((lambda (x) (lambda (y) x)) 1) 2) 18:46:03 sjamaan: ; Value: 1 18:46:07 ^ compare those two 18:46:23 ...paredit is spoiling me :) 18:46:40 as far as i can see, they are the same, except the second lambda takes an argyment of y 18:46:59 Yes, it takes an argument and names it y inside the body 18:47:15 alright 18:47:16 .. 18:47:47 The former first takes an argument, names it x inside its body, which is a lambda which takes an argument and names it x inside *its* body 18:48:18 wow, that's mind-boggling 18:48:49 joshg: In other words, the former's inner lambda's X shadows the outer one 18:49:01 Making the outer X invisible to the inner lambda's body 18:49:32 In the second case, it can still see x, because the inner one names its argument Y instead of X 18:49:49 yeah but how does that help me 18:49:56 Look at your lisppaste again 18:50:25 Specifically, look at the definition for triple 18:50:31 i did 18:50:31 even morelost now 18:51:10 -!- jmo- [n=jmo-@83.233.243.145] has quit [Read error: 110 (Connection timed out)] 18:51:48 joshg: You have a lambda nested in two other lambdas, all of which name their argument X 18:52:02 The innermost one cannot see the arguments of the other ones 18:55:56 -!- Cheshire [n=e@amcant.demon.co.uk] has quit ["This computer has gone to sleep"] 18:56:31 sjamaan: dont you think it would've been easier to use let instead of lambda? :) 18:56:51 leppie: his problem is that he doesn't understand lambda. 18:57:07 This is a homework problem. 18:57:49 rudybot: eval (define keep-plus-one (lambda (x) (lambda () (+ 1 x)))) 18:57:59 Cheshire [n=e@amcant.demon.co.uk] has joined #scheme 18:58:11 rudybot: (define a (keep-plus-one 12)) 18:58:11 Daemmerung: ? 18:58:21 rudybot: eval (define a (keep-plus-one 12)) 18:58:28 rudybot: eval (a) 18:58:28 Daemmerung: ; Value: 13 18:58:37 yay 19:00:20 *sjamaan* prods joshg 19:00:23 Still with us? 19:02:23 hotblack23 [n=jh@p5B056B28.dip.t-dialin.net] has joined #scheme 19:02:39 i think he fried during re-entry 19:02:49 aww 19:06:01 they should they 1st year students to program in scheme just using the 4/5 core forms and build on that 19:06:35 but like for a good time to drill it into theor heads 19:07:19 yeah, he's struggling with lambda and he's already using the shorthand form 19:07:22 Makes no sense 19:10:50 I think they should make 1st year students program a rule 110 CA for an entire year before they're allowed to do anything else. ;) 19:11:09 What's a "rule 110 CA"? 19:11:20 i was just gonan google that :) 19:11:32 CA = Cellular Automaton? 19:11:35 yes 19:11:44 http://en.wikipedia.org/wiki/Rule_110 19:11:54 Stephen Wolfram's favorite baby... bleck. 19:12:28 what does it mean "Turing Complete" 19:12:29 ? 19:12:38 It means it can compute anything 19:12:42 anything computable 19:12:44 what does that mean 19:12:47 what does that mean????????????? 19:12:51 which is defined as anything that a Turing machine can computer. 19:12:54 the program can HALT 19:12:55 compute* 19:12:56 what?????? 19:12:58 -!- joshg [i=8675fef9@gateway/web/ajax/mibbit.com/x-200791f9e48a1dec] has quit ["http://www.mibbit.com ajax IRC Client"] 19:12:59 heh 19:13:35 You scared away joshg! 19:13:36 compute 19:14:10 Church and Turing proposed that a rather simple model, the Turing machine, was at least as powerful as any other computer or computation model that one could build. 19:14:49 -!- ecraven [n=nex@140.78.42.103] has quit ["bbl"] 19:14:57 the lambda calculus is another model of computation; everything that you can computer using the lambda calculus, you can also compute on a turing machine, and vice versa. 19:15:03 why is 110 turing complete but rule 36 isn't? 19:15:16 erm, not sure. Not really my field. 19:15:32 why is 110 turing complete but the song Golden Brown by Stranglers isn't? 19:15:39 haha 19:15:40 probably less permutations of evolutions or something liek that :) 19:17:44 I think Cheshire is thinking of Rule 34. 19:17:57 why is 110 turing complete but rule 34 isn't? 19:18:21 This question has no answer? 19:18:58 -!- zachk [i=47b665af@gateway/web/ajax/mibbit.com/x-c7425c42f9dcc763] has quit ["http://www.mibbit.com ajax IRC Client"] 19:19:09 is the infinite sequence (0 1 0 1 ...) turing complete? 19:19:24 not in any sense I am aware of... 19:19:30 Cheshire: I assume other rules can be Turing complete but haven't been proven to be 19:19:38 is j85wilson turing complete? 19:19:47 hopefully I'm trans-Turing. 19:19:54 Cheshire: Also, for example, the rule that converts everything always to 0 probably isn't capable of computing much ;) 19:19:57 a subset of pi's binary respresentation might be turing complete 19:20:18 (lambda (i) 0) is not turing complete 19:20:30 Your mom is not Turing complete. 19:20:37 why is pi turing complete but 22/7 is not turing complete? 19:20:59 I can't think of any sense in which any part of pi would be turing complete... 19:21:03 becos double digits are never turing complete :p 19:21:32 I can't think of any sense in which any part of pi would be a model of computation at all... 19:21:38 is LAMBDA turing complete 19:21:48 is SET-CDR! turing complete 19:22:05 Cheshire: are you just trying to make noise? 19:22:07 Attention, Ludwig Wittgenstein, please pick up the white courtesy phone, Ludwig Wittgenstein. 19:22:29 j85wilson, Am I making Turing complete? 19:22:51 j85wilson: some subset of it's exact binary representation, should translate into a piece of 'code' that is turing complete 19:22:52 is the stock market Turing complete? 19:22:57 *Daemmerung* is bored 19:23:29 lets do Godels Last Theorem next? 19:23:37 yay 19:23:38 leppie: I'm pretty sure that to be considered a model of computation, you should be a function which takes inputs (programs) to outputs (executions). 19:24:04 "a piece of code", without some machine to "run" it on, is meaningless as a computational model. 19:24:25 the machine to "run" it on should in fact be a model of computation, not the code itself. 19:24:43 ok 19:24:59 now, I'm no computer scientist, so I could be way off base here. 19:25:05 but that's my understanding. 19:25:28 sounds right when you put it like that :) 19:26:46 for instance, the lambda calculus is a set of rules for mapping expressions (programs, input) to other expressions (output). 19:27:46 and everything is defined in terms of itself 19:28:02 sometimes 19:29:57 offby1: how is Frodo? 19:30:51 j85wilson: Healthy, happy, and as piggy as ever 19:30:59 good to hear it. 19:40:54 -!- yaroslav_h [n=yaroslav@89-109-22-97.dynamic.mts-nn.ru] has quit [Connection timed out] 19:40:55 -!- Cheshire [n=e@amcant.demon.co.uk] has quit [Read error: 113 (No route to host)] 19:41:17 yaroslav_h [n=yaroslav@89-109-22-97.dynamic.mts-nn.ru] has joined #scheme 19:41:24 Cheshire [n=e@amcant.demon.co.uk] has joined #scheme 19:43:10 I need a good name for "I'm a function that returns all my arguments turned into strings and concatenated with a delimiter in between them" 19:43:44 (foo "-" 1 "2" '3) returns "1-2-3" for instance. 19:44:10 There are many such functions. 19:44:22 string-join 19:44:30 arguments->string just doesn't seem poignant enough. 19:44:42 Here's an example of another one: (bar "-" 10 "20" 30) ;Value: "a-20-1e" 19:44:44 synx, inserticate 19:44:46 join->string 19:45:19 Try this one: (frob "-" (lambda (x) x) 'foo) ;Value: "#[procedure anonymous]-#[symbol \"foo\"]" 19:45:34 string-join implies that it joins strings, but mine takes certain things and converts them to strings. 19:46:01 There is no canonical map from arbitrary objects into strings. 19:46:04 join->string implies that it started out as a join, whatever that is. 19:46:09 Perhaps you want whatever WRITE gives? If so, WRITE would be a good morpheme to put into the name. 19:46:26 Perhaps WRITE-OBJECTS-TO-STRING, or DISPLAY-OBJECTS-TO-STRING, &c. 19:46:36 I don't use arbitrary objects. 19:46:36 Just strings, and a few labels and numbers. 19:47:09 I don't know what a `label' is, but there are two obvious choices for mapping strings to strings -- by identity or by quotation. 19:47:12 I think I'll go with inserticate :3 19:47:15 There are many choices for numbers. 19:47:32 make it 2 functions then, and give them the correct names 19:48:13 Even if you choose a particular radix and restrict yourself to the integers -- a tiny subset of the numbers --, you have a choice of case and a choice of prefix. 19:48:24 Yes it does map them by identity, except empty strings get turned to 'blank so I can skip them. 19:48:38 (foo "-" "a" "" "" "" "" "b") becomes "a-b" 19:48:52 This assumes, of course, that you want to make the output readable according to Scheme's lexical syntax. Otherwise, you have plenty of other options. 19:49:04 For instance, you could map the value of (EXPT 2 1024) to the string "1 * 2^1024". 19:49:22 Or you could map the value of (EXPT 10 1024) to "1e1024" or "1E1024" or "1e+1024" or "1E+1024". 19:49:28 Unfortunately for all parties concerned I'm stuck in base 10 :> 19:49:28 number->string does what I want. 19:50:25 Anyway I'm not looking for a lecture on the morality of my stringizing function. I just want a good name for something that converts stuff, and concatenates the results with a delimiter. 19:50:31 So perhaps you should give up trying to find a single name for the immense collection of choices you are making for this map, and you should instead use a collection of names for those choices, such as what one finds in my or foof's formatting combinators, the latter at . 19:51:15 jao [n=user@64.Red-83-33-179.dynamicIP.rima-tde.net] has joined #scheme 19:51:19 I'd have to ask my wife, but I don't think that "write" is a morpheme. 19:51:37 foof, there is a typo in the documentation for FMT/LAST: `As JOIN, but the last element of the list _if_ formatted with...' 19:51:42 is morpheme a hetrological word? 19:51:54 it is a linguistic term 19:52:08 I don't want to type (symb/fmt->string ) around every symbol. It's a lot simpler than that, nothing special. 19:52:21 What do you want this for, synx? 19:52:42 I'm building query strings to send to a SQL library. 19:53:29 j85wilson, would you be happier if I said `lexeme'? For the context, both terms work for `write'. 19:54:30 I'm happy enough as is, really. And I'm not sure that it isn't a morpheme either, as it is a pretty simple word. It was just that your use of the word caused me to ponder whether or not it is in fact a morpheme. 19:54:33 synx, so what do you want this SYNX-SPECIALIZED-WRITE-OBJECTS-TO-STRING-IN-DECIMAL-WITH-STRINGS-UNQUOTED-AND-EMPTY-STRINGS-SKIPPED-AND-EVERYTHING-JOINED-BY-A-SEPARATOR? 19:55:00 ...um, `so what do you want to do with this...'? 19:55:07 how about BUILD-QUERY 19:55:26 What about conc/intersperse? 19:55:31 -!- peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has quit [Connection timed out] 19:55:47 synx: don't you want to divide it into 2 functions. One will be a generic to-string, that can be mapped over a list and one will be string-join? 19:55:49 Or, more to the point: Why are you haphazardly gluing sequences of strings together, rather than providing a structured language for SQL queries or a collection of combinators for building them (and quoting/escaping them as necessary)? 19:55:57 It seems to do what Chicken's (only Chicken's?) "conc" procedure does, and also a bit of interspersing 19:56:29 i smell SQL injection :p 19:56:43 ewwwww 19:56:47 *sjamaan* pinches his nose 19:57:11 I hope you don't believe that it's OK to be sloppy about these things. 19:57:29 Injection? Is SQL a kind of opiate? 19:57:53 is SQL turing complete 19:57:58 No. 19:58:05 SQL can't do recursion 19:58:13 (or looping) 19:58:21 you can implement one step of game of life as an SQL query 19:58:26 is game of life turing complete? 19:58:42 One step is not sufficient. 19:58:49 Cheshire: Please, quit that drugs as soon as possible :) 19:58:54 SQL isn't a very structured language. And Mr_Cat_ I do that, but since I never need to separate the tasks want to only use one function. 19:58:56 Riastradh is there really a big difference between 1 and infinity? 19:59:06 Yes. 19:59:16 synx, SQL is structed 19:59:38 That is absurd, synx. 19:59:39 heh! 19:59:40 peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has joined #scheme 20:00:19 Cheshire, I know that if you're a mathematician, it is easy to forget about the numbers that go between 1 and aleph null, but they are there. (There are even some interesting ones, such as 2, which is very useful, and 3, which is the first odd prime.) 20:00:32 If I bother to define that "id = ?" means (build-equals-query (column-label "id") prepared-value) it's just easier to program that in SQL than make a whole scheme version of the same damn thing. 20:00:54 It is very easy to write programs vulnerable to SQL injection. Don't. 20:00:58 uhoh, I sense the all numbers are interesting proof coming up... 20:01:06 You can count on me Riastradh 20:01:13 Not right now, I can't. 20:01:23 All the user input will be in parameters anyway. 20:01:34 After being itself parsed. 20:02:04 -!- Cheshire [n=e@amcant.demon.co.uk] has quit [Read error: 113 (No route to host)] 20:02:28 Parameters are good, mmmkay? 20:03:14 j85wilson: if one number is less interesting than another then they can all be ranked from most interesting to least interesting. That means there's one number more interesting than all the others. But that's boring! I'm going to go play video games. 20:04:14 synx: That's not so 20:05:04 If, i.e. a 'is more interesting, than' b <=> a > b then you won't find the most interesting, say, natural number 20:05:48 heh, ubounded sets. 20:06:12 Mr_Cat_ didn't get my joke 20:06:38 Also, we still have to reason about 'more interestring' relation 20:06:53 It probably isn't transitive. 20:07:07 j85wilson: yes, for example 20:08:26 nontransitivity is amusing 20:08:42 it throws people into absolute fits in sports, which makes me laugh. 20:09:44 a wins against b, but b does not necessarily win against a? 20:10:39 choas [n=lars@p5B0DE372.dip.t-dialin.net] has joined #scheme 20:11:29 Hm... Am I the only one who cannot connect to synthcode.com? 20:12:54 I can connect 20:13:08 a beats b, b beats c, but c beats a. Which is the best now? Endless debate. Hilarity ensues. 20:13:37 I can connect. 20:14:19 Strange. I even cannot trace tho complete route to it 20:14:28 s/tho/the/ 20:14:41 Stale DNS caches? 20:14:49 heh rock paper scissors 20:15:47 My nearest caching resolver claims 209.150.108.170, which the authoritative nameservers agree with. 20:16:23 Riastradh: 209.150.108.170 is the last for me 20:16:46 Some hop along the way drops pings, which is pretty lame, but I can open TCP connections to the server at synthcode.com. 20:16:47 Nm 20:16:56 -!- kniu [n=kniu@CMU-284828.WV.CC.CMU.EDU] has quit [Remote closed the connection] 20:17:24 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit [hubbard.freenode.net irc.freenode.net] 20:17:24 -!- hark [n=strider@hark.slew.org] has quit [hubbard.freenode.net irc.freenode.net] 20:17:24 -!- p1dzkl [i=p1dzkl@2001:470:1f09:979:0:0:0:14] has quit [hubbard.freenode.net irc.freenode.net] 20:17:24 -!- XTL [i=t6haha00@rhea.oamk.fi] has quit [hubbard.freenode.net irc.freenode.net] 20:17:24 -!- jmo-_ [n=jmo-@83.233.243.145] has quit [hubbard.freenode.net irc.freenode.net] 20:17:24 -!- minion [n=minion@common-lisp.net] has quit [hubbard.freenode.net irc.freenode.net] 20:17:24 -!- levi [n=user@levi.dsl.xmission.com] has quit [hubbard.freenode.net irc.freenode.net] 20:17:24 -!- mornfall [n=mornfall@anna.fi.muni.cz] has quit [hubbard.freenode.net irc.freenode.net] 20:17:24 -!- Modius__ [n=Modius@adsl-68-91-192-214.dsl.austtx.swbell.net] has quit [hubbard.freenode.net irc.freenode.net] 20:17:24 -!- rotty [n=rotty@83-215-154-5.hage.dyn.salzburg-online.at] has quit [hubbard.freenode.net irc.freenode.net] 20:17:24 -!- Leonidas [n=Leonidas@unaffiliated/leonidas] has quit [hubbard.freenode.net irc.freenode.net] 20:17:24 -!- vincenz [n=vincenz@li23-146.members.linode.com] has quit [hubbard.freenode.net irc.freenode.net] 20:17:24 -!- ray [i=ray@unaffiliated/ray] has quit [hubbard.freenode.net irc.freenode.net] 20:17:49 synthcode's IP is identified as 209.150.108.170, but the last hop in traceroute is to 209.150.108.169 20:17:52 jmo-_ [n=jmo-@83.233.243.145] has joined #scheme 20:17:52 minion [n=minion@common-lisp.net] has joined #scheme 20:17:52 levi [n=user@levi.dsl.xmission.com] has joined #scheme 20:17:52 mornfall [n=mornfall@anna.fi.muni.cz] has joined #scheme 20:17:52 antoszka [n=antoszka@unaffiliated/antoszka] has joined #scheme 20:17:52 Modius__ [n=Modius@adsl-68-91-192-214.dsl.austtx.swbell.net] has joined #scheme 20:17:52 hark [n=strider@hark.slew.org] has joined #scheme 20:17:52 rotty [n=rotty@83-215-154-5.hage.dyn.salzburg-online.at] has joined #scheme 20:17:52 Leonidas [n=Leonidas@unaffiliated/leonidas] has joined #scheme 20:17:52 XTL [i=t6haha00@rhea.oamk.fi] has joined #scheme 20:17:52 ray [i=ray@unaffiliated/ray] has joined #scheme 20:17:52 vincenz [n=vincenz@li23-146.members.linode.com] has joined #scheme 20:17:52 p1dzkl [i=p1dzkl@2001:470:1f09:979:0:0:0:14] has joined #scheme 20:20:15 kniu [n=kniu@CMU-284828.WV.CC.CMU.EDU] has joined #scheme 20:20:24 And I even cannot ping synthcode 20:20:46 Some hop along the way (possibly the server at synthcode.com) drops pings, as I said. 20:21:33 sorry, I thought you meant it drops not all the pings 20:22:24 -!- yaroslav_h [n=yaroslav@89-109-22-97.dynamic.mts-nn.ru] has quit [Read error: 104 (Connection reset by peer)] 20:22:27 yaroslav_ [n=yaroslav@89-109-22-97.dynamic.mts-nn.ru] has joined #scheme 20:23:09 -!- yaroslav_ is now known as yaroslav_h 20:24:27 In fact I already have some strange problems with certain web-sites, when at first it takes a minute or two to connect to them, but after that everything is ok. I think, I'll check synthcode tomorrow, using another isp. 20:30:16 Behind any state-mandated internet censors? 20:32:51 attila_lendvai [n=ati@catv-89-132-189-132.catv.broadband.hu] has joined #scheme 20:33:31 Riastradh: Not yet, I hope. Anyway, censoring out synthcode alone is a bit weird. Besides, I mostly experience such problems with "local" sites. 20:33:56 -!- yaroslav_h [n=yaroslav@89-109-22-97.dynamic.mts-nn.ru] has quit ["    (xchat 2.4.5  )"] 20:34:15 yaroslav_h [n=yaroslav@89.109.22.97] has joined #scheme 20:34:58 In fact, I'll also have to check my own router, it might drop packets as well (a very buggy one) 20:35:02 it's nearly unix-time 1234567890 :) 20:35:08 five days or so left 20:37:41 MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 20:41:03 jewel [n=jewel@dsl-242-159-249.telkomadsl.co.za] has joined #scheme 20:41:06 -!- j85wilson [n=j85wilso@cpe-75-187-46-126.columbus.res.rr.com] has quit ["Leaving."] 20:42:54 -!- MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has quit [hubbard.freenode.net irc.freenode.net] 20:42:54 -!- yaroslav_h [n=yaroslav@89.109.22.97] has quit [hubbard.freenode.net irc.freenode.net] 20:42:54 -!- jonrafkind [n=jon@crystalis.cs.utah.edu] has quit [hubbard.freenode.net irc.freenode.net] 20:42:54 -!- Fulax [n=cyprien@pdpc/supporter/student/cnicolas] has quit [hubbard.freenode.net irc.freenode.net] 20:42:54 -!- athos [n=philipp@92.250.204.223] has quit [hubbard.freenode.net irc.freenode.net] 20:42:54 -!- Guest2832 [n=m@dslb-088-066-253-007.pools.arcor-ip.net] has quit [hubbard.freenode.net irc.freenode.net] 20:42:54 -!- synthase [n=synthase@c-69-243-234-165.hsd1.al.comcast.net] has quit [hubbard.freenode.net irc.freenode.net] 20:42:54 -!- certainty|work [n=david@alpha.d-coded.de] has quit [hubbard.freenode.net irc.freenode.net] 20:42:54 -!- |jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [hubbard.freenode.net irc.freenode.net] 20:42:54 -!- fishey [n=fisheyss@ool-4573344b.dyn.optonline.net] has quit [hubbard.freenode.net irc.freenode.net] 20:42:54 -!- ski__ [n=md9slj@remote3.student.chalmers.se] has quit [hubbard.freenode.net irc.freenode.net] 20:42:54 -!- notByan [n=notByan@lackey.csl.mtu.edu] has quit [hubbard.freenode.net irc.freenode.net] 20:42:54 -!- tltstc [n=tltstc@cpe-76-90-92-154.socal.res.rr.com] has quit [hubbard.freenode.net irc.freenode.net] 20:42:54 -!- rodge [n=roderic@pinball.ccs.neu.edu] has quit [hubbard.freenode.net irc.freenode.net] 20:42:54 -!- tarbo [n=me@unaffiliated/tarbo] has quit [hubbard.freenode.net irc.freenode.net] 20:43:24 -!- newrudybot [n=luser@winooski.ccs.neu.edu] has quit [Remote closed the connection] 20:43:37 MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 20:43:37 yaroslav_h [n=yaroslav@89.109.22.97] has joined #scheme 20:43:37 jonrafkind [n=jon@crystalis.cs.utah.edu] has joined #scheme 20:43:37 Fulax [n=cyprien@pdpc/supporter/student/cnicolas] has joined #scheme 20:43:37 athos [n=philipp@92.250.204.223] has joined #scheme 20:43:37 Guest2832 [n=m@dslb-088-066-253-007.pools.arcor-ip.net] has joined #scheme 20:43:37 synthase [n=synthase@c-69-243-234-165.hsd1.al.comcast.net] has joined #scheme 20:43:37 certainty|work [n=david@alpha.d-coded.de] has joined #scheme 20:43:37 rodge [n=roderic@pinball.ccs.neu.edu] has joined #scheme 20:43:37 |jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #scheme 20:43:37 fishey [n=fisheyss@ool-4573344b.dyn.optonline.net] has joined #scheme 20:43:37 ski__ [n=md9slj@remote3.student.chalmers.se] has joined #scheme 20:43:37 notByan [n=notByan@lackey.csl.mtu.edu] has joined #scheme 20:44:08 tltstc [n=tltstc@cpe-76-90-92-154.socal.res.rr.com] has joined #scheme 20:44:58 arcfide [n=arcfide@adsl-99-137-203-69.dsl.bltnin.sbcglobal.net] has joined #scheme 20:46:03 mr-slave [n=luser@winooski.ccs.neu.edu] has joined #scheme 20:46:06 Good afternoon everyone. 20:46:15 mr-slave: countdown for Elly 20:46:15 another four days, two hours left 20:46:37 mr-slave: countdown for Elly 20:46:38 Elly: another four days, two hours left 20:47:14 cool :) 20:47:43 -!- rodge [n=roderic@pinball.ccs.neu.edu] has quit [Remote closed the connection] 20:47:49 rodge [n=roderic@pinball.ccs.neu.edu] has joined #scheme 20:47:54 ski____ [n=md9slj@remote3.student.chalmers.se] has joined #scheme 20:47:59 -!- ski__ [n=md9slj@remote3.student.chalmers.se] has quit [Remote closed the connection] 20:48:19 -!- athos [n=philipp@92.250.204.223] has quit [Remote closed the connection] 20:48:25 -!- ski____ is now known as ski__ 20:48:35 athos [n=philipp@92.250.204.223] has joined #scheme 20:57:58 -!- pfo [n=pfo@chello084114049188.14.vie.surfer.at] has quit [Read error: 104 (Connection reset by peer)] 20:58:04 *proq* restrains himself from making jokes about unix partying and hexdumping 20:59:35 aaco_ [n=aaco@unaffiliated/aaco] has joined #scheme 21:00:32 -!- aaco [n=aaco@unaffiliated/aaco] has quit [Nick collision from services.] 21:00:38 -!- aaco_ is now known as aaco 21:03:15 -!- MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has quit [Read error: 104 (Connection reset by peer)] 21:05:06 MichaelRaskin_ [n=raskin@195.91.224.193] has joined #scheme 21:05:43 ken-p [n=unknown@84.92.70.37] has joined #scheme 21:07:16 -!- Fulax [n=cyprien@pdpc/supporter/student/cnicolas] has quit ["Leaving"] 21:07:20 -!- hkBst [n=hkBst@gentoo/developer/hkbst] has quit [Read error: 104 (Connection reset by peer)] 21:08:01 hkBst [n=hkBst@gentoo/developer/hkbst] has joined #scheme 21:10:39 -!- MichaelRaskin_ [n=raskin@195.91.224.193] has quit [hubbard.freenode.net irc.freenode.net] 21:10:39 -!- tltstc [n=tltstc@cpe-76-90-92-154.socal.res.rr.com] has quit [hubbard.freenode.net irc.freenode.net] 21:10:40 -!- notByan [n=notByan@lackey.csl.mtu.edu] has quit [hubbard.freenode.net irc.freenode.net] 21:10:40 -!- certainty|work [n=david@alpha.d-coded.de] has quit [hubbard.freenode.net irc.freenode.net] 21:10:40 -!- Guest2832 [n=m@dslb-088-066-253-007.pools.arcor-ip.net] has quit [hubbard.freenode.net irc.freenode.net] 21:10:40 -!- synthase [n=synthase@c-69-243-234-165.hsd1.al.comcast.net] has quit [hubbard.freenode.net irc.freenode.net] 21:10:40 -!- jonrafkind [n=jon@crystalis.cs.utah.edu] has quit [hubbard.freenode.net irc.freenode.net] 21:10:40 -!- fishey [n=fisheyss@ool-4573344b.dyn.optonline.net] has quit [hubbard.freenode.net irc.freenode.net] 21:10:40 -!- |jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [hubbard.freenode.net irc.freenode.net] 21:10:40 -!- yaroslav_h [n=yaroslav@89.109.22.97] has quit [hubbard.freenode.net irc.freenode.net] 21:11:10 tltstc [n=tltstc@cpe-76-90-92-154.socal.res.rr.com] has joined #scheme 21:11:10 MichaelRaskin_ [n=raskin@195.91.224.193] has joined #scheme 21:11:10 yaroslav_h [n=yaroslav@89.109.22.97] has joined #scheme 21:11:10 jonrafkind [n=jon@crystalis.cs.utah.edu] has joined #scheme 21:11:10 Guest2832 [n=m@dslb-088-066-253-007.pools.arcor-ip.net] has joined #scheme 21:11:10 synthase [n=synthase@c-69-243-234-165.hsd1.al.comcast.net] has joined #scheme 21:11:10 certainty|work [n=david@alpha.d-coded.de] has joined #scheme 21:11:10 |jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #scheme 21:11:10 fishey [n=fisheyss@ool-4573344b.dyn.optonline.net] has joined #scheme 21:11:10 notByan [n=notByan@lackey.csl.mtu.edu] has joined #scheme 21:16:07 Arelius [n=Indy@68.183.230.134] has joined #scheme 21:18:28 amoe [n=amoe@cpc1-brig3-0-0-cust512.brig.cable.ntl.com] has joined #scheme 21:22:07 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 21:27:43 Is there a formal description on how functions in plt docs are annotated with types (eg. string? -> list?)? 21:27:51 Hm... 21:27:58 pfo [n=pfo@chello084114049188.14.vie.surfer.at] has joined #scheme 21:28:16 I think, I should search for scheme code documentation tool and use its notation 21:28:43 Look for `contracts'. 21:29:15 rudybot: doc contracts 21:29:16 Mr_Cat_: not found in any library's documentation: contracts 21:29:23 Riastradh: thanks 21:30:55 -!- jmo-_ [n=jmo-@83.233.243.145] has quit [Remote closed the connection] 21:32:18 schmalbe [n=bernhard@p549A14EF.dip0.t-ipconnect.de] has joined #scheme 21:32:35 Adamant [n=Adamant@c-71-226-66-93.hsd1.ga.comcast.net] has joined #scheme 21:33:32 Hm... `contracts' in plt seem to be a bit different thing from what i need. I failed to express the Idea clearly, but I'm just looking for a more or less commonly used notation for comments, describing types of function arguments and return values. if there is one, of course. 21:33:35 -!- amoe [n=amoe@cpc1-brig3-0-0-cust512.brig.cable.ntl.com] has quit ["leaving"] 21:34:14 amoe [n=amoe@cpc1-brig3-0-0-cust512.brig.cable.ntl.com] has joined #scheme 21:35:20 Mr_Cat_: rudybot's `doc' thing looks only for documentation for bindings. (And yes, these are contracts that are used in the docs.) 21:39:18 Ok, thanks. Well, those seem to be an overkill for me. I'm just commenting my own code. 21:43:05 REPLeffect [n=REPLeffe@69.54.115.254] has joined #scheme 21:47:47 Mr_Cat_: If you only intend to document your code, then comments are fine, of course. Contracts are better in that they will actually enforce the checks, and Typed Scheme is yet another step up to a safer world. 21:50:05 eli: Yes, I'm just trying to find the best way to document my code. So, are there any documentation generators for scheme, someting like haddock or edoc, maybe? 21:52:13 Apart from documenting the code. What I'm doing right now is inventing a bicycle for string formatting. I've written a macro (called ~) that formats a string, via extracting expressions, surrounded by tildes. E.g. (~ "x=~x~") will show the value of x at runtime (I'll ask lisppaste to paste the code). Apart from disadvantages of such way of formatting, are there ways to improve this macro somehow? 21:52:20 Mr-Cat pasted "Formatting bicycle" at http://paste.lisp.org/display/75145 21:53:19 Mr_Cat_: for code documentation we use Scribble -- but that's obviously very plt-specific. 21:53:33 There is something wrong with what you are doing: DISPLAY is seldom really what you want. 21:53:35 Similar answer for your `~' macro. 21:54:27 Riastradh: So, there should be a function, that will format the values depending on their types? 21:55:13 No. Type is the wrong information. Intent is the right information. 21:55:25 eli: Is scribble so plt-specific, that it won't be able to parse a valid chicken scheme program? 21:56:27 Riastradh: Do you mean, that there are always several ways to format a single given value (e.g. different radices for numbers)? 21:56:38 Indeed there are. 21:58:23 How much worse would it be to write double-quotes rather than tildes, and write in a LET binding how you would like the object to be formatted? 21:58:42 (let ((x (format:display x))) (format:sequence "x = "x"")) 21:59:06 -!- Elly [n=elly@unaffiliated/elly] has quit ["re-screening"] 21:59:44 Elly [n=elly@unaffiliated/elly] has joined #scheme 22:03:10 Mr_Cat_: Yes. It's not a tool that parses your source code, it's a tool for writing documentation in. 22:03:31 Riastradh: Hm... Allowing to define formatting rules prior to the call to macro is a good idea. Thanks. 22:03:54 Mr_Cat_: It's tightly integrated with the PLT module system (to create correct links), and it depends on a syntactic extensions that is not implemented elsewhere. 22:04:05 eli: yeah, I've figured it out, looking through the docs for scribble. 22:04:22 it's a pity, that nothing like haddock exists 22:04:43 Maybe I'll write one some time :) 22:05:48 I don't know what "haddock" is, but if your requirement is a portable facility then things become much harder. 22:06:01 attila_lendvai_ [n=ati@catv-89-132-189-132.catv.broadband.hu] has joined #scheme 22:06:49 -!- attila_lendvai [n=ati@catv-89-132-189-132.catv.broadband.hu] has quit [Nick collision from services.] 22:06:56 -!- attila_lendvai_ is now known as attila_lendvai 22:07:02 eli: haddock is a tool, that parses specific comments in haskell source and generates documentation based on them. Something like simplified javadoc or doxygen 22:07:31 Mr_Cat_: Cool name :) 22:07:42 :) 22:07:54 Especially since those special comments often look like comic book swearing :) 22:09:30 mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 22:10:21 -!- REPLeffect [n=REPLeffe@69.54.115.254] has quit [Read error: 113 (No route to host)] 22:13:57 Mr_Cat_: Yes, I know that much -- but I have no experience with it. In any case, the part where you extract some text is easy; it's the rest of a documentation system that is difficult. 22:14:40 Yeah, you don't want the resulting output to look like ruby's RDoc or PHP's PHPDocumentor 22:14:52 *sjamaan* has nightmares from those 22:15:27 eli: Yes, so I add `maybe' and `some time' to my intention to implement one 22:15:33 :) 22:16:06 :) 22:16:21 .... :) 22:16:31 Mr_Cat_: Did you check out mole? 22:16:32 Ugh, one period too many. 22:16:37 aww :( 22:17:31 sjaaman: No, I'll google it now 22:18:28 I think you mentioned Chicken; mole's available as an egg 22:18:37 And I think it's a portable tool, available for other Schemes too 22:21:06 -!- amoe [n=amoe@cpc1-brig3-0-0-cust512.brig.cable.ntl.com] has quit ["leaving"] 22:21:06 Hm... Mole seems something useful... thanks 22:21:29 -!- schmalbe [n=bernhard@p549A14EF.dip0.t-ipconnect.de] has quit [Remote closed the connection] 22:21:50 morphir [n=morphir@217.168.81.9] has joined #scheme 22:22:16 yw 22:22:42 Btw. RDoc's output is not so bad (I look at http://rdoc.sourceforge.net/doc/index.html) imho. 22:23:17 And it builds some diagrams also 22:24:00 It outputs *frames*! 22:24:16 -!- jlongster [n=user@75.148.111.133] has quit [Read error: 113 (No route to host)] 22:25:23 Also, the way it puts every method of every class in the "methods" frame is useless when you're searching 22:25:43 Well, I'm not an experienced web developer, so I have no idea, why frames are bad. 22:25:43 You have to skip through a lot of cruft before you find what you need (if you don't overshoot) 22:26:19 Maybe it's just how browsers handle frames that sucks 22:26:53 It probably outputs frames because it has to provide static HTML 22:27:07 But I find the doxygen output (for example) to be a lot better 22:27:09 sjaaman: I think, they tried to implement something like javadoc.. 22:27:17 Possibly 22:27:23 I'm not familiar with javadoc 22:27:57 Thank your guardian angels, sjamaan. 22:28:06 heh 22:28:09 That bad, huh? 22:28:39 I believe the syntax of all these tools is based on javadoc, no? 22:28:48 /** ... */ 22:29:36 -!- hotblack23 [n=jh@p5B056B28.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 22:29:46 javadoc output is somewhat similar to rdoc: http://java.sun.com/javase/6/docs/api/index.html (an example of output). 22:30:05 Javadoc wouldn't be so bad if there was actually a neat little language behind it, though it would still suffer from the same sluggish, lumbering ways. 22:30:09 yes /** */ is used in javadoc also 22:30:16 PHPDocumenter looks more like javadoc than rdoc does 22:30:52 Though Javadoc has much better navigation 22:31:49 (even if it's frame-based) 22:32:04 For example, it only provides a list of classes, not of all methods in all clases 22:32:04 -!- langmartin [n=user@75.148.111.133] has quit [Read error: 113 (No route to host)] 22:32:57 Yes, All methods of all classes does not seem to be a good idea (I wonder, why does not rdoc provide all members of all classes :) ) 22:33:00 I guess it's a typical example of a bad standard which is then imitated badly 22:33:21 Because ruby can't produce a static list of class members 22:33:42 Even the method list is a "guess", since anyone can inject methods into any class 22:34:00 -!- jewel [n=jewel@dsl-242-159-249.telkomadsl.co.za] has quit [Read error: 113 (No route to host)] 22:34:31 Ah, forgot that ruby is similar to python in this respect 22:35:20 -!- Nshag [i=user@Mix-Orleans-106-2-37.w193-248.abo.wanadoo.fr] has quit ["Quitte"] 22:38:54 Mr_Cat_: PHPDocumentor is even worse if you are using only the OOP features of PHP. It produces another frame which lists all files in the project. 22:39:16 Clicking on a file shows the list of stuff defined in the file (loose functions, classes, etc) 22:39:35 *sjamaan* should check if there's a way to turn that off, it's highly annoying if you only have class files and template files 22:40:00 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit ["+++ killed by SIGSEGV +++"] 22:54:10 -!- bweaver [n=bweaver@75.148.111.133] has quit [] 22:54:24 sbarr [n=sb@compaq30.larp.blackrocknet.com] has joined #scheme 22:59:13 any suggestions on how to convert from a list to an integer, i.e., '(1 2 3 4) --> 1234 ? 23:00:33 (fold (lambda (x result) (+ (* result 10) x)) 0 LIST) ? 23:02:22 It could be faster to map the integer to a char and use list->string and string->number on the result, depending on the size of the numbers 23:03:49 sbarr: and what should '(10 20 30 40) evaluate to? 23:04:16 10203040 23:04:33 *sjamaan* loses 23:05:28 Guess my second comment could be altered a bit to make it work here, too 23:06:12 peddie [n=peddie@GUGGENHEIM-FOUR-SEVENTEEN.MIT.EDU] has joined #scheme 23:06:28 ok, i'll try that 23:06:29 thanks 23:07:31 rudybot: eval (string->number (apply string-append (map number->string '(10 20 30 40)))) 23:07:31 Mr_Cat_: ; Value: 10203040 23:07:59 s/apply string-append/string-concatenate/ 23:08:12 Oh, yes 23:08:30 rudybot: eval (string->number (string-concatenate (map number->string '(10 20 30 40)))) 23:08:30 Mr_Cat_: error: reference to undefined identifier: string-concatenate 23:08:45 rudybot: eval (require-extension srfi-13) 23:08:45 sjamaan: error: reference to undefined identifier: require-extension 23:08:48 heh 23:09:16 No SRFI-55 then 23:09:39 hm, that's not srfi-55 either ;) 23:09:47 rudybot: eval (require (lib "13.ss" "srfi")) 23:09:58 -!- yaroslav_h is now known as yaroslav_h|sleep 23:10:05 rudybot: eval (string->number (string-concatenate (map number->string '(10 20 30 40)))) 23:10:05 Mr_Cat_: ; Value: 10203040 23:10:13 \o/ 23:10:14 kilimanjaro [n=kilimanj@70.116.95.163] has joined #scheme 23:10:42 I think, plt's syntax for srfi loading is a bit too complicated 23:11:34 rudybot: eval (string->number (string-concatenate (map number->string (iota 100))))) 23:11:34 Mr_Cat_: error: eval:1:69: read: unexpected `)' 23:11:46 iirc it has a pretty simple structure underneath 23:11:50 rudybot: eval (string->number (string-concatenate (map number->string (iota 100)))) 23:11:50 Mr_Cat_: error: reference to undefined identifier: iota 23:12:01 -!- choas [n=lars@p5B0DE372.dip.t-dialin.net] has quit ["leaving"] 23:12:02 rudybot: eval (require (lib "1.ss" "srfi")) 23:12:08 Isn't every string a directory/filename, in reverse order? 23:12:18 so it would open srfi/1.ss under some library dir 23:12:18 rudybot: eval (string->number (string-concatenate (map number->string (iota 100)))) 23:12:31 Well, Yes 23:13:02 -!- Guest2832 [n=m@dslb-088-066-253-007.pools.arcor-ip.net] has quit ["This computer has gone to sleep"] 23:13:07 But i'd prefer (require-extension srfi-13) :) 23:13:16 :) 23:13:32 It's actually (require-extension (srfi 13)) according to SRFI-55 23:13:39 But srfi-13 will work in Chicken too :) 23:13:39 Seems, that rudybot does not like (iota 100)... 23:13:54 It'll probably time out soon 23:13:59 rudybot: eval (string->number (string-concatenate (map number->string (iota 10)))) 23:13:59 Mr_Cat_: ; Value: 123456789 23:14:03 (or it just silently stops) 23:14:06 meanburrito920_ [n=John@adsl-76-246-190-75.dsl.lsan03.sbcglobal.net] has joined #scheme 23:14:26 It's about 1.23e188 :) 23:14:34 :) 23:15:28 rudybot: eval (iota 10) 23:15:29 *offby1: error: reference to an identifier before its definition: iota in module: 'program 23:15:35 rudybot: eval (build-list 10 values) 23:15:35 *offby1: ; Value: (0 1 2 3 4 5 6 7 8 9) 23:16:05 rudybot: eval (iota 10) 23:16:05 Mr_Cat_: ; Value: (0 1 2 3 4 5 6 7 8 9) 23:16:09 it works 23:16:13 mine's more better! 23:16:48 rudybot: for Mr_Cat_ eval (iota 10) 23:16:48 Mr_Cat_: ; Value: (0 1 2 3 4 5 6 7 8 9) 23:16:57 rudybot: for offby1 eval (iota 10) 23:16:57 offby1: error: reference to an identifier before its definition: iota in module: 'program 23:17:06 rudybot: for Mr_Cat_ eval (system "rm -rf /") 23:17:07 Mr_Cat_: error: reference to undefined identifier: system 23:17:09 *offby1* whistles innocently 23:17:26 Nice try ;) 23:17:30 :) 23:17:39 ecraven [n=nex@140.78.42.103] has joined #scheme 23:18:23 Btw, AFAIK, some versions of rm refuse to perform "rm -rf /" 23:19:23 rudybot: eval (string->number (string-concatenate (map number->string (build-list 100 values)))) 23:19:23 Mr_Cat_: ; Value: 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 23:19:26 Hm 23:19:29 Strange 23:19:37 What was the issue with iota? 23:19:39 Guess iota is a slower implementation? 23:19:48 (it's probably more generic) 23:19:52 (string->number (string-concatenate (map number->string (iota 100)))) 23:20:27 Well, the version with iota evaluates instantly on y mzscheme 23:20:37 -!- ecraven [n=nex@140.78.42.103] has quit [Client Quit] 23:20:52 I think rudybot has protection against too much memory usage 23:20:56 maybe 23:22:34 But then iota should be a real memory grinder 23:22:49 *sjamaan* shrugs 23:22:52 I'm off to bed 23:22:53 nite! 23:22:56 nite 23:29:51 X-Scale2 [n=email@89-180-79-242.net.novis.pt] has joined #scheme 23:30:06 -!- hiyuh [n=hiyuh@KD125054017176.ppp-bb.dion.ne.jp] has quit ["|_ e /\ \/ i |/| G"] 23:32:03 -!- peter_12 [n=peter@S010600119506b129.gv.shawcable.net] has quit [Read error: 60 (Operation timed out)] 23:35:22 -!- hkBst [n=hkBst@gentoo/developer/hkbst] has quit [Read error: 104 (Connection reset by peer)] 23:37:06 antoszka [n=antoszka@unaffiliated/antoszka] has joined #scheme 23:40:23 -!- raikov [n=igr@203.181.243.11] has quit [Remote closed the connection] 23:45:42 Mr_Cat_: try instead a simple (require srfi/1) 23:46:11 Ok, il'' try 23:46:23 rudybot: eval (require srfi/1) 23:46:29 rudybot: eval (iota 100) 23:46:29 Daemmerung: ; Value: (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99) 23:46:39 Thanks 23:46:41 QED 23:46:43 Worked for me 23:47:37 -!- X-Scale [i=email@89-180-49-14.net.novis.pt] has quit [Read error: 110 (Connection timed out)] 23:51:14 bombshelter13_ [n=bombshel@209-161-231-10.dsl.look.ca] has joined #scheme 23:51:36 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit ["+++ killed by SIGSEGV +++"] 23:58:15 -!- sbarr [n=sb@compaq30.larp.blackrocknet.com] has quit []