00:06:56 -!- metasyntax [~taylor@184.18.7.169] has quit [Quit:  In our sky there is no limits, and masters we have none; heavy metal is the only one! ] 00:07:41 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 00:12:06 -!- skeptical_p [~rononovsk@bzq-79-179-184-149.red.bezeqint.net] has quit [Ping timeout: 240 seconds] 00:14:09 dnolen [~davidnole@184.152.69.75] has joined #scheme 00:14:09 -!- dnolen [~davidnole@184.152.69.75] has quit [Excess Flood] 00:17:24 dnolen [~davidnole@184.152.69.75] has joined #scheme 00:30:32 -!- pytho [181888ef@gateway/web/freenode/ip.24.24.136.239] has quit [Quit: Page closed] 00:31:58 -!- gravicappa [~gravicapp@ppp91-77-211-47.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 00:36:52 -!- lbc [~quassel@0909ds1-sdb.0.fullrate.dk] has quit [Remote host closed the connection] 00:37:15 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Read error: Operation timed out] 00:40:17 -!- peterhil` [~peterhil@a91-153-112-241.elisa-laajakaista.fi] has quit [Ping timeout: 276 seconds] 00:42:43 -!- dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has quit [Ping timeout: 252 seconds] 00:43:06 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 00:44:31 DT``: Now make the function with an iterator that can be traversed only once. 00:44:33 :-P 00:46:51 cky, instead of length put std::enterprise::cpp2x::r2::e9::iterator::getConstantTimeStoredLengthEx(xs, NULL, NULL, NULL, NULL, NULL) 00:46:58 pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 00:48:36 -!- zmv_ is now known as zmv 00:50:23 DT``: :O 00:50:40 DT``: O_o 01:02:01 grettke [~grettke@cpe-65-30-30-255.wi.res.rr.com] has joined #scheme 01:03:10 think enterprise®. 01:03:23 hahahahahahaha 01:05:10 homie [~levgue@xdsl-78-35-178-150.netcologne.de] has joined #scheme 01:10:32 -!- drdo [~user@91.205.108.93.rev.vodafone.pt] has quit [Remote host closed the connection] 01:12:17 drdo [~user@91.205.108.93.rev.vodafone.pt] has joined #scheme 01:13:09 hiyuh [~hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has joined #scheme 01:14:44 -!- MrFahrenheit [~RageOfTho@users-144-148.vinet.ba] has quit [Ping timeout: 276 seconds] 01:15:11 DT``: This is the wrong channel to talk about enterprise. Try #lisp instead. ;-) ;-) ;-) 01:15:27 lololololol 01:15:57 hey what'd I miss about Enterprise Scheme? 01:16:05 hahahah\ 01:16:59 grettke, enterprise-quality consistent inconsistencies and proprietary ext-wait, just the inconsistencies. 01:18:21 it's not truly enterprise without s-expressions being considered harmful and replaced with an xml schema. 01:18:23 :) 01:18:36 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 260 seconds] 01:19:37 some guys I know took over a enterprise Java system that at the core is an interpreter that executes... you guessed it: XML 01:20:50 m(_)m 01:21:51 ysph [~user@75-143-92-146.dhcp.aubn.al.charter.com] has joined #scheme 01:21:52 cl-xml \o/ 01:22:24 :P 01:23:28 luckily they didn't go with an unproven technology :p 01:24:42 pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 01:26:45 -!- pygospa [~TheRealPy@kiel-5f768947.pool.mediaWays.net] has quit [Disconnected by services] 01:26:55 pygospa [~TheRealPy@kiel-5f77b08b.pool.mediaWays.net] has joined #scheme 01:28:47 -!- grettke [~grettke@cpe-65-30-30-255.wi.res.rr.com] has quit [] 01:31:45 meanfish, like this? http://paste.lisp.org/display/120676 01:31:56 I can feel the synergy already. 01:33:00 -!- RaceCondition [~erik@82.131.19.252.cable.starman.ee] has quit [Quit: RaceCondition] 01:33:47 brb, need to clean up liquid that shot out of my nose. :D 01:34:43 too funny. 01:35:02 xwl [~user@222.130.120.29] has joined #scheme 01:35:29 -!- zmv is now known as ext4 01:36:06 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 240 seconds] 01:37:02 and it's arguably more readable and extensible (don't forget it's the eXtensible Markup Language) than s-expression! 01:37:15 -!- ext4 is now known as zmv 01:39:38 ok, I confess. I had to check that xscheme.com was a joke. 01:43:24 I did, too. I was quite relieved when it did not exist. 01:43:47 google "x#", then. 01:46:28 <@blot> YO dawg, I heard you like , so we put some  in your (x.xx)(x.xx) so you can (x.xx)(x.xx) while you . 01:46:31 lol 01:47:45 yo dawg, I heard you like , so we put a  in your (()( )) so you can ((()( ))(()( ))) while yo-stack overflow. 01:48:57 hahahahaha 01:49:17 -!- xwl [~user@222.130.120.29] has quit [Remote host closed the connection] 01:49:51 +1 01:59:58 -!- tupi [~david@189.60.162.71] has quit [Quit: Leaving] 02:06:22 ijp`` [~user@host86-163-252-60.range86-163.btcentralplus.com] has joined #scheme 02:08:11 -!- zmv [~daniel@c934a9f5.virtua.com.br] has quit [Ping timeout: 250 seconds] 02:09:11 -!- ijp` [~user@host109-154-194-213.range109-154.btcentralplus.com] has quit [Ping timeout: 255 seconds] 02:13:13 -!- pantsd [~hkarau@nat/uwaterloo/x-tyyfgqmyjcidesea] has quit [Read error: Operation timed out] 02:13:18 pantsd [~hkarau@nat/uwaterloo/x-nbaehsipbsqpocpe] has joined #scheme 02:14:50 -!- arbscht [~arbscht@unaffiliated/arbscht] has quit [Ping timeout: 252 seconds] 02:15:56 -!- blueadept [~blueadept@unaffiliated/blueadept] has quit [Ping timeout: 252 seconds] 02:18:46 blueadept [~blueadept@unaffiliated/blueadept] has joined #scheme 02:22:20 arbscht [~arbscht@unaffiliated/arbscht] has joined #scheme 02:53:51 -!- masm [~masm@bl15-133-149.dsl.telepac.pt] has quit [Quit: Leaving.] 02:54:57 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 246 seconds] 02:55:21 copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has joined #scheme 02:55:22 -!- copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has quit [Changing host] 02:55:22 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 02:59:48 -!- tauntaun [~icarus@64.134.66.60] has quit [Quit: Ex-Chat] 03:04:42 jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has joined #scheme 03:05:04 *jcowan* unvanishes. 03:06:06 *cky* gasps in horror. 03:06:44 -!- ysph [~user@75-143-92-146.dhcp.aubn.al.charter.com] has quit [Read error: Connection reset by peer] 03:08:12 ysph [~user@75-143-92-146.dhcp.aubn.al.charter.com] has joined #scheme 03:11:14 cky: I know. 03:18:32 okay, so... i made an infix calculator that also parses equations to testfor correct syntax. 03:18:37 what should i do next? :/ 03:18:41 i'm stuck for ideas 03:19:43 Implement OpenPGP. In pure Scheme. 03:19:50 That will keep you busy for a looooong time. 03:20:11 http://www.rfc-editor.org/rfc/rfc4880.txt 03:20:59 seems like a big leap 03:21:06 Yep. :-P 03:22:03 I want to do it. However, security being only as strong as the weakest link, deciding how to make it all resistant to timing attacks is going to be _very_ interesting. 03:28:32 -!- ijp`` [~user@host86-163-252-60.range86-163.btcentralplus.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 03:46:20 -!- Riastradh [debian-tor@fsf/member/riastradh] has quit [Ping timeout: 246 seconds] 04:04:52 jcowan_ [~John@cpe-74-68-112-189.nyc.res.rr.com] has joined #scheme 04:08:10 -!- jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has quit [Ping timeout: 264 seconds] 04:13:01 -!- jcowan_ is now known as jcowan 04:18:39 aidalgol [aidan@2002:453d:f72::1337:3] has joined #scheme 04:19:16 -!- aidalgol [aidan@2002:453d:f72::1337:3] has quit [Client Quit] 04:19:29 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 04:20:23 aidalgol [aidan@2002:453d:f72::1337:3] has joined #scheme 04:44:08 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 04:48:38 -!- blueadept [~blueadept@unaffiliated/blueadept] has quit [Quit: Leaving] 05:06:59 blueadept [~blueadept@unaffiliated/blueadept] has joined #scheme 05:18:55 xwl [~user@222.130.120.29] has joined #scheme 05:19:40 adu [~ajr@softbank220043139062.bbtec.net] has joined #scheme 05:22:02 -!- blueadept [~blueadept@unaffiliated/blueadept] has quit [Quit: Leaving] 05:30:10 -!- adu [~ajr@softbank220043139062.bbtec.net] has quit [Quit: adu] 05:36:50 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 05:38:37 nixness [~dsc@dyn-86-36-42-164.wv.qatar.cmu.edu] has joined #scheme 05:49:09 -!- nixness [~dsc@dyn-86-36-42-164.wv.qatar.cmu.edu] has quit [Quit: Leaving] 06:05:12 I introduced scheme (sisc) into my workplace which I think qualified as an enterprise. 06:05:37 (just some FYI blurb on scheme and enterprise) 06:07:13 \o/ 06:07:25 (Sadly, I get the impression that SISC is orphaned.) 06:07:43 I mean, the last release was 4 years ago. 06:11:23 I introduced it in ... 2006, 2007? Hit some bugs that were reported and fixed, and since then had no problem. 06:12:15 Multiple years between releases of Schemes is not uncommon, actually. 06:15:40 -!- xwl [~user@222.130.120.29] has quit [Ping timeout: 264 seconds] 06:15:59 Now *that's* enterprisey. 06:17:36 they only release when it's production-ready and start with the maintaining cycle synergyzing your team. 06:17:39 or something like that. 06:19:24 Anyway, since some people are awake, anyone who can answer my previous IterateeIO's questions? 06:21:59 I would if I knew what an IterateeIO is. 06:22:06 sounds like Haskell though. 06:23:35 It is. I was wondering if anyone knows Oleg's reason for doing it like that since I don't follow comp.lang.scheme nor have contact with him. 06:26:46 What was your question? 06:27:47 Would he think that IterateeIO be appropriate for Scheme? 06:28:03 What is IterateeIO, and what does `appropriate' mean? 06:31:00 IterateeIO is his Haskell IO library. It allows layered IO approach, treating stream as a collection and doing traversing with enumerator, all of which he had written about. 06:33:20 Appropriate as in, he previously had written that he though a generative function is a good approach for traversing collection in Scheme. That was in 2004. Then recently he released his IterateeIO which didn't take this approach. Sure, Haskell does not have call/cc which was required for the generative approach, but did he think that the approach he took in IterateeIO, using Monad to save partial computation, is appropriate in Scheme? 06:33:39 nilg [~user@77.70.2.229] has joined #scheme 06:34:05 Appropriate as in 'better' than generative function. I don't know how to define better other than to say 'more appropriate' 06:35:46 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 240 seconds] 06:35:59 copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has joined #scheme 06:35:59 -!- copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has quit [Changing host] 06:35:59 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 06:45:54 bharath_g [~bharath10@117.211.88.150] has joined #scheme 06:52:15 -!- copumpkin is now known as hipsterpumpkin 06:52:47 That was not a fair question, was it? It can be answered only by Oleg himself, I think. 06:52:57 So, I think a more fair question is, knowing IterateeIO and the generative function, how would you approach layered IO in Scheme? 06:53:21 Sorry, I'm writing a long email and am consequently not presently interactive. Can you point to a brief description of IterateeIO? 06:54:02 adu [~ajr@softbank220043139062.bbtec.net] has joined #scheme 06:54:08 http://okmij.org/ftp/Streams.html#design 07:16:52 -!- Senjai [~Senjai@unaffiliated/senjai] has quit [Quit: Lost terminal] 07:32:25 -!- jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has quit [Quit: Leaving] 07:36:52 skeptical_p [~rononovsk@bzq-79-179-184-149.red.bezeqint.net] has joined #scheme 07:38:10 peterhil` [~peterhil@a91-153-112-241.elisa-laajakaista.fi] has joined #scheme 07:42:30 _danb_ [~user@124-168-189-41.dyn.iinet.net.au] has joined #scheme 08:04:12 ewanas [~dsc@dyn-86-36-42-164.wv.qatar.cmu.edu] has joined #scheme 08:09:42 -!- adu [~ajr@softbank220043139062.bbtec.net] has quit [Quit: adu] 08:13:37 -!- ewanas [~dsc@dyn-86-36-42-164.wv.qatar.cmu.edu] has quit [Quit: Leaving] 08:17:51 foocraft [~dsc@dyn-86-36-42-164.wv.qatar.cmu.edu] has joined #scheme 08:37:58 gravicappa [~gravicapp@ppp91-77-211-47.pppoe.mtu-net.ru] has joined #scheme 08:40:07 -!- hiyuh [~hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has quit [Quit: Leaving.] 08:55:28 -!- foocraft [~dsc@dyn-86-36-42-164.wv.qatar.cmu.edu] has quit [Remote host closed the connection] 08:55:56 foocraft [~dsc@dyn-86-36-42-164.wv.qatar.cmu.edu] has joined #scheme 09:09:00 -!- bharath_g [~bharath10@117.211.88.150] has quit [Remote host closed the connection] 09:16:48 -!- paulh [~paulh@3-12-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 09:17:20 HG` [~HG@dslb-188-109-198-138.pools.arcor-ip.net] has joined #scheme 09:20:45 pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 09:24:48 pdponze [~pdponze@144.85.121.191] has joined #scheme 09:25:08 -!- pdponze [~pdponze@144.85.121.191] has quit [Remote host closed the connection] 09:25:41 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 260 seconds] 09:47:32 pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 09:57:58 hiyuh [~hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has joined #scheme 10:07:45 RaceCondition [~erik@82.131.19.252.cable.starman.ee] has joined #scheme 10:12:43 -!- tr3x [~tr3x@78-1-163-90.adsl.net.t-com.hr] has quit [Read error: Connection reset by peer] 10:17:48 adu [~ajr@softbank220043139062.bbtec.net] has joined #scheme 10:18:54 femtoo [~femto@95-89-249-242-dynip.superkabel.de] has joined #scheme 10:28:02 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 10:28:36 pchrist [~spirit@gentoo/developer/pchrist] has joined #scheme 10:28:52 -!- foocraft [~dsc@dyn-86-36-42-164.wv.qatar.cmu.edu] has quit [Quit: Leaving] 10:36:17 -!- LN^off is now known as LN^^ 10:39:09 -!- kanru [~kanru@kanru-1-pt.tunnel.tserv15.lax1.ipv6.he.net] has quit [Read error: Operation timed out] 10:41:12 kanru [~kanru@kanru-1-pt.tunnel.tserv15.lax1.ipv6.he.net] has joined #scheme 10:52:32 -!- gravicappa [~gravicapp@ppp91-77-211-47.pppoe.mtu-net.ru] has quit [Ping timeout: 255 seconds] 11:00:58 gravicappa [~gravicapp@ppp91-77-219-236.pppoe.mtu-net.ru] has joined #scheme 11:05:06 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Ping timeout: 240 seconds] 11:07:02 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 246 seconds] 11:08:50 homie` [~levgue@xdsl-78-35-163-194.netcologne.de] has joined #scheme 11:10:53 -!- homie [~levgue@xdsl-78-35-178-150.netcologne.de] has quit [Ping timeout: 246 seconds] 11:11:51 -!- adu [~ajr@softbank220043139062.bbtec.net] has quit [Quit: adu] 11:13:41 tr3x [~tr3x@78-1-163-90.adsl.net.t-com.hr] has joined #scheme 11:16:38 MrFahrenheit [~RageOfTho@users-144-148.vinet.ba] has joined #scheme 11:19:19 pdelgallego [~pdelgalle@1385159931.dhcp.dbnet.dk] has joined #scheme 11:23:43 djcb [~user@a88-114-89-247.elisa-laajakaista.fi] has joined #scheme 11:24:24 i'd like to calculate the date of a certain date + number of days 11:24:37 there seems to be no direct support in SRFI-19 11:30:06 -!- kanru [~kanru@kanru-1-pt.tunnel.tserv15.lax1.ipv6.he.net] has quit [Read error: Operation timed out] 11:31:26 kanru [~kanru@kanru-1-pt.tunnel.tserv15.lax1.ipv6.he.net] has joined #scheme 11:31:54 masm [~masm@bl15-133-149.dsl.telepac.pt] has joined #scheme 11:34:41 -!- Riastradh [debian-tor@fsf/member/riastradh] has quit [Remote host closed the connection] 11:36:39 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 11:44:33 -!- masm [~masm@bl15-133-149.dsl.telepac.pt] has quit [Ping timeout: 252 seconds] 11:45:04 djcb: in CL it's trivial, while the dates are >=1900/01/01... 11:47:35 yeah, i found that i can do it in scheme through conversion to julian-day 11:49:32 If course, if you want to know the date of 200 days after the 23 of Nisan of the 4th year of Numa Pompilus' rein in Shabra... 11:50:06 reign 11:54:22 -!- arbscht [~arbscht@unaffiliated/arbscht] has quit [Ping timeout: 240 seconds] 11:54:31 martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 12:01:45 arbscht [~arbscht@unaffiliated/arbscht] has joined #scheme 12:04:12 -!- tr3x [~tr3x@78-1-163-90.adsl.net.t-com.hr] has quit [Ping timeout: 276 seconds] 12:07:41 tr3x [~tr3x@93-138-210-113.adsl.net.t-com.hr] has joined #scheme 12:16:23 yamanu [~yamanu@89.142.205.82] has joined #scheme 12:23:36 TheCommieDuck [TheCommieD@unaffiliated/thecommieduck] has joined #scheme 12:23:43 Hey 12:24:11 I just dl'd MIT scheme to go with SICP, however there is 'no default readable option for --band'. 12:25:40 Any ideas? 12:36:29 -!- yamanu [~yamanu@89.142.205.82] has quit [Ping timeout: 255 seconds] 12:39:26 femtoo [~femto@95-89-249-242-dynip.superkabel.de] has joined #scheme 12:39:31 zmv [~daniel@c934a9f5.virtua.com.br] has joined #scheme 12:41:46 -!- TheCommieDuck [TheCommieD@unaffiliated/thecommieduck] has left #scheme 13:04:52 http://community.schemewiki.org/?sicp-ex-3.19 13:04:53 why is (iter (safe-cdr lst) (safe-cdr (safe-cdr lst))) better than just (iter lst (safe-cdr lst))? 13:05:31 maybe I'm missing something that an experienced schemer could see easily 13:07:36 tomppa [~tomppa@b27.kiulu.jyu.fi] has joined #scheme 13:12:35 -!- LN^^ is now known as LN^off 13:28:39 -!- homie` [~levgue@xdsl-78-35-163-194.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 13:29:18 seus [~sbero@69.151.67.184] has joined #scheme 13:30:44 anyone able to shed light on what 'multiple expressions after identifier' error is all about? 13:34:37 homie [~levgue@xdsl-78-35-163-194.netcologne.de] has joined #scheme 13:34:50 -!- chxane [~chxane@c-76-124-17-190.hsd1.pa.comcast.net] has quit [Quit: Leaving] 13:44:22 seus: perhaps you had several expressions after an identifier in a place where none were expected? 13:44:43 hmm 13:44:50 lemme paste the function 13:44:59 because i'm obviously not seeing it 13:45:36 Seus pasted "hmm..." at http://paste.lisp.org/display/120692 13:48:53 maybe I'm too much of a scheme newb, but that doesn't look like valid define syntax 13:50:29 tupi [~david@189.60.162.71] has joined #scheme 13:50:30 -!- hiyuh [~hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has quit [Quit: Leaving.] 13:51:00 jeez you know what you're right 13:51:01 my bad 13:51:58 fixed it..completely screwed that up... 13:54:03 -!- pdelgallego [~pdelgalle@1385159931.dhcp.dbnet.dk] has quit [Read error: Operation timed out] 13:54:38 masm [~masm@bl15-133-149.dsl.telepac.pt] has joined #scheme 13:56:05 -!- hipsterpumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 246 seconds] 13:56:30 hipsterpumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has joined #scheme 13:56:48 femtooo [~femto@95-89-249-242-dynip.superkabel.de] has joined #scheme 13:57:23 choas [~lars@p578F6951.dip.t-dialin.net] has joined #scheme 13:59:38 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Ping timeout: 252 seconds] 14:06:23 -!- tomppa [~tomppa@b27.kiulu.jyu.fi] has quit [Quit: Ex-Chat] 14:09:30 BW^- [~Miranda@bl4-167-239.dsl.telepac.pt] has joined #scheme 14:10:34 something that struck me is that really you should be able to do a pretty good type analysis of Scheme code and based on the analysis see what/which type/-s may be at each stage in the evaluation process, and thereby see if they're valid/invalid (don't throw exceptions and don't fail at assertions that the analyser is fed with) 14:10:50 are you aware of any attempts to make such a type analysis/checking machinery? 14:11:28 pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 14:15:03 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 14:15:08 -!- masm [~masm@bl15-133-149.dsl.telepac.pt] has quit [Quit: Leaving.] 14:16:05 anyone? :) 14:16:25 You mean like Stalin does? 14:16:58 Well, I think stalin just assumes your code is safe to certain rules, it doesn't verify them 14:18:33 jewel [~jewel@196-215-117-125.dynamic.isadsl.co.za] has joined #scheme 14:20:05 Or you do mean a static type system? Racket has a typed scheme variant 14:37:05 -!- lusory [~bart@bb121-6-27-74.singnet.com.sg] has quit [Read error: Connection reset by peer] 14:47:40 lusory [~bart@bb121-6-227-103.singnet.com.sg] has joined #scheme 14:57:37 -!- aidalgol [aidan@2002:453d:f72::1337:3] has quit [Read error: Operation timed out] 14:59:08 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Ping timeout: 255 seconds] 14:59:31 -!- seus [~sbero@69.151.67.184] has quit [Quit: seus] 15:03:01 BW^-, there has been lots of work on this. There is a decent bibliography at , although it's a bit dated now. You can find a number of more recent papers at (all with a common author, of course; not a general bibliography). 15:03:06 -!- zmv is now known as ruby19 15:03:24 -!- ruby19 is now known as zmv 15:03:49 -!- zmv is now known as python3 15:03:52 -!- python3 [~daniel@c934a9f5.virtua.com.br] has quit [Disconnected by services] 15:04:48 riastradh: k cool 15:04:59 ristradh: are there any ready-made libraries for this? 15:05:07 digest-my-scheme-file.scm , something like this 15:12:18 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 15:13:29 aidalgol [aidan@69.61.15.114] has joined #scheme 15:29:49 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 252 seconds] 15:39:38 eno [~eno@nslu2-linux/eno] has joined #scheme 15:40:23 dlila [~dlila@CPE0014d1c9243c-CM001bd71cede2.cpe.net.cable.rogers.com] has joined #scheme 15:42:25 tomppa [~tomppa@b27.kiulu.jyu.fi] has joined #scheme 15:47:27 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Read error: Operation timed out] 15:53:34 vu3rdd [~vu3rdd@122.167.103.182] has joined #scheme 15:53:37 -!- vu3rdd [~vu3rdd@122.167.103.182] has quit [Changing host] 15:53:37 vu3rdd [~vu3rdd@fsf/member/vu3rdd] has joined #scheme 16:05:12 seus [~sbero@69.151.67.184] has joined #scheme 16:27:42 -!- _danb_ [~user@124-168-189-41.dyn.iinet.net.au] has quit [Read error: Operation timed out] 16:34:46 ijp [~user@host109-153-22-31.range109-153.btcentralplus.com] has joined #scheme 16:38:34 tauntaun [~icarus@64.134.103.47] has joined #scheme 16:40:05 -!- hipsterpumpkin is now known as copumpkin 16:40:06 -!- copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has quit [Changing host] 16:40:06 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 16:48:04 -!- drdo [~user@91.205.108.93.rev.vodafone.pt] has quit [Remote host closed the connection] 16:52:33 masm [~masm@bl15-133-149.dsl.telepac.pt] has joined #scheme 16:56:51 lbc [~quassel@0909ds1-sdb.0.fullrate.dk] has joined #scheme 16:58:10 -!- lusory [~bart@bb121-6-227-103.singnet.com.sg] has quit [Ping timeout: 252 seconds] 16:59:45 -!- peterhil` [~peterhil@a91-153-112-241.elisa-laajakaista.fi] has quit [Quit: Must not waste too much time here...] 17:00:14 lusory [~bart@bb119-74-212-49.singnet.com.sg] has joined #scheme 17:02:05 -!- pygospa [~TheRealPy@kiel-5f77b08b.pool.mediaWays.net] has quit [Ping timeout: 252 seconds] 17:04:05 pygospa [~TheRealPy@kiel-4d066b99.pool.mediaWays.net] has joined #scheme 17:04:22 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 17:07:36 drdo [~user@91.205.108.93.rev.vodafone.pt] has joined #scheme 17:09:51 f8l [~f8l@87-205-239-131.adsl.inetia.pl] has joined #scheme 17:11:40 peterhil [~peterhil@a91-153-112-241.elisa-laajakaista.fi] has joined #scheme 17:13:13 -!- LN^off is now known as LN^^ 17:15:49 http://community.schemewiki.org/?sicp-ex-3.19 17:15:49 why is (iter (safe-cdr lst) (safe-cdr (safe-cdr lst))) better than just (iter lst (safe-cdr lst))? 17:15:53 maybe I'm missing something that an experienced schemer could see easily 17:16:01 -!- lusory [~bart@bb119-74-212-49.singnet.com.sg] has quit [Ping timeout: 250 seconds] 17:17:11 pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 17:17:15 -!- tauntaun [~icarus@64.134.103.47] has quit [Quit: Ex-Chat] 17:17:43 lusory [~bart@bb119-74-208-20.singnet.com.sg] has joined #scheme 17:19:49 RaceCondition: Because your version won't work. :-) 17:20:06 RaceCondition: In the tortoise and hare algorithm, the tortoise moves one, and the hare moves two, each step. 17:20:25 RaceCondition: Whereas (iter lst (safe-cdr lst)) doesn't move the tortoise at all, and moves the hare one. 17:20:49 That won't work if the cycle does not include the start of the list. 17:21:53 RaceCondition: Try this: (define cyclic (cons 1 (circular-list 2))) 17:22:00 (circular-list is defined in SRFI 1.) 17:22:11 RaceCondition: Your approach will fail to terminate for that list. 17:25:29 RaceCondition: On that page, its example "y" is similar: it's `(1 2 3 ,@(circular-list 4 5 6 7 8)). 17:25:40 -!- masm [~masm@bl15-133-149.dsl.telepac.pt] has quit [Quit: Leaving.] 17:26:01 RaceCondition: Try your algorithm with both. You'll see that your "tortoise stays still" approach will mean that your function won't terminate. 17:35:08 -!- ada2358 [~ada2358@login.ccs.neu.edu] has quit [Ping timeout: 246 seconds] 17:35:19 adu [~ajr@softbank220043139062.bbtec.net] has joined #scheme 17:39:46 -!- BW^- [~Miranda@bl4-167-239.dsl.telepac.pt] has quit [Ping timeout: 260 seconds] 17:40:58 cky pasted "Continuation-based version of tortoise-and-hare" at http://paste.lisp.org/display/120697 17:41:11 RaceCondition: ^^--- this version might be easier to read. 17:42:02 -!- peterhil [~peterhil@a91-153-112-241.elisa-laajakaista.fi] has quit [Quit: Must not waste too much time here...] 17:44:16 -!- femtooo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 17:44:44 -!- jewel [~jewel@196-215-117-125.dynamic.isadsl.co.za] has quit [Ping timeout: 255 seconds] 17:50:58 -!- MrFahrenheit [~RageOfTho@users-144-148.vinet.ba] has quit [Quit: Leaving] 17:56:00 jewel [~jewel@196-210-187-25.dynamic.isadsl.co.za] has joined #scheme 17:57:08 Thomas_H [~Thomas_H@d207-6-75-254.bchsia.telus.net] has joined #scheme 18:25:08 -!- f8l [~f8l@87-205-239-131.adsl.inetia.pl] has quit [Quit: WeeChat 0.3.4] 18:31:37 MrFahrenheit [~RageOfTho@users-144-148.vinet.ba] has joined #scheme 18:43:00 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 18:51:54 blueadept [~blueadept@unaffiliated/blueadept] has joined #scheme 18:52:51 -!- Thomas_H [~Thomas_H@d207-6-75-254.bchsia.telus.net] has quit [Read error: Connection reset by peer] 18:54:50 codetonowhere [~Adium@78-105-3-181.zone3.bethere.co.uk] has joined #scheme 19:00:18 -!- codetonowhere [~Adium@78-105-3-181.zone3.bethere.co.uk] has left #scheme 19:08:56 yamanu [~yamanu@89.142.205.82] has joined #scheme 19:09:51 -!- seus [~sbero@69.151.67.184] has quit [Quit: seus] 19:11:04 masm [~masm@bl15-133-149.dsl.telepac.pt] has joined #scheme 19:11:32 marcob [~mbenelli@host54-5-dynamic.0-79-r.retail.telecomitalia.it] has joined #scheme 19:12:45 -!- marcob [~mbenelli@host54-5-dynamic.0-79-r.retail.telecomitalia.it] has quit [Quit: marcob] 19:22:21 seus [~sbero@69.151.67.184] has joined #scheme 19:22:25 mns [~mns@c-71-232-124-13.hsd1.ma.comcast.net] has joined #scheme 19:22:50 How would I display a sorted list of environment variables in scheme ? 19:23:40 wait .. let me reword that: HOw do I display the environment variables in a sorted manner? 19:26:43 (list-sort (lambda (x y) (string I'm using scm as my scheme. 19:31:16 -!- DrDuck [~duck@216.186.151.63] has quit [Read error: Connection reset by peer] 19:31:50 You can use (getenv) instead of get-environment-variables, and I'm sure it has a sort procedure 19:33:45 yup it has sort so replace the list-sort with sort and use getenv instead. 19:35:45 hmmm that didn't work. 19:36:56 -!- seus [~sbero@69.151.67.184] has quit [Quit: seus] 19:37:13 mns: According to the documentation for Slib, the list comes first 19:37:43 Kleif [~Kleif@21.Red-81-36-10.dynamicIP.rima-tde.net] has joined #scheme 19:37:52 femtoo [~femto@95-89-249-242-dynip.superkabel.de] has joined #scheme 19:38:10 yup .. so I did (sort (getenv) (lambda ... ) ) 19:39:22 tauntaun [~icarus@64.134.102.125] has joined #scheme 19:56:14 -!- nilg [~user@77.70.2.229] has quit [Remote host closed the connection] 19:56:33 DrDuck [~duck@216.186.151.63] has joined #scheme 20:02:53 -!- tauntaun [~icarus@64.134.102.125] has quit [Ping timeout: 255 seconds] 20:08:59 -!- ebzzry [~aoeu@203.213.202.186] has quit [Ping timeout: 248 seconds] 20:09:34 ebzzry [~aoeu@203.213.202.186] has joined #scheme 20:12:20 -!- jewel [~jewel@196-210-187-25.dynamic.isadsl.co.za] has quit [Ping timeout: 255 seconds] 20:13:08 nilg [~user@77.70.2.229] has joined #scheme 20:13:29 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 20:13:56 femtoo [~femto@95-89-249-242-dynip.superkabel.de] has joined #scheme 20:27:11 -!- lbc [~quassel@0909ds1-sdb.0.fullrate.dk] has quit [Ping timeout: 260 seconds] 20:30:10 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 246 seconds] 20:35:36 -!- myu2 [~myu2@s199057.dynamic.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 20:36:08 -!- nilg [~user@77.70.2.229] has quit [Remote host closed the connection] 20:36:12 -!- adu [~ajr@softbank220043139062.bbtec.net] has quit [Quit: adu] 20:40:07 rdd [~user@c83-250-51-60.bredband.comhem.se] has joined #scheme 20:40:31 seus [~sbero@69.151.67.184] has joined #scheme 20:40:35 -!- seus [~sbero@69.151.67.184] has quit [Client Quit] 20:45:45 dnolen [~davidnole@184.152.69.75] has joined #scheme 20:45:46 -!- dnolen [~davidnole@184.152.69.75] has quit [Excess Flood] 20:48:11 dnolen [~davidnole@184.152.69.75] has joined #scheme 20:58:41 tauntaun [~icarus@ool-457c37c3.dyn.optonline.net] has joined #scheme 21:03:41 -!- Kleif [~Kleif@21.Red-81-36-10.dynamicIP.rima-tde.net] has quit [Quit: Kleif] 21:07:29 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Ping timeout: 276 seconds] 21:10:44 -!- Riastradh [debian-tor@fsf/member/riastradh] has quit [Ping timeout: 246 seconds] 21:12:38 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Ping timeout: 255 seconds] 21:13:45 femtoo [~femto@95-89-249-242-dynip.superkabel.de] has joined #scheme 21:13:53 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 21:18:05 pothos_ [~pothos@111-240-170-131.dynamic.hinet.net] has joined #scheme 21:19:26 -!- pothos [~pothos@111-240-164-94.dynamic.hinet.net] has quit [Ping timeout: 240 seconds] 21:19:38 -!- pothos_ is now known as pothos 21:22:32 -!- tr3x [~tr3x@93-138-210-113.adsl.net.t-com.hr] has quit [Ping timeout: 255 seconds] 21:25:26 tr3x [~tr3x@93-138-210-113.adsl.net.t-com.hr] has joined #scheme 21:44:31 -!- tomppa [~tomppa@b27.kiulu.jyu.fi] has quit [Quit: Ex-Chat] 21:46:02 -!- HG` [~HG@dslb-188-109-198-138.pools.arcor-ip.net] has quit [Quit: Leaving.] 21:46:30 alaricsp [~alaric@relief.warhead.org.uk] has joined #scheme 21:53:55 -!- choas [~lars@p578F6951.dip.t-dialin.net] has quit [Quit: leaving] 22:09:04 pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 22:09:58 cky: still here? sorry, didn't see your replies before 22:10:39 cky: I meant the LAST line of the contains-cycle? function, the one that initiates the loop, NOT the last line of the inner iter function 22:11:12 I understand the concept of the tortoise-and-hare algorithm, which is why I started wondering about this in the first place 22:11:51 I changed the last line to (iter lst (safe-cdr lst)) and did a few tests and it seemed to work just as well as I expected 22:14:04 femtooo [~femto@95-89-249-242-dynip.superkabel.de] has joined #scheme 22:17:03 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Ping timeout: 252 seconds] 22:17:25 in the example you pasted, it's a bit different as you only have a single place where this logic is defined, whereas in the SICP solution code, the same logic is duplicated in 'iter' and the initiating call to 'iter' 22:19:08 oh, wait, I'm talking crap  it's also defined in 2 places in your example 22:34:24 -!- femtooo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 22:39:43 jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has joined #scheme 22:40:56 -!- ysph [~user@75-143-92-146.dhcp.aubn.al.charter.com] has quit [Ping timeout: 250 seconds] 22:42:13 coi 22:42:18 Nisstyre [~nisstyre@infocalypse-net.info] has joined #scheme 22:42:37 -!- copumpkin is now known as contrapumpkin 22:43:59 how am I supposed to import the circular-list function from SRFI-1? 22:44:07 -!- pygospa [~TheRealPy@kiel-4d066b99.pool.mediaWays.net] has quit [Disconnected by services] 22:44:09 TheRealPygo [~TheRealPy@kiel-5f7694e2.pool.mediaWays.net] has joined #scheme 22:44:11 What Scheme are you using? 22:44:18 I tried (require-extension (srfi 1)) but no luck 22:44:22 Racket 22:44:49 I don't know which #lang I have to use with it to get a specific feature 22:45:01 (require srfi/1) 22:45:27 tried that already 22:45:28 reference to an identifier before its definition: require 22:46:48 If you set #lang racket that should go away. 22:46:56 how do I set that from the REPL? 22:47:12 I've been trying to figure that out for a long time, but I only seem to be able to define that in source files 22:49:52 Are you in the CLI REPL, or in DrRacket? 22:50:25 CLI I guess, definitely not DrRacket. I'm using racket through Emacs 22:50:38 more specifically using the geiser Emacs module 22:51:41 I have no clue, then. "require" works in the CLI. 22:51:45 what confuses me is that, if I enter a source file that specifies #lang planet neil/sicp, does it set the REPL in that mode as well even after I leave that module? 22:52:01 and how do I do the equivalent of #lang planet neil/sicp from the REPL 22:52:09 the equivalent of #lang something, I mean 22:52:15 RaceCondition, 22:52:20 (#%require srfi/1) 22:52:30 -!- contrapumpkin is now known as copumpkin 22:52:36 oh, wow, that worked.. I thought I tried that one before already 22:54:17 I'd actually love to make this all more clear to me, like all this RNRS, racket, scheme, (require), (#%require), (import) whatnot 22:54:25 so I wouldn't have to come here like an idiot 22:55:07 #%require, #%provide and stuff are Racket-specific things. 22:56:13 I guess I should stop using #lang planet neil/sicp and just use the stuff that's available in the more standard racket/r5rs/r6rs 22:59:15 if you're going through sicp, neil/sicp is a re-export of r5rs with sicp streams and some minor changes. 22:59:51 if you're going to use racket ``every day'', then switch to #lang racket/base (and (require) what you need, it's the Best Practices®). 23:00:12  23:00:29 ™ 23:01:19 what's the difference between #lang racket/base and #lang racket? 23:01:51 racket/base is much smaller 23:02:04 racket is a whole group of libraries on top of racket/base 23:02:30 the reason I stopped using #lang racket is that I couldn't get set-car! to work nor to import set-mcar! 23:04:02 hmm, (require racket/mpair) I think 23:07:32 oh, it's right there with #lang racket 23:10:04 anyway, thanks everybody 23:10:56 mejja [~user@c-0fbfe555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 23:13:24 -!- borism [~boris@ec2-79-125-58-77.eu-west-1.compute.amazonaws.com] has quit [Read error: Operation timed out] 23:13:54 -!- rmrfchik_ [~rmrfchik@linuxhacker.ru] has quit [Read error: Operation timed out] 23:13:59 rmrfchik [~rmrfchik@linuxhacker.ru] has joined #scheme 23:14:37 lbc [~quassel@0909ds1-sdb.0.fullrate.dk] has joined #scheme 23:19:01 borism [~boris@ec2-79-125-58-77.eu-west-1.compute.amazonaws.com] has joined #scheme 23:29:20 Kleif [~Kleif@21.Red-81-36-10.dynamicIP.rima-tde.net] has joined #scheme 23:33:55 -!- skeptical_p [~rononovsk@bzq-79-179-184-149.red.bezeqint.net] has quit [Ping timeout: 246 seconds] 23:34:29 Did you guys ever see this? 23:34:30 http://tinyurl.com/4g4a2x8 23:34:34 "Static Typing Where Possible, Dynamic Typing When Needed" 23:34:58 it seems like static typing is a heuristic solution to the halting problem. 23:36:42 I think so 23:37:04 Adamant: interesting; i never thought of it that way before. 23:37:10 yeah 23:37:16 it is an interesting idea 23:37:27 I can more or less agree with it 23:40:18 -!- mejja [~user@c-0fbfe555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.15/20110303024726]] 23:40:26 actually I'm wrong, I haven't seen this particular one before 23:40:41 but the general idea has been floating around for a bit 23:43:35 christopher [~christoph@c-98-201-58-105.hsd1.tx.comcast.net] has joined #scheme 23:43:38 -!- christopher [~christoph@c-98-201-58-105.hsd1.tx.comcast.net] has quit [Remote host closed the connection] 23:43:55 christopher [~christoph@c-98-201-58-105.hsd1.tx.comcast.net] has joined #scheme 23:45:10 What's the most common naming convention for modules (in systems where module names and variable names are in the same namespace)? 23:45:16 Angle brackets? 23:45:47 foo vs. vs. ? 23:47:38 chrissbx: i've always seen them as unadorned identifiers. 23:48:56 Problem with this is that they easily lead to name conflicts. 23:49:00 teurastaja [~Samuel@modemcable182.177-200-24.mc.videotron.ca] has joined #scheme 23:49:32 anyone here is involved in r7rs? 23:49:33 Say, the foo library introduces a type foo, and the constructor function for that type is named foo. 23:50:04 when is the next resume comming? this year? 23:50:13 klutometis: so I guess the systems in which you've seen them unadorned were systems where module names and variable names are not actually in the same namespace? 23:51:36 ie. you could say something like (use foo) (define x (foo 123))