00:06:00 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 00:08:36 -!- hash_table [~quassel@70-138-242-181.lightspeed.hstntx.sbcglobal.net] has quit [Ping timeout: 276 seconds] 00:09:46 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 00:17:29 phax [~phax@unaffiliated/phax] has joined #scheme 00:17:56 -!- civodul [~user@reverse-83.fdn.fr] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 00:28:33 -!- phax [~phax@unaffiliated/phax] has quit [Read error: Operation timed out] 00:29:32 phax [~phax@unaffiliated/phax] has joined #scheme 00:35:49 -!- Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has left #scheme 00:37:12 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 00:39:58 -!- Sorella [~quildreen@oftn/member/Sorella] has quit [Quit: (quit :reason 'sleep)] 00:42:25 -!- phax [~phax@unaffiliated/phax] has quit [Ping timeout: 268 seconds] 00:50:26 covi : `cons-stream' is not a procedure, but a special form 00:53:03 -!- amgarchIn9 [~amgarchin@p4FD619D5.dip0.t-ipconnect.de] has quit [Quit: Konversation terminated!] 00:55:52 -!- masm [~masm@bl18-53-16.dsl.telepac.pt] has quit [Quit: Leaving.] 00:57:35 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 01:07:04 dedis9 [~dedis9@akw403.cs.yale.edu] has joined #scheme 01:13:43 yoklov [~yoklov@24-177-92-172.dhcp.nwtn.ct.charter.com] has joined #scheme 01:13:58 -!- adiii [~adityavit@c-76-117-52-187.hsd1.nj.comcast.net] has quit [Read error: Connection reset by peer] 01:15:50 -!- dedis9 [~dedis9@akw403.cs.yale.edu] has quit [Remote host closed the connection] 01:18:00 adiii [~adityavit@c-76-117-52-187.hsd1.nj.comcast.net] has joined #scheme 01:19:54 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 01:29:38 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 01:43:54 -!- dnolen [~user@cpe-74-64-61-245.nyc.res.rr.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 01:46:13 youlysses [~user@75-132-17-145.dhcp.stls.mo.charter.com] has joined #scheme 01:53:38 b4283 [~b4283@60-249-196-111.HINET-IP.hinet.net] has joined #scheme 01:59:57 ympbyc [~ympbyc@p35134-ipbffx02marunouchi.tokyo.ocn.ne.jp] has joined #scheme 02:11:01 -!- dzhus [~dzhus@95-31-27-234.broadband.corbina.ru] has quit [Ping timeout: 248 seconds] 02:43:03 -!- spiderweb is now known as pcc 02:43:37 -!- pcc is now known as spiderweb 03:00:39 hash_table [~quassel@70-138-242-181.lightspeed.hstntx.sbcglobal.net] has joined #scheme 03:04:34 -!- mmc [~michal@178-85-56-58.dynamic.upc.nl] has quit [Ping timeout: 246 seconds] 03:09:09 -!- spiderweb [~lcc@unaffiliated/lcc] has quit [Quit: leaving] 03:14:38 cdidd [~cdidd@89-178-175-126.broadband.corbina.ru] has joined #scheme 03:15:31 -!- hash_table [~quassel@70-138-242-181.lightspeed.hstntx.sbcglobal.net] has quit [Ping timeout: 252 seconds] 03:18:51 -!- walter|r [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 03:25:01 -!- sethalve_ is now known as sethalves 03:33:24 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Quit: MichaelRaskin] 04:29:22 I was watching a vi-user the other day compensate for lack of buffers by constantly backgrounding vi and choosing from a list of backgrounded vi-processes. 04:29:43 Is that a legitimate workflow; or was I witnessing a primitive pre-screen form of humanity? 04:29:59 Vim tabs are great, that's just odd 04:30:17 Ah, ok; I suspected vi had to have tabs, at least. Thanks. 04:33:11 klutometis: I've done that in the past. 04:33:33 It's not that bad, depending on how you think of things. 04:33:43 vim has buffers, though. 04:33:57 (Also tabs, which aren't the same thing.) 04:34:51 -!- bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has quit [Ping timeout: 265 seconds] 04:35:48 Nisstyre-laptop [~yours@oftn/member/Nisstyre] has joined #scheme 05:27:22 kniu [~kniu@c-67-160-8-163.hsd1.wa.comcast.net] has joined #scheme 05:33:20 -!- mjonsson [~mjonsson@38.109.95.133] has quit [Ping timeout: 255 seconds] 05:59:13 -!- jao [~jao@pdpc/supporter/professional/jao] has quit [Ping timeout: 246 seconds] 06:01:39 fantazo_ [~fantazo@91-119-196-139.dynamic.xdsl-line.inode.at] has joined #scheme 06:02:35 -!- yoklov [~yoklov@24-177-92-172.dhcp.nwtn.ct.charter.com] has quit [Quit: bye!] 06:41:02 -!- Nisstyre-laptop [~yours@oftn/member/Nisstyre] has quit [Ping timeout: 260 seconds] 06:45:18 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Quit: Leaving] 06:49:39 shachaf: Oh, interesting; I'm not totally surprised, tell you the truth. 06:50:05 Emacs has all these bizarre mechanisms to buffer you from the shell; vim seems to be closer to the metal, so to speak. 06:56:30 -!- acarrico [~acarrico@pppoe-68-142-51-49.gmavt.net] has quit [Ping timeout: 264 seconds] 06:56:48 answer_42 [~user@ip82-139-81-70.lijbrandt.net] has joined #scheme 07:01:01 hiroaki_ [~hiroaki@p5B04BE79.dip.t-dialin.net] has joined #scheme 07:01:19 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Ping timeout: 244 seconds] 07:04:12 -!- hiroaki [~hiroaki@p5B04A0CF.dip.t-dialin.net] has quit [Ping timeout: 245 seconds] 07:10:28 acarrico [~acarrico@pppoe-68-142-59-107.gmavt.net] has joined #scheme 07:11:06 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 07:37:18 -!- answer_42 [~user@ip82-139-81-70.lijbrandt.net] has quit [Ping timeout: 264 seconds] 07:37:22 mmc [~michal@178-85-56-58.dynamic.upc.nl] has joined #scheme 07:37:42 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 07:37:48 I think vi's buffers (if there are any?) are rather primitive, although vim's are rather fleshed-out 07:38:52 (or maybe I've only used very old/weird versions of vi) 07:41:11 -!- fantazo_ [~fantazo@91-119-196-139.dynamic.xdsl-line.inode.at] has quit [Remote host closed the connection] 07:44:30 -!- mr_vile [~carnage@9ch.in] has quit [Ping timeout: 264 seconds] 07:45:09 mr_vile [~carnage@9ch.in] has joined #scheme 07:47:42 -!- ASau [~user@46.115.73.240] has quit [Ping timeout: 265 seconds] 07:51:34 -!- mmc [~michal@178-85-56-58.dynamic.upc.nl] has quit [Ping timeout: 246 seconds] 07:57:04 -!- madsy [~madsy@fu/coder/madsy] has quit [Quit: work] 08:01:21 spiderweb [~user@unaffiliated/lcc] has joined #scheme 08:07:32 -!- Onionnion|Eee [~ryan@adsl-68-254-160-100.dsl.milwwi.ameritech.net] has quit [Remote host closed the connection] 08:21:21 hkBst [~marijn@gentoo/developer/hkbst] has joined #scheme 08:23:01 attila_lendvai [~attila_le@92.47.248.232] has joined #scheme 08:23:01 -!- attila_lendvai [~attila_le@92.47.248.232] has quit [Changing host] 08:23:01 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 08:40:37 masm [~masm@bl18-53-16.dsl.telepac.pt] has joined #scheme 08:43:35 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Ping timeout: 260 seconds] 08:56:15 wingo [~wingo@90.163.81.26] has joined #scheme 09:16:21 niels1 [~niels@p4FD6CA61.dip.t-dialin.net] has joined #scheme 09:21:28 ventonegro [~alex@cust.static.46-14-234-161.swisscomdata.ch] has joined #scheme 09:27:21 Anyone dabbled with: http://per.bothner.com/blog/2010/AndroidHelloScheme/ ? 09:27:25 -!- astertronistic [~astertron@ip70-181-247-103.sd.sd.cox.net] has quit [Read error: Operation timed out] 09:33:07 eni [52e658d9@gateway/web/freenode/ip.82.230.88.217] has joined #scheme 09:33:27 what's a good place where I can read about continuations that you guys would suggest me? 09:34:40 mmc [~michal@sams-office-nat.tomtomgroup.com] has joined #scheme 09:35:09 ? 09:35:27 also the htdp.org site on the topic seems down 09:35:54 ah no, webchat.freenode.org is considering the ending quote as part of the url -_- 09:37:48 http://people.csail.mit.edu/people/jhbrown/scheme/continuationslides04.pdf 09:37:59 http://www.madore.org/~david/computers/callcc.html 09:38:11 source: http://community.schemewiki.org/?scheme-faq-programming 09:39:07 -!- cdidd [~cdidd@89-178-175-126.broadband.corbina.ru] has quit [Ping timeout: 260 seconds] 09:39:17 impaktor: yes, i've written several apps for android with kawa 09:39:36 impaktor: here's an example: https://github.com/ecraven/SchemeAndroidOGL 09:39:37 cool. 09:39:51 works well after you get to know it :) lots of pitfalls before that 09:40:17 C-Keen: thank you 09:40:19 How does kawa compare with clojure? 09:40:43 Both gives access to java libraries right? 09:40:57 it actually works on android. last time i checked, clojure apps took several seconds (>10) to start up 09:40:59 yes 09:41:57 also clojure apps are several megabytes in size even after treeshaking, while kawa apps start at around 250k 09:42:23 170k now it seems :) 09:43:06 Quick: Kruskal vs. Prim? 09:43:38 So kawa is smaller and faster? Cool. 09:44:17 impaktor: But not nearly as sexy as Clojure is for hipsters. 09:44:38 klutometis: wikipedia seems to imply kruskal might be a bit better :) 09:44:58 Also: try SISC (is it still being maintained?); I shipped apps on the JVM for a few years with it. 09:45:00 impaktor: also, per bothner is really helpful and responsive :) 09:45:23 ecraven: Yeah; it looks like I'd need to implement a Fibonacci heap to make Prim effective. 09:45:34 klutometis: kawa is the only useful scheme i found to work on android. i believe there are some problems with sisc libraries on android (but it's been some time since i actually checked that) 09:46:03 It's times like these that I occasionally rue the lack of a deep standard library in Scheme; on the other hand, it's fun to implement e.g. Fibonacci heaps if you have time. 09:46:06 android programming with macros really is fun :) (define-content-provider ...) :D and all the database foo is taken care of 09:46:18 klutometis: nothing in slib or anywhere? 09:46:35 ecraven: Oh, that's an interesting data point: yeah, never tried to make SISC work on Android; but I've heard that Kawa does. 09:46:41 here maybe? http://planet.racket-lang.org/package-source/jaymccarthy/fib-heap.plt/1/1/planet-docs/fib-heap/index.html 09:46:42 http://tinyurl.com/c928gvv 09:46:58 ecraven: Racket; yeah, jinx. 09:47:06 Might be able to port it to Chicken. 09:47:09 it might be portable-ish ;) 09:47:42 i really hope r7rs succeeds in unifying things a bit.. i'm mostly working on MIT/GNU Scheme, and have to port everything :-/ 09:48:19 ecraven: God, that would be great; I miss MIT/GNU from when I was working on SICP. Seemed like the Wild West. 09:50:54 its slime integration makes it really nice to use from emacs :) 09:51:08 i've been working on making it even better, but i don't know enough about the internals yet :-/ 09:51:58 impaktor: keep in mind that the example code on github is really just that: old example code. i have written better and more useful, but not published anything yet :-/ one of these days i should start a blog on scheme on android 09:54:15 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 09:54:24 Thanks. I would read it. 09:55:58 if you have any questions, feel free to ask :) 09:56:21 i've since added sxml support to my make file, which means i can write all the xml layout stuff etc. in sxml :) 09:58:59 ecraven: Oh, that's fantastic; I never really appreciated slime until I started working on PAIP. Even Clojure has decent slime integration. 09:59:03 That's a fantastic project. 10:00:56 klutometis: many things work, basic presentations, info and apropos, autocompletion works. debugging is still not perfect :( 10:01:30 klutometis: in case you need it, this works better than the one included in MIT/GNU Scheme (which didn't work at all for me): https://github.com/ecraven/mit-scheme-swank 10:03:24 ecraven: Thanks! 10:06:23 http://www.nytimes.com/reuters/2012/11/14/business/14reuters-texasinstruments-jobcuts.html 10:06:24 http://tinyurl.com/ag7qv4f 10:06:39 oops, wrong channel 10:08:22 aoh: Bizarre, in any case, that TI's shares rose $29 on the news; the betrays a certain degeneracy, I believe, in American business. 10:08:30 -!- taylanub [tub@p4FD93880.dip.t-dialin.net] has quit [Disconnected by services] 10:08:36 -!- eni [52e658d9@gateway/web/freenode/ip.82.230.88.217] has left #scheme 10:08:43 taylanub [tub@p4FD91CA5.dip.t-dialin.net] has joined #scheme 10:08:48 Or maybe the quants did some kind of cost-benefit analysis. 10:10:05 -!- b4283 [~b4283@60-249-196-111.HINET-IP.hinet.net] has quit [Ping timeout: 257 seconds] 10:14:10 Regex or regexp? 10:14:29 rest of the world or emacs :) 10:14:36 (maybe CL too?) 10:19:49 Ivo [~ivo@unaffiliated/ivoz] has joined #scheme 10:25:06 regex(p+) 10:37:35 -!- masm [~masm@bl18-53-16.dsl.telepac.pt] has quit [Quit: Leaving.] 11:02:00 mucker [~mucker@183.83.240.198] has joined #scheme 11:02:10 cdidd [~cdidd@95-26-123-48.broadband.corbina.ru] has joined #scheme 11:18:32 phao [~phao@pontenova.dpi.ufv.br] has joined #scheme 11:29:49 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 11:34:41 -!- ventonegro [~alex@cust.static.46-14-234-161.swisscomdata.ch] has quit [Quit: ventonegro] 11:41:30 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has quit [Quit: MichaelRaskin] 11:43:54 gravicappa [~gravicapp@80.90.116.82] has joined #scheme 11:52:56 -!- cataska [~cataska@210.64.6.233] has quit [Quit: leaving] 12:09:23 -!- githogori [~githogori@c-69-181-109-127.hsd1.ca.comcast.net] has quit [Ping timeout: 246 seconds] 12:09:30 ventonegro [~alex@cust.static.46-14-234-161.swisscomdata.ch] has joined #scheme 12:22:07 -!- phao [~phao@pontenova.dpi.ufv.br] has quit [Quit: Not Here] 12:26:08 answer_42 [~user@ip82-139-81-70.lijbrandt.net] has joined #scheme 12:29:38 -!- Natch [~Natch@c-eccde155.25-4-64736c10.cust.bredbandsbolaget.se] has quit [Read error: Connection reset by peer] 12:33:35 b4283 [~b4283@1-172-80-47.dynamic.hinet.net] has joined #scheme 12:56:09 Natch [~Natch@c-eccde155.25-4-64736c10.cust.bredbandsbolaget.se] has joined #scheme 13:08:17 peterhil` [~peterhil@gatekeeper.brainalliance.com] has joined #scheme 13:11:50 -!- mmc [~michal@sams-office-nat.tomtomgroup.com] has quit [Ping timeout: 252 seconds] 13:28:58 mjonsson [~mjonsson@38.109.95.133] has joined #scheme 13:43:13 graememcc [~chatzilla@host86-148-185-202.range86-148.btcentralplus.com] has joined #scheme 14:00:24 -!- youlysses [~user@75-132-17-145.dhcp.stls.mo.charter.com] has quit [Quit: School-time; Peace people. o/] 14:01:42 mmc [~michal@sams-office-nat.tomtomgroup.com] has joined #scheme 14:02:47 masm [~masm@bl18-53-16.dsl.telepac.pt] has joined #scheme 14:03:55 madsy [~madsy@fu/coder/madsy] has joined #scheme 14:08:45 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 14:09:13 -!- gravicappa [~gravicapp@80.90.116.82] has quit [Ping timeout: 246 seconds] 14:11:53 -!- mjonsson [~mjonsson@38.109.95.133] has quit [Read error: Operation timed out] 14:14:15 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 14:20:58 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 14:22:20 hash_table [~quassel@70-138-242-181.lightspeed.hstntx.sbcglobal.net] has joined #scheme 14:23:29 bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has joined #scheme 14:26:06 gravicappa [~gravicapp@80.90.116.82] has joined #scheme 14:27:00 -!- ventonegro [~alex@cust.static.46-14-234-161.swisscomdata.ch] has quit [Quit: ventonegro] 14:27:54 -!- hash_table [~quassel@70-138-242-181.lightspeed.hstntx.sbcglobal.net] has quit [Ping timeout: 276 seconds] 14:34:19 -!- cdidd [~cdidd@95-26-123-48.broadband.corbina.ru] has quit [Read error: Connection reset by peer] 14:39:11 Onionnion|Eee [~ryan@adsl-68-254-160-100.dsl.milwwi.ameritech.net] has joined #scheme 14:39:52 phao [~phao@pontenova.dpi.ufv.br] has joined #scheme 14:42:49 -!- samth_away is now known as samth 14:50:47 cdidd [~cdidd@37-144-241-12.broadband.corbina.ru] has joined #scheme 14:57:02 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Ping timeout: 246 seconds] 14:57:32 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 14:59:47 kilon [~kilon@unaffiliated/thekilon] has joined #scheme 15:00:04 -!- phao [~phao@pontenova.dpi.ufv.br] has quit [Read error: Connection reset by peer] 15:00:21 phao [~phao@pontenova.dpi.ufv.br] has joined #scheme 15:03:31 phao_ [~phao@pontenova.dpi.ufv.br] has joined #scheme 15:04:51 -!- phao [~phao@pontenova.dpi.ufv.br] has quit [Ping timeout: 260 seconds] 15:06:38 -!- amoe [~amoe@host-92-26-160-117.as13285.net] has quit [Ping timeout: 255 seconds] 15:09:03 -!- niels1 [~niels@p4FD6CA61.dip.t-dialin.net] has quit [Quit: WeeChat 0.3.8] 15:09:08 -!- phao_ [~phao@pontenova.dpi.ufv.br] has quit [Quit: Not Here] 15:15:31 amoe [~amoe@host-2-96-233-223.as13285.net] has joined #scheme 15:16:33 huseby [~huseby@ip65-47-28-158.z28-47-65.customer.algx.net] has joined #scheme 15:19:02 ijp [~user@host86-128-250-134.range86-128.btcentralplus.com] has joined #scheme 15:20:48 -!- gravicappa [~gravicapp@80.90.116.82] has quit [Remote host closed the connection] 15:21:51 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 15:21:53 langmartin [~user@host-68-169-175-226.WISOLT2.epbfi.com] has joined #scheme 15:22:48 add^_ [~add^_@m90-141-36-240.cust.tele2.se] has joined #scheme 15:24:02 -!- amoe [~amoe@host-2-96-233-223.as13285.net] has quit [Ping timeout: 244 seconds] 15:26:11 amoe [~amoe@host-2-99-121-149.as13285.net] has joined #scheme 15:40:20 hash_table [~quassel@128.249.96.123] has joined #scheme 15:40:29 dnolen [~user@cpe-74-64-61-245.nyc.res.rr.com] has joined #scheme 15:47:43 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #scheme 15:53:02 jao [~jao@232.Red-83-32-71.dynamicIP.rima-tde.net] has joined #scheme 15:53:05 -!- jao [~jao@232.Red-83-32-71.dynamicIP.rima-tde.net] has quit [Changing host] 15:53:05 jao [~jao@pdpc/supporter/professional/jao] has joined #scheme 15:57:44 tupi [~david@186.205.32.26] has joined #scheme 16:06:12 phao [~phao@pontenova.dpi.ufv.br] has joined #scheme 16:08:49 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Quit: Konversation terminated!] 16:09:03 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 16:10:41 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 16:13:20 REPLeffect [~REPLeffec@69.54.116.90] has joined #scheme 16:13:57 -!- phao [~phao@pontenova.dpi.ufv.br] has quit [Quit: Not Here] 16:14:36 -!- walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 16:22:57 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 16:24:54 -!- dnolen [~user@cpe-74-64-61-245.nyc.res.rr.com] has quit [Ping timeout: 276 seconds] 16:26:51 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 16:29:09 -!- peterhil` [~peterhil@gatekeeper.brainalliance.com] has quit [Ping timeout: 248 seconds] 16:31:45 fantazo [~fantazo@91-119-196-139.dynamic.xdsl-line.inode.at] has joined #scheme 16:36:55 -!- samth [~samth@racket/samth] has quit [Ping timeout: 246 seconds] 16:37:14 samth [~samth@racket/samth] has joined #scheme 16:43:37 gffa [~unknown@unaffiliated/gffa] has joined #scheme 16:52:08 -!- mucker [~mucker@183.83.240.198] has quit [Read error: Connection reset by peer] 16:57:56 -!- kilon [~kilon@unaffiliated/thekilon] has quit [Ping timeout: 246 seconds] 17:05:43 -!- cky [~cky@fsf/member/cky] has quit [Ping timeout: 260 seconds] 17:06:57 phao [~phao@pontenova.dpi.ufv.br] has joined #scheme 17:13:50 phax [~phax@unaffiliated/phax] has joined #scheme 17:18:12 -!- bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has quit [Read error: No route to host] 17:19:34 kilon [~kilon@unaffiliated/thekilon] has joined #scheme 17:20:20 -!- wingo [~wingo@90.163.81.26] has quit [Ping timeout: 246 seconds] 17:25:55 -!- mmc [~michal@sams-office-nat.tomtomgroup.com] has quit [Ping timeout: 246 seconds] 17:27:49 githogori [~githogori@c-69-181-109-127.hsd1.ca.comcast.net] has joined #scheme 17:28:05 kilon_alios [~kilon@77.49.161.50.dsl.dyn.forthnet.gr] has joined #scheme 17:28:45 -!- kilon [~kilon@unaffiliated/thekilon] has quit [Ping timeout: 252 seconds] 17:30:22 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #scheme 17:30:27 -!- b4283 [~b4283@1-172-80-47.dynamic.hinet.net] has quit [Remote host closed the connection] 17:30:40 bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has joined #scheme 17:32:42 -!- phao [~phao@pontenova.dpi.ufv.br] has quit [Read error: Connection timed out] 17:33:15 phao [~phao@pontenova.dpi.ufv.br] has joined #scheme 17:34:58 gravicappa [~gravicapp@ppp91-77-173-104.pppoe.mtu-net.ru] has joined #scheme 17:37:55 -!- walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 17:44:32 -!- jrslepak [~jrslepak@c-71-233-149-127.hsd1.ma.comcast.net] has quit [Quit: What happened to Systems A through E?] 17:46:59 -!- add^_ [~add^_@m90-141-36-240.cust.tele2.se] has quit [Quit: add^_] 17:49:29 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Quit: Computer has gone to sleep.] 17:50:17 -!- kilon_alios is now known as kilon 17:50:17 -!- kilon [~kilon@77.49.161.50.dsl.dyn.forthnet.gr] has quit [Changing host] 17:50:17 kilon [~kilon@unaffiliated/thekilon] has joined #scheme 17:52:13 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 17:55:50 ASau [~user@46.115.56.237] has joined #scheme 18:09:50 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 260 seconds] 18:19:57 nejucomo [~nejucomo@gateway/tor-sasl/nejucomo] has joined #scheme 18:22:05 amgarchIn9 [~amgarchin@p4FD61458.dip0.t-ipconnect.de] has joined #scheme 18:23:17 attila_lendvai [~attila_le@92.47.248.255] has joined #scheme 18:23:17 -!- attila_lendvai [~attila_le@92.47.248.255] has quit [Changing host] 18:23:17 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 18:25:19 jrslepak [~jrslepak@nomad.ccs.neu.edu] has joined #scheme 18:26:22 -!- phao [~phao@pontenova.dpi.ufv.br] has quit [Read error: Connection timed out] 18:26:48 phao [~phao@pontenova.dpi.ufv.br] has joined #scheme 18:47:39 youlysses [~user@75-132-17-145.dhcp.stls.mo.charter.com] has joined #scheme 18:58:09 -!- youlysses [~user@75-132-17-145.dhcp.stls.mo.charter.com] has quit [Read error: Connection reset by peer] 18:58:22 homie [~homie@94.123.220.37] has joined #scheme 18:58:32 -!- answer_42 [~user@ip82-139-81-70.lijbrandt.net] has quit [Read error: Connection reset by peer] 18:58:49 answer_42 [~user@ip82-139-81-70.lijbrandt.net] has joined #scheme 19:00:29 Blkt [~user@62.10.10.99] has joined #scheme 19:01:12 -!- answer_42 [~user@ip82-139-81-70.lijbrandt.net] has quit [Write error: Connection reset by peer] 19:01:25 answer_42 [~user@ip82-139-81-70.lijbrandt.net] has joined #scheme 19:02:51 -!- answer_42 [~user@ip82-139-81-70.lijbrandt.net] has left #scheme 19:05:29 answer_42 [~user@ip82-139-81-70.lijbrandt.net] has joined #scheme 19:06:26 -!- answer_42 [~user@ip82-139-81-70.lijbrandt.net] has quit [Client Quit] 19:06:55 mark_weaver [~user@209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 19:10:41 mmc [~michal@178-85-56-58.dynamic.upc.nl] has joined #scheme 19:13:01 answer_42 [~answer_42@ip82-139-81-70.lijbrandt.net] has joined #scheme 19:13:25 -!- spiderweb [~user@unaffiliated/lcc] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 19:13:55 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Ping timeout: 246 seconds] 19:19:40 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #scheme 19:22:17 -!- phao [~phao@pontenova.dpi.ufv.br] has quit [Quit: Not Here] 19:30:46 spiderweb [~lcc@unaffiliated/lcc] has joined #scheme 19:31:47 -!- mark_weaver [~user@209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Ping timeout: 260 seconds] 19:34:47 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 19:36:41 Nisstyre [~yours@oftn/member/Nisstyre] has joined #scheme 19:37:43 Altair [wtanom@69.41.182.132] has joined #scheme 19:37:57 -!- Altair [wtanom@69.41.182.132] has quit [Client Quit] 19:41:05 -!- phax [~phax@unaffiliated/phax] has quit [Ping timeout: 265 seconds] 19:45:44 -!- ijp [~user@host86-128-250-134.range86-128.btcentralplus.com] has quit [Read error: Operation timed out] 19:48:46 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 19:49:22 ijp [~user@host86-174-103-169.range86-174.btcentralplus.com] has joined #scheme 19:57:43 Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #scheme 19:59:04 -!- sethalves [~user@headache.hungry.com] has quit [Read error: Connection reset by peer] 19:59:11 sethalves [~user@headache.hungry.com] has joined #scheme 20:01:30 If a (cond) or (case) called a dozen macros, all of which called the procedure that contained the (cond) or (case) in a tail procedure, is this tail recursion? 20:01:42 -!- nejucomo [~nejucomo@gateway/tor-sasl/nejucomo] has quit [Quit: leaving] 20:06:46 cky [~cky@fsf/member/cky] has joined #scheme 20:11:46 the call has to be in the tail position yes, and addititonally there have to no pending actions left..... 20:12:03 s/to/to be/ 20:12:17 So if for readability and removing-repetition purposes I wish to take parts of a conditional block and put them into either macros or procedures, I could use macros and they would expand out and still preserve the tail recursion? 20:12:29 Although looking considerably more readable than a giant mess of very complex branching conditionals? 20:13:16 afaik macros don't hinder you from tail recursion 20:13:21 Okay. 20:13:42 I mean, logically they shouldn't (I think) since they should expand before evaluating the procedure, right? 20:13:58 But there could be something I'm missing. 20:14:03 it's just you be aware of when things get expanded and evaled 20:14:04 youlysses [~user@75-132-17-145.dhcp.stls.mo.charter.com] has joined #scheme 20:14:21 it may get tricky yes 20:14:51 but principally that you are using macros doesn't mean you have to give up tail recursion..... 20:15:05 homie: For the purpose of the code, though, macros are treated as if they are within the procedure, though, right? So if I did some string substitutions with emacs, replacing the macro calls with the macro body, etc., I could essentially get a similar structure as to what it looks at evaluation time? 20:15:16 civodul [~user@LMontsouris-156-24-39-165.w80-14.abo.wanadoo.fr] has joined #scheme 20:15:27 Well, also substitution in the variables, etc. 20:15:40 Aethaeryn: i'm not a macro guru...... 20:16:00 it maybe possible that you can get it into the form you want at expansion time 20:17:01 clhs or r5rs or whatever your spec, lookup at pecularities of the things you call..... 20:17:25 s/at/the/ 20:17:29 meh 20:26:47 -!- Natch [~Natch@c-eccde155.25-4-64736c10.cust.bredbandsbolaget.se] has quit [Ping timeout: 255 seconds] 20:29:18 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 20:30:16 Aethaeryn: if the macro is in a tail position, then whatever is in the tail position of the macro will be in the tail position 20:32:20 no guarantee on the call order something....something...... 20:32:29 hmmmm 20:32:36 *homie* tries to remember..... 20:33:30 homie: nap time 20:33:42 ijp: Okay, thanks. 20:34:24 -!- Euthy [~euthy@unaffiliated/euthydemus] has quit [Quit: leaving] 20:35:05 -!- dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has quit [Ping timeout: 244 seconds] 20:35:45 ijp: So the tail position of a macro in a tail position counts as the tail position for the procedure, and this should follow also recursively through for if there's a macro in the macro? 20:36:20 Natch [~Natch@c-eccde155.25-4-64736c10.cust.bredbandsbolaget.se] has joined #scheme 20:38:10 yes, though I'd caution that macros don't (or needn't, rather) exist at run time 20:38:26 heh 20:40:58 -!- cky [~cky@fsf/member/cky] has quit [Ping timeout: 245 seconds] 20:42:11 ijp: Well, macros not existing at run time is exactly what makes tail recursion work on a procedure that has macros in tail positions that in turn call the procedure, right? 20:43:26 well no, you could easily imagine a run time macro expander respecting tail calls to macros 20:43:35 Ah, okay. 20:43:50 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Read error: Operation timed out] 20:45:45 Now, as far as procedures go, if A calls B in a tail position which calls A in a tail position, this would *not* be handled with TCE, right? 20:45:56 So B might be better used as a macro, right? 20:46:18 no, mutual tail recursion absolutely should work 20:46:26 Odd. 20:47:05 ijp: But only two-deep? 20:47:25 no, arbitrary depth 20:47:32 lol 20:47:39 Because I have an elaborate set of procedures that eventually wrap around, in tail position, to the original one, and I sometimes get stack space errors in chibi-scheme when I accidentally infinite-loop 20:47:46 confuzzling...... 20:48:09 hmmm 20:48:18 In fact, all infinite-loops terminate in stack space errors that I've encountered so far, I think. 20:48:36 some were not in tail position then..... 20:48:56 I guess it was a subtle mistake due to too much program complexity, then. 20:49:01 I've been simplifying the structure. 20:49:20 It kind of grew gradually over time into a monster as I added more features. 20:49:48 heh 20:50:47 mark_weaver [~user@209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 20:50:53 homie: Perhaps the infinite loops were all caused by errors that broke the tail recursion in some way. 20:50:56 That might make sense. 20:51:14 dunno, haven't tried recursion at macro level yet..... 20:51:43 i'm still at function composition level.... 20:51:47 Aethaeryn: it's a mistake to think of it as "tail calls elimination 20:51:51 way to go...... 20:51:53 or "tail call optimization" 20:52:18 a better way to think about it is that procedure calls in tail position are actually GOTO with arguments. 20:53:01 in scheme, stack is not pushed when calling a procedure. rather, stack is pushed when evaluating a subexpression of a procedure call. 20:53:01 use local variables for each state method is good tho..... 20:53:21 ahah 20:53:29 hmm, interesting. 20:53:42 so it gets delayed ? 20:54:11 this is described in one of the early "lambda papers" by guy steele. let me dig it up... 20:54:15 -!- tali713 [~user@c-76-17-236-129.hsd1.mn.comcast.net] has quit [Ping timeout: 255 seconds] 20:56:25 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 20:57:21 -!- answer_42 [~answer_42@ip82-139-81-70.lijbrandt.net] has quit [Quit: WeeChat 0.3.9] 20:57:51 the ultimate declarative, maybe? 20:59:26 ah no, "lambda the ultimate GOTO" duh 21:00:35 ijp: actually, I think "lambda the ultimate declarative" is the one that makes the point more clearly. 21:03:55 on page 5, Steele writes "This suggests that we save a return address on the stack when we begin to evaluate a form (function call) which is to provide an argument for another function, rather than when we invoke a function. (The SCHEME interpreter works in exactly this way.)" 21:04:57 Aethaeryn: to drive the point home, in a proper scheme implementation, you should be able to dynamically create fresh new procedures and call them in tail position, ad infinitum, without running out of stack. 21:11:22 kuribas [~user@94.227.88.230] has joined #scheme 21:12:21 Aethaeryn: for example: 21:12:22 (define (fresh-procedure-that-calls f) (lambda () (f))) 21:12:22 (define (loop) (let ((p (fresh-procedure-that-calls loop))) (p))) 21:12:22 (loop) 21:12:56 that should not run out of stack space in a proper implementation. 21:13:14 -!- hiroaki_ [~hiroaki@p5B04BE79.dip.t-dialin.net] has quit [Ping timeout: 260 seconds] 21:13:34 yoklov [~yoklov@24-177-92-172.dhcp.nwtn.ct.charter.com] has joined #scheme 21:13:58 Looks like chibi-scheme is a proper implementation then. 98% to 99% CPU and 0% mem, and still looping. 21:14:11 indeed. 21:16:27 unfortunately, most other languages do not provide an efficient way to implement GOTO with arguments, so many scheme implementations are not proper. 21:19:12 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 21:20:28 -!- kilon [~kilon@unaffiliated/thekilon] has quit [Remote host closed the connection] 21:22:00 Aethaeryn: but macros are expanded before evaluation begins, at least in principle. 21:22:05 -!- aezx [~aez@68-190-58-253.dhcp.mtgm.al.charter.com] has quit [Ping timeout: 244 seconds] 21:23:09 Aethaeryn: so the most general way to answer the question of whether something is in tail position is to first expand all macro uses, and then see what expressions are in tail position. 21:25:16 uh ? 21:25:26 ah 21:25:55 hiroaki_ [~hiroaki@77-20-78-82-dynip.superkabel.de] has joined #scheme 21:36:51 -!- hash_table [~quassel@128.249.96.123] has quit [Ping timeout: 260 seconds] 21:42:50 aezx [~aez@68-190-58-253.dhcp.mtgm.al.charter.com] has joined #scheme 21:43:02 samth_ [~samth@nomad.ccs.neu.edu] has joined #scheme 21:44:10 -!- samth_ [~samth@nomad.ccs.neu.edu] has quit [Client Quit] 21:48:44 -!- gravicappa [~gravicapp@ppp91-77-173-104.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 21:53:27 -!- graememcc [~chatzilla@host86-148-185-202.range86-148.btcentralplus.com] has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121025210744]] 21:54:18 -!- mark_weaver [~user@209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Ping timeout: 260 seconds] 21:54:47 Every reasonable Scheme system expands macros before evaluation. 21:55:07 and cl too 22:02:54 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 22:03:29 Riastradh: Are there unreasonable ones that don't? 22:03:47 (not talking about toy schemes/private experiments) 22:04:05 antoszka: so you've just ruled out all the unreasonable ones 22:04:06 Apparently the R7RS authors think there are. 22:04:16 ijp: heh... 22:07:08 They put a clause in the R7RS draft allowing such nonsense because there exists some Scheme they thought important which mixes expansion and evaluation. 22:08:56 you know the rule: no scheme left behind 22:09:01 -!- Nisstyre [~yours@oftn/member/Nisstyre] has quit [Read error: Operation timed out] 22:10:08 cky [~cky@fsf/member/cky] has joined #scheme 22:10:38 -!- langmartin [~user@host-68-169-175-226.WISOLT2.epbfi.com] has quit [Ping timeout: 260 seconds] 22:17:23 Sorella [~quildreen@oftn/member/Sorella] has joined #scheme 22:19:23 ijp: more like all schemes left behind ... 22:19:42 -!- cdidd [~cdidd@37-144-241-12.broadband.corbina.ru] has quit [Remote host closed the connection] 22:20:19 At what point is a Scheme no longer a toy? 22:21:12 mark_weaver [~user@209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 22:21:18 Is it when it reaches the four major stumbling blocks ( http://community.schemewiki.org/?scheme-faq-standards#reference ) or does it also need extensions to the standard to make it more usable for practical use cases? 22:22:49 Those are necessary, not sufficient, conditions... 22:24:27 I think that scm might interleave macro expansion with evaluation. 22:25:09 samth: you don't need to convince me 22:25:34 Nisstyre [~yours@oftn/member/Nisstyre] has joined #scheme 22:26:16 Guile 1.8 had some very strange behavior, where you could actually pass a keyword as an argument to a procedure, e.g.: 22:26:16 (define (f g x) (g x)) 22:26:16 (f quote 5) 22:26:16 => x 22:26:48 I considered that behavior to be rather broken, and I'm glad to say it's no longer the case with Guile 2.0 22:27:51 I suspect that scm had similar behavior at some point in the past, but recent scm reports an error if you try to do that. 22:31:21 hash_table [~quassel@70-138-242-181.lightspeed.hstntx.sbcglobal.net] has joined #scheme 22:35:04 mark_weaver: do you mean (f 'quote 5)? 22:35:14 Both are illegal, of course. 22:35:31 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 22:36:40 no, I mean (f quote 5) 22:36:59 Well, that's unusual. 22:37:00 and yes, that's not legal. 22:38:45 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 22:41:22 -!- gffa [~unknown@unaffiliated/gffa] has quit [Quit: sleep] 22:43:14 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Ping timeout: 240 seconds] 22:43:43 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 22:44:49 -!- kuribas [~user@94.227.88.230] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:00:47 -!- civodul [~user@LMontsouris-156-24-39-165.w80-14.abo.wanadoo.fr] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:02:04 Aethaeryn: Chibi performs proper TCO. 23:05:53 In response a much earlier comment, c[ad]{3,4}r were moved to the (scheme cxr) library, as specified in R7RS. 23:07:28 Generally you want to use record types for structured data (the most common use of those), and in other cases you want match desctructuring, list-ref or named intermediates. 23:07:59 Note you need to (import (scheme base)) to get the R7RS base library, but chibi is 100% conformant. 23:08:47 -!- jrslepak [~jrslepak@nomad.ccs.neu.edu] has quit [Quit: What happened to Systems A through E?] 23:12:11 -!- acieroid [~acieroid@wtf.awesom.eu] has quit [Ping timeout: 255 seconds] 23:21:20 acieroid [~acieroid@wtf.awesom.eu] has joined #scheme 23:29:58 foof: Yes, I was corrected on that and directed to draft 7, which as far as I can tell has still not been posted to the main page and is only on the wiki. i.e. it's not linked to at http://www.scheme-reports.org/ 23:30:27 I am using r7rs's specification as my guide to chibi-scheme so that I am writing portable r7rs code. 23:30:38 It helps to use the same one that chibi-scheme is using. :-P 23:31:20 It should be posted to scheme-reports.org soon - that's controlled by the SC, not the WG. 23:31:21 foof: And yes, using (cxr) past two levels is, well, rare. I in fact removed all instances by breaking up my really long chunk of code into various procedures. 23:31:39 So then they're passed (cdr l) instead of l, thus removing a level of l 23:32:21 It's still something that's useful for really early on when I don't know what the strucutre of my own code is going to be yet. 23:34:08 You want the draft at http://trac.sacrideo.us/wg/wiki. 23:34:42 http://trac.sacrideo.us/wg/raw-attachment/wiki/WikiStart/r7rs-draft-7.pdf 23:35:09 foof: Yes, that's the one that I've been using since I was corrected days ago about (scheme cxr) 23:35:38 I admit that I was wrong, it's just that someone else got to me first. :-P 23:58:36 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Remote host closed the connection] 23:59:27 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme