00:00:44 -!- cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has quit [Read error: 60 (Operation timed out)] 00:02:47 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 00:08:05 Mr-Cat [n=Mr-Cat@bahirkin1507.static.corbina.ru] has joined #scheme 00:20:06 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 00:20:22 -!- Mr-Cat [n=Mr-Cat@bahirkin1507.static.corbina.ru] has quit [Remote closed the connection] 00:35:17 eli, PLT folks: downloading http://pre.plt-scheme.org/installers/full-4.2.1.6-bin-i386-linux-ubuntu-jaunty.sh keeps failing after about 130K bytes 00:35:19 -rudybot:#scheme- http://tinyurl.com/kujnfo 00:36:29 ubuntu-nathan [n=Administ@201.78.172.162] has joined #scheme 00:36:35 hi 00:36:40 i'm back! 00:37:33 please 00:37:48 someone can pass me some good resources 00:37:51 for start 00:37:59 because i'm really starting 00:38:08 but i'm already a Java developer 00:38:13 thanks! 00:38:38 ubuntu-nathan: try the links in the topic 00:39:15 offby1, works for me 00:39:58 -!- Adamant_ [n=Adamant@unaffiliated/adamant] has quit [] 00:43:41 :-( 00:51:03 -!- aack [n=user@a83-161-214-179.adsl.xs4all.nl] has quit [Remote closed the connection] 00:54:21 -!- MononcQc [n=parseido@modemcable062.225-20-96.mc.videotron.ca] has quit ["DOWNLOADING LATEST VERSION OF THE INTERNET"] 01:12:15 -!- Axioplase_ is now known as Axioplase 01:16:51 -!- fishey [n=fisheyss@ool-4573344b.dyn.optonline.net] has quit [Read error: 110 (Connection timed out)] 01:17:22 fishey [n=fisheyss@ool-4573344b.dyn.optonline.net] has joined #scheme 01:19:25 QinGW [n=wangqing@203.86.89.226] has joined #scheme 01:19:56 -!- hadronzoo [n=user@ppp-70-251-121-9.dsl.rcsntx.swbell.net] has quit [Read error: 110 (Connection timed out)] 01:22:44 -!- masm [n=masm@bl10-210-41.dsl.telepac.pt] has quit ["Leaving."] 01:28:12 -!- Poeir [n=Poeir@c-98-222-133-165.hsd1.il.comcast.net] has quit ["This computer has gone to sleep"] 01:28:32 -!- elias` [n=c@unaffiliated/elias/x-342423] has quit ["leaving"] 01:29:13 Poeir [n=Poeir@c-98-222-133-165.hsd1.il.comcast.net] has joined #scheme 01:32:52 -!- ubuntu-nathan [n=Administ@201.78.172.162] has quit ["Leaving"] 01:34:17 arcfide [n=arcfide@adsl-99-14-210-197.dsl.bltnin.sbcglobal.net] has joined #scheme 01:37:11 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 01:39:43 QinGW1 [n=wangqing@203.86.89.226] has joined #scheme 01:40:34 hadronzoo [n=user@gateway.publicvpn.net] has joined #scheme 01:42:56 -!- tltstc [n=tltstc@cpe-76-168-78-251.socal.res.rr.com] has quit [Remote closed the connection] 01:53:27 -!- QinGW [n=wangqing@203.86.89.226] has quit [Read error: 110 (Connection timed out)] 01:54:04 -!- hadronzoo [n=user@gateway.publicvpn.net] has quit [Read error: 60 (Operation timed out)] 01:56:01 -!- MrFahrenheit [n=RageOfTh@users-55-138.vinet.ba] has quit [Read error: 113 (No route to host)] 01:57:38 -!- svf [n=svf@ip98-160-182-103.lv.lv.cox.net] has left #scheme 02:01:14 -!- arcfide [n=arcfide@adsl-99-14-210-197.dsl.bltnin.sbcglobal.net] has left #scheme 02:02:18 cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has joined #scheme 02:05:20 -!- blackened` [n=blackene@ip-89-102-28-224.karneval.cz] has quit [] 02:08:51 -!- cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has quit ["If technology is distinguishable from magic, it is insufficiently advanced."] 02:10:17 -!- Axioplase [n=Axioplas@fortigate.kb.ecei.tohoku.ac.jp] has quit ["Reconnecting"] 02:10:22 Axioplase [n=Axioplas@fortigate.kb.ecei.tohoku.ac.jp] has joined #scheme 02:17:00 hadronzoo [n=user@gateway.publicvpn.net] has joined #scheme 02:27:12 proqesi [n=user@unaffiliated/proqesi] has joined #scheme 02:34:13 -!- snurble [n=snurble@s83-191-238-2.cust.tele2.se] has quit [Read error: 104 (Connection reset by peer)] 02:38:08 -!- underspecified__ [n=eric@softbank220043052007.bbtec.net] has quit [] 02:39:27 kyle_omg [n=kyle@S010600195bd5aaab.ek.shawcable.net] has joined #scheme 02:51:07 snurble [n=snurble@s83-191-238-2.cust.tele2.se] has joined #scheme 02:52:31 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [] 02:53:28 tjafk1 [n=timj@e176205032.adsl.alicedsl.de] has joined #scheme 02:55:05 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 02:56:09 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [Client Quit] 02:58:09 -!- hadronzoo [n=user@gateway.publicvpn.net] has quit ["ERC Version 5.2 (IRC client for Emacs)"] 03:09:27 -!- tjafk2 [n=timj@e176222013.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 03:09:43 -!- bzzbzz [n=franco@modemcable240.34-83-70.mc.videotron.ca] has quit ["leaving"] 03:11:19 MononcQc [n=parseido@modemcable062.225-20-96.mc.videotron.ca] has joined #scheme 03:25:50 -!- kyle_omg [n=kyle@S010600195bd5aaab.ek.shawcable.net] has quit [Remote closed the connection] 03:31:22 -!- copumpkin [n=pumpkin@c-24-63-67-154.hsd1.nh.comcast.net] has quit [Client Quit] 03:36:48 Adamant [n=Adamant@c-68-51-134-164.hsd1.ga.comcast.net] has joined #scheme 03:37:49 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [Client Quit] 03:44:04 underspecified [n=eric@walnut.naist.jp] has joined #scheme 03:45:50 -!- jao [n=jao@147.Red-83-42-209.dynamicIP.rima-tde.net] has quit [Read error: 60 (Operation timed out)] 03:53:09 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 03:55:14 copumpkin [n=pumpkin@c-24-63-67-154.hsd1.nh.comcast.net] has joined #scheme 03:59:29 -!- MononcQc [n=parseido@modemcable062.225-20-96.mc.videotron.ca] has quit ["DOWNLOADING LATEST VERSION OF THE INTERNET"] 04:24:20 itsgg [n=ganesh_g@59.92.12.177] has joined #scheme 04:26:03 rcy [n=rcy@d207-6-243-119.bchsia.telus.net] has joined #scheme 04:26:30 lowlycoder [n=x@unaffiliated/lowlycoder] has joined #scheme 04:29:05 saccade_ [n=saccade@65-78-24-131.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 04:29:57 -!- xwl_ [n=user@147.243.236.60] has quit [Remote closed the connection] 04:38:30 xwl_ [n=user@147.243.236.60] has joined #scheme 04:41:46 -!- Nshag [i=user@Mix-Orleans-106-1-181.w193-248.abo.wanadoo.fr] has quit ["Quitte"] 04:43:21 -!- itsgg [n=ganesh_g@59.92.12.177] has left #scheme 05:05:59 -!- Quadrescence [n=quad@unaffiliated/quadrescence] has quit [Read error: 54 (Connection reset by peer)] 05:11:34 -!- Greg02 [n=greg@ool-18bc79e7.dyn.optonline.net] has quit [Read error: 110 (Connection timed out)] 05:12:49 -!- saccade_ [n=saccade@65-78-24-131.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit ["This computer has gone to sleep"] 05:15:17 -!- ASau [n=user@83.69.240.52] has quit ["I'll be back"] 05:20:08 mmc [n=mima@cs137104.pp.htv.fi] has joined #scheme 05:22:43 -!- sleepydog [n=user@64.252.12.149] has quit [Read error: 110 (Connection timed out)] 05:26:53 saccade_ [n=saccade@65-78-24-131.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 05:28:11 QinGW [n=wangqing@203.86.89.226] has joined #scheme 05:29:33 -!- lowlycoder [n=x@unaffiliated/lowlycoder] has quit ["leaving"] 05:35:01 -!- QinGW1 [n=wangqing@203.86.89.226] has quit [Connection timed out] 05:51:51 Quadrescence [n=quad@24.118.241.200] has joined #scheme 05:53:34 johnk [i=johnk@FTTBd-195.222.176.241.ranetka.ru] has joined #scheme 05:53:48 -!- johnk [i=johnk@FTTBd-195.222.176.241.ranetka.ru] has left #scheme 06:01:50 npe [n=npe@94.224.251.223] has joined #scheme 06:05:31 hadronzoo [n=user@70.251.121.9] has joined #scheme 06:06:08 lowlycoder [n=x@unaffiliated/lowlycoder] has joined #scheme 06:06:25 random advice -- anyone here regret pursuing their career over pursuing some girl in their life? 06:06:36 i've been programming for 10+ years, and really love programming, especially in scheme 06:06:54 and this recent situation has really made me wonder what I love and want in life 06:11:54 -!- underspecified [n=eric@walnut.naist.jp] has quit [] 06:12:19 -!- lowlycoder [n=x@unaffiliated/lowlycoder] has quit ["Lost terminal"] 06:13:23 underspecified [n=eric@isa7-dhcp-116-240.naist.jp] has joined #scheme 06:15:02 MrFahrenheit [n=RageOfTh@80.65.72.29] has joined #scheme 06:19:45 xwl_` [n=user@147.243.236.60] has joined #scheme 06:20:14 -!- xwl_ [n=user@147.243.236.60] has quit [Remote closed the connection] 06:24:59 dmoerner [n=dmr@ppp-71-139-15-211.dsl.snfc21.pacbell.net] has joined #scheme 06:25:03 SugarGlider [n=stevie@220.245.104.218] has joined #scheme 06:34:12 -!- snurble [n=snurble@s83-191-238-2.cust.tele2.se] has quit [Read error: 131 (Connection reset by peer)] 06:34:57 snurble [n=snurble@s83-191-238-2.cust.tele2.se] has joined #scheme 06:38:47 hotblack23 [n=jh@p5B0575C3.dip.t-dialin.net] has joined #scheme 06:40:02 -!- dmoerner [n=dmr@ppp-71-139-15-211.dsl.snfc21.pacbell.net] has quit [Read error: 60 (Operation timed out)] 06:41:52 HG` [n=wells@85.8.72.122] has joined #scheme 06:42:40 bombshelter13_ [n=bombshel@76-10-149-209.dsl.teksavvy.com] has joined #scheme 06:42:50 -!- hotblack23 [n=jh@p5B0575C3.dip.t-dialin.net] has quit [Client Quit] 06:43:23 ASau [n=user@host76-230-msk.microtest.ru] has joined #scheme 06:47:21 recent situation? O_o 06:53:05 -!- kilimanjaro [n=kilimanj@70.116.95.163] has quit [Remote closed the connection] 07:00:06 -!- npe [n=npe@94.224.251.223] has quit [] 07:08:27 -!- ASau [n=user@host76-230-msk.microtest.ru] has quit [Remote closed the connection] 07:09:04 ASau [n=user@77.246.230.76] has joined #scheme 07:09:46 -!- bombshelter13_ [n=bombshel@76-10-149-209.dsl.teksavvy.com] has quit [Client Quit] 07:18:52 leppie|work [i=52d2e3c8@gateway/web/freenode/x-nboaamnvbutdkymj] has joined #scheme 07:20:28 -!- jonrafkind [n=jon@98.202.86.149] has quit [Read error: 110 (Connection timed out)] 07:30:39 -!- ASau [n=user@77.246.230.76] has quit [Remote closed the connection] 07:30:50 ASau [n=user@host76-230-msk.microtest.ru] has joined #scheme 07:31:22 npe [n=npe@195.207.5.2] has joined #scheme 07:40:27 -!- xwl_` [n=user@147.243.236.60] has quit [Remote closed the connection] 07:44:23 FufieToo [n=poff@Gatekeeper.vizrt.com] has joined #scheme 07:49:57 xwl_ [n=user@147.243.236.60] has joined #scheme 08:03:01 jewel_ [n=jewel@dsl-242-163-86.telkomadsl.co.za] has joined #scheme 08:04:04 tltstc [n=tltstc@cpe-76-168-78-251.socal.res.rr.com] has joined #scheme 08:05:11 -!- underspecified [n=eric@isa7-dhcp-116-240.naist.jp] has quit [] 08:05:13 -!- synx [i=synx@gateway/gpg-tor/key-0xA71B0C6A] has quit [Remote closed the connection] 08:05:26 synx [i=synx@gateway/gpg-tor/key-0xA71B0C6A] has joined #scheme 08:07:36 underspecified [n=eric@walnut.naist.jp] has joined #scheme 08:24:26 -!- proqesi [n=user@unaffiliated/proqesi] has quit [Connection timed out] 08:26:31 ct2rips [n=ct2rips@p5486944B.dip0.t-ipconnect.de] has joined #scheme 08:34:14 -!- snurble [n=snurble@s83-191-238-2.cust.tele2.se] has quit [Read error: 54 (Connection reset by peer)] 08:34:48 snurble [n=snurble@s83-191-238-2.cust.tele2.se] has joined #scheme 08:40:36 -!- ASau [n=user@host76-230-msk.microtest.ru] has quit [Remote closed the connection] 08:40:46 ASau [n=user@host76-230-msk.microtest.ru] has joined #scheme 08:41:27 -!- jewel_ [n=jewel@dsl-242-163-86.telkomadsl.co.za] has quit [Read error: 60 (Operation timed out)] 08:56:26 -!- tltstc [n=tltstc@cpe-76-168-78-251.socal.res.rr.com] has quit [Remote closed the connection] 09:08:00 attila_lendvai [n=ati@catv-89-132-189-132.catv.broadband.hu] has joined #scheme 09:11:52 hkBst [n=hkBst@gentoo/developer/hkbst] has joined #scheme 09:12:02 -!- Dark-Side [n=dark-sai@ip-155.net-82-216-217.roubaix.rev.numericable.fr] has quit ["co'o rodo"] 09:17:52 is there any way how to extract from closure its argument list? (even via some extension) 09:24:49 elias` [n=c@cs78208074.pp.htv.fi] has joined #scheme 09:28:36 ment: by locally redefining define and lambda... though anonymous functions would be a problem. 09:30:30 blackened` [n=blackene@ip-89-102-28-224.karneval.cz] has joined #scheme 09:32:32 sladegen: found another solution via apply (i needed to compose two functions returning multiple arguments), but thanks 09:32:51 in the latter case you could redefine them to accept arbitrary "list" of arguments and dispatch on first one. if it was some magic symbol it would return list of arguments, if not ... 09:33:15 incubot: what are your arguments? 09:33:17 -!- elias` [n=c@unaffiliated/elias/x-342423] has quit [Remote closed the connection] 09:33:19 (print (command-line-arguments)) 09:33:53 *sladegen* pats incubot on his no-head. 09:52:31 cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has joined #scheme 09:59:15 -!- Axioplase is now known as Axioplase_ 10:24:15 -!- QinGW [n=wangqing@203.86.89.226] has quit [Connection timed out] 10:26:28 masm [n=masm@bl5-105-246.dsl.telepac.pt] has joined #scheme 10:34:40 -!- ineiros_ [n=ineiros@pc217.ics.hut.fi] has quit [Read error: 110 (Connection timed out)] 10:37:44 elias` [n=c@cs78208074.pp.htv.fi] has joined #scheme 10:44:03 jao [n=jao@147.Red-83-42-209.dynamicIP.rima-tde.net] has joined #scheme 10:49:41 -!- cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has quit ["If technology is distinguishable from magic, it is insufficiently advanced."] 10:57:11 dzhus [n=sphinx@93-81-147-193.broadband.corbina.ru] has joined #scheme 11:05:52 mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 11:23:40 segoe [n=segoe@83.231.87.49] has joined #scheme 11:26:11 hi, how could i read lines of text in the repl until one ends with a dot? 11:26:20 in fact, how can i read one line of text in the repl? 11:45:24 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 11:55:58 Edico [n=Edico@unaffiliated/edico] has joined #scheme 11:59:13 segoe: Try "(read-line)". 12:00:14 i tried 12:01:17 > (read-line) 12:01:18 "\r" 12:01:53 something like this... if you want to be "first-principled" (let while ((now (read-char)) (this '())) (if (eof-object? now) (list->string this) (while (read-char) (cons now this)))) 12:02:13 *segoe* tries 12:02:56 of course every scheme prolly has "read-line" and some regex/matcher to aselect da dot. 12:03:41 Aren't you missing a `reverse', sladegen? 12:03:58 cracki [n=cracki@43-080.eduroam.RWTH-Aachen.DE] has joined #scheme 12:04:03 uhm it just enters in a infinite loop 12:04:03 yeah /o\ 12:04:25 segoe: press Ctrl-D when finished. 12:05:55 then it works, but it's not really adequate 12:06:10 i mean, i want a repl for a simple language where all sentences end with "." 12:06:13 I'm disappointed that (as far as I can tell) there's no SRFI standardizing a `read-line' or a more general delimited input procedure. It's not an easy thing to do efficiently. 12:06:20 mario-goulart [n=user@201-40-162-47.cable.viacabocom.com.br] has joined #scheme 12:06:22 so i need to read text in the repl until on of them ends with a dot 12:06:28 it's not supposed to be... 12:07:41 segoe: well then check for "#\." not eof-object... 12:07:52 also, it hogs the cpu that way 12:09:44 but thanks anyway :) 12:13:03 incubot: Actually, 'RSS&M' is kinda catchy. 12:13:06 hey, there's Doritos down here. Kinda stale, but ... *crunch* still edible 12:15:55 I *think* that's a dig at the quality of your humor. 12:16:43 it's the highest quality, it's stolen from xkcd 12:18:34 and it fits certain person's behaviour yesterday... 12:18:51 -!- danfowler [n=DFowler@ip-66-9-231-203.autorev.intellispace.net] has quit [Read error: 104 (Connection reset by peer)] 12:19:55 -!- dsmith [n=dsmith@cpe-173-88-196-177.neo.res.rr.com] has quit ["Leaving"] 12:21:10 Ah. I hadn't gotten around to xkcd yet. That doesn't change my opinion, though :-) 12:22:54 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 12:25:35 -!- synx [i=synx@gateway/gpg-tor/key-0xA71B0C6A] has quit [Remote closed the connection] 12:26:46 synx [i=synx@gateway/gpg-tor/key-0xA71B0C6A] has joined #scheme 12:27:32 danfowler [n=Dfowler@ip-66-9-231-203.autorev.intellispace.net] has joined #scheme 12:28:29 bryanzh [n=user@114.94.176.165] has joined #scheme 12:31:09 -!- bryanzh [n=user@114.94.176.165] has quit [Remote closed the connection] 12:42:35 BW^- [n=Miranda@92.83.182.92] has joined #scheme 12:42:58 annodomini [n=lambda@64.30.3.122] has joined #scheme 12:50:25 Thren [n=Thren@pool-98-113-187-131.nycmny.fios.verizon.net] has joined #scheme 12:52:46 chandler: There's an efficient general delimited input procedure in http://synthcode.com/scheme/html-parser.scm 12:53:26 can you please give me a hand with getting a macro right 12:53:40 Oh no wait, the efficient version hasn't been updated there yet :) 12:53:56 You can get it in the chicken html-parser egg. 12:54:02 -!- SugarGlider [n=stevie@220.245.104.218] has quit [Read error: 110 (Connection timed out)] 12:54:06 SugarGlider [n=stevie@220.245.104.218] has joined #scheme 12:54:34 i have this macro: (define-macro (mm) `(let ((d (x))) (y `(z $,(a d #f #f))))) 12:55:25 now, i want to give the macro arguments such that (mm M N O ...) produces the same as: 12:55:59 (define-macro (mm) `(let ((d (x))) (y `(z $,(a M #f #f) $,(a N #f #f) $,(a O #f #f) ... )))) 12:56:49 i want the code that generates the repetetive pattern based on the arguments to be put in a LET at the beginning of the macro, i.e. before the first ^. 12:56:51 `. 12:56:54 how do i do this??? 12:58:43 ... Why are you using `define-macro'? 12:58:47 eno__ [n=eno@adsl-70-137-137-240.dsl.snfc21.sbcglobal.net] has joined #scheme 12:58:57 BW^-: I don't know exactly what you're trying to do, or why you're using define-macro, or what the hell $, is... 12:59:05 -!- underspecified [n=eric@walnut.naist.jp] has quit [] 12:59:14 ok 12:59:56 but (define-syntax mm (syntax-rules () ((mm M ...) (let ((d (x))) (y (z (a M #f #f) ...)))))) might be a start 13:01:04 ok thansk 13:02:33 -!- SugarGlider [n=stevie@220.245.104.218] has left #scheme 13:04:38 foof: The version of `read-while' at that link seems to be the same as in the current html-parser egg. 13:08:01 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [Read error: 110 (Connection timed out)] 13:09:00 -!- eno [n=eno@nslu2-linux/eno] has quit [Read error: 110 (Connection timed out)] 13:11:47 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 13:12:40 chandler: make-string-reader/ci 13:13:49 Ah. 13:14:17 Thanks! 13:18:20 jewel_ [n=jewel@41.242.163.86] has joined #scheme 13:21:41 bombshelter13_ [n=bombshel@206.80.252.37] has joined #scheme 13:23:26 -!- MrFahrenheit [n=RageOfTh@80.65.72.29] has quit [Read error: 110 (Connection timed out)] 13:24:57 davids [n=davids@139.82.89.70] has joined #scheme 13:32:31 Vinnipeg [n=barbastr@95.84.4.190] has joined #scheme 13:37:40 -!- jewel_ [n=jewel@41.242.163.86] has quit [Connection timed out] 13:40:48 jewel_ [n=jewel@41.242.163.86] has joined #scheme 13:46:50 MrFahrenheit [n=RageOfTh@users-42-139.vinet.ba] has joined #scheme 13:51:52 annodomini [n=lambda@130.189.179.215] has joined #scheme 13:52:36 -!- MrFahrenheit [n=RageOfTh@users-42-139.vinet.ba] has quit [Read error: 104 (Connection reset by peer)] 13:52:53 -!- dzhus [n=sphinx@93-81-147-193.broadband.corbina.ru] has quit [Remote closed the connection] 13:53:54 MrFahrenheit [n=RageOfTh@users-42-139.vinet.ba] has joined #scheme 13:55:55 Greg02 [n=greg@ool-18bc79e7.dyn.optonline.net] has joined #scheme 13:56:37 RageOfThou [n=RageOfTh@users-120-106.vinet.ba] has joined #scheme 13:56:50 -!- Vinnipeg [n=barbastr@95.84.4.190] has left #scheme 13:59:50 sepult [n=user@xdsl-87-78-103-15.netcologne.de] has joined #scheme 14:01:52 -!- jewel_ [n=jewel@41.242.163.86] has quit [Connection timed out] 14:04:18 higepon78 [n=taro@FL1-118-109-37-76.tky.mesh.ad.jp] has joined #scheme 14:06:06 Adamant [n=Adamant@c-68-51-134-164.hsd1.ga.comcast.net] has joined #scheme 14:06:15 jewel_ [n=jewel@dsl-242-163-86.telkomadsl.co.za] has joined #scheme 14:07:05 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [Client Quit] 14:16:47 -!- MrFahrenheit [n=RageOfTh@users-42-139.vinet.ba] has quit [Read error: 110 (Connection timed out)] 14:21:41 underspecified [n=eric@softbank220043052007.bbtec.net] has joined #scheme 14:24:25 What compels people to write (let loop ((x (read-char)) ...) ... (loop (read-char) ...))? 14:27:41 Religion? 14:27:50 what's wrong with it? 14:32:51 -!- roderic` is now known as roderic 14:37:55 It duplicates code and renders the structure of the loop unclear. 14:39:49 duplicates code, ya. I don't see how it makes it unclear though. How'd you recommend doing it? 14:42:32 do wouldn't duplicate, but named let looks nicer, heh 14:42:59 -!- sepult [n=user@xdsl-87-78-103-15.netcologne.de] has quit [Read error: 60 (Operation timed out)] 14:43:12 sepult [n=user@xdsl-87-78-121-243.netcologne.de] has joined #scheme 14:43:27 Riastradh: I sometimes write that for small loops. It results in fewer lines of code and less indentation. 14:46:03 jlongster [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has joined #scheme 14:47:44 ... when I'm not using foof-loop, that is ;) 14:47:49 roderic, using DO would cause the same duplication, if X were needed in the last ellipsis. 14:48:05 roderic, write (let loop (...) (let ((x (read-char))) ... (loop ...))) instead. 14:49:30 -!- ASau [n=user@host76-230-msk.microtest.ru] has quit ["off"] 14:53:06 -!- npe [n=npe@195.207.5.2] has quit [] 14:54:32 -!- foof [n=user@dn157-046.naist.jp] has quit ["brb"] 14:54:43 mbishop_ [n=martin@unaffiliated/mbishop] has joined #scheme 14:56:48 foof [n=user@dn157-046.naist.jp] has joined #scheme 15:01:20 blah 15:01:28 Halb. 15:02:19 I thought maybe transferring to my bed, where my kitten invariably becomes most unkitten-like and just sleeps, might let me get some work done. 15:02:36 But she has become more interested than ever in my computer. 15:02:48 At least my feet are safe now :/ 15:03:18 Naturally, one's feet are much more important than one's computer for getting work done; how else would one operate the parenthesis foot-pedals? 15:05:06 -!- HG` [n=wells@85.8.72.122] has quit [Client Quit] 15:05:21 I guess I'm just not gonna get anything done until she grows up :( 15:05:36 -!- attila_lendvai [n=ati@catv-89-132-189-132.catv.broadband.hu] has quit ["..."] 15:05:37 ... or I could actually go to the lab to work. 15:05:46 HG` [n=HG@85.8.72.122] has joined #scheme 15:08:15 -!- mbishop [n=martin@unaffiliated/mbishop] has quit [Read error: 113 (No route to host)] 15:12:36 -!- cracki [n=cracki@43-080.eduroam.RWTH-Aachen.DE] has quit ["If technology is distinguishable from magic, it is insufficiently advanced."] 15:19:49 lisppaste: url 15:19:49 To use the lisppaste bot, visit http://paste.lisp.org/new/scheme and enter your paste. 15:20:55 -!- hadronzoo [n=user@70.251.121.9] has quit ["ERC Version 5.2 (IRC client for Emacs)"] 15:21:23 masm pasted "PLT Contract" at http://paste.lisp.org/display/85524 15:21:50 Is it possible to specify a contract for that struct? 15:22:25 The number of arguments in f field is n. 15:23:59 Or, how do I specify a contract for a function that takes another function that can have 0, 1, or 2 arguments? 15:24:23 masm: I think that it's possible, but this is one of these cases where you'd need real advice -- posting on the mailing list is going to be a good idea. 15:24:58 Quick elisp-induced puzzle: see how fast you can figure out what this code does: 15:25:01 (let loop ((n n) (l (reverse lst)) (r '())) (cond ((null? l) (reverse r)) ((zero? n) (reverse r)) (else (loop (- n 1) (cdr l) (cons (car l) r))))) 15:25:05 -!- mbishop_ is now known as mbishop 15:25:09 Then try this in comparison: 15:25:11 (let loop ([n n] [l (reverse lst)] [r '()]) (cond [(null? l) (reverse r)] [(zero? n) (reverse r)] [else (loop (- n 1) (cdr l) (cons (car l) r))])) 15:26:10 -!- FufieToo [n=poff@Gatekeeper.vizrt.com] has quit ["Leaving"] 15:26:16 Ack. It's all on one line. 15:27:04 The question is whether there is a substantial difference in mentally parsing the two. 15:27:45 The elisp connection is that I was forced to use only round parens, and realized that my habit of putting a few short-expression bindings on the same line looks much messier than in plt, using []s. 15:27:59 No. When formatted properly, the shape of the code is the same between the two. 15:28:06 If properly indented, I would say no difference. 15:28:36 The square brackets don't help for me. I never put multiple bindings on the same line, period. 15:29:31 BUT, it is much easier with the square brackets if all the code is on the same line. 15:29:36 See what I said above -- I *like* putting the bindings on the same line -- if they are short enough to go into the line -- this makes even more sense in a named let, where you want the self-call shape to be similar to the bindings shape, but spreading the call on a few lines doesn't make sense. 15:30:06 I tend to make the self-call shape resemble the bindings list - that is, one argument per line - regardless of how long the arguments are. 15:30:58 cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has joined #scheme 15:33:38 Sveklo [n=sveklo@gw0.stadinetti.fi] has joined #scheme 15:33:53 eli pasted "Formatting" at http://paste.lisp.org/display/85527 15:35:05 i guess that IF cn be indented a bit better :) 15:35:50 See, I'd choose the "too spaced out" version. 15:35:56 jengle [n=jengle@64-252-49-153.adsl.snet.net] has joined #scheme 15:36:48 chandler: Are you using a small font in your editor? 15:36:50 Though if I just have an "if" in the body, I tend to reverse the test so that the self-call is the second leg. 15:37:00 leppie: If you're talking about the two-space indentation that I use, then you're wrong... 15:37:01 Not especially small, but I have a large screen. 15:37:47 chandler: I use a huge font, not because of eye sight problems but for convenience (and to avoid having them) -- having code that is too spread out is much less convenient to read. 15:38:00 i used to use the consistent 2 space indentation for IF's too, but then people said it looks funny 15:38:16 leppie: Go back. "People" are wrong. 15:38:21 Actually, in this case, I'd probably put all the arguments to the self-call on one line. 15:38:43 i actually prefer the 'new' way 15:38:47 chandler: But you'd definitely have the bindings on separate lines, right? 15:38:48 -!- underspecified [n=eric@softbank220043052007.bbtec.net] has quit [Read error: 54 (Connection reset by peer)] 15:38:51 Yes. 15:38:54 priorità/aspirazioni 15:39:06 wrong window, sorry. 15:39:37 but the rest is pretty much 2 space indentations, except for applications with many args, then I use the align under first arg indentation 15:39:43 chandler: There you go -- I was surprised to see how bad it looks when I used ()s -- it's an advantage of []s that I've never even thought about. 15:39:58 underspecified [n=eric@softbank220043052007.bbtec.net] has joined #scheme 15:40:02 leppie: The four spaces make it look like a function application -- which is why I hate that default with a passion. 15:40:18 you have a point eli :p 15:40:20 For what it's worth, if I were to use the square brackets, I'd probably use them in the opposite fashion: (let loop [(a 0) (b 1) (n n)] ...) 15:40:51 perhaps you need to chose different font colors for different things like syntax vs varaibles/procedures 15:41:35 Oh, joy, and thus Scheme has different trivial syntax styles to program into editors and flame endlessly about. 15:41:45 chandler: FWIW, I would have a less problems with that over the other way. 15:42:00 *eli* ignores the trolling attempt 15:42:50 eli how do you indent let-syntax (with a few clauses, perhaps) ? 15:43:07 leppie: But the origin of that four space thing is coming from Lisp, where the second subform is indented four spaces and all the following two -- because you can have an number of `else' expressions. 15:43:49 That Lisp stupidity makes me hate the default indent-like-a-function thing even more. 15:44:09 I don't like the two-space `if' style because `if' takes a fixed number of arguments, just like a function. I consider aligning arguments visually to be the "normal" style, and an outdent relative to that is used in my mind to denote a sequence of body forms. 15:44:17 leppie: I indent `let-syntax' in exactly the same way; I don't see the relevance. 15:44:28 er, just like a function with fixed arity. 15:44:34 ok, I wont be going to active change IF indentations 15:44:53 chandler: So ... function with a variable arity ... 15:45:24 Well, I'd align all the arguments there too. What I mean to say is that the outdent thing to me denotes a body form or sequence of body forms. 15:45:54 Or the expression part of a define, I guess. 15:46:35 chandler: But this is exactly why I do the two spaces thing -- the two branches are essentially two bodies, with a very different role to the test expression. 15:46:37 leppie annotated #85527 "this ok for let-syntax?" at http://paste.lisp.org/display/85527#1 15:47:18 to me, that code is already getting too 'wide' 15:47:29 I like having 2 views open, side-by-side 15:47:59 eli: The other reason I prefer the larger indentation for `if' is to remind myself to use `cond'. Otherwise, I will not bother to clean up a form that ends up looking like (if a b (if c d ...)). 15:48:32 leppie: I don't know what the question is -- I'd use square brackets there too, and in `with-syntax' which also simplifies reading "([((id type renamed) ...) ..." part. 15:48:34 chandler: you should use and/or not cond there :) 15:48:46 leppie: The only thing I'd change at a glance is to rearrange the binding part of that `with-syntax' a bit. 15:49:08 eli: the question is in that little comment 15:49:13 chandler: Well, that, I have no problems with -- my `if's and `cond's have strict rules about them... 15:49:23 leppie: Hm? I'm talking about the type of sequence of `if's that's naturally rewritten as (cond (a ...) (c ...) (e ...) ...). 15:49:51 leppie: Ah, sorry, I missed that. 15:50:15 (if (if (if a b c) d e) f g) maps to cond normally 15:50:33 leppie: In that case, I'd *never* do that -- if I need to, I take both parens down (and then the whole thing gets indented with four spaces, ditinguishing it from the body). 15:51:23 ahh, that may look nice too, i'll try it, this indentation this thing is starting to become the hardest thing in SCheme 15:51:25 Also, this whole thing seems ugly to me, but then again I tend to get a little bit itchy when looking at macro-writing macros. 15:51:44 Also, the nesting of the `let-syntax' can easily be killed by using `letrec-syntax' there. 15:52:15 yes chandler: it's ugly :) it's my first practical macro using let-syntax :p 15:52:32 but I am not sure I want letrec-syntax there 15:52:51 letrec*-syntax perhaps 15:53:20 no, that wont work either 15:53:25 jcowan [n=jcowan@cpe-74-68-154-139.nyc.res.rr.com] has joined #scheme 15:53:38 I need to capture 'id' before reintroducing it 15:53:47 -!- roderic [n=user@bubbles.ccs.neu.edu] has quit [Read error: 104 (Connection reset by peer)] 15:53:53 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 15:53:55 roderic [n=user@bubbles.ccs.neu.edu] has joined #scheme 15:54:32 i might get away without having to explicitly rename it (well that phase anyawys) 15:54:57 OK. This macro is making my head hurt. Can you give me an example call to `with-clr-type' ? 15:55:28 http://xacc.wordpress.com/2009/08/16/new-clr-shorthand-syntax/ 15:55:41 (When did `violation' become the vogue word for `error'?) 15:56:04 Riastradh: something like that 15:56:05 Get with the R6RS times, Riastradh! 15:56:20 (assertion-violation #f "error") 15:56:26 hurts my hands! 15:56:44 UTTL 15:58:08 Riastradh: In R5RS, programmers just make errors, but now the programmer is brutally violated by R6RS. 15:58:11 Also, one doesn't violate assertions. One violates assumptions, or fails to satisfy asserted assumptions. 15:58:38 And a syntax violation sounds more like Perl to me than an error in syntax. 15:58:47 *jcowan* is going to violate ccil.org before long if it doesn't stop misbehaving. 15:58:53 chandler: it actually works using a single let-syntax like I suggested :) 15:59:45 (And not the nice, kitten-attacking-barefeet sort of violation.) 16:00:51 leppie: Also, what's with all the `lit=?' calls in the fenders in the inner `let-syntax'? 16:01:21 Why not just make those literals to the surrounding `syntax-case'? 16:01:24 to use literal matching, and not hygiene 16:02:20 this is for people coming from a dirty place :p 16:02:43 -!- jengle [n=jengle@64-252-49-153.adsl.snet.net] has quit ["Leaving"] 16:02:50 And your definition of `lit=?' seems to be broken. I don't understand what you're trying to achieve - you want (with-clr-type ... (let ((= ...)) (obj foo = z))) to behave unhygienically? 16:02:53 and I dont feel like exporting short named bindings like that 16:03:22 Speaking of violation, I wish someone would violate make's privilege of existence. 16:03:23 yes, i do not want hygiene 16:03:34 Why? 16:03:47 Riastradh: would you prefer... imake? :P 16:04:18 It still beats autotools. 16:04:25 chandler: just because :) 16:04:33 Elly, I would prefer to lose my present desire to tear my eyeballs out (and that rhymes with bear, not with beer) over attempting to make stuff build. 16:05:20 jonrafkind [n=jon@crystalis.cs.utah.edu] has joined #scheme 16:05:31 Riastradh: :( 16:05:47 leppie: You should rethink your strategy. You can make it so that (let ((= ...)) (with-clr-type ... (obj a = z))) behaves unhygienically, without having (with-clr-type ... (let ((= ...)) (obj foo = z))) do so. 16:06:43 foof, what beats autotools? Writing portable makefiles by hand? Writing GNU makefiles, and respecting all its random behaviour designed to match bugs in archaic makes? Writing BSD makefiles using , hoping that their semantics matches between different BSDs? 16:07:15 Me. I beat autotools, brutally. 16:07:54 Riastradh: Yes, any of the above. 16:09:04 Well, OK, I guess you're right. 16:10:14 leppie: Also, this would be a good place to define an ordinary function in the expansion phase that can be used on the right-hand side of a `let-syntax' form, so that (with-syntax ((obj type) ...) body ...) -> (let-syntax ((obj mumble) ...) body ...) 16:11:58 ASau [n=user@83.69.240.52] has joined #scheme 16:12:29 thanks chandler, i'll look later, need to go out 16:12:49 er, I meant with-clr-type there, not with-syntax 16:13:30 yes, I saw, it just needs a single let-syntax, no with-syntax 16:13:59 And clearly `mumble' needs to know about the type, so that'd be (let-syntax ((obj (mumble #'type)) ...) body ...), but I'm sure you can figure it out from there. 16:14:02 i guess I would have to do that, if I was using letrec-syntax 16:14:06 proq [n=user@38.100.211.40] has joined #scheme 16:14:20 ahh got you chandler :) 16:14:51 leppie: BTW, if you find indenting Scheme, of all languages, hard -- try a few weeks of {S,OCa}ML. 16:15:32 That provides enough indentation related entertainment that lasts for decades. 16:16:50 arcfide [n=arcfide@adsl-99-14-210-197.dsl.bltnin.sbcglobal.net] has joined #scheme 16:17:55 -!- higepon78 [n=taro@FL1-118-109-37-76.tky.mesh.ad.jp] has quit [Read error: 113 (No route to host)] 16:20:04 -!- cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has quit ["If technology is distinguishable from magic, it is insufficiently advanced."] 16:22:59 -!- BW^- [n=Miranda@92.83.182.92] has quit [Read error: 110 (Connection timed out)] 16:24:49 eli: ha ha ha, indenting SML 16:26:03 cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has joined #scheme 16:45:25 Vinnipeg [n=barbastr@95.84.4.190] has joined #scheme 16:57:30 Nshag [i=user@Mix-Orleans-106-4-235.w193-248.abo.wanadoo.fr] has joined #scheme 17:07:55 -!- copumpkin [n=pumpkin@c-24-63-67-154.hsd1.nh.comcast.net] has quit [Client Quit] 17:12:15 edwardk [i=c72ec6e8@gateway/web/freenode/x-rcynaylftjhhospi] has joined #scheme 17:12:29 -!- Sveklo [n=sveklo@gw0.stadinetti.fi] has quit [Read error: 113 (No route to host)] 17:14:34 bombshelter13__ [n=bombshel@206.80.252.37] has joined #scheme 17:15:56 -!- bombshelter13__ [n=bombshel@206.80.252.37] has quit [Remote closed the connection] 17:16:11 bombshelter13__ [n=bombshel@206.80.252.37] has joined #scheme 17:24:47 sladegen [n=nemo@unaffiliated/sladegen] has joined #scheme 17:25:08 haole [n=ivan@189.35.188.83] has joined #scheme 17:27:01 hello there... i'm a beginner with plt-scheme and i'm creating a client for an UDP based server... i have a thread that keeps reading information given from the server, but in this relationship, the client may send to the server a message and the server will issue a response to it (in between the other usual messages)... if i were doing java and something like that, i would try to use exceptions, but i was wondering if there might be a better way to do this 17:27:23 like locking my thread that reads the server and wait for the response of the server in the current call 17:29:50 -!- bombshelter13_ [n=bombshel@206.80.252.37] has quit [Connection timed out] 17:30:11 -!- ct2rips [n=ct2rips@p5486944B.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)] 17:34:07 -!- snurble [n=snurble@s83-191-238-2.cust.tele2.se] has quit [Read error: 104 (Connection reset by peer)] 17:34:42 snurble [n=snurble@s83-191-238-2.cust.tele2.se] has joined #scheme 17:35:30 mrsolo [n=mrsolo@nat/yahoo/x-gmojbnpagzxmxbxj] has joined #scheme 17:36:49 dysinger [n=dysinger@98.246.183.155] has joined #scheme 17:52:42 -!- tjafk1 [n=timj@e176205032.adsl.alicedsl.de] has quit ["Client exiting"] 17:53:52 haole, what do you need exceptions for 17:53:59 i mean you have those in plt scheme as well 17:54:58 jonrafkind: i was thinking about using them in the default thread that reads from the server and when it reads this response for the server, it raises an exception so my program can treat it and be back in it's normal flow 17:55:14 jonrafkind: dunno if this is a good way to do it... i'm just trying things out :) 17:55:31 the thing that reads responses is in a different thread? 17:55:42 i mean exceptions don't propagate between threads, even in java 17:56:27 jonrafkind: if i do it with threads, i will use only one 17:56:41 the problem is: if i read the ack message in another thread, how am i supposed to make the reading in the first thread stop? that's my issue 17:56:55 yea 17:57:04 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit [Read error: 101 (Network is unreachable)] 17:57:11 so you want to jump to the message processing code after reading a message and then jump back to the normal code, right? 17:57:15 what if the first thread reads the ack before the sender thread? 17:57:28 yes 17:57:29 so basically you are doing polling? 17:57:49 loop: blah(); poll(); if message, process(); goto loop; 17:57:55 well... i have a common place to store information in my program... don't know if polling fits it right 17:58:08 you have one thread, right? 17:58:13 the main program? 17:58:16 yes 17:58:26 and every oncei n a while you want to check if the server sent a message? 17:58:40 no, sorry... i have the main program and one thread that keeps reading stuff and updating my data structures 17:59:00 so the thread reads messages from the server and updates data structures 17:59:02 and every once in a while i want to send some info to the server, but it then returns me an ack... something like this: 17:59:18 oh hm 17:59:18 normal message - normal message - ack message - normal message 17:59:28 it just inserts the ack into the same stream when i send something 17:59:29 yes 17:59:43 then your main progarm should communicate with the thread 17:59:57 main: (send message sending-thread), thenw ait for a response from it 18:00:02 you can use channels in plt scheme 18:00:18 nice... that's probably what i am looking for 18:00:28 mmc1 [n=mima@cs137104.pp.htv.fi] has joined #scheme 18:00:29 well, gonna do some reading... thanks :) 18:00:34 ok 18:01:11 npe [n=npe@94-224-251-223.access.telenet.be] has joined #scheme 18:01:32 -!- mmc [n=mima@cs137104.pp.htv.fi] has quit [Read error: 110 (Connection timed out)] 18:10:18 -!- HG` [n=HG@85.8.72.122] has quit [Client Quit] 18:10:32 HG` [n=HG@85.8.72.122] has joined #scheme 18:10:46 what's the point of the box data structure in plt? i understand it but i can't imagine a use for it 18:11:31 It's a first-class variable. 18:11:34 *edwardk* just remembered the Scheme Workshop is this weekend. 18:11:51 Indeed, in some schemes all mutable variables are changed into immutable ones that point to boxes ("assignment conversion") 18:18:44 -!- HG` [n=HG@85.8.72.122] has quit [Client Quit] 18:22:23 bweaver [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has joined #scheme 18:24:53 tjafk [n=timj@e176205032.adsl.alicedsl.de] has joined #scheme 18:29:08 -!- jao [n=jao@147.Red-83-42-209.dynamicIP.rima-tde.net] has quit [Read error: 60 (Operation timed out)] 18:32:38 Adamant [n=Adamant@c-68-51-134-164.hsd1.ga.comcast.net] has joined #scheme 18:40:46 jao [n=jao@147.Red-83-42-209.dynamicIP.rima-tde.net] has joined #scheme 18:46:46 tltstc [n=tltstc@cpe-76-168-78-251.socal.res.rr.com] has joined #scheme 18:50:47 -!- mmc1 [n=mima@cs137104.pp.htv.fi] has quit ["Leaving."] 18:55:42 -!- Vinnipeg [n=barbastr@95.84.4.190] has left #scheme 18:56:21 wingo [n=wingo@134.Red-83-37-97.dynamicIP.rima-tde.net] has joined #scheme 18:59:23 I know this is off-topic, but I wonder whether I'm looking in the wrong place at to find information about the source of FOO, such as the project's home page, the project's developers, or anything useful like that. 19:00:20 -!- danfowler [n=Dfowler@ip-66-9-231-203.autorev.intellispace.net] has quit [Read error: 54 (Connection reset by peer)] 19:01:19 They give it to you if they have it, but often they don't. Googling is generally much better. 19:01:32 -!- leppie|work [i=52d2e3c8@gateway/web/freenode/x-nboaamnvbutdkymj] has quit [Ping timeout: 180 seconds] 19:04:39 I tried some random examples that came to mind, and none had links to projects' home pages. Do you have any examples where there are such links? And how could they *not* have information about the project's home page? 19:05:32 E.g., I looked through the entire HTML source of the pages for the openssl and mit-scheme packages, and neither openssl.org nor gnu.org turned up in either document. 19:06:55 I find it hard to believe that Chris Hanson wouldn't know where MIT Scheme's home page is, or that the maintainers of the package for OpenSSL wouldn't know about openssl.org (although perhaps the latter is unsurprising given the lax attitude Debian has had about interacting with OpenSSL's upstream developers...). 19:08:15 i've never found project's info like that on packages.debian.org... 19:08:40 -!- davids [n=davids@139.82.89.70] has quit ["Client exiting"] 19:09:09 perhaps it would make them break some licensing contracts... 19:09:27 incubot: call your lowyars. 19:09:30 http://www.call-with-current-continuation.org/eggs/environments.html 19:09:53 danfowler [n=Dfowler@ip-66-9-231-203.autorev.intellispace.net] has joined #scheme 19:10:22 For OpenSSL and MIT Scheme, at least, I can Google, but not when there is an obscure package for obscure software that Googling *doesn't* turn up, or where there are too many hits to find the one I'm interested in, namely that from which the Debian package was actually derived. 19:10:55 Riastradh: What software doesn't show up on Google? 19:11:18 When it's packaged for a distro, Google still finds it on the distro's public web listing. 19:11:27 In this case, I want to find the provenance of Debian's `pmake' package. 19:13:47 I have a rough impression, from some files that I turned up from , that its source code was derived from what one finds in NetBSD's source tree, but that is the extent of the information I have been able to find about it. 19:14:12 Yup, that's what I see too. 19:14:44 The original author seems to be one Adam de Boor, in 1988. 19:15:13 Actually, to be precise (`provenance' was the wrong word), I'm interested not in the original source (I know where to find that in NetBSD's source tree), but rather in the changes that were made to derive Debian's pmake package. 19:16:02 TR2N [i=email@89.180.238.249] has joined #scheme 19:16:43 diff is not helpful? 19:18:18 Riastradh: do you have access to a Debian system? 19:19:36 Not conveniently, mario-goulart. Why should that be relevant? 19:20:25 Riastradh: maybe. You can execute `apt-get source pmake' to fetch the source used for creating the debian package. 19:20:42 More directly, you can download the source .deb file and unpack it locally. 19:20:58 Riastradh: as a regular user (no root access needed) 19:22:15 ...ah, I see: there are links to the source code and diff used to produce the package, under `Download Source Package _FOO_:'. Naturally, simply following the link FOO serves only to lead me astray! 19:22:26 http://ftp.de.debian.org/debian/pool/main/p/pmake/pmake_1.111-1.diff.gz 19:23:04 incubot: duh 19:27:58 -!- sepult [n=user@xdsl-87-78-121-243.netcologne.de] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 19:36:26 -!- jao [n=jao@147.Red-83-42-209.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 19:44:45 jao [n=jao@83.33.230.31] has joined #scheme 19:56:44 FunkyDrummer [n=RageOfTh@users-55-168.vinet.ba] has joined #scheme 19:59:51 foof: Is there a repository of some kind for chibi where I could find an in-development version, or is 0.2 the latest publicly available source? 20:01:13 Hrm, is there a reason that someone might want non-blocking sockets over the use of something like select()? 20:01:54 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 20:02:43 What do you mean by `over'? 20:03:10 How else do you use non-blocking sockets? (I presume that `something like select', you include poll, kqueue, epoll, /dev/poll, &c.) 20:03:33 -!- RageOfThou [n=RageOfTh@users-120-106.vinet.ba] has quit [Read error: 60 (Operation timed out)] 20:04:43 Riastradh: Specifically, is there a reason someone would specifically want to be able to set a socket as non-block and then run in a loop to check whether a set of sockets are ready or if they instead return EWOULDBLOCK, as opposed to just adding those sockets to an fd_set and using select. 20:06:09 *Riastradh* blinks. 20:06:42 It's a separate matter, isn't it? Suppose select() tells me that the fd is ready for reading. If I want to read, say, up to the first 512 bytes of ready data, how else do I do that except by using a non-blocking socket? 20:07:26 chandler: You just read the first 512 bytes, of course. I believe recv() works fine for that. 20:07:54 Riastradh: Am I missing something? 20:07:55 If you're just looking for the next socket on which I/O is ready, you use select; you never write an explicit loop that tries to do I/O with each one in turn. 20:08:06 What if recv returns EWOULDBLOCK? 20:08:30 Or what if it returns 123 bytes instead of 512? 20:09:07 It shouldn't return EWOULDBLOCK if select() just said it wouldn't. And if it returns less, then you have more work to do. 20:09:38 arcfide: Ah, right. 20:10:10 Cowmoo [n=Cowmoo@static-70-108-241-27.res.east.verizon.net] has joined #scheme 20:10:11 chandler: ? 20:10:18 Of course, potentially you might have trouble if you tried to read more than was ready for reading, and you didn't want to block. 20:10:26 I think there are some circumstances under which select will say that I/O is ready and yet subsequent I/O operations will return EWOULDBLOCK. 20:10:32 I can't remember what they are. 20:10:43 :-o... 20:11:18 E.g., perhaps if a UDP packet arrived, but had a checksum error. I know that some operating systems, such as Linux, exhibit random behaviour when that happens, although I don't remember precisely what that random behaviour is. 20:11:27 sladegen: Ah. For some reason I had been expecting a link from the pages that come up on a Google search for chibi scheme. 20:11:37 -!- haole [n=ivan@189.35.188.83] has quit [Read error: 110 (Connection timed out)] 20:14:28 Oh dear, another random DVCS. 20:14:41 Another?? 20:15:12 Oh, I already knew about Mercurial. 20:15:30 I was vaguely aware of it, but hadn't had a reason to install it until now. 20:15:49 Scheme48's source is stored in a Mercurial repository. 20:16:51 I haven't had a reason to check that out, either. 20:20:36 Great! I just installed it, and it doesn't work. 20:21:07 abort: couldn't find mercurial libraries in [about 30 things here] 20:21:13 (check your install and PYTHONPATH) 20:21:21 I'll check *your* PYTHONPATH! 20:26:01 sleepydog [n=user@64.252.12.149] has joined #scheme 20:27:33 -!- dysinger [n=dysinger@98.246.183.155] has quit [Success] 20:28:04 Mercurial is not remotely new. 20:28:54 It's new in the sense that I haven't yet run into a reason to try to use it, until now. 20:29:59 You can draw whatever conclusions you like from that. Having to figure out why a tool that knows it's being installed in /usr/local can't arrange things so that whatever environment variables need to be set to make this work are set before invoking `python' does not make me regret having ignored it until now. 20:32:06 copumpkin [n=pumpkin@dhcp-212-238.cs.dartmouth.edu] has joined #scheme 20:34:03 -!- snurble [n=snurble@s83-191-238-2.cust.tele2.se] has quit [Read error: 104 (Connection reset by peer)] 20:34:40 snurble [n=snurble@s83-191-238-2.cust.tele2.se] has joined #scheme 20:44:17 MononcQc [n=parseido@modemcable062.225-20-96.mc.videotron.ca] has joined #scheme 20:46:28 -!- hiyuh [n=hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has quit [No route to host] 20:48:40 OK. I never tried it without a package manager. 20:51:35 -!- wingo [n=wingo@134.Red-83-37-97.dynamicIP.rima-tde.net] has quit [Read error: 113 (No route to host)] 21:03:10 -!- copumpkin [n=pumpkin@dhcp-212-238.cs.dartmouth.edu] has quit [Read error: 111 (Connection refused)] 21:03:17 hiyuh [n=hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has joined #scheme 21:09:01 -!- segoe [n=segoe@83.231.87.49] has quit [Read error: 60 (Operation timed out)] 21:10:00 copumpkin [n=pumpkin@dhcp-210-127.cs.dartmouth.edu] has joined #scheme 21:18:08 -!- edwardk [i=c72ec6e8@gateway/web/freenode/x-rcynaylftjhhospi] has quit ["Page closed"] 21:20:21 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [] 21:23:22 -!- jewel_ [n=jewel@dsl-242-163-86.telkomadsl.co.za] has quit [Read error: 113 (No route to host)] 21:24:13 Wonder if it'd be bad if I implemented my own unit system. 21:24:35 Wouldn't have to be difficult, just treat a unit as a list of procedures... 21:25:10 It's just what I'm trying to do might not be easily expressed with units at all, as far as plt defines them. 21:25:48 plus I'd hope it would be at least possible to be portable beyond just plt... 21:33:28 -!- bombshelter13__ [n=bombshel@206.80.252.37] has quit [Client Quit] 21:40:55 dmoerner [n=dmr@ppp-71-139-19-1.dsl.snfc21.pacbell.net] has joined #scheme 21:42:09 haole [n=ivan@189.35.188.83] has joined #scheme 21:45:54 pumpkin [n=pumpkin@dhcp-212-238.cs.dartmouth.edu] has joined #scheme 21:46:45 Adamant [n=Adamant@c-68-51-134-164.hsd1.ga.comcast.net] has joined #scheme 21:48:50 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 21:49:15 -!- dmoerner [n=dmr@ppp-71-139-19-1.dsl.snfc21.pacbell.net] has quit ["leaving"] 21:49:19 -!- haole [n=ivan@189.35.188.83] has quit ["Saindo"] 21:49:29 dmoerner [n=dmr@ppp-71-139-19-1.dsl.snfc21.pacbell.net] has joined #scheme 21:51:58 -!- dmoerner [n=dmr@ppp-71-139-19-1.dsl.snfc21.pacbell.net] has quit [Client Quit] 21:52:10 dmoerner [n=dmr@ppp-71-139-19-1.dsl.snfc21.pacbell.net] has joined #scheme 21:53:24 -!- dmoerner [n=dmr@ppp-71-139-19-1.dsl.snfc21.pacbell.net] has quit [Client Quit] 21:53:59 dmoerner [n=dmr@ppp-71-139-19-1.dsl.snfc21.pacbell.net] has joined #scheme 21:55:33 -!- dmoerner [n=dmr@ppp-71-139-19-1.dsl.snfc21.pacbell.net] has quit [Client Quit] 21:55:45 dmoerner [n=dmr@ppp-71-139-19-1.dsl.snfc21.pacbell.net] has joined #scheme 21:58:00 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 21:58:50 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [Read error: 110 (Connection timed out)] 22:01:27 -!- copumpkin [n=pumpkin@dhcp-210-127.cs.dartmouth.edu] has quit [Read error: 110 (Connection timed out)] 22:03:12 -!- pumpkin is now known as copumpkin 22:05:08 -!- Edico [n=Edico@unaffiliated/edico] has quit ["Ex-Chat"] 22:06:09 -!- underspecified [n=eric@softbank220043052007.bbtec.net] has quit [] 22:06:32 -!- mario-goulart [n=user@201-40-162-47.cable.viacabocom.com.br] has quit [Remote closed the connection] 22:10:33 stepnem_ [n=stepnem@topol.nat.praha12.net] has joined #scheme 22:13:46 synx: Is there something wrong with the current Unit systems? 22:19:17 -!- stepnem [n=stepnem@topol.nat.praha12.net] has quit [No route to host] 22:19:51 -!- stepnem_ is now known as stepnem 22:25:45 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Remote closed the connection] 22:26:06 jcowan_ [n=jcowan@72.14.228.129] has joined #scheme 22:34:05 -!- snurble [n=snurble@s83-191-238-2.cust.tele2.se] has quit [Read error: 104 (Connection reset by peer)] 22:34:38 snurble [n=snurble@s83-191-238-2.cust.tele2.se] has joined #scheme 22:36:47 -!- jcowan_ [n=jcowan@72.14.228.129] has left #scheme 22:37:51 -!- npe [n=npe@94-224-251-223.access.telenet.be] has quit [] 22:44:11 -!- jlongster [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has quit [Read error: 60 (Operation timed out)] 22:48:28 -!- kniu [n=kniu@pool-71-106-16-199.lsanca.dsl-w.verizon.net] has quit [Remote closed the connection] 22:48:37 kniu [n=kniu@pool-71-106-16-199.lsanca.dsl-w.verizon.net] has joined #scheme 22:49:06 Adamant [n=Adamant@c-68-51-134-164.hsd1.ga.comcast.net] has joined #scheme 23:00:16 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 23:00:27 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [Client Quit] 23:01:51 -!- Nshag [i=user@Mix-Orleans-106-4-235.w193-248.abo.wanadoo.fr] has quit ["Quitte"] 23:13:22 -!- bweaver [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 23:18:29 Nothing's wrong arcfide I just... don't have a good idea how to do certain things. Plus the unit system won't work on chicken or MIT or anything like that. 23:19:10 When I'm inherently tied to a certain implementation, it makes me suspect I may have something I don't understand about my algorithms. 23:19:34 synx: Well, TRC Testing is fairly portable. ;-) 23:19:52 TRC Testing? o.o 23:19:53 But you should see what it takes to make to work and then you'll see that testing frameworks aren't always the most portable things to begin with. 23:20:11 s/fairly/relatively/ 23:20:51 synx: TRC Testing works with MIT Scheme, Scheme48, and Chez Scheme to my knowledge, and I believe someone made an R6RS port of it as well. 23:21:31 Oh I'm not worried about testing frameworks. It's units that I'm struggling with. 23:21:47 I ended up with a bunch of units with just a few missing, and adding in the missing pieces would make various programs. 23:22:56 Sort of like having a C library, and you just write a few C source files to use it, but don't have to specify each object file you want in the library. 23:32:49 synx: Like... modules? 23:41:31 -!- offby1 [n=user@q-static-138-125.avvanta.com] has quit [Read error: 60 (Operation timed out)] 23:44:18 rudybot_ [n=luser@q-static-138-125.avvanta.com] has joined #scheme 23:48:05 Units in PLT Scheme are different from modules. 23:53:31 Hrm, what then, are units? 23:54:10 23:54:45 -!- hkBst [n=hkBst@gentoo/developer/hkbst] has quit [Read error: 104 (Connection reset by peer)] 23:54:49 Better yet, . 23:54:50 A platoon is a military unit typically composed of two to four sections or squads and ... 23:54:54 Thank you Google! 23:54:57 lol 23:55:27 it's good to know 23:56:43 -!- rudybot [n=luser@q-static-138-125.avvanta.com] has quit [Read error: 110 (Connection timed out)] 23:58:24 Are PLT Units something like ML Functors? 23:58:39 And Scheme48's parameterized modules? 23:59:57 No, somewhat different. They exclude syntax bindings, which are relegated to signatures, they exist at run-time, and they admit more complicated linkage.