00:08:17 arcfide: I would *love* to have a DrScheme menu item called "post to paste.lisp.org" :) 00:09:01 but afair you don't use PLT, so this is left as an exercise to the reader... 00:09:01 -!- copumpkin [n=pumpkin@dhcp-212-245.cs.dartmouth.edu] has quit [] 00:09:45 Leonidas: I'll write the client in a style that I am sure would work in PLT Scheme. :-) PLT Scheme already has an XML RPC library. 00:09:51 It wouldn't be hard to add this in. 00:10:13 -!- eno [n=eno@nslu2-linux/eno] has quit [Read error: 60 (Operation timed out)] 00:10:29 arcfide: probably not, although I have no idea how to extend the gui of mred. 00:10:41 btw, the python code is quite horrible. 00:10:56 no, wait, it is horrible 00:13:28 I have to say that I haven't seen much *good* python code out there, though I am sure you can do it. 00:14:09 eno [n=eno@nslu2-linux/eno] has joined #scheme 00:17:20 It's possible to make good python code, though not possible to prevent all the memory leaks and underlying compiler bugs. Making good asynchronous python code though, now that is impossible. 00:27:07 arcfide: for examples of good python code, see Werkzeug/Sphinx/Pygments. Definitely not the python stdlib :) 00:47:29 rouslan [n=rouslan@pool-70-109-151-129.cncdnh.east.myfairpoint.net] has joined #scheme 00:47:56 This is strange - for some reason "(define (f) 10)" is considered to be illegal in HTDP. 00:48:25 Even though it's a perfectly legal function definition (which has null arity and simply returns 10). 00:48:55 Osaka [n=yuki@pool-71-101-104-25.tampfl.dsl-w.verizon.net] has joined #scheme 00:50:09 rouslan: HtDP is a subset of the syntax available for use. 00:51:25 I see, so it simplifies Scheme for pedagogical purposes. 00:52:26 What should I study after HTDP, assuming I'm interested in studying theoretical CS in college? 00:53:00 Some people have recommended PCL and then PAIP, but I'm concerned that the former is very practical. 00:53:56 And what about SICP? 00:56:19 PAIP is very popular in _certain circles_ 00:56:41 Would it be very useful for learning AI? 00:57:06 For the most part 00:57:33 And the 2nd part of Artificial Intelligence: A Modern Approach by Peter Norvig 00:58:03 But don't mind me 00:58:46 Ok, thanks. 00:59:21 -!- rouslan [n=rouslan@pool-70-109-151-129.cncdnh.east.myfairpoint.net] has quit ["Java user signed off"] 01:06:55 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 01:09:41 -!- masm [n=masm@bl7-36-241.dsl.telepac.pt] has quit ["Leaving."] 01:16:24 arcfide_ [i=arcfide@adsl-99-31-12-13.dsl.bltnin.sbcglobal.net] has joined #scheme 01:16:32 -!- arcfide [i=arcfide@adsl-99-137-203-69.dsl.bltnin.sbcglobal.net] has quit [Nick collision from services.] 01:16:34 -!- arcfide_ is now known as arcfide 01:17:04 -!- davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has quit [Remote closed the connection] 01:24:04 Summermute66 [n=scott@c-76-114-212-247.hsd1.dc.comcast.net] has joined #scheme 01:24:20 sstrickl [n=sstrickl@12.154.17.123] has joined #scheme 01:24:57 -!- Fare [n=Fare@c-24-218-127-11.hsd1.ma.comcast.net] has quit ["Leaving"] 01:28:16 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [] 01:28:46 sebaseba [n=carnieri@189.32.41.195] has joined #scheme 01:31:41 sstrickl_ [n=sstrickl@12.154.17.123] has joined #scheme 01:31:59 -!- sstrickl [n=sstrickl@12.154.17.123] has quit [Nick collision from services.] 01:31:59 -!- sstrickl_ is now known as sstrickl 01:33:25 optimizer [n=x@unaffiliated/lowlycoder] has joined #scheme 01:33:28 how important are continuations? 01:33:36 -!- Summermute [n=scott@c-76-114-212-247.hsd1.dc.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 01:33:39 i actually don't find myself using things like non-deterministic search too much 01:34:00 Summermute [n=scott@c-76-114-212-247.hsd1.dc.comcast.net] has joined #scheme 01:34:28 -!- Summermute66 [n=scott@c-76-114-212-247.hsd1.dc.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 01:34:36 On a scale of 1 to 10, I rate the importance of continuations as 'orange'. 01:39:14 -!- sstrickl [n=sstrickl@12.154.17.123] has quit [] 01:39:30 sstrickl [n=sstrickl@12.154.17.123] has joined #scheme 01:49:32 optimizer: if you mean "how important is it that I understand continuations", I'd say "kinda" 01:50:09 i mean how important that I use continuations 01:50:16 like if I have a langauge that is everything I want 01:50:19 but continuations are really slow 01:50:40 i'm struggling to think of scenarios where I absolutely must have continuations 02:01:36 you need it to impress your girlfriend. 02:03:33 optimizer: I wouldn't worry about it. 02:03:58 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 02:04:11 optimizer: scheme makes continuations first-class objects; I suspect that's of more use to people hacking the language itself, than to people writing apps. 02:05:25 -!- xwl_ [n=user@147.243.236.60] has quit [Remote closed the connection] 02:06:02 xwl_ [n=user@147.243.236.60] has joined #scheme 02:06:23 -!- xwl_ [n=user@147.243.236.60] has quit [Remote closed the connection] 02:06:26 -!- blackened` [n=blackene@ip-89-102-28-224.karneval.cz] has quit [] 02:07:08 continuations allow you to completely ignore them while other people write code that works effectively and fast. They're like python deferreds, but invisible and awesome. 02:08:43 I mostly overall take advantage of escape continuations, and threads, not much else. Continuations are supposedly helpful for making the equivalent to a python generator, but I've never seen that as being really useful. 02:14:40 xwl_ [n=user@147.243.236.60] has joined #scheme 02:19:11 I've used continuations for all sorts of things. 02:19:27 Most recently, for backtracking in a search algorithm. 02:19:50 And continuations don't have to be that slow. 02:21:06 copumpkin [n=pumpkin@c-24-63-67-154.hsd1.nh.comcast.net] has joined #scheme 02:23:53 -!- Osaka [n=yuki@pool-71-101-104-25.tampfl.dsl-w.verizon.net] has quit [Read error: 104 (Connection reset by peer)] 02:23:53 -!- annodomini [n=lambda@wikipedia/lambda] has quit [Read error: 104 (Connection reset by peer)] 02:24:28 someone needs to write a "continuations for the app developer" doc 02:24:56 Hahah. 02:26:42 "continuations for procrastinators" ftw! 02:27:34 Wohoo! Authorize.NET Payment processing in Scheme! It's actually passing its tests. :-D 02:28:12 And what kind of stupid gateway can't handle whitespace in the contents? :-/ 02:28:34 Whitespace in the XML tag contents: works doesn't I think I see why the second one doesn't work, arcfide! 02:46:59 You omitted the closing angle bracket, you see. 02:47:11 -!- Summermute [n=scott@c-76-114-212-247.hsd1.dc.comcast.net] has quit [Read error: 113 (No route to host)] 02:47:39 >_< 02:47:42 Um.... 02:47:45 Yeah, typo. 02:47:47 ;-) 02:48:01 *arcfide* gives Riastradh a gold star. 02:49:23 For excellence in mathematics? 02:49:36 foof: For excellence in pedantry. 02:50:32 Can anyone tell me what #\xFEFF is? I mean, does it have some standard use? 02:50:45 SRFI :13 (R6RS) chokes on it. :-) 02:52:32 Byte order marker? 02:53:48 It's a small piece of insanity brought on to us by people who thought utf-16 was an appropriate storage encoding. 02:54:18 It matters for UTF-32 too. 02:55:03 Yes, but UTF-32 is much less common as an external encoding. 02:55:20 -!- sstrickl_ [n=sstrickl@12.154.17.123] has quit [] 02:55:38 sstrickl_ [n=sstrickl@12.154.17.123] has joined #scheme 02:55:49 -!- sstrickl [n=sstrickl@12.154.17.123] has quit [Nick collision from services.] 02:55:50 -!- sstrickl_ is now known as sstrickl 02:56:01 -!- sstrickl [n=sstrickl@12.154.17.123] has quit [Client Quit] 02:56:14 sstrickl [n=sstrickl@12.154.17.123] has joined #scheme 03:01:07 -!- jeapostrophe [n=jay@69.169.141.110] has quit [] 03:02:23 sstrickl_ [n=sstrickl@12.154.17.123] has joined #scheme 03:02:29 -!- sstrickl_ [n=sstrickl@12.154.17.123] has quit [Remote closed the connection] 03:09:16 -!- sstrickl [n=sstrickl@12.154.17.123] has quit [Read error: 145 (Connection timed out)] 03:15:53 -!- kilimanjaro [n=kilimanj@cpe-173-172-99-25.austin.res.rr.com] has quit [Remote closed the connection] 03:20:51 jcowan [n=jcowan@cpe-74-68-154-139.nyc.res.rr.com] has joined #scheme 03:31:52 -!- foof [n=user@FLH1Afr049.osk.mesh.ad.jp] has quit [Remote closed the connection] 03:34:24 -!- mabes [n=mabes@bmabey.fttp.xmission.com] has quit [Remote closed the connection] 03:35:19 mabes [n=mabes@bmabey.fttp.xmission.com] has joined #scheme 03:38:49 -!- leppie [n=lolcow@196-210-146-155-tvwt-esr-2.dynamic.isadsl.co.za] has quit [Read error: 104 (Connection reset by peer)] 03:44:28 leppie [n=lolcow@196-210-146-155-tvwt-esr-2.dynamic.isadsl.co.za] has joined #scheme 03:49:22 -!- arcfide [i=arcfide@adsl-99-31-12-13.dsl.bltnin.sbcglobal.net] has quit [Read error: 110 (Connection timed out)] 03:56:09 ccl-logbot [n=ccl-logb@master.clozure.com] has joined #scheme 03:56:09 03:56:09 -!- names: ccl-logbot tjafk leppie mabes jcowan gpaci copumpkin xwl_ eno jonrafkind antoszka borism r2q2 gaze TR2N _Jordan_ sladegen untouchable CaptainMorgan rdd ve dmoerner kniu lowlycoder thesnowdog emma offby1 Adrinael Adamant Pepe_ aking araujo dfeuer yosafbridge stepnem cornbread incubot mbishop Poeir jao bohanlon gnomon zeroish elmex ada2358 nickgibbon schmir ray marcoecc Alice_I_W lisppaste rudybot synx tessier tizoc Arelius cipher mreggen snorble 03:56:09 -!- names: duncanm nothere m811 chandler z0d acieroid Kusanagi tarbo REPLeffect hosh tltstc roderic elf ineiros samth_away jay-mccarthy mornfall ponzao__1 ski michaelw Chris nasloc__ rotty clog Khisanth joast Axioplase tabe`` klutometis erg charleyb jyujin eli Elly makmanalp qebab j0ni saccade_ rmrfchik felipe specbot minion rapacity dlouhy Riastradh Leonidas StucKman p1dzkl ecraven r0bby brx poucet certainty TimMc kazzmir C-Keen linas guenthr Armageddon00 03:56:09 -!- names: sjamaan nicktastic zbigniew 04:03:46 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 04:04:57 -!- r2q2 [n=user@c-24-7-212-60.hsd1.il.comcast.net] has quit [Remote closed the connection] 04:06:09 caoliver [n=oliver@75-134-208-20.dhcp.trcy.mi.charter.com] has joined #scheme 04:07:13 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [Client Quit] 04:08:48 -!- eno [n=eno@nslu2-linux/eno] has quit [Read error: 60 (Operation timed out)] 04:10:51 foof [n=user@FLH1Afr049.osk.mesh.ad.jp] has joined #scheme 04:11:10 eno [n=eno@nslu2-linux/eno] has joined #scheme 04:11:57 rdd` [n=rdd@c83-250-145-223.bredband.comhem.se] has joined #scheme 04:21:38 ccl-logbot [n=ccl-logb@master.clozure.com] has joined #scheme 04:21:38 04:21:38 -!- names: ccl-logbot Axioplas1 Jafet rdd` eno foof caoliver tjafk leppie mabes jcowan gpaci copumpkin xwl_ jonrafkind antoszka borism gaze TR2N _Jordan_ sladegen untouchable CaptainMorgan ve dmoerner lowlycoder thesnowdog emma offby1 Adrinael Adamant Pepe_ aking dfeuer yosafbridge stepnem cornbread incubot mbishop Poeir jao bohanlon gnomon zeroish elmex ada2358 nickgibbon schmir ray marcoecc lisppaste rudybot synx tessier tizoc Arelius cipher mreggen 04:21:38 -!- names: snorble nothere m811 chandler z0d acieroid Kusanagi tarbo REPLeffect hosh tltstc roderic ineiros samth_away jay-mccarthy ponzao__1 michaelw Chris nasloc__ rotty Khisanth joast tabe`` klutometis erg charleyb jyujin eli Elly makmanalp qebab j0ni saccade_ felipe specbot minion rapacity Riastradh Leonidas StucKman p1dzkl r0bby brx zbigniew nicktastic Armageddon00 guenthr linas C-Keen kazzmir TimMc certainty poucet 04:22:16 dlouhy [n=jdlouhy@zerowing.ccs.neu.edu] has joined #scheme 04:22:17 sjamaan [n=sjamaan@frohike.xs4all.nl] has joined #scheme 04:22:24 duncanm [n=duncan@a-chinaman.com] has joined #scheme 04:22:29 elf [i=elf@antenora.aculei.net] has joined #scheme 04:22:52 Can anyone fathom what the C math function "remquo" does? 04:22:54 rmrfchik [n=rmrfchik@linuxhacker.ru] has joined #scheme 04:22:59 Or, rather, what you'd want it for? 04:23:00 I tend to use audacious for that sort of thing, but it's more of a pain to install. 04:23:02 mornfall [n=mornfall@anna.fi.muni.cz] has joined #scheme 04:23:42 It returns the (round-)remainder of two doubles as its primary value, but also returns an implementation-defined number of the low-order bits of the quotient, at least 3. 04:23:44 Why???? 04:24:41 Ah, I see. 04:25:28 "remquo() is a specialised function typically used for range reduction of the argument in circular functions. Only the low-order k bits of the quotient are stored, k being implementation-defined (but at least 3) in the POSIX standard. These bits serve to indicate which quadrant, or octant, the argument lies in." 04:26:04 Nice name 04:26:24 Not. 04:26:42 People expect it to return the remainder and the quotient, and it doesn't. That's another function (fmod? modf? I forget) 04:26:50 Like Banquo 04:26:54 Ah. 04:26:55 Yes. 04:27:07 Back to haunt unsuspecting hackers 04:28:48 Banquo's a strange name too. 04:30:17 *jcowan* wonders if he should expose remquo in Flopsy, and if so, what more reasonable name it could have. 04:30:36 I already have ROUND-REMAINDER, so it's the quotient bits ... naah. 04:30:41 Flopsy doesn't have multiple values anyhow. 04:30:57 remquo?!, which indicates that you must read the manual first 04:31:04 *jcowan* laughs. 04:31:41 -!- Axioplas1 is now known as Axioplase 04:32:42 I find values of k = 3, 7, 24, and 31 in various implementations. 04:33:13 And yeah, modf is truncate-remainder, whereas fmod returns the fractional part of a double. 04:33:21 kniu [n=kniu@ELMUNDO.RES.CMU.EDU] has joined #scheme 04:33:31 -!- Axioplase [n=Axioplas@fortigate.kb.ecei.tohoku.ac.jp] has quit ["leaving"] 04:34:59 araujo [n=araujo@gentoo/developer/araujo] has joined #scheme 04:35:32 Axioplase [n=Axioplas@fortigate.kb.ecei.tohoku.ac.jp] has joined #scheme 04:47:18 arrgh 04:48:01 is there some reason why subprocess won't take a TCP input port as standard input, or are we just being anal about it? 04:50:32 -!- mabes [n=mabes@bmabey.fttp.xmission.com] has quit [Remote closed the connection] 04:51:40 maybe it wants an output port? I always forget which is which 04:51:50 you're talking about PLT? 04:55:01 Yeah... 04:55:35 It wants a file-stream-input-port, which is (and (file-stream-port? port) (input-port? port)). 04:55:41 huh 04:55:47 maybe it's planning on seekig 04:55:49 seeking 04:55:55 And of course thanks to Microsoft, TCP sockets don't count as file-stream-ports... 04:56:03 No, pipes work fine. Just not sockets. 04:56:06 I wouldn't think that's Microsoft's fault 04:57:44 Well, their operating system is the first one I know that treated the two with different interfaces. 04:58:10 Winsocks, and the LF vs CRLF incompatibility are what really tick me off about the company. 05:01:12 They also require you to concatenate your command line arguments together with space separators before invoking a subprocess. It only takes such an encoded string, decoding it internally, but not any sort of list of arguments. 05:02:25 ...but PLT handles that transparently. It seems not so lenient with standard input and output though. 05:04:04 Gee, if winsock and CRLFs are all that bother you about Microsoft... 05:05:45 What are "win" socks? Are those like power ties for the feet? 05:08:35 MichaelRaskin [n=MichaelR@213.171.48.239] has joined #scheme 05:09:50 *offby1* slaps foof upside the haid 05:10:28 win-re-boots came complementary... 05:11:41 Riastradh: Yup, that's pretty much it. OH WAIT 05:11:53 I forgot DirectX! 05:12:45 CRLF delimiters, Winsocks, and DirectX. That's the full list, yup. Yessirree.. 05:16:12 -!- jonrafkind [n=jon@98.202.86.149] has quit [Read error: 110 (Connection timed out)] 05:27:42 pavelludiq [n=quassel@87.246.58.146] has joined #scheme 05:42:15 synx: sockets aren't files on Posix either, it's just that you can read() and write() them. 05:42:23 Most file operations, including open(), do not work on sockets. 05:42:45 -!- jcowan [n=jcowan@cpe-74-68-154-139.nyc.res.rr.com] has quit ["Leaving"] 05:46:06 well, yes but dup2 works on them, so that's all you really need to spawn a subprocess with them on standard input and output. 05:46:49 -!- ve [n=a@94-193-95-252.zone7.bethere.co.uk] has quit [Read error: 113 (No route to host)] 05:58:28 leppie|work [i=52d2e3c8@gateway/web/freenode/x-ygzcnetbnswyfvey] has joined #scheme 06:02:02 ski [n=slj@85.224.19.212] has joined #scheme 06:03:17 -!- ski [n=slj@85.224.19.212] has quit [Read error: 60 (Operation timed out)] 06:14:45 clog [n=nef@bespin.org] has joined #scheme 06:19:44 thermal_ [n=thermal@c-24-18-249-200.hsd1.wa.comcast.net] has joined #scheme 06:24:50 proq [n=user@unaffiliated/proqesi] has joined #scheme 06:25:05 XTL [i=t6haha00@193.167.100.97] has joined #scheme 06:34:03 ski [n=slj@c-d413e055.1149-1-64736c10.cust.bredbandsbolaget.se] has joined #scheme 06:37:30 ski_ [n=md9slj@remote1.student.chalmers.se] has joined #scheme 06:43:09 -!- MichaelRaskin [n=MichaelR@213.171.48.239] has quit [Remote closed the connection] 06:43:33 MichaelRaskin [n=MichaelR@213.171.48.239] has joined #scheme 06:52:33 attila_lendvai [n=ati@catv-89-134-66-153.catv.broadband.hu] has joined #scheme 06:56:40 rstandy [n=rastandy@93.144.36.224] has joined #scheme 07:07:02 -!- caoliver [n=oliver@75-134-208-20.dhcp.trcy.mi.charter.com] has left #scheme 07:08:16 -!- foof [n=user@FLH1Afr049.osk.mesh.ad.jp] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 07:10:43 Fufie [n=innocent@80.203.225.86] has joined #scheme 07:22:14 -!- dmoerner [n=dmr@89-141.res.pomona.edu] has quit [Remote closed the connection] 07:22:31 mmc [n=mima@89.27.122.78] has joined #scheme 07:22:39 dmoerner [n=dmr@134.173.88.145] has joined #scheme 07:23:19 attila_lendvai_ [n=ati@catv-89-134-66-143.catv.broadband.hu] has joined #scheme 07:23:27 -!- attila_lendvai [n=ati@catv-89-134-66-153.catv.broadband.hu] has quit [Nick collision from services.] 07:23:33 -!- attila_lendvai_ is now known as attila_lendvai 07:39:03 -!- Fufie [n=innocent@80.203.225.86] has quit ["Leaving"] 07:41:38 -!- dmoerner [n=dmr@134.173.88.145] has quit ["Konversation terminated!"] 07:51:42 ASau [n=user@host168-231-msk.microtest.ru] has joined #scheme 08:19:25 -!- MichaelRaskin [n=MichaelR@213.171.48.239] has quit [Remote closed the connection] 08:20:15 MichaelRaskin [n=MichaelR@213.171.48.239] has joined #scheme 08:27:01 -!- proq [n=user@unaffiliated/proqesi] has quit [Read error: 110 (Connection timed out)] 08:31:10 -!- gpaci [n=gpaci@gpaci-02.dsllan.toad.net] has quit [] 08:33:00 -!- mmc [n=mima@89.27.122.78] has quit [Remote closed the connection] 08:36:41 Fufie [n=poff@Gatekeeper.vizrt.com] has joined #scheme 08:43:25 -!- rstandy [n=rastandy@93.144.36.224] has quit [Read error: 131 (Connection reset by peer)] 09:07:30 eli: I'm thinking about implementing conways game of life using scheme/match, but it does not seem to support complex patterns. Or does it. 09:08:05 what do you mean, 'complex patterns'? 09:10:38 npe [n=npe@195.207.5.2] has joined #scheme 09:11:47 StucKman: well, I would apply match on every cell, so the patterns would look like (match current-cell [(has-three-live-neighbors current-cell) 'live]) 09:12:40 and I don't know whether match supports something like this 09:12:48 maybe I should just use COND. 09:15:42 -!- rdd` is now known as rdd 09:23:14 Leonidas: sorry, the implementation I use doesn't have match 09:45:46 StucKman: yep, that's PLT Scheme specific. I am thinking of ways how this could be useful. 09:50:43 mmc [n=mima@esprx04x.nokia.com] has joined #scheme 09:54:07 -!- Axioplase is now known as Axioplase_ 10:12:54 ecraven [n=nex@octonex.swe.uni-linz.ac.at] has joined #scheme 10:16:50 StucKman: are you trying to port the one from Clojure? 10:19:08 leppie|work: no, I was just answering leppie|work 10:19:12 ... Leonidas 10:20:00 ah ok, as it looks similar to what you are doing 10:20:03 -!- schmir [n=schmir@mail.brainbot.com] has quit [Remote closed the connection] 10:20:14 leppie|work: I'm not doing anything! 10:20:21 I was trying that as well, but didnt get very far, some of Clojure's syntax is a bit weird 10:20:29 (besides implementing soap, but that's another story) 10:20:44 Ahh, its Leonidas :) 10:20:48 sorry 10:21:26 leppie|work: it's too early in the morning, np :-P 10:21:43 afternoon here already 10:22:39 yeah, here too, but didn't get my coffee yet :-P 10:22:46 s/get/had/ 10:23:11 schmir [n=schmir@mail.brainbot.com] has joined #scheme 10:24:18 -!- schmir [n=schmir@mail.brainbot.com] has quit [Remote closed the connection] 10:31:37 -!- gaze [n=gaze@ResNet-36-86.resnet.ucsb.edu] has quit [] 10:44:53 Leonidas: it's possible to do that: 10:44:57 rudybot: eval (match 3 [(? odd?) 'yes] [else 'no]) 10:44:58 eli: your scheme sandbox is ready 10:44:59 eli: ; Value: yes 10:45:23 Leonidas: but if you're doing these things then there's no real point in using `match' over `cond'. 10:47:44 masm [n=masm@bl9-115-197.dsl.telepac.pt] has joined #scheme 10:52:58 rstandy [n=rastandy@net-93-144-36-224.t2.dsl.vodafone.it] has joined #scheme 10:58:21 davids [n=davids@139.82.89.70] has joined #scheme 11:01:04 schmir [n=schmir@mail.brainbot.com] has joined #scheme 11:11:06 frankmcauley [n=frankmca@cpe-65-185-40-11.columbus.res.rr.com] has joined #scheme 11:13:25 eli: yep, good to have it confirmed :) 11:14:22 by the way, what would be the best way to represend a game of life board? A list of nested lists with atoms inside? or a long list with atoms? Or maybe something completely different? 11:15:24 -!- frankmcauley [n=frankmca@cpe-65-185-40-11.columbus.res.rr.com] has quit [Client Quit] 11:16:55 mario-goulart [n=user@67.205.85.241] has joined #scheme 11:21:38 I defer to Gosper. 11:22:09 Edico [n=Edico@unaffiliated/edico] has joined #scheme 11:37:38 Leonidas: a multi-dimensional array/vector sounds like a good choice, but dunno if PLT has that 11:38:56 It would be easy to implement (and there's probably 5 srfis), but probably not the fastest. 11:39:15 Hashlife is the fastest for "interesting" patterns 11:39:31 It might need some GC control, though 11:39:44 by golly! 11:39:56 Heaps of fun. 11:42:13 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 11:59:31 -!- npe [n=npe@195.207.5.2] has quit [Remote closed the connection] 12:00:27 leppie|work: yep, that's what I thought, too. Will take a look into the SRFIs. 12:01:26 npe [n=npe@195.207.5.2] has joined #scheme 12:02:51 SRFI 25 looks good, PLT has support for that one, too. 12:05:59 -!- emma [n=em@unaffiliated/emma] has quit [Read error: 110 (Connection timed out)] 12:07:01 Nshag [i=user@193.248.205.252] has joined #scheme 12:07:42 -!- npe [n=npe@195.207.5.2] has quit [Remote closed the connection] 12:09:45 npe [n=npe@195.207.5.2] has joined #scheme 12:29:41 -!- MichaelRaskin [n=MichaelR@213.171.48.239] has quit [Remote closed the connection] 12:32:49 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [] 12:34:00 MichaelRaskin [n=MichaelR@213.171.48.239] has joined #scheme 12:36:37 -!- marcoecc [i=me@gateway/gpg-tor/key-0x9C9AAE7F] has quit [Remote closed the connection] 12:40:55 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit ["+++ killed by SIGSEGV +++"] 12:41:01 -!- rstandy [n=rastandy@net-93-144-36-224.t2.dsl.vodafone.it] has quit [Read error: 60 (Operation timed out)] 12:47:36 Silex [n=silex@92.243.0.58] has joined #scheme 12:48:03 hello 12:48:13 what would this snippet of code do? 12:48:15 (define (eval exp env) (cond ((self-evaluating? exp) exp) ((variable? exp) (lookup-variable-value exp env)) ((quoted? exp) (text-of-quotation exp)) ((assignment? exp) (eval-assignment exp env)) ((definition? exp) (eval-definition exp env)) ((if? exp) (eval-if exp env)) ((lambda? exp) (make-procedure (lambda-parameters exp) (lambda-body exp) env)) ((begin? exp) (eval-sequence (begin-actions exp) env)) ((cond? exp) (eval (cond->if exp) env)) ((app 12:48:15 lication? exp) (apply (eval (operator exp) env) (list-of-values (operands exp) env))) (else (error "Common Lisp or Netscape Navigator 4.0+ Required" exp)))) 12:48:21 oops, longer paste than expected, sorry 12:48:50 http://codepad.org/VQnC1Wa9 12:49:03 this is from today's xkcd, wondered what it does :) 12:54:37 dzhus [n=sphinx@95-24-65-165.broadband.corbina.ru] has joined #scheme 12:54:56 Fare [n=Fare@c-24-218-127-11.hsd1.ma.comcast.net] has joined #scheme 12:55:22 Silex: it's a simple interpreter that tells you need "Common Lisp or Netscape Navigator 4.0+" when it doesn't know what to do. 12:55:55 oh, thanks! what does it when it knows what to do? 12:56:07 does it do* 12:57:42 It evaluates the given expression (the first argument) into the given environment (the second argument). 12:57:52 aight, cheers! 12:59:12 -!- Silex [n=silex@92.243.0.58] has left #scheme 13:00:40 frankmcauley [n=frankmca@cpe-65-185-40-11.columbus.res.rr.com] has joined #scheme 13:00:46 -!- MichaelRaskin [n=MichaelR@213.171.48.239] has quit [Remote closed the connection] 13:08:49 annodomini [n=lambda@wikipedia/lambda] has joined #scheme 13:19:36 foof [n=user@FLH1Afr049.osk.mesh.ad.jp] has joined #scheme 13:24:27 ve [n=a@94-193-95-252.zone7.bethere.co.uk] has joined #scheme 13:31:42 MononcQc [n=Ferd@207.253.180.96] has joined #scheme 13:34:13 segoe [n=segoe@83.231.98.214] has joined #scheme 13:34:25 hi 13:35:04 xwl [n=user@123.115.119.166] has joined #scheme 13:41:06 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 13:41:57 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [Client Quit] 13:48:11 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 13:54:49 Jafet1 [n=Jafet@unaffiliated/jafet] has joined #scheme 13:54:49 -!- Jafet [n=Jafet@unaffiliated/jafet] has quit [Read error: 104 (Connection reset by peer)] 13:55:05 davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has joined #scheme 13:55:49 -!- Jafet1 is now known as jafet 14:11:44 -!- Fare [n=Fare@c-24-218-127-11.hsd1.ma.comcast.net] has quit [Read error: 113 (No route to host)] 14:27:57 lol xkcd :) 14:29:51 bad flashbacks :) 14:29:58 of 1993 14:31:48 -!- jafet [n=Jafet@unaffiliated/jafet] has quit ["Leaving."] 14:31:55 Jafet [n=Jafet@unaffiliated/jafet] has joined #scheme 14:32:05 thehcdreamer [n=thehcdre@94.198.78.26] has joined #scheme 14:36:51 Fare [n=Fare@ita4fw1.itasoftware.com] has joined #scheme 14:38:34 -!- dzhus [n=sphinx@95-24-65-165.broadband.corbina.ru] has quit [Remote closed the connection] 14:50:06 metasyntax [n=taylor@75-149-208-121-Illinois.hfc.comcastbusiness.net] has joined #scheme 14:50:31 mabes [n=mabes@66.236.74.194] has joined #scheme 14:58:18 Jafet1 [n=Jafet@unaffiliated/jafet] has joined #scheme 14:58:26 -!- Jafet [n=Jafet@unaffiliated/jafet] has quit ["Leaving."] 14:59:53 -!- Jafet1 is now known as Jafet 15:00:22 nothingHappens [n=nothingH@173-25-176-111.client.mchsi.com] has joined #scheme 15:06:50 -!- jao [n=jao@129.Red-79-144-21.dynamicIP.rima-tde.net] has quit [Remote closed the connection] 15:12:51 jlongster [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has joined #scheme 15:15:52 jao [n=jao@129.Red-79-144-21.dynamicIP.rima-tde.net] has joined #scheme 15:18:53 hiyuh [n=hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has joined #scheme 15:20:03 -!- pavelludiq [n=quassel@87.246.58.146] has quit [Read error: 104 (Connection reset by peer)] 15:20:51 -!- samth_away is now known as samth 15:23:36 gpaci [n=gpaci@gpaci-02.dsllan.toad.net] has joined #scheme 15:28:24 SvekloB [n=sveklo@unaffiliated/sveklo] has joined #scheme 15:31:58 shyam_k [n=user@unaffiliated/shyam-k/x-8459115] has joined #scheme 15:48:00 is there a variant of array-set! (srfi 25) that does not mutate the original array but returns a modified copy? 15:49:22 eek 15:49:27 It seems to me that if you're doing that sort of thing, you'd be better off with a different data structure. 15:54:26 rstandy [n=rastandy@pc212-189-140-32.unile.it] has joined #scheme 15:55:27 -!- attila_lendvai [n=ati@catv-89-134-66-143.catv.broadband.hu] has quit ["..."] 15:55:32 -!- xwl [n=user@123.115.119.166] has quit [Remote closed the connection] 15:55:44 -!- Jafet [n=Jafet@unaffiliated/jafet] has quit ["Leaving."] 15:56:00 -!- ASau [n=user@host168-231-msk.microtest.ru] has quit ["off"] 16:03:13 -!- frankmcauley [n=frankmca@cpe-65-185-40-11.columbus.res.rr.com] has quit [] 16:04:54 jonrafkind [n=jon@crystalis.cs.utah.edu] has joined #scheme 16:08:43 -!- npe [n=npe@195.207.5.2] has quit [] 16:09:50 -!- thehcdreamer [n=thehcdre@94.198.78.26] has quit [] 16:17:28 -!- gpaci [n=gpaci@gpaci-02.dsllan.toad.net] has quit [] 16:20:59 -!- Fufie [n=poff@Gatekeeper.vizrt.com] has quit ["Leaving"] 16:21:30 dockheas23 [n=george@089-101-070136.ntlworld.ie] has joined #scheme 16:21:45 -!- dockheas23 [n=george@089-101-070136.ntlworld.ie] has left #scheme 16:32:04 -!- ski_ [n=md9slj@remote1.student.chalmers.se] has quit ["Lost terminal"] 16:33:31 gnomon: alternatively, I could add "patches" to the original array, so the array stays the same and the accessors check the patches first, before doing a lookup in the array. 16:34:11 and after some patches, I could create a copy and integrate the patches into the array, so the game can start anew. 16:34:34 or, well, a different data structure :) Maybe a hash would work as well. 16:34:58 bweaver [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has joined #scheme 16:40:44 mngbd [n=pkt@081-003-214-196.yesss.at] has joined #scheme 16:41:45 -!- foof [n=user@FLH1Afr049.osk.mesh.ad.jp] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 16:41:57 sctb [n=sctb@74.198.148.18] has joined #scheme 16:43:14 -!- davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has quit [Remote closed the connection] 16:50:42 -!- leppie [n=lolcow@196-210-146-155-tvwt-esr-2.dynamic.isadsl.co.za] has quit [] 16:51:28 peddie [n=peddie@c-98-210-236-72.hsd1.ca.comcast.net] has joined #scheme 16:56:39 foof [n=user@FLH1Afr049.osk.mesh.ad.jp] has joined #scheme 16:59:34 -!- rstandy [n=rastandy@pc212-189-140-32.unile.it] has quit [Read error: 60 (Operation timed out)] 17:00:36 ejs [n=eugen@95.135.30.161] has joined #scheme 17:01:01 -!- mreggen [n=mreggen@cm-84.215.28.167.getinternet.no] has quit ["leaving"] 17:03:18 leppie [n=lolcow@196-210-146-155-tvwt-esr-2.dynamic.isadsl.co.za] has joined #scheme 17:04:37 -!- Fare [n=Fare@ita4fw1.itasoftware.com] has quit [Read error: 60 (Operation timed out)] 17:06:11 -!- sctb [n=sctb@74.198.148.18] has quit [Read error: 104 (Connection reset by peer)] 17:09:28 gaze [n=gaze@ResNet-36-86.resnet.ucsb.edu] has joined #scheme 17:20:00 Fufie [n=innocent@80.203.225.86] has joined #scheme 17:22:51 Fare [n=Fare@63.107.91.99] has joined #scheme 17:26:20 davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has joined #scheme 17:31:22 -!- foof [n=user@FLH1Afr049.osk.mesh.ad.jp] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 17:32:59 -!- shyam_k [n=user@unaffiliated/shyam-k/x-8459115] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 17:35:45 frankmcauley [n=frankmca@cpe-65-185-40-11.columbus.res.rr.com] has joined #scheme 17:38:49 -!- gaze [n=gaze@ResNet-36-86.resnet.ucsb.edu] has quit [] 17:46:58 foof [n=user@FLH1Afr049.osk.mesh.ad.jp] has joined #scheme 17:49:25 -!- SvekloB [n=sveklo@unaffiliated/sveklo] has quit ["Leaving..."] 17:56:04 blackened` [n=blackene@ip-89-102-28-224.karneval.cz] has joined #scheme 18:01:41 proq [n=user@unaffiliated/proqesi] has joined #scheme 18:05:08 -!- frankmcauley [n=frankmca@cpe-65-185-40-11.columbus.res.rr.com] has left #scheme 18:09:47 pavelludiq [n=quassel@87.246.58.146] has joined #scheme 18:11:17 -!- davids [n=davids@139.82.89.70] has quit ["Client exiting"] 18:30:21 langmartin [n=user@exeuntcha.tva.gov] has joined #scheme 18:37:07 -!- MononcQc [n=Ferd@207.253.180.96] has quit ["Leaving"] 18:41:47 -!- segoe [n=segoe@83.231.98.214] has quit [] 18:49:07 kanak [n=kanak@dhcp-18-111-34-188.dyn.mit.edu] has joined #scheme 18:49:43 Hi. Does anyone have a copy of John Small's "Learn Scheme Now" online book? The domain seems to have expired on the original link (http://www.rogare.com/downloads/scheme/lsnow.pdf) 18:56:28 mrsolo [n=mrsolo@nat/yahoo/x-zimoqpbwvahughdh] has joined #scheme 18:57:38 Hmm 18:58:22 http://web.archive.org/web/20061017184836/http://www.rogare.com/downloads/scheme/lsnow.pdf 18:58:25 -rudybot:#scheme- http://tinyurl.com/ygovm24 18:58:38 oh sorry 18:58:46 I still had it in my cache obviously 18:58:58 Well, save it! 18:59:10 Seems I don't 18:59:17 I don't think it was a very good book? 18:59:51 It was unfinished, wasn't it? 19:00:24 Might be 19:03:15 I'm only interested because someone claimed it had a good section on macros. Could you suggest alternative resources (suitable for a macro newbie)? 19:05:39 -!- mmc [n=mima@esprx04x.nokia.com] has quit [Remote closed the connection] 19:07:45 gpaci [n=gpaci@gpaci-02.dsllan.toad.net] has joined #scheme 19:09:25 http://www.xs4all.nl/~hipster/lib/scheme/gauche/define-syntax-primer.txt ? 19:10:01 -!- kanak [n=kanak@dhcp-18-111-34-188.dyn.mit.edu] has quit [] 19:10:50 -!- mario-goulart [n=user@67.205.85.241] has quit [Remote closed the connection] 19:11:18 mario-goulart [n=user@67.205.85.241] has joined #scheme 19:11:30 gnomon: You hadn't seen that before? 19:11:53 foof, I've seen the article before, but I don't know if it was along the lines of what kanak was seeking. 19:11:55 oh, nm 19:12:12 read that out of context of kanak's question 19:15:44 -!- CaptainMorgan [n=CaptainM@c-24-62-183-102.hsd1.ma.comcast.net] has quit [Remote closed the connection] 19:17:52 kanak [n=kanak@dhcp-18-111-16-191.dyn.mit.edu] has joined #scheme 19:18:10 Summermute [n=scott@c-76-114-212-247.hsd1.dc.comcast.net] has joined #scheme 19:19:01 -!- kanak [n=kanak@dhcp-18-111-16-191.dyn.mit.edu] has quit [Client Quit] 19:20:02 -!- Summermute [n=scott@c-76-114-212-247.hsd1.dc.comcast.net] has quit [Client Quit] 19:20:28 kanak [n=kanak@dhcp-18-111-16-191.dyn.mit.edu] has joined #scheme 19:20:38 -!- kanak [n=kanak@dhcp-18-111-16-191.dyn.mit.edu] has quit [Client Quit] 19:21:02 Summermute [n=scott@76.114.212.247] has joined #scheme 19:29:20 Summermute66 [n=scott@c-76-114-212-247.hsd1.dc.comcast.net] has joined #scheme 19:32:39 -!- Summermute [n=scott@76.114.212.247] has quit [Read error: 145 (Connection timed out)] 19:39:36 Any typed-scheme users on the list? 19:40:42 -!- jao [n=jao@129.Red-79-144-21.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 19:41:56 Just wondering if there were any plans to get PLT's (for style generators/comprehensions to work with typed-scheme. For that matter, a typed-scheme friendly version of of SRFI-42 would probably do just as well. 19:43:39 jao [n=jao@129.Red-79-144-21.dynamicIP.rima-tde.net] has joined #scheme 19:50:02 on what list? you mean in this irc channel? 19:54:22 I think he meant on-vector. 19:57:40 Whoops, did i mistakenly stumble onto the WizardsWaverlyPlace channel :-) 19:58:12 -!- mngbd [n=pkt@081-003-214-196.yesss.at] has quit ["no reason"] 19:59:44 arcfide [i=arcfide@adsl-99-31-15-184.dsl.bltnin.sbcglobal.net] has joined #scheme 20:00:09 Boy, #scheme sure is quiet today. Did all the kids actually do their homework over the weekend ;-) 20:00:24 I haven't seen a homework question in a while, actually. I kind of miss them. 20:00:34 They were easier than standards lawyering. 20:00:53 And probably more productive. 20:01:30 Know what you meant - unlike real life, you knew when you you were all done with a homework assignment. "All done" in real life is almost never pretty and usually tragic. 20:03:10 probably everyone who needs to ask homework question is flunked out of the freshman courses by now 20:04:53 arcfide, I kind of miss them too! 20:06:13 Summermute66: The homework assignments that I have nowadays aren't done either. They're research projects, and they have almost no intermediate deadlines and almost no real sense of when they are done. This makes for some interesting homework! 20:14:19 -!- mario-goulart [n=user@67.205.85.241] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 20:21:56 TauPan [n=taupan@dudelab.org] has joined #scheme 20:22:24 hi... am I the 1000th person to point out today's xkcd html source to you? 20:24:44 "Common Lisp or Netscape Navigator 4.0+ Required"? 20:24:48 hah, I hadn't noticed that 20:24:59