00:00:22 they could have just called it (-1 3) -> 2 00:04:06 splork [n=ben@dsl092-075-228.bos1.dsl.speakeasy.net] has joined #scheme 00:08:00 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 00:11:26 rudybot: eval (integer? -1) 00:11:27 Daemmerung: your sandbox is ready 00:11:27 Daemmerung: ; Value: #t 00:11:55 klutometis: Have to pay for a second piano! 00:12:35 rudybot: eval (-1 3) 00:12:35 Daemmerung: error: procedure application: expected procedure, given: -1; arguments were: 3 00:15:58 morphir: Which is to say that -1 is not a valid identifier, whereas -1+ commonly is. 00:20:53 -!- bweaver [n=user@c-68-60-0-190.hsd1.tn.comcast.net] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 00:23:53 -!- felipe [n=felipe@my.nada.kth.se] has quit [Client Quit] 00:25:10 bokr [n=eduska@95.154.102.124] has joined #scheme 00:27:21 Daemmerung: what, to do some stuff zu vier Haenden? 00:27:32 skampler [n=sk@unaffiliated/skampler] has joined #scheme 00:28:04 incubot: ((lambda (x) (* x x)) 9) 00:28:05 81 00:28:35 is there a way to make lambdas recursive 00:29:05 You can use letrec. 00:29:30 Or everybody's fave combinator, Y. 00:30:42 -!- Lis [n=Lis@dialbs-092-079-130-087.static.arcor-ip.net] has quit ["Nettalk6 - www.ntalk.de"] 00:30:51 klutometis: nothing so extravagant. I spend half my life in a place that until a few weeks ago had no piano. Just corrected that shortcoming. 00:31:43 The new axe is nothing too fancy, but it has a real action, which is more than I could say for the Yamaha P-80 that preceded it. 00:32:34 -!- samth [n=samth@c-65-96-168-99.hsd1.ma.comcast.net] has quit ["Ex-Chat"] 00:33:13 incubot: ((letrec (fail (lambda (x) (fail x)))) 0) 00:33:13 Error: during expansion of (letrec ...) - (letrec) incomplete form: (fail (lambda (x) (fail x))) 00:33:25 incubot: ((letrec ((fail (lambda (x) (fail x))))) 0) 00:33:26 Error: during expansion of (letrec ...) - (letrec) not enough arguments: () 00:34:09 incubot: (map (lambda (x) (* x x)) '(1 2 3)) 00:34:09 (1 4 9) 00:34:18 mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 00:36:14 incubot: (foldl * (map (lambda (x) (* x x)) '(1 2 3))) 00:36:14 Error: unbound variable: foldl 00:38:13 incubot: (reduce * 1 (map (lambda (x) (* x x)) '(1 2 3))) 00:38:13 36 00:39:13 -!- flonum [n=ben@24-138-98-167.zing-net.ca] has left #scheme 00:39:28 annodomini [n=lambda@pool-141-154-229-166.bos.east.verizon.net] has joined #scheme 00:40:23 -!- davazp` [n=user@61.Red-79-153-149.dynamicIP.rima-tde.net] has quit [Read error: 101 (Network is unreachable)] 00:40:50 -!- Fare [n=Fare@c-24-218-127-11.hsd1.ma.comcast.net] has quit ["Leaving"] 00:45:35 QinGW [n=wangqing@203.86.89.226] has joined #scheme 00:47:34 incubot: (let fail ([x 0]) (fail x)) 00:47:36 Eval 894 timed out. 00:47:50 -!- foof [n=user@FL1-118-110-26-181.osk.mesh.ad.jp] has quit [Read error: 60 (Operation timed out)] 00:48:21 rudybot: eval (let fail ([x 0]) (fail x)) 00:48:22 KernelJ: your sandbox is ready 00:48:25 KernelJ: error: with-limit: out of time 00:52:03 rudybot: eval (display "Hello World!") 00:52:03 masm: error: r7rs: standard-module-name-resolver: collection not found: "r7rs" in any of: (#) in: r7rs 00:52:21 rudybot: r5rs 00:52:21 specbot: r5rs 00:52:26 *Daemmerung* boggles 00:52:45 rudybot: help 00:52:46 masm: help [], version, quote, source, seen , uptime, init [], eval ..., give ..., apropos ..., desc , doc , later "tell" ... 00:52:56 rudybot: init r5rs 00:52:57 masm: your r5rs sandbox is ready 00:53:00 rudybot: eval (display "Hello World!") 00:53:00 masm: ; stdout: "Hello World!" 00:53:13 rudybot: init r6rs 00:53:13 masm: error: r6rs: must contain a `library' form (for a library) or start with `import' (for a top-level program) in: (#%module-begin) 00:53:19 Ish.... 00:53:24 rudybot: init r5rs 00:53:24 masm: your r5rs sandbox is ready 00:54:42 rudybot: eval (write "Hello World!") 00:54:43 masm: ; stdout: "\"Hello World!\"" 00:55:04 rudybot: eval (write Hello World 00:55:04 KernelJ: error: eval:1:0: read: expected a `)' to close `(' 00:55:08 rudybot: eval (write Hello World) 00:55:08 KernelJ: error: reference to undefined identifier: Hello 00:55:13 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [] 00:55:19 rudybot: eval (write '("Hello" "World")) 00:55:20 KernelJ: ; stdout: "(\"Hello\" \"World\")" 00:55:43 There are too many "". 00:56:11 rudybot: eval (display 42) 00:56:11 masm: ; stdout: "42" 00:56:16 Yep. 00:56:33 rudybot: eval (display '("Hello" "World")) 00:56:33 KernelJ: ; stdout: "(Hello World)" 00:58:25 grnman [n=grnman@c-76-110-155-64.hsd1.fl.comcast.net] has joined #scheme 00:58:31 -!- grnman [n=grnman@c-76-110-155-64.hsd1.fl.comcast.net] has left #scheme 00:59:23 rudybot: eval "Hello World" 00:59:23 KernelJ: ; Value: "Hello World" 00:59:39 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 00:59:56 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [Client Quit] 01:01:46 rudybot: help give 01:01:46 masm: give ...: evaluate and give someone the result 01:01:55 give masm "Hello" 01:02:00 MononcQc [n=mononcqc@modemcable062.225-20-96.mc.videotron.ca] has joined #scheme 01:02:00 rudybot: give masm "Hello" 01:02:00 masm: KernelJ has given you a value, say "rudybot: eval (GRAB)" to get it (case sensitive) 01:02:05 What is with all the bot action? 01:02:25 rudybot: eval (GRAB) 01:02:25 masm: error: reference to an identifier before its definition: grab in module: 'program 01:02:38 lol fail 01:02:55 felipe [n=felipe@my.nada.kth.se] has joined #scheme 01:05:24 arcfide: Finding bugs in bots. 01:06:20 rudybot doc let* 01:06:25 rudybot: doc let* 01:06:26 KernelJ: http://docs.plt-scheme.org/reference/let.html#(form._((lib._scheme%2Fprivate%2Fletstx-scheme..ss)._let*)) 01:07:46 rudybot: help apropros 01:07:46 KernelJ: help [], version, quote, source, seen , uptime, init [], eval ..., give ..., apropos ..., desc , doc , later "tell" ... 01:09:20 rudybot: help apropos 01:09:20 KernelJ: apropos ...: look for a binding 01:10:54 -!- copumpkin [n=copumpki@dhcp-212-204.cs.dartmouth.edu] has quit [] 01:15:11 rudybot: help help 01:15:11 Bonnett: help []: what tricks can I do? 01:17:26 -!- morphir [n=morphir@84-52-234.12.3p.ntebredband.no] has quit ["leaving"] 01:18:30 foof [n=user@FL1-118-110-26-181.osk.mesh.ad.jp] has joined #scheme 01:22:13 -!- saccade_ [n=saccade@209-6-54-113.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Read error: 110 (Connection timed out)] 01:30:37 outworlder [n=user@201009053201.user.veloxzone.com.br] has joined #scheme 01:43:33 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Remote closed the connection] 01:43:40 -!- schmir [n=schmir@p54A93561.dip0.t-ipconnect.de] has quit [Remote closed the connection] 01:44:02 copumpkin [n=copumpki@c-24-63-67-154.hsd1.nh.comcast.net] has joined #scheme 01:45:00 -!- masm [n=masm@bl7-94-252.dsl.telepac.pt] has quit ["Leaving."] 01:50:46 kilimanjaro [n=kilimanj@unaffiliated/kilimanjaro] has joined #scheme 02:06:17 -!- jonrafkind [n=jon@crystalis.cs.utah.edu] has quit [Read error: 113 (No route to host)] 02:20:37 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 02:22:22 huffingtonz [n=andrey@c-98-216-4-134.hsd1.nh.comcast.net] has joined #scheme 02:25:46 -!- mrsolo [n=mrsolo@nat/yahoo/x-zdkqcoyyrmqhlqpk] has quit [Read error: 110 (Connection timed out)] 02:26:24 I really need to get to writing my own bot some time. 02:27:51 RFX [n=kvirc@93-103-186-1.dynamic.dsl.t-2.net] has joined #scheme 02:29:30 -!- bgs100 [n=ian@unaffiliated/bgs100] has quit ["Leaving"] 02:32:20 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 02:32:27 -!- MononcQc [n=mononcqc@modemcable062.225-20-96.mc.videotron.ca] has left #scheme 02:32:36 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [Client Quit] 02:41:39 -!- luz [n=davids@189.122.90.116] has quit ["Client exiting"] 02:45:46 -!- Arelius [n=user@64.174.9.113] has quit [Remote closed the connection] 02:50:41 ski_ [n=md9slj@remote1.student.chalmers.se] has joined #scheme 02:52:07 That way lies madness 02:57:48 Quadrescence [n=quad@unaffiliated/quadrescence] has joined #scheme 02:58:26 Does anyone understand denotational semantics? 02:59:21 -!- rstandy [n=rastandy@net-93-144-90-233.t2.dsl.vodafone.it] has quit [Connection timed out] 03:03:35 Quadrescence: I have had some education in the area, but that does not imply that I will be able to answer your question. 03:03:41 Quadrescence: What is your question? 03:04:01 I don't know. I'm just angry 03:05:21 -!- timchen1a is now known as nasloc__ 03:05:47 -!- RFX [n=kvirc@93-103-186-1.dynamic.dsl.t-2.net] has quit [Client Quit] 03:08:07 Quadrescence: I noticed that it was quite hard at times to encode things that one usually thinks about in operational ways as denotational semantics, but other than that, I didn't think there was anything particularly enfuriating about the technique. 03:20:10 -!- huffingtonz [n=andrey@c-98-216-4-134.hsd1.nh.comcast.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- copumpkin [n=copumpki@c-24-63-67-154.hsd1.nh.comcast.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- a-s` [n=user@nat-240.ro.66.com] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- dmoerner [n=dmr@134.173.91.146] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- MichaelRaskin [n=MichaelR@195.91.224.225] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- Quadrescence [n=quad@unaffiliated/quadrescence] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- hosh [n=hosh@c-71-199-176-82.hsd1.ga.comcast.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- kenjin2201 [n=kenjin@163.152.84.68] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- reid02 [n=reid02@CPE00226b5e2074-CM000e5c6ebb22.cpe.net.cable.rogers.com] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- yosafbridge [n=yosafbri@li14-39.members.linode.com] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- CaptainMorgan [n=CaptainM@c-24-62-183-102.hsd1.ma.comcast.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- ski_ [n=md9slj@remote1.student.chalmers.se] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- bokr [n=eduska@95.154.102.124] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- outworlder [n=user@201009053201.user.veloxzone.com.br] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- nowhere_man [n=pierre@lec67-4-82-235-57-28.fbx.proxad.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- TR2N [i=email@89-180-155-121.net.novis.pt] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- incubot [i=incubot@klutometis.wikitex.org] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- mornfall [n=mornfall@kde/developer/mornfall] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- clog [n=nef@bespin.org] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- offby1 [n=user@q-static-138-125.avvanta.com] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- rudybot [n=luser@q-static-138-125.avvanta.com] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- incwolf [n=phil@cpe-76-172-228-179.socal.res.rr.com] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- ve [n=a@vortis.xen.tardis.ed.ac.uk] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- Axioplase_ [n=Axioplas@130.34.188.206] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- kencausey [n=ken@67.15.6.88] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- C-Keen [i=ckeen@pestilenz.org] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- roderic [n=user@zerowing.ccs.neu.edu] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- tessier [n=treed@kernel-panic/sex-machines] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- stepnem [n=stepnem@88.103.132.186] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- chops [n=nope@dyn-138.greentreefrog.net.au] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- jmcphers [n=jmcphers@218.185.108.156] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- KernelJ [n=cipherja@zone2.robinson.cam.ac.uk] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- tltstc [n=tltstc@cpe-76-90-95-39.socal.res.rr.com] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- jyujin [n=mdeining@62.75.166.245] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- Daemmerung [n=goetter@1133sae.mazama.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- mbishop [n=mbishop@geeks.im] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- arcfide [i=arcfide@adsl-99-14-210-235.dsl.bltnin.sbcglobal.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- bzzbzz [n=franco@modemcable240.34-83-70.mc.videotron.ca] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- ineiros [n=itniemin@james.ics.hut.fi] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- mreggen [n=mreggen@cm-84.215.28.167.getinternet.no] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- qebab [i=finnrobi@caracal.stud.ntnu.no] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- leppie|work [i=52d2e3c8@gateway/web/freenode/x-bzpplbtysebuylkd] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- ray [i=ray@drong.notacat.org] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- eli [n=eli@winooski.ccs.neu.edu] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- rotty [n=rotty@nncmain.nicenamecrew.com] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- guenthr_ [n=unknown@sahnehaschee.unix-ag.uni-kl.de] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- chandler [n=n@opendarwin/developer/chandler] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- ada2358 [n=ada2358@unaffiliated/ada2358] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- DerGuteMoritz [n=syn@85.88.17.198] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- elly [n=pyxystyx@unaffiliated/elly] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- makmanalp [n=legato@80.76.201.55] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- gnomon [n=gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- dlouhy [n=jdlouhy@zerowing.ccs.neu.edu] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- felipe [n=felipe@my.nada.kth.se] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- cmatei [n=cmatei@95.76.26.166] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- tmitt [i=seg@wizardly.us] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- aehrisch [n=knauel@vhost.knauel.org] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- erg [n=erg@li13-154.members.linode.com] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- ecraven [n=nex@octonex.swe.uni-linz.ac.at] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- kazzmir [n=kazzmir@98.202.86.149] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- duncanm [n=duncan@a-chinaman.com] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- nicktastic [n=nick@unaffiliated/nicktastic] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- XTL [i=t6haha00@rhea.oamk.fi] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- Adrinael [n=adrinael@barrel.rolli.org] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- Bonnett [n=Bonnett@83.231.115.224] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- Nshag [n=shag@lns-bzn-37-82-253-33-216.adsl.proxad.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- zbigniew [n=zb@3e8.org] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- rmrfchik [n=rmrfchik@linuxhacker.ru] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- sjamaan [n=sjamaan@netbsd/developer/sjamaan] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- tabe```` [n=user@adel.fixedpoint.jp] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- Mr_Awesome [n=eric@c-98-212-136-80.hsd1.il.comcast.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- j0ni [n=joni@192.219.30.200] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- Leonidas [n=Leonidas@unaffiliated/leonidas] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- tizoc [n=user@unaffiliated/tizoc] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- certainty [n=david@hades.d-coded.de] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- leppie [n=lolcow@dsl-244-201-199.telkomadsl.co.za] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- tjafk [n=timj@e176201240.adsl.alicedsl.de] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- xwl_ [n=user@esprx01x.nokia.com] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- lisppaste [n=lisppast@common-lisp.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- dmpk2k [n=dmpk2k@static-64-115-4-131.isp.broadviewnet.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- dfeuer [n=dfeuer@wikimedia/Dfeuer] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- peddie [n=peddie@TEP.MIT.EDU] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- z0d [n=z0d@unaffiliated/z0d] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- elf [i=elf@antenora.aculei.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- rapacity [n=prwg@unaffiliated/rapacity] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- minion [n=minion@common-lisp.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- synx [i=synx@gateway/gpg-tor/key-0xA71B0C6A] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- sad0ur [n=sad0ur@psi.cz] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- _Jordan_ [n=jcooper@173-45-228-22.slicehost.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- saccade [n=saccade_@COMBINATOR.MIT.EDU] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- Armageddon00 [n=danking@zerowing.ccs.neu.edu] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- drewfer [n=drewfer@67.58.77.138] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- klutometis [i=klutomet@klutometis.wikitex.org] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- specbot [n=specbot@common-lisp.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- skampler [n=sk@unaffiliated/skampler] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- tomaw_ [i=tomaw@freenode/staff/tomaw] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- foof [n=user@FL1-118-110-26-181.osk.mesh.ad.jp] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- QinGW [n=wangqing@203.86.89.226] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- untouchable [i=untoucha@dhcp-129-64-166-32.dorm.brandeis.edu] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- kniu [n=kniu@HOHOHO.RES.CMU.EDU] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- eno [n=eno@nslu2-linux/eno] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- araujo [n=araujo@gentoo/developer/araujo] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- linas [n=linas@99.153.64.179] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- jay-mccarthy [n=jay@lallab.cs.byu.edu] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- samth_away [n=samth@punge.ccs.neu.edu] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- wastrel [n=wastrel@nylug/member/wastrel] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- ski [n=slj@c-d413e055.1149-1-64736c10.cust.bredbandsbolaget.se] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- kilimanjaro [n=kilimanj@unaffiliated/kilimanjaro] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- splork [n=ben@dsl092-075-228.bos1.dsl.speakeasy.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- brandelune [n=suzume@pl807.nas982.takamatsu.nttpc.ne.jp] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- rdd` [n=rdd@c83-250-145-223.bredband.comhem.se] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- zbrown [n=suifur@unaffiliated/zbrown] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- emma [n=em@unaffiliated/emma] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- Khisanth [n=Khisanth@pool-141-157-230-238.ny325.east.verizon.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- m811_ [n=user@150.181.35.213.dyn.estpak.ee] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- mrd` [n=matthew@shinobi.dempsky.org] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- Pepe_ [n=ppjet@mna75-4-82-225-76-148.fbx.proxad.net] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- brx_ [i=brx@erxz.com] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- joast [n=rick@76.178.178.72] has quit [simmons.freenode.net irc.freenode.net] 03:20:10 -!- r0bby [n=wakawaka@guifications/user/r0bby] has quit [SendQ exceeded] 03:20:18 -!- ASau [n=user@83.69.227.32] has quit [Connection reset by peer] 03:21:21 ASau` [n=user@83.69.227.32] has joined #scheme 03:21:21 Quadrescence [n=quad@unaffiliated/quadrescence] has joined #scheme 03:21:21 ski_ [n=md9slj@remote1.student.chalmers.se] has joined #scheme 03:21:21 huffingtonz [n=andrey@c-98-216-4-134.hsd1.nh.comcast.net] has joined #scheme 03:21:21 kilimanjaro [n=kilimanj@unaffiliated/kilimanjaro] has joined #scheme 03:21:21 copumpkin [n=copumpki@c-24-63-67-154.hsd1.nh.comcast.net] has joined #scheme 03:21:21 outworlder [n=user@201009053201.user.veloxzone.com.br] has joined #scheme 03:21:21 foof [n=user@FL1-118-110-26-181.osk.mesh.ad.jp] has joined #scheme 03:21:21 felipe [n=felipe@my.nada.kth.se] has joined #scheme 03:21:21 QinGW [n=wangqing@203.86.89.226] has joined #scheme 03:21:21 skampler [n=sk@unaffiliated/skampler] has joined #scheme 03:21:21 bokr [n=eduska@95.154.102.124] has joined #scheme 03:21:21 splork [n=ben@dsl092-075-228.bos1.dsl.speakeasy.net] has joined #scheme 03:21:21 brandelune [n=suzume@pl807.nas982.takamatsu.nttpc.ne.jp] has joined #scheme 03:21:21 Bonnett [n=Bonnett@83.231.115.224] has joined #scheme 03:21:21 untouchable [i=untoucha@dhcp-129-64-166-32.dorm.brandeis.edu] has joined #scheme 03:21:21 chops [n=nope@dyn-138.greentreefrog.net.au] has joined #scheme 03:21:21 a-s` [n=user@nat-240.ro.66.com] has joined #scheme 03:21:21 arcfide [i=arcfide@adsl-99-14-210-235.dsl.bltnin.sbcglobal.net] has joined #scheme 03:21:21 dmoerner [n=dmr@134.173.91.146] has joined #scheme 03:21:21 jmcphers [n=jmcphers@218.185.108.156] has joined #scheme 03:21:21 KernelJ [n=cipherja@zone2.robinson.cam.ac.uk] has joined #scheme 03:21:21 sladegen [n=nemo@unaffiliated/sladegen] has joined #scheme 03:21:21 MichaelRaskin [n=MichaelR@195.91.224.225] has joined #scheme 03:21:21 bzzbzz [n=franco@modemcable240.34-83-70.mc.videotron.ca] has joined #scheme 03:21:21 leppie|work [i=52d2e3c8@gateway/web/freenode/x-bzpplbtysebuylkd] has joined #scheme 03:21:21 rdd` [n=rdd@c83-250-145-223.bredband.comhem.se] has joined #scheme 03:21:21 Nshag [n=shag@lns-bzn-37-82-253-33-216.adsl.proxad.net] has joined #scheme 03:21:21 kniu [n=kniu@HOHOHO.RES.CMU.EDU] has joined #scheme 03:21:21 chandler [n=n@opendarwin/developer/chandler] has joined #scheme 03:21:21 rotty [n=rotty@nncmain.nicenamecrew.com] has joined #scheme 03:21:21 ada2358 [n=ada2358@unaffiliated/ada2358] has joined #scheme 03:21:21 guenthr_ [n=unknown@sahnehaschee.unix-ag.uni-kl.de] has joined #scheme 03:21:21 makmanalp [n=legato@80.76.201.55] has joined #scheme 03:21:21 gnomon [n=gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 03:21:21 dlouhy [n=jdlouhy@zerowing.ccs.neu.edu] has joined #scheme 03:21:21 elly [n=pyxystyx@unaffiliated/elly] has joined #scheme 03:21:21 eli [n=eli@winooski.ccs.neu.edu] has joined #scheme 03:21:21 ray [i=ray@drong.notacat.org] has joined #scheme 03:21:21 DerGuteMoritz [n=syn@85.88.17.198] has joined #scheme 03:21:21 certainty [n=david@hades.d-coded.de] has joined #scheme 03:21:21 Adrinael [n=adrinael@barrel.rolli.org] has joined #scheme 03:21:36 j0ni [n=joni@192.219.30.200] has joined #scheme 03:21:36 zbigniew [n=zb@3e8.org] has joined #scheme 03:21:36 rmrfchik [n=rmrfchik@linuxhacker.ru] has joined #scheme 03:21:36 XTL [i=t6haha00@rhea.oamk.fi] has joined #scheme 03:21:36 Mr_Awesome [n=eric@c-98-212-136-80.hsd1.il.comcast.net] has joined #scheme 03:21:36 tabe```` [n=user@adel.fixedpoint.jp] has joined #scheme 03:21:36 sjamaan [n=sjamaan@netbsd/developer/sjamaan] has joined #scheme 03:21:36 tizoc [n=user@unaffiliated/tizoc] has joined #scheme 03:21:36 Leonidas [n=Leonidas@unaffiliated/leonidas] has joined #scheme 03:21:36 tmitt [i=seg@wizardly.us] has joined #scheme 03:21:36 nicktastic [n=nick@unaffiliated/nicktastic] has joined #scheme 03:21:36 erg [n=erg@li13-154.members.linode.com] has joined #scheme 03:21:36 kazzmir [n=kazzmir@98.202.86.149] has joined #scheme 03:21:36 aehrisch [n=knauel@vhost.knauel.org] has joined #scheme 03:21:36 cmatei [n=cmatei@95.76.26.166] has joined #scheme 03:21:36 ecraven [n=nex@octonex.swe.uni-linz.ac.at] has joined #scheme 03:21:36 duncanm [n=duncan@a-chinaman.com] has joined #scheme 03:21:36 nowhere_man [n=pierre@lec67-4-82-235-57-28.fbx.proxad.net] has joined #scheme 03:21:36 leppie [n=lolcow@dsl-244-201-199.telkomadsl.co.za] has joined #scheme 03:21:36 synx [i=synx@gateway/gpg-tor/key-0xA71B0C6A] has joined #scheme 03:21:36 zbrown [n=suifur@unaffiliated/zbrown] has joined #scheme 03:21:36 ineiros [n=itniemin@james.ics.hut.fi] has joined #scheme 03:21:36 emma [n=em@unaffiliated/emma] has joined #scheme 03:21:36 hosh [n=hosh@c-71-199-176-82.hsd1.ga.comcast.net] has joined #scheme 03:21:36 kenjin2201 [n=kenjin@163.152.84.68] has joined #scheme 03:21:36 tltstc [n=tltstc@cpe-76-90-95-39.socal.res.rr.com] has joined #scheme 03:21:36 TR2N [i=email@89-180-155-121.net.novis.pt] has joined #scheme 03:21:36 tjafk [n=timj@e176201240.adsl.alicedsl.de] has joined #scheme 03:21:36 eno [n=eno@nslu2-linux/eno] has joined #scheme 03:21:36 incubot [i=incubot@klutometis.wikitex.org] has joined #scheme 03:21:36 mornfall [n=mornfall@kde/developer/mornfall] has joined #scheme 03:21:36 reid02 [n=reid02@CPE00226b5e2074-CM000e5c6ebb22.cpe.net.cable.rogers.com] has joined #scheme 03:21:36 lisppaste [n=lisppast@common-lisp.net] has joined #scheme 03:21:36 dmpk2k [n=dmpk2k@static-64-115-4-131.isp.broadviewnet.net] has joined #scheme 03:21:36 xwl_ [n=user@esprx01x.nokia.com] has joined #scheme 03:21:36 mreggen [n=mreggen@cm-84.215.28.167.getinternet.no] has joined #scheme 03:21:36 clog [n=nef@bespin.org] has joined #scheme 03:21:36 offby1 [n=user@q-static-138-125.avvanta.com] has joined #scheme 03:21:36 antoszka [n=antoszka@unaffiliated/antoszka] has joined #scheme 03:21:36 jyujin [n=mdeining@62.75.166.245] has joined #scheme 03:21:36 CaptainMorgan [n=CaptainM@c-24-62-183-102.hsd1.ma.comcast.net] has joined #scheme 03:21:36 yosafbridge [n=yosafbri@li14-39.members.linode.com] has joined #scheme 03:21:36 Daemmerung [n=goetter@1133sae.mazama.net] has joined #scheme 03:21:36 araujo [n=araujo@gentoo/developer/araujo] has joined #scheme 03:21:36 tomaw_ [i=tomaw@freenode/staff/tomaw] has joined #scheme 03:21:36 Khisanth [n=Khisanth@pool-141-157-230-238.ny325.east.verizon.net] has joined #scheme 03:21:36 m811_ [n=user@150.181.35.213.dyn.estpak.ee] has joined #scheme 03:21:36 mrd` [n=matthew@shinobi.dempsky.org] has joined #scheme 03:21:36 Pepe_ [n=ppjet@mna75-4-82-225-76-148.fbx.proxad.net] has joined #scheme 03:21:36 tessier [n=treed@kernel-panic/sex-machines] has joined #scheme 03:21:36 ve [n=a@vortis.xen.tardis.ed.ac.uk] has joined #scheme 03:21:36 Axioplase_ [n=Axioplas@130.34.188.206] has joined #scheme 03:21:36 kencausey [n=ken@67.15.6.88] has joined #scheme 03:21:36 rudybot [n=luser@q-static-138-125.avvanta.com] has joined #scheme 03:21:36 stepnem [n=stepnem@88.103.132.186] has joined #scheme 03:21:36 roderic [n=user@zerowing.ccs.neu.edu] has joined #scheme 03:21:36 incwolf [n=phil@cpe-76-172-228-179.socal.res.rr.com] has joined #scheme 03:21:36 C-Keen [i=ckeen@pestilenz.org] has joined #scheme 03:21:36 mbishop [n=mbishop@geeks.im] has joined #scheme 03:21:36 qebab [i=finnrobi@caracal.stud.ntnu.no] has joined #scheme 03:21:36 sad0ur [n=sad0ur@psi.cz] has joined #scheme 03:21:36 brx_ [i=brx@erxz.com] has joined #scheme 03:21:36 linas [n=linas@99.153.64.179] has joined #scheme 03:21:36 jay-mccarthy [n=jay@lallab.cs.byu.edu] has joined #scheme 03:21:36 Armageddon00 [n=danking@zerowing.ccs.neu.edu] has joined #scheme 03:21:36 elf [i=elf@antenora.aculei.net] has joined #scheme 03:21:36 saccade [n=saccade_@COMBINATOR.MIT.EDU] has joined #scheme 03:21:36 drewfer [n=drewfer@67.58.77.138] has joined #scheme 03:21:36 dfeuer [n=dfeuer@wikimedia/Dfeuer] has joined #scheme 03:21:36 z0d [n=z0d@unaffiliated/z0d] has joined #scheme 03:21:36 _Jordan_ [n=jcooper@173-45-228-22.slicehost.net] has joined #scheme 03:21:36 peddie [n=peddie@TEP.MIT.EDU] has joined #scheme 03:21:36 rapacity [n=prwg@unaffiliated/rapacity] has joined #scheme 03:21:36 klutometis [i=klutomet@klutometis.wikitex.org] has joined #scheme 03:21:36 ski [n=slj@c-d413e055.1149-1-64736c10.cust.bredbandsbolaget.se] has joined #scheme 03:21:36 samth_away [n=samth@punge.ccs.neu.edu] has joined #scheme 03:21:36 wastrel [n=wastrel@nylug/member/wastrel] has joined #scheme 03:21:36 minion [n=minion@common-lisp.net] has joined #scheme 03:21:36 specbot [n=specbot@common-lisp.net] has joined #scheme 03:21:36 joast [n=rick@76.178.178.72] has joined #scheme 03:22:01 r0bby [n=wakawaka@guifications/user/r0bby] has joined #scheme 03:22:20 QinGW1 [n=wangqing@211.151.251.254] has joined #scheme 03:22:20 caoliver [n=oliver@75-134-208-20.dhcp.trcy.mi.charter.com] has joined #scheme 03:23:59 -!- QinGW [n=wangqing@203.86.89.226] has quit [Read error: 60 (Operation timed out)] 03:31:27 anyone know how to create a socket using plt's socket library? it's documented here http://planet.plt-scheme.org/package-source/vyzo/socket.plt/3/2/planet-docs/manual/index.html but it's unclear how to create a socket 03:31:29 -rudybot:#scheme- http://tinyurl.com/ykspso4 03:36:07 xerox [n=xerox@unaffiliated/xerox] has joined #scheme 03:36:55 looking 03:38:09 huffingtonz: I didn't even know that package existed :- 03:38:21 I guess I've never used a raw socket; I just use tcp-connect 03:38:25 rudybot: doc tcp-connect 03:38:25 offby1: your scheme sandbox is ready 03:38:25 offby1: http://docs.plt-scheme.org/reference/tcp.html#(def._((lib._scheme%2Ftcp..ss)._tcp-connect)) 03:38:42 QinGW [n=wangqing@203.86.89.226] has joined #scheme 03:38:57 higher-level, but if you don't need complete control, probably good enough 03:40:03 -!- Bonnett [n=Bonnett@83.231.115.224] has quit [Read error: 110 (Connection timed out)] 03:41:14 thanks for that, looking 03:42:41 i thought tcp-connect is a primative, with no need to require anything 03:50:59 tcp-connect is indeed built-in. Did something suggest otherwise? 03:53:20 tjaway [n=timj@e176214077.adsl.alicedsl.de] has joined #scheme 03:53:38 ya... the (require scheme/tcp) 03:55:32 Anyone interested in sockets might like to take a look at my sockets library. I'm working on making it portable across more than just a couple implementations. 03:55:42 I'd like feedback, of course. 03:55:48 -!- QinGW1 [n=wangqing@211.151.251.254] has quit [Success] 03:56:12 Right now my priority is Windows support, but then I plan to port it to Ikarus and PLT Scheme and probably Scheme48 too. 03:56:43 tarbo [n=me@unaffiliated/tarbo] has joined #scheme 03:57:56 gopher://gopher.sacrideo.us/1arcrepo 04:08:26 huffingtonz: Not everything that is "built in" is actually available in the default language. 04:09:21 -!- tjafk [n=timj@e176201240.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 04:15:30 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 04:26:59 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [] 04:29:23 -!- kniu [n=kniu@HOHOHO.RES.CMU.EDU] has quit [Read error: 60 (Operation timed out)] 04:30:07 kniu [n=kniu@HOHOHO.RES.CMU.EDU] has joined #scheme 04:30:30 -!- Quadrescence [n=quad@unaffiliated/quadrescence] has left #scheme 04:32:32 You know, I have a real problem. After I manage to solve a problem, I sit back for a moment or two, and admire that I actually got it working. I go over the code again and smile. This is bad. Soon too much time has passed. 04:33:03 Such problems, I wish I had. 04:33:11 And, most likely, a month down the road when I re-evaluate this code, I will be embarassed much greater than I was ever proud. 04:33:40 No, seriously. I do that, too. It's sort of like showboating in the end zone, for me. 04:34:10 Yes, but then you realize that you actually barely skinned by and actually managed to escape on a technicality. 04:34:27 A touchdown is a touchdown, bitches!! 04:34:38 And then you're seen showboating over someone forgetting to catch your mistakes. 04:34:52 And, you look a fool. 04:34:57 Even if only to yourself. 04:35:35 Then you rewrite it, and declare another round of showboating, only to be stripped naked in the process barely one month further down the road. 04:35:58 Come on, man. You need to enjoy the moment more. 04:36:24 Sure, maybe you'll need to rewrite it next month. That shouldn't lessen your pleasure in something well-expressed today. 04:36:35 It doesn't help that this is one ``function'' of one module of a great many more that need completely before I'll be able to even evaluate the system. 04:36:48 Daemmerung: Well expressed? Hah! 04:37:21 Well, presumably you were preening like a peacock because you thought your code was migh-ty fine.... 04:37:44 Exactly. 04:37:48 I was mistaken. 04:37:54 Or I will discover that I am mistaken. 04:38:04 Were you mistaken? 04:38:19 Not enough test cases fed to the initial draft? 04:38:34 Heh, try two test cases. 04:38:46 Heh. 04:39:05 I have 30,000+ tests that will eventually be run.... 04:39:27 :-) And therein lies the huge potential for great heaping gobs of massive "Oh, whoops...*sheepish grin*" moments. 04:40:20 On the plus side, I feel like I have nice, prettily formatted documentation that describes my mistakes in clear, pretty fonts. 04:41:07 The benefits of Literate Programming, you get to put your mistakes into many formats with a click of the mouse, and you get to write your embarassing code together with embarassing at-the-time-it-made-sense documentation! 04:41:57 When you come back in a month to make this code work for-reals, you will thank your past self for the lovingly formatted detail. 04:42:08 Heh. 04:42:30 Actually, I am sadly disappointed in the overall engineering understanding that a large number of graduates have. 04:43:27 I didn't think I was particularly focused on engineering and proper methods, but it turns out that many of my colleagues don't even have an understanding of things like Version Control, Collaborative documentation, Documentation at all, clear APIs, abstraction, &c. 04:43:42 Not that they aren't vastly superior to me in other areas... 04:44:01 I just figured that basic software engineering was a sort of...basic (?) skill of every Computer Science graduate. 04:44:16 But that's just me ranting. 04:44:30 -!- MichaelRaskin [n=MichaelR@195.91.224.225] has quit [Remote closed the connection] 04:44:58 I suppose that if they all had the same engineering experience and practice with system design that I have, then I'd have very little to contribute. :-) 04:45:06 SE is something that a CS grad might pick up. But it's not CS. So doesn't surprise me. 04:46:00 It's not computer science, no, but I mean, I consider the clear expression of processes to be a fundamental goal of the Computer Scientist. Software Engineering is just necessary to do that with any scale. 04:46:40 I'm not talking the over-engineering that you see in massive business endeavours, but rather, common sense clarity in code organization and definition. 04:47:08 There's a lot of extraordinarily valuable CS that has nothing to do w/ code organization and definition. 04:47:18 Such as? 04:47:37 Go to citeseer, spin the "random paper" spinner. 04:48:08 Any paper that can't clearly and succinctly define its algorithms and processes fails to be a good C.S. paper, to me. 04:48:20 hwl [n=hiachu2@129.21.126.68] has joined #scheme 04:48:26 jonrafkind [n=jon@98.202.86.149] has joined #scheme 04:48:41 -!- outworlder [n=user@201009053201.user.veloxzone.com.br] has quit [Remote closed the connection] 04:49:29 Even if you are using prose, pictures, diagrams, pseudo-code, or whathaveyou, it's still code definition and the proper organization of a process. 04:50:08 annodomini [n=lambda@pool-141-154-229-166.bos.east.verizon.net] has joined #scheme 04:50:21 Anyways, yes, I really am off to bed. 04:50:24 Good night everyone. 04:51:27 Citeseer ain't cooperating-- was trying to send you a link to "Spherical Averages and Applications to Spherical Splines and Interpolation." Anyway. Nighty-night. 04:52:02 -!- arcfide [i=arcfide@adsl-99-14-210-235.dsl.bltnin.sbcglobal.net] has quit ["Zzzz."] 05:00:41 Summermute [n=Summermu@c-98-204-67-114.hsd1.dc.comcast.net] has joined #scheme 05:27:08 -!- hwl [n=hiachu2@129.21.126.68] has left #scheme 05:43:52 -!- untouchable [i=untoucha@dhcp-129-64-166-32.dorm.brandeis.edu] has quit [Read error: 54 (Connection reset by peer)] 05:43:59 untouchable [i=untoucha@dhcp-129-64-166-32.dorm.brandeis.edu] has joined #scheme 05:59:49 -!- KernelJ [n=cipherja@zone2.robinson.cam.ac.uk] has quit [] 06:03:27 bombshelter13b [n=bombshel@76-10-149-209.dsl.teksavvy.com] has joined #scheme 06:03:52 -!- copumpkin [n=copumpki@c-24-63-67-154.hsd1.nh.comcast.net] has quit [Remote closed the connection] 06:06:46 saint_cypher [n=saint_cy@adsl-99-2-72-93.dsl.pltn13.sbcglobal.net] has joined #scheme 06:09:59 -!- caoliver [n=oliver@75-134-208-20.dhcp.trcy.mi.charter.com] has left #scheme 06:11:44 pavelludiq [n=quassel@91.139.195.126] has joined #scheme 06:16:49 hellyeah [n=hellyeah@78.185.137.69] has joined #scheme 06:19:37 Arelius [n=user@64.174.9.113] has joined #scheme 06:22:21 I'm writing a chat client/server program. Here is one that simply pings and pongs and closes: http://www.cs.utah.edu/plt/mailarch/plt-scheme-2002/msg00955.html I want a simple program that'll allow the client or server to send message to one another. I have been trying to do this with tcp-socket-streams as outlined here http://www.gnu.org/software/mit-scheme/documentation/mit-scheme-ref/TCP-Sockets.html Really would appreciate any 06:22:21 help. 06:22:23 -rudybot:#scheme- http://tinyurl.com/yjvgmoh 06:39:25 attila_lendvai__ [n=ati@catv-89-134-66-143.catv.broadband.hu] has joined #scheme 06:40:37 huffingtonz: Do you actually need anything more than the built-in tcp support? 06:42:02 -!- ski_ [n=md9slj@remote1.student.chalmers.se] has quit ["Lost terminal"] 06:43:07 ski_ [n=md9slj@remote1.student.chalmers.se] has joined #scheme 06:43:44 No, I don't need anything beyond the built-ins as long as the jobs is done. The TCP Socket procedures I linked to are built-ins as far as I know. 06:44:22 huffingtonz: I don't know which "TCP Socket procedures" you're referring to. 06:46:48 huffingtonz: ? 06:49:26 Oh, just the ones here http://www.gnu.org/software/mit-scheme/documentation/mit-scheme-ref/TCP-Sockets.html 06:49:28 -rudybot:#scheme- http://tinyurl.com/yjvgmoh 06:50:04 huffingtonz: If you're using PLT Scheme, then that documentation is useless. 06:50:10 good to know 06:50:23 It is part of the manual for MIT Scheme, which is something completely different. 06:50:58 The documentation that you should look at is http://docs.plt-scheme.org/reference/tcp.html 06:51:08 the procedures work in drscheme, so i mistook them to be the standard 06:51:09 (Which, I believe, was suggested earlier.) 06:51:33 There is no standard tcp support in the scheme standard. 06:51:38 Fufie [n=innocent@86.80-203-225.nextgentel.com] has joined #scheme 06:52:08 (And looking at the MIT Scheme page, I don't see how any of them worked for you.) 06:52:18 the sytax on that page isn't very clear to my novice self 06:52:27 i didn't get an error 06:53:07 You need to be more specific when you say "that page". 06:54:00 And if you actually executed some code with the MIT Scheme functions and didn't get an error then either something very strange is going on, or you're not aware of the implementation you're running on. 06:54:19 "the syntax on that *specific* page isn't very clear to my novice self" <= better? 06:54:29 *Axioplase_* vanishes 06:54:54 I think he eli wanted me to be more specific about what functions on that page I'm not clear about. 06:55:00 -!- pavelludiq [n=quassel@91.139.195.126] has quit [Remote closed the connection] 06:55:01 Axioplase_: No, that's not better. 06:55:18 huffingtonz: or to give the URL of the page you're talking about 06:55:31 eli: duh. I was pretty sure though. 06:55:36 huffingtonz: Well, for a start, I don't know if you're talking about the MIT Scheme page, or the PLT page that I provided a reference to. 06:55:55 I'm talking about the one you referenced, http://docs.plt-scheme.org/reference/tcp.html 06:56:16 huffingtonz: you are aware that MIT Scheme and PLT are not the same distribution, and thus may have different functions, right? 06:57:14 huffingtonz: In that case, and given that you are quite inexperienced with (PLT) Scheme, then you should really start at the top. 06:57:48 huffingtonz: You could, for example, go quickly through the "Quick intro" manual at http://docs.plt-scheme.org/quick/ 06:58:11 That will show you some of the basics, 06:58:16 Axioplase: yes, but I haven't run into any compiler problems with using either MIT or PLT Schemes. 06:58:45 and then you can proceed with the "More" tutorial that talks a lot about doing network and server stuff: http://docs.plt-scheme.org/more/ 06:58:45 I'm familiar with the basics of Scheme, I'm having trouble with using sockets. 06:59:50 huffingtonz: Given that you say that you didn't get any errors running functions from the MIT Scheme manual in PLT Scheme, I suspect that you need some basic guidance. 07:02:59 eli: I assume I am using PLT scheme, because I can run the libraries from plt-scheme.org. I was able to run a program using MIT/GNU. I can take a screenshot of my DrScheme window if you like. 07:03:35 I was able to run a program using the MIT/GNU functions. 07:05:02 huffingtonz: a screenshot would be interesting, but I plan on being in bed in a few minutes. 07:06:57 http://imgur.com/8xHZF 07:08:35 MichaelRaskin [n=MichaelR@213.171.48.239] has joined #scheme 07:08:44 huffingtonz: quick question -- did you actually enter (startserver) on the prompt? 07:09:09 and what a good question 07:09:18 ? 07:09:34 No I have not, and when I do, I get and error at the predictable place 07:10:03 you win this battle, eli 07:10:21 huffingtonz: what battle? 07:10:39 In any case, I can only recommend the same as I did before. 07:10:56 Just our mini-debate whether or not MIT/GNU functions will work in PLT Scheme 07:11:06 Yeah, I'm thankful for that much 07:11:27 http://docs.plt-scheme.org/more/ is a helpful page, actually 07:11:48 (Sorry if this looked like battling -- I *know* what's in PLT, and I know that the MIT Scheme names are nowhere in sight.) 07:12:06 An important point here is the choice of language 07:12:36 you're using "pretty big" which is a legacy language for backward-compatibility with some older stuff; you shouldn't use it these days. 07:12:56 That, at least, is a good reason to go over the "Quick" manual too. 07:13:10 If I used Intermediate Student w/ lambda, it never works 07:13:26 pretty big is the only way anything seems to compile 07:13:50 You shouldn't use these languages too -- they're intended to be used with the HtDP book. 07:14:17 Pretty big only worked because it doesn't complain about missing bindings when compiling the code -- only when actually trying to run them. 07:15:09 And more specifically, it doesn't have the same notion of "compiling" as the module language (that's related to interacting with a toplevel repl etc). 07:16:17 When I use module language, I get the error "Module Language: there can only be one expression in the definitions window" 07:17:42 -!- jonrafkind [n=jon@98.202.86.149] has quit [Read error: 145 (Connection timed out)] 07:18:12 You need to have a `#lang ...somethin...' line at the top. 07:18:34 That's section 2 of the "Quick" tutorial. 07:18:52 oh yeah now I remember 07:19:23 Such bad questions. 07:20:20 *eli* goes away to meet a certain pillow. 07:22:28 -!- kilimanjaro [n=kilimanj@unaffiliated/kilimanjaro] has quit ["Leaving"] 07:25:22 dzhus [n=sphinx@93-80-246-79.broadband.corbina.ru] has joined #scheme 07:32:41 kilimanjaro [n=kilimanj@unaffiliated/kilimanjaro] has joined #scheme 07:38:08 -!- bombshelter13b [n=bombshel@76-10-149-209.dsl.teksavvy.com] has quit [] 07:41:01 -!- tltstc [n=tltstc@cpe-76-90-95-39.socal.res.rr.com] has quit [Read error: 131 (Connection reset by peer)] 07:41:51 tltstc [n=tltstc@cpe-76-90-95-39.socal.res.rr.com] has joined #scheme 07:46:16 -!- dzhus [n=sphinx@93-80-246-79.broadband.corbina.ru] has quit [Remote closed the connection] 07:52:13 sepult [n=user@xdsl-87-78-75-238.netcologne.de] has joined #scheme 08:04:52 dzhus [n=sphinx@93-80-246-79.broadband.corbina.ru] has joined #scheme 08:10:54 -!- Fufie [n=innocent@86.80-203-225.nextgentel.com] has quit ["Leaving"] 08:18:30 -!- Arelius [n=user@64.174.9.113] has quit [Remote closed the connection] 08:20:07 -!- untouchable [i=untoucha@dhcp-129-64-166-32.dorm.brandeis.edu] has quit ["( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )"] 08:22:35 bombshelter13b [n=bombshel@76-10-149-209.dsl.teksavvy.com] has joined #scheme 08:29:29 albacker [n=eni@unaffiliated/enyx] has joined #scheme 08:32:23 -!- saint_cypher [n=saint_cy@adsl-99-2-72-93.dsl.pltn13.sbcglobal.net] has quit [Read error: 110 (Connection timed out)] 08:34:24 mmc [n=mima@esprx01x.nokia.com] has joined #scheme 08:50:18 -!- leppie [n=lolcow@dsl-244-201-199.telkomadsl.co.za] has quit [Read error: 104 (Connection reset by peer)] 09:03:18 leppie [n=lolcow@41.244.201.199] has joined #scheme 09:03:26 Can somebody modify the code here http://www.cs.utah.edu/plt/mailarch/plt-scheme-2002/msg00955.html to allow sending messages between the client and server? I have been going at this for hours and am desperate at this point. 09:03:51 -!- cmatei [n=cmatei@95.76.26.166] has quit [Remote closed the connection] 09:06:09 huffingtonz: what do you mean by a "message"? 09:06:29 huffingtonz: also you should take a break if you've been going at it too long. get some sleep, man. 09:10:44 copumpkin [n=copumpki@c-24-63-67-154.hsd1.nh.comcast.net] has joined #scheme 09:12:58 surely good advice about the sleep, but I won't sleep until this is done 09:13:39 the message can be a string, and I suppose one would use the write-string procedure to do it 09:14:20 Not necessarily. You might want to start with just "write". 09:15:08 write-string doesn't give any indication of the end of that string. It just translates the characters to utf-8 and writes them. write, on the other hand, keeps the string delimiter syntax. 09:15:23 good to know 09:15:37 but that doesn't change the fact that I don't know how to implement it 09:15:43 (write "this is a test") -> "this is a test" 09:15:48 (write-string "this is a test") -> this is a test 09:16:01 OK 09:17:04 I want to bind (write message) to a parameter, and then use the parameter to send a message to the other party 09:17:26 No, parameters are just dynamic variables not messages. 09:17:35 so, something like (define (m message) (write message me->server)) 09:18:07 Right, though you would probably want to pass the server (define (m message server) (write message server)) 09:18:11 or just use "write" 09:19:11 schmir [n=schmir@217.86.167.205] has joined #scheme 09:19:14 So to send a message from client to server, generally you say (write message server) in the client. Vice versa is the same. To read a message you go (read other-guy) 09:19:51 I figured I'd have all the connection definitions separate from the send-message definition 09:19:54 In the last example on that page you linked me to, the client first sends a message to the server stating how many tokens it wants. The server then sends that many messages back, each message consisting of a single token. 09:20:04 alaricsp [n=alaric@217.205.201.45] has joined #scheme 09:20:53 what you might want to do is parameterize the current input and output ports. That way you can send a message with just (write message) and receive a message with just (read message). 09:21:25 I use that a lot to minimize the number of ports I have to keep track of. 09:21:53 so (parameterize ((current-input-port other-guy-input-port)) (read)) -> message from the other guy 09:22:06 parameterize is a builtin? 09:22:56 I guess you mean to use a (define) or to use a (let) 09:23:04 to parameterize them 09:23:12 -!- synx [i=synx@gateway/gpg-tor/key-0xA71B0C6A] has quit [Remote closed the connection] 09:24:31 Jafet [n=Jafet@unaffiliated/jafet] has joined #scheme 09:26:03 ejs [n=eugen@70-30-135-95.pool.ukrtel.net] has joined #scheme 09:29:22 synx [i=synx@gateway/gpg-tor/key-0xA71B0C6A] has joined #scheme 09:29:26 dsf [n=hellyeah@78.185.137.69] has joined #scheme 09:30:51 -!- leppie [n=lolcow@41.244.201.199] has quit [Read error: 145 (Connection timed out)] 09:31:38 client froze, sorry 09:31:39 anyway I'm gone 09:31:43 ok 09:31:47 thanks for your help 09:31:58 good luck 09:32:15 just remember, for every message one person sends, the other has to be ready to receive it. 09:32:25 ya, I understand that much 09:40:44 if someone wants outright write this for me, that would be just splendid. I'm as sure that it's as easy as I am retarded (which means it's wicked easy). 09:41:08 I am sure that it's as easy as I am retarded*. 09:45:11 Fufie [n=poff@Gatekeeper.vizrt.com] has joined #scheme 09:47:47 -!- hellyeah [n=hellyeah@78.185.137.69] has quit [Read error: 110 (Connection timed out)] 09:48:33 leppie [n=lolcow@41.244.201.199] has joined #scheme 09:48:55 -!- MichaelRaskin [n=MichaelR@213.171.48.239] has quit [Read error: 110 (Connection timed out)] 09:50:23 -!- kilimanjaro [n=kilimanj@unaffiliated/kilimanjaro] has quit [Remote closed the connection] 09:57:02 nevermind, I think I'm making progress 10:03:01 ltriant [n=ltriant@202.136.38.162] has joined #scheme 10:05:37 QinGW1 [n=wangqing@211.151.251.254] has joined #scheme 10:10:03 -!- jmcphers [n=jmcphers@218.185.108.156] has quit [Remote closed the connection] 10:11:01 -!- QinGW1 [n=wangqing@211.151.251.254] has quit [Read error: 104 (Connection reset by peer)] 10:13:22 marcoecc [i=me@gateway/gpg-tor/key-0x9C9AAE7F] has joined #scheme 10:17:32 -!- Daemmerung [n=goetter@1133sae.mazama.net] has quit ["Smoove out."] 10:20:04 -!- QinGW [n=wangqing@203.86.89.226] has quit [Connection timed out] 10:20:40 Daemmerung [n=goetter@1133sae.mazama.net] has joined #scheme 10:23:59 MichaelRaskin [n=MichaelR@213.171.48.239] has joined #scheme 10:51:33 -!- ASau` [n=user@83.69.227.32] has quit [Read error: 110 (Connection timed out)] 10:55:51 NNshag [n=shag@lns-bzn-44-82-249-253-86.adsl.proxad.net] has joined #scheme 10:55:53 underspecified [n=eric@softbank220043052007.bbtec.net] has joined #scheme 11:01:54 -!- Nshag [n=shag@lns-bzn-37-82-253-33-216.adsl.proxad.net] has quit [Read error: 110 (Connection timed out)] 11:09:37 -!- ltriant [n=ltriant@202.136.38.162] has quit ["Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/"] 11:10:06 -!- chops [n=nope@dyn-138.greentreefrog.net.au] has quit [] 11:13:11 mario-goulart [n=user@67.205.85.241] has joined #scheme 11:17:49 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit [Read error: 60 (Operation timed out)] 11:18:38 antoszka [n=antoszka@unaffiliated/antoszka] has joined #scheme 11:30:00 Edico [n=Edico@unaffiliated/edico] has joined #scheme 11:30:03 -!- underspecified [n=eric@softbank220043052007.bbtec.net] has quit [] 11:37:31 underspecified [n=eric@softbank220043052007.bbtec.net] has joined #scheme 11:37:55 pavelludiq [n=quassel@91.139.195.126] has joined #scheme 11:39:41 -!- Jafet [n=Jafet@unaffiliated/jafet] has quit [Connection timed out] 11:44:11 reprore [n=reprore@ntkngw356150.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 11:45:20 rstandy [n=rastandy@net-93-144-169-240.t2.dsl.vodafone.it] has joined #scheme 11:52:31 Jafet [n=Jafet@unaffiliated/jafet] has joined #scheme 11:57:38 masm [n=masm@bl7-193-207.dsl.telepac.pt] has joined #scheme 12:02:02 -!- ski_ [n=md9slj@remote1.student.chalmers.se] has quit ["Lost terminal"] 12:03:39 ski_ [n=md9slj@remote1.student.chalmers.se] has joined #scheme 12:15:18 -!- leppie [n=lolcow@41.244.201.199] has quit [Read error: 131 (Connection reset by peer)] 12:16:54 -!- pavelludiq [n=quassel@91.139.195.126] has quit [Remote closed the connection] 12:18:00 leppie [n=lolcow@41.244.201.199] has joined #scheme 12:19:33 BW^- [i=Miranda@81.233.147.20] has joined #scheme 12:19:34 I need a Javascript tokenizer. Any ideas? :) 12:19:51 something really really basic would work, i.e. (eat-js js-code-string got-token-thunk) 12:20:56 Do you use PLT? There is javascript.plt. 12:23:41 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [Remote closed the connection] 12:23:52 hm interesting. 12:24:37 do we have any more? 12:27:22 -!- schmir [n=schmir@217.86.167.205] has quit [Remote closed the connection] 12:36:13 schmir [n=schmir@217.86.167.205] has joined #scheme 12:36:39 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit [Read error: 60 (Operation timed out)] 12:38:14 antoszka [n=antoszka@unaffiliated/antoszka] has joined #scheme 12:39:26 xwl [n=user@123.115.98.67] has joined #scheme 12:42:19 ejs1 [n=eugen@nat.ironport.com] has joined #scheme 12:52:12 -!- ejs [n=eugen@70-30-135-95.pool.ukrtel.net] has quit [Read error: 110 (Connection timed out)] 12:58:57 -!- sepult [n=user@xdsl-87-78-75-238.netcologne.de] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 12:59:00 crz [i=crz@117.254.148.190] has joined #scheme 13:07:40 Hi, I'm learning Scheme using SICp book. For the proble 'find the sum of squares of the biggest of the 3 numbers' I'm getting the following error. What's the issue? http://pastebin.com/d1c4001c9 13:08:20 dsmith [n=dsmith@cpe-173-88-196-177.neo.res.rr.com] has joined #scheme 13:08:46 From http://stackoverflow.com/questions/161666/sicp-exercise-1-3-request-for-comments, I;ve found workable solutions, But I want to know Where I go wrong on my approach. 13:08:50 -rudybot:#scheme- http://tinyurl.com/yzvmzx8 13:10:40 Your first level of cond does not handle all cases. 13:10:46 the first cond doesn't have an else 13:10:56 ok, let me check 13:11:44 yeah, thanks. let me fix it. 13:12:06 -!- leppie [n=lolcow@41.244.201.199] has quit [Remote closed the connection] 13:13:25 leppie [n=lolcow@dsl-244-201-199.telkomadsl.co.za] has joined #scheme 13:16:04 -!- BW^- [i=Miranda@81.233.147.20] has left #scheme 13:16:32 -!- mmc [n=mima@esprx01x.nokia.com] has quit [Remote closed the connection] 13:19:07 sepult [n=user@xdsl-87-78-75-238.netcologne.de] has joined #scheme 13:22:26 -!- splork [n=ben@dsl092-075-228.bos1.dsl.speakeasy.net] has quit ["Computer has gone to sleep"] 13:30:10 -!- leppie [n=lolcow@dsl-244-201-199.telkomadsl.co.za] has quit [Remote closed the connection] 13:30:41 -!- Jafet [n=Jafet@unaffiliated/jafet] has quit [Read error: 104 (Connection reset by peer)] 13:30:54 Jafet [n=Jafet@unaffiliated/jafet] has joined #scheme 13:32:51 -!- Summermute [n=Summermu@c-98-204-67-114.hsd1.dc.comcast.net] has quit ["ChatZilla 0.9.85 [Firefox 3.5.5/20091102152451]"] 13:37:15 crz_ [i=crz@117.254.146.223] has joined #scheme 13:40:19 -!- dzhus [n=sphinx@93-80-246-79.broadband.corbina.ru] has quit [Remote closed the connection] 13:42:07 -!- attila_lendvai__ is now known as attila_lendvai 13:44:58 -!- crz [i=crz@117.254.148.190] has quit [Read error: 145 (Connection timed out)] 13:45:49 *huffingtonz* thanks everyone for their help and wishes everyone the best 13:45:54 -!- huffingtonz [n=andrey@c-98-216-4-134.hsd1.nh.comcast.net] has quit ["Leaving"] 13:46:29 Looks like a pre-suicide message. 13:47:11 -!- xwl [n=user@123.115.98.67] has quit [Read error: 104 (Connection reset by peer)] 13:48:08 Jafet++ 13:48:18 xerox++ 13:48:27 Thanks guys, I got it fixed. http://pastebin.com/d13be5de6 13:48:29 you're welcome :) 13:48:59 leppie [n=lolcow@dsl-244-201-199.telkomadsl.co.za] has joined #scheme 13:49:14 Jafet1 [n=Jafet@unaffiliated/jafet] has joined #scheme 13:49:35 -!- leppie [n=lolcow@dsl-244-201-199.telkomadsl.co.za] has quit [Read error: 104 (Connection reset by peer)] 13:50:02 -!- Jafet [n=Jafet@unaffiliated/jafet] has quit ["Leaving."] 13:50:54 -!- Jafet1 is now known as Jafet 14:00:24 -!- dsmith [n=dsmith@cpe-173-88-196-177.neo.res.rr.com] has quit [Read error: 60 (Operation timed out)] 14:01:20 leppie [n=lolcow@dsl-244-201-199.telkomadsl.co.za] has joined #scheme 14:05:53 -!- crz_ [i=crz@117.254.146.223] has quit ["Leaving"] 14:07:48 -!- reprore [n=reprore@ntkngw356150.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 14:12:55 reprore_ [n=reprore@ntkngw356150.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 14:16:21 -!- Jafet [n=Jafet@unaffiliated/jafet] has quit ["Leaving."] 14:16:42 -!- brandelune [n=suzume@pl807.nas982.takamatsu.nttpc.ne.jp] has quit [] 14:16:45 Jafet [n=Jafet@unaffiliated/jafet] has joined #scheme 14:35:21 sepult` [n=user@xdsl-87-78-102-109.netcologne.de] has joined #scheme 14:36:46 -!- sepult [n=user@xdsl-87-78-75-238.netcologne.de] has quit [Nick collision from services.] 14:36:52 -!- sepult` is now known as sepult 14:37:46 ejs2 [n=eugen@70-30-135-95.pool.ukrtel.net] has joined #scheme 14:42:05 ASau [n=user@83.69.227.32] has joined #scheme 14:42:18 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 14:47:26 -!- ejs1 [n=eugen@nat.ironport.com] has quit [Read error: 110 (Connection timed out)] 14:50:56 -!- leppie [n=lolcow@dsl-244-201-199.telkomadsl.co.za] has quit [Read error: 110 (Connection timed out)] 14:52:43 sepult` [n=user@xdsl-87-78-102-109.netcologne.de] has joined #scheme 14:54:02 -!- sepult` [n=user@xdsl-87-78-102-109.netcologne.de] has quit [Read error: 104 (Connection reset by peer)] 14:54:19 xwl [n=user@123.115.98.67] has joined #scheme 14:55:00 sepult` [n=user@xdsl-87-78-102-109.netcologne.de] has joined #scheme 14:55:23 Jafet1 [n=Jafet@unaffiliated/jafet] has joined #scheme 14:55:27 -!- Jafet [n=Jafet@unaffiliated/jafet] has quit [Read error: 104 (Connection reset by peer)] 14:56:53 Fare [n=Fare@24.218.127.11] has joined #scheme 14:59:52 pavelludiq [n=quassel@91.139.195.126] has joined #scheme 15:01:04 brandelune [n=suzume@pl807.nas982.takamatsu.nttpc.ne.jp] has joined #scheme 15:02:58 -!- sepult` [n=user@xdsl-87-78-102-109.netcologne.de] has quit [Client Quit] 15:03:03 -!- sepult [n=user@xdsl-87-78-102-109.netcologne.de] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 15:04:51 -!- Jafet1 [n=Jafet@unaffiliated/jafet] has quit [Read error: 104 (Connection reset by peer)] 15:05:05 Jafet [n=Jafet@unaffiliated/jafet] has joined #scheme 15:08:09 -!- Jafet [n=Jafet@unaffiliated/jafet] has quit [Client Quit] 15:08:12 Jafet1 [n=Jafet@unaffiliated/jafet] has joined #scheme 15:12:04 -!- Fufie [n=poff@Gatekeeper.vizrt.com] has quit ["Leaving"] 15:16:04 sepult [n=user@xdsl-87-78-102-109.netcologne.de] has joined #scheme 15:19:14 -!- attila_lendvai [n=ati@catv-89-134-66-143.catv.broadband.hu] has quit [Read error: 110 (Connection timed out)] 15:19:49 -!- reprore_ [n=reprore@ntkngw356150.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 15:27:33 -!- sepult [n=user@xdsl-87-78-102-109.netcologne.de] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 15:31:12 -!- brandelune [n=suzume@pl807.nas982.takamatsu.nttpc.ne.jp] has quit [] 15:35:35 sepult [n=user@xdsl-87-78-102-109.netcologne.de] has joined #scheme 15:36:46 -!- Jafet1 [n=Jafet@unaffiliated/jafet] has quit [Success] 15:41:59 langmartin [n=user@exeuntcha.tva.gov] has joined #scheme 15:50:52 JoelMcCracken [n=joelmccr@pool-96-236-230-252.pitbpa.east.verizon.net] has joined #scheme 15:57:46 charleyb [n=charleyb@c-67-162-157-218.hsd1.co.comcast.net] has joined #scheme 16:00:23 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [] 16:03:40 -!- bokr [n=eduska@95.154.102.124] has quit [Remote closed the connection] 16:04:52 jlongster [n=user@c-68-59-187-95.hsd1.tn.comcast.net] has joined #scheme 16:05:13 -!- pavelludiq [n=quassel@91.139.195.126] has quit [Remote closed the connection] 16:06:08 -!- alaricsp [n=alaric@217.205.201.45] has quit [Read error: 113 (No route to host)] 16:06:15 alaricsp [n=alaric@217.205.201.45] has joined #scheme 16:10:42 -!- sepult [n=user@xdsl-87-78-102-109.netcologne.de] has quit [Read error: 104 (Connection reset by peer)] 16:11:35 sepult [n=user@xdsl-87-78-102-109.netcologne.de] has joined #scheme 16:12:04 -!- xerox [n=xerox@unaffiliated/xerox] has quit [] 16:14:40 -!- a-s` [n=user@nat-240.ro.66.com] has quit [Remote closed the connection] 16:16:43 -!- eno [n=eno@nslu2-linux/eno] has quit [Read error: 60 (Operation timed out)] 16:18:14 eno [n=eno@nslu2-linux/eno] has joined #scheme 16:20:30 Hello, Fare! 16:20:50 a warm alaric! 16:20:57 I am indeed quite warm :-) 16:20:59 How are you? 16:21:06 warmish, too 16:21:15 gas heating 16:21:22 It's the future 16:21:28 ...until we get fusion 16:21:38 I made the sofa next to the heater my new office. 16:21:44 it's still just 25 years away! as it has been for the last 50 years 16:21:49 well, I *do* get fusion 16:21:54 at a safe distance, 8 minutes away 16:22:10 Ah, I love talking to fellow geeks :-) 16:22:37 though sometimes, I used chemically stored fusion energy 16:22:44 aka "gas" 16:23:08 Due to an unfortunate theft of my laptop, I've been out of the loop on the exciting R7RS discussions lately 16:23:14 But it doesn't look like I've missed that much 16:23:30 "down with fossil fuels: refuse to use solar energy!" 16:23:53 Yeah, I know a guy who maintains that solar power is the way forward, and there's not enough space on the planet to grow enough biofuels. 16:23:54 Errr... 16:23:59 ;-) 16:24:08 I've recently come to the conclusion that R7RS couldn't do any good beside adopting and cleaning SRFIs 16:24:28 That would be a reasonable win IMHO 16:25:32 shyam_k [n=user@unaffiliated/shyam-k/x-8459115] has joined #scheme 16:25:54 all the energy in the universe is fossil, except maybe the void's free energy, the last refuge of the environmentalist. 16:26:32 alaricsp, any interesting hacks recently? 16:27:44 Fare: may be i am taking it out of context.. but are you missing the sun, as you look for fossil under earth? 16:27:52 Well, when getting a new laptop, I switched to NetBSD rather than Mac OS X, so I've been sorting out my shell environment, and I decided to use formal logic to encode my todos/address book/etc 16:28:10 I've not gotten very far yet, as a problem with chicken-install and my transparent proxy means I can't install Kanren :-) 16:28:39 But my plan is, some nice Horn clauses would make a very expressive personal information manager 16:28:59 I can tell it that there's an appointment called X's Birthday on any date that shares the month and day with the birthdate of somebody called X, etc 16:29:17 And I'd be able to express that fact that cohabiting people are two different people that SHARE ONE ADDRESS dammit 16:29:28 -!- ASau [n=user@83.69.227.32] has quit [Remote closed the connection] 16:29:40 ASau [n=user@83.69.227.32] has joined #scheme 16:29:58 shyam_k, the sun, like all other sources of available energy is a fossil of the bigbang. Entropy increases and available energy decreases. 16:30:09 That will be an interesting hack when I've developed it a bit, and one I can justify doing "on work time" as it where 16:30:12 -!- JoelMcCracken [n=joelmccr@pool-96-236-230-252.pitbpa.east.verizon.net] has quit ["This computer has gone to sleep"] 16:30:13 alaricsp, no need to repeat what you put on your blog :) 16:30:30 In the meantime, my Ugarit backup system has a queue of things to do on it that I'd like to attack over Christmas 16:30:49 Bah, I'm always repeating myself; even in real life I can't remember who I've told what to - online, it's impossible ;-) 16:31:17 alaricsp, so are you going to implement a general purpose reflective inference engine a la 1980's AI? 16:31:47 No, I'm going to type "chicken-install kanren" and use http://chicken.wiki.br/eggref/4/kanren :-) 16:31:51 you might be interested in the books by JL Lauriere, which I think have been translated to English. 16:33:18 REPLeffect_ [n=REPLeffe@69.54.115.254] has joined #scheme 16:33:19 It'll be kinda fun to do a very down-to-earth project using AI techniques 16:33:34 Amazon finds http://www.amazon.co.uk/Problem-Solving-Artificial-Intelligence-Louis-Lauriere/dp/0137117485/ref=sr_1_1?ie=UTF8&s=books&qid=1260462783&sr=8-1 16:33:38 -rudybot:#scheme- http://tinyurl.com/yhuq65d 16:34:17 By using a tool far more expressive than you'd think was needed for a job, you can sometimes do a surprisingly good job, and wonder how you ever lived without it :-) 16:35:17 -!- jlongster [n=user@c-68-59-187-95.hsd1.tn.comcast.net] has quit [Read error: 113 (No route to host)] 16:35:30 Ideally, I'd like filesystem integration: a command line tool to display information stored about a path in my PIM, and to add information about files relative to the cwd, so I can ask "What files relate to this project? What project does this file relate to? Show me a list of directories relating to projects I've worked on with Bob." 16:36:32 I've not played with Kanren yet, but I presume I'll be able to wrap directory operations into predicates, so I can ask it questions like "What paths are subordinate to this root path", etc. 16:37:15 Assimilating my Firefox bookmarks, /proc, email, RSS feeds, and so on is then just a matter of sufficient procrastination >-) 16:38:08 -!- xwl [n=user@123.115.98.67] has quit [Read error: 110 (Connection timed out)] 16:38:33 Yes, you can do that. 16:39:02 jlongster [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has joined #scheme 16:40:01 yes, the horror is integrating the engine with your UI 16:40:16 Can I do the reverse mapping - given a rule that works out the children of a path, if I then assert that foo is a child of that path, can a file called foo be created? That'd need some kind of trigger support in the backend knowledge representation, I presume 16:40:37 Fare: Yeah. Integrating with the shell is bearable, but with existing apps... that's a nightmare. 16:41:08 indeed 16:41:22 Down with existing apps! Minimalism forever! 16:41:34 even integrating with the shell is slightly painful because you need some server for persistence. 16:41:42 but eventually doable 16:41:44 Yeah 16:41:52 (autostarting a server is not THAT hard, just a bit painful) 16:42:18 to integrate with the UI... have you looked at HOP and other similar systems? 16:42:55 Nope 16:43:20 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 16:48:23 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [] 16:52:24 -!- sepult [n=user@xdsl-87-78-102-109.netcologne.de] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 16:59:18 mmc [n=mima@esprx01x.nokia.com] has joined #scheme 17:08:10 Fufie [n=innocent@86.80-203-225.nextgentel.com] has joined #scheme 17:09:54 cornucopic [n=r00t@202.3.77.173] has joined #scheme 17:11:53 xerox [n=xerox@unaffiliated/xerox] has joined #scheme 17:15:50 -!- samth_away is now known as samth 17:18:29 jonrafkind [n=jon@crystalis.cs.utah.edu] has joined #scheme 17:24:06 caoliver [n=oliver@75-134-208-20.dhcp.trcy.mi.charter.com] has joined #scheme 17:42:26 saccade_ [n=saccade@dhcp-18-111-70-156.dyn.mit.edu] has joined #scheme 17:42:33 leppie [n=lolcow@dsl-244-201-199.telkomadsl.co.za] has joined #scheme 17:44:20 sepult [n=user@xdsl-87-78-102-109.netcologne.de] has joined #scheme 17:44:40 Narrenschiff [n=ritchie@vpn38.its.manchester.ac.uk] has joined #scheme 17:50:13 samth, may we call you doctor? 17:52:18 -!- Fare [n=Fare@24.218.127.11] has quit ["Leaving"] 17:52:43 -!- ejs2 [n=eugen@70-30-135-95.pool.ukrtel.net] has quit ["This computer has gone to sleep"] 17:54:02 -!- schmir [n=schmir@217.86.167.205] has quit [Remote closed the connection] 17:58:12 untouchable [i=untoucha@dhcp-129-64-166-32.dorm.brandeis.edu] has joined #scheme 18:01:00 -!- sepult [n=user@xdsl-87-78-102-109.netcologne.de] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 18:11:47 sepult [n=user@xdsl-87-78-102-109.netcologne.de] has joined #scheme 18:12:16 -!- sepult [n=user@xdsl-87-78-102-109.netcologne.de] has quit [Remote closed the connection] 18:13:13 All I want for a scheduler is "W happens every X, at Y, Z times." 18:13:28 believe it or not, most calendar apps cannot do that. 18:13:57 mrsolo [n=mrsolo@nat/yahoo/x-gwoyfarfnbuzwgof] has joined #scheme 18:14:26 I use cron, but... email reminders aren't forceful enough. I actually have to go check the folder to see the reminder. Then manually delete reminders that I have expired. 18:15:27 -!- cornucopic [n=r00t@202.3.77.173] has quit ["so long.."] 18:16:33 I gave a shot at libnotify, but it's got a pretty horrible interface in fact. 18:16:34 And of course PLT can't suggest to keep windows on top, or sticky. 18:16:38 sepult [n=user@xdsl-87-78-102-109.netcologne.de] has joined #scheme 18:21:18 ejs [n=eugen@70-30-135-95.pool.ukrtel.net] has joined #scheme 18:24:24 synx, libnotify produces pretty results at least 18:24:43 "pretty" 18:25:45 samth: even pidgin guifications, for which libnotify was pretty much designed, the characters that are supposed to display a coherent message get squashed by the unsizable notification window and overlap into a mish mash of garbage ending in "..." 18:28:15 -!- ejs [n=eugen@70-30-135-95.pool.ukrtel.net] has quit ["This computer has gone to sleep"] 18:28:17 really? 18:28:27 that isn't how it appears on any of my machines 18:29:19 samth: Things which work for everyone else don't work for synx. Don't go into this expecting to have a reasonable conversation with him. 18:29:22 WuJiang [n=wujiang@login-linux.ccs.neu.edu] has joined #scheme 18:31:34 -!- sepult [n=user@xdsl-87-78-102-109.netcologne.de] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 18:32:07 I used gtkrc to scale the fonts down some, but the windows are still too small to fit much text in. And yes I know I'm jynxed. :p 18:33:29 sepult [n=user@xdsl-87-78-102-109.netcologne.de] has joined #scheme 18:35:50 how much text do you need? 18:36:02 i usually see about 3 or 4 lines, which is plenty 18:36:36 "so-and-so\nsigned..." is all I get 18:36:37 plus the protocol icon, yech 18:36:56 I see two words, then a ... 18:42:10 ejs [n=eugen@70-30-135-95.pool.ukrtel.net] has joined #scheme 18:42:26 dpi settings ok? 18:44:19 dpi settings? what am I a printer 18:44:29 for your screen 18:44:49 1280x1024 18:45:00 last when I was using linux, all window managers treated things differently 18:45:02 synx: You're not jinxed. You create your own problems and then complain about them. 18:45:06 wingo [n=wingo@224.Red-81-38-189.dynamicIP.rima-tde.net] has joined #scheme 18:45:43 evening 18:45:53 hi wingo 18:45:57 -!- Narrenschiff [n=ritchie@vpn38.its.manchester.ac.uk] has quit [] 18:46:35 chandler: that's not being jinxed? 18:46:35 -!- jimrees [n=jimrees@ita4fw1.itasoftware.com] has quit ["Ex-Chat"] 18:46:37 -!- leppie [n=lolcow@dsl-244-201-199.telkomadsl.co.za] has quit [] 18:46:38 -!- marcoecc [i=me@gateway/gpg-tor/key-0x9C9AAE7F] has quit [Remote closed the connection] 18:46:43 -!- ejs [n=eugen@70-30-135-95.pool.ukrtel.net] has quit [Client Quit] 18:46:48 synx: No. It's making bad decisions 18:48:03 chandler: well, I think you blame so many of my problems on me, you never consider that the real cause is variable and complex. 18:49:14 It's not uncommon for people to do so this day and age. 18:49:58 snearch [n=olaf@g225054176.adsl.alicedsl.de] has joined #scheme 18:53:29 ejs [n=eugen@70-30-135-95.pool.ukrtel.net] has joined #scheme 18:54:20 bweaver [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has joined #scheme 18:56:42 -!- dsf [n=hellyeah@78.185.137.69] has quit [Read error: 145 (Connection timed out)] 18:57:10 dsf [n=hellyeah@78.183.206.206] has joined #scheme 19:03:33 -!- kenjin2201 [n=kenjin@163.152.84.68] has quit [Remote closed the connection] 19:03:55 eldragon [n=eldragon@84.79.67.254] has joined #scheme 19:06:17 jgracin [n=jgracin@82.132.38.178] has joined #scheme 19:13:10 -!- MichaelRaskin [n=MichaelR@213.171.48.239] has quit [Remote closed the connection] 19:16:14 jimrees [n=jimrees@ita4fw1.itasoftware.com] has joined #scheme 19:18:30 -!- alaricsp [n=alaric@217.205.201.45] has quit [Read error: 113 (No route to host)] 19:20:39 -!- ejs [n=eugen@70-30-135-95.pool.ukrtel.net] has quit ["This computer has gone to sleep"] 19:35:35 -!- dsf [n=hellyeah@78.183.206.206] has quit [Read error: 113 (No route to host)] 19:36:26 certaint1 [n=closure@dslc-082-083-151-140.pools.arcor-ip.net] has joined #scheme 19:37:05 -!- certaint1 [n=closure@dslc-082-083-151-140.pools.arcor-ip.net] has quit [Client Quit] 19:37:45 saint_cypher [n=saint_cy@adsl-99-2-72-93.dsl.pltn13.sbcglobal.net] has joined #scheme 19:42:14 leppie [n=lolcow@dsl-244-201-199.telkomadsl.co.za] has joined #scheme 19:45:25 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 19:46:55 hotblack23 [n=jh@p5B057CEB.dip.t-dialin.net] has joined #scheme 19:49:40 Foofie [n=innocent@86.80-203-225.nextgentel.com] has joined #scheme 19:52:11 -!- jgracin [n=jgracin@82.132.38.178] has quit [Read error: 104 (Connection reset by peer)] 19:55:45 aintme [n=user@48.36.221.87.dynamic.jazztel.es] has joined #scheme 19:57:43 -!- Fufie [n=innocent@86.80-203-225.nextgentel.com] has quit [Read error: 145 (Connection timed out)] 19:57:51 davazp [n=user@220.Red-79-159-16.staticIP.rima-tde.net] has joined #scheme 20:02:02 -!- ski_ [n=md9slj@remote1.student.chalmers.se] has quit ["Lost terminal"] 20:05:42 -!- langmartin [n=user@exeuntcha.tva.gov] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 20:07:41 mabes [n=mabes@66.236.74.194] has joined #scheme 20:15:43 davazp` [n=user@220.Red-79-159-16.staticIP.rima-tde.net] has joined #scheme 20:15:52 TR2N- [i=email@89.180.135.176] has joined #scheme 20:16:08 -!- davazp` [n=user@220.Red-79-159-16.staticIP.rima-tde.net] has quit [Remote closed the connection] 20:16:24 davazp` [n=user@220.Red-79-159-16.staticIP.rima-tde.net] has joined #scheme 20:17:40 -!- TR2N [i=email@89-180-155-121.net.novis.pt] has quit [Nick collision from services.] 20:17:43 -!- TR2N- is now known as TR2N 20:20:37 annodomini [n=lambda@pool-141-154-229-166.bos.east.verizon.net] has joined #scheme 20:22:43 -!- jonrafkind [n=jon@crystalis.cs.utah.edu] has quit [Read error: 104 (Connection reset by peer)] 20:23:16 jonrafkind [n=jon@crystalis.cs.utah.edu] has joined #scheme 20:25:53 -!- aintme [n=user@48.36.221.87.dynamic.jazztel.es] has quit [Remote closed the connection] 20:28:05 Narrenschiff [n=ritchie@xolotl.plus.com] has joined #scheme 20:32:15 -!- davazp [n=user@220.Red-79-159-16.staticIP.rima-tde.net] has quit [Connection timed out] 20:34:16 -!- mmc [n=mima@esprx01x.nokia.com] has quit [Remote closed the connection] 20:35:56 -!- CaptainMorgan [n=CaptainM@c-24-62-183-102.hsd1.ma.comcast.net] has quit [Success] 20:36:34 -!- leppie [n=lolcow@dsl-244-201-199.telkomadsl.co.za] has quit [] 20:37:33 -!- ada2358 is now known as adzuci 20:40:39 leppie [n=lolcow@dsl-244-201-199.telkomadsl.co.za] has joined #scheme 20:41:34 dzhus [n=sphinx@95-24-102-64.broadband.corbina.ru] has joined #scheme 20:44:31 -!- snearch [n=olaf@g225054176.adsl.alicedsl.de] has quit ["Ex-Chat"] 20:45:49 MichaelRaskin [n=MichaelR@195.91.224.225] has joined #scheme 20:46:10 -!- MichaelRaskin [n=MichaelR@195.91.224.225] has quit [Remote closed the connection] 20:46:57 -!- caoliver [n=oliver@75-134-208-20.dhcp.trcy.mi.charter.com] has left #scheme 20:47:19 MichaelRaskin [n=MichaelR@195.91.224.225] has joined #scheme 20:48:07 flonum [n=ben@24-138-98-167.zing-net.ca] has joined #scheme 20:53:45 pavelludiq [n=quassel@91.139.195.126] has joined #scheme 21:00:23 jmcphers [n=jmcphers@218.185.108.156] has joined #scheme 21:08:48 attila_lendvai [n=ati@catv-89-134-66-143.catv.broadband.hu] has joined #scheme 21:09:53 bgs100 [n=ian@unaffiliated/bgs100] has joined #scheme 21:23:17 -!- bgs100 [n=ian@unaffiliated/bgs100] has left #scheme 21:24:54 bgs100 [n=ian@unaffiliated/bgs100] has joined #scheme 21:29:31 -!- attila_lendvai [n=ati@catv-89-134-66-143.catv.broadband.hu] has quit [Read error: 60 (Operation timed out)] 21:31:32 -!- dzhus [n=sphinx@95-24-102-64.broadband.corbina.ru] has quit [Remote closed the connection] 21:35:36 brandelune [n=suzume@pl807.nas982.takamatsu.nttpc.ne.jp] has joined #scheme 21:36:41 -!- ASau [n=user@83.69.227.32] has quit [Read error: 104 (Connection reset by peer)] 21:40:51 ASau [n=user@83.69.227.32] has joined #scheme 21:57:16 -!- Narrenschiff [n=ritchie@xolotl.plus.com] has quit [] 21:57:17 Exercise 3.18 of sicp says like this: "Write a procedure that examines a list and determines whether it contains a cycle, that is, whether a program that tried to find the end of the list by taking successive cdrs would go into an infinite loop." But successive cars to can also create an infinite loop right? or that doesn't matter? 21:57:33 s/to can/too can/ 21:58:53 Kobalt [n=korb@201-228-dsl.kielnet.net] has joined #scheme 21:59:21 hi 21:59:38 hai 22:00:30 mh, is this topic about programming language scheme? 22:01:34 yes 22:01:37 channel topic? yeah #scheme is about scheme language 22:02:37 mh, okay.. Maybe somebody could help me.. 22:02:52 it's about lambda 22:03:11 -!- Edico [n=Edico@unaffiliated/edico] has quit ["Ex-Chat"] 22:03:50 *shyam_k* proposes to be added to the topic "Just ask, Don't ask to ask" to the topic ;-) 22:03:54 no offense.. 22:03:57 ((((magic 3) 2) 3) 4) 22:03:57 we have to define a procedure with lambda that 22:05:27 return the max of ((((magic 3) 2) 3) 4) 22:07:43 Kobalt: What is magic? 22:08:21 the name of a procedure have to code 22:08:43 "Magic 3" means, there will follwo 3 parameters ( 2 3 4 ) 22:09:01 and magic has to return the max of 2 3 4 22:09:21 -!- dmoerner [n=dmr@134.173.91.146] has quit ["Leaving"] 22:09:25 Magic is a procedure, right. How many arguments does it take? 22:09:34 if you type (((((magic 4) 2)5)7)1) f.e it should return 7 22:09:45 just one 22:09:46 I understand, now. 22:09:48 Right. 22:09:51 ( define ( magic n ) ... 22:09:57 And what does it return? 22:10:20 The maximum of following parameters 22:10:47 What parameters? 22:10:54 It takes only one, right? 22:11:05 What does magic return? 22:11:26 ((((magic 3) 2) 3) 4) magic return the maximum off the following numbers 2 3 4 .. 4 22:11:47 *returns 22:12:36 the "n" of magic n just show up how many numbers follow 22:12:58 You are not listening to yourself. The procedure magic take one parameter only. How can it return the maximum of 4 numbers? 22:13:15 ^^ 22:13:40 in fact magic n returns a procedure "lambda" 22:13:48 dmoerner [n=dmr@134.173.91.146] has joined #scheme 22:13:48 Right. 22:13:51 conclusions of lambda 22:14:05 an this lambdas catch the 2 and the 3 and the 4 22:14:15 There you go. 22:14:33 i tried a lot .. 22:14:38 put it dowsn't work 22:14:54 I believe the paranthesis' are the problem 22:15:10 Try to define ((magic 1) 2) 22:16:01 You know that (magic x) must return a procedure... so, (define (magic x) (lambda ...)) 22:16:20 Just fill it. 22:16:34 i tried.. several hours.. 22:17:06 grrrr perl grrrr 22:17:25 The procedure that (magic x) returns takes how many arguments? 22:17:49 one 22:18:01 -!- wingo [n=wingo@224.Red-81-38-189.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 22:18:02 (define (magic x) (lambda (y) ...)) 22:18:39 And what does this procedure return? 22:18:58 that was a try 22:19:00 ( define ( magic n ) 22:19:00 ( if ( = n 1 ) 22:19:00 ( lambda ( x ) ( x )) 22:19:00 ( max ( lambda ( y ) ( y )) ( magic ( - n 1 ))))) 22:19:12 it has to be rekursive. 22:19:20 recursive.. 22:19:25 Why? 22:19:57 because you don't know n it could be between 0 and infinite.. 22:20:06 No it cannot. 22:21:07 computer sciences is just a subsidiary subject .. 22:21:11 ((magic 1) 2) is what? 22:21:16 2 22:21:22 Right. 22:21:29 (((magic 2) 3) 1) is 3 22:21:37 -!- mario-goulart [n=user@67.205.85.241] has quit [Remote closed the connection] 22:21:50 ( magic n ) ..... ) is .. 22:22:59 You got it wrong. You have only to work this for four numbers. 22:23:01 I solved every exercise since weeks.. but this one... I'm not able.. 22:23:19 no with 4 nubers is just an example 22:23:29 numbers 22:24:26 magic has to del with ((((((magic 5)3)2)8)2)9) too.. an more and more.. 22:24:45 deal 22:25:36 I'm sorry, but that function is impossible to define. 22:25:44 You cannot define it. 22:25:45 mpf 22:25:49 CaptainMorgan [n=CaptainM@c-24-62-183-102.hsd1.ma.comcast.net] has joined #scheme 22:26:01 no.. its possible.. 22:26:26 my trainer had a similar exercise a few years ago 22:26:38 but he haven'T to tell us how to do 22:26:42 Kobalt, do you have a written description of the specification 22:27:02 mh.. of course.. but it's german 22:27:35 Oh, OK. Then I cannot help you. Any way, for the problem I gave you the solution is easy: (define (magic x) (lambda (y) (max x y))). Using this, try to solve it for four levels. 22:27:36 I try to translate, wait a minute. 22:28:40 davazp`` [n=user@247.Red-88-8-224.dynamicIP.rima-tde.net] has joined #scheme 22:29:02 -!- sepult [n=user@xdsl-87-78-102-109.netcologne.de] has quit [Connection reset by peer] 22:29:57 sepult [n=user@xdsl-87-78-102-109.netcologne.de] has joined #scheme 22:30:02 Riastradh [n=riastrad@tissot.csail.mit.edu] has joined #scheme 22:30:40 masm, `that function is impossible to define': if I understand correctly what the MAGIC procedure is to do, your assertion is false. 22:30:50 Define a function ( magic n ), with a parameter n>0. The solution of ( magic n ) has to deal n parameters one after one and return the maximum, f.e (((( magic 3 ) 2) 3) 4) should return 4. all numbers will be positiv 22:30:53 For two levels, magic is a procedure that takes one argument (x). It returns one procedure that takes a (y) and returns (max x y). 22:30:57 -!- sstrickl [n=sstrickl@dublin.ccs.neu.edu] has quit [] 22:31:41 sorry ..my english isn't very well 22:34:24 rudybot: init scheme/base 22:34:24 synx: your scheme/base sandbox is ready 22:34:24 wingo [n=wingo@62.Red-81-33-46.dynamicIP.rima-tde.net] has joined #scheme 22:34:36 Riastradh: How? 22:34:39 rudybot: eval (require (for-syntax scheme/base)) 22:34:50 -!- albacker [n=eni@unaffiliated/enyx] has quit [".."] 22:34:57 rudybot: eval (define-syntax foo (syntax-rules () ((_ body ...) 23))) 22:34:58 -!- wingo [n=wingo@62.Red-81-33-46.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 22:35:05 rudybot: eval (foo ((((magic 3) 4) 5) 6)) 22:35:06 synx: ; Value: 23 22:36:04 wingo [n=wingo@62.Red-81-33-46.dynamicIP.rima-tde.net] has joined #scheme 22:36:24 obviously 22:36:44 -!- wingo [n=wingo@62.Red-81-33-46.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 22:36:51 i got the solution. would it be spoilsport to say that?:) 22:38:04 nooo it wouldn't! 22:38:11 http://pastebin.ca/1710225 22:38:19 i tried so long... wit no solution 22:38:37 Please don't hand out solutions to people's homework problems. 22:38:43 ops sorry:( 22:40:21 Oh! 22:40:22 it's just a subsidiary subject .. I will never have to do it again.. 22:40:28 I'm sorry. 22:41:32 I understood it wrong. I thought that ((((magic 1000) 1) 3) 4) should return 1000. 22:42:29 mh thanks a lot 22:42:59 but it didn'T work with drscheme advanced student with lambda anyway.. 22:43:28 i tried it on mit-scheme.. 22:43:42 Kobalt: Did your instructor tell you to use "Advanced Student" mode on PLT? 22:43:43 with regular scheme it works perfect 22:44:05 plt? 22:44:12 DrScheme. 22:44:19 yes he did 22:44:25 *shyam_k* goes to check out what is "Advanced student mode" 22:44:29 The problem is probably syntax. Replace the inner define by local, or something. 22:44:34 -!- davazp` [n=user@220.Red-79-159-16.staticIP.rima-tde.net] has quit [Connection timed out] 22:45:10 i try to understand what shyam_k coded, and then i try to fix for advanced mode 22:45:18 Okay, then. (I ask because it is a common error for a user to think "I am a student, I'm sort of advanced, therefore I will use 'Advanced Student'.") 22:45:55 dlt_ [n=daltojr@201.80.141.100] has joined #scheme 22:46:12 hi all! can anyone help me to use the 'filter' procedure in chicken scheme? 22:46:33 do I have to include some lib? 22:47:17 he assumes that we're advanced, but I study physics and have to learn it anyhow 22:47:38 OH I get it. 22:48:06 "Advanced Student" implements a language that is not exactly Scheme. It is meant for use with particular textbook exercises. Anyway, I assume that your instructor knows what he is doing. 22:49:14 maybe 22:50:16 but i think he don't recognize that we ( the physicist ) don't listen to the additional lecture for computer science.. 22:50:49 i shouldn't have posted the solution.. i think its still worth it if you try it yourself after skimming through the solution.. 22:51:37 in a few hours he publishes the solution anyway.. 22:52:27 -!- pavelludiq [n=quassel@91.139.195.126] has quit [Remote closed the connection] 22:52:52 *shyam_k* liked one of the wikipedia banner quotes that he just saw.. "Knowledge is dangerous! Pass it on!" 22:54:30 reprore [n=reprore@ntkngw356150.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 22:54:35 wrong knowledge is more dangerous ;p 22:56:47 it's fun to use learning for evil 22:56:51 a little bit of knowledge can be a dangerous thing 22:57:01 i mean its different.. everyone say knowledge is "sacred", "holy" its sin to abuse it.. this one says "knowledge is dangerous, pass it on!" .. reminds me of an old story .. 22:57:06 a lot of knowledge, not so much 22:58:50 a saint while going through a road sees a bag of gold by the side.. seeing that he yells "oh! man-killer(well.. i mean... one that kills man) man-killer".. hearing that the passers by also sees the gold bag and starts fight to get it and they gets killed in the fight.. and the saint walks along crying:) 23:00:04 knowledge is pretty dangerous if you don't share it:) 23:04:23 nietzsche said something like "one love ones knowledge too little when one gives it away." 23:04:31 *saint_cypher* can't find the direct quote right now 23:06:37 mmc [n=mima@cs27122078.pp.htv.fi] has joined #scheme 23:07:25 ok I coded a primitive solution on my own.. It works, but I know he won't give us half of points ;( 23:08:31 kilimanjaro [n=kilimanj@unaffiliated/kilimanjaro] has joined #scheme 23:08:54 Fare [n=Fare@ita4fw1.itasoftware.com] has joined #scheme 23:09:56 -!- davazp`` [n=user@247.Red-88-8-224.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 23:10:22 so am stuck at sicp 3-18 and thought i would take some hints before i surrender to solutions;-) .. Exercise 3.18 of sicp says like this: "Write a procedure that 23:10:22 examines a list and determines whether it contains a cycle, that is, 23:10:22 whether a program that tried to find the end of the list by taking 23:10:22 successive cdrs would go into an infinite loop." But successive cars 23:10:25 to can also create an infinite loop right? or that doesn't matter? 23:10:45 davazp [n=user@113.Red-83-55-177.dynamicIP.rima-tde.net] has joined #scheme 23:11:05 shyam_k, yes, but that's a different procedure 23:11:21 davazp`` [n=user@113.Red-83-55-177.dynamicIP.rima-tde.net] has joined #scheme 23:12:12 okay.. 23:12:21 write both! 23:12:38 shyam_k, many procedures that operate on lists cdr down the lists, because lists are structured as chains of pairs linked by their cdrs. When you call something a `list', you are saying something about the cdrs of the pairs involved, but not anything in particular about their cars. 23:13:24 oh yeah.. 23:14:31 think of cars and cdrs as a low-level encoding 23:14:41 Riastradh, congrats for 64-bit MIT Scheme! 23:15:19 -!- flonum [n=ben@24-138-98-167.zing-net.ca] has left #scheme 23:15:58 have to go now.. Bye 23:16:01 -!- Kobalt [n=korb@201-228-dsl.kielnet.net] has quit [] 23:17:41 -!- jlongster [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has quit [Remote closed the connection] 23:18:41 -!- shyam_k [n=user@unaffiliated/shyam-k/x-8459115] has quit [Remote closed the connection] 23:19:19 shyam_k [n=user@unaffiliated/shyam-k/x-8459115] has joined #scheme 23:20:50 Fare, let me know if you find bugs in it. As soon as Gerry tried it he found a bug! (I have since fixed that one, though, and he hasn't found any others so far.) 23:21:38 so did you end up doing something magic for that bitdiddling we discussed earlier? 23:22:08 No. Still a horrible five-instruction sequence just to push a continuation's return address onto the stack. 23:23:01 five? I thought that 3 were enough 23:23:21 oh, one more for push, and one more for getting the ip? 23:23:43 Sorry, four, not five. 23:23:50 The extra one is to push it, yes. 23:24:15 wait, mov rax, rip ; lea rbx,[rax*8+5] ; ror rbx,3 ; push rbx 23:24:47 where's the fifth instruction? 23:25:00 *Fare* unlags 23:25:00 I misspoke -- it is a four-instruction sequence after all. 23:25:03 Ah. 23:25:19 not too bad, actually 23:27:00 The sequence it uses is: mov %temp, $0xa000...; lea %target, label(%rip); or %target, %temp 23:27:56 I didn't do any multiplication with lea, or rotation with ror, because it would work only with three bits, and that complicated the code, and the difference is small enough that I didn't care to put together benchmarks to test its observable effects. 23:30:48 I suppose you can't or with a long immediate 23:31:45 -!- Fare [n=Fare@ita4fw1.itasoftware.com] has quit ["Leaving"] 23:32:40 Long immediate, yes; quad immediate, no. 23:35:35 sstrickl [n=sstrickl@pool-151-199-60-206.bos.east.verizon.net] has joined #scheme 23:39:32 -!- saccade_ [n=saccade@dhcp-18-111-70-156.dyn.mit.edu] has quit ["This computer has gone to sleep"] 23:41:30 Summermute [n=Summermu@c-98-204-67-114.hsd1.dc.comcast.net] has joined #scheme 23:41:38 -!- reprore [n=reprore@ntkngw356150.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 23:47:33 schmir [n=schmir@p54A912F2.dip0.t-ipconnect.de] has joined #scheme 23:48:12 -!- bweaver [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 23:53:32 -!- jonrafkind [n=jon@crystalis.cs.utah.edu] has quit [Read error: 113 (No route to host)] 23:55:37 mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 23:59:30 jlongster [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has joined #scheme