00:00:01 How technical was your boss? Did he understand what you were doing? 00:07:57 anyone know where i could find an example of a good scheme stack function 00:08:36 bcow, stack? 00:08:45 bcow, as in filo? 00:08:57 synx: did you estimate a length of 8 times what you thought, so that when it only came in 3 times over, you would be regarded as a hero? 00:09:01 Mmm.... phyllo. 00:09:12 -!- Adrinael [n=adrinael@barrel.rolli.org] has quit [Read error: 104 (Connection reset by peer)] 00:09:29 arcfide yes 00:09:56 bcow: What properties do you care about? 00:10:04 bcow: What's wrong with a List? 00:11:00 vorpal_ [n=rhunter@ip24-255-31-98.tc.ph.cox.net] has joined #scheme 00:11:01 i dunno i just need a structure to push/pop with 00:11:08 -!- vorpal_ [n=rhunter@ip24-255-31-98.tc.ph.cox.net] has quit [Client Quit] 00:11:18 bcow: Do you care about memory layout or anything? 00:11:33 bcow: If not, then why not just use a LIST? 00:12:03 Adrinael [n=adrinael@2001:14b8:1fe:0:0:0:0:1] has joined #scheme 00:12:11 You had some code that you had lifted from a textbook. Why are you replacing it? 00:13:43 dunno someone in here said i shouldn't use that code, and it don't really understand how to use it either 00:14:22 It's true that you shouldn't use code that you don't understand. You might do well by studying that code, though. 00:14:37 sometimes you dont have a choice :) 00:14:44 -!- Adrinael [n=adrinael@2001:14b8:1fe:0:0:0:0:1] has quit [Read error: 60 (Operation timed out)] 00:18:59 wow, Jonathan Shapiro is still poking along at BitC 00:19:15 DOCTOR J. Shapiro, offby1. Please. 00:19:21 yeah yeah 00:20:09 My alarm bells start ringing every time I see such copious use of the "Ph.D" suffix in naming oneself. 00:20:42 I let that guy get my hopes up years ago 00:20:47 EROS sounded _so cool_ 00:21:09 -!- dakeyras [n=dakeyras@pool-98-117-125-63.sttlwa.fios.verizon.net] has quit [] 00:21:09 Oh,is he the eros/coyote guy? I missed that detail. 00:21:24 yep 00:21:28 *Daemmerung* snorts 00:21:32 BitC is in service to it. 00:22:05 Last I checked -- couple years ago -- his operating system project was on hold because they had to -- get this -- write their own revision control system 00:22:06 :-( 00:22:11 bcow, what exactly do you want your stack to do? 00:22:11 Hee. 00:22:22 I want mine to absorb both butter and syrup. 00:22:30 bcow, note that I understand what a stack does. I'm asking what *exactly* you're going to do with it. 00:22:31 And then yield it back up when I eat it. 00:22:32 Yum. 00:22:46 Mmmm. 00:22:50 offby1, that's a brilliant idea. 00:22:53 I know 00:22:56 I think I must go hunt down some food. 00:22:56 I got it from the Web 00:22:58 Adrinael [i=adrinael@rid7.kyla.fi] has joined #scheme 00:23:15 Oh, really? The web, eh? I don't know about that. I've heard that there are rumours out there on the internets. 00:23:57 http://flickr.com/photos/matthewa/300264378/ 00:24:00 now we talkin' 00:24:10 Gotta go play hunter-gatherer, too. There are roots to chop and tough lumps of sinew to pound. 00:24:12 Push and pop stuff onto and off of it, of course. 00:24:31 *Daemmerung* grabs a bone spear and leaves 00:27:06 I can guess at your intent with the spear, but I really don't want to know why you're taking those leaves. 00:27:28 to cover up his nekkidness, duh. 00:27:57 I was going to say that the spear was for stabbing people that laughed at said nekkidness. 00:28:07 You only need one or t'other, Daemmerung! 00:28:47 -!- kniu [n=kniu@LEMON.RES.CMU.EDU] has quit [Read error: 110 (Connection timed out)] 00:29:47 offby1, their own revision control system? 00:29:50 gnomon the purpose of the entire project is to turn infix expressions into postfix expressions and evaluate them, so i want to push/pop tokens from the input infix expressions onto a stack acording to an algorithum to convert and evaluate them 00:29:50 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 00:30:47 Riastradh: that's what I seem to recall. Was supposed to be all encrypted 'n' s***. 00:31:22 bcow, are you familiar with how CAR and CDR operate? 00:32:35 car returns left part of a list, cdr the right part ? 00:33:40 I can't find anything on coyotos.org about a revision control system, from a cursory scan... They appear to be using Mercurial. 00:34:08 Adamant [n=Adamant@c-98-244-152-196.hsd1.ga.comcast.net] has joined #scheme 00:34:29 a1len [n=James@unaffiliated/a1len] has joined #scheme 00:34:49 Hello guys. 00:35:11 bcow, that's more or less correct. Are you familiar with what CONS does? 00:37:57 cons inserts a list into the first pos of another list ? 00:38:58 Close - it constructs a pair from two data. If the second datum is a list, then the first item ends up in the car position of the list that is returned by CONS. 00:39:14 Close enough for horseshoes and hand grenades, anyhow. 00:39:26 Are you familiar with the NULL? procedure? 00:39:52 no, i assumes it checks for a null value though ? 00:40:17 It checks whether the provided datum is the empty list. 00:40:55 So, CAR gives you the head of a list; CDR gives you everything but the head of a list; CONS tacks an item onto the head of a list; and EMPTY? checks whether a list is empty. 00:41:07 Do those operations sound familiar at all? 00:41:13 EMPTY? ? 00:41:15 ah ya 00:41:20 NULL?, sorry. 00:41:23 Frain bart. 00:41:23 r5rs empty? 00:41:24 Sorry, I couldn't find anything for empty?. 00:41:52 r6rs obsolete? 00:41:57 So whaddya think, bcow? 00:44:17 ya with cdr car and cons i can get the functionality of a stack 00:44:19 lisppaste: url 00:44:19 To use the lisppaste bot, visit http://paste.lisp.org/new/scheme and enter your paste. 00:44:28 thx gnomon 00:45:15 bcow, quite welcome. Keep in mind that I've only shown you what to use, not how to use it; there are subtleties that you'll discover when you start writing your test code. 00:45:27 klutometis pasted "your father's stack" at http://paste.lisp.org/display/69983 00:46:00 bcow: Your father wanted you to have this stack when you were old enough, but your uncle wouldn't allow it. 00:46:34 drdo` [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 00:46:55 I don't get it... 00:47:07 cool thanks klutometis 00:47:27 j/k man; i don't know if it will be very useful 00:47:38 it requires srfis, and it's more complicated than it needs to be 00:47:48 probably a list would suffice 00:48:15 but it serves for CLRS 00:48:36 Ew, mutation? 00:48:56 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit ["+++ killed by SIGSEGV +++"] 00:49:06 That stack will grow extra limbs and a third set of nostrils if it doesn't get garbage collected in a few generations. 00:49:09 yeah; thanks to cormen leiserson rivest stein 00:49:10 Nobody likes a mutated stacj. 00:49:15 -1s/j/k/ 00:49:41 i gave up trying to reform CLRS along time ago, and had to submit to the dark side of mutation 00:49:55 *gnomon* moves away from klutometis on the bench, there 00:49:55 s/along/a long/ 00:50:44 has anyone done a functional version of CLRS to go along with Okasaki's data structures book? 00:51:04 that would be great, actually 00:51:21 That would also be an immense undertaking. 00:51:30 yeah 00:51:34 clrs? 00:51:45 and someone S-M-R-T-E-R than me would have to do it 00:51:58 elf: Introduction To Algorithms 00:52:03 elf: the mobile book 00:52:06 clrs, such as rd, grn and blu 00:52:10 oh, the cormen book? 00:52:18 theres four authors now? 00:52:25 Cormen, Leiserson, Rivest, and Stein 00:52:32 a good basic successor to Knuth if you don't like reading fictional assembler 00:52:37 antoszka [n=antoszka@unaffiliated/antoszka] has joined #scheme 00:52:41 oh, how i hate that book 00:52:48 which, cormen or knuth? 00:52:49 why? 00:52:49 when i started CLRS, i succeeded in "functionalizing" their algorithms; but i found that the space complexity rose considerably 00:52:53 maybe i wasn't being careful 00:53:10 klutometis: most of cormen functionalises fairly nicely, with a little thought. 00:53:24 drdo`` [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 00:53:34 i'm sure it does; but try functional fibonacci heaps, or longest common subsequence 00:53:43 actually: LCS is trivial if you use memoization 00:53:47 lcs is easy. 00:53:52 ive not tried a fib heap. 00:54:29 all, try a functional radix sort 00:54:49 or bucket sort, for that matter 00:54:58 it seems like the space complexity increases there 00:55:03 i wrote disjoint sets with snapping and merging (or whatever term they used) though. 00:55:19 bucket sort is the O(n) integer sort? 00:55:25 nice; also: how would you do a functional hash table without mutation under the hood? 00:55:28 elf: yeah 00:55:33 bucket sort isnt hard. 00:55:41 dakeyras [n=dakeyras@pool-98-117-125-63.sttlwa.fios.verizon.net] has joined #scheme 00:55:55 Riastradh's fond of saying that algorithms can have a mutational core, but expose functional semantics. 00:55:57 You don't, klutometis, without the introduction of a logarithmic factor. 00:56:02 That's what I've devolved to. 00:56:10 -!- dakeyras [n=dakeyras@pool-98-117-125-63.sttlwa.fios.verizon.net] has quit [Client Quit] 00:56:37 *elf* ponders. 00:56:58 *gnomon* notes that klutometis has both mutated and devolved 00:57:13 J'ACCUSE 00:57:35 are any data structures possible to do without any form of mutation, except if all local env is being passed around at each call? 00:57:36 j'adore 00:57:42 *elf* sends gnomon to devil's island. 00:57:59 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [calvino.freenode.net irc.freenode.net] 00:57:59 -!- drdo [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [calvino.freenode.net irc.freenode.net] 00:57:59 -!- rdd [n=user@c83-250-142-219.bredband.comhem.se] has quit [calvino.freenode.net irc.freenode.net] 00:57:59 -!- z0d [n=z0d@unaffiliated/z0d] has quit [calvino.freenode.net irc.freenode.net] 00:57:59 -!- gweiqi [n=greg@69.120.126.163] has quit [calvino.freenode.net irc.freenode.net] 00:57:59 -!- replor [n=replor@ntkngw375028.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [calvino.freenode.net irc.freenode.net] 00:57:59 -!- CaptainMorgan [n=CaptainM@c-24-61-150-59.hsd1.ma.comcast.net] has quit [calvino.freenode.net irc.freenode.net] 00:57:59 -!- Mr_Awesome [n=eric@pool-98-115-33-237.chi01.dsl-w.verizon.net] has quit [calvino.freenode.net irc.freenode.net] 00:57:59 -!- tjafk2 [n=timj@e176200030.adsl.alicedsl.de] has quit [calvino.freenode.net irc.freenode.net] 00:57:59 -!- Cale [n=Cale@CPE001c10c70239-CM000e5cdd834a.cpe.net.cable.rogers.com] has quit [calvino.freenode.net irc.freenode.net] 00:57:59 -!- brianf [n=brian@external-asa-hq-bllvwa.corp.strata8.net] has quit [calvino.freenode.net irc.freenode.net] 00:57:59 -!- michaelw [i=michaelw@lambda.foldr.org] has quit [calvino.freenode.net irc.freenode.net] 00:57:59 -!- dfeuer [n=dfeuer@wikimedia/Dfeuer] has quit [calvino.freenode.net irc.freenode.net] 00:57:59 -!- aquanaut` [n=user@pool-71-191-49-201.washdc.fios.verizon.net] has quit [calvino.freenode.net irc.freenode.net] 00:57:59 -!- Wardje [n=Ward@67.202.80.55] has quit [calvino.freenode.net irc.freenode.net] 00:58:23 gnomon: it's as if i've been living in springfield for too long, next to burns' waste water, and have become a fish with three eyes 00:59:01 *gnomon* nicknames klutometis "Blinky" 00:59:07 And hey, while I'm at it... 00:59:14 *elf* cant swallow the story. 00:59:23 What about Inky? 00:59:36 -!- drdo` [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Read error: 60 (Operation timed out)] 00:59:38 And Clyde? 00:59:41 *gnomon* dubs offby1 "Inky", elf "Pinky", and bcow "Clyde" 00:59:49 ... 00:59:53 *elf* ponders the brain. 00:59:58 Pinky? Not Blinky? 00:59:59 *gnomon* dubs eli "Drinky" 01:00:24 Good gracious, you're right. I got the names wrong. 01:00:43 *zbigniew* reaches the kill screen 01:00:45 stinky. 01:00:48 Oh, well. Too late to fix the past now; we've come so far. 01:03:10 Adamant [n=Adamant@unaffiliated/adamant] has joined #scheme 01:03:10 drdo [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 01:03:10 rdd [n=user@c83-250-142-219.bredband.comhem.se] has joined #scheme 01:03:10 z0d [n=z0d@unaffiliated/z0d] has joined #scheme 01:03:10 gweiqi [n=greg@69.120.126.163] has joined #scheme 01:03:10 replor [n=replor@ntkngw375028.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 01:03:10 Mr_Awesome [n=eric@pool-98-115-33-237.chi01.dsl-w.verizon.net] has joined #scheme 01:03:10 tjafk2 [n=timj@e176200030.adsl.alicedsl.de] has joined #scheme 01:03:10 brianf [n=brian@external-asa-hq-bllvwa.corp.strata8.net] has joined #scheme 01:03:10 aquanaut` [n=user@pool-71-191-49-201.washdc.fios.verizon.net] has joined #scheme 01:03:10 michaelw [i=michaelw@lambda.foldr.org] has joined #scheme 01:03:10 dfeuer [n=dfeuer@wikimedia/Dfeuer] has joined #scheme 01:03:10 Wardje [n=Ward@67.202.80.55] has joined #scheme 01:03:13 -!- z0d [n=z0d@unaffiliated/z0d] has quit [Remote closed the connection] 01:03:13 z0d [n=z0d@artifact.hu] has joined #scheme 01:03:20 -!- drdo [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Connection timed out] 01:03:20 *gnomon* kneels 01:03:37 whats this coyotos thing? 01:03:49 oh, i ran into this ages ago. 01:03:56 -!- rdd [n=user@c83-250-142-219.bredband.comhem.se] has quit [Read error: 104 (Connection reset by peer)] 01:03:57 It's a provably secure realtime operating system with orthogonal persistence. 01:04:06 *elf* raises an eyebrow. 01:04:25 No, it *wants* to be. 01:04:32 define 'provably secure' in this context? is it based on rees' paper? 01:05:00 Hey, do you ask a parrot to explain the etymology of "cracker"? 01:05:10 well said, sir. 01:05:20 poly want an unsaturated fat. 01:06:41 *Daemmerung* dubs gnomon "Stinky" 01:07:17 schumaml [i=58426c2b@gateway/web/ajax/mibbit.com/x-ae7ce6a2deb0b758] has joined #scheme 01:07:46 zbigniew: When you are working on a procedure and your boss says "When will this procedure come to a halt?" you find yourself in a rather unique quandary... 01:07:57 I wonder how far he would have gotten if he just hacked up a custom dialect of ML or Haskell and leveraged their existing compilers 01:08:55 BitC is a really nice idea, but it's going to be slow going if you don't have really excellent compiler people to optimize it. 01:09:03 synx: just write a procedure for him that determines when and whether your procedure will halt 01:09:17 Or you say, "Sir, that's a problem." 01:09:27 zbigniew: I'll get right on that. 01:13:54 -!- arcfide [n=arcfide@adsl-99-137-202-0.dsl.bltnin.sbcglobal.net] has quit [Read error: 110 (Connection timed out)] 01:14:45 CaptainMorgan [n=CaptainM@c-24-61-150-59.hsd1.ma.comcast.net] has joined #scheme 01:15:24 arcfide [n=arcfide@adsl-99-137-203-194.dsl.bltnin.sbcglobal.net] has joined #scheme 01:18:14 hml [n=x@unaffiliated/hml] has joined #scheme 01:41:21 -!- a1len [n=James@unaffiliated/a1len] has quit ["Lost terminal"] 01:50:12 -!- exexex [n=chatzill@88.235.26.50] has quit [Read error: 110 (Connection timed out)] 01:56:53 -!- JohnnyL [i=JohnnyL@ool-182ddad4.dyn.optonline.net] has quit [] 02:05:14 neato, I can translate fibonacci in ruby into scheme and execute it 02:05:31 (I mean automatic translation, not by hand) 02:08:43 -!- CaptainMorgan [n=CaptainM@c-24-61-150-59.hsd1.ma.comcast.net] has quit [calvino.freenode.net irc.freenode.net] 02:08:43 -!- z0d [n=z0d@artifact.hu] has quit [calvino.freenode.net irc.freenode.net] 02:08:43 -!- brianf [n=brian@external-asa-hq-bllvwa.corp.strata8.net] has quit [calvino.freenode.net irc.freenode.net] 02:08:43 -!- gweiqi [n=greg@69.120.126.163] has quit [calvino.freenode.net irc.freenode.net] 02:08:43 -!- michaelw [i=michaelw@lambda.foldr.org] has quit [calvino.freenode.net irc.freenode.net] 02:08:43 -!- tjafk2 [n=timj@e176200030.adsl.alicedsl.de] has quit [calvino.freenode.net irc.freenode.net] 02:08:43 -!- dfeuer [n=dfeuer@wikimedia/Dfeuer] has quit [calvino.freenode.net irc.freenode.net] 02:08:43 -!- aquanaut` [n=user@pool-71-191-49-201.washdc.fios.verizon.net] has quit [calvino.freenode.net irc.freenode.net] 02:08:43 -!- Wardje [n=Ward@67.202.80.55] has quit [calvino.freenode.net irc.freenode.net] 02:08:43 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [calvino.freenode.net irc.freenode.net] 02:08:43 -!- Mr_Awesome [n=eric@pool-98-115-33-237.chi01.dsl-w.verizon.net] has quit [calvino.freenode.net irc.freenode.net] 02:08:43 -!- replor [n=replor@ntkngw375028.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [calvino.freenode.net irc.freenode.net] 02:09:29 CaptainMorgan [n=CaptainM@c-24-61-150-59.hsd1.ma.comcast.net] has joined #scheme 02:09:29 z0d [n=z0d@artifact.hu] has joined #scheme 02:09:29 Adamant [n=Adamant@unaffiliated/adamant] has joined #scheme 02:09:29 gweiqi [n=greg@69.120.126.163] has joined #scheme 02:09:29 replor [n=replor@ntkngw375028.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 02:09:29 Mr_Awesome [n=eric@pool-98-115-33-237.chi01.dsl-w.verizon.net] has joined #scheme 02:09:29 tjafk2 [n=timj@e176200030.adsl.alicedsl.de] has joined #scheme 02:09:29 brianf [n=brian@external-asa-hq-bllvwa.corp.strata8.net] has joined #scheme 02:09:29 aquanaut` [n=user@pool-71-191-49-201.washdc.fios.verizon.net] has joined #scheme 02:09:29 michaelw [i=michaelw@lambda.foldr.org] has joined #scheme 02:09:29 dfeuer [n=dfeuer@wikimedia/Dfeuer] has joined #scheme 02:09:29 Wardje [n=Ward@67.202.80.55] has joined #scheme 02:12:24 Hey! 02:12:29 *gnomon* smacks Daemmerung upside the haid 02:12:37 jonrafkind, oho? Got a link? 02:12:50 now make it a polyglot 02:12:53 hm, well you can check the source out of svn if you want 02:13:04 i can post screenshots of it running in drscheme later on 02:13:18 you want svn? 02:15:37 -!- CaptainMorgan [n=CaptainM@c-24-61-150-59.hsd1.ma.comcast.net] has quit [Remote closed the connection] 02:15:37 rotty [n=user@chello084114192192.1.15.vie.surfer.at] has joined #scheme 02:16:21 when using combinators for formatting (to) text, how does one handle translations? 02:19:38 -!- REPLeffect [n=REPLeffe@69.54.115.254] has quit [Read error: 113 (No route to host)] 02:23:14 -!- hml [n=x@unaffiliated/hml] has left #scheme 02:23:34 gnomon: my most grievous error, sir-- I mistakenly crossed the "l." I meant to dub thee "Slinky." 02:24:21 It's fun, it's a wonderful toy 02:25:08 emma_ [n=emma@unaffiliated/emma] has joined #scheme 02:25:10 rotty, what kind of translation? 02:25:14 Daemmerung, heh ;) 02:25:33 jonrafkind, read-only svn? 02:25:42 yea 02:25:49 Cale [n=Cale@CPE001c10c70239-CM000e5cdd834a.cpe.net.cable.rogers.com] has joined #scheme 02:26:51 If you please, I would be intrigued! 02:27:03 there's only room in here for one slinky 02:27:27 ok check out svn://crystalis.cs.utah.edu/scheme/ruby and svn://crystalis.cs.utah.edu/scheme/peg 02:27:36 copy peg/peg.ss to ruby/. 02:27:51 then when you are in the ruby directory, export PLTCOLLECTS=$PLTCOLLECTS:`pwd`/.. 02:28:05 $ mzscheme tests/passing/mine/fib.rb 02:28:25 and you need mzscheme 4.0 or greater 02:30:56 replor_ [n=replor@ntkngw375028.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 02:32:00 -!- emma_ [n=emma@unaffiliated/emma] has quit [Read error: 54 (Connection reset by peer)] 02:32:45 tizoc [n=user@r190-135-14-246.dialup.adsl.anteldata.net.uy] has joined #scheme 02:34:20 -!- drdo`` [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Remote closed the connection] 02:35:47 -!- emma [n=emma@unaffiliated/emma] has quit [Connection timed out] 02:36:51 Cale_ [n=Cale@CPE001c10c70239-CM000e5cdd834a.cpe.net.cable.rogers.com] has joined #scheme 02:37:27 -!- vorpal [n=rhunter@pdpc/supporter/student/vorpal] has quit ["The incensed priests...continued to raise their voices, vituperating each other in bad Latin"] 02:37:28 -!- Nshag [i=user@Mix-Orleans-106-1-60.w193-248.abo.wanadoo.fr] has quit ["Quitte"] 02:38:31 -!- Cale [n=Cale@CPE001c10c70239-CM000e5cdd834a.cpe.net.cable.rogers.com] has quit [Nick collision from services.] 02:38:33 -!- Cale_ is now known as Cale 02:42:43 gnomon: language translation, e.g. (with format-style templates): "Hello, ~A~%" -> "Hallo, ~A~%" 02:43:08 -!- schumaml [i=58426c2b@gateway/web/ajax/mibbit.com/x-ae7ce6a2deb0b758] has quit ["http://www.mibbit.com ajax IRC Client"] 02:43:11 using something gettext-like, you'd have this in your code: 02:43:47 (define (greet user) (format #t "Hello, ~A~%" user)) 02:44:19 oops, with gettext: 02:44:22 rotty, replace the GREET procedure, not the format string. 02:45:07 hmm, that might make just sense :-) 02:45:23 It is much more flexible, too. 02:45:27 I think I can see where rotty is going. If using combinators means that localization would involve changing code instead of some datum, then combinators are inherently broken for intl. 02:46:00 That's ridiculous. 02:46:17 but as Daemmerung noted, you can't really expect translators to write replacement procedures 02:46:31 Where do you draw the line between `code' and `datum'? 02:46:53 rotty, that depends on how elaborate the messages are. 02:47:13 but ototh, the procedures would be pretty simple 02:47:15 Do you expect, say, plurals? That might be very non-trivial. 02:47:40 Cowmoo [n=Cowmoo@c-98-218-212-176.hsd1.va.comcast.net] has joined #scheme 02:48:25 If all you expect is string substitution, then where are combinators involved? 02:48:42 -!- tizoc_ [n=user@r190-135-54-87.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 02:50:10 The way gettext does it is they have a hash table, that takes the sentence in the programmer's language, and the target language, as the key, and returns the sentence in the target language. 02:50:33 It only works for strings though. Not sure if you'd want to "translate" the code itself. 02:50:33 -!- bpt [n=bpt@cpe-071-070-209-067.nc.res.rr.com] has quit [Read error: 110 (Connection timed out)] 02:51:36 (define (greet user) (format #t (gettext "Hello, ~A~%") user)) 02:51:47 and it draws teh dest language from an environment variable. 02:52:02 -!- brianf [n=brian@external-asa-hq-bllvwa.corp.strata8.net] has quit [calvino.freenode.net irc.freenode.net] 02:52:02 -!- gweiqi [n=greg@69.120.126.163] has quit [calvino.freenode.net irc.freenode.net] 02:52:02 -!- michaelw [i=michaelw@lambda.foldr.org] has quit [calvino.freenode.net irc.freenode.net] 02:52:02 -!- tjafk2 [n=timj@e176200030.adsl.alicedsl.de] has quit [calvino.freenode.net irc.freenode.net] 02:52:02 -!- dfeuer [n=dfeuer@wikimedia/Dfeuer] has quit [calvino.freenode.net irc.freenode.net] 02:52:02 -!- aquanaut` [n=user@pool-71-191-49-201.washdc.fios.verizon.net] has quit [calvino.freenode.net irc.freenode.net] 02:52:02 -!- Wardje [n=Ward@67.202.80.55] has quit [calvino.freenode.net irc.freenode.net] 02:52:02 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [calvino.freenode.net irc.freenode.net] 02:52:02 -!- Mr_Awesome [n=eric@pool-98-115-33-237.chi01.dsl-w.verizon.net] has quit [calvino.freenode.net irc.freenode.net] 02:52:02 -!- z0d [n=z0d@artifact.hu] has quit [calvino.freenode.net irc.freenode.net] 02:52:02 -!- replor [n=replor@ntkngw375028.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [calvino.freenode.net irc.freenode.net] 02:52:42 Does anyone know how to get OS X to actually use NTP servers? 02:52:54 There's a setting for it, which it seems to completely ignore :/ 02:52:56 foof, works for me. Is your clock more than five minutes or so off? 02:53:00 Of course you could pass "GENERICHELLO" and have it translate to "Hello, ~A~%" in English. The key is kind of arbitrary... 02:53:07 test 02:53:18 Riastradh: It's 4 minutes off. 02:53:33 foof, try setting the time manually to something closer to correct. 02:53:39 Riastradh: given (format #t (gettext "Hello, ~A, how are you?") user), how would you write that with combinators? 02:53:42 the cow says moo 02:53:59 I don't know what combinators are. 02:54:11 http://synthcode.com/scheme/fmt/ 02:54:13 rotty, or, natural language issues aside, do you expect translators to get the printf(3) directives for specific external representations of real numbers, or list-processing and tabular FORMAT directives? 02:54:20 z0d [n=z0d@unaffiliated/z0d] has joined #scheme 02:54:51 -!- z0d [n=z0d@unaffiliated/z0d] has quit [Killed by ballard.freenode.net (Nick collision)] 02:54:59 crypto_ [n=z0d@artifact.hu] has joined #scheme 02:55:05 translators might have to do that, because in their language the name goes before the "hello" in the traditional greeting. 02:55:08 rotty, you are making a needless distinction bewteen `combinators' and `control string' formatting here. What you want (I suspect) is string substitution, and no more. It happens to be that this can be done clumsily by control string formatting. 02:55:21 Riastradh: It actually ignores my changes o_O 02:55:40 -!- foof [n=user@dn157-046.naist.jp] has quit [Remote closed the connection] 02:56:15 I think the goal is to require an absolute minimum of what the translators have to understand about the program. You could also go (define (greet user) (format #t "~a, ~A~%" (gettext "Hello") user)), but the grammar might be screwy... Japanese doesn't even use Latin commas. 02:56:33 z0d [n=z0d@artifact.hu] has joined #scheme 02:56:33 Adamant [n=Adamant@unaffiliated/adamant] has joined #scheme 02:56:33 gweiqi [n=greg@69.120.126.163] has joined #scheme 02:56:33 replor [n=replor@ntkngw375028.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 02:56:33 Mr_Awesome [n=eric@pool-98-115-33-237.chi01.dsl-w.verizon.net] has joined #scheme 02:56:33 tjafk2 [n=timj@e176200030.adsl.alicedsl.de] has joined #scheme 02:56:33 brianf [n=brian@external-asa-hq-bllvwa.corp.strata8.net] has joined #scheme 02:56:33 aquanaut` [n=user@pool-71-191-49-201.washdc.fios.verizon.net] has joined #scheme 02:56:33 michaelw [i=michaelw@lambda.foldr.org] has joined #scheme 02:56:33 dfeuer [n=dfeuer@wikimedia/Dfeuer] has joined #scheme 02:56:33 Wardje [n=Ward@67.202.80.55] has joined #scheme 02:56:33 -!- arcfide [n=arcfide@adsl-99-137-203-194.dsl.bltnin.sbcglobal.net] has quit [Read error: 104 (Connection reset by peer)] 02:56:35 -!- z0d [n=z0d@artifact.hu] has quit [Broken pipe] 02:57:02 Heck Arabic is written right to left, if you want screw-with-my-head format strings. 02:57:05 foof [n=user@dn157-046.naist.jp] has joined #scheme 02:57:19 Heh, ERC didn't seem to like the time change... 02:57:25 rotty, suppose your message has eight different parts (all strings). Do you expect your translators to write "Foo, ~3@*~A. Bar baz ~4@*~A..."? 02:57:32 I'd just put the whole format string into translation and tell the translators to suck it up. 02:57:46 -!- replor [n=replor@ntkngw375028.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [SendQ exceeded] 02:57:46 OK, it's now 1 minute off and not adjusting. 02:57:57 foof, the cutoff may be thirty seconds. I can't recall. 02:58:07 Riastradh: Why would you use an evil format string like that in the first place ;_; 02:58:15 WTF?! 02:58:19 That's _insane_. 02:58:31 synx, because the original one was just "Mumble mumble ~A grumble ~A ~A ~A ~A fnord ~A.", and in the other language the parts go in another order. 02:58:36 arcfide [n=arcfide@adsl-99-137-201-136.dsl.bltnin.sbcglobal.net] has joined #scheme 02:58:47 format strings are especially insane in perl, because you can get code evaluated in 'em... 02:58:59 When you tell it to switch from manual to the time servers, it should automatically sync to the time servers, whatever your current time is. 02:59:14 Riastradh: Oh okay, gotcha. I have no idea. 02:59:27 ... assuming the protocol doesn't work at all if the time is already too far off, which I think is also stupid to begin with. 02:59:52 foof, well, that last part is standard practice. 02:59:55 Not OS X's fault. 03:00:08 It's not 30 seconds. 03:00:20 NetBSD's NTP daemon has a cutoff of one thousand seconds. 03:00:28 I've used NTP on many Linux and Solaris boxes without needing that fine granularity. 03:01:00 Riastradh: format strings are not good when the order isn't fixed, I agree, but something like that might work better: 03:01:53 (my-fmt #t "{user} has got {num} coin of gold" user num) 03:02:18 my-fmt would have to be a macro in that case 03:02:51 or, more elaborate, without having to be a macro: 03:03:06 (localize-message greeting-message `((person ,the-person))) 03:03:14 (my-fmt #t "{user} has got {num} coin of gold" `((user ,user) ((num ,n)))) 03:03:31 arthurmaciel [n=arthurma@201.80.131.18] has joined #scheme 03:03:35 hi 03:05:42 how can I convert "bee" into 'bee? 03:06:06 string->symbol 03:06:08 specbot: r5rs string->symbol 03:06:08 http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-9.html#%_idx_446 03:06:09 -rudybot:#scheme- http://tinyurl.com/6m58xq 03:06:18 (define (bee-into-bee bee) ''bee) (bee-into-bee "bee") ;Value: 'bee 03:06:22 Or: (list 'quote (string-downcase (string->symbol "bee"))) 03:06:36 Oops. 03:06:39 Sorry. 03:07:00 Riastradh: I was going to say... 03:07:22 (list 'quote (string->symbol ((if (char-upper-case? (string-ref (symbol->string 'x))) string-upcase string-downcase) "bee"))) 03:07:49 Riastradh: You've been in a strange mood of late, with all these obvious solutions to simple questions. 03:07:51 That should do it, I think, if I have made no errors with my parentheses. 03:08:25 gnomon, if you tried svn it probabily failed before. use username=anon and pass=anon 03:08:48 in fact I´m using this string "bee" to be the key on an assoc call on an association list 03:08:57 (assoc 'bee alist) 03:09:07 (assoc var alist) --> var is in string format 03:09:33 When you say `is in string format', do you perhaps mean `is a string'? 03:09:48 yes, Riastradh, sorry 03:09:58 rudybot: eval (equal? "bee" "bee") 03:09:59 arcfide: ; Value: #t 03:10:15 rudybot: eval (equal? "bee" 'bee) 03:10:15 arthurmaciel: ; Value: #f 03:10:25 rudybot: eval (assoc "bee" '(("bird" foo) ("bee" bar))) 03:10:25 Riastradh: ; Value: ("bee" bar) 03:10:30 arthurmaciel: It may not be the best thin in the world, but sometimes it makes sense to use a string key in your assoc lists. 03:10:49 arthurmaciel, perhaps you have a more general problem to which you are trying to find a solution. 03:11:29 Riastradh, yes I do... but it is late here and I´ll just try to quickly fix this problem. Maybe tomorrow I can present you the monster... :) 03:11:29 .oO(I should make a Riastradh bot...) 03:11:32 a1len [n=James@unaffiliated/a1len] has joined #scheme 03:12:01 arcfide, it really seems that making the string as a key is a better thing now. 03:12:20 (although I thought alists used quoted keys) 03:13:14 arthurmaciel, the keys of alists need not be surrounded in (QUOTE ...)! The list in my example has every right to be given the name `alist', and certainly none of its keys had (QUOTE ...) about them. 03:13:22 I could have used symbols, rather than strings, and the same would still hold: 03:13:35 rudybot: eval (assoc "bee" '((bird foo) (bee bar))) 03:13:35 Riastradh: ; Value: #f 03:13:53 er... 03:14:20 In fact, nowhere in this program does it use the symbol QUOTE. (The program is written with the symbol QUOTE, but that object doesn't arise in the evaluation of the program.) 03:15:09 -!- a1len [n=James@unaffiliated/a1len] has quit [Client Quit] 03:16:19 ok. thanks 03:17:46 -!- arcfide [n=arcfide@adsl-99-137-201-136.dsl.bltnin.sbcglobal.net] has quit [Nick collision from services.] 03:17:53 arcfide [n=arcfide@adsl-99-137-200-144.dsl.bltnin.sbcglobal.net] has joined #scheme 03:17:58 Bah, stinkin' internet. 03:18:05 Anyone here care to test my AnonCVS server for me? 03:18:26 a new CVS server? Wow, even *I'm* not that conservative :-) 03:18:35 Hehehe. 03:18:43 you wrote a cvs server in lisp/scheme ? 03:18:46 Can you remind me again why you're doing this? 03:18:48 Non no! 03:18:59 I'm using existing stuff right now. 03:19:03 LOL 03:19:16 and you're using cvs over svn because.. 03:19:19 Riastradh: I felt like it. 03:19:24 jonrafkind: ^^ 03:19:37 you should set up an RCS server 03:19:57 jonrafkind: CVS will do just fine, though that's an okay idea. ;-) 03:20:28 I'm serious, arcfide -- why are you wasting valuable brain cycles on this? 03:20:29 Well, right now, I want some people to be able to access it, but I am unable to duplicate their errors on my systems, and even on systems that they are using (though under different logins). 03:20:49 Riastradh: Well, so far not too many have been wasted, and things work fine. 03:21:09 Honestly, I just felt like it. 03:21:27 Don't ask me to make logical sense out of it. 03:21:33 Call it a whim. 03:21:41 Call me silly. 03:21:42 :-) 03:21:54 Why am I using Nvi to edit Scheme source? 03:22:01 *arcfide* shrugs. 03:22:12 Aiee. 03:22:17 And it's not like it causes me pain. 03:22:26 Why are you using NCSA Mosaic to browse the web? 03:22:26 CVS suits my current needs just fine. 03:22:36 Why are you using fvwm1? 03:22:37 chandler: Actually, I do have a gopher server setup. 03:22:48 chandler: and I'm using cwm, which is kind of leaner. 03:22:59 Oh, and ircII. 03:23:12 and mail(1) is my mail client. 03:23:28 Have I established myself firmly enough yet, into the realm of crazy and silly fools? 03:23:56 no rcs 03:24:08 But, my, you all really hate CVS. :-P 03:24:14 that would clinch it 03:24:18 yes we do 03:24:28 overly long command lines to do anything 03:24:47 I don't hate CVS. I just like invoking the RCS commands myself. 03:24:52 arcfide, you have established yourself firmly in the realm of unreasonable archaism for no sake other than its own. 03:25:13 arcfide: just get an Amiga and a Classic Mac and be done with it 03:25:24 *arcfide* chuckles. 03:25:52 -!- borism_ [n=boris@195-50-200-2-dsl.krw.estpak.ee] has quit [Connection timed out] 03:25:54 ok, a PDP-11 03:26:00 whatever you consider "classic" 03:26:32 It took mental effort for you to decide to use ircII, for example, and all that ircII excels at is being archaic cruft. 03:26:54 Convenience is clearly not relevant here. 03:27:20 vorpal [n=rhunter@pdpc/supporter/student/vorpal] has joined #scheme 03:27:21 Alan Kay and his Dynabook got research funding to correct your sins, arcfide 03:28:09 I will readily confess to the use of RCS for my dot files. But I don't use the cryptic RCS commands, except for `mkdir RCS'; the reason I use RCS is so that I can have a commented history of the dot files when I type `C-x v l' in Emacs. 03:29:00 Adamant: Sorry, who is Alan Kay? 03:29:11 *Riastradh* picks his jaw up off the floor. 03:29:14 arcfide: Smalltalk creator? 03:29:21 Adamant: Oh, right. :-) 03:29:24 Sorry. 03:29:29 *Cough*. 03:29:31 ah, brain fart 03:29:35 we all get them 03:29:48 Well, I'm not good with authors of languages. 03:29:52 ah 03:29:55 I forget the Scheme authors at times too. 03:30:22 I imagine, arcfide, that the names Ken Thompson, Brian Kernighan, and Dennis Ritchie, ring louder bells in your head, for no reason worth stating. 03:30:24 And, well, I don't deny that sometimes I like archaism just because. 03:30:54 Eh, Kernighan and Ritchie do, but I couldn't have spelled their names if you hadn't done so before me. 03:31:37 When I feel like messing with old stuff, it is with things like this: http://www.unlambda.com/cadr/ 03:31:40 It's not merely archaism -- it's crufty, badly engineered archaism in the face of merit. 03:32:02 just remember the Perl creator loves Jesus and cryptic syntax, the Python creator likes cigars, gold braid, and badly imitating Haskell, and the Ruby creator likes Scheme but thought it should be in RPN to match Japanese language evaluation order 03:32:13 It is attempted floutation of merit. 03:32:18 kraant [n=kraant@CPE-58-161-128-2.nsw.bigpond.net.au] has joined #scheme 03:32:51 Adamant: He should love Factor, then! 03:33:00 (Matz, that is.) 03:33:17 I need to check out Factor. I watched the Google Talk on and off 03:33:38 if you want to learn stack-based languages is it better to go to the source with Forth, or go updated with Factor? 03:33:50 Forth is fun 03:33:58 There are a lot of implementations 03:34:00 Adamant: er, it depends what you're trying to do. 03:34:14 If you wanna just dip your toes go with forth 03:34:19 You'd probably get a lot more out of Factor, since it is dynamically typed and garbaged collected. 03:34:29 er, "garbage" 03:34:37 yeah 03:34:50 I just want to understand the stack-based paradigm basically 03:35:08 If that's all you want, get a HP 50G. 03:35:21 Adamant, do you have a PPC mac or a sparc lying around? 03:35:36 I have a HP49 but I stuck it in algebraic mode 03:35:45 Well, go fix that. 03:35:47 50G? Is that a new world or old world HP calculator? 03:35:53 Adamant: That's wrong. 03:35:57 not a 48G series 03:36:13 Riastradh: I'm not sure what you mean by "new world". It's an ARM-based calculator running a Saturn emulator. 03:36:20 it's the 49 with better processors and better case IIRC 03:36:24 chandler, whether it was before or after the collapse of their calculator division. 03:36:33 after 03:36:37 OK. 03:36:49 it was designed by their calculator guys, just outsourced to them 03:36:49 Riastradh: New world, but supposedly they've finally started making decent machines again. 03:36:50 IIRC 03:37:04 *kraant* perks up 03:37:06 Most of the complaints about the 49G were about the hardware, not the software. 03:37:06 chandler, oh, have they? Do you have personal experience with them? 03:37:11 HP making decent machines again? 03:37:19 Riastradh: Not in depth. No reason to replace my trusty 48GX. 03:37:34 I have poked at the keys on the 50G enough to know that the keyboard is not crap like the 49G was. 03:37:38 Cale_ [n=Cale@CPE001c10c70239-CM000e5cdd834a.cpe.net.cable.rogers.com] has joined #scheme 03:37:49 the 49 feels chintzy but the software is OK. not very friendly UI compared to a TI though 03:37:55 Well, that's good. Does it begin to approach the 48 series? 03:38:00 (or any of the older ones) 03:38:19 I'd stick with a 48 over a 49 if you are a RPN-head 03:38:19 Riastradh: The keyboard, or the software? The software is better. It's an evolution of the old CAS, with a much faster processor and more memory. 03:38:24 The keyboard. 03:38:48 Oh. It is not as good as the 48GX. 03:38:54 Pity. 03:38:59 honestly 03:39:13 having a seperate calculator to do all this is sort of silly 03:39:14 Alright, I'm off. 03:39:25 -!- sctb [n=sctb@S01060016cbc2d41a.cg.shawcable.net] has quit ["rcirc on GNU Emacs 23.0.60.1"] 03:39:26 it should be a software package for your iThing or Android device 03:39:35 Adamant: Right. That's why I have EMU48 too! 03:39:47 Emulation is not allowed on the iThing, unfortunately. 03:39:55 unless you're in K-12 and have to use a calculator 03:40:13 chandler: that's what jailbreaking is for 03:40:14 But, when you need to calculate, it's hard to beat the user interface of real keys. 03:40:32 On Palm devices, this works beautifully: http://www.mobilevoodoo.com/power48.htm 03:41:03 I wish you could use one language across platforms. 03:41:33 the fact you have to do separate software for iThings and Android is annoying. 03:42:02 I think that's the main reason there hasn't been a really good purposebuilt package 03:42:19 Palm to WinMo to iThings to iThings and Android 03:42:22 Build a good Scheme system for them, Adamant. 03:42:48 Riastradh: Scheme on Java is painful 03:43:00 Sun really needs to add the tailcall instruction 03:43:14 hopefully Google would pick it up for Dalvik. 03:43:39 Riastradh: I was actually looking at what languages I could use for Android 03:44:00 -!- benny [n=benny@i577A01AD.versanet.de] has quit [Read error: 54 (Connection reset by peer)] 03:44:16 just about the only working "high level functional-ish language" is Scala 03:44:39 otherwise you're stuck with Java 03:46:25 tizoc_ [n=user@r190-135-21-16.dialup.adsl.anteldata.net.uy] has joined #scheme 03:47:14 nobody really knows how to do compiled Scheme on Java without implementing a mini-interpreter, or having Sun add the instruction 03:47:16 IIRC 03:47:39 other languages run into the same problem 03:53:05 -!- Cale [n=Cale@CPE001c10c70239-CM000e5cdd834a.cpe.net.cable.rogers.com] has quit [Read error: 110 (Connection timed out)] 03:57:52 -!- Cale_ is now known as Cale 04:01:31 -!- tizoc [n=user@r190-135-14-246.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 04:02:21 grettke [n=grettke@CPE-65-31-132-59.wi.res.rr.com] has joined #scheme 04:02:34 elmex_ [n=elmex@e180069136.adsl.alicedsl.de] has joined #scheme 04:02:48 Hi guys. I have 2gb in my computer, 4 if need be. Do people still use swap partitions for Linux when you've got this much memory? 04:03:05 Wrong channel? 04:04:34 No. I figured that a lot of you guys run Linux so I would rather ask you. Is it too far off topic? 04:05:26 Dear Penthouse Forum. I never thought I would be writing to you, but last night I ran out of swap space while sending mail to a large dlist. 04:05:31 grettke, Swap space is always handy... It helps with loading shared libs etc 04:05:56 Daemmerung: watch your language 04:07:14 grettke: Try running 3 drscheme processes at once. Without swap it could easily freeze your computer. :> 04:07:47 synx: haha ok 04:08:02 grettke, perhaps a better question, then, is `Why, in this day and age, do we still have swap partitions, and not swap files?'. I regularly wind up using swap space on my machine with 2 GB of RAM; partially, this is probably caused by OS X's overly aggressive disk buffer cache, but still. 04:09:25 offby1: All I said was, "That piece of halibut was good enough for Jehovah." 04:09:52 I recovered from accidentally disabling swap and misusing drscheme, but it destablilized my system enough that I restarted anyway... 04:10:03 -!- tarbo [n=me@unaffiliated/tarbo] has quit [Connection timed out] 04:10:33 *gasp* 04:11:56 *Daemmerung* blasphemes 04:12:26 geckosen1tor [n=sean@c-24-8-193-190.hsd1.co.comcast.net] has joined #scheme 04:12:31 Has anyone played with BitC? 04:12:37 No. 04:13:15 I'd like to know what it brings to the table that Pre-Scheme doesn't already offer. 04:13:16 watch your language foof 04:13:17 nobody has seen it. 04:13:22 as far as we know it's merely mythical 04:13:36 Theorems, Daemmerung. 04:13:39 Also, square brackets, I think. 04:13:54 Case sensitivity? 04:14:03 Vaporization! 04:14:18 Riastradh: Well, thank J*h*v*h. There ain't no theorems in Pre-Scheme. 04:14:44 And if there was some... well.... 04:14:51 *Daemmerung* cracks his knuckles 04:14:56 And there's no crying in baseball. 04:15:00 ...we'd git rid of 'em. 04:16:17 bpt [n=bpt@cpe-071-070-209-067.nc.res.rr.com] has joined #scheme 04:16:41 -!- elmex [n=elmex@e180067036.adsl.alicedsl.de] has quit [Read error: 113 (No route to host)] 04:16:45 -!- elmex_ is now known as elmex 04:19:55 la la la 04:20:12 -!- geckosenator [n=sean@c-24-8-193-190.hsd1.co.comcast.net] has quit [Read error: 145 (Connection timed out)] 04:23:39 Daemmerung: Type inference. 04:25:26 foof: Pre-Scheme got dat. 04:33:36 see you, guys 04:33:38 -!- arthurmaciel [n=arthurma@201.80.131.18] has quit [" HydraIRC -> http://www.hydrairc.com <- *I* use it, so it must be good!"] 04:36:34 tarbo [n=me@unaffiliated/tarbo] has joined #scheme 04:37:28 -!- grettke [n=grettke@CPE-65-31-132-59.wi.res.rr.com] has quit [] 04:38:29 offby1: ping 04:41:39 offby1: ping 04:47:12 -!- wy [n=wy@c-67-176-146-7.hsd1.in.comcast.net] has quit ["Leaving"] 04:48:31 Daemmerung: No it doesn't. There's a paper where it claims to have it, but the current, supported version used in Scheme48 has no type inference. 04:50:29 It also has closures and GC, which makes it suitable for writing complex programs, unlike Pre-Scheme. 04:50:46 eli: pong 04:50:47 pong 04:51:02 pong, pong; Donkey Kong. 04:51:18 Whatever did I do that was so God-damned wrong 04:51:46 offby1: two things 04:52:03 In loop.ss there's a comment saying "catch _all_ exceptions..." 04:52:13 The comment is wrong. 04:52:55 mmph 04:53:03 It's the place where all evaluation errors get to, including running out of time, read errors, and any bad code -- so you need to catch all exception to prevent the sandbox errors from being rudybot's errors. 04:53:14 well, yes ... 04:53:15 But that's a conceptual error, of course... 04:53:18 it is? 04:53:31 Yes, because it does catch all errors from the sandbox. 04:53:39 why is that bad? 04:53:48 foof` [n=user@dn157-046.naist.jp] has joined #scheme 04:53:54 That's good -- only the comment is not right. 04:54:03 Anyway, I think that I found your bug. 04:54:03 ok ... so ... how is the comment wrong? 04:54:05 yay 04:54:13 I note you said "your bug" 04:54:45 (The comment should say that you're catching all errors from the sandbox.) 04:54:52 -!- npe [n=npe@66.112.249.148] has quit [] 04:54:55 So back to *your* bug... 04:55:02 was I right to think that slow gc is somehow involved? 04:55:06 Do you have a log of previous instances where it crashed? 04:55:14 just that one, I think 04:55:18 it took weeks to get _it_ 04:55:22 Oh... OK. 04:55:37 Was it just in the process of creating a new sandbox when it happened? 04:55:46 no way to know, really. 04:55:59 You don't have the log of who said what? 04:56:04 oh, sure 04:56:16 And, was it a new sandbox being set up? 04:57:16 feels like it. Last message I logged (before the message about GC) was my "public-make-sandbox", which calls make-evaluator 04:57:53 How many sandboxes do you let it have (I can look at the logs too...) 04:58:11 three max 04:58:30 I don't think I sent you the logs -- did i? 04:58:42 No, just the GC part. 04:58:54 -!- Cowmoo [n=Cowmoo@c-98-218-212-176.hsd1.va.comcast.net] has left #scheme 04:59:29 want 'em? 05:00:14 Nah. Looking at the crash, zbigniew evaled something, then you, then Daemmerung, then zbigniew again -- and then it crashed. 05:00:25 -!- arcfide [n=arcfide@adsl-99-137-200-144.dsl.bltnin.sbcglobal.net] has quit ["Leaving"] 05:00:31 Any chance of the limit being two boxes? 05:00:39 rudybot: eval (define x 1) 05:00:43 -!- eli is now known as eli1 05:00:49 rudybot: eval (define x 1) 05:00:50 are you asking if I'm perhaps mistaken, and have set the limit to two even though I thought it was three? 05:00:56 -!- wastrel [n=wastrel@nylug/member/wastrel] has quit ["ok bedtime"] 05:00:58 Or are you asking if I'd be willing to change th elimit from 3 to 2? 05:00:59 -!- eli1 is now known as eli2 05:01:02 rudybot: eval (define x 1) 05:01:10 rudybot: eval (define x 1) 05:01:23 You just killed the experiment. 05:01:43 rudybot: eval (define x 2) 05:01:48 -!- eli2 is now known as eli1 05:01:53 rudybot: eval (define x 1) 05:02:07 -!- eli1 is now known as eli 05:02:15 rudybot: eval (define x 0) 05:02:26 That should be three boxes for eli, eli1, eli2 05:02:30 oops dorry 05:02:32 -!- eli is now known as eli2 05:02:36 rudybot: eval x 05:02:36 eli2: ; Value: 2 05:02:42 -!- eli2 is now known as eli1 05:02:43 rudybot: eval x 05:02:44 eli1: ; Value: 1 05:02:49 wow, you're going to some effort here; thanks 05:03:02 *eli1* waits 9 seconds 05:03:08 -!- eli1 is now known as eli 05:03:08 *offby1* twiddles thumbs 05:03:12 rudybot: eval x 05:03:13 eli: ; Value: 0 05:03:21 a1len [n=James@unaffiliated/a1len] has joined #scheme 05:03:26 No, these are three boxes active. 05:03:37 Any chance of boxes being GCed when idle or something? 05:04:02 I dunno! 05:04:07 wouldn't _think_ so 05:04:59 OK, so the thing is that I definitely found a bug, and it fits the description, but it might be something else. 05:05:23 yay 05:05:27 hard to test, but why not try 05:05:29 I had a good guess where the bug is, then I tried to run it (a version of it), and I just stumbled on exactly it. 05:05:46 I can't make rudybot do it, of course... 05:06:08 of course 05:06:14 Riastradh: ping? 05:06:15 The thing is that you create the box in `public-make-sandbox' -- giving it the limits and everything 05:06:39 isn't that the way I'm supposed to do it? 05:06:39 It just happens that on my machine, the 20mb limit was too small 05:06:44 i see a line of like this in Edwin, isn't this illegal? (define ((typein-editor-thunk mode)) ...) 05:07:02 (Because I have some changes that were not compiled) 05:07:16 Now, the thing is that creating the sandbox works under the same limits, 05:07:37 so if creating the sandbox takes more than 20mb -- or more than 2s, then it will fail to create the sandbox. 05:07:49 And in that case, there is no code to catch the exception. 05:08:12 Would you want to create a 30mb sandbox? 05:08:25 -!- foof [n=user@dn157-046.naist.jp] has quit [Read error: 110 (Connection timed out)] 05:08:32 offby1: ? 05:08:36 ah, so my guess may have been close 05:09:22 so a workaround is to put the "make-evaluator" inside a "with-handlers" ... ? 05:09:43 Yes, and that wouldd be the proper solution, not just a workaround. 05:09:49 oh. 05:11:00 I should probably make the docs mention that it is possible to get a limit-related error when creating the sandbox. 05:11:06 Just as an explicit reminder. 05:11:56 ayup 05:15:20 la la la 05:19:09 Hi guys! 05:19:32 How is everyone tonight? Or today? Or this morning? It depends on where you live really. 05:20:49 a1len: hey! i got the networks cracked this morning 05:21:05 With Ubuntu or Backtrack? 05:21:51 duncanm, no, that is not illegal. 05:22:02 Riastradh: what does that mean? 05:22:07 duncanm, that is the curried definition sugar. 05:22:24 Riastradh: Hi! 05:22:32 a1len: with Backtrack 05:22:33 Expand recursively: (DEFINE ( . ) ...) => (DEFINE (LAMBDA ...)) 05:24:11 duncanm: I'm curious whether Backtrack is detectable by Windows machines. 05:24:28 so (define ((typein-editor-thunk mode)) ...) => (define typein-editor-thunk (lambda () (lambda (mode) ...))) 05:24:28 SICP! 05:24:37 Not quite, duncanm. 05:25:36 -!- rudybot [n=luser@li11-10.members.linode.com] has quit [Remote closed the connection] 05:25:49 well, let's see if it stays up forever now! 05:26:02 rudybot: eval "foo" 05:26:06 still coming up 05:26:07 rudybot [n=luser@li11-10.members.linode.com] has joined #scheme 05:26:09 There. It failed. 05:26:10 rudybot: uptime 05:26:10 offby1: I've been up for six seconds; this tcp/ip connection has been up for six seconds 05:26:20 rudybot: eval (define ((foo a)) a) 05:26:22 duncanm: error: with-limit: out of memory 05:26:24 whoa 05:26:41 rudybot: eval 1 05:26:42 eli: ; Value: 1 05:26:51 rudybot: eval (define ((foo a)) a) 05:26:59 Riastradh: (define ((foo a)) a) doesn't work for me in scsh 05:27:15 rudybot: eval ((foo 1)) 05:27:15 eli: ; Value: 1 05:27:15 -!- tjafk2 [n=timj@e176200030.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 05:27:21 offby1: ha! 05:27:22 Yes, duncanm, because scsh doesn't support the recursive curried definition sugar. 05:27:26 whoa 05:27:30 eli: so lemme understand: the problem is that the "make-evaluator" call is subject to the same limits as the invocation of the evaluator? 05:27:33 Riastradh: so what's the right expansion? 05:27:36 offby1: Can you kill and restart it again? 05:27:40 aww 05:27:47 *offby1* pouts 05:27:48 rudybot: eval (let ((x (foo 0))) (x)) 05:27:49 Riastradh: error: reference to undefined identifier: foo 05:27:50 tjafk2 [n=timj@e176216158.adsl.alicedsl.de] has joined #scheme 05:27:50 my lovely uptime 05:27:53 Bah. 05:27:59 eli: why restart it? 05:28:00 rudybot: eval (begin (define ((foo a)) a) (let ((x (foo 0))) (x))) 05:28:00 Riastradh: ; Value: 0 05:28:33 Riastradh: You don't need `begin', and you don't need to have it all in one line even. 05:28:44 offby1: Did you see how it failed for duncanm? 05:28:47 no. 05:28:56 Riastradh: so how is my expansion wrong? 05:29:05 I don't know what (define ((foo a)) a) is supposed to do 05:29:14 rudybot: eval (begin (define foo (lambda () (lambda (a) a))) (let ((x (foo 0))) (x))) 05:29:14 Riastradh: error: procedure foo: expects no arguments, given 1: 0 05:29:17 offby1: that makes two of us! 05:29:28 oh 05:29:29 offby1: when duncanm said "rudybot: eval (define ((foo a)) a)", rudybot replied with an out of memory error. 05:29:32 -!- rudybot [n=luser@li11-10.members.linode.com] has quit [Remote closed the connection] 05:29:34 offby1, expand recursively: (DEFINE ( . ) ...) => (DEFINE (LAMBDA ...)) 05:29:43 offby1, you know what (define (foo a) a) does, right? 05:29:45 eli: ok, I've restarted it ... but how will that help anything? 05:29:52 so (define ((typein-editor-thunk mode)) ...) => (define typein-editor-thunk (lambda (lambda (mode) ...))) 05:29:52 Riastradh: sure 05:29:55 offby1, or (define (foobar) 0)? 05:30:02 rudybot [n=luser@li11-10.members.linode.com] has joined #scheme 05:30:03 rudybot: eval 123 05:30:04 can can just omit the normal 'argument' part of a lambda? 05:30:05 eli: error: with-limit: out of memory 05:30:09 rudybot: eval 123 05:30:09 eli: ; Value: 123 05:30:09 grr 05:30:10 offby1, now suppose I write a list rather than a name at the beginning. 05:30:16 eli: what do you suppose that's about? 05:30:22 offby1: There! 05:30:26 yeah 05:30:28 duncanm, if by `can can' you mean `can one', the answer is no. 05:30:41 offby1: My guess is that the initial load is more expensive, and it runs out of your memory limits. 05:30:45 huh 05:30:53 so 05:30:56 and yet the subsequent load doesn't?! 05:31:00 so (define ((typein-editor-thunk mode)) ...) => (define typein-editor-thunk (lambda args (lambda (mode) ...))) 05:31:04 some state is persisting somewhere, I guess 05:31:05 duncanm, no. 05:31:07 wait 05:31:09 offby1: So when the first evaluation happens, it goes beyond the limit and fails, but for the following it works fine. 05:31:11 lemme read what you wrote carefully 05:31:20 duncanm, expand recursively. Where did ARGS come from? 05:31:25 nowhere 05:31:34 rudybot: eval (define ((foo a)) a) 05:31:35 offby1: The first one might have been compiling files etc -- taking more space/time. 05:31:41 rudybot: eval (foo 'bar) 05:31:41 offby1: ; Value: # 05:31:45 rudybot: eval ((foo 'bar)) 05:31:45 offby1: ; Value: bar 05:31:57 eli: ah, time, I can understand. 05:32:10 Well, space in this example... 05:32:17 oh. 05:32:19 whatever. 05:32:24 seems comprehensible. 05:32:31 eli: thanks for figuring that out. 05:32:41 How hard is it to expand recursively according to the simple rule I gave? 05:32:53 so (define ((typein-editor-thunk mode)) ...) => (define typein-editor-thunk (lambda (mode) (lambda () ...))) 05:33:01 Yes, duncanm. 05:33:04 i got it backwards 05:33:17 this is interesting 05:33:26 i wonder if it makes sense to patch that into nuscsh 05:33:40 Riastradh: i was wondering if you have access to the raw archive of the old scheme48 CVS repo 05:33:54 Riastradh: i looked into the new mercurial repo, and it doesn't seem the history is that well preserved 05:34:02 I was not aware of any CVS repository for Scheme48. 05:34:04 i was hoping that i can just extract a patch for the bignum stuff 05:34:06 oh 05:34:13 is that so 05:34:15 that's too bad 05:34:35 Prior to the Subversion repository, Scheme48's source code was under no revision control of which I am aware. 05:34:54 that's too bad, was there a mailing list where patches were posted? 05:34:57 sigh 05:38:58 Riastradh: so, what do you think is the best strategy for porting scsh to a newer s48 VM? 05:39:00 Yes, duncanm: you will actually have to do your own work and your own thinking to make scsh run on Scheme48 >0.53, and isn't an easy task. 05:39:22 right 05:39:23 Identify the parts of scsh that depend on the parts of Scheme48 that changed. Update those parts. 05:39:28 (update those parts of scsh) 05:39:54 i thought it might be useful to diff scsh 0.67 against s48 0.53 05:39:58 And do the converse -- identify the parts of Scheme48 that needed to be changed for scsh. 05:40:10 to isolate the scsh additions 05:41:25 So go ahead and do that. 05:44:44 *duncanm* downloads some tarballs 05:47:06 saccade_ [n=saccade@209-6-23-56.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 05:47:51 nice 05:49:30 *duncanm* got a diff 05:49:37 i have thought of doing this for a while 05:51:44 so now that i have this diff, i guess i can try to transplant it onto the s48 0.57 tarball 05:52:34 Um, no. 05:52:44 Riastradh: why not? 05:52:59 At least, if `transplant' means `run patch', then you really don't want to do that. 05:53:22 nah, it's not gonna be an automated process 05:53:46 OK, good. 05:54:59 Riastradh: can you explain to me what 'cig' is? 05:55:22 It's the C interface generator, and it is irrelevant. 05:55:29 It hasn't been used since scsh 0.5. 05:56:04 You can safely ignore it. 05:56:30 Riastradh: have you been keeping track of the hg-s48 repo? 05:56:36 No. 05:56:47 it looks like they did some fixes wrt automake/autoconf lately (in the past year or so?) 05:58:51 suzume [n=user@pl044.nas933.takamatsu.nttpc.ne.jp] has joined #scheme 05:58:59 automakeE? 05:59:50 I hope Scheme48 doesn't use automake these days. Bletch. 06:00:53 Riastradh: i don't know if it's specifically automake, but i see entries like, "DESTDIR support has been added to the Makefile", ./autogen.sh added, and other make related issues 06:01:13 ...what of that suggests automake? 06:01:13 Riastradh: i remember building one of the 1.6+ releases and seeing that the build output looks a little different now 06:01:22 so it's not automake 06:03:13 -!- AtnNn [n=welcome@modemcable230.56-56-74.mc.videotron.ca] has quit ["strawberries"] 06:08:32 schme_ [n=marcus@c83-254-190-108.bredband.comhem.se] has joined #scheme 06:08:50 -!- gweiqi [n=greg@69.120.126.163] has left #scheme 06:09:11 Any last questions before I go to bed? 06:10:40 How do you write a good GC? 06:10:57 First you identify your criteria for `good'. 06:11:09 Then you refine your criteria iteratively until they spell out a program. 06:11:32 Next! 06:14:19 OK, bedtime. 06:17:41 -!- proq [n=user@unaffiliated/proqesi] has quit [Read error: 110 (Connection timed out)] 06:20:16 -!- schme [n=marcus@c83-254-190-108.bredband.comhem.se] has quit [Read error: 110 (Connection timed out)] 06:35:46 -!- saccade_ [n=saccade@209-6-23-56.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit ["This computer has gone to sleep"] 06:37:57 -!- foof` is now known as foof 06:58:13 -!- r2q2 [n=user@c-71-228-37-14.hsd1.il.comcast.net] has quit [Remote closed the connection] 07:08:42 tizoc [n=user@r190-135-16-166.dialup.adsl.anteldata.net.uy] has joined #scheme 07:10:55 johnnowak [n=johnnowa@207-38-171-48.c3-0.wsd-ubr1.qens-wsd.ny.cable.rcn.com] has joined #scheme 07:12:10 -!- johnnowak [n=johnnowa@207-38-171-48.c3-0.wsd-ubr1.qens-wsd.ny.cable.rcn.com] has quit [Client Quit] 07:18:47 -!- crypto_ is now known as z0d 07:26:30 -!- tizoc_ [n=user@r190-135-21-16.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 07:33:44 saccade_ [n=saccade@209-6-23-56.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 07:39:34 CaptainMorgan [n=CaptainM@c-24-61-150-59.hsd1.ma.comcast.net] has joined #scheme 07:45:40 -!- peter_12 [n=peter_12@S010600119506b129.gv.shawcable.net] has quit [] 08:01:59 tizoc_ [n=user@r190-135-24-194.dialup.adsl.anteldata.net.uy] has joined #scheme 08:17:54 -!- tizoc [n=user@r190-135-16-166.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 08:39:08 Ooh, a flame war on phase separation on c.l.s! 08:39:25 foof: just came back from holiday? 08:39:38 its been going on for a week 08:40:10 I think I ignored the title as being completely uninteresting, while not noticing the message count. 08:40:23 ha :) 08:40:34 scheme is evil... 08:43:03 hotblack23 [n=jh@p5B055ACB.dip.t-dialin.net] has joined #scheme 08:44:42 leppie pasted "Scheme is evil" at http://paste.lisp.org/display/69998 08:45:45 took me almost 30 min to figure out why c was not being set! 08:48:13 tizoc [n=user@r190-135-28-63.dialup.adsl.anteldata.net.uy] has joined #scheme 08:49:35 -!- bsmntbombdood [n=gavin@97-118-127-174.hlrn.qwest.net] has quit [Read error: 113 (No route to host)] 08:51:52 bsmntbombdood [n=gavin@97-118-122-197.hlrn.qwest.net] has joined #scheme 08:54:00 anyone remember erwin's nick: the cat that works for transmogrify and wrote magic, the scheme web framework? 08:55:07 s/magic, the/magic, a/ 08:56:43 klutometis: edw 08:56:50 that's right 08:57:20 foof: the definite article has an interesting ambiguity there; it's definitely modifying magic, and not scheme web framework 08:57:49 Yeah, I actually realized it was ambiguous as soon as I typed that. 08:58:00 but it would be nice to express that somehow with punctuation or other; and not resort to the indefinite article 08:58:06 hain't seem him hereabouts in a right long spell. 08:58:12 is 'Multiple Instantiations' the thread that everyone's talking about? 08:58:21 yeah; even then it seems edw would pop in and out irregularly 08:58:48 i wonder if business types become too important for #scheme at some point; and what that says about the rest of us 08:58:58 if anything 09:00:18 Today he commands a force of 35 PHP-writing kobolds, and would be embarrassed to show his face here. That's the only explanation I can countenance. 09:00:47 well 09:01:03 foof: ping? 09:01:03 hilarious; kobold does sound like a nether-race of man in middle earth 09:01:15 enough kobolds, the right enclosed terrain, and proper preperation 09:01:32 and they could probably take on a party of Schemers 09:01:38 oh shit: it is d&d; i was thinking "COBOLs" 09:01:51 -!- a1len [n=James@unaffiliated/a1len] has quit ["Lost terminal"] 09:01:55 NEEEERRRDDDDDDDSSSSSSSSSSSSSSS 09:02:01 Where?? 09:02:08 *Daemmerung* looks around frantically 09:02:43 a1len [n=James@unaffiliated/a1len] has joined #scheme 09:03:20 *klutometis* represents the greek council; who are the tri-lambds? 09:03:28 Hee. 09:04:19 (i wonder if there was indeed a subtle alonzo church joke in RoTN) 09:05:59 -!- tizoc_ [n=user@r190-135-24-194.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 09:10:10 -!- a1len [n=James@unaffiliated/a1len] has quit ["Lost terminal"] 09:11:00 kib2_ [n=chatzill@bd137-1-82-228-159-28.fbx.proxad.net] has joined #scheme 09:12:51 duncanm: pong 09:13:49 -!- Mr_Awesome [n=eric@pool-98-115-33-237.chi01.dsl-w.verizon.net] has quit ["aunt jemima is the devil!"] 09:13:53 Whoa, RoTN trivia: Larry Scott who played "Lamar" was also the voice of the Paladin in Blizzard's Diablo II. Thank you, Wikipedia. 09:15:10 foof: is 'Multiple Instantiations' the thread that everyone's talking about? 09:15:30 duncanm: "porint from Ikarus to PLT" 09:15:40 -!- saccade_ [n=saccade@209-6-23-56.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit ["This computer has gone to sleep"] 09:15:41 ah 09:15:43 porint? 09:15:46 porting 09:15:57 oops, porting 09:16:08 177, ah right 09:16:17 *foof* 's porint is too cold 09:19:37 -!- synthasee [n=synthase@68.63.20.12] has quit [Read error: 110 (Connection timed out)] 09:21:00 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 09:31:29 hmm 09:31:37 this phase separation thing is tricky 09:31:47 -!- schme_ [n=marcus@c83-254-190-108.bredband.comhem.se] has quit ["Lost terminal"] 09:31:57 i think having used s48 for two years now, i've learned how it works and that's the behavior that i expect 09:32:30 but i do remember that at first, my first instinct was to just glom everything all together 09:37:14 -!- nasloc__ [i=tim@kalug.ks.edu.tw] has quit [Read error: 110 (Connection timed out)] 09:49:16 this thread is so tedious 09:49:44 rdd [n=user@c83-250-142-219.bredband.comhem.se] has joined #scheme 09:50:03 I hear there's a cash prize if you make it to the end. 09:51:20 foof: i'm getting close! 09:54:01 -!- prestoo [n=presto10@cs180038.pp.htv.fi] has quit [Read error: 113 (No route to host)] 10:02:04 foof: i think the s48 semantics is basically what Clinger calls 'Larceny semantics', am i wrong? 10:02:18 duncanm: I'm not following too closely. 10:02:28 which is phase distinction but no multiple instantiations 10:02:35 tizoc_ [n=user@r190-135-32-141.dialup.adsl.anteldata.net.uy] has joined #scheme 10:03:04 but now i feel the same way after i read the Matthew Flatt paper, which is - how could there not be multiple instantiations when the phases are distinct? 10:07:06 Well, with separate compilation you may have multiple instantiations anyway. 10:07:32 velco [n=chill@85-130-2-7.1697011.ddns.cablebg.net] has joined #scheme 10:16:56 -!- velco [n=chill@85-130-2-7.1697011.ddns.cablebg.net] has left #scheme 10:16:59 i'm nearly done! 10:19:42 benny [n=benny@i577A01AD.versanet.de] has joined #scheme 10:19:49 -!- tizoc [n=user@r190-135-28-63.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 10:20:55 Just wait, there'll be another 50 posts by tomorrow :P 10:24:20 mike [n=mike@dslb-088-066-238-002.pools.arcor-ip.net] has joined #scheme 10:24:29 -!- mike [n=mike@dslb-088-066-238-002.pools.arcor-ip.net] has quit [Remote closed the connection] 10:26:03 oh man 10:26:04 mike [n=mike@dslb-088-066-238-002.pools.arcor-ip.net] has joined #scheme 10:26:05 that was tiring 10:26:27 it took me an hour 10:26:29 -!- mike is now known as Guest58517 10:26:47 Mr_Awesome [n=eric@pool-98-115-33-237.chi01.dsl-w.verizon.net] has joined #scheme 10:28:19 Now, for bonus points, you can move on to "Multiple Instantiations." 10:28:41 i read that before embarking on this hour-long journey 10:29:05 a1len [n=James@unaffiliated/a1len] has joined #scheme 10:29:28 ejs [n=eugen@70-234-124-91.pool.ukrtel.net] has joined #scheme 10:31:52 i'm mostly sold on the multiple instantiations point, but i do find Clinger's question on CURRENT-INPUT-PORT interesting 10:36:33 attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has joined #scheme 10:40:50 tizoc [n=user@r190-135-20-107.dialup.adsl.anteldata.net.uy] has joined #scheme 10:45:27 duncanm: i am not, but then again it has never bothered me, or maybe I am just to used to psyntax/Ikarus semantics 10:45:56 -!- tizoc_ [n=user@r190-135-32-141.dialup.adsl.anteldata.net.uy] has quit [Read error: 104 (Connection reset by peer)] 10:46:45 using current-input-port during 'phase expansion' just sounds not right anyways 10:47:01 leppie: the ikarus semantics means there are no distinctions at all between runtime and macro-expansion time, right? 10:47:53 no there, there is a destinction, however, a dependant library will just be instantiated once, regardless of the number of phases 10:48:29 that's the multiple instantiations part, and afaik, only PLT works that way 10:48:34 but what about phase distinctions? 10:49:07 i think Ikarus allows macros to access functions that are defined in the same module, which is not allowed in s48 (that much I know) 10:49:21 not it does not allow that :) 10:49:29 so now i'm all confused 10:49:50 i remembered Riastradh's summary (hopefully correctly) 10:50:16 Ariz wants neither phase distinctions nor multiple instantiations, Eli wants both, and Clinger wants only phase distinctions 10:50:25 it does allow macros to be called in the same module during 'expansion' (something liek that) 10:50:54 oh, so the 'opposite' 10:51:05 hmm 10:51:10 it's late, and i'm confused now 10:51:20 ikarus will only instantiate a library once per program 10:51:37 leppie: i think that's true for all impls. except for PLT 10:51:51 so in seperate compilation, there might be more than 1 invocation during differetn programs 10:52:41 hmm, no offense, i don't know if i want to jump into a conversation about this now ;-) 10:52:50 :) 10:56:55 !lisppaste 10:57:03 How do I summon him? 10:58:27 -!- geckosen1tor [n=sean@c-24-8-193-190.hsd1.co.comcast.net] has quit [Read error: 110 (Connection timed out)] 11:02:07 lisppaste: url 11:02:07 To use the lisppaste bot, visit http://paste.lisp.org/new/scheme and enter your paste. 11:02:40 Is it possible to complete a union of two portions without defining seperately one of the portions? And if it is, is it recommended? 11:02:51 I /msged him :) 11:06:00 a1len: am i missing context, or are you talking about union of disjoint sets? 11:07:14 klutometis: You've got it. Sorry, talk retarded like sometimes I I'm? 11:08:17 a1len: sure. 11:08:24 look at the disjoint-set egg. 11:09:16 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit ["+++ killed by SIGSEGV +++"] 11:09:56 http://www.call-with-current-continuation.org/eggs/3/disjoint-sets.html 11:10:09 elf: Yeah. I suppose that it would be simple to embed them using an extra set if () 11:10:18 m? 11:11:35 elf: Nevermind. I do have it. I'm just too tired to focus on both formal and natural languages; one suffers while one takes up all of my brain real-estate. 11:11:35 what do you mean? 11:12:08 elf: Thank you. 11:12:14 ah. get some sleep if you need it. :) 11:13:18 elf: DrScheme won't let me. 'An hour of sleep a day and the rest of the time spent learning Scheme keeps the DoctorScheme away.' 11:13:26 m? 11:13:36 you get a whole hour? 11:13:37 thats a lot. 11:19:38 -!- Arelius [n=Indy@netblock-68-183-230-134.dslextreme.com] has quit [] 11:22:09 -!- Guest58517 is now known as mike_____ 11:27:52 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 11:34:06 GreyLensman [n=ray@c-76-108-235-51.hsd1.fl.comcast.net] has joined #scheme 11:34:11 -!- GreyLensman [n=ray@c-76-108-235-51.hsd1.fl.comcast.net] has left #scheme 11:37:25 jewel [n=jewel@dsl-242-177-125.telkomadsl.co.za] has joined #scheme 11:51:14 exexex [n=chatzill@85.101.64.37] has joined #scheme 11:56:01 schumaml [i=5c4bf33f@gateway/web/ajax/mibbit.com/x-d4125a9c4523bdee] has joined #scheme 11:57:05 Cheery [n=cheery@a91-155-219-37.elisa-laajakaista.fi] has joined #scheme 11:57:36 I remember a small scheme compiler written in scheme 11:57:58 would you happen to remember better it's homepage? 11:59:51 more data required. 12:00:35 -!- attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has quit ["..."] 12:01:35 well, it were along a paper that told about implementing high level language features in assembly 12:02:33 what paper? 12:02:42 don't remember 12:02:54 it told about implementing tail recursion at least 12:03:11 when did you read it? 12:03:25 which arch was it targeting? 12:03:29 x86 12:03:43 I read it months ago 12:03:52 perhaps half year or year ago 12:04:32 oh 12:04:35 I guess I found it 12:04:43 http://www.canonical.org/~kragen/sw/urscheme/ 12:05:30 -!- ttmrichter [n=ttmricht@58.49.18.214] has quit [Connection reset by peer] 12:06:12 ttmrichter [n=ttmricht@58.49.18.214] has joined #scheme 12:06:23 cute. 12:07:27 it looked like a lovely thing 12:07:46 in itself valuable for anyone who's implementing a language. 12:07:58 *Cheery* 's just doing that all in python 12:09:41 *elf* shrugs. 12:10:35 its a tiny tiny subset of r5 without any means of interaction. the talk by feeley was lots of fun and highly useful. this implementation is cute but isnt even at toy status yet. 12:10:54 from the looks of it. i could very easily be wrong :) 12:11:16 *elf* mutters about linebreaks. 12:11:26 tizoc_ [n=user@r190-135-25-167.dialup.adsl.anteldata.net.uy] has joined #scheme 12:12:41 bogonflux [n=bogonflu@c-76-98-192-104.hsd1.nj.comcast.net] has joined #scheme 12:13:48 Hedgehog, IIRC, was prototyped in python. At least the interpreter was then rewritten in C. 12:14:25 liw seemed to think that was a good way to go 12:14:38 liw ? hedgehog? 12:18:40 -!- kib2_ [n=chatzill@bd137-1-82-228-159-28.fbx.proxad.net] has quit [Read error: 104 (Connection reset by peer)] 12:27:58 hmmm 12:28:16 name [n=name@sburn/devel/name] has joined #scheme 12:28:23 mornin elmex. 12:28:25 i wonder what a good generalized rule would be for promoting objects to old-objects in a generational garbage collector 12:28:44 -!- tizoc [n=user@r190-135-20-107.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 12:29:10 i couldn't find much in the papers or in the richard jones GC book about that. the book only gives a broad overview, but not a concrete advice 12:29:40 m. 12:30:03 in cheneymta, whenever you get to a major gc, that autogenerations it. 12:30:15 s/major/minor 12:30:25 you mean promotion on each minor collection? 12:31:59 minor collections happen when the stack gets cleared and living objects on the stack are moved to the heap, yes? 12:32:40 i thought when the space gets full a collection is performed 12:32:50 ... 12:32:57 what happens during the collection. 12:33:11 the root set is examined 12:33:20 no. 12:33:36 the objects are moved to the other space (the tospace) 12:33:47 (the live objects) 12:33:59 but there is no stack involved ? 12:34:10 *elf* sighs. youre talking stop and copy. 12:34:26 yes, sorry, i was talking about a copying collector :-) 12:34:57 a compacting, copying, nonrealtime collector as described in sicp. yes. which is a useful and clear model. 12:36:41 generational model is different. 12:37:26 afaik only in sofar as there are 2 generations, with 2 semispaces each. 12:37:39 those arent generations. 12:37:43 (when a copying collector is used, eg. with cheney algorithm) 12:37:47 no. 12:37:51 cheney is something entirely different. 12:37:58 slow down. 12:38:02 cheney is the algorithm with the 2 semispaces, i know 12:38:08 what are you talking about? 12:38:19 about a copying generational garbage collector 12:38:55 cheneymta isnt a copying generational gc in the traditional sense. 12:39:04 lets back up a moment. 12:39:06 yes 12:39:27 the cheney algorithm is just a simple s&c 12:39:28 how do you define generational gc? 12:39:30 no, its not. 12:39:44 ignore cheney for the moment. lets go back a bit further. 12:39:59 -!- a1len [n=James@unaffiliated/a1len] has quit ["Lost terminal"] 12:40:22 oh wait 12:40:26 how do you define generational gc, as opposed to nongenerational gc? 12:40:36 what makes a gc algo a generational algo? 12:40:39 i ignored the fact that a generation gc doesn't work with semispaces anymore? 12:41:35 the difference is that there are 2 areas which are garbage collected. one where the new objects are allocated is always collected, and sometimes if those objects survive, they are promoted to the old area 12:41:39 elf: from the looks of it? It may not conform standards perfectly, but it's to some extent tested thing 12:41:59 and probably, never intended to be copied or forked directly 12:43:51 cheery: it has basic pairs, bools, type predicates, lambda, if, global and lexical scope, limited strings, very limited math. 12:45:04 yep, good set to get on with it :) 12:45:11 cheery: no i/o, no gc, no chars, no vecs, no ports, not enough numerics to actually write something... 12:45:47 gc, i/o, chars and vecs sound very trivial 12:45:49 cheery: no symbols, no proper quoting. 12:45:55 elf: you know what's not trivial? 12:45:58 *elf* laughs his brains out. 12:46:15 cheery: the author followed exactly what feeley did in the talk. 12:46:18 having some crap that outputs elf file format is not. :) 12:47:03 elf: feeley? 12:47:16 its not elf format. 12:47:37 and elf file format would actually be trivial. 12:47:48 nope, I'm wondering.. remembering I hit something like that while ago while searching. 12:48:40 elf: if you can give the link to feeley's talk or more papers, I'd be ok with it 12:48:47 no continuations, no eval, no apply, no backtick. 12:49:02 cheery: its trivial to find it online. 12:49:20 methinks its unlikely youve actually read this scheme code, as its referenced in the opening comments. 12:49:32 and on the urscheme page. 12:49:49 *elf* checks if google still works. 12:50:06 I've looked onto it once or twice, just downloaded the code 12:50:31 elmex: you described a copying gc, not a generational. 12:51:02 -!- schumaml [i=5c4bf33f@gateway/web/ajax/mibbit.com/x-d4125a9c4523bdee] has quit ["http://www.mibbit.com ajax IRC Client"] 12:51:13 elf: then i wonder what your definiton of generation is, if it is no the distinction of young and old objects 12:51:48 elf: of course a generational collector _can_ be implemented being non-copying, but i'm talking about copying generational collectors 12:52:20 http://www.iro.umontreal.ca/~boucherd/mslug/meetings/20041020/minutes-en.html 12:52:21 -rudybot:#scheme- http://tinyurl.com/fj4af 12:52:26 elf: it's that? 12:52:56 elmex: under your current definition, is it possible for there to be a nongenerational copying collector? 12:53:08 elf: yes 12:53:21 elmex: example. 12:53:49 elf: when there is no distinction of young/old objects and all there is are 2 semi-spaces which are used as to/from-space on each scavenge. 12:54:14 how does a 'semispace' differ from a generation? 12:54:39 cheery: thats the mslug notes about it, yes. 12:54:40 well, you could say that that would be a generational copying collector with 1 generation :) 12:54:52 which is always collected 12:56:19 ... 12:58:35 elf: I also remember the ghuloum -paper 12:58:51 hm 12:58:57 perhaps it'd be time to get onto it. 12:59:30 elf: am i wrong? 12:59:43 elemex: so what is the distinction between generational gc and copying gc? 12:59:53 elmex, even. 13:00:33 hmm... wondering about my parser 13:00:47 I'm not sure whether it produces nice-to-parse -output 13:01:21 elf: the distinction is that a generation collector collects a space with the young objects more often than the space with the old objects 13:01:56 how does it know which objects are young and which arent? 13:02:17 for my language I were thinking to implement an incremental gc of some sort 13:03:03 elf: it could record the age (in times the object survived in the current generation) or it could promote the objects to the old(er) generation if it simply survives in the current generation. 13:03:38 Cheery: what are u writing? 13:03:51 a programming language implementation 13:03:53 on top of python 13:03:54 how would the first method avoid going through all the objects, then? 13:04:28 elmex: weren't that obvious already? 13:05:19 elf: well, it would have to divide the current generation into 2 semispaces for example, and collect there until some objects are 'old enough' to be promoted to the older generation 13:06:10 *elf* ponders #scython or #pyeme. there seems to be a lot of pythoners here these days. 13:06:46 elmex: so what is a 'semispace' ? 13:07:00 and how is it different than a generation? 13:07:05 and how does one form these 'semispaces'? 13:08:38 elf: as i said, you could say that the semispace approach is already generational. the space is usually divided into 2 semispaces: tospace and fromspace. and they are used to copy the live objects fro the fromspace to the tospace 13:08:51 ok, I guess I start writing this parser by first improving the parser. :) 13:09:21 elmex: then how can one implement a nongenerational copying gc? 13:10:18 youre glomming some concepts from copying onto generational, and vice versa. 13:10:37 i'm talking abotu a copying generational gc 13:11:02 the basic concept is, that 'young' objects are collected more often than 'old' objects 13:11:07 right. i asked you if it was possible to do a nongenerational copying gc, under the definitions you have given. 13:11:42 elf: it's probably not possible with that definition 13:12:35 its not possible with the set of definitions you offered, correct. it is possible, though. (how to do so is not relevant to the current discussion, though.) 13:13:07 so you claim that the simple semi-space approach is already generational? 13:13:13 no. 13:13:27 ok 13:14:20 i claim that you have two sets of concepts joined together which is fuzzing your understanding and your questions, 13:15:03 and im trying to find where the concepts are improperly merged. 13:15:11 what is a 'generation'? 13:15:40 i guess my bad assumption was, that i thought that each generation has always 2 semispaces. but i just saw that completely different layouts of generations are possible 13:15:49 yes. 13:16:13 hm, i messed that up a bit 13:16:21 generations can be arbitrary units. 13:16:46 yes 13:17:21 hm 13:17:31 ok, i think i need to read the stuff about generational gc again then 13:17:39 elf: thanks :) 13:17:43 Nshag [i=user@Mix-Orleans-105-3-47.w193-250.abo.wanadoo.fr] has joined #scheme 13:19:46 np. 13:21:15 what i was trying to say about cheneymta is that since its based around a stack, when the stack hits some max depth (less than the crash and burn stackpoof depth), any objects still alive on the stack at that point can be copied to the heap, and its a fairly clean generation gap. 13:22:10 (backreferences may have to be cleaned up, but its a good way to have fairly uniformly sized generations with high cohesion.) 13:22:11 hmm 13:23:15 (if one adds generation merging, its highly effective, actually.) 13:23:47 http://home.pipeline.com/~hbaker1/CheneyMTA.html 13:23:52 aye. 13:24:21 hmm 13:24:25 (what i just said was a rough approximate explanation of chicken's gc.) 13:24:29 thats a very specialized approach 13:25:30 you asked for a general way to promote new objects to old objects. 13:25:40 heh 13:25:43 yes 13:25:44 this is a highly general way. 13:26:18 once maximum safe stackdepth is reached, all living objects on the stack become the newest generation on the heap. 13:26:56 whats the purpose of the stack? allocation? argument passing? 13:27:44 so, if we view 0 as the youngest generation, we can look at the stack as gen 0, the top of the heap up to some barrier as gen 1, the next n bytes as gen 2, etc. 13:27:55 erm? 13:29:08 arethe objects allocated on the stack? 13:29:29 are which objects allocated on the stack? 13:29:53 you are talking about the C stack? or which stack? 13:29:54 much of the initial allocation is done on the stack. 13:29:57 yes, the c stack. 13:30:43 you get very cheap minor gc this way. just drop all the frames, after only copying the living data. 13:30:54 (you never even see the dead shtuff.) 13:31:01 hmm 13:31:03 funny 13:31:23 *elf* shrugs. 13:31:54 its an interesting system. 13:33:14 its not necessarily the most efficient way of doing things. the generational model itself may be flawed, as the assumption that generational gc is based around, ie 'as an object gets older, it becomes increasingly unlikely that it will be removed' ... 13:33:26 may not actually be the case in practise. 13:33:45 yes 13:34:02 there is a detailed analyse of that in the gc book by richard jones 13:34:06 aye. 13:34:07 it's after all just a heuristic :) 13:36:27 i would venture that any general-purpose at-least-semi-fast gc algo is at best a weak heuristic. 13:37:26 if youre trying to code for certain types of apps, it should be possible to at least write a workable highly specialised gc algo for that domain. 13:37:54 *elf* adds too many clauses to his sentences which go on forever as he repeats himself. 13:37:56 hm, i'm searching for a more or less general-purpose thing, thats not too hard to implement 13:38:00 m. 13:38:31 i'll probably implement a simple stop© algo first, i've never implemented a non-refcounting gc before :) 13:38:35 this is a learning experience for you? ie, youre just writing an implementation for the hell of it, so you want to do all the parts instead of use extant code? 13:39:11 this is mostly a learning experience (for fun) 13:39:12 s&c is easy and useful. theres a semirealtime s&c algo . 13:39:27 a semirealtime one? interesting 13:39:30 but its of much higher complexity than you probably want to start with. 13:39:31 got a pointer? 13:39:36 ah :) 13:40:34 it was discussed in another paper by baker, and i think was originally conceived by ... hewitt? 13:40:47 i really should know this. 13:41:07 are tyou specialed on GC? :) 13:43:52 http://citeseerx.ist.psu.edu/viewdoc/versions?doi=10.1.1.88.1933 13:44:20 oh, that paper 13:44:30 i think so. 13:44:46 i dont know, my machine is all messed up and i mislabeled a giant batch of papers. 13:44:49 so who knows. 13:46:50 theres several papers by zorn on gc comparison. 13:48:14 hmm 13:48:29 http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.39.4550 may be useful. 13:49:06 *elf* mutters. i preferred the old citeseer interface. the new one looks hideous in lynx. 13:49:27 *elf* practises omphaloskepsis. 13:49:51 that second paper looks interesting 13:50:29 aye. 13:54:48 -!- r0bby [n=wakawaka@guifications/user/r0bby] has quit [Connection timed out] 13:58:17 i'll be happy if i can implement a working s&c GC :) 14:05:28 maybe implementing some generational scheme later to shorten the GC pauses. 14:06:05 -!- Cheery [n=cheery@a91-155-219-37.elisa-laajakaista.fi] has quit [Read error: 60 (Operation timed out)] 14:07:37 -!- kraant [n=kraant@CPE-58-161-128-2.nsw.bigpond.net.au] has quit [Read error: 60 (Operation timed out)] 14:16:56 gweiqi [n=greg@69.120.126.163] has joined #scheme 14:19:12 AtnNn [n=welcome@modemcable230.56-56-74.mc.videotron.ca] has joined #scheme 14:24:42 kuribas [i=kristof@d54C43E3B.access.telenet.be] has joined #scheme 14:47:45 synthasee [n=synthase@68.63.20.12] has joined #scheme 14:58:53 -!- Poeir_ [n=Poeir@c-98-222-133-165.hsd1.il.comcast.net] has quit ["Leaving"] 15:00:53 choas [n=lars@p5B0DC022.dip.t-dialin.net] has joined #scheme 15:24:46 -!- MichaelRaskin_ is now known as KefkaPalazzo 15:25:02 -!- KefkaPalazzo is now known as MichaelRaskin1 15:50:07 catface [i=catface@cpc3-hem14-0-0-cust864.lutn.cable.ntl.com] has joined #scheme 15:55:52 attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has joined #scheme 16:05:46 -!- gnomon [n=gnomon@CPE001d60dffa5c-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Read error: 60 (Operation timed out)] 16:05:57 gnomon [n=gnomon@CPE001d60dffa5c-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 16:17:32 annodomini [n=lambda@c-66-30-138-18.hsd1.ma.comcast.net] has joined #scheme 16:25:24 peter_12 [n=peter_12@S010600119506b129.gv.shawcable.net] has joined #scheme 16:35:13 -!- Modius_ [n=Modius@ppp-70-251-185-93.dsl.austtx.swbell.net] has quit ["I'm big in Japan"] 16:40:21 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [Read error: 60 (Operation timed out)] 16:41:17 sladegen [n=nemo@unaffiliated/sladegen] has joined #scheme 16:57:40 saccade_ [n=saccade@209-6-23-56.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 17:03:35 emma [n=emma@unaffiliated/emma] has joined #scheme 17:05:31 madara [n=madara@unaffiliated/madara] has joined #scheme 17:05:50 -!- saccade_ [n=saccade@209-6-23-56.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit ["This computer has gone to sleep"] 17:13:45 -!- madara [n=madara@unaffiliated/madara] has left #scheme 17:14:16 jgracin [n=jgracin@82.193.208.195] has joined #scheme 17:14:33 ecraven [n=nex@plc31-103.linzag.net] has joined #scheme 17:21:27 -!- synthasee [n=synthase@68.63.20.12] has quit [Connection timed out] 17:22:38 borism [n=boris@195-50-200-2-dsl.krw.estpak.ee] has joined #scheme 18:03:54 -!- attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has quit ["..."] 18:10:19 -!- AtnNn [n=welcome@modemcable230.56-56-74.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 18:12:28 mejja [n=user@c-4db6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 18:14:18 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 18:17:41 ejs_ [n=eugen@224-155-124-91.pool.ukrtel.net] has joined #scheme 18:20:00 annodomini [n=lambda@c-66-30-138-18.hsd1.ma.comcast.net] has joined #scheme 18:21:49 puchacz [n=puchacz@87-194-5-99.bethere.co.uk] has joined #scheme 18:27:22 AtnNn [n=welcome@modemcable230.56-56-74.mc.videotron.ca] has joined #scheme 18:28:28 igli [n=igli@fu/coder/igli] has joined #scheme 18:31:21 geckosenator [n=sean@c-24-8-193-190.hsd1.co.comcast.net] has joined #scheme 18:32:10 -!- name [n=name@sburn/devel/name] has quit [Connection timed out] 18:36:44 -!- ejs [n=eugen@70-234-124-91.pool.ukrtel.net] has quit [Read error: 110 (Connection timed out)] 18:52:42 iion_tichy [n=Bjoern@e179074227.adsl.alicedsl.de] has joined #scheme 18:55:10 fschwidom [n=fschwido@dslb-084-059-131-043.pools.arcor-ip.net] has joined #scheme 18:56:29 name [n=name@sburn/devel/name] has joined #scheme 18:58:06 attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has joined #scheme 19:00:05 synthasee [n=synthase@68.63.20.12] has joined #scheme 19:04:06 -!- geckosenator [n=sean@c-24-8-193-190.hsd1.co.comcast.net] has quit [Read error: 60 (Operation timed out)] 19:04:17 geckosenator [n=sean@c-24-8-193-190.hsd1.co.comcast.net] has joined #scheme 19:11:47 -!- igli [n=igli@fu/coder/igli] has left #scheme 19:15:28 GreyLensman [n=ray@c-76-108-235-51.hsd1.fl.comcast.net] has joined #scheme 19:16:01 -!- GreyLensman [n=ray@c-76-108-235-51.hsd1.fl.comcast.net] has left #scheme 19:25:12 forcer [n=forcer@e179197199.adsl.alicedsl.de] has joined #scheme 19:26:59 -!- vorpal [n=rhunter@pdpc/supporter/student/vorpal] has quit ["The incensed priests...continued to raise their voices, vituperating each other in bad Latin"] 19:27:48 -!- mbishop [n=martin@unaffiliated/mbishop] has quit [Read error: 131 (Connection reset by peer)] 19:29:14 mbishop [n=martin@unaffiliated/mbishop] has joined #scheme 19:31:22 sctb [n=sctb@S01060016cbc2d41a.cg.shawcable.net] has joined #scheme 19:31:22 -!- leppie [n=lolcow@196-210-146-254-ndn-esr-3.dynamic.isadsl.co.za] has quit [Read error: 54 (Connection reset by peer)] 19:32:05 -!- ejs_ [n=eugen@224-155-124-91.pool.ukrtel.net] has quit [Remote closed the connection] 19:32:30 leppie [n=lolcow@196-210-146-254-ndn-esr-3.dynamic.isadsl.co.za] has joined #scheme 19:35:19 saccade_ [n=saccade@dhcp-18-188-68-12.dyn.mit.edu] has joined #scheme 19:41:06 Arelius [n=Indy@netblock-68-183-230-134.dslextreme.com] has joined #scheme 19:41:55 -!- forcer [n=forcer@e179197199.adsl.alicedsl.de] has quit [Read error: 131 (Connection reset by peer)] 19:42:39 forcer [n=forcer@e179197199.adsl.alicedsl.de] has joined #scheme 19:45:32 kraant [n=kraant@CPE-58-161-128-2.nsw.bigpond.net.au] has joined #scheme 19:53:28 -!- bcow [n=null@S01060050fc051c84.lb.shawcable.net] has quit [] 19:57:13 kniu [n=kniu@LEMON.RES.CMU.EDU] has joined #scheme 19:57:33 eno [n=eno@nslu2-linux/eno] has joined #scheme 19:58:12 -!- MichaelRaskin1 [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has left #scheme 19:59:36 -!- bsmntbombdood [n=gavin@97-118-122-197.hlrn.qwest.net] has quit [Read error: 110 (Connection timed out)] 20:00:07 -!- sctb [n=sctb@S01060016cbc2d41a.cg.shawcable.net] has quit ["rcirc on GNU Emacs 23.0.60.1"] 20:00:37 bsmntbombdood [n=gavin@97-118-122-197.hlrn.qwest.net] has joined #scheme 20:02:23 MichaelRaskin1 [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 20:06:43 JohnnyL [n=atomicto@ool-182ddad4.dyn.optonline.net] has joined #scheme 20:14:09 GoNoGo [n=GoNoGo@cro34-3-82-236-93-215.fbx.proxad.net] has joined #scheme 20:18:09 -!- peter_12 [n=peter_12@S010600119506b129.gv.shawcable.net] has quit [] 20:18:48 grettke [n=grettke@CPE-65-31-132-59.wi.res.rr.com] has joined #scheme 20:19:44 -!- grettke [n=grettke@CPE-65-31-132-59.wi.res.rr.com] has quit [Client Quit] 20:29:13 errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 20:38:28 -!- attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has quit ["..."] 20:41:24 nvteighen [n=nvteighe@42.Red-83-36-217.dynamicIP.rima-tde.net] has joined #scheme 20:44:07 vasa [n=vasa@mm-77-89-84-93.dynamic.pppoe.mgts.by] has joined #scheme 20:47:03 -!- nvteighen [n=nvteighe@42.Red-83-36-217.dynamicIP.rima-tde.net] has left #scheme 20:47:18 vorpal [n=rhunter@pdpc/supporter/student/vorpal] has joined #scheme 20:47:21 -!- GoNoGo [n=GoNoGo@cro34-3-82-236-93-215.fbx.proxad.net] has quit ["ChatZilla 0.9.83 [Firefox 3.0.3/2008092417]"] 21:04:27 npe [n=npe@66.112.249.148] has joined #scheme 21:05:34 Abantasia [n=warm@85.96.231.252] has joined #scheme 21:07:29 i write a function that uses set-cdr! but set-cdr! function is not defined for version 4.1.2.I wrote my own set-cdr!.I know set-cdr! sense but my code is true.It looks like true.My code is, (define (set-cdr! l x) 21:07:29 (set! l (cons (car l) x))) 21:09:44 Abantasia: You're only changing the local value of l there 21:10:24 AFAIK, set-cdr! cannot be made on top of the language, unless you redefine cons, car and cdr as well 21:12:26 redefine cons car cdr by using set-car! set-cdr!.in drscheme set-car! and set-cdr! is not defined. 21:12:55 I think you can use a language mode that has set-car! and set-cdr! 21:14:15 lisppaste, !url 21:14:15 To use the lisppaste bot, visit http://paste.lisp.org/new/scheme and enter your paste. 21:14:17 -!- jgracin [n=jgracin@82.193.208.195] has quit [Remote closed the connection] 21:16:48 Abantasia pasted "set-car! and set-cdr!" at http://paste.lisp.org/display/70036 21:17:49 Unfortunately, in their zeal to functionalize the language, the PLT folks have eliminated the less confusing of the primitive mutation operators in Scheme. 21:18:30 Abantasia: in PLT, you have to change the language to R5RS to get mutable pairs in the base language. 21:19:10 i guessed pretty big include R5RS 21:20:53 For any other language, (require scheme/mpair) to get a mcar, mcdr, mcons, set-mcar!, and set-mcdr!. 21:21:07 yay.. 21:21:16 -!- Nshag [i=user@Mix-Orleans-105-3-47.w193-250.abo.wanadoo.fr] has quit [Read error: 104 (Connection reset by peer)] 21:23:13 GreyLensman [n=ray@c-76-108-235-51.hsd1.fl.comcast.net] has joined #scheme 21:23:18 -!- GreyLensman [n=ray@c-76-108-235-51.hsd1.fl.comcast.net] has left #scheme 21:24:24 Abantasia: I think that your guess was a reasonable one. Not sure why the PLTistas decided to break their so-called "legacy" language in this way. 21:25:54 it fixe 21:26:03 sorry it fix changing r5rs 21:26:27 PLtistas what is it ? 21:28:19 (A weak joke on my part. Sorry.) 21:28:35 :P 21:28:56 i am not good on english.Thats why it is weak joke 21:29:00 tahtz my mistake 21:32:33 (Rest assured that your English is infinitely superior to my Turkish.) 21:32:43 :) 21:37:50 schumaml [i=5c4bf33f@gateway/web/ajax/mibbit.com/x-1c66c0357b7be625] has joined #scheme 21:43:49 a1len [n=James@unaffiliated/a1len] has joined #scheme 21:47:24 peter_12 [n=peter_12@S010600119506b129.gv.shawcable.net] has joined #scheme 21:48:47 -!- exexex [n=chatzill@85.101.64.37] has quit [Read error: 104 (Connection reset by peer)] 21:50:30 -!- jewel [n=jewel@dsl-242-177-125.telkomadsl.co.za] has quit [Read error: 113 (No route to host)] 21:51:44 accounts 21:51:55 whoops 21:57:49 -!- leppie [n=lolcow@196-210-146-254-ndn-esr-3.dynamic.isadsl.co.za] has quit [Read error: 54 (Connection reset by peer)] 22:03:14 leppie [n=lolcow@196-210-146-254-ndn-esr-3.dynamic.isadsl.co.za] has joined #scheme 22:05:32 -!- schumaml [i=5c4bf33f@gateway/web/ajax/mibbit.com/x-1c66c0357b7be625] has left #scheme 22:08:13 -!- mike_____ [n=mike@dslb-088-066-238-002.pools.arcor-ip.net] has quit ["This computer has gone to sleep"] 22:09:40 -!- jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has quit [Connection timed out] 22:09:45 attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has joined #scheme 22:32:25 Daemmerung, how did you know my naive lang. is turkish :d 22:33:22 -!- vasa [n=vasa@mm-77-89-84-93.dynamic.pppoe.mgts.by] has quit ["I am not vasya, i am vasa"] 22:33:43 jonrafkind [n=jon@c-67-186-250-110.hsd1.co.comcast.net] has joined #scheme 22:36:12 Poeir [n=Poeir@c-98-222-133-165.hsd1.il.comcast.net] has joined #scheme 22:41:11 -!- geckosenator [n=sean@c-24-8-193-190.hsd1.co.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 22:42:23 lelf [n=lelf@217.118.90.95] has joined #scheme 22:45:55 -!- tarbo [n=me@unaffiliated/tarbo] has quit [Connection reset by peer] 22:46:09 tarbo [n=me@unaffiliated/tarbo] has joined #scheme 22:46:24 -!- ecraven [n=nex@plc31-103.linzag.net] has quit ["bbl"] 22:46:49 -!- name [n=name@sburn/devel/name] has quit [Read error: 110 (Connection timed out)] 22:58:43 Adamant [n=Adamant@c-98-244-152-196.hsd1.ga.comcast.net] has joined #scheme 23:03:38 geckosenator [n=sean@c-24-8-193-190.hsd1.co.comcast.net] has joined #scheme 23:05:35 -!- saccade_ [n=saccade@dhcp-18-188-68-12.dyn.mit.edu] has quit ["This computer has gone to sleep"] 23:06:05 -!- kuribas [i=kristof@d54C43E3B.access.telenet.be] has quit ["ERC Version 5.2 (IRC client for Emacs)"] 23:08:54 hey http://paste.lisp.org/display/70045 can you look at it ? what is my mistake ? I tried to find but i couldnt 23:11:01 -!- elmex [n=elmex@e180069136.adsl.alicedsl.de] has quit [Remote closed the connection] 23:11:07 arcfide [n=arcfide@adsl-99-137-203-160.dsl.bltnin.sbcglobal.net] has joined #scheme 23:12:54 -!- puchacz [n=puchacz@87-194-5-99.bethere.co.uk] has quit [Remote closed the connection] 23:15:33 -!- iion_tichy [n=Bjoern@e179074227.adsl.alicedsl.de] has left #scheme 23:21:15 r5rs expt 23:21:16 http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-9.html#%_idx_332 23:21:17 -rudybot:#scheme- http://tinyurl.com/5vwxon 23:22:59 presto10 [n=presto10@cs180038.pp.htv.fi] has joined #scheme 23:24:14 I thought they eliminated set-cdr! because it's simpler to implement immutable lists, and the compiler can optimize them like crazy. 23:28:11 -!- jonrafkind [n=jon@c-67-186-250-110.hsd1.co.comcast.net] has quit [Read error: 60 (Operation timed out)] 23:30:39 synx, that's one of the reasons. There's more to it than that, but I suggest that you read the mailing list or query the involved parties. 23:31:08 elias` [n=me@unaffiliated/elias/x-342423] has joined #scheme 23:31:32 I'm not all /that/ interested. I just think they had reasons besides just that set-cdr! was "legacy" 23:33:29 -!- Arelius [n=Indy@netblock-68-183-230-134.dslextreme.com] has quit [] 23:33:50 -!- lelf [n=lelf@217.118.90.95] has quit ["used jmIrc"] 23:40:58 GreyLensman [n=ray@c-76-108-235-51.hsd1.fl.comcast.net] has joined #scheme 23:41:19 -!- GreyLensman [n=ray@c-76-108-235-51.hsd1.fl.comcast.net] has left #scheme 23:49:10 gnomon, I'm revising foof-loop.txt because I have written and edited too little non-mathematical text of late. I'd like to hear from you how much worse I have made it. 23:51:53 -!- hiyuh [n=hiyuh@KD125054017176.ppp-bb.dion.ne.jp] has quit ["|_ e /\ \/ i |/| G"] 23:52:32 jonrafkind [n=jon@wireless29.wireless.utah.edu] has joined #scheme 23:53:40 Is there any consensus in the #scheme community about Clojure? Nice or not? 23:53:42 Riastradh, there's nothing on mumble in your scheme directory newer than August - is it not up yet? 23:53:55 Well, I'm still revising! 23:53:56 I'd be delighted to read over it and offer feedback, of course. 23:54:05 Ah, that would do it ;) 23:54:27 So far I have deleted a net of ten lines. I am disappointed. 23:54:33 presto10, I think that the #scheme opinion of Clojure so far is mostly "lolwut". 23:54:44 Riastradh:, it's a start! 23:55:22 bcow [n=null@S01060050fc051c84.lb.shawcable.net] has joined #scheme 23:56:12 (I have, however, reduced the word count by three hundred.) 23:56:40 -!- attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has quit [Read error: 148 (No route to host)] 23:57:13 I maybe should have directed the question to the Schema-on-Java subset of #scheme. 23:57:19 -!- hotblack23 [n=jh@p5B055ACB.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 23:58:32 *gnomon* gallops off to find food 23:58:38 Back in a flash, ladies and gents. 23:58:52 The capacitor isn't charged yet, though! 23:59:02 *Riastradh* turns the crank harder. 23:59:24 Yeah, crank it up!