00:04:02 -!- ckrailo [~ckrailo@208.86.167.249] has quit [Quit: Computer has gone to sleep.] 00:08:56 this is because i was asking about define-syntax 00:12:32 have you defined `new-primitive' ? 00:15:37 http://paste.pocoo.org/show/414057 00:15:45 line 195 00:18:31 -!- pygospa [~TheRealPy@kiel-4dbec790.pool.mediaWays.net] has quit [Disconnected by services] 00:18:43 pygospa [~TheRealPy@kiel-5f77bf87.pool.mediaWays.net] has joined #scheme 00:20:59 rather than introducing new identifiers, shouldn't you be using call-prim (or something like that)? 00:21:34 aalix [~aalix@75.85.176.185] has joined #scheme 00:22:40 ijp: yes, it is possible. but new identifiers looks more nice, i think (they very system-depend), this is crossplatform implementation 00:24:20 and also call-prim doenst work :( 00:28:39 It expects a string so, (call-prim "kol-debug_write"), not sure how you'd give it an argument though 00:29:23 In any case, it's late. Good luck in trying to get your program to work 00:29:31 -!- ijp [~user@host109-153-23-149.range109-153.btcentralplus.com] has quit [Quit: good night] 00:30:24 thx 00:50:28 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 00:52:10 -!- Kajtek [~paniwladc@nat4-230.ghnet.pl] has quit [Quit: Leaving.] 00:55:37 gienah [~mwright@ppp121-44-237-46.lns20.syd7.internode.on.net] has joined #scheme 01:03:27 -!- ec|detached is now known as elliottcable 01:08:42 -!- aalix [~aalix@75.85.176.185] has quit [Quit: Computer has gone to sleep.] 01:13:04 -!- jonrafkind [~jon@134.250.242.31] has quit [Ping timeout: 252 seconds] 01:14:32 rgee [~rgrinberg@66.49.231.1] has joined #scheme 01:17:28 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 01:23:01 ckrailo [~ckrailo@pool-173-57-102-171.dllstx.fios.verizon.net] has joined #scheme 01:34:48 chemuduguntar [~ravi@118-92-140-173.dsl.dyn.ihug.co.nz] has joined #scheme 01:39:02 hush2 [~IRC@112.206.71.232] has joined #scheme 01:46:42 -!- samth_ [~samth@c-24-128-51-63.hsd1.ma.comcast.net] has quit [Ping timeout: 255 seconds] 01:50:31 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 01:51:43 aidalgol [~user@114-134-7-23.rurallink.co.nz] has joined #scheme 02:31:50 realitygrill [~realitygr@adsl-76-226-114-68.dsl.sfldmi.sbcglobal.net] has joined #scheme 02:36:10 copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has joined #scheme 02:36:10 -!- copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has quit [Changing host] 02:36:10 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 02:40:57 -!- bugQ [~bug@c-71-195-206-245.hsd1.ut.comcast.net] has quit [Ping timeout: 264 seconds] 02:53:02 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Quit: Leaving] 03:02:55 littlebobby [~bob@unaffiliated/littlebobby] has joined #scheme 03:06:15 -!- ckrailo [~ckrailo@pool-173-57-102-171.dllstx.fios.verizon.net] has quit [Quit: Computer has gone to sleep.] 03:10:31 aalix [~aalix@75.85.176.185] has joined #scheme 03:10:49 -!- fbass [~zac@75-173-91-146.albq.qwest.net] has quit [Quit: leaving] 03:11:50 adu [~ajr@pool-173-66-6-81.washdc.fios.verizon.net] has joined #scheme 03:15:20 Glerf. LIAR is impenetrable. 03:16:08 what's liar? 03:16:22 LIAR Imitates APPLY Recursively. 03:16:38 It's MIT Scheme's compiler. 03:17:04 oh 03:20:24 I believe that a bug in causes a problem in the BYPASS-CLOSURE-REFERENCE? case of LOAD-CLOSURE-ENVIRONMENT in . But I don't know what the bug is. 03:20:25 http://tinyurl.com/5vh3wqc 03:20:26 http://tinyurl.com/6dh8peb 03:21:26 Can you spot the bug? 03:21:32 -!- REPLeffect [~REPLeffec@69.54.115.254] has quit [Ping timeout: 252 seconds] 03:25:36 Actually, it's not just the BYPASS-CLOSURE-REFERENCE? case; the problem persists if that case (which is only an optimization, I believe) is omitted. 03:26:21 Riastradh: wow, that is completely inscrutable 03:28:40 It's not my fault! 03:29:44 -!- aalix [~aalix@75.85.176.185] has quit [Quit: Textual IRC Client: http://www.textualapp.com/] 03:37:43 -!- realitygrill [~realitygr@adsl-76-226-114-68.dsl.sfldmi.sbcglobal.net] has quit [Quit: realitygrill] 03:38:05 Are there any scheme implementations that use images? (ie. save-lisp-and-die) 03:39:04 realitygrill [~realitygr@adsl-76-226-114-68.dsl.sfldmi.sbcglobal.net] has joined #scheme 03:39:13 Yes, although I don't know any with the `and-die' part. 03:40:37 I see :) 03:43:16 I mean, you could simulate it if you liked by exiting after saving an image... 03:43:47 haha 03:44:47 That said, saving images isn't really very useful in practice. 03:45:37 was just wondering how common it is I suppose, because you see it pretty often in CL 03:45:57 and for the purposes of deployment it seems to work pretty well in my experience 03:46:04 limited experience* 03:52:12 bugQ [~bug@c-71-195-206-245.hsd1.ut.comcast.net] has joined #scheme 03:56:44 -!- bugQ [~bug@c-71-195-206-245.hsd1.ut.comcast.net] has quit [Ping timeout: 252 seconds] 03:58:40 bugQ [~bug@c-71-195-206-245.hsd1.ut.comcast.net] has joined #scheme 04:00:42 hey, no bugs in this channel! >:| 04:02:52 -!- bugQ [~bug@c-71-195-206-245.hsd1.ut.comcast.net] has quit [Ping timeout: 240 seconds] 04:18:05 dnolen [~davidnole@184.152.69.75] has joined #scheme 04:20:57 -!- dnolen [~davidnole@184.152.69.75] has quit [Client Quit] 04:29:59 Argh. 04:35:34 tshauck [~tshauck@51.16.124.24.cm.sunflower.com] has joined #scheme 04:38:20 homie` [~levgue@xdsl-78-35-150-125.netcologne.de] has joined #scheme 04:40:15 -!- homie [~levgue@xdsl-87-79-193-36.netcologne.de] has quit [Ping timeout: 260 seconds] 04:55:21 -!- hush2 [~IRC@112.206.71.232] has quit [] 05:05:25 -!- adu [~ajr@pool-173-66-6-81.washdc.fios.verizon.net] has quit [Quit: adu] 05:08:14 -!- tshauck [~tshauck@51.16.124.24.cm.sunflower.com] has quit [Quit: tshauck] 05:12:29 Well, I think I found the real source of the bug. Fixing it will be a different matter altogether... 05:13:46 tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has joined #scheme 05:15:37 -!- entrix [~entrix@95.27.43.203] has quit [Remote host closed the connection] 05:15:54 somnium [~user@adsl-98-65-190-197.dab.bellsouth.net] has joined #scheme 05:21:41 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: grargh] 05:22:05 gravicappa [~gravicapp@ppp91-77-175-58.pppoe.mtu-net.ru] has joined #scheme 05:24:17 -!- tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has quit [Quit: tshauck] 05:27:29 tessier [~treed@216.105.40.125] has joined #scheme 05:27:35 -!- drdo [~drdo@91.205.108.93.rev.vodafone.pt] has quit [Remote host closed the connection] 05:39:41 -!- bokr [~eduska@109.110.41.174] has quit [Ping timeout: 240 seconds] 05:45:18 -!- somnium [~user@adsl-98-65-190-197.dab.bellsouth.net] has quit [Read error: Connection reset by peer] 05:45:39 somnium [~user@adsl-98-65-190-197.dab.bellsouth.net] has joined #scheme 05:54:20 tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has joined #scheme 05:59:40 -!- tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has quit [Quit: tshauck] 06:02:18 -!- gravicappa [~gravicapp@ppp91-77-175-58.pppoe.mtu-net.ru] has quit [Ping timeout: 255 seconds] 06:02:45 tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has joined #scheme 06:03:14 -!- elliottcable is now known as ec|detached 06:14:31 bokr [~eduska@109.110.36.217] has joined #scheme 06:14:58 -!- realitygrill [~realitygr@adsl-76-226-114-68.dsl.sfldmi.sbcglobal.net] has quit [Quit: realitygrill] 06:17:29 -!- tessier [~treed@216.105.40.125] has quit [Changing host] 06:17:29 tessier [~treed@kernel-panic/copilotco] has joined #scheme 06:29:07 -!- tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has quit [Quit: tshauck] 06:29:10 gravicappa [~gravicapp@ppp91-77-175-58.pppoe.mtu-net.ru] has joined #scheme 06:29:25 Lute [~user@c83-250-251-59.bredband.comhem.se] has joined #scheme 06:35:06 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 244 seconds] 06:36:03 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 06:57:56 -!- littlebobby [~bob@unaffiliated/littlebobby] has quit [Quit: Ex-Chat] 07:03:42 -!- EbiDK [3e6b7ac3@gateway/web/freenode/ip.62.107.122.195] has quit [Ping timeout: 252 seconds] 07:08:14 -!- tupi_ [~david@189.60.161.65] has quit [Remote host closed the connection] 07:17:05 -!- gravicappa [~gravicapp@ppp91-77-175-58.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 07:18:21 -!- MrFahrenheit [~RageOfTho@users-146-61.vinet.ba] has quit [Ping timeout: 260 seconds] 07:21:50 -!- kennyd [~kennyd@93-139-33-11.adsl.net.t-com.hr] has quit [Ping timeout: 276 seconds] 07:24:09 kennyd [~kennyd@93-138-167-200.adsl.net.t-com.hr] has joined #scheme 07:25:24 ecraven [~user@140.78.42.213] has joined #scheme 07:29:29 EbiDK [~ebi@3e6b7ac3.rev.stofanet.dk] has joined #scheme 07:34:40 -!- ecraven [~user@140.78.42.213] has quit [Read error: Connection reset by peer] 07:38:27 ecraven [~user@140.78.42.213] has joined #scheme 07:39:50 -!- Lute [~user@c83-250-251-59.bredband.comhem.se] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 07:44:53 -!- monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has quit [Quit: hello] 07:53:42 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has left #scheme 07:55:54 masm [~masm@bl19-159-30.dsl.telepac.pt] has joined #scheme 08:03:31 wingo [~wingo@90.164.198.39] has joined #scheme 08:23:47 f8l [~f8l@213-238-106-80.adsl.inetia.pl] has joined #scheme 08:32:29 MrFahrenheit [~RageOfTho@users-146-61.vinet.ba] has joined #scheme 08:36:18 -!- ecraven [~user@140.78.42.213] has quit [Remote host closed the connection] 08:36:31 -!- aidalgol [~user@114-134-7-23.rurallink.co.nz] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 08:37:33 ecraven [~user@140.78.42.213] has joined #scheme 08:49:58 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 08:51:30 EbiDK_ [~ebi@3e6b7ac3.rev.stofanet.dk] has joined #scheme 08:53:18 -!- EbiDK [~ebi@3e6b7ac3.rev.stofanet.dk] has quit [Ping timeout: 255 seconds] 08:56:00 -!- DrDuck [~duck@adsl-98-81-138-78.hsv.bellsouth.net] has quit [Ping timeout: 255 seconds] 09:08:56 -!- ecraven [~user@140.78.42.213] has quit [Remote host closed the connection] 09:09:09 Kajtek [~paniwladc@nat4-230.ghnet.pl] has joined #scheme 09:11:21 -!- EbiDK_ [~ebi@3e6b7ac3.rev.stofanet.dk] has quit [Quit: Ex-Chat] 09:21:51 hm. anyone remember where was article about how-to load GTK *.so library for direct calling functions? 09:43:09 -!- homie` [~levgue@xdsl-78-35-150-125.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 09:45:43 -!- rdd [~user@c83-250-52-16.bredband.comhem.se] has quit [Read error: Connection reset by peer] 09:45:58 rdd [~rdd@c83-250-52-16.bredband.comhem.se] has joined #scheme 09:50:02 homie [~levgue@xdsl-78-35-150-125.netcologne.de] has joined #scheme 09:51:11 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 10:02:56 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 10:09:09 -!- bokr [~eduska@109.110.36.217] has quit [Ping timeout: 264 seconds] 10:13:39 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has left #scheme 10:24:29 -!- Kajtek [~paniwladc@nat4-230.ghnet.pl] has quit [Quit: Leaving.] 10:45:35 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 10:49:50 bokr [~eduska@109.110.35.105] has joined #scheme 10:50:47 xvilka: you probably want to look for "$MY_SCHEME FFI" 11:03:45 samth_ [~samth@c-24-128-51-63.hsd1.ma.comcast.net] has joined #scheme 11:09:39 -!- f8l [~f8l@213-238-106-80.adsl.inetia.pl] has quit [Quit: WeeChat 0.3.5] 11:10:23 f8l [~f8l@213-238-106-80.adsl.inetia.pl] has joined #scheme 11:12:24 drdo [~drdo@91.205.108.93.rev.vodafone.pt] has joined #scheme 11:18:18 xale [~xale@2001:4b98:dc0:51:216:3eff:fef2:58dd] has joined #scheme 11:27:25 ijp [~user@host109-153-23-149.range109-153.btcentralplus.com] has joined #scheme 11:28:25 dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has joined #scheme 11:33:12 ecraven [~user@140.78.42.213] has joined #scheme 11:34:48 -!- drdo [~drdo@91.205.108.93.rev.vodafone.pt] has quit [Remote host closed the connection] 11:37:37 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Ping timeout: 240 seconds] 11:38:02 nataraj [~nataraj@122.165.223.135] has joined #scheme 11:38:08 Hi 11:38:24 is it possible to write a IP stack using scheme? 11:40:22 -!- nataraj [~nataraj@122.165.223.135] has quit [Remote host closed the connection] 11:42:03 DrDuck [~duck@adsl-98-81-138-78.hsv.bellsouth.net] has joined #scheme 12:02:33 I don't know about scheme, but there are IP stack written in Common Lisp. 12:03:01 It's done to implement real time traffic analysis in a more efficient way than using the kernel IP stack (which is written in C). 12:03:21 -!- Arafangion [~arafangio@220-244-108-23.static.tpgi.com.au] has quit [Ping timeout: 240 seconds] 12:04:45 -!- f8l [~f8l@213-238-106-80.adsl.inetia.pl] has quit [Ping timeout: 246 seconds] 12:05:00 uh there is a TCP/IP stack writen in PHP, IIRC 12:09:22 -!- bokr [~eduska@109.110.35.105] has quit [Ping timeout: 258 seconds] 12:21:46 bokr [~eduska@109.110.59.220] has joined #scheme 12:21:47 soveran [~soveran@186.19.214.247] has joined #scheme 12:32:11 -!- ijp [~user@host109-153-23-149.range109-153.btcentralplus.com] has quit [Remote host closed the connection] 12:36:58 -!- acarrico [~acarrico@pppoe-68-142-35-144.gmavt.net] has quit [Ping timeout: 258 seconds] 12:39:52 -!- somnium [~user@adsl-98-65-190-197.dab.bellsouth.net] has quit [Remote host closed the connection] 12:47:09 Arafangion [~arafangio@220-244-108-23.static.tpgi.com.au] has joined #scheme 12:48:18 drdo [~drdo@91.205.108.93.rev.vodafone.pt] has joined #scheme 12:56:25 the only tricky part is to integrate it in kernel-space 12:57:24 tupi_ [~david@189.60.161.65] has joined #scheme 13:00:27 f8l [~f8l@77-255-21-236.adsl.inetia.pl] has joined #scheme 13:12:44 realitygrill [~realitygr@adsl-76-226-114-68.dsl.sfldmi.sbcglobal.net] has joined #scheme 13:22:41 bremner: no, i'm writing ffi :) 13:28:43 -!- f8l [~f8l@77-255-21-236.adsl.inetia.pl] has quit [Ping timeout: 240 seconds] 13:32:39 Bahman [~bahman@2.144.245.129] has joined #scheme 13:33:05 Hi all! 13:37:44 XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has joined #scheme 13:47:56 -!- Arafangion [~arafangio@220-244-108-23.static.tpgi.com.au] has quit [Ping timeout: 276 seconds] 13:48:42 Kajtek [~paniwladc@nat4-230.ghnet.pl] has joined #scheme 14:02:27 -!- samth_ [~samth@c-24-128-51-63.hsd1.ma.comcast.net] has quit [Ping timeout: 255 seconds] 14:06:45 -!- peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has quit [Quit: Must not waste too much time here...] 14:15:37 -!- alaricsp [~alaric@relief.warhead.org.uk] has quit [Remote host closed the connection] 14:33:14 tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has joined #scheme 14:40:26 Eataix [~eataix@CPE-124-176-27-251.lns2.dea.bigpond.net.au] has joined #scheme 14:44:20 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 14:48:47 Arafangion [~arafangio@220-244-108-23.static.tpgi.com.au] has joined #scheme 14:51:37 -!- Eataix [~eataix@CPE-124-176-27-251.lns2.dea.bigpond.net.au] has quit [Remote host closed the connection] 15:03:21 -!- elly [~elly@atheme/member/elly] has quit [Remote host closed the connection] 15:04:30 -!- Bahman [~bahman@2.144.245.129] has quit [Quit: Farewell] 15:09:11 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 244 seconds] 15:09:21 copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has joined #scheme 15:09:21 -!- copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has quit [Changing host] 15:09:21 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 15:10:11 -!- tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has quit [Quit: tshauck] 15:14:10 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 15:15:43 tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has joined #scheme 15:17:07 nego [~nego@c-76-16-30-244.hsd1.il.comcast.net] has joined #scheme 15:19:00 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 15:19:22 -!- tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has quit [Client Quit] 15:24:34 ymasory [~ymasory@adsl-65-8-96-236.mia.bellsouth.net] has joined #scheme 15:24:57 elly [~elly@atheme/member/elly] has joined #scheme 15:28:44 bugQ [~bug@c-71-195-206-245.hsd1.ut.comcast.net] has joined #scheme 15:31:54 soveran [~soveran@186.19.214.247] has joined #scheme 15:34:44 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 15:35:54 -!- bugQ [~bug@c-71-195-206-245.hsd1.ut.comcast.net] has quit [Ping timeout: 240 seconds] 15:39:20 monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has joined #scheme 15:40:00 littlebobby [~bob@unaffiliated/littlebobby] has joined #scheme 15:56:43 -!- XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has quit [Ping timeout: 244 seconds] 15:56:55 -!- gienah [~mwright@ppp121-44-237-46.lns20.syd7.internode.on.net] has quit [Quit: leaving] 16:02:32 dnolen [~davidnole@184.152.69.75] has joined #scheme 16:03:07 -!- dnolen [~davidnole@184.152.69.75] has quit [Client Quit] 16:22:38 soveran [~soveran@186.19.214.247] has joined #scheme 16:29:41 peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has joined #scheme 16:32:38 XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has joined #scheme 16:49:29 -!- jewel [~jewel@196-210-187-4.dynamic.isadsl.co.za] has quit [Remote host closed the connection] 16:53:44 tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has joined #scheme 17:04:43 jewel [~jewel@196-210-187-4.dynamic.isadsl.co.za] has joined #scheme 17:06:40 -!- tupi_ [~david@189.60.161.65] has quit [Quit: Leaving] 17:18:41 -!- littlebobby [~bob@unaffiliated/littlebobby] has quit [Ping timeout: 240 seconds] 17:27:07 kenjin2201 [~kenjin@218.235.8.175] has joined #scheme 17:28:28 homie` [~levgue@xdsl-78-35-160-219.netcologne.de] has joined #scheme 17:29:35 thomanil [~Adium@ti0165a340-dhcp0634.bb.online.no] has joined #scheme 17:31:08 -!- thomanil [~Adium@ti0165a340-dhcp0634.bb.online.no] has quit [Client Quit] 17:31:32 -!- homie [~levgue@xdsl-78-35-150-125.netcologne.de] has quit [Ping timeout: 276 seconds] 17:32:30 kenjin2202 [~kenjin@218.235.8.175] has joined #scheme 17:34:17 thomanil [~Adium@ti0165a340-dhcp0634.bb.online.no] has joined #scheme 17:38:38 -!- thomanil [~Adium@ti0165a340-dhcp0634.bb.online.no] has quit [Client Quit] 17:38:49 bugQ [~bug@c-71-195-206-245.hsd1.ut.comcast.net] has joined #scheme 17:39:22 smtlaissezfaire [~smtlaisse@user-387hbid.cable.mindspring.com] has joined #scheme 17:39:27 thomanil [~Adium@ti0165a340-dhcp0634.bb.online.no] has joined #scheme 17:50:24 -!- thomanil [~Adium@ti0165a340-dhcp0634.bb.online.no] has quit [Quit: Leaving.] 17:56:41 -!- masm [~masm@bl19-159-30.dsl.telepac.pt] has quit [Ping timeout: 240 seconds] 17:56:59 -!- elly [~elly@atheme/member/elly] has quit [Ping timeout: 250 seconds] 17:57:37 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 18:03:09 -!- peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has quit [Ping timeout: 246 seconds] 18:04:22 elly [~elly@atheme/member/elly] has joined #scheme 18:05:09 peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has joined #scheme 18:07:08 ijp [~user@host109-153-23-149.range109-153.btcentralplus.com] has joined #scheme 18:14:57 -!- homie` [~levgue@xdsl-78-35-160-219.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 18:17:04 homie [~levgue@xdsl-78-35-160-219.netcologne.de] has joined #scheme 18:24:19 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Quit: Leaving] 18:24:20 soveran [~soveran@186.19.214.247] has joined #scheme 18:24:55 answer_42 [~answer_42@541AB7C3.cm-5-3c.dynamic.ziggo.nl] has joined #scheme 18:26:46 samth_ [~samth@c-24-128-51-63.hsd1.ma.comcast.net] has joined #scheme 18:27:25 -!- dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has quit [Ping timeout: 260 seconds] 18:43:45 -!- smtlaissezfaire [~smtlaisse@user-387hbid.cable.mindspring.com] has quit [Quit: smtlaissezfaire] 18:44:41 smtlaissezfaire [~smtlaisse@user-387hbid.cable.mindspring.com] has joined #scheme 18:48:02 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 19:01:42 -!- tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has quit [Quit: tshauck] 19:04:09 -!- elly [~elly@atheme/member/elly] has quit [Ping timeout: 250 seconds] 19:09:12 -!- answer_42 [~answer_42@541AB7C3.cm-5-3c.dynamic.ziggo.nl] has left #scheme 19:10:37 littlebobby [~bob@unaffiliated/littlebobby] has joined #scheme 19:11:31 elly [~elly@atheme/member/elly] has joined #scheme 19:11:45 -!- DrDuck [~duck@adsl-98-81-138-78.hsv.bellsouth.net] has quit [Ping timeout: 260 seconds] 19:19:19 -!- elly [~elly@atheme/member/elly] has quit [Ping timeout: 250 seconds] 19:20:35 -!- kenjin2202 [~kenjin@218.235.8.175] has quit [Read error: Connection reset by peer] 19:20:35 -!- kenjin2201 [~kenjin@218.235.8.175] has quit [Read error: Connection reset by peer] 19:26:39 elly [~elly@atheme/member/elly] has joined #scheme 19:33:38 masm [~masm@bl19-159-30.dsl.telepac.pt] has joined #scheme 19:35:22 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 240 seconds] 19:47:23 -!- masm [~masm@bl19-159-30.dsl.telepac.pt] has quit [Ping timeout: 276 seconds] 19:47:55 -!- elly [~elly@atheme/member/elly] has quit [Ping timeout: 250 seconds] 19:48:54 masm [~masm@bl19-159-30.dsl.telepac.pt] has joined #scheme 19:52:15 -!- ymasory [~ymasory@adsl-65-8-96-236.mia.bellsouth.net] has quit [Quit: Leaving] 19:56:25 Eataix [~eataix@CPE-124-176-27-251.lns2.dea.bigpond.net.au] has joined #scheme 19:56:32 elly [~elly@atheme/member/elly] has joined #scheme 19:56:53 -!- Eataix [~eataix@CPE-124-176-27-251.lns2.dea.bigpond.net.au] has quit [Remote host closed the connection] 20:03:21 -!- littlebobby [~bob@unaffiliated/littlebobby] has quit [Ping timeout: 255 seconds] 20:04:00 -!- elly [~elly@atheme/member/elly] has quit [Remote host closed the connection] 20:04:12 elly [~elly@atheme/member/elly] has joined #scheme 20:07:32 -!- masm [~masm@bl19-159-30.dsl.telepac.pt] has quit [Ping timeout: 276 seconds] 20:08:27 -!- smtlaissezfaire [~smtlaisse@user-387hbid.cable.mindspring.com] has quit [Quit: smtlaissezfaire] 20:09:22 masm [~masm@2.80.159.30] has joined #scheme 20:09:57 smtlaissezfaire [~smtlaisse@user-387hbid.cable.mindspring.com] has joined #scheme 20:12:04 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 252 seconds] 20:12:36 -!- elly [~elly@atheme/member/elly] has quit [Ping timeout: 250 seconds] 20:13:42 -!- masm [~masm@2.80.159.30] has quit [Ping timeout: 255 seconds] 20:13:49 elly [~elly@atheme/member/elly] has joined #scheme 20:18:47 preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #scheme 20:20:51 -!- elly [~elly@atheme/member/elly] has quit [Ping timeout: 250 seconds] 20:22:02 -!- drdo [~drdo@91.205.108.93.rev.vodafone.pt] has quit [Read error: Connection reset by peer] 20:24:04 mk [~mk@unaffiliated/mk] has joined #scheme 20:25:03 littlebobby [~bob@unaffiliated/littlebobby] has joined #scheme 20:25:03 drdo [~drdo@91.205.108.93.rev.vodafone.pt] has joined #scheme 20:28:16 hey. I'd like to plot a sine wave, and then change sine to cos in the source, and see the plot update without recompiling 20:28:19 elly [~elly@atheme/member/elly] has joined #scheme 20:28:31 can I do this in scheme? 20:28:47 Yes. 20:29:12 ok. I know nothing about scheme. Where should I start? 20:30:07 http://schemers.org has a lot of pointers. 20:30:17 mk: are you already a programmer? 20:30:18 I've got the mit/gnu (edwin?) scheme ide open, and google is not as helpful with code snippets for scheme as it is for others 20:30:42 mk: yeah. We're not too fond of code snippets... 20:30:58 If you're already a programmer, you could start by reading sicp and watching the lectures. 20:31:13 yeah, I know my way around pretty well. I can explain what a closure is, but have little experience with lisp-likes 20:31:13 Structure and Interpretation of Computer Programs http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-4.html http://swiss.csail.mit.edu/classes/6.001/abelson-sussman-lectures/ 20:31:47 Oh, if you already know what a closure is, then just reading the R5RS and the documentation of your choosen implementation should be enough. 20:31:55 But I would still advise reading SICP anyways. 20:32:00 mk, without recompiling? Well, no Scheme system is going to automatically detect when you have typed enough changes into the buffer for the code to make sense and require changes... But you could re-evaluate the code in the REPL to update a plot incrementally. 20:32:15 (Well, depending on what you're using for plotting.) 20:32:36 Riastradh: well, I assumed he didn't want something as automatic as that, but a call to eval in there would be ok. 20:33:04 I'm hoping to pick a bit of scheme up without killing myself with a spec right off the bat 20:33:26 mk: it's less than 50 pages! 20:34:10 -!- Arafangion [~arafangio@220-244-108-23.static.tpgi.com.au] has quit [Ping timeout: 244 seconds] 20:34:13 at the moment I've hacked something together in java, but I need to... pass functions around 20:34:21 -!- littlebobby [~bob@unaffiliated/littlebobby] has quit [Ping timeout: 264 seconds] 20:34:27 mk: Passing functions around is easy peasy in Scheme. \o/ 20:34:55 yeah, I bet :D 20:34:57 In Java it's doable too, albeit with more effort. 20:35:13 yeah, a fair bit more effort 20:35:25 *mk* looks for the single-page html version of the spec 20:35:28 rudybot: (define (sin-or-cos which) (if which sin cos)) 20:35:28 cky: your sandbox is ready 20:35:29 cky: Done. 20:35:35 rudybot: ((sin-or-cos #t) 1) 20:35:35 cky: ; Value: 0.8414709848078965 20:35:38 rudybot: ((sin-or-cos #f) 1) 20:35:38 cky: ; Value: 0.5403023058681398 20:35:47 mk: Does that make sense? ;-) 20:36:14 -!- bugQ [~bug@c-71-195-206-245.hsd1.ut.comcast.net] has quit [Ping timeout: 244 seconds] 20:37:13 (sin-or-cos true n) ? 20:37:31 Not quite. ;-) 20:37:33 oh, there they are 20:37:41 right under the first one 20:37:45 (sin-or-cos #t) returns the sin function object. 20:37:50 (sin-or-cos #f) returns the cos function object. 20:37:52 araujo [~araujo@190.73.44.29] has joined #scheme 20:37:52 -!- araujo [~araujo@190.73.44.29] has quit [Changing host] 20:37:52 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 20:38:15 In either case, I apply the returned function object to 1. 20:38:19 littlebobby [~bob@unaffiliated/littlebobby] has joined #scheme 20:38:50 mk: basically, you write: (define (mk-app) (draw-curve -10.0 10.0 0.01 (eval (list 'lambda '(x) (begin (display "Enter a formula in x: ") (read))) (scheme-report-environment 5))) (mk-app)) 20:38:57 that's a bit messy. at the moment, I've got eclipse/java open, and do a hot code replacement 20:39:14 mk: That's not "the" way to do it, that's why it's messy. 20:39:31 mk: The standard way is to simply pass a function object into the function you want. 20:39:38 mk: e.g., (plot sin) or (plot cos). 20:39:48 And your plot function will take the given function object and use it to make the plot. 20:39:57 I'm not just interested in sin/cos, I have some pretty big functions that I want to put together until I have a result that looks good 20:40:13 mk: Okay. (plot (lambda (x) (sin (cos (tan x))))) 20:40:22 Then cky gave you the answer above. 20:41:01 mk: "lambda" creates a function object using the enclosed code. 20:41:07 ok, I'll try that. I have edwin open. Is that what's usually used for scheme? 20:41:20 Yes. 20:41:26 It (MIT Scheme) is one of the more popular implementations, yes. 20:41:27 srid_ [~srid@S010678ca39ff0146.vn.shawcable.net] has joined #scheme 20:41:27 -!- srid_ [~srid@S010678ca39ff0146.vn.shawcable.net] has quit [Changing host] 20:41:27 srid_ [~srid@unaffiliated/srid] has joined #scheme 20:41:30 ...does it allow pasting? 20:41:33 mk: that's what they use in sicp./ 20:41:40 I don't know, I use emacs. 20:42:17 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 20:43:33 mk: The key insight is that in Scheme, all your functions, like +, -, *, /, sin, cos, tan, sqrt, etc. are all objects. You can store them in variables, pass them around, etc. 20:43:51 mk: Additionally, using lambda, you can create your own functions, which can likewise be stored in variables, passed around, etc. 20:44:45 -!- samth_ [~samth@c-24-128-51-63.hsd1.ma.comcast.net] has quit [Ping timeout: 255 seconds] 20:44:53 hmm, unbound variable plot? 20:44:56 mk: So you can parameterize a function with another function: (define f (lambda (trig x) (- 1 (square (trig x))))) (list (f sin 2) (f cos 2)) 20:45:02 mk: You need to write the "plot" function. 20:45:06 mk: yes, you need to provide plot. 20:45:13 mk: It needs to do the real plotting. 20:46:20 ouch, google is barren compared to more mainstream languages 20:46:37 what should I look up for graphics/line drawing+ 20:46:40 ?* 20:46:40 The barren wastelands of Google 20:46:47 mk: Racket has some drawing libraries. 20:47:00 mk: Other implementations probably do too, but I don't know them. 20:47:15 masm [~masm@2.80.159.30] has joined #scheme 20:47:40 mk: If you're feeling brave, make your program write out PostScript code directly. ;-) 20:48:03 You can then send that to GhostScript or a PostScript-capable printer. :-) 20:50:02 rudybot: enumerate-graphics-types 20:50:02 mk: eh? Try "rudybot: help". 20:50:08 worth a shot 20:50:39 rudybot runs Racket, not MIT Scheme. 20:51:54 how can I copy from/paste to edwin/mit scheme? 20:52:26 -!- srid_ [~srid@unaffiliated/srid] has quit [Quit: Computer has gone to sleep.] 20:53:13 M-w, C-y 20:59:22 ;Value 11: #[compiled-procedure 11 ("graphics" #x2f) #xf #x11544cb] 20:59:37 is the result of enumerate-graphics-types 20:59:46 how should I interpret that? 21:00:29 is it a map? 21:00:38 It's a procedure you're supposed to call. 21:00:52 (enumerate-graphics-types) 21:01:18 yep. Then edwin spits out ;Value 11... 21:01:21 DrDuck [~duck@adsl-98-81-138-78.hsv.bellsouth.net] has joined #scheme 21:01:38 I'm guessing ; is just a comment 21:01:45 enumerate-graphics-types 21:01:45 ;Value 11: #[compiled-procedure 11 ("graphics" #x2f) #xf #x1692eb] 21:01:46 (enumerate-graphics-types) 21:01:46 ;Value 12: (#[graphics-type 13 x]) 21:02:35 I see 21:03:24 value n stores the result? 21:04:24 -!- masm [~masm@2.80.159.30] has quit [Ping timeout: 252 seconds] 21:04:28 You can use the number to refer back to the value, if it hasn't been reclaimed by the garbage collector. E.g., 21:04:31 enumerate-graphics-types 21:04:35 ;Value 11: #[compiled-procedure 11 ("graphics" #x2f) #xf #x1692eb] 21:04:36 (procedure? #@11) 21:04:39 ;Value: #t 21:05:07 what does (#[graphics-type 13 x]) mean? 21:05:31 It's a list of one element. The one element is the graphics type for X11 graphics. 21:05:32 gravicappa [~gravicapp@ppp91-77-168-16.pppoe.mtu-net.ru] has joined #scheme 21:06:14 why is there an x? 21:06:32 function definition? 21:06:50 X-Scale [email@2001:470:1f08:b3d::2] has joined #scheme 21:07:35 -!- DrDuck [~duck@adsl-98-81-138-78.hsv.bellsouth.net] has quit [Quit: ##math] 21:07:50 That's just a name stored in the graphics type. 21:08:13 The name signifies, to us humans, that it's the graphics type for X11 graphics. 21:08:19 (graphics-type-name (car (enumerate-graphics-types))) 21:08:20 ;Value: x 21:09:50 masm [~masm@2.80.159.30] has joined #scheme 21:11:42 And you can get at a graphics type by name: 21:11:52 (graphics-type 'x) 21:11:52 ;Value 13: #[graphics-type 13 x] 21:14:28 -!- gravicappa [~gravicapp@ppp91-77-168-16.pppoe.mtu-net.ru] has quit [Ping timeout: 258 seconds] 21:17:34 hmm, I think I'm going to have to read the spec 21:18:18 -!- smtlaissezfaire [~smtlaisse@user-387hbid.cable.mindspring.com] has quit [Ping timeout: 258 seconds] 21:19:40 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has left #scheme 21:22:55 smtlaissezfaire [~smtlaisse@user-387hbid.cable.mindspring.com] has joined #scheme 21:27:56 realitygrill_ [~realitygr@adsl-76-226-105-164.dsl.sfldmi.sbcglobal.net] has joined #scheme 21:29:00 -!- realitygrill [~realitygr@adsl-76-226-114-68.dsl.sfldmi.sbcglobal.net] has quit [Ping timeout: 240 seconds] 21:29:00 -!- realitygrill_ is now known as realitygrill 21:34:23 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 21:34:37 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Quit: Leaving] 21:35:26 -!- samth_away is now known as samth 21:46:45 -!- vk0 [~vk@ip-23-75.bnaa.dk] has quit [Read error: Operation timed out] 21:49:26 vk0 [~vk@ip-23-75.bnaa.dk] has joined #scheme 22:09:03 -!- leppie [~lolcow@196-210-170-119.dynamic.isadsl.co.za] has quit [Read error: Connection reset by peer] 22:11:03 REPLeffect [~REPLeffec@69.54.115.254] has joined #scheme 22:16:05 leppie [~lolcow@196-210-170-119.dynamic.isadsl.co.za] has joined #scheme 22:22:10 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 22:22:30 ? 22:22:41 llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllp------------------------------------------------------------------ 22:22:49 Hi there, foof's cat. 22:23:02 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 22:23:31 tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has joined #scheme 22:23:34 Riastradh: if you were really smart, you could tell us whether she's _sitting_ on the keyboard, or merely walking across it. 22:23:59 odd how she manages to hit Enter at the end of each line. That's pretty advanced, for a cat. 22:24:07 I think it's pretty clear she was at least standing, if not sitting, on it, not merely walking across it. 22:24:51 acarrico [~acarrico@pppoe-68-142-35-144.gmavt.net] has joined #scheme 22:28:18 Also...how would she hit enter before or after and not at the end of the line? 22:30:52 it's clear from what she typed that she carefully chose what to say, said it, then hit enter; then later thought of some more to add, said _it_, and again hit enter. 22:30:57 This to me shows unusual intelligence. 22:31:16 I believe foof's cat is actually some sort of robot, perhaps provided by the CIA to spy on him. 22:32:14 offby1: or maybe that's just what the cat wants you to think 22:33:16 ijp: I know. It's layers upon layers. 22:33:30 Le Carré would have written beautifully about it. 22:58:19 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 244 seconds] 22:58:48 copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has joined #scheme 22:58:48 -!- copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has quit [Changing host] 22:58:48 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 23:05:09 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Ping timeout: 255 seconds] 23:20:39 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 23:31:30 panda_boner [~tim@c-98-192-174-9.hsd1.ca.comcast.net] has joined #scheme 23:32:38 im using edwin to learn scheme. i redefined cons car and cdr, using the same names, and now i want the original functions back. 23:32:41 how do i do this? 23:36:17 In MIT Scheme, as a debugging or interactive operation, can get at them with (define real-cons (environment-lookup system-global-environment 'cons)). Alternatively, before shadowing them, you could just evaluate (define real-cons cons). 23:38:08 -!- panda_boner [~tim@c-98-192-174-9.hsd1.ca.comcast.net] has quit [Ping timeout: 276 seconds] 23:41:57 -!- Kajtek [~paniwladc@nat4-230.ghnet.pl] has quit [Quit: Leaving.] 23:48:38 dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has joined #scheme 23:56:39 -!- wingo [~wingo@90.164.198.39] has quit [Ping timeout: 250 seconds]