00:01:27 -!- Paraselene_ [~Not@81-178-167-119.dsl.pipex.com] has quit [Disconnected by services] 00:01:28 Paraselene [~Not@81-178-167-119.dsl.pipex.com] has joined #scheme 00:08:32 -!- masm [~masm@bl16-171-161.dsl.telepac.pt] has quit [Quit: Leaving.] 00:11:44 -!- RageOfThou [~RageOfTho@users-55-23.vinet.ba] has quit [Read error: Connection reset by peer] 00:12:06 RageOfThou [~RageOfTho@users-55-23.vinet.ba] has joined #scheme 00:14:43 toast` [~toast`@c-71-227-233-160.hsd1.wa.comcast.net] has joined #scheme 00:16:43 anyone knows a valid user and password for 00:16:44 http://www.htdp.org/2003-09-26/Book/curriculum-Z-H-19.html#node_sec_14.1 00:16:47 the solutions from this page 00:16:59 please i want to know the answrrs 00:18:25 snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has joined #scheme 00:20:27 lesalesera [~lesaleser@pc-116-112-47-190.cm.vtr.net] has joined #scheme 00:20:43 -!- cpr420 [~cpr420@unaffiliated/cpr420] has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!] 00:21:34 i need some help implementing binary tree preorder algorithm 00:22:15 my tree is defined like (node left-list right-list) 00:22:53 so, i do the preorder definition like 00:23:59 lesaLesera pasted "preorder" at http://paste.lisp.org/display/111382 00:27:06 -!- felipe [~felipe@my.nada.kth.se] has quit [Ping timeout: 276 seconds] 00:27:09 -!- lesalesera [~lesaleser@pc-116-112-47-190.cm.vtr.net] has quit [Quit: Saliendo] 00:27:11 it looks like you're missing a case 00:27:15 oh, well, nm 00:27:19 :O 00:27:28 lesalesera are you chilean? 00:28:02 -!- emma [~em@unaffiliated/emma] has quit [Ping timeout: 240 seconds] 00:30:00 -!- arcfide [~arcfide@adsl-99-75-51-152.dsl.bltnin.sbcglobal.net] has quit [Quit: Leaving] 00:30:42 i need to add a node in a binary tree 00:31:13 my tree is defined by a node a left-leaf and right-leaf 00:31:29 but when i add a new node the left and right leaf may be # 00:31:30 #f 00:33:01 m4dv0y pasted "add-node" at http://paste.lisp.org/display/111383 00:36:50 arcfide [~arcfide@adsl-99-75-51-152.dsl.bltnin.sbcglobal.net] has joined #scheme 00:39:23 hello? 00:44:59 hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 00:54:46 -!- fradgers- [~fradgers-@5e02b45e.bb.sky.com] has left #scheme 01:15:37 hello? 01:20:46 -!- toast` [~toast`@c-71-227-233-160.hsd1.wa.comcast.net] has left #scheme 01:26:13 Yes? 01:26:36 can you help with my question please? 01:27:01 i've solve some of my quesiton 01:27:12 now i've a new question 01:27:32 i need to find the maximum subtree in a binary tree 01:33:57 emma [~em@24.199.89.228] has joined #scheme 01:33:58 -!- emma [~em@24.199.89.228] has quit [Changing host] 01:33:58 emma [~em@unaffiliated/emma] has joined #scheme 01:35:14 hello? 01:46:44 -!- hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 01:49:44 m4dv0y, Yes? 01:49:51 m4dv0y, Are you going to provide us with more information? 01:50:06 yep ofcorse 01:50:23 i've a binary tree 01:50:30 I haven't been paying attention, is this homework? 01:50:43 yep is an assigment 01:51:00 Okay. 01:51:08 the function receive a binary tree list 01:51:46 e.g : 01:51:48 (9 (7 (5 (2 #f #f) (6 #f #f)) #f) (20 (15 #f #f) (31 #f #f))) 01:51:54 then i've to search the maximum subtree 01:51:56 or node 01:52:03 in this case is (31 #f #f) 01:52:05 asarch [~asarch@189.188.198.177] has joined #scheme 01:52:11 the first element in the list is the value 01:52:28 the second is the left child and the right one is the right child 01:52:49 personaly i hate scheme 01:53:00 i'm more familiarized with imperative or OO languages 01:53:23 you don't need to add the commentary of your hatred of scheme. :( 01:53:38 :P 01:53:44 ok i don't hate it 01:53:48 (also, I program scheme fairly imperatively/OO . Scheme is not really so different from, say, Python) 01:53:49 just i don't love it 01:53:52 :( 01:54:19 ok but the parenthesis are so ... 01:54:20 -!- acarrico [~acarrico@pppoe-68-142-35-203.gmavt.net] has quit [Ping timeout: 272 seconds] 01:54:42 ssbr, Scheme is significantly different than Python in its capabilities and behavior. 01:54:45 so what is a maximum subtree? 01:54:45 for understand recursivity you must understand recursivity ? 01:54:58 arcfide: Depends which capabilities/behavior you look at. 01:55:04 m4dv0y, What ssbr said. 01:55:26 is the maximum value in a tree 01:55:48 in the example that i gave to you 01:55:49 m4dv0y: so any node is either #f or a subtree of the form (value left right) ? 01:56:05 and you want the non-leaf (non-#f) node with the highest value? 01:56:21 yep 01:56:27 I thought Python was trying to get rid of the Schemish features. :-P 01:56:31 m4dv0y, Are you familiar with working in terms of base case and recursion? 01:56:41 nop 01:56:43 im a noobie 01:56:52 m4dv0y, Are you familiar with recursion and its basic operation? 01:57:06 m4dv0y, Put another way, do you know what recursion is? :-) 01:57:15 a little :P 01:57:34 metasyntax: not really. It's moved some stuff around, but it rarely actually removes things. 01:57:40 m4dv0y, Okay, try to explain what you understand of recursion. 01:57:41 yep i know what is the meaning of recursion 01:58:14 in terms of memory sectors and values? 01:58:19 ... 01:58:22 Um.... 01:58:32 Just explain whatever you know about recursion. 01:58:36 m4dv0y: Ignore the actual system when your're thinking of recursion. 01:58:49 recursion is an abstract process. It doesn't need memory sectors and values. 01:58:57 (or whatever) 01:59:35 I'm afraid I've got to go do other stuff at the moment, but someone here should be able to walk you through the thought process necessary to get to the answer you seek. 01:59:51 np man 02:00:08 i'll resolve this shit in another moment... im a smart guy 02:00:33 thank you for your time and sorry for my poor english 02:01:18 i ain't a native english-speaking 02:01:23 person 02:01:32 :( 02:05:03 -!- asarch [~asarch@189.188.198.177] has quit [Quit: Leaving] 02:09:30 acarrico [~acarrico@pppoe-68-142-35-203.gmavt.net] has joined #scheme 02:13:01 -!- mbishop [~martin@adsl-150-28-141.aby.bellsouth.net] has quit [Read error: Connection reset by peer] 02:13:42 mbishop [~martin@adsl-150-28-141.aby.bellsouth.net] has joined #scheme 02:44:31 -!- RageOfThou [~RageOfTho@users-55-23.vinet.ba] has quit [Ping timeout: 265 seconds] 02:50:39 xwl__ [~user@esprx01x.nokia.com] has joined #scheme 02:52:36 timj_ [~timj@e176196209.adsl.alicedsl.de] has joined #scheme 02:56:02 -!- timj [~timj@e176197253.adsl.alicedsl.de] has quit [Ping timeout: 245 seconds] 03:12:14 Morler [morler@123.93.117.232] has joined #scheme 03:20:12 -!- Morler [morler@123.93.117.232] has left #scheme 03:31:59 can anyone help me please 03:32:04 with the maximum binary tree 03:32:06 in a btree :P 03:41:19 You need to return the node with the maximum key in a binary tree? 03:42:23 m4dv0y: ^ 03:46:03 i need to 03:46:08 return the entire node 03:46:14 per example 03:46:35 (9 (7 (5 (2 #f #f) (6 #f #f)) #f) (20 (15 #f #f) (31 #f #f))) 03:46:37 in this btree 03:46:52 the maximum node with his leafs is (31 #f #f) 03:48:08 Think about your base case and recursion. Specifically, think to yourself how you would do this with a simple tree, and how you would do this with a more complex tree. 03:48:33 Think about the process you would use if you were doing this by hand and could only see one part of the tree at a time. 03:50:15 first i need to compare the car of the btree 03:50:27 with the cdr(car btree) 03:50:32 and so on? 03:51:01 What is this "and so on" you speak of? :-) 03:51:16 Think about that. 03:51:21 recursivity 03:51:30 let me show ya 03:52:03 if ( null? btree ) '() ; if it's null returns a empty list 03:53:07 then if ( > (car btree) (car (cdr btree )) (car btree) ; if arg1 > arg2 returns arg1 03:54:12 mmm 03:54:15 no im wrong 03:54:42 i need to compare the whole list 04:04:01 :( 04:07:08 Say I have two trees X and Y, and I combine them together into another tree (N X Y). 04:07:35 Let's also say that you know the maximum of X and Y. 04:07:47 What is the maximum of this new combined tree? 04:09:33 mmm 04:09:36 i dunno 04:09:49 Sure you do. 04:10:09 max( x , y) 04:10:25 Okay, does that work for all such trees X Y and (N X Y)? 04:10:50 Also, around here we call that (MAX X Y), not max( x , y). 04:11:36 yep 04:11:50 but i want to know the maximum of a binary tree 04:11:57 not two merged list 04:11:58 -!- snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has quit [Quit: snarkyboojum] 04:12:10 X and Y are two trees. 04:12:17 (N X Y) is also a tree. 04:12:19 ajam 04:12:30 mmm why? 04:12:46 Because I said so. 04:12:59 ok sensei 04:13:04 you're the master here 04:13:29 So, we have a tree Z = (N X Y) where X and Y are trees. 04:14:06 We also have (MAXTREE X) = M and (MAXTREE Y) = L, say. 04:14:13 What is (MAXTREE Z)? 04:14:26 the max between M and L 04:14:52 -!- kniu [~kniu@pool-71-106-7-247.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 276 seconds] 04:15:03 So, let's give some values: X = (3 #f #f); Y = (4 #f #f) and Z = (5 X Y). 04:15:12 So that (MAXTREE Z) = 4? 04:16:37 mmm 04:16:53 i think is 5 isn't it? 04:17:14 But you said that it was (MAX M L), which is 4. 04:17:44 ouch 04:17:51 i didn't see the N :P 04:21:49 So, it's (MAX N M L), no? 04:22:05 jer` [~user@c-67-188-68-42.hsd1.ca.comcast.net] has joined #scheme 04:22:12 So now you see the recursion here. If you can answer this, you could answer just about any tree problem you encounter. 04:22:25 mmm 04:22:46 ajam 04:22:46 But that recursion will never end. You have to have some way to stop. 04:22:51 That's the base case. 04:22:54 The above is your recursion. 04:23:15 It's like writing recursive mathematical functions. 04:23:24 For example, factorial. 04:24:07 yup 04:24:08 fact(x) = { 0 if x = 0; 1 if x = 1; x * fact(x-1) otherwise}. 04:24:19 You just have to do the same thing here. 04:25:18 but how 04:25:22 i know what the problem is 04:25:31 i have some code 04:25:35 but i've some errors 04:26:59 Then post your code. 04:27:02 lisppaste, url 04:27:02 To use the lisppaste bot, visit http://paste.lisp.org/new/scheme and enter your paste. 04:29:35 -!- jer` [~user@c-67-188-68-42.hsd1.ca.comcast.net] has left #scheme 04:30:41 m4dv0y pasted "untitled" at http://paste.lisp.org/display/111385 04:32:55 i've the problem with the empty lists 04:32:57 i think 04:42:02 -!- jonrafkind [~jon@c-67-172-254-235.hsd1.ut.comcast.net] has quit [Ping timeout: 240 seconds] 04:43:14 -!- ludwig- [~ludwig-@adsl-69-235-210-227.dsl.irvnca.pacbell.net] has quit [Quit: ludwig-] 04:43:50 m4dv0y pasted "untitled" at http://paste.lisp.org/display/111386 04:57:52 When I attempt to(require (prefix-in sqlite: (planet jaymccarthy/sqlite:4))) , despite the fact that I have sqlite installed I get the following error ../../.plt-scheme/planet/300/4.2.1/cache/jaymccarthy/sqlite.plt/4/6/sqlite-ffi.ss:10:15: ffi-lib: couldn't open "libsqlite3.so" (libsqlite3.so: cannot open shared object file: No such file or directory)~ 05:03:25 (planet jaymccarthy/sqlite:4) <-- Does that require sqlite3 ? 05:04:01 askhader: Sounds like it. 05:04:05 Thomas_H [~Thomas_H@66.183.224.178] has joined #scheme 05:09:27 eli: I already have sqlite3 05:10:05 -!- R3cur51v3 [~Recursive@173-30-57-91.client.mchsi.com] has quit [Quit: going to try to be productive...] 05:13:03 ah this was rectified by installing libsqlite3-dev 05:14:41 askhader: He's not using version numbers, so it expects to find /usr/lib/libsqlite3.so.0 -- which is usually a symlink to /usr/lib/libsqlite3.so.0.N.M (and likely so when you install the dev package). 05:16:04 Makes sense. 05:23:24 -!- Zarutian [~zarutian@194-144-84-110.du.xdsl.is] has quit [Ping timeout: 252 seconds] 05:30:03 Zarutian [~zarutian@194-144-84-110.du.xdsl.is] has joined #scheme 05:49:45 hello? 05:57:58 hello 05:58:31 mr ssbr 05:58:41 can you help me with a fuction 05:58:47 that i've written 05:58:50 I can try. 05:58:53 por favor 05:59:01 si senor. 05:59:10 ok im gonna paste you the code 05:59:50 m4dv0y pasted "untitled" at http://paste.lisp.org/display/111388 06:02:08 ssbr: can you see it please 06:02:16 it returns the maximum value in the btree 06:02:17 but 06:02:22 i want to show the entire subtree 06:02:24 per example 06:02:27 i show you 06:03:20 > tree 06:03:21 (3 (1 () (2 () ())) (4 (3 () ()) (9 () ()))) 06:03:21 > (maximum tree) 06:03:21 9 06:03:31 i want to show you the entire subtree 06:03:35 (9 () ()) 06:03:50 m4dv0y: don't return the car if you want to return the whole thing 06:04:04 did you see the code? 06:04:06 yes 06:04:27 but if i return just the list 06:04:30 in the maximum function 06:04:36 like this: 06:05:06 m4dv0y pasted "untitled" at http://paste.lisp.org/display/111389 06:05:55 the error said 06:06:02 procedure application: expected procedure, given: (8 () ()) (no arguments) 06:06:26 that's because you called it 06:06:31 (x) calls x with no arguments 06:06:33 just have x 06:06:47 or, in this case, list 06:06:59 i called maximum 06:07:06 with the the btree argument 06:07:15 m4dv0y: you also called list, with no arguments. 06:07:19 (list) is incorrect. 06:08:18 where? 06:08:55 ooo list is my variable 06:08:56 :P 06:09:45 can i use a variable called list in scheme? 06:12:36 sure, why not? 06:12:45 you're doing it now. 06:12:49 yep 06:12:58 but you're calling it with no arguments. As you can see, that doesn't work. 06:12:58 but where i called the list without arguments? 06:13:19 m4dv0y: the fourth line of your second paste. 06:13:44 but the variable is called lit 06:13:45 list 06:13:54 m4dv0y: Yes. And you called it. Don't call it. 06:15:06 ?? 06:15:12 im sorry im really dizzy 06:15:43 m4dv0y: line 4. 06:15:45 (list) 06:15:48 that's a function call. 06:15:53 but list is not a function. So it doesn't work. 06:15:57 So stop calling list. 06:17:51 i changed it 06:17:59 with another name called lst 06:18:04 but doesn't work 06:18:08 m4dv0y: that wasn't what I said. 06:18:17 m4dv0y: I said stop calling it. Get rid of the parentheses. 06:18:24 m4dv0y: you're used to procedural languages, right? 06:18:30 m4dv0y: what you're doing is returning list() 06:18:37 m4dv0y: don't do that, return list. it doesn't make sense to call it. 06:18:56 ? 06:19:03 so how i return just list? 06:19:10 without the parentesis? 06:19:10 "list" 06:19:12 no parens. 06:19:51 you're right :O 06:19:52 wait 06:20:50 :( 06:20:53 i've an new error 06:20:56 a new error 06:21:21 (5 (4 (1 () (2 () ())) ()) (7 () ())) 06:21:21 > (maximum tree) 06:21:22 . . >: expects type as 2nd argument, given: (7 () ()); other arguments were: 5 06:33:13 JoelMcCracken [~joelmccra@pool-72-95-254-194.pitbpa.east.verizon.net] has joined #scheme 06:52:29 jewel [~jewel@196-210-187-58-tbnb-esr-2.dynamic.isadsl.co.za] has joined #scheme 06:53:09 ve [~a@vortis.xen.tardis.ed.ac.uk] has joined #scheme 07:09:32 schmir [~schmir@p548DBAEC.dip.t-dialin.net] has joined #scheme 07:11:51 -!- schmir [~schmir@p548DBAEC.dip.t-dialin.net] has quit [Remote host closed the connection] 07:20:55 smtlaissezfaire [~smtlaisse@208.120.172.212] has joined #scheme 07:24:24 -!- Thomas_H [~Thomas_H@66.183.224.178] has quit [Ping timeout: 252 seconds] 07:27:17 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 245 seconds] 07:27:50 gravicappa [~gravicapp@91.78.229.55] has joined #scheme 07:27:53 -!- smtlaissezfaire [~smtlaisse@208.120.172.212] has quit [Quit: smtlaissezfaire] 07:41:16 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 07:50:12 snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has joined #scheme 08:18:23 sepult [~user@xdsl-78-34-234-222.netcologne.de] has joined #scheme 08:27:54 ssbr_ [~scorchsab@user65-127.vicres.utoronto.ca] has joined #scheme 08:31:15 -!- ssbr [~scorchsab@user65-127.vicres.utoronto.ca] has quit [Ping timeout: 240 seconds] 08:41:19 -!- sepult [~user@xdsl-78-34-234-222.netcologne.de] has quit [Read error: Connection reset by peer] 08:42:58 sepult [~user@xdsl-87-79-185-28.netcologne.de] has joined #scheme 08:52:13 fradgers- [~fradgers-@5e02b45e.bb.sky.com] has joined #scheme 08:52:42 R3cur51v3 [~Recursive@173-30-57-91.client.mchsi.com] has joined #scheme 08:54:07 -!- sepult [~user@xdsl-87-79-185-28.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 08:56:05 sepult [~user@xdsl-87-79-185-28.netcologne.de] has joined #scheme 08:56:55 -!- JoelMcCracken [~joelmccra@pool-72-95-254-194.pitbpa.east.verizon.net] has quit [Quit: This computer has gone to sleep] 09:00:42 JoelMcCracken [~joelmccra@pool-96-235-12-42.pitbpa.east.verizon.net] has joined #scheme 09:06:11 -!- R3cur51v3 [~Recursive@173-30-57-91.client.mchsi.com] has quit [Quit: This system is going down for poweroff RIGHT FREAKING NOW!!!] 09:14:13 -!- arcfide [~arcfide@adsl-99-75-51-152.dsl.bltnin.sbcglobal.net] has quit [Quit: Leaving] 09:18:52 -!- snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has quit [Quit: snarkyboojum] 09:18:59 masm [~masm@bl19-156-227.dsl.telepac.pt] has joined #scheme 09:23:24 Blkt [~user@net-188-152-134-16.t2.dsl.vodafone.it] has joined #scheme 09:28:22 snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has joined #scheme 09:32:21 hohoho [~hohoho@2002:6fbc:32ea:6:21e:c2ff:feb4:2a5d] has joined #scheme 09:36:24 schmir [~schmir@p548DA7D8.dip.t-dialin.net] has joined #scheme 09:38:59 R3cur51v3 [~Recursive@173-30-57-91.client.mchsi.com] has joined #scheme 09:55:49 -!- Nshag [user@lns-bzn-37-82-253-22-232.adsl.proxad.net] has quit [Ping timeout: 264 seconds] 10:01:33 felipe [~felipe@my.nada.kth.se] has joined #scheme 10:02:52 -!- JoelMcCracken [~joelmccra@pool-96-235-12-42.pitbpa.east.verizon.net] has quit [Quit: This computer has gone to sleep] 10:05:48 morphir [~morphir@84-52-234.12.3p.ntebredband.no] has joined #scheme 10:08:33 Nshag [user@lns-bzn-28-82-250-190-86.adsl.proxad.net] has joined #scheme 10:08:36 -!- xwl_ [~user@esprx01x.nokia.com] has quit [Remote host closed the connection] 10:09:05 xwl_ [~user@esprx01x.nokia.com] has joined #scheme 10:10:02 -!- jmcphers [~jmcphers@218.185.108.156] has quit [Remote host closed the connection] 10:14:29 -!- xwl_ [~user@esprx01x.nokia.com] has quit [Remote host closed the connection] 10:19:31 alaricsp [~alaric@relief.warhead.org.uk] has joined #scheme 10:42:08 -!- schmir [~schmir@p548DA7D8.dip.t-dialin.net] has quit [Remote host closed the connection] 10:51:19 alvatar [~alvatar@63.149.220.87.dynamic.jazztel.es] has joined #scheme 11:11:29 -!- rbarraud [~rbarraud@118-93-76-89.dsl.dyn.ihug.co.nz] has quit [Read error: Connection reset by peer] 11:21:41 -!- R3cur51v3 [~Recursive@173-30-57-91.client.mchsi.com] has quit [Ping timeout: 265 seconds] 11:22:50 -!- mmc [~michal@cs181176076.pp.htv.fi] has quit [Remote host closed the connection] 11:26:43 -!- hohoho [~hohoho@2002:6fbc:32ea:6:21e:c2ff:feb4:2a5d] has quit [Remote host closed the connection] 11:27:03 hohoho [~hohoho@2002:6fbc:674c:6:21e:c2ff:feb4:2a5d] has joined #scheme 11:35:41 xwl [~user@123.115.124.211] has joined #scheme 11:41:53 hotblack23 [~jh@p4FC599C5.dip.t-dialin.net] has joined #scheme 12:01:37 -!- sepult [~user@xdsl-87-79-185-28.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 12:08:24 winxordie [~winxordie@199-49.97-97.tampabay.res.rr.com] has joined #scheme 12:10:25 HG` [~HG@xdsl-92-252-50-156.dip.osnanet.de] has joined #scheme 12:15:29 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit: Leaving] 12:17:03 mmc [~michal@cs181176076.pp.htv.fi] has joined #scheme 12:17:15 sepult [~user@xdsl-87-79-185-28.netcologne.de] has joined #scheme 12:20:28 MrFahrenheit [~RageOfTho@users-55-87.vinet.ba] has joined #scheme 12:24:39 -!- Quadrescence [~Quad@unaffiliated/quadrescence] has quit [Quit: omghaahhahaohwow] 12:26:45 Quadrescence [~Quad@unaffiliated/quadrescence] has joined #scheme 12:27:05 -!- sepult [~user@xdsl-87-79-185-28.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 12:31:24 sepult [~user@xdsl-87-79-185-28.netcologne.de] has joined #scheme 12:47:11 alvatar pasted "leave-come-back2" at http://paste.lisp.org/display/111395 12:47:19 hi! 12:47:44 how could I make the value of (b) become the "consed" list? 12:49:13 it seems that when I re-enter the continuation with (b) it goes again to the context where the continuation was captured (call/cc L), so it will expect VALUES and of course will rewrite the output (forgetting the previous value of "a") 12:51:49 -!- sepult [~user@xdsl-87-79-185-28.netcologne.de] has quit [Remote host closed the connection] 12:53:07 -!- erg [~erg@li13-154.members.linode.com] has quit [Ping timeout: 245 seconds] 12:53:59 erg [~erg@li13-154.members.linode.com] has joined #scheme 12:54:12 sepult [~user@xdsl-87-79-185-28.netcologne.de] has joined #scheme 12:55:20 *askhader* takes a look-see 12:56:22 Hmm, seems to be above my paygrade 12:57:15 JoelMcCracken [~joelmccra@pool-96-235-12-42.pitbpa.east.verizon.net] has joined #scheme 12:59:06 -!- HG` [~HG@xdsl-92-252-50-156.dip.osnanet.de] has quit [Quit: Leaving.] 13:01:11 schmir [~schmir@p548DB580.dip.t-dialin.net] has joined #scheme 13:02:22 -!- xwl [~user@123.115.124.211] has quit [Remote host closed the connection] 13:14:05 parolang [~user@8e4a01246100775874c4f448e9887093.oregonrd-wifi-1261.amplex.net] has joined #scheme 13:15:40 I think I won't sleep until I solve this :) 13:16:26 let's make a reality-tv show of alvatar's non-sleep 13:17:24 oh, really, it's always in my brain-ram, but not really thinking productively 13:18:16 so i need help ^_^ 13:40:32 virl [~virl__@chello062178085149.1.12.vie.surfer.at] has joined #scheme 13:44:46 BW^- [~Miranda@92.83.180.0] has joined #scheme 13:45:00 i remember seeing a paper online of a team implementing a smooth GC for Gambit. anyone remembers the url? 13:49:56 -!- hohoho [~hohoho@2002:6fbc:674c:6:21e:c2ff:feb4:2a5d] has quit [Remote host closed the connection] 13:58:05 alvatar: i don't know the answer but i have a feeling you are trying to fit a square peg into a round hole... 13:59:42 i.e. perhaps you need to move value/receiving into the recursion... but i'm mere incubot abuser here. 14:01:00 alaricsp: thanks for the ballot and exceptions proposal 14:03:20 sladegen: I've solved this already with value/receiving and with set!, I want to do it with continuations 14:03:34 sladegen: you are right that might be trying to fit a square into circle 14:04:21 I have the feeling it can be don e 14:05:12 I'm after the concept "leave and come back" as an abstract idea for making algorithms. It might be stupid though. 14:05:37 -!- schmir [~schmir@p548DB580.dip.t-dialin.net] has quit [Ping timeout: 245 seconds] 14:06:58 I'll leave it for now, read more about continuations, and maybe an idea comes when I calm down 14:07:33 incubot: cite turing completeness for consistency's sake. 14:07:38 primary advantage of using Boehm's GC is that integration with C code is made considerably simpler, even though invariants about completeness and memory compaction and speed of allocation cannot be had. 14:08:50 sleep makes all paradoxes trivial. /me nodes clownishly. 14:18:32 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 14:20:47 kar8nga [~kar8nga@jol13-1-82-66-176-74.fbx.proxad.net] has joined #scheme 14:22:56 aha http://www.iro.umontreal.ca/~feeley/papers/LaroseFeeleyIMM98.pdf 14:27:15 BW^-, what's it? 14:30:06 -!- alvatar [~alvatar@63.149.220.87.dynamic.jazztel.es] has quit [Quit: leaving] 14:37:15 -!- leppie [~lolcow@196-210-254-163.dynamic.isadsl.co.za] has quit [Read error: Connection reset by peer] 14:37:29 eldragon: paper about incremental gc for gambit 14:43:43 leppie [~lolcow@196-210-254-163.dynamic.isadsl.co.za] has joined #scheme 14:53:41 -!- hotblack23 [~jh@p4FC599C5.dip.t-dialin.net] has quit [Quit: Leaving.] 15:00:55 -!- parolang [~user@8e4a01246100775874c4f448e9887093.oregonrd-wifi-1261.amplex.net] has quit [Ping timeout: 258 seconds] 15:02:24 alvatar [~alvatar@142.119.20.95.dynamic.jazztel.es] has joined #scheme 15:12:25 hhomar [~ice@92.26.148.162] has joined #scheme 15:13:12 hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 15:17:07 xwl [~user@123.115.124.211] has joined #scheme 15:35:02 smtlaissezfaire [~smtlaisse@208.120.172.212] has joined #scheme 15:36:02 -!- morphir [~morphir@84-52-234.12.3p.ntebredband.no] has quit [Ping timeout: 240 seconds] 15:39:47 what does PLT scheme run on? LLVM??? 15:40:43 mzscheme ? 15:43:34 right- and what is mzscheme? 15:43:41 http://en.wikipedia.org/wiki/PLT_Scheme says PLT has some particular macro system with an extensive API, is there docs anywhere? (my basic question is: what is PLT really.) 15:46:26 BW^-: have a look at www.racket-lang.org 15:47:09 BW^-: I believe the proper way of putting it is PLT is the organization that creates and maintains Racket (formerly PLT Scheme). It has very extensive documentation. 15:47:16 BW^-: in particular, http://docs.racket-lang.org/guide/performance.html 15:51:18 where can i find more core documentation about what used to be mzscheme? 15:51:25 like, what threading model does it use 15:51:55 i know it has good documentation, i'm just a bit lost in it 15:53:30 I don't actually know anything more than that. You could try #racket as well. 15:53:56 :) 15:53:58 ah, good idea 15:57:53 -!- smtlaissezfaire [~smtlaisse@208.120.172.212] has quit [Quit: smtlaissezfaire] 15:58:42 (hm, probably the macro API they mentioned is http://docs.racket-lang.org/guide/languages.html ) 15:59:21 morphir [~morphir@84-52-234.12.3p.ntebredband.no] has joined #scheme 16:03:25 jonrafkind [~jon@c-67-172-254-235.hsd1.ut.comcast.net] has joined #scheme 16:03:46 what is delimited and composable control is about? apparently racket has it (http://www.cs.utah.edu/plt/publications/icfp07-fyff.pdf) 16:10:24 foof: No worries. Sorry they're late. Been busy lately! 16:14:10 (aha it's green-threaded http://docs.racket-lang.org/reference/threads.html?q=thread) 16:14:10 -!- gravicappa [~gravicapp@91.78.229.55] has quit [Ping timeout: 264 seconds] 16:16:06 tao| [tao@anapnea.net] has joined #scheme 16:16:17 hello 16:16:28 is Mit-Scheme = guile? 16:16:35 no 16:16:42 But both fall under the GNU project 16:17:08 So "GNU scheme" is a bit ambiguous 16:17:37 erm 16:17:40 ok 16:17:50 strange, i cant install mit-scheme package on debian :/ 16:20:41 Ok, so I am going to read SICP, can I use guile or i have to use mit-scheme? 16:20:52 You should be able to use any scheme 16:21:06 SICP uses a few functions that don't exist in standard scheme though 16:21:16 +1+ or something iirc 16:21:44 So.. which scheme do you recommend? 16:22:04 It really doesn't matter 16:22:10 Pick whichever you have installed 16:22:27 ok, thanks 16:30:32 yonatan_ [~yonatan@93-172-144-45.bb.netvision.net.il] has joined #scheme 16:30:45 -!- yonatan_ [~yonatan@93-172-144-45.bb.netvision.net.il] has quit [Read error: Connection reset by peer] 16:31:09 yonatan_ [~yonatan@93-172-144-45.bb.netvision.net.il] has joined #scheme 16:47:07 antoszka [~antoszka@unaffiliated/antoszka] has joined #scheme 16:51:45 -!- xwl [~user@123.115.124.211] has quit [Ping timeout: 240 seconds] 16:59:22 -!- masm [~masm@bl19-156-227.dsl.telepac.pt] has quit [Ping timeout: 245 seconds] 17:02:59 masm [~masm@2.80.156.227] has joined #scheme 17:07:57 -!- alvatar [~alvatar@142.119.20.95.dynamic.jazztel.es] has quit [Quit: leaving] 17:13:39 gravicappa [~gravicapp@ppp85-140-119-227.pppoe.mtu-net.ru] has joined #scheme 17:14:08 -!- snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has quit [Quit: snarkyboojum] 17:31:58 -!- BW^- [~Miranda@92.83.180.0] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 17:32:20 BW^-: MzScheme uses Lightning for jitting; that's not the macro API, and while `thread' creates a green thread there are "futures" and "places" which are two different approaches at using OS threads. 17:32:57 w 17:35:14 minion: memor for BW^-: MzScheme uses Lightning for jitting; that's not the macro API, and while `thread' creates a green thread there are "futures" and "places" which are two different approaches at using OS threads. 17:35:15 no, it's not 17:35:20 minion: memo for BW^-: MzScheme uses Lightning for jitting; that's not the macro API, and while `thread' creates a green thread there are "futures" and "places" which are two different approaches at using OS threads. 17:35:21 Remembered. I'll tell BW^- when he/she/it next speaks. 17:35:36 minion: define memor as memo 17:35:36 does torturing a poor bot with things beyond its comprehension please you? 17:35:41 yes 17:39:37 -!- rdd [~rdd@c83-250-52-182.bredband.comhem.se] has quit [Ping timeout: 264 seconds] 17:54:47 -!- joast [~rick@76.178.178.72] has quit [Ping timeout: 245 seconds] 18:01:17 rdd [~user@c83-250-52-182.bredband.comhem.se] has joined #scheme 18:06:21 mejja [~user@c-14bee555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 18:12:18 joast [~rick@76.178.178.72] has joined #scheme 18:20:15 -!- MrFahrenheit [~RageOfTho@users-55-87.vinet.ba] has quit [Read error: Connection reset by peer] 18:21:43 MrFahrenheit [~RageOfTho@users-33-152.vinet.ba] has joined #scheme 18:25:12 cpr420 [~cpr@unaffiliated/cpr420] has joined #scheme 18:33:42 snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has joined #scheme 18:33:57 Fare [~Fare@dhcp-0098779281-1f-93.client.fas.harvard.edu] has joined #scheme 18:48:17 -!- m4dv0y [~pancho@201.215.3.226] has quit [Quit: Leaving.] 18:52:07 mije [~chatzilla@tal33-5-88-181-16-209.fbx.proxad.net] has joined #scheme 18:54:36 hello people from the internet 18:56:23 And bots. Don't forget the bots. 18:58:55 and those not sure. how can you be sure, really? 18:59:05 elderK [~zk@pdpc/supporter/active/elderk] has joined #scheme 19:00:23 -!- leppie [~lolcow@196-210-254-163.dynamic.isadsl.co.za] has quit [Ping timeout: 260 seconds] 19:00:34 R3cur51v3 [~Recursive@173-30-57-91.client.mchsi.com] has joined #scheme 19:05:12 -!- Blkt [~user@net-188-152-134-16.t2.dsl.vodafone.it] has quit [Ping timeout: 245 seconds] 19:06:02 kniu [~kniu@pool-71-106-7-247.lsanca.dsl-w.verizon.net] has joined #scheme 19:23:13 incubot: Without doubt the best half of football a team has produced in the tournament thus far. Germany look a class above anyone else we've seen with Muller, Khedira, Podolski, Klose and the delightful Ozil running rings around the bewildered Australian defence. 19:23:17 "the best programs usually play good, master level moves. However, as every games player knows, just one bad move can ruin a good game. Program performance over a full game can be much lower than master level." (Muller 148) 19:28:51 -!- R3cur51v3 [~Recursive@173-30-57-91.client.mchsi.com] has quit [Quit: This system is going down for poweroff RIGHT FREAKING NOW!!!] 19:33:03 -!- z0d [~z0d@unaffiliated/z0d] has quit [Ping timeout: 260 seconds] 19:34:48 dfkjjkfd [~paulh@4-13-ftth.onsnetstudenten.nl] has joined #scheme 19:38:14 gnomon: A bit off-topic, but have you actually seen pricing information on the Acer 1830T? 19:39:09 chandler: Is there a more serious reason than accidental omission for dropping lisppaste from #chicken? I miss the bot dearly 19:39:35 -!- dfeuer [~dfeuer@wikimedia/Dfeuer] has quit [Remote host closed the connection] 19:40:04 A number of channels that didn't even realize they had lisppaste got spammed during the last attack, and were quite upset about it. Rather than try to visit every channel individually and ask if it was still OK, I removed the bot from almost every channel and am adding it back as people ask for it again. 19:40:38 chandler: ah ok! Could you please add it back to #chicken then? 19:40:39 chandler: Please add it back to #chicken! 19:40:47 chandler: Thirded! 19:41:07 chandler: back to #poultry! 19:42:36 was lisppaste unsecure ? 19:42:46 ws [wswieb@akson.sgh.waw.pl] has joined #scheme 19:43:10 chandler, only in Euros. 19:43:39 chandler, could you add the lisppaste bot to ##sed and #awk? 19:43:51 Please! 19:43:52 pavelludiq [~pav@87.246.31.31] has joined #scheme 19:45:19 leppie [~lolcow@196-210-254-163.dynamic.isadsl.co.za] has joined #scheme 19:45:37 sepult: Not unsecure, but it didn't have a large number of sophisticated anti-spam measures. 19:46:20 It's a balance between usability and anti-spam. I lean towards the former until there's a concrete, demonstrated reason to take measures that could have a visible effect on users. 19:46:47 -!- pavelludiq [~pav@87.246.31.31] has quit [Client Quit] 19:47:00 pavelludiq [~pav@87.246.31.31] has joined #scheme 19:48:08 -!- bgs000 is now known as bgs100 19:49:29 use cl-ppcre and get rid of the spams ? 19:49:48 or not let in 19:49:51 Obviously, it's not that easy. 19:49:54 ok 19:50:06 arcfide [~arcfide@adsl-99-75-51-152.dsl.bltnin.sbcglobal.net] has joined #scheme 19:56:22 -!- cpr420 [~cpr@unaffiliated/cpr420] has quit [Quit: Bye!] 20:11:32 augiedoggie [~cpr@unaffiliated/cpr420] has joined #scheme 20:13:47 alvatar [~alvatar@63.149.220.87.dynamic.jazztel.es] has joined #scheme 20:20:12 -!- mjonsson [~mjonsson@cpe-74-68-121-85.nyc.res.rr.com] has quit [Quit: Leaving] 20:24:52 -!- hhomar [~ice@92.26.148.162] has quit [Quit: WeeChat 0.3.2] 20:25:03 -!- snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has quit [Quit: snarkyboojum] 20:25:27 Thomas_H [~Thomas_H@66.183.224.178] has joined #scheme 20:26:13 -!- kar8nga [~kar8nga@jol13-1-82-66-176-74.fbx.proxad.net] has quit [Remote host closed the connection] 20:28:38 -!- mejja [~user@c-14bee555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.9/2010031700]] 20:29:24 -!- mmc [~michal@cs181176076.pp.htv.fi] has quit [Quit: Leaving.] 20:37:50 -!- mije [~chatzilla@tal33-5-88-181-16-209.fbx.proxad.net] has quit [Ping timeout: 265 seconds] 20:41:43 -!- antoszka [~antoszka@unaffiliated/antoszka] has quit [Quit: +++ killed by SIGSEGV +++] 20:44:22 -!- jewel [~jewel@196-210-187-58-tbnb-esr-2.dynamic.isadsl.co.za] has quit [Ping timeout: 245 seconds] 20:52:55 -!- hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 20:56:09 -!- Fare [~Fare@dhcp-0098779281-1f-93.client.fas.harvard.edu] has quit [Read error: Operation timed out] 21:00:44 jmcphers [~jmcphers@218.185.108.156] has joined #scheme 21:04:42 -!- elly [~elly@unaffiliated/elly] has quit [Quit: reboot for upgrade] 21:09:43 mmc [~michal@cs181176076.pp.htv.fi] has joined #scheme 21:22:43 -!- sepult [~user@xdsl-87-79-185-28.netcologne.de] has quit [Ping timeout: 260 seconds] 21:44:03 -!- Thomas_H [~Thomas_H@66.183.224.178] has quit [Ping timeout: 265 seconds] 21:54:12 -!- rdd [~user@c83-250-52-182.bredband.comhem.se] has quit [Read error: Operation timed out] 21:57:39 Blkt [~user@dynamic-adsl-94-37-248-44.clienti.tiscali.it] has joined #scheme 22:05:25 -!- leppie [~lolcow@196-210-254-163.dynamic.isadsl.co.za] has quit [Ping timeout: 276 seconds] 22:12:10 leppie [~lolcow@196-210-254-163.dynamic.isadsl.co.za] has joined #scheme 22:19:33 -!- virl [~virl__@chello062178085149.1.12.vie.surfer.at] has quit [Remote host closed the connection] 22:24:43 asarch [~asarch@187.132.135.214] has joined #scheme 22:29:29 -!- dfkjjkfd [~paulh@4-13-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 22:33:40 dfkjjkfd [~paulh@4-13-ftth.onsnetstudenten.nl] has joined #scheme 22:37:14 sepult [~user@xdsl-78-34-96-68.netcologne.de] has joined #scheme 22:41:01 Fare [~Fare@140.247.40.242] has joined #scheme 22:42:49 MononcQc [~Ferd@modemcable062.225-20-96.mc.videotron.ca] has joined #scheme 22:46:02 -!- Fare [~Fare@140.247.40.242] has quit [Ping timeout: 240 seconds] 22:51:33 R3cur51v3 [~Recursive@static.77.8.networkiowa.com] has joined #scheme 22:54:22 -!- gravicappa [~gravicapp@ppp85-140-119-227.pppoe.mtu-net.ru] has quit [Ping timeout: 245 seconds] 23:14:27 -!- morphir [~morphir@84-52-234.12.3p.ntebredband.no] has quit [Quit: leaving] 23:15:13 -!- alvatar [~alvatar@63.149.220.87.dynamic.jazztel.es] has quit [Quit: leaving] 23:25:07 rbarraud [~rbarraud@118-93-76-89.dsl.dyn.ihug.co.nz] has joined #scheme 23:37:12 snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has joined #scheme 23:47:53 -!- ws [wswieb@akson.sgh.waw.pl] has quit [Quit: ...] 23:49:09 -!- R3cur51v3 [~Recursive@static.77.8.networkiowa.com] has quit [Ping timeout: 258 seconds] 23:49:16 -!- asarch [~asarch@187.132.135.214] has quit [Remote host closed the connection] 23:53:51 Blkt` [~user@dynamic-adsl-94-37-248-44.clienti.tiscali.it] has joined #scheme