00:07:26 -!- hotblack23 [~jh@p4FC5B8DE.dip.t-dialin.net] has quit [Quit: Leaving.] 00:12:24 MononcQc [~ferd@modemcable062.225-20-96.mc.videotron.ca] has joined #scheme 00:18:27 bokr [~eduska@95.154.102.124] has joined #scheme 00:37:20 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Remote host closed the connection] 00:41:17 -!- fradgers- [~fradgers-@5ad4c06e.bb.sky.com] has left #scheme 00:44:18 -!- chittoor [~chittoor@listertech.in] has quit [Quit: Leaving] 00:56:04 -!- Mr-Cat [~Mr-Cat@bahirkin1507.static.corbina.ru] has quit [Quit: Ex-Chat] 01:10:11 -!- eldragon [~eldragon@84.79.67.254] has quit [Read error: Connection reset by peer] 01:11:14 offby1 [~user@q-static-138-125.avvanta.com] has joined #scheme 01:11:18 -!- offby1 [~user@q-static-138-125.avvanta.com] has quit [Changing host] 01:11:18 offby1 [~user@pdpc/supporter/monthlybyte/offby1] has joined #scheme 01:11:52 -!- mario-goulart [~user@67.205.85.241] has quit [Remote host closed the connection] 01:12:11 sstrickl [~sstrickl@pool-68-160-0-94.bos.east.verizon.net] has joined #scheme 01:12:50 eldragon [~eldragon@84.79.67.254] has joined #scheme 01:12:54 eldragon_ [~eldragon@84.79.67.254] has joined #scheme 01:13:33 Colloguy [~flx@64.134.19.223] has joined #scheme 01:14:57 -!- eldragon_ [~eldragon@84.79.67.254] has quit [Read error: Connection reset by peer] 01:27:14 arcfide [arcfide@adsl-99-50-224-173.dsl.bltnin.sbcglobal.net] has joined #scheme 01:34:51 -!- fabe [~fabe@p54A7E248.dip.t-dialin.net] has quit [Ping timeout: 265 seconds] 01:35:10 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 01:35:18 fabe [~fabe@p54A7F44C.dip.t-dialin.net] has joined #scheme 01:35:25 foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has joined #scheme 01:38:14 -!- saint_cypher [~saint_cyp@adsl-99-2-72-93.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 265 seconds] 02:00:47 -!- fabe [~fabe@p54A7F44C.dip.t-dialin.net] has quit [Remote host closed the connection] 02:03:05 -!- Colloguy [~flx@64.134.19.223] has quit [Ping timeout: 276 seconds] 02:04:56 adu [~ajr@pool-74-96-89-29.washdc.fios.verizon.net] has joined #scheme 02:09:38 -!- dfkjjkfd [~paulh@82-13-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 02:10:13 -!- attila_lendvai [~ati@adsl-89-132-54-34.monradsl.monornet.hu] has quit [Ping timeout: 276 seconds] 02:11:29 Checkie [12433@unaffiliated/checkie] has joined #scheme 02:16:41 -!- MrFahrenheit [~RageOfTho@users-33-187.vinet.ba] has quit [Ping timeout: 240 seconds] 02:19:58 Mr_Awesome [~eric@pool-72-69-240-30.chi01.dsl-w.verizon.net] has joined #scheme 02:32:00 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 02:35:56 -!- bzzbzz [~franco@modemcable240.34-83-70.mc.videotron.ca] has quit [Quit: leaving] 02:36:35 reprore_ [~reprore@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 02:47:53 -!- Checkie [12433@unaffiliated/checkie] has quit [Quit: HydraIRC -> http://www.hydrairc.com <- *I* use it, so it must be good!] 02:50:50 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Remote host closed the connection] 02:51:06 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 02:52:34 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 02:53:51 -!- bill_hager [~hager@c-98-231-14-62.hsd1.fl.comcast.net] has quit [Ping timeout: 245 seconds] 02:54:46 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Quit: Leaving] 02:58:59 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 03:15:42 phao [~phao@189.107.180.178] has joined #scheme 03:16:23 Checkie [11486@unaffiliated/checkie] has joined #scheme 03:21:21 kniu [~kniu@SHADYROUTE.RES.CMU.EDU] has joined #scheme 03:23:10 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 03:24:04 schemer999iphone [~schemerip@cpe-76-90-137-46.socal.res.rr.com] has joined #scheme 03:27:58 -!- foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has quit [Ping timeout: 246 seconds] 03:30:27 schemer999ipho-1 [~schemerip@166.205.136.165] has joined #scheme 03:32:18 -!- schemer999iphone [~schemerip@cpe-76-90-137-46.socal.res.rr.com] has quit [Ping timeout: 252 seconds] 03:33:34 -!- jmcphers [~jmcphers@218.185.108.156] has quit [Ping timeout: 246 seconds] 03:35:48 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 03:42:19 xwl [~user@123.115.118.27] has joined #scheme 03:52:49 timj__ [~timj@e176208125.adsl.alicedsl.de] has joined #scheme 03:53:17 -!- adu [~ajr@pool-74-96-89-29.washdc.fios.verizon.net] has quit [Quit: adu] 03:56:28 -!- timj_ [~timj@e176219149.adsl.alicedsl.de] has quit [Ping timeout: 265 seconds] 04:03:47 leppie [~lolcow@196-210-254-162.dynamic.isadsl.co.za] has joined #scheme 04:15:29 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Remote host closed the connection] 04:15:41 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 04:17:08 -!- Fabse [~mightyfid@wikipedia/Track-n-Field] has quit [] 04:19:18 -!- leppie [~lolcow@196-210-254-162.dynamic.isadsl.co.za] has quit [Ping timeout: 276 seconds] 04:31:19 dmoerner [~dmr@ppp-71-139-30-219.dsl.snfc21.pacbell.net] has joined #scheme 04:37:13 -!- dmoerner [~dmr@ppp-71-139-30-219.dsl.snfc21.pacbell.net] has quit [Remote host closed the connection] 04:55:15 -!- MononcQc [~ferd@modemcable062.225-20-96.mc.videotron.ca] has quit [Quit: leaving] 04:55:20 -!- proq [~user@unaffiliated/proqesi] has quit [Ping timeout: 276 seconds] 04:59:54 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Quit: Leaving] 05:00:17 jmcphers [~jmcphers@218.185.108.156] has joined #scheme 05:03:58 -!- schemer999ipho-1 [~schemerip@166.205.136.165] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi] 05:06:02 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 05:12:27 phax [~phax@unaffiliated/phax] has joined #scheme 05:23:46 -!- scheibo [~scheibo@129-97-249-183.uwaterloo.ca] has quit [Ping timeout: 264 seconds] 05:24:25 toekutr [~toekutr@adsl-69-107-143-127.dsl.pltn13.pacbell.net] has joined #scheme 05:28:39 -!- gtab2 [~gtab@h-149-70.A256.priv.bahnhof.se] has quit [Ping timeout: 240 seconds] 05:34:02 -!- phax [~phax@unaffiliated/phax] has quit [Quit: Leaving] 05:42:03 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Quit: Leaving] 06:08:01 -!- Mr_Awesome [~eric@pool-72-69-240-30.chi01.dsl-w.verizon.net] has quit [Ping timeout: 245 seconds] 06:10:33 Mr_Awesome [~eric@pool-72-69-240-30.chi01.dsl-w.verizon.net] has joined #scheme 06:19:26 -!- toekutr [~toekutr@adsl-69-107-143-127.dsl.pltn13.pacbell.net] has quit [Quit: Leaving] 06:24:47 nowhereman [~pierre@lec67-4-82-235-57-28.fbx.proxad.net] has joined #scheme 06:25:38 -!- nowhere_man [~pierre@lec67-4-82-235-57-28.fbx.proxad.net] has quit [Ping timeout: 248 seconds] 06:26:56 sphex [~nobody@modemcable072.42-37-24.mc.videotron.ca] has joined #scheme 06:28:33 -!- sphex_ [~nobody@modemcable072.42-37-24.mc.videotron.ca] has quit [Read error: Operation timed out] 06:45:09 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Ping timeout: 240 seconds] 06:48:20 -!- snorble [~none@s83-179-14-105.cust.tele2.se] has left #scheme 06:57:05 -!- kniu [~kniu@SHADYROUTE.RES.CMU.EDU] has quit [Read error: Operation timed out] 07:07:12 thedayturns [~grant@171.66.107.129] has joined #scheme 07:11:18 hi, total scheme noob here, so tell me if what im saying doesn't make any sense. basically, im trying to write a program to naively find the biggest divisor of a number. basically i want to keep recursing until i hit sqrt(n), then go back down the stack until i find somewhere where (modulo n cur) was 0, then return at that point with that number. now two questions. 1) does what i say even make sense? 2) how do i differentiate between the two different 07:11:18 types of returns? on one, i want to keep going down the recursive stack i made, but on the other, i want to get out of it. 07:12:04 oh, and if that's impossible, that would be nice to know too. :P 07:12:12 Note that the biggest divisor of n is n 07:12:27 Think carefully. 07:12:36 i phrased the question wrong 07:12:55 largest prime factor of n 07:12:57 If you want the biggest prime divisor, the easiest way is to completely factor it 07:13:13 ok 07:13:17 That involves somewhat "more" recursion 07:13:27 but on a theoretical level, im curious if there's a way to do what i wanted 07:15:18 Yes. 07:15:27 how would that be? :) 07:16:19 I suggest a not-too-old book on "elementary number theory" 07:17:00 erm - i meant, i was curious how to pop (i might be confusing terminology here) out of the recursive stack 07:17:35 That involves the concept of a continuation 07:17:53 Either using proper continuations, or CPS 07:18:42 aha! thank you! 07:22:23 leppie [~lolcow@196-210-254-162.dynamic.isadsl.co.za] has joined #scheme 07:23:27 -!- Fare [~Fare@c-24-218-127-11.hsd1.ma.comcast.net] has quit [Quit: Leaving] 07:25:40 http://www.muppetlabs.com/~breadbox/bf/factor.b.txt 07:29:12 ah, even written in my favorite language 07:29:29 It's so elegant and concise 07:29:44 oh yeah 07:29:48 practically self documenting 07:32:29 -!- luz [~davids@201.37.225.185] has quit [Quit: Client exiting] 07:45:42 SharkBrain [~gerard@118-93-79-120.dsl.dyn.ihug.co.nz] has joined #scheme 07:47:00 bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has joined #scheme 07:57:39 -!- xwl [~user@123.115.118.27] has quit [Ping timeout: 240 seconds] 07:57:49 sepult [~user@xdsl-87-78-102-171.netcologne.de] has joined #scheme 08:24:00 Jafet1 [~Jafet@unaffiliated/jafet] has joined #scheme 08:24:41 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 245 seconds] 08:25:31 -!- Jafet1 is now known as Jafet 08:37:37 glogic [~rm@174.143.215.45] has joined #scheme 08:38:00 Nshag [user@lns-bzn-60-82-254-216-20.adsl.proxad.net] has joined #scheme 08:42:28 kar8nga [~kar8nga@jol13-1-82-66-176-74.fbx.proxad.net] has joined #scheme 08:44:04 pavelludiq [~quassel@91.139.196.209] has joined #scheme 09:03:15 TR2N [email@89.180.157.14] has joined #scheme 09:36:46 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 245 seconds] 09:40:02 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 09:41:47 fradgers- [~fradgers-@5ad4c06e.bb.sky.com] has joined #scheme 09:48:53 -!- phao [~phao@189.107.180.178] has left #scheme 09:53:42 melba [~blee@unaffiliated/lazz0] has joined #scheme 09:54:37 -!- drwho [~drwho@c-71-225-11-30.hsd1.pa.comcast.net] has quit [Ping timeout: 265 seconds] 10:04:19 HexRex [~hex@c-24-245-20-150.hsd1.mn.comcast.net] has joined #scheme 10:04:41 -!- SharkBrain [~gerard@118-93-79-120.dsl.dyn.ihug.co.nz] has quit [Ping timeout: 245 seconds] 10:10:01 -!- jmcphers [~jmcphers@218.185.108.156] has quit [Remote host closed the connection] 10:11:46 -!- PygoscelisPapua [~pygospa@f055115163.adsl.alicedsl.de] has quit [Ping timeout: 264 seconds] 10:13:12 PygoscelisPapua [~pygospa@f055120008.adsl.alicedsl.de] has joined #scheme 10:21:17 -!- reprore_ [~reprore@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 10:22:31 reprore [~reprore@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 10:37:52 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 10:37:56 -!- kar8nga [~kar8nga@jol13-1-82-66-176-74.fbx.proxad.net] has quit [Remote host closed the connection] 10:39:28 -!- incubot [incubot@klutometis.wikitex.org] has quit [Remote host closed the connection] 10:44:33 incubot [~incubot@klutometis.wikitex.org] has joined #scheme 10:57:39 foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has joined #scheme 11:00:39 attila_lendvai [~ati@adsl-89-132-54-34.monradsl.monornet.hu] has joined #scheme 11:14:37 bill_hager [~hager@c-98-231-14-62.hsd1.fl.comcast.net] has joined #scheme 11:15:39 fabe [~fabe@p54A7F44C.dip.t-dialin.net] has joined #scheme 11:24:38 -!- mreggen [~mreggen@cm-84.215.18.49.getinternet.no] has quit [Quit: leaving] 11:30:31 -!- foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has quit [Ping timeout: 245 seconds] 11:31:34 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 264 seconds] 11:32:19 attila_lendvai_ [~ati@adsl-89-132-54-34.monradsl.monornet.hu] has joined #scheme 11:33:44 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 11:35:40 -!- attila_lendvai [~ati@adsl-89-132-54-34.monradsl.monornet.hu] has quit [Ping timeout: 258 seconds] 11:46:47 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Ping timeout: 258 seconds] 11:54:08 -!- attila_lendvai_ is now known as attila_lendvai 11:59:36 -!- bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has quit [Quit: bombshelter13b] 12:12:09 foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has joined #scheme 12:19:41 kar8nga [~kar8nga@jol13-1-82-66-176-74.fbx.proxad.net] has joined #scheme 12:20:06 -!- sstrickl [~sstrickl@pool-68-160-0-94.bos.east.verizon.net] has quit [Ping timeout: 245 seconds] 12:29:05 -!- reprore [~reprore@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 12:41:41 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 12:46:36 -!- kar8nga [~kar8nga@jol13-1-82-66-176-74.fbx.proxad.net] has quit [Remote host closed the connection] 12:48:50 bytecolor [~user@adsl-71-137-200-22.dsl.scrm01.pacbell.net] has joined #scheme 12:49:16 -!- bytecolor [~user@adsl-71-137-200-22.dsl.scrm01.pacbell.net] has left #scheme 12:56:20 -!- arcfide [arcfide@adsl-99-50-224-173.dsl.bltnin.sbcglobal.net] has quit [Quit: ircII EPIC4-2.8 -- Are we there yet?] 13:00:24 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 13:08:45 -!- fabe [~fabe@p54A7F44C.dip.t-dialin.net] has quit [Quit: Leaving] 13:08:52 fabe [~fabe@p54A7F44C.dip.t-dialin.net] has joined #scheme 13:25:19 -!- lisppaste [~lisppaste@common-lisp.net] has quit [Quit: Want lisppaste in your channel? Email lisppaste-requests AT common-lisp.net.] 13:25:22 lisppaste [~lisppaste@common-lisp.net] has joined #scheme 13:58:12 -!- blez [~hyper@ip-162-4-71-77.varnalan.net] has quit [Read error: Connection reset by peer] 14:11:30 -!- ASau [~user@83.69.227.32] has quit [Remote host closed the connection] 14:12:00 ASau [~user@83.69.227.32] has joined #scheme 14:27:07 sstrickl [~sstrickl@pool-151-199-38-120.bos.east.verizon.net] has joined #scheme 14:30:06 -!- xwl_ [~user@esprx01x.nokia.com] has quit [Ping timeout: 252 seconds] 14:51:20 -!- sstrickl [~sstrickl@pool-151-199-38-120.bos.east.verizon.net] has quit [Read error: Network is unreachable] 14:51:41 samth_ [~samth@c-65-96-168-99.hsd1.ma.comcast.net] has joined #scheme 14:51:42 xwl_ [~user@esprx01x.nokia.com] has joined #scheme 14:51:42 sstrickl [~sstrickl@pool-151-199-38-120.bos.east.verizon.net] has joined #scheme 14:52:25 -!- samth [~samth@punge.ccs.neu.edu] has quit [Disconnected by services] 14:52:29 -!- samth_ is now known as samth 14:52:43 samth_ [~samth@punge.ccs.neu.edu] has joined #scheme 15:03:51 -!- sstrickl [~sstrickl@pool-151-199-38-120.bos.east.verizon.net] has quit [Ping timeout: 245 seconds] 15:06:10 MrFahrenheit [~RageOfTho@users-33-252.vinet.ba] has joined #scheme 15:12:32 -!- TR2N [email@89.180.157.14] has left #scheme 15:14:25 -!- foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has quit [Ping timeout: 264 seconds] 15:15:10 kuribas [kristof@d54C4326F.access.telenet.be] has joined #scheme 15:16:18 sepult` [~user@xdsl-78-35-196-122.netcologne.de] has joined #scheme 15:18:26 -!- sepult [~user@xdsl-87-78-102-171.netcologne.de] has quit [Ping timeout: 245 seconds] 15:19:22 -!- eldragon [~eldragon@84.79.67.254] has quit [Read error: Connection reset by peer] 15:21:02 jsnikeris [~user@pool-96-245-129-111.phlapa.fios.verizon.net] has joined #scheme 15:21:57 Does anyone know what might cause a call to hash-ref to never return? 15:22:17 bzzbzz [~franco@modemcable240.34-83-70.mc.videotron.ca] has joined #scheme 15:23:37 It took the MTA 15:24:21 ? 15:24:35 Joke/ 15:24:36 ? 15:24:46 luz [~davids@201.37.225.185] has joined #scheme 15:25:23 yes, http://home.pipeline.com/~hbaker1/CheneyMTA.html#fn1 15:32:23 eldragon [~eldragon@84.79.67.254] has joined #scheme 15:32:24 its fate is still unlearned 15:34:28 mutable key? cycle introduced in a bucket? 15:34:29 alaricsp [~alaric@relief.warhead.org.uk] has joined #scheme 15:36:07 Daemmerung: So, a mutable key would be a key whose value could change, correct? 15:36:26 arcfide [arcfide@adsl-99-50-224-173.dsl.bltnin.sbcglobal.net] has joined #scheme 15:36:35 Good morning, y'all. 15:36:58 Well, the keys I'm using are symbols and lists of symbols 15:37:40 Are the lists mutable? 15:38:11 (I don't know which implementation you are using. These are shots in the dark.) 15:38:25 PLT-Scheme 15:38:42 To insert into the table I'm using: 15:38:55 (hash-set! *table* (list row col) value)) 15:38:59 where row and col are symbols 15:39:29 So, I just have to say a big woohoo! Cross-library optimization in Chez Scheme 8.0! :-D 15:41:02 Daemmerung: How might I introduce a cyle? 15:41:55 jsnikeris, it's unlikely that that hash-set! is actually looping 15:42:23 if everything there is a symbol, it's extremely unlikely 15:42:36 Yah, it is hash-ref that appears to be looping 15:43:33 that's pretty unlikely too 15:43:56 can you post a small example? 15:44:00 lisppaste, url 15:44:00 To use the lisppaste bot, visit http://paste.lisp.org/new/scheme and enter your paste. 15:44:57 Yah, I'll have to do a little work to make it small rather than the whole thing I"m working on 15:45:11 I'm working on the generic arithmetic package in SICP 15:45:24 Such is the nature of bugchasing. 15:45:34 *Daemmerung* recuses himself-- off to do chores 15:45:56 Ok. Will do. Thanks for the help so far. Please stand by. 15:49:55 chittoor [~chittoor@117.204.52.72] has joined #scheme 15:51:12 -!- saccade [~saccade@209-6-54-113.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Quit: This computer has gone to sleep] 15:54:59 scheibo [~scheibo@129-97-249-183.uwaterloo.ca] has joined #scheme 16:00:30 -!- chittoor [~chittoor@117.204.52.72] has quit [Quit: Leaving] 16:13:39 chittoor [~chittoor@117.204.52.72] has joined #scheme 16:21:29 -!- bokr [~eduska@95.154.102.124] has quit [Quit: Leaving.] 16:25:29 HG` [~HG@xdslff126.osnanet.de] has joined #scheme 16:33:46 MononcQc [~ferd@modemcable062.225-20-96.mc.videotron.ca] has joined #scheme 16:36:39 foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has joined #scheme 16:37:26 -!- HG` [~HG@xdslff126.osnanet.de] has quit [Quit: Leaving.] 16:38:52 schmir [~schmir@p54A901CA.dip0.t-ipconnect.de] has joined #scheme 16:45:02 -!- bzzbzz [~franco@modemcable240.34-83-70.mc.videotron.ca] has quit [Quit: leaving] 16:48:52 bzzbzz [~franco@modemcable240.34-83-70.mc.videotron.ca] has joined #scheme 16:55:18 -!- schmir [~schmir@p54A901CA.dip0.t-ipconnect.de] has quit [Ping timeout: 252 seconds] 16:57:15 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Remote host closed the connection] 16:57:30 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 17:07:17 -!- lisppaste [~lisppaste@common-lisp.net] has quit [Ping timeout: 246 seconds] 17:07:18 -!- minion [~minion@common-lisp.net] has quit [Ping timeout: 240 seconds] 17:07:26 -!- specbot [~specbot@common-lisp.net] has quit [Ping timeout: 258 seconds] 17:07:46 samth: You still there? 17:08:06 jsnikeris, yeah 17:08:59 did you manage to distill your bug? 17:09:05 I just tried posting to lisppaste, but right after I did so, it quit 17:09:25 lisppaste [~lisppaste@common-lisp.net] has joined #scheme 17:09:28 Well, I got it down to around 80 lines of code 17:09:51 great 17:10:39 if you can get lisppaste to work, do that, otherwise you can email me at samth AT ccs.neu.edu 17:11:24 jsnikeris pasted "Hash-ref not always returning" at http://paste.lisp.org/display/96957 17:14:31 jsnikeris, it's `get-coercion-funs' that's looping 17:14:50 to see this, add these two lines to the end of the module: 17:15:01 (require mzlib/trace) 17:15:01 (trace get-coercion-fns) 17:15:08 then run your looping example 17:15:48 it's calling itself with larger and larger data 17:16:12 Ok, let me investigate... 17:16:39 Maybe the problem I was having with hash-ref afterwards was because I was breaking in the middle of a hash-ref 17:16:52 maybe 17:18:36 also, your `map-fns' can be defined like this: (define (map-fns fns list) 17:18:36 (for/list ([f fns] [i list]) (f i))) 17:21:36 That's an odd way of writing (map (lambda (f i) (f i)) fns list) . 17:23:56 I believe that for/list guarantees L-to-R evaluation. Not that it matters here. 17:24:13 it might be fewer characters though :) 17:24:34 but not if you use unicode lambda 17:24:59 Fewer chars, but more bytes, in that case 17:25:26 nah, the unicode lambda is the same number of bytes - PLT uses UTF-32 internally 17:26:42 All those nul bytes help mzscheme run without overheating. 17:27:01 nul has a large surface-area-to-mass ratio, and thus dissipates heat efficiently 17:28:09 *Daemmerung* tries for a "like your mom" joke, fails 17:29:21 "oh, that's why your mom is always complaining about being cold" 17:29:35 Daemmerung, that implies that your mom is small, not large 17:29:59 samth: that's why the joke Failed 17:34:15 only Randall Munroe can save us now 17:39:37 chandler: One thing that bugs me about `map' and friends is the data coming last, which is even worse when there are multiple arguments and/or actual expressions that compute them. (map fns list (lambda (f i) (f i))) would be more readable, and `for/list' fixes that. 17:40:58 samth: I figured out the bug. Thanks so much for your help. 17:41:46 jsnikeris, what was it? 17:42:22 In apply-generic, after I coerced the arguments: 17:42:39 eli, i just wish that `for' was the name for `for/list', a la Clojure 17:42:41 I was calling apply-generic again like so: 17:42:49 (apply-generic op (map-fns coercion-fns args)) 17:43:17 When I should have been calling it like: 17:43:25 (apply apply-generic (cons op (map-fns coercion-fns args))) 17:43:47 you can just do (apply apply-generic op (map-fns coercion-fns args)) 17:43:51 no need for cons 17:44:00 dfkjjkfd [~paulh@82-13-ftth.onsnetstudenten.nl] has joined #scheme 17:44:37 (I don't think that SICP describes n-ary `apply'.) 17:44:49 Oh ok. So apply takes a variable number of arguments. 17:45:35 eli: That's never bothered me; I find the procedure-first `map' to read naturally. "Map over ." vs. "Map over ." 17:46:55 snearch [~olaf@e179134166.adsl.alicedsl.de] has joined #scheme 17:52:11 samth: That was one of the things I suggested at the time -- it would look like (for (...) (collect-list ...)), but it's difficult to do that right. 17:54:10 chandler: to clarify, something like (filter values (map (lambda (x) something) (sort l))) is more commonly read as "sort l, do something on each value, and take only the non-#f results of that". 17:54:23 Which is in the opposite order of how things are read. 17:55:35 eli, i'm suggesting that building lists should be the default, and just sequencing should require more typing 17:55:38 alvatar [~alvatar@100.119.20.95.dynamic.jazztel.es] has joined #scheme 17:58:41 samth: This would likely be confused over frequently. 17:58:54 Perhaps renaming `for' as `for/begin' would make sense though. 17:59:29 i don't see why it's any more confusing than having `map' work on lists by default 17:59:38 but the ship has already sailed on this 17:59:47 Then `for' would remain reserved for users, as in you doing (rename-in [for/list for]) 18:00:05 Well, `map' *is* confusing many people in exactly that way. 18:14:16 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 245 seconds] 18:15:09 toekutr [~toekutr@adsl-69-107-143-127.dsl.pltn13.pacbell.net] has joined #scheme 18:23:51 -!- ve [~a@smith.xen.tardis.ed.ac.uk] has quit [Ping timeout: 245 seconds] 18:26:05 -!- Nshag [user@lns-bzn-60-82-254-216-20.adsl.proxad.net] has quit [Read error: Operation timed out] 18:34:07 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Remote host closed the connection] 18:35:20 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 18:36:10 ve [~a@smith.xen.tardis.ed.ac.uk] has joined #scheme 18:40:51 -!- jsnikeris [~user@pool-96-245-129-111.phlapa.fios.verizon.net] has quit [Remote host closed the connection] 18:41:35 Nshag [user@lns-bzn-24-82-64-157-86.adsl.proxad.net] has joined #scheme 18:46:33 Fabse [~mightyfid@wikipedia/Track-n-Field] has joined #scheme 18:47:13 bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has joined #scheme 18:57:22 -!- bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has quit [Quit: If only your veins were filled with oil, the world would rush to your rescue!] 19:02:22 -!- alvatar [~alvatar@100.119.20.95.dynamic.jazztel.es] has quit [Quit: leaving] 19:14:47 -!- Quadrescence [~quad@unaffiliated/quadrescence] has quit [Ping timeout: 265 seconds] 19:16:46 -!- MrFahrenheit [~RageOfTho@users-33-252.vinet.ba] has quit [Ping timeout: 245 seconds] 19:18:38 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Remote host closed the connection] 19:21:59 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 19:22:40 seangrove [~user@c-67-188-2-246.hsd1.ca.comcast.net] has joined #scheme 19:22:59 -!- sepult` is now known as sepult 19:27:36 -!- thedayturns [~grant@171.66.107.129] has quit [Ping timeout: 245 seconds] 19:30:25 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Remote host closed the connection] 19:31:46 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 19:40:18 thedayturns [~grant@128.12.119.44] has joined #scheme 19:41:10 pdponze [~pdponze@144.85.124.96] has joined #scheme 19:41:47 -!- dfkjjkfd [~paulh@82-13-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 19:49:49 -!- cmatei [~cmatei@95.76.18.242] has quit [Ping timeout: 264 seconds] 19:52:23 cmatei [~cmatei@95.76.18.242] has joined #scheme 19:54:42 dfkjjkfd [~paulh@82-13-ftth.onsnetstudenten.nl] has joined #scheme 19:56:01 alvatar [~alvatar@107.127.222.87.dynamic.jazztel.es] has joined #scheme 19:56:36 mjonsson [~mjonsson@cpe-74-68-121-85.nyc.res.rr.com] has joined #scheme 19:59:07 -!- dfkjjkfd [~paulh@82-13-ftth.onsnetstudenten.nl] has quit [Client Quit] 20:01:09 sphex_ [~nobody@modemcable072.42-37-24.mc.videotron.ca] has joined #scheme 20:01:40 dfkjjkfd [~paulh@82-13-ftth.onsnetstudenten.nl] has joined #scheme 20:02:38 -!- sphex [~nobody@modemcable072.42-37-24.mc.videotron.ca] has quit [Ping timeout: 246 seconds] 20:22:53 drwho [~drwho@c-71-225-11-30.hsd1.pa.comcast.net] has joined #scheme 20:25:37 r2q2 [~user@acad243235.eastdorm.uic.edu] has joined #scheme 20:27:47 marcob [~marco@87.19.67.81] has joined #scheme