00:03:55 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 248 seconds] 00:07:28 -!- Bahman [~Bahman@2.144.210.89] has quit [Quit: Zzz] 00:11:16 -!- geoffhill [~geoffhill@wireless-165-124-144-177.nuwlan.northwestern.edu] has quit [Quit: geoffhill] 00:13:16 aidalgol [~user@114-134-7-23.rurallink.co.nz] has joined #scheme 00:17:32 -!- Euthydemus [~euthydemu@vaxjo4.213.cust.blixtvik.net] has quit [Quit: leaving] 00:18:15 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 00:19:03 -!- tauntaun [~Crumpet@ool-44c72ce0.dyn.optonline.net] has quit [Quit: Ex-Chat] 00:25:11 XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has joined #scheme 00:28:02 -!- pumpkin is now known as copumpkin 00:29:34 Counterspell [~cspell@38.98.50.98] has joined #scheme 00:32:04 -!- ckrailo [~ckrailo@208.86.167.249] has quit [Quit: Computer has gone to sleep.] 00:32:51 -!- pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has quit [Read error: Operation timed out] 00:45:29 -!- aidalgol [~user@114-134-7-23.rurallink.co.nz] has quit [Read error: Connection reset by peer] 00:45:53 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 276 seconds] 00:46:03 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 252 seconds] 00:50:42 -!- MrFahrenheit [~RageOfTho@users-146-140.vinet.ba] has quit [Ping timeout: 258 seconds] 00:57:25 -!- ijp [~user@host109-154-194-141.range109-154.btcentralplus.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 01:00:30 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 01:01:23 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 01:16:44 -!- mmc [~michal@82-148-210-75.fiber.unet.nl] has quit [Ping timeout: 250 seconds] 01:16:51 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 252 seconds] 01:24:19 mmc [~michal@82-148-210-75.fiber.unet.nl] has joined #scheme 01:27:26 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 01:28:48 Euthydemus [~euthydemu@vaxjo4.213.cust.blixtvik.net] has joined #scheme 01:33:11 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 01:39:29 -!- githogori [~githogori@adsl-66-123-22-146.dsl.snfc21.pacbell.net] has quit [Remote host closed the connection] 01:42:57 githogori [~githogori@adsl-66-123-22-146.dsl.snfc21.pacbell.net] has joined #scheme 01:46:08 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Ping timeout: 276 seconds] 01:52:52 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 02:00:16 -!- pnkfelix [~Adium@c-68-82-87-23.hsd1.pa.comcast.net] has quit [Read error: Connection reset by peer] 02:00:29 pnkfelix [~Adium@c-68-82-87-23.hsd1.pa.comcast.net] has joined #scheme 02:00:40 eli: Wow. +1 for not overengineering the solution to the Hardy-Ramanujan question. :-) I was originally going to do a solution that tries to micro-optimise a couple of things, but it's clear that your solution is much more compact, and plenty fast enough. 02:00:59 Hmm. Maybe I should write that as a post comment. Duh. 02:05:34 -!- turbofail [~user@c-107-3-149-149.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 02:07:35 xwl [~user@221.220.191.155] has joined #scheme 02:09:22 -!- Counterspell [~cspell@38.98.50.98] has quit [Quit: Ex-Chat] 02:17:11 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 240 seconds] 02:21:41 -!- pygospa [~TheRealPy@kiel-4dbec8c9.pool.mediaWays.net] has quit [Disconnected by services] 02:21:53 pygospa [~TheRealPy@kiel-5f77bc29.pool.mediaWays.net] has joined #scheme 02:22:42 -!- leppie [~lolcow@196-215-49-168.dynamic.isadsl.co.za] has quit [Ping timeout: 258 seconds] 02:23:42 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 02:23:42 leppie [~lolcow@196-215-49-168.dynamic.isadsl.co.za] has joined #scheme 02:38:00 jmkeyes [~jkeyes@S01060024013e3f57.ok.shawcable.net] has joined #scheme 02:38:06 -!- jmkeyes [~jkeyes@S01060024013e3f57.ok.shawcable.net] has left #scheme 02:43:36 -!- realitygrill [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has quit [Remote host closed the connection] 02:43:59 realitygrill [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has joined #scheme 02:45:41 -!- masm [~masm@2.80.153.57] has quit [Ping timeout: 240 seconds] 02:54:18 cky: How could you over engineer it? 02:56:49 well, start by making an object system ;) 02:56:53 Jafet1 [~Jafet@unaffiliated/jafet] has joined #scheme 02:57:26 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 240 seconds] 02:59:39 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 03:00:58 -!- Jafet1 [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 240 seconds] 03:02:29 dnolen [~davidnole@184.152.69.75] has joined #scheme 03:04:10 -!- xwl [~user@221.220.191.155] has quit [Ping timeout: 240 seconds] 03:04:19 eli: Let's just say that my approach for testing whether the number is a cube, is much more complicated than your approach, and probably unlikely to be an optimisation of any sort anyway. ;-) 03:04:48 -!- dnolen [~davidnole@184.152.69.75] has quit [Client Quit] 03:06:18 eli: Another thing I was planning to do was to make the function stop searching (looping) as soon as the third cube-pair is found. A very small improvement, and probably outweighed by the extra checking and extra code (less code == more maintainable). 03:07:50 eli: For many years I've been trying to break myself of the habit of reaching for the gnarly solutions first, and keep to simple solutions. So it's nice to see someone who does it for real. 03:11:20 cky: Ah... 03:12:03 -!- blueadept [~blueadept@unaffiliated/blueadept] has quit [Quit: Leaving] 03:12:23 FWIW, aborting when it reaches the third pair is not needed, since the first one with three solutions is way bigger than the first with two. 03:13:30 Well, then. I guess my solution is strictly worse than yours, then. :-) 03:14:19 :) 03:27:08 -!- pnkfelix [~Adium@c-68-82-87-23.hsd1.pa.comcast.net] has quit [Quit: Leaving.] 03:42:18 emporas [~emporas@athedsl-168289.home.otenet.gr] has joined #scheme 03:46:34 realitygrill_ [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has joined #scheme 03:50:08 -!- realitygrill [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has quit [Ping timeout: 250 seconds] 03:50:09 -!- realitygrill_ is now known as realitygrill 03:56:39 -!- realitygrill [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has quit [Remote host closed the connection] 03:57:09 realitygrill [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has joined #scheme 04:03:00 monqy_ [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has joined #scheme 04:05:43 -!- monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has quit [Ping timeout: 260 seconds] 04:10:15 -!- yosafbridge [~yosafbrid@li125-242.members.linode.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 04:11:07 yosafbridge [~yosafbrid@li125-242.members.linode.com] has joined #scheme 04:24:45 realitygrill_ [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has joined #scheme 04:28:11 -!- realitygrill [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has quit [Ping timeout: 240 seconds] 04:28:17 -!- realitygrill_ is now known as realitygrill 04:30:41 -!- saiko-chriskun [~chris-kun@fsf/member/saiko-chriskun] has quit [Ping timeout: 240 seconds] 04:32:51 -!- LN^^ is now known as LN^off 04:35:26 -!- monqy_ is now known as monqy 04:43:01 saiko-chriskun [~chris-kun@fsf/member/saiko-chriskun] has joined #scheme 04:44:13 -!- rasterbar [~rasterbar@unaffiliated/rasterbar] has quit [Read error: Connection reset by peer] 04:50:38 -!- infid [~infid@99-101-15-134.lightspeed.sndgca.sbcglobal.net] has quit [Ping timeout: 260 seconds] 04:52:08 infid [~infid@rrcs-173-198-12-38.west.biz.rr.com] has joined #scheme 04:54:38 -!- realitygrill [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has quit [Remote host closed the connection] 04:54:56 realitygrill [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has joined #scheme 04:56:23 -!- realitygrill [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has quit [Read error: Connection reset by peer] 04:58:20 realitygrill [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has joined #scheme 05:02:04 rasterbar [~rasterbar@unaffiliated/rasterbar] has joined #scheme 05:03:06 gravicappa [~gravicapp@ppp91-77-175-24.pppoe.mtu-net.ru] has joined #scheme 05:03:34 copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has joined #scheme 05:03:34 -!- copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has quit [Changing host] 05:03:34 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 05:07:00 -!- realitygrill [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has quit [Read error: Connection reset by peer] 05:07:12 realitygrill [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has joined #scheme 05:11:58 peddie [~peddie@repl.esden.net] has joined #scheme 05:28:27 ckrailo [~ckrailo@pool-173-71-46-119.dllstx.fios.verizon.net] has joined #scheme 05:28:33 -!- gravicappa [~gravicapp@ppp91-77-175-24.pppoe.mtu-net.ru] has quit [Ping timeout: 260 seconds] 05:29:08 superjudge [~mjl@c83-250-110-188.bredband.comhem.se] has joined #scheme 05:31:01 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 05:32:33 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 240 seconds] 05:33:42 -!- AtnNn [~welcome@modemcable060.239-177-173.mc.videotron.ca] has quit [Ping timeout: 250 seconds] 05:49:54 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 06:00:45 -!- saiko-chriskun [~chris-kun@fsf/member/saiko-chriskun] has quit [Ping timeout: 260 seconds] 06:03:11 realitygrill_ [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has joined #scheme 06:06:38 -!- realitygrill [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has quit [Ping timeout: 250 seconds] 06:06:41 -!- realitygrill_ is now known as realitygrill 06:07:13 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 06:09:14 gravicappa [~gravicapp@ppp91-77-180-92.pppoe.mtu-net.ru] has joined #scheme 06:10:18 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 240 seconds] 06:11:14 -!- alexgordon is now known as alexgordon| 06:19:50 xwl [~user@221.220.191.155] has joined #scheme 06:22:13 saiko-chriskun [~chris-kun@fsf/member/saiko-chriskun] has joined #scheme 06:26:19 -!- gravicappa [~gravicapp@ppp91-77-180-92.pppoe.mtu-net.ru] has quit [Ping timeout: 252 seconds] 06:26:40 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 06:38:16 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Ping timeout: 250 seconds] 06:43:55 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 248 seconds] 06:47:52 wzlxx [~user@218.206.227.130] has joined #scheme 06:47:59 djcb [~user@a88-112-253-18.elisa-laajakaista.fi] has joined #scheme 06:51:46 -!- monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has quit [Read error: Connection reset by peer] 06:51:57 monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has joined #scheme 06:59:02 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 06:59:10 gravicappa [~gravicapp@ppp91-77-209-5.pppoe.mtu-net.ru] has joined #scheme 07:06:11 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 264 seconds] 07:10:02 -!- xwl [~user@221.220.191.155] has quit [Ping timeout: 276 seconds] 07:12:09 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 252 seconds] 07:15:48 -!- superjudge [~mjl@c83-250-110-188.bredband.comhem.se] has quit [Quit: leaving] 07:16:12 superjudge [~superjudg@c83-250-110-188.bredband.comhem.se] has joined #scheme 07:19:32 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 07:20:01 drdo [~user@91.205.108.93.rev.vodafone.pt] has joined #scheme 07:21:30 -!- rasterbar [~rasterbar@unaffiliated/rasterbar] has quit [Read error: Connection reset by peer] 07:21:38 wzlxx` [~user@222.137.16.83] has joined #scheme 07:22:24 -!- wzlxx [~user@218.206.227.130] has quit [Ping timeout: 246 seconds] 07:28:04 jewel [~jewel@196-210-134-18.dynamic.isadsl.co.za] has joined #scheme 07:28:56 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 07:35:41 pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has joined #scheme 07:35:54 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Ping timeout: 250 seconds] 07:38:51 -!- XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has quit [Ping timeout: 246 seconds] 07:41:41 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 240 seconds] 07:42:20 -!- wzlxx` [~user@222.137.16.83] has left #scheme 07:44:28 XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has joined #scheme 07:46:21 aidalgol [~user@114-134-7-23.rurallink.co.nz] has joined #scheme 07:48:50 rasterbar [~rasterbar@unaffiliated/rasterbar] has joined #scheme 07:52:14 abhinav [~abhinav@122.167.168.20] has joined #scheme 07:54:54 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 08:00:38 -!- mmc [~michal@82-148-210-75.fiber.unet.nl] has quit [Quit: Leaving.] 08:01:30 -!- leppie [~lolcow@196-215-49-168.dynamic.isadsl.co.za] has quit [Ping timeout: 260 seconds] 08:06:38 -!- rasterbar [~rasterbar@unaffiliated/rasterbar] has quit [Ping timeout: 260 seconds] 08:09:51 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Read error: Operation timed out] 08:13:00 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 08:15:10 -!- homie` [~levgue@xdsl-78-35-137-107.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 08:21:20 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 276 seconds] 08:22:52 wingo [~wingo@90.164.198.39] has joined #scheme 08:24:45 ndc [~ndc@99-40-71-132.lightspeed.irvnca.sbcglobal.net] has joined #scheme 08:27:47 -!- realitygrill [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has quit [Quit: realitygrill] 08:31:14 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 08:32:53 -!- wingo [~wingo@90.164.198.39] has quit [Ping timeout: 260 seconds] 08:34:25 homie [~levgue@xdsl-78-35-137-107.netcologne.de] has joined #scheme 08:38:36 -!- gravicappa [~gravicapp@ppp91-77-209-5.pppoe.mtu-net.ru] has quit [Read error: Operation timed out] 08:39:00 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 260 seconds] 08:39:33 -!- saiko-chriskun [~chris-kun@fsf/member/saiko-chriskun] has quit [Quit: WeeChat 0.3.4] 08:45:23 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 08:54:28 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 09:05:59 -!- homie [~levgue@xdsl-78-35-137-107.netcologne.de] has quit [Remote host closed the connection] 09:13:23 -!- infid [~infid@rrcs-173-198-12-38.west.biz.rr.com] has quit [Ping timeout: 264 seconds] 09:13:29 madmuppet [~scheme@122-62-124-247.jetstream.xtra.co.nz] has joined #scheme 09:14:52 infid [~infid@99-101-15-134.lightspeed.sndgca.sbcglobal.net] has joined #scheme 09:20:33 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 09:22:02 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Read error: Operation timed out] 09:22:18 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 09:25:00 rasterbar [~rasterbar@unaffiliated/rasterbar] has joined #scheme 09:27:23 I have been trying to write a floor procedure .. I just found out there was one already .. my procedure uses two arguments so Im wondering how scheme performs the floor procedure? 09:32:28 -!- aidalgol [~user@114-134-7-23.rurallink.co.nz] has quit [Ping timeout: 250 seconds] 09:36:05 -!- alfa_y_omega_ [~alfa_y_om@90.166.231.220] has quit [Ping timeout: 276 seconds] 09:37:45 -!- jrt4 [~jrtaylori@207-118-45-56.dyn.centurytel.net] has quit [Ping timeout: 260 seconds] 09:39:13 read the source? 09:39:49 :q 09:41:01 alfa_y_omega_ [~alfa_y_om@90.166.231.220] has joined #scheme 09:41:18 XTL:bit beyond me I think .. 09:43:56 I got curious, too. Looks like guile uses floor() from libm? 09:45:37 tinyscheme, too 09:46:04 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Read error: Operation timed out] 09:46:45 Im using a mit-scheme .. dunno if that makes any difference .. wouldnt mind seeing how any of them do it 09:47:23 I'm just trying to look through the mit git 09:47:39 (and look at at that name on the top... ;) 09:47:42 -!- monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has quit [Quit: hello] 09:48:30 Blkt [~user@net-93-145-56-141.cust.dsl.teletu.it] has joined #scheme 09:49:38 good day everyone 09:50:03 MIT seems to have a replacement in case system doesn't provide floor() 09:50:24 http://git.savannah.gnu.org/cgit/mit-scheme.git/tree/v7/src/microcode/generic.c?id=4e34132bd732151bfd24f39973926c79eff1cbb4 09:50:24 http://tinyurl.com/3r8nc6r 09:50:36 Also in C 09:51:08 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 246 seconds] 09:52:45 -!- ckrailo [~ckrailo@pool-173-71-46-119.dllstx.fios.verizon.net] has quit [Quit: Computer has gone to sleep.] 09:56:21 gravicappa [~gravicapp@ppp91-77-188-208.pppoe.mtu-net.ru] has joined #scheme 09:57:26 -!- LN^off is now known as LN^^ 09:59:10 masm [~masm@2.80.153.57] has joined #scheme 10:06:55 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 10:09:44 -!- gravicappa [~gravicapp@ppp91-77-188-208.pppoe.mtu-net.ru] has quit [Ping timeout: 250 seconds] 10:30:03 -!- alfa_y_omega_ [~alfa_y_om@90.166.231.220] has quit [Ping timeout: 248 seconds] 10:31:08 alfa_y_omega_ [~alfa_y_om@90.166.231.220] has joined #scheme 10:33:17 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Ping timeout: 276 seconds] 10:33:35 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 10:34:13 gravicappa [~gravicapp@ppp91-77-188-208.pppoe.mtu-net.ru] has joined #scheme 10:41:12 -!- madmuppet [~scheme@122-62-124-247.jetstream.xtra.co.nz] has quit [Quit: Leaving] 10:46:06 -!- alfa_y_omega_ [~alfa_y_om@90.166.231.220] has quit [Read error: Operation timed out] 10:47:37 alfa_y_omega_ [~alfa_y_om@90.166.231.220] has joined #scheme 10:51:08 -!- alfa_y_omega_ [~alfa_y_om@90.166.231.220] has quit [Max SendQ exceeded] 10:51:30 hotblack23 [~jh@p5B30FEF5.dip.t-dialin.net] has joined #scheme 10:51:54 alfa_y_omega_ [~alfa_y_om@90.166.231.220] has joined #scheme 11:00:25 -!- pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has quit [Ping timeout: 240 seconds] 11:07:13 homie [~levgue@xdsl-78-35-152-108.netcologne.de] has joined #scheme 11:07:53 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 11:09:54 tauntaun [~Crumpet@ool-44c72ce0.dyn.optonline.net] has joined #scheme 11:14:41 -!- djcb [~user@a88-112-253-18.elisa-laajakaista.fi] has quit [Remote host closed the connection] 11:29:38 MrFahrenheit [~RageOfTho@users-146-140.vinet.ba] has joined #scheme 11:30:40 pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has joined #scheme 11:32:02 leppie [~lolcow@196-215-49-168.dynamic.isadsl.co.za] has joined #scheme 11:32:26 -!- MrFahrenheit [~RageOfTho@users-146-140.vinet.ba] has quit [Read error: Connection reset by peer] 11:51:32 -!- EarlGray [~dmytrish@inherent.puzzler.volia.net] has quit [Ping timeout: 246 seconds] 12:00:22 EarlGray [~dmytrish@inherent.puzzler.volia.net] has joined #scheme 12:23:55 -!- Intensity [JrhZD9zVbT@unaffiliated/intensity] has quit [Ping timeout: 246 seconds] 12:25:07 mceier [~mceier@89-77-208-118.dynamic.chello.pl] has joined #scheme 12:32:53 drdo` [~user@91.205.108.93.rev.vodafone.pt] has joined #scheme 12:34:21 -!- drdo [~user@91.205.108.93.rev.vodafone.pt] has quit [Ping timeout: 240 seconds] 12:46:10 wingo [~wingo@90.164.198.39] has joined #scheme 12:48:51 -!- drdo` is now known as drdo 12:55:11 -!- mceier [~mceier@89-77-208-118.dynamic.chello.pl] has quit [Ping timeout: 240 seconds] 13:03:44 peterhil [~peterhil@a91-153-112-241.elisa-laajakaista.fi] has joined #scheme 13:04:01 -!- alfa_y_omega_ [~alfa_y_om@90.166.231.220] has quit [Ping timeout: 258 seconds] 13:07:38 alfa_y_omega_ [~alfa_y_om@90.166.231.220] has joined #scheme 13:10:01 cpach [~carl@h167n3-sde-a31.ias.bredband.telia.com] has joined #scheme 13:15:11 mceier [~mceier@89-77-208-118.dynamic.chello.pl] has joined #scheme 13:30:10 AtnNn [~welcome@modemcable060.239-177-173.mc.videotron.ca] has joined #scheme 13:30:16 -!- AtnNn [~welcome@modemcable060.239-177-173.mc.videotron.ca] has quit [Client Quit] 13:32:33 Nisstyre [~nisstyre@infocalypse-net.info] has joined #scheme 13:38:59 MrFahrenheit [~RageOfTho@users-146-140.vinet.ba] has joined #scheme 13:48:24 -!- mceier [~mceier@89-77-208-118.dynamic.chello.pl] has quit [Ping timeout: 240 seconds] 13:54:38 -!- Blkt [~user@net-93-145-56-141.cust.dsl.teletu.it] has quit [Ping timeout: 240 seconds] 14:03:44 -!- DT`` [~Feeock@net-93-149-70-218.cust.dsl.teletu.it] has quit [Ping timeout: 250 seconds] 14:10:05 Tippenein [~chatzilla@97.65.218.14] has joined #scheme 14:15:29 DT`` [~Feeock@net-93-149-65-237.cust.dsl.teletu.it] has joined #scheme 14:37:04 klutometis, you have a classical background, so perhaps you can help me. There's a useful phrase `q.v.' (quod vide) meaning `which see', or `look up the term I just mentioned in the index'. Is there a handy-dandy Latin phrase meaning `which Google'? I want one. 14:41:43 svankiE [k@host153.190-230-123.telecom.net.ar] has joined #scheme 14:41:51 morning 14:41:55 :-> 14:44:09 tupi [~david@189.60.162.71] has joined #scheme 14:55:53 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Quit: Leaving.] 14:56:37 wingo: thanks for pointing me to srfi-9! :) 14:57:11 Riastradh: quod vide is "see that" or "see it". the intertubes is lousy at translating idiomatic latin :/ 14:57:46 So `Google vide' should be `see Google'? 14:58:03 googlem vide 14:58:06 :) 14:58:12 it has to be in the accusative 14:58:30 I see 14:58:44 What? No, I don't want to say `see Google'; I want to say `Google that'. 14:58:44 -!- mathk [~mathk@lns-bzn-55-82-255-142-55.adsl.proxad.net] has quit [Read error: Operation timed out] 14:58:56 `Google' as a noun? How silly. 14:59:05 hahah 14:59:28 Google (TM) as a noun? 14:59:29 "quod Google" indeed uses 'google' as a verb 14:59:44 OK, so `q.g.'. 15:00:12 you know, that has potential. you should put q.g. up on the urban dictionary 15:00:58 because right now I have to say lmgtfy, so q.g. would definitely be handier 15:01:23 q.f.g. 15:01:29 But just `quod Google' doesn't sound conjugated enough. 15:02:14 -!- jewel [~jewel@196-210-134-18.dynamic.isadsl.co.za] has quit [Ping timeout: 250 seconds] 15:02:24 I know, but it's because, as in "vide", the imperative for "you" ends in E (for E-stemmed verbs) 15:02:38 -!- masm [~masm@2.80.153.57] has quit [Ping timeout: 240 seconds] 15:03:10 Can you turn it into `you should Google'? 15:04:19 you can do that in several ways, but the conjugated way would use the subjunctive: quod googleas 15:05:03 That sounds better! 15:05:42 mathk [~mathk@lns-bzn-21-82-64-66-223.adsl.proxad.net] has joined #scheme 15:09:44 that wouldn't be exactly an order though, my book says that would mean "you would/could/might google 15:10:44 the best way would be 'googleare tibi opus est' 15:24:30 dnolen [~davidnole@pool-68-161-126-7.ny325.east.verizon.net] has joined #scheme 15:25:54 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 15:29:37 dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has joined #scheme 15:32:03 hotblack231 [~jh@p3E9EFAA0.dip.t-dialin.net] has joined #scheme 15:33:36 -!- hotblack23 [~jh@p5B30FEF5.dip.t-dialin.net] has quit [Ping timeout: 240 seconds] 15:36:44 mmc [~michal@82-148-210-75.fiber.unet.nl] has joined #scheme 15:42:14 ymasory_ [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has joined #scheme 15:43:44 masm [~masm@bl19-153-57.dsl.telepac.pt] has joined #scheme 15:46:26 -!- ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has quit [Ping timeout: 250 seconds] 15:46:45 -!- ymasory_ is now known as ymasory 16:01:53 -!- Kovensky [~kovensky@abraxo.bluebottle.net.au] has quit [Ping timeout: 258 seconds] 16:08:32 -!- dnolen [~davidnole@pool-68-161-126-7.ny325.east.verizon.net] has quit [Ping timeout: 250 seconds] 16:15:13 dnolen [~davidnole@pool-70-23-71-96.ny325.east.verizon.net] has joined #scheme 16:15:36 Kovensky [~kovensky@abraxo.bluebottle.net.au] has joined #scheme 16:16:30 Ragnaroek [~chatzilla@p5B0C51B6.dip.t-dialin.net] has joined #scheme 16:19:21 -!- Ragnaroek [~chatzilla@p5B0C51B6.dip.t-dialin.net] has quit [Remote host closed the connection] 16:19:50 -!- dnolen [~davidnole@pool-70-23-71-96.ny325.east.verizon.net] has quit [Client Quit] 16:43:36 kenjin2201 [~kenjin@58.230.108.42] has joined #scheme 16:54:41 ivartj_: well, if you redefine a parameter with (define foo (make-parameter 23)) then it is the same as an ordinary define... and will get reset upon reloading your code 16:58:12 -!- pygospa [~TheRealPy@kiel-5f77bc29.pool.mediaWays.net] has quit [Disconnected by services] 16:58:24 pygospa [~TheRealPy@kiel-5f77b187.pool.mediaWays.net] has joined #scheme 16:58:51 rpg [~rpg@216.243.156.16.real-time.com] has joined #scheme 16:59:08 monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has joined #scheme 17:06:01 -!- Tippenein [~chatzilla@97.65.218.14] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 3.6.16/20110319135224]] 17:16:37 blueadept [~blueadept@unaffiliated/blueadept] has joined #scheme 17:20:12 TippenEin [~chatzilla@97.65.218.3] has joined #scheme 17:22:24 -!- ASau [~user@93-80-248-41.broadband.corbina.ru] has quit [Ping timeout: 240 seconds] 17:26:41 -!- gravicappa [~gravicapp@ppp91-77-188-208.pppoe.mtu-net.ru] has quit [Ping timeout: 252 seconds] 17:30:09 saiko-chriskun [~chris-kun@fsf/member/saiko-chriskun] has joined #scheme 17:34:35 -!- pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has quit [Ping timeout: 248 seconds] 17:35:25 -!- alexgordon| is now known as alexgordon 17:36:04 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Ping timeout: 250 seconds] 17:49:01 -!- yell0 [yello@unaffiliated/contempt] has quit [Remote host closed the connection] 17:53:07 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Ping timeout: 260 seconds] 18:02:14 realitygrill [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has joined #scheme 18:02:19 Nisstyre [~nisstyre@infocalypse-net.info] has joined #scheme 18:13:53 -!- ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has quit [Remote host closed the connection] 18:16:28 pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has joined #scheme 18:19:37 gravicappa [~gravicapp@ppp91-77-188-208.pppoe.mtu-net.ru] has joined #scheme 18:23:30 Caleb-- [thedude@109.64.208.190] has joined #scheme 18:23:32 hi 18:25:15 Blkt [~user@net-93-145-56-141.cust.dsl.teletu.it] has joined #scheme 18:26:12 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 18:26:30 nteon [~nteon@c-98-210-195-105.hsd1.ca.comcast.net] has joined #scheme 18:36:11 XTL, good heavens! is fifteen years old. How did you come across that particular revision, and not, say, ? 18:36:11 http://tinyurl.com/3r8nc6r 18:36:12 http://tinyurl.com/6zal7bh 18:37:56 Fifteen? 18:38:01 Twenty-five! 18:38:23 Geesh, we're already into the second decade of this century. Not fair. 18:40:21 Riastradh: First thing I hit somehow, probably because of some oddity in the search function 18:40:42 Didn't check the date, apparently :-/ 18:44:31 -!- saiko-chriskun [~chris-kun@fsf/member/saiko-chriskun] has quit [Quit: WeeChat 0.3.4] 18:45:11 -!- em [~em@unaffiliated/emma] has quit [Ping timeout: 240 seconds] 18:45:31 -!- Blkt [~user@net-93-145-56-141.cust.dsl.teletu.it] has quit [Ping timeout: 252 seconds] 18:51:02 -!- Caleb-- [thedude@109.64.208.190] has quit [] 18:58:12 -!- Riastradh [debian-tor@fsf/member/riastradh] has quit [Remote host closed the connection] 19:04:05 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 19:17:52 rudybot: (use srfi-69) 19:17:52 rien: your r5rs sandbox is ready 19:17:52 rien: error: reference to an identifier before its definition: use in module: 'program 19:17:57 Bahman [~Bahman@2.144.219.234] has joined #scheme 19:18:05 rudybot: (define h (make-hash-table)) 19:18:05 rien: error: reference to an identifier before its definition: make-hash-table in module: 'program 19:18:24 rudybot: (require srfi-69) 19:18:24 rien: error: reference to an identifier before its definition: require in module: 'program 19:18:30 Hi all! 19:18:35 o/ 19:18:58 rudybot: (require-extension srfi-69) 19:18:58 rien: error: reference to an identifier before its definition: require-extension in module: 'program 19:19:21 incubot: (use srfi-69) 19:19:21 Error: unbound variable: srfi-69 19:19:32 incubot: (define h (make-hash-table)) 19:19:33 # 19:19:35 emma [~em@unaffiliated/emma] has joined #scheme 19:20:02 incubot: (let ((g (gensym 'blah))) (hash-table-set! h g "something")) 19:20:02 Error: unbound variable: h 19:20:48 lol 19:22:28 -!- svankiE [k@host153.190-230-123.telecom.net.ar] has quit [Ping timeout: 240 seconds] 19:23:06 incubot: (let* ((h (make-hash-table)) (g (gensym 'blah))) (hash-table-set! h g "something") (hash-table->alist h) (let ((g2 g)) (hash-table-ref h g2))) 19:23:06 something 19:23:53 why can't I do (hash-table-ref h 'blah21) ;; when (gensym 'blah) returns blah21 ? 19:25:45 Probably because GENSYM returns an uninterned symbol. 19:27:00 I'm ashamed to say I skipped "interned symbols" on my lisp readings... 19:27:12 so I'll have to roll my own gensym if I want to achieve that functionality? 19:27:32 -!- TippenEin [~chatzilla@97.65.218.3] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 3.6.13/20101203075014]] 19:27:34 -!- emma is now known as em 19:27:41 What is it that you want? Generally GENSYM is a mistake. 19:33:07 I want to add items to a hash-table but I don't care what their names are as long as they never collide 19:33:25 ...Why? 19:33:30 I mean, as long as the names are not the same. if the actual placement in the table collides, I don't care. 19:33:30 geoffhill [~geoffhill@wireless-165-124-145-224.nuwlan.northwestern.edu] has joined #scheme 19:34:08 do you still want to know why or were you think I cared about hash collisions? 19:34:14 thinking* 19:34:17 I still want to know why. 19:35:20 ok. it's a Tk the GUI toolkit) application, I'll be generating shapes on a canvas on demand, and I'll attribute some information to each shape. 19:35:49 the way to fetch that information is to pass the name of the shape to a hash-table 19:37:17 Intensity [GcftspiTkh@unaffiliated/intensity] has joined #scheme 19:38:16 when a shape is clicked, Tk tells me the name (actually, the tag) of the shape clicked. I'll use that to retrieve the info attached to that shape from the hash-table 19:38:35 ASau [~user@93-80-248-41.broadband.corbina.ru] has joined #scheme 19:40:06 so, any suggestions besides using a hash-table and rolling my own gensym? 19:40:28 and why do you need gensym? 19:41:43 I need some gensym, even if it just returns numbers sequentially 19:42:53 rien: to get ids for the tk controls? 19:43:46 to assign ids, I think. each shape will have say a string associated with it. I need to retrive that string when the shape is clicked 19:45:03 (define number-gen (let ((n 0)) (lambda () (set! n (add1 n)) n))) 19:45:04 this? 19:46:17 something like that, that allows me to add a string to it, and returns a symbol instead. so (gensym 'hey) => 'hey23 19:46:41 and why do you need a symbol again? sorry I am confused 19:46:44 I can code that, but the question that Riastradh was asking was probably if that's really necessary 19:46:56 -!- gravicappa [~gravicapp@ppp91-77-188-208.pppoe.mtu-net.ru] has quit [Ping timeout: 250 seconds] 19:47:10 I find that most of the time using system dictionary as hash table is very bad idea. 19:47:55 what would you use instead? 19:48:05 Use string hash table. 19:48:19 If you really want to enforce strings uniqueness. 19:48:31 System dictionary? What is that, and how did that get involved? 19:48:47 In scheme you call it symbol table, most probably. 19:48:49 rien, you're omitting a lot of context. 19:49:31 rien, I don't know what a `shape' is in this context, what information you have to store and why, and what this has to do with Tk. 19:49:34 Riastradh: I didn't mean to. 19:49:49 plus I don't know what a system dictionary is either, heh 19:50:11 symbol table. 19:50:31 How did the symbol table get involved? 19:50:35 What contains all symbols there? 19:50:39 as I understood you are communicating with a thing that references elements by an id which you want to look up somehow and guaranee that this id is unique for your program 19:50:42 I still fail to see how (hash-table-set! 'blah) is importantly different from (hash-table-set! "blah") 19:51:17 Step back a moment, rien. Forget symbols and hash tables and strings and GENSYM and counters. What is the problem you are trying to solve of which you believe they are a subproblem? 19:52:18 This is it: I'll be drawing shapes (rectangles, triangles, etc) on a canvas. they each have a unique id. when clicked, a shape will return a string associated with it (for example - but it's really more data than just a string). 19:53:02 How does a shape `return' something? Is a shape a control flow entity? 19:53:38 it'll print the associated information to the screen, say. 19:54:33 I *suspect* that you're trying to say, `When the user presses the mouse button while the cursor is pointing at any of a certain set of pixels on the screen, Tk will call some callback with some particular set of arguments that depends on the set of pixels.' But it's not entirely clear that that is what you're trying to say. 19:55:57 I think the problem is that rien creates Tk objects, which Scheme can handle as anonymous ones while Tk requires some identifier. 19:56:21 I'll simplify. there's a triangle and a circle on the screen, plus a textbox. when you click the triangle the textbox says "triangle", when you click the circle it says "circle". However, there'll be many more than two shapes, and the data on the textbox will be less trivial than the name of the shape. 19:56:24 I have no idea what the Tk API looks like, so I'm in the dark here about what needs names and what has names and how you refer to objects. 19:56:38 rien, you're oversimplifying and stripping everything important from what's going on. 19:56:49 ASau: I can choose to name the Tk object, or rather, I can choose to tag it with a string. 19:57:16 Describe what tools you have to work with, and what ends you want to achieve with those tools, and how you are currently trying to do so. 19:57:31 Riastradh: it's really just that, but scaled up. So instead of just returning the name of the shape, in actuality I'll be getting the coordinates too, the color, etc 19:57:32 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 19:58:27 For example, `I have a procedure DRAW-CLICKABLE-SHAPE that takes a list of points, a colour, and a procedure, and draws a shape on the screen enclosed by the polygon with the given points, so that when the user clicks on the region, something will call that procedure with zero arguments. I want to ______, so I'm trying to _______.' 19:59:20 rien: I think that you should use strings for that. 19:59:35 First of all, you do need strings rather than symbols, 20:00:02 second, GC doesn't play nice with symbols. 20:00:12 The use of strings versus symbols is almost certainly immaterial in this context. 20:00:22 GCs that don't collect unreferenced symbols are broken. 20:01:18 Riastradh: "I want to be able to retrieve the list of points and the color, so I'm trying to think of what's the best way to store that information, given that when a shape is clicked, all that the procedure that is called is given is the name of the shape clicked" 20:01:45 Riastradh: everything you said first is right except that the procedure is of arity 1, and what's passed to it is the name of the shape 20:02:02 ASau: I never knew there was an issue with collecting symbols 20:02:38 What do names have to do with anything here? (draw-clickable-shape '((1 2) (3 4) (5 6)) (lambda ignore (replace-text the-text-box "I'm the triangle!"))) 20:03:22 Riastradh: the fact that the "I'm the triangle" string is editable by the user :) 20:03:45 so now you see I need some kind of store 20:03:52 -!- alexgordon is now known as alexgordon| 20:04:25 I still don't know what tools you have at your disposal, if not DRAW-CLICKABLE-SHAPE. 20:04:32 Show some code! 20:04:39 It doesn't have to work; explain the part that's inconsistent if it doesn't. 20:05:17 -!- em [~em@unaffiliated/emma] has quit [Ping timeout: 276 seconds] 20:05:31 ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has joined #scheme 20:07:04 Riastradh: I think you got to the core of the problem. Say the string is editable. Do you see now that we need a way to store that so that it can be retrieved when the shape is clicked? 20:08:21 I don't think the code I have will shed any new light, but here it is in case I'm wrong: http://pastebin.ca/2052332 20:08:26 No. (define the-shape-text "I'm the triangle!") (draw-clickable-shape '((1 2) (3 4) (5 6)) (lambda ignore (replace-text the-text-box the-shape-text))) (set! the-shape-text "Ha! Tricked you! I'm not actually a triangle.") 20:09:20 oh. then what's missing is for me to tell you that the program needs to be able to collect all of the strings, to save to a file. 20:09:46 and also, there'll be hundreds of shapes on the screen. 20:12:22 svankiE [~k@190.195.71.140] has joined #scheme 20:12:25 -!- githogori [~githogori@adsl-66-123-22-146.dsl.snfc21.pacbell.net] has quit [Ping timeout: 260 seconds] 20:15:21 k [~k@190.195.71.140] has joined #scheme 20:15:32 -!- alexgordon| is now known as alexgordon 20:15:47 -!- k is now known as Guest90563 20:16:07 -!- svankiE [~k@190.195.71.140] has quit [Disconnected by services] 20:16:16 -!- Guest90563 is now known as svankiE 20:16:57 -!- svankiE [~k@190.195.71.140] has quit [Client Quit] 20:17:27 svankiE [~k@190.195.71.140] has joined #scheme 20:17:40 -!- pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has quit [Ping timeout: 260 seconds] 20:18:31 -!- svankiE [~k@190.195.71.140] has quit [Client Quit] 20:19:01 svankiE [~k@190.195.71.140] has joined #scheme 20:21:03 gravicappa [~gravicapp@ppp91-77-188-208.pppoe.mtu-net.ru] has joined #scheme 20:21:11 jrt4 [~jrtaylori@207-118-45-56.dyn.centurytel.net] has joined #scheme 20:22:04 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has left #scheme 20:22:12 incubot: (define *gensym-counter* 0) (define (gensymbol sym) (set! *gensym-counter* (+ 1 *gensym-counter*)) (string->symbol (string-append (symbol->string sym) (number->string *gensym-counter*)))) (gensymbol 'blah) 20:22:12 blah1 20:22:19 there we go 20:22:56 not so much different from where we started 20:23:03 -!- kenjin2201 [~kenjin@58.230.108.42] has quit [Remote host closed the connection] 20:24:10 I guess :) 20:32:01 EbiDK [3e6b7ac3@gateway/web/freenode/ip.62.107.122.195] has joined #scheme 20:43:10 -!- EarlGray [~dmytrish@inherent.puzzler.volia.net] has quit [Ping timeout: 246 seconds] 20:43:15 mejja [~user@c-0eb9e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 20:44:55 EarlGray [~dmytrish@inherent.puzzler.volia.net] has joined #scheme 20:46:34 em [~em@unaffiliated/emma] has joined #scheme 20:46:48 vilfredo [~wilfred@cpc11-woki6-2-0-cust239.6-2.cable.virginmedia.com] has joined #scheme 20:48:58 saiko-chriskun [~chris-kun@fsf/member/saiko-chriskun] has joined #scheme 20:52:41 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Ping timeout: 240 seconds] 20:56:06 Ragnaroek_ [~chatzilla@p5B0C51B6.dip.t-dialin.net] has joined #scheme 21:04:54 -!- svankiE [~k@190.195.71.140] has quit [] 21:20:37 -!- superjudge [~superjudg@c83-250-110-188.bredband.comhem.se] has quit [Quit: superjudge] 21:34:30 -!- saiko-chriskun [~chris-kun@fsf/member/saiko-chriskun] has quit [Quit: WeeChat 0.3.4] 21:37:22 -!- jrt4 [~jrtaylori@207-118-45-56.dyn.centurytel.net] has quit [Read error: Operation timed out] 21:37:48 jrt4 [~jrtaylori@207-118-45-56.dyn.centurytel.net] has joined #scheme 21:39:05 dnolen [~davidnole@pool-70-23-71-96.ny325.east.verizon.net] has joined #scheme 21:46:52 -!- Ragnaroek_ [~chatzilla@p5B0C51B6.dip.t-dialin.net] has quit [Ping timeout: 246 seconds] 21:47:45 jewel [~jewel@196-215-117-56.dynamic.isadsl.co.za] has joined #scheme 21:55:59 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 276 seconds] 21:57:09 -!- hotblack231 [~jh@p3E9EFAA0.dip.t-dialin.net] has quit [Quit: Leaving.] 21:59:41 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Ping timeout: 276 seconds] 22:04:40 -!- dnolen [~davidnole@pool-70-23-71-96.ny325.east.verizon.net] has quit [Quit: dnolen] 22:11:40 Nisstyre [~nisstyre@infocalypse-net.info] has joined #scheme 22:14:16 homie` [~levgue@xdsl-78-35-133-238.netcologne.de] has joined #scheme 22:15:39 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Max SendQ exceeded] 22:15:59 -!- homie [~levgue@xdsl-78-35-152-108.netcologne.de] has quit [Ping timeout: 252 seconds] 22:16:26 -!- jewel [~jewel@196-215-117-56.dynamic.isadsl.co.za] has quit [Ping timeout: 250 seconds] 22:16:38 ijp [~user@host109-154-194-141.range109-154.btcentralplus.com] has joined #scheme 22:17:50 cyberspace_ [20253@ninthfloor.org] has joined #scheme 22:18:08 -!- cyberspace_ [20253@ninthfloor.org] has quit [Client Quit] 22:18:40 Nisstyre [~nisstyre@infocalypse-net.info] has joined #scheme 22:18:40 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Client Quit] 22:18:58 Nisstyre [~nisstyre@infocalypse-net.info] has joined #scheme 22:25:44 X-Scale [email@89.180.157.54] has joined #scheme 22:30:45 -!- mejja [~user@c-0eb9e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 4.0.1/20110413222027]] 22:38:37 -!- Bahman [~Bahman@2.144.219.234] has quit [Quit: Zzz] 22:39:04 -!- gravicappa [~gravicapp@ppp91-77-188-208.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 22:44:58 -!- nteon [~nteon@c-98-210-195-105.hsd1.ca.comcast.net] has quit [Read error: Operation timed out] 22:51:11 dnolen [~davidnole@184.152.69.75] has joined #scheme 22:54:59 githogori [~githogori@76.sub-75-210-243.myvzw.com] has joined #scheme 23:11:34 what kind of problem can it be when I pass `(,do-it 10 10 "blah blah") to some library function I have no access to, and that function, when it executes that thunk, returns ((x . 10) (y . 10) (str blah blah)) instead of ((x . 10) (y . 10) (str . "blah blah")) ? 23:12:22 do-it takes x y str and returns (list `(x . ,x) `(y . ,y) `(str . ,str)) 23:13:05 I've tried it on the repl and I can never make it return ...(str blah blah)), it always correctly returns ...(str . "blah blah")) 23:13:46 I can't parse your sentence. Use fewer clauses. 23:14:46 It sounds like STR is the list (BLAH BLAH) rather than the string "blah blah" when you're constructing the list. But it's not clear to me what's going on, because a `thunk' is usually a nullary procedure. 23:15:35 yeah, thunk is maybe not the best word here. I'm talking about one of these: (# 1 2 3) where 1 2 3 are the arguments. 23:15:45 A procedure? 23:16:23 incubot: `(,list 10 10 "blah blah") 23:16:23 (# 10 10 blah blah) 23:16:25 like that 23:16:40 -!- githogori [~githogori@76.sub-75-210-243.myvzw.com] has quit [Ping timeout: 250 seconds] 23:16:44 see, it did it now... it broke the string! 23:17:02 Looks like incubutt is using DISPLAY rather than WRITE. 23:17:06 incubot: (display '("blah blah")) 23:17:06 (blah blah)# 23:17:10 incubot: (write '("blah blah")) 23:17:10 ("blah blah")# 23:17:33 well, then this Tk library is also using display. *sigh*. Any way to go around that? 23:17:48 short of modifying the library :) 23:18:57 how can (display) totally ignore my string and just break it like that? is it supposed to do that? 23:19:55 incubot: `(,list 10 10 3 ,(string-append "a" "b")) 23:19:55 (# 10 10 3 ab) 23:21:00 incubot: `(,list 10 10 3 ,(symbol->string (string-append "a" "b"))) 23:21:01 Error: (symbol->string) bad argument type - not a symbol: "ab" 23:21:20 incubot: you're telling me that's not a symbol? 23:21:24 I'm not telling you what to do 23:22:43 incubot: `(,list 10 10 "blah . blah") 23:22:44 (# 10 10 blah . blah) 23:24:54 DISPLAY is designed to do that. 23:24:58 -!- EbiDK [3e6b7ac3@gateway/web/freenode/ip.62.107.122.195] has quit [Quit: Page closed] 23:24:59 incubot: (display "foo") 23:24:59 foo# 23:25:18 that's very surprising 23:26:25 incubot: (display `(,list 10 10 3 #\" "het . het" #\")) ;; :P 23:26:26 (# 10 10 3 " het . het ")# 23:27:03 Why is it surprising? 23:27:12 What did you expect DISPLAY to do? Behave identically to WRITE? 23:28:51 saiko-chriskun [~chris-kun@fsf/member/saiko-chriskun] has joined #scheme 23:28:55 I'm not surprised that display does something different from write. I'm surprised that there is a function that takes a list of values and breaks the strings inside that list into its spaces, while letting numbers and procedures escape unscathed. 23:29:33 I'm trying to think of a situation where I'd want a function to break my string into its spaces behind my back :/ 23:31:27 actually, I'm surprised that there's a way for "display" to show procedures and numbers, but not strings. why is that? 23:32:44 erider [~chatzilla@unaffiliated/erider] has joined #scheme 23:33:55 does anyone know if there is a framework in scheme for malware analysis? 23:33:56 `WRITE is intended for producing machine-readable output and DISPLAY is for producing human-readable output.' 23:34:15 -!- wingo [~wingo@90.164.198.39] has quit [Ping timeout: 260 seconds] 23:34:47 how was it decided that # is human-readable but "a sentence" isn't? 23:35:04 that's the source of my astonishment 23:35:10 -!- ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has quit [Quit: Leaving] 23:35:37 How would you like it to be printed? 23:36:18 Chances are that any particular prescription of how it should be printed has consequences that are not generally acceptable. For example, it might require preserving names or source code in the program. 23:37:02 If I say "a sentence" you'll tell me that it then would behave just like "write". I already find "write" human-readable. but instead, I'll say that "display" can print "a sentence" however it wants, as long as it gives me another way to make it display "a sentence" and have that be considered one stirng 23:37:07 string* 23:37:42 I understand what you're saying, but you have to grant the fact that "display" has banished strings 23:38:10 by similar logic it has banished chars 23:38:22 what if display always printed "three" when passed 3, or "thirty-two" when passed 32 ? 23:38:50 incubot: (display `(,list 10 #\")) 23:38:50 (# 10 ")# 23:38:57 ijp: ^ indeed it has 23:39:08 the important thing to remember about output from DISPLAY is that it is not supposed to be READ 23:39:25 but what about the REDL? 23:39:31 Banished strings? 23:39:35 ijp: somebody should tell that to the folks that wrote the Tk egg ;) 23:40:07 What part of this Tk egg uses DISPLAY? Does it expect to read what it displays back in? 23:41:03 Riastradh: I've taken a look at the source, it seems to only use display once, and I'm still trying to understand the context to verify that display is indeed the culprit here. 23:42:51 Riastradh: what I can report so far is that I am passing `(,do-it 10 "a string here") to a Tk function and when I get it back and (write) it to the console it writes ... a string here)) 23:44:18 What is it using DISPLAY for? Stop stripping information off your questions! It's frustrating. It's like pulling teeth. 23:46:12 `Hi, I have this veeblefitzer that isn't behaving as I behave. I won't tell you what the veeblefitzer is doing, but when I turn this crank, sausages come out the nozzle. I was hoping beer would come out the nozzle. Can you tell me what I'm doing wrong?' 23:46:27 s/as I behave/as I expect/1 23:47:38 Riastradh: http://pastebin.ca/2052389 23:47:47 that's the only occurrence of display not inside a debug conditional 23:49:00 -!- joast [~rick@76.178.178.72] has quit [Quit: Leaving.] 23:49:56 The intent there is that you should pass strings to the WISH procedure so that their contents will be passed literally to the Tcl shell. 23:51:05 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 23:53:11 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 240 seconds] 23:53:32 hmm that makes sense, since Tcl homoiconic on strings, like Scheme is on lists 23:54:21 that helps. thanks :) 23:58:30 -!- saiko-chriskun [~chris-kun@fsf/member/saiko-chriskun] has quit [Read error: Operation timed out]