00:03:28 -!- Nisstyre [~nisstyre@109.74.204.224] has quit [Ping timeout: 252 seconds] 00:05:08 -!- ijp [~user@host109-153-23-149.range109-153.btcentralplus.com] has quit [Quit: off to read a book] 00:07:56 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 00:11:09 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 00:14:03 -!- ckrailo [~ckrailo@208.86.167.249] has quit [Quit: Leaving...] 00:15:53 Nisstyre [~nisstyre@109.74.204.224] has joined #scheme 00:17:51 -!- pygospa [~TheRealPy@kiel-4dbed992.pool.mediaWays.net] has quit [Disconnected by services] 00:18:03 pygospa [~TheRealPy@kiel-d9bfd5f4.pool.mediaWays.net] has joined #scheme 00:21:33 -!- elliottcable is now known as ec|detached 00:27:42 zmv [~daniel@c95315ce.virtua.com.br] has joined #scheme 00:43:22 -!- pnkfelix [~Adium@c-68-82-87-23.hsd1.pa.comcast.net] has quit [Quit: Leaving.] 00:46:35 -!- tauntaun [~Crumpet@64.134.66.251] has quit [Quit: Ex-Chat] 00:53:51 jeapostrophe [~jay@static-74-40-137-134.dr01.crth.il.frontiernet.net] has joined #scheme 00:56:02 -!- dnolen [~davidnole@71.249.144.64] has quit [Quit: dnolen] 00:57:56 theratking862 [~theratkin@pool-173-48-130-251.bstnma.fios.verizon.net] has joined #scheme 00:59:44 -!- githogori [~githogori@216.207.36.222] has quit [Remote host closed the connection] 01:20:09 -!- pyrony [~epic@office1.klout.com] has quit [Ping timeout: 255 seconds] 01:30:53 dnolen [~davidnole@184.152.69.75] has joined #scheme 01:39:23 pyrony [~epic@173-116-181-151.pools.spcsdns.net] has joined #scheme 01:40:05 -!- DT`` [~Feeock@net-93-149-44-141.cust.dsl.teletu.it] has quit [Ping timeout: 258 seconds] 01:40:06 -!- kennyd [~kennyd@93-141-2-11.adsl.net.t-com.hr] has quit [Read error: Connection reset by peer] 01:41:09 DT`` [~Feeock@net-93-149-44-141.cust.dsl.teletu.it] has joined #scheme 01:43:22 kennyd [~kennyd@93-141-2-11.adsl.net.t-com.hr] has joined #scheme 01:48:56 -!- DT`` [~Feeock@net-93-149-44-141.cust.dsl.teletu.it] has quit [Ping timeout: 244 seconds] 01:52:17 DT`` [~Feeock@net-93-149-44-141.cust.dsl.teletu.it] has joined #scheme 01:55:25 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Ping timeout: 258 seconds] 02:02:29 -!- DT`` [~Feeock@net-93-149-44-141.cust.dsl.teletu.it] has quit [Ping timeout: 240 seconds] 02:04:27 DT`` [~Feeock@net-93-149-44-141.cust.dsl.teletu.it] has joined #scheme 02:05:17 -!- theratking862 [~theratkin@pool-173-48-130-251.bstnma.fios.verizon.net] has quit [Read error: No route to host] 02:05:36 theratking862 [~theratkin@pool-173-48-130-251.bstnma.fios.verizon.net] has joined #scheme 02:14:44 -!- pyrony [~epic@173-116-181-151.pools.spcsdns.net] has quit [Ping timeout: 252 seconds] 02:15:44 -!- MrFahrenheit [~RageOfTho@62.101.146.61] has quit [Ping timeout: 258 seconds] 02:18:18 gienah [~mwright@ppp121-44-237-46.lns20.syd7.internode.on.net] has joined #scheme 02:20:19 bokr [~eduska@109.110.36.68] has joined #scheme 02:20:19 -!- DT`` [~Feeock@net-93-149-44-141.cust.dsl.teletu.it] has quit [Ping timeout: 246 seconds] 02:24:37 -!- aidalgol [~user@114-134-7-23.rurallink.co.nz] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 02:24:42 -!- zmv [~daniel@c95315ce.virtua.com.br] has quit [Ping timeout: 240 seconds] 02:34:41 samth_ [~samth@c-24-128-51-63.hsd1.ma.comcast.net] has joined #scheme 02:36:49 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Read error: Connection reset by peer] 02:38:13 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 02:40:00 -!- antoszka [~antoszka@unaffiliated/antoszka] has quit [*.net *.split] 02:40:23 antoszka [~antoszka@unaffiliated/antoszka] has joined #scheme 02:42:26 -!- timchen1` [tim@163.16.211.21] has quit [Quit: Coyote finally caught me] 02:43:18 -!- theratking862 [~theratkin@pool-173-48-130-251.bstnma.fios.verizon.net] has left #scheme 02:48:17 pyrony [~epic@99-105-56-162.lightspeed.sntcca.sbcglobal.net] has joined #scheme 02:50:25 -!- minsa [minsa@c-24-5-121-157.hsd1.ca.comcast.net] has quit [Ping timeout: 252 seconds] 02:50:31 -!- tricus [~tricus@h69-130-142-158.cncrtn.dsl.dynamic.tds.net] has quit [Remote host closed the connection] 02:54:29 DrDuck [~duck@adsl-98-81-86-227.hsv.bellsouth.net] has joined #scheme 02:55:39 -!- turbofail [~user@c-107-3-149-149.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 02:56:16 minsa [~minsa@c-24-5-121-157.hsd1.ca.comcast.net] has joined #scheme 03:00:58 tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has joined #scheme 03:07:44 thoolihan [~Tim@50.51.92.84] has joined #scheme 03:10:19 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 03:13:05 -!- DrDuck [~duck@adsl-98-81-86-227.hsv.bellsouth.net] has quit [Quit: Leaving] 03:19:20 -!- minsa [~minsa@c-24-5-121-157.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 03:19:42 minsa [~minsa@c-24-5-121-157.hsd1.ca.comcast.net] has joined #scheme 03:28:06 inquest12 [~dbaweja@65.95.15.112] has joined #scheme 03:31:25 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 03:35:00 githogori [~githogori@c-24-7-1-43.hsd1.ca.comcast.net] has joined #scheme 03:40:11 -!- tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has quit [Quit: tshauck] 03:47:41 xemdetia [~user@pool-74-97-62-21.prvdri.east.verizon.net] has joined #scheme 03:48:01 -!- jeapostrophe [~jay@static-74-40-137-134.dr01.crth.il.frontiernet.net] has quit [Quit: jeapostrophe] 03:59:50 I can't seem to find something to confirm it but if I have (define x (lambda (var) (set! var 2))) var will never get modified because of scope, right? 04:00:15 var will be modified all right. 04:00:17 Of course VAR will be modified. But the modification won't have any useful effects. 04:03:20 (well, an optimizing compiler may elide the set!) 04:03:33 xemdetia, are you trying to modify some random variable passed in? maybe you want to try boxes 04:03:54 (define x (box 5)) (define (change-it b) (set-box! b 10)) (change-it x) (unbox x) -> 10 04:05:00 yes that's what I am trying to do jonrafkind I will have to read into boxes 04:12:18 -!- acarrico [~acarrico@pppoe-68-142-34-181.gmavt.net] has quit [Ping timeout: 240 seconds] 04:20:33 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 04:24:57 djcb [~user@a88-114-88-233.elisa-laajakaista.fi] has joined #scheme 04:25:27 acarrico [~acarrico@pppoe-68-142-57-239.gmavt.net] has joined #scheme 04:34:36 DT`` [~Feeock@net-93-149-39-118.cust.dsl.teletu.it] has joined #scheme 04:45:09 djcb` [~user@a88-114-88-233.elisa-laajakaista.fi] has joined #scheme 04:46:17 -!- xemdetia [~user@pool-74-97-62-21.prvdri.east.verizon.net] has quit [Remote host closed the connection] 04:46:40 -!- djcb [~user@a88-114-88-233.elisa-laajakaista.fi] has quit [Ping timeout: 250 seconds] 04:46:54 -!- tupi [~david@189.60.161.65] has quit [Quit: Leaving] 04:48:01 -!- asumu [~at@2001:470:b:b7:21c:26ff:fe06:5b57] has quit [Remote host closed the connection] 04:48:27 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 05:07:51 acecool2 [~acecool@201.160.3.219.cable.dyn.cableonline.com.mx] has joined #scheme 05:08:19 theratking862 [~theratkin@pool-173-48-130-251.bstnma.fios.verizon.net] has joined #scheme 05:09:19 gravicappa [~gravicapp@h178-129-21-225.dyn.bashtel.ru] has joined #scheme 05:11:46 stis [~stis@host-95-201-90-157.mobileonline.telia.com] has joined #scheme 05:13:01 hey guys I have a question that I can't wrap my mind around right now. http://codepad.org/BxGjLjpq I'm trying write a function that finds all the possible permutations of a list 05:13:24 it sorta works, but the output is more like a tree 05:13:40 (scramble '(1 2 3)) --> '((1 (2 3) (3 2)) (2 (1 3) (3 1)) (3 (1 2) (2 1))) 05:14:28 -!- acecool2 [~acecool@201.160.3.219.cable.dyn.cableonline.com.mx] has quit [Remote host closed the connection] 05:14:36 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has quit [Ping timeout: 255 seconds] 05:16:15 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 05:17:30 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 240 seconds] 05:23:29 djcb`` [~user@a88-114-88-233.elisa-laajakaista.fi] has joined #scheme 05:25:02 -!- djcb` [~user@a88-114-88-233.elisa-laajakaista.fi] has quit [Ping timeout: 252 seconds] 05:26:02 ahh I understand 05:27:51 now to fix it... 05:35:50 -!- acarrico [~acarrico@pppoe-68-142-57-239.gmavt.net] has quit [Ping timeout: 258 seconds] 05:37:21 theratking862: what is (scramble '()) supposed to return? 05:37:57 i mean I wrote it so that it'll always deal with lists of length > 1 05:38:07 length 2 is the simplest case 05:38:08 well, (scramble '(a)) 05:38:27 duh, (scramble '(a b)) 05:38:45 scramble(a b) -> ((a b) (b a)) 05:39:02 which is a *list* of permutations. 05:39:37 for (scramble (a b c)), you want to add "a" to each member of the list of permutations of (b c) 05:39:55 and "b" to the list of permutations of (a c), and so on. 05:40:14 yes 05:40:16 It gives you several lists, that you want to return as a list of permutations 05:40:29 and there goes how to fix it, in English :) 05:41:35 hm 05:41:58 that was exactly what I intended to do with (add-letters (map scramble (remove-letters word)) word) 05:42:18 the only thing is im mapping the scramble function, meaning im getting lists of lists 05:42:24 (of lists) 05:42:40 that you need to concatenate before returning 05:42:55 can you explain that a little bit 05:44:10 well, (scramble '(a b c)) is something like (append (dispatch 'a (scramble '(b c))) (dispatch 'b (scramble '(a c))) (dispatch 'c (scramble '(a c))))) 05:44:32 (scramble '()) should return '() 05:44:41 and (scramble '(a)) should return '(a) 05:44:45 that's the base for recursion 05:44:49 ohwow: I would definitely make it return '(()) (and '((a))) 05:45:02 imo 05:45:04 Axioplase_ : what is dispatch? 05:45:20 Axioplase_: oh yeah 05:45:22 pardon 05:46:14 theratking862: well, the recursion calls work on smaller lists, but you don't want to throw away the part you truncated, so you need to put it back somehow 05:46:41 in my English explanation, that was the "you want to add" part 05:46:58 yeah, I have an add-letters function that should do that theoretically 05:47:23 If you don't do that, instead of ((a b c) (a c b)), you get (a (b c) (c d)). That's your initial bug. 05:47:50 oh okay 05:48:21 scramble = (append-map (lambda (x) (map (lambda (y) (cons x y)) (scramble (remove x lst)))) lst) 05:48:22 imo 05:48:37 dammit i need to install scheme on this box 05:50:08 acarrico [~acarrico@pppoe-68-142-35-144.gmavt.net] has joined #scheme 05:51:17 djcb``` [~user@a88-114-88-233.elisa-laajakaista.fi] has joined #scheme 05:53:32 -!- djcb`` [~user@a88-114-88-233.elisa-laajakaista.fi] has quit [Ping timeout: 276 seconds] 05:56:44 -!- djcb``` [~user@a88-114-88-233.elisa-laajakaista.fi] has quit [Remote host closed the connection] 06:00:30 -!- fantazo [~fantazo@91-115-170-235.adsl.highway.telekom.at] has quit [Ping timeout: 255 seconds] 06:04:55 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Read error: Connection reset by peer] 06:06:16 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 06:06:59 -!- Modius [~Modius@cpe-70-123-140-183.austin.res.rr.com] has quit [Ping timeout: 276 seconds] 06:13:34 fantazo [~fantazo@178-191-166-149.adsl.highway.telekom.at] has joined #scheme 06:20:51 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 06:29:48 -!- dfeuer [~dfeuer@wikimedia/Dfeuer] has quit [Ping timeout: 250 seconds] 06:32:48 um 06:32:53 i got a solution, but it's a hack 06:33:57 http://codepad.org/2ducQHw9 if you want to critique 06:34:37 on second thought no, it doesn't really work 06:41:34 theratking862: I think add-letter doesn't even work. Does it? 06:42:11 basically, without it I get something like '(((2 3) (3 2)) ((1 3) (3 1)) ((1 2) (2 1))) 06:42:30 so when I do apply it, It does what it's supposed to do, but the lists are too nested 06:42:40 -!- fantazo [~fantazo@178-191-166-149.adsl.highway.telekom.at] has quit [Remote host closed the connection] 06:42:48 oh are you talking about my new solution? it was stupid 06:43:02 I reverted back because I didn't know what i was really doing 06:43:30 theratking862: you need a loop invariant. 06:43:41 I don't know what that is, lemme google it 06:43:55 or rather, know the input types and output types of your function. 06:44:10 input: a list of FOO., output, a list of lists of FOO 06:44:18 yes 06:44:32 so the problem is that im mapping the function 06:44:36 -!- samth_ [~samth@c-24-128-51-63.hsd1.ma.comcast.net] has quit [Ping timeout: 255 seconds] 06:44:55 maybe. I didn't look for the bug as the first function did not even work 06:45:17 im mapping the function that SHOULD return a 2d list, to a list 06:45:37 by applying scramble to every element, im f-ing myself over 06:46:31 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Read error: Operation timed out] 06:47:34 Write the what the function should do on a paper, for a few lists. 06:48:00 You should see the recursion pattern quite easily 06:48:38 i know the pattern, I coded this in python it's just hard to express it purely functionally 06:49:03 no it's not. It should be easier 06:52:37 if the list is 2 elements: return a list of them ((inorder) (swapped order)) 06:52:39 if the list is greater than 2 elements, collect a list of words with a different letter removed from each, 06:52:41 then scramble those new words, and after, append the letter than i removed 06:52:59 no 06:53:08 the last one is where your bug is 06:53:18 append the letter to each scrambled word? 06:53:42 well, be more precise append the letter to what? 06:54:11 What is the result of "then scramble those new words"? 06:54:22 And what is the input of "append the letter that I removed"? 06:54:32 that's my issue 06:54:47 Well, it *should* be obvious 06:55:10 haha no my issue is that im having trouble seeing how to resolve the issue 06:55:13 since you just wrote it in your first line 06:55:35 first line? 06:55:46 Yeah. What is the type of scramble? 06:55:52 (the 2 elements case) 06:56:11 a 2d list 06:56:23 the "exact" type 06:56:28 not sure what you mean 06:58:04 for example the function (lambda (x y) (cons (+ x 1) (append y "42"))) has roughly type (number, string) -> pair of (number, string) 06:58:24 it takes a number, a string, and returns a pair of a number and of a string 06:58:54 scramble takes a list, and returns a list of variants of that list 06:59:04 (it SHOULD gosh darn it) 06:59:26 yeah. 06:59:39 It takes a word, and returns a *list* of words. 06:59:46 yeah 06:59:55 if you scramble a words, you get a list. 07:00:02 yes 07:00:22 If you scramble a list of worlds (one at a time), you should get a list of (list of words) 07:00:41 yes 07:00:45 add another dimension etc 07:00:55 and that's what im doing with map 07:01:06 and i need to stop doing that 07:01:07 But what you want is a list of words, not a list of list of words. 07:01:11 yes 07:01:36 So, you need to concatenate all the sub-results into a single list 07:01:49 this is called APPEND. 07:03:33 yes this is sort of what i was trying to fix 07:03:48 I append the results of the map 07:12:08 -!- gravicappa [~gravicapp@h178-129-21-225.dyn.bashtel.ru] has quit [Remote host closed the connection] 07:19:43 -!- kennyd [~kennyd@93-141-2-11.adsl.net.t-com.hr] has quit [Ping timeout: 246 seconds] 07:23:23 kennyd [~kennyd@93-141-90-10.adsl.net.t-com.hr] has joined #scheme 07:25:21 -!- clog [~nef@bespin.org] has quit [Ping timeout: 240 seconds] 07:31:12 finally got it 07:31:19 thanks a lot Axioplase_ 07:31:41 I think I was looking for something that wasn't there, I just needed to concentrate 07:32:13 :) 07:32:28 (also the tv was on and it's laaatte) 07:33:13 do you by any chance know python? I wonder if you would think my first solution is intuitive 07:35:57 no, I don't know python 07:37:11 fair enough, well thanks again for the help, scheme is pretty cool 07:38:13 gotta go to bed, bye 07:38:17 -!- theratking862 [~theratkin@pool-173-48-130-251.bstnma.fios.verizon.net] has left #scheme 07:39:18 wingo [~wingo@90.164.198.39] has joined #scheme 07:40:58 toekutr [~erik@adsl-69-107-103-102.dsl.pltn13.pacbell.net] has joined #scheme 07:45:48 -!- toekutr [~erik@adsl-69-107-103-102.dsl.pltn13.pacbell.net] has quit [Quit: Leaving] 07:53:39 masm [~masm@2.80.159.30] has joined #scheme 08:04:33 -!- twem2 [~tristan@puma-mxisp.mxtelecom.com] has left #scheme 08:05:31 -!- monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has quit [Quit: hello] 08:07:05 twem2 [~tristan@puma-mxisp.mxtelecom.com] has joined #scheme 08:23:00 -!- nego [~nego@c-76-16-30-244.hsd1.il.comcast.net] has quit [Quit: Lost terminal] 08:24:51 hkBst [~quassel@gentoo/developer/hkbst] has joined #scheme 08:35:15 -!- kennyd [~kennyd@93-141-90-10.adsl.net.t-com.hr] has quit [Quit: bye] 08:41:36 -!- inquest12 [~dbaweja@65.95.15.112] has quit [Ping timeout: 255 seconds] 08:44:48 -!- bipt [~bpt@cpe-173-095-173-064.nc.res.rr.com] has quit [Remote host closed the connection] 09:04:18 ijp [~user@host109-153-23-149.range109-153.btcentralplus.com] has joined #scheme 09:36:44 clog [~nef@bespin.org] has joined #scheme 10:13:24 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has quit [Ping timeout: 250 seconds] 10:24:25 kuribas [~user@94-227-89-39.access.telenet.be] has joined #scheme 10:28:22 MrFahrenheit [~RageOfTho@users-146-61.vinet.ba] has joined #scheme 10:28:33 -!- weinholt [weinholt@debian/emeritus/weinholt] has quit [] 10:33:43 -!- stchang [~stchang@login.ccs.neu.edu] has quit [Read error: Operation timed out] 10:33:54 stchang [~stchang@login.ccs.neu.edu] has joined #scheme 10:34:47 -!- eli [~eli@winooski.ccs.neu.edu] has quit [Ping timeout: 276 seconds] 10:37:39 f8l [~f8l@77-253-17-75.adsl.inetia.pl] has joined #scheme 10:39:41 -!- stis [~stis@host-95-201-90-157.mobileonline.telia.com] has quit [Remote host closed the connection] 10:50:29 fschwidom [~fschwidom@46.115.5.169] has joined #scheme 11:05:45 acecool [~acecool@201.160.3.219.cable.dyn.cableonline.com.mx] has joined #scheme 11:07:00 -!- wingo [~wingo@90.164.198.39] has quit [Remote host closed the connection] 11:23:33 -!- acecool [~acecool@201.160.3.219.cable.dyn.cableonline.com.mx] has quit [Ping timeout: 264 seconds] 11:27:13 cbrannon [~cbrannon@gentoo/developer/cbrannon] has joined #scheme 11:31:54 jeapostrophe [~jay@static-74-40-137-134.dr01.crth.il.frontiernet.net] has joined #scheme 11:51:16 weinholt [weinholt@debian/emeritus/weinholt] has joined #scheme 11:54:51 g112wdh [~user@202.99.168.110] has joined #scheme 12:07:50 -!- g112wdh [~user@202.99.168.110] has quit [Read error: Connection reset by peer] 12:18:16 pnkfelix [~Adium@c-68-82-87-23.hsd1.pa.comcast.net] has joined #scheme 12:38:20 -!- MrFahrenheit [~RageOfTho@users-146-61.vinet.ba] has quit [Read error: Connection reset by peer] 12:41:33 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 264 seconds] 12:48:03 -!- martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has quit [Remote host closed the connection] 12:48:03 pothos_ [~pothos@111-240-169-200.dynamic.hinet.net] has joined #scheme 12:48:18 -!- pothos [~pothos@111-240-169-200.dynamic.hinet.net] has quit [Read error: Connection reset by peer] 12:48:29 martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 12:48:39 -!- pothos_ is now known as pothos 12:59:36 -!- blueadept [~blueadept@unaffiliated/blueadept] has quit [Max SendQ exceeded] 13:02:24 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 250 seconds] 13:04:01 -!- bokr [~eduska@109.110.36.68] has quit [Quit: Leaving.] 13:04:03 samth_ [~samth@c-24-128-51-63.hsd1.ma.comcast.net] has joined #scheme 13:06:36 -!- pnkfelix [~Adium@c-68-82-87-23.hsd1.pa.comcast.net] has quit [Quit: Leaving.] 13:13:22 replore_ [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 13:13:23 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 276 seconds] 13:17:35 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 13:19:45 dnolen [~davidnole@184.152.69.75] has joined #scheme 13:22:24 -!- jeapostrophe [~jay@static-74-40-137-134.dr01.crth.il.frontiernet.net] has quit [Quit: jeapostrophe] 13:22:31 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 13:34:10 Bahman [~bahman@2.144.254.199] has joined #scheme 13:34:32 Hi all! 13:41:18 soveran [~soveran@200-42-23-2.dup.prima.net.ar] has joined #scheme 13:45:14 tupi [~david@189.60.161.65] has joined #scheme 13:58:46 interglacial [~interglac@95.148.218.223] has joined #scheme 13:59:41 pnkfelix [~Adium@c-68-82-87-23.hsd1.pa.comcast.net] has joined #scheme 14:01:15 hi, does anyone know of a simple scheme implementation written in c++ ? (simple in terms of being easy to understand the source code...) 14:01:28 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 14:03:54 wingo [~wingo@56.61.17.95.dynamic.jazztel.es] has joined #scheme 14:05:27 Hmmm. "simple" and "c++" in the same sentence. That's unusual. 14:07:24 ok c aswell. by simple i was thinking c++ without templates and other nonsense. anyway has anyone here written a scheme interpreter or know of a pedagogical implementation in c or c++ 14:07:58 was just thinking it's an interesting programming project 14:08:32 interglacial: There are MANY Schemes written in C 14:08:43 Gauche, Guile, and Chibi come to mind 14:09:44 interglacial: there's http://www.t3x.org/s9fes.tgz 14:09:58 Better: http://www.t3x.org/ 14:11:13 Also http://www.artisancoder.com/2009/09/sly-scheme/ 14:12:04 -!- soveran [~soveran@200-42-23-2.dup.prima.net.ar] has quit [Remote host closed the connection] 14:13:23 Also http://michaux.ca/articles/scheme-from-scratch-introduction and a search on github will probably turn up another 50 14:14:36 kennyd [~kennyd@93-141-90-10.adsl.net.t-com.hr] has joined #scheme 14:16:15 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 14:17:21 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 14:17:56 -!- leppie [~lolcow@196-210-170-119.dynamic.isadsl.co.za] has quit [Ping timeout: 276 seconds] 14:20:07 leppie [~lolcow@196-210-170-119.dynamic.isadsl.co.za] has joined #scheme 14:21:12 -!- ijp [~user@host109-153-23-149.range109-153.btcentralplus.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 14:35:42 -!- ec|detached is now known as elliottcable 14:40:16 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 14:40:44 drdo` [~drdo@91.205.108.93.rev.vodafone.pt] has joined #scheme 14:40:57 -!- drdo [~drdo@91.205.108.93.rev.vodafone.pt] has quit [Read error: Connection reset by peer] 14:41:31 -!- drdo` is now known as drdo 14:45:02 copumpkin [~pumpkin@17.45.135.69] has joined #scheme 14:45:02 -!- copumpkin [~pumpkin@17.45.135.69] has quit [Changing host] 14:45:02 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 14:46:09 -!- Nisstyre [~nisstyre@109.74.204.224] has quit [Ping timeout: 246 seconds] 14:46:34 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 14:48:13 soveran [~soveran@200-42-23-2.dup.prima.net.ar] has joined #scheme 14:50:09 -!- samth_ [~samth@c-24-128-51-63.hsd1.ma.comcast.net] has quit [Ping timeout: 255 seconds] 14:56:55 homie [~levent.gu@xdsl-78-35-153-133.netcologne.de] has joined #scheme 14:59:36 aisa [~aisa@c-68-35-164-105.hsd1.nm.comcast.net] has joined #scheme 15:06:58 blueadept [~blueadept@unaffiliated/blueadept] has joined #scheme 15:08:01 -!- soveran [~soveran@200-42-23-2.dup.prima.net.ar] has quit [Remote host closed the connection] 15:08:09 -!- blueadept [~blueadept@unaffiliated/blueadept] has quit [Client Quit] 15:08:38 blueadept [~blueadept@unaffiliated/blueadept] has joined #scheme 15:11:49 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 15:12:25 Eataix [~eataix@CPE-121-223-198-253.lns3.civ.bigpond.net.au] has joined #scheme 15:15:32 -!- pnkfelix [~Adium@c-68-82-87-23.hsd1.pa.comcast.net] has quit [Quit: Leaving.] 18:29:25 ccl-logbot [~ccl-logbo@setf.clozure.com] has joined #scheme 18:29:25 18:29:25 -!- names: ccl-logbot Nisstyre homie inquest12 tricus rpg jcowan rdd soveran masm HG`` pyrony MrFahrenheit turbofail MichaelRaskin pdlogan monqy thoolihan tupi jonrafkind carleastlund amoe zbigniew ckrailo cky kephas blueadept aisa Riastradh copumpkin drdo leppie araujo kennyd interglacial bgs100 Jafet replore_ martinhex pothos cbrannon fschwidom f8l stchang kuribas clog twem2 acarrico DT`` githogori minsa antoszka pygospa samth elly bzzbzz Hal9k yell0 aoh gnomon 18:29:25 -!- names: ivartj pjb Nshag alaricsp arbscht Intensity duncanm evhan Euthydemus` eno pchrist chemuduguntar peterhil` _p4bl0 mario-goulart kniu ray dsp_ felipe ecraven mornfall kanru Axioplase_ gabot C-Keen sjamaan alfa_y_omega finnrobi snorble specbot vk0_ askhader shachaf fbs xian Pepe_ offby1 z0d erg wilx kba tizoc inimino dlouhy ve ozzloy rotty_ penryu cipher PreciousMetals REPLeffect stamourv stepnem lisppaste zanea augiedoggie foof cataska em aking Adrinael 18:29:25 -!- names: pranq kpal jimrees_ yosafbridge ski tessier bremner Zol lusory Obfuscate takamoro1 dRbiG rapacity tonyg fds sloyd snarkyboojum ianl` drewr elliottcable futilius poucet DerGuteMoritz levi kandinski rrm3 klutometis preflex sir_lewk ineiros ToxicFrog ASau wtetzner Leonidas danking docgnome cmatei rudybot incubot ^micro moll ohwow 18:29:39 weinholt [weinholt@debian/emeritus/weinholt] has joined #scheme 18:41:10 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has left #scheme 18:41:30 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 18:41:57 OneBraveHog [~nana@pool-71-182-166-67.pitbpa.east.verizon.net] has joined #scheme 18:43:20 djcb [~user@a88-114-88-233.elisa-laajakaista.fi] has joined #scheme 18:47:19 stis [~stis@host-90-235-77-23.mobileonline.telia.com] has joined #scheme 18:52:32 jeapostrophe [~jay@static-74-40-137-134.dr01.crth.il.frontiernet.net] has joined #scheme 18:56:21 stis_ [~stis@host-90-235-77-23.mobileonline.telia.com] has joined #scheme 18:56:32 -!- stis [~stis@host-90-235-77-23.mobileonline.telia.com] has quit [Quit: Konversation terminated!] 19:17:04 Modius [~Modius@cpe-70-123-140-183.austin.res.rr.com] has joined #scheme 19:17:39 devogon [~user@a83-163-241-74.adsl.xs4all.nl] has joined #scheme 19:17:56 pnkfelix [~Adium@c-68-82-87-23.hsd1.pa.comcast.net] has joined #scheme 19:18:14 astertronisticon [~astertron@ip70-181-197-230.sd.sd.cox.net] has joined #scheme 19:18:35 -!- astertronisticon [~astertron@ip70-181-197-230.sd.sd.cox.net] has left #scheme 19:20:07 astertronistic [~astertron@ip70-181-197-230.sd.sd.cox.net] has joined #scheme 19:50:25 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Ping timeout: 240 seconds] 19:55:11 -!- inquest12 [~dbaweja@65.95.15.112] has quit [Ping timeout: 240 seconds] 19:56:40 -!- homie [~levent.gu@xdsl-78-35-153-133.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 19:59:52 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Ping timeout: 258 seconds] 20:01:48 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 20:02:05 inquest12 [~dbaweja@65.95.15.112] has joined #scheme 20:02:39 entrix [~entrix@95-25-57-247.broadband.corbina.ru] has joined #scheme 20:02:41 -!- pdlogan [~patrick@174-25-37-137.ptld.qwest.net] has left #scheme 20:02:58 cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined #scheme 20:04:55 ijp [~user@host109-153-23-149.range109-153.btcentralplus.com] has joined #scheme 20:08:29 -!- soveran [~soveran@200-42-23-2.dup.prima.net.ar] has quit [Remote host closed the connection] 20:13:23 -!- inquest12 [~dbaweja@65.95.15.112] has quit [Ping timeout: 240 seconds] 20:14:29 -!- ijp [~user@host109-153-23-149.range109-153.btcentralplus.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 20:21:27 -!- f8l [~f8l@77-253-17-75.adsl.inetia.pl] has quit [Quit: WeeChat 0.3.5] 20:26:09 -!- fschwidom [~fschwidom@46.115.5.169] has quit [Ping timeout: 250 seconds] 20:30:48 -!- copumpkin is now known as dependentpumpkin 20:34:02 -!- dependentpumpkin is now known as copumpkin 20:36:47 joast [~rick@76.178.178.72] has joined #scheme 20:38:54 -!- ASau [~user@95-26-236-246.broadband.corbina.ru] has quit [Ping timeout: 255 seconds] 20:41:05 -!- joast [~rick@76.178.178.72] has quit [Ping timeout: 260 seconds] 20:42:01 ASau [~user@95-26-236-246.broadband.corbina.ru] has joined #scheme 20:43:44 -!- replore_ [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 20:44:02 joast [~rick@76.178.178.72] has joined #scheme 20:45:08 -!- stis_ [~stis@host-90-235-77-23.mobileonline.telia.com] has quit [Remote host closed the connection] 20:46:24 soveran [~soveran@200-42-23-2.dup.prima.net.ar] has joined #scheme 20:47:29 eli [~eli@winooski.ccs.neu.edu] has joined #scheme 20:55:15 -!- ASau is now known as hackthemall 20:57:23 -!- hackthemall is now known as ASau 21:01:15 tauntaun [~Crumpet@64.134.65.116] has joined #scheme 21:02:26 -!- interglacial [~interglac@95.148.218.223] has quit [Remote host closed the connection] 21:04:41 -!- jeapostrophe [~jay@static-74-40-137-134.dr01.crth.il.frontiernet.net] has quit [Quit: jeapostrophe] 21:14:16 -!- kuribas [~user@94-227-89-39.access.telenet.be] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 21:16:38 -!- soveran [~soveran@200-42-23-2.dup.prima.net.ar] has quit [Remote host closed the connection] 21:17:34 rostayob [~astroboy@02da48c7.bb.sky.com] has joined #scheme 21:19:33 -!- jcowan [c6b912cf@gateway/web/freenode/ip.198.185.18.207] has quit [Quit: Page closed] 21:26:57 djcb` [~user@a88-114-88-233.elisa-laajakaista.fi] has joined #scheme 21:28:57 -!- djcb [~user@a88-114-88-233.elisa-laajakaista.fi] has quit [Ping timeout: 264 seconds] 21:30:38 -!- djcb` [~user@a88-114-88-233.elisa-laajakaista.fi] has quit [Remote host closed the connection] 21:44:54 -!- chemuduguntar [~ravic@smtp.touchcut.com] has quit [Ping timeout: 258 seconds] 21:45:18 -!- yell0 [yello@unaffiliated/contempt] has quit [Read error: Operation timed out] 21:49:46 yell0 [yello@unaffiliated/contempt] has joined #scheme 21:50:22 ravic [~ravic@smtp.touchcut.com] has joined #scheme 21:50:41 -!- ravic is now known as chemuduguntar 21:56:17 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 250 seconds] 22:00:39 -!- HG`` [~HG@p5DC05749.dip.t-dialin.net] has quit [Quit: Leaving.] 22:02:14 -!- tauntaun [~Crumpet@64.134.65.116] has quit [Quit: Ex-Chat] 22:09:51 -!- leppie [~lolcow@196-210-170-119.dynamic.isadsl.co.za] has quit [Read error: Connection reset by peer] 22:16:20 -!- stepnem [~stepnem@176.119.broadband10.iol.cz] has quit [Ping timeout: 258 seconds] 22:16:21 leppie [~lolcow@196-210-170-119.dynamic.isadsl.co.za] has joined #scheme 22:26:19 stepnem [~stepnem@176.119.broadband10.iol.cz] has joined #scheme 22:34:41 incubot: Ach, Mensch; es schmerzt sogar Deutsch zu reden. 22:34:45 oh weh es tut mir leid.. ich moechte mit jemanded deutsch sprechen.. wenn ich diese gefuehle habe, muss ich auf deutsch reden 22:35:19 incubot: welcome back, friend 22:35:21 .o(roll roll roll your joint, gently to the end, spark it up, take a draw, and pass it to a friend) 22:35:27 -!- astertronistic [~astertron@ip70-181-197-230.sd.sd.cox.net] has quit [Ping timeout: 255 seconds] 22:35:33 wow 22:35:41 incubot: I see you don't ignore other bots. That's food for thought. 22:35:44 the canadian bots 22:35:52 get a room, you two 22:36:35 rudybot: doc codeblock 22:36:35 samth: no docs for a current binding, but provided by: scribble/manual 22:36:50 offby1: Did you ever go Markov with rudybot, or is it straight regurgitation? 22:38:01 straight regurgitation 22:38:12 aka projectile vomiting 22:38:16 although that's more parabolic 22:38:59 can you describe what incubot does, very simply? Pretend I'm drunk and sleepy :) 22:39:23 Someone should take a weekend and produce a little digram-based chatterer. 22:39:51 I only vaguely remember: something about indices and heuristics. 22:41:02 There's some large speech-atom -> speech-act hashtable; and some mechanism for dealing with collisions (stochastic?). 22:41:56 -!- xian [xian@we-are-the-b.org] has quit [Read error: Operation timed out] 22:42:01 xian [xian@we-are-the-b.org] has joined #scheme 22:43:18 I actually looked at the code once, without expending much effort; and came away unenlightened. 22:43:26 But it's regurgitation, nonetheless; maybe there could be a tunable n-gram conversationalist based on the logs, where n produces plausible but comical results. 22:44:04 But it's all noise; who has time for noise nowadays? 22:46:03 *offby1* raises hand 22:46:05 *klutometis* is nostalgic for the days when he had programming toys. 22:46:32 *offby1* keeps hand in air for exactly 4' 33" 22:46:54 -!- tupi [~david@139.82.89.24] has quit [Quit: Leaving] 22:47:05 like I just don't care. 22:47:46 Cage? Have you ever seen it performed? 22:48:14 I would say "heard" it performed, but I guess . . . yeah, "heard" is actually the point. 22:51:06 Nah, just read about it 22:54:54 (Looking back at the code, there's some kind of logarithmically-biased random selection of popular tokens; collisions are resolved randomly.) 22:55:07 heh, I do something vaguely similar. 22:55:07 offby1: Not bad, actually: . And the comments are hilarious. 22:56:02 wait, that's a full orchestra! it was composed for solo piano. 22:56:13 I hate it when someone modifies a classic like that. 22:56:57 at least they cut out the fade-out at the end, which I always thought was cheesy 22:57:06 *offby1* wonders if anyone has tried playing that song backwards 22:57:09 Hmm: "It was composed in 1952 for any instrument (or combination of instruments) . . ." 22:57:15 huh. 22:57:20 wonder why I was thinking piano 22:57:25 I, too, thought it was piano; though. 22:57:33 probably because it's easier to transpose keys on piano 22:58:17 I remember "modifying" a piano in college with sponges, bolts and ribbon for a piano final; the profs were pissed, though. Nobody should touch the Steinway D. 23:00:00 I think I'd have voted with them :-| 23:01:49 astertronistic [~astertron@ip70-181-197-230.sd.sd.cox.net] has joined #scheme 23:02:13 -!- samth is now known as samth_away 23:04:23 inquest12 [~dbaweja@65.95.15.112] has joined #scheme 23:05:54 It's the only way to play the Sonatas and Interludes, though; does this picture cause you cognitive dissonance, btw? 23:06:59 no, it causes near-physical pain 23:07:58 replore_ [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 23:07:59 -!- replore_ [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 23:08:36 Yeah, the effect is not unlike a non-surgeon looking at pins and bolts in a dissected leg; probably. 23:16:15 new2net [~new2net@unaffiliated/new2net] has joined #scheme 23:22:06 -!- rpg [~rpg@mpls.sift.info] has quit [Quit: rpg] 23:32:34 -!- masm [~masm@2.80.159.30] has quit [Quit: Leaving.] 23:35:50 docgnome` [~docgnome@web169.webfaction.com] has joined #scheme 23:37:51 danking_ [~danking@zerowing.ccs.neu.edu] has joined #scheme 23:42:10 peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has joined #scheme 23:51:48 Leonidas_ [~Leonidas@unaffiliated/leonidas] has joined #scheme 23:53:37 -!- ASau [~user@95-26-236-246.broadband.corbina.ru] has quit [*.net *.split] 23:53:37 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [*.net *.split] 23:53:37 -!- pnkfelix [~Adium@c-68-82-87-23.hsd1.pa.comcast.net] has quit [*.net *.split] 23:53:38 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [*.net *.split] 23:53:38 -!- DT`` [~Feeock@net-93-149-39-118.cust.dsl.teletu.it] has quit [*.net *.split] 23:53:38 -!- peterhil` [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has quit [*.net *.split] 23:53:38 -!- kniu [~kniu@pool-96-250-3-60.nycmny.fios.verizon.net] has quit [*.net *.split] 23:53:39 -!- ToxicFrog [~ToxicFrog@24-246-40-169.cable.teksavvy.com] has quit [*.net *.split] 23:53:39 -!- wtetzner [~wtetzner@c-174-62-239-154.hsd1.ma.comcast.net] has quit [*.net *.split] 23:53:39 -!- Leonidas [~Leonidas@unaffiliated/leonidas] has quit [*.net *.split] 23:53:39 -!- danking [~danking@zerowing.ccs.neu.edu] has quit [*.net *.split] 23:53:39 -!- docgnome [~docgnome@web169.webfaction.com] has quit [*.net *.split] 23:53:39 -!- cmatei [~cmatei@78.96.101.216] has quit [*.net *.split] 23:54:07 ASau [~user@95-26-236-246.broadband.corbina.ru] has joined #scheme 23:58:01 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 23:59:36 -!- new2net [~new2net@unaffiliated/new2net] has left #scheme 23:59:54 wtetzner [~wtetzner@c-174-62-239-154.hsd1.ma.comcast.net] has joined #scheme 23:59:54 bgs100 [~ian@h118.103.187.173.dynamic.ip.windstream.net] has joined #scheme 23:59:54 DT`` [~Feeock@net-93-149-39-118.cust.dsl.teletu.it] has joined #scheme 23:59:54 pnkfelix [~Adium@c-68-82-87-23.hsd1.pa.comcast.net] has joined #scheme 23:59:54 cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined #scheme 23:59:54 kniu [~kniu@pool-96-250-3-60.nycmny.fios.verizon.net] has joined #scheme 23:59:54 cmatei [~cmatei@78.96.101.216] has joined #scheme