00:00:21 nowhereman [~pierre@AStrasbourg-551-1-58-71.w83-194.abo.wanadoo.fr] has joined #scheme 00:01:11 -!- nowhere_man [~pierre@AStrasbourg-551-1-44-162.w92-148.abo.wanadoo.fr] has quit [Ping timeout: 265 seconds] 00:02:49 klutometis: *nods* 00:04:29 noonian [~noonian@c-98-232-230-23.hsd1.or.comcast.net] has joined #scheme 00:04:48 klutometis: Using APPEND in a loop is about as wise as using string concatenation in a loop (for Java, C#, etc.). :-) (By string concatenation, I mean the likes of str += foo, rather than using StringBuilder.) 00:04:53 -!- bitweiler [~bitweiler@adsl-99-40-236-82.dsl.stl2mo.sbcglobal.net] has quit [Ping timeout: 264 seconds] 00:06:44 I asked this the other day but, how can I use another symbol for lambda? for example \ 00:13:40 -!- lewis17111 [~lewis@222-155-165-23.jetstream.xtra.co.nz] has quit [Ping timeout: 240 seconds] 00:14:02 lewis1711 [~lewis@222-155-25-164.jetstream.xtra.co.nz] has joined #scheme 00:16:41 incubot [incubot@klutometis.wikitex.org] has joined #scheme 00:17:21 rudybot: (define-syntax |\| (syntax-rules () ((_ vars body ...) (lambda vars body ...)))) 00:17:21 cky: Done. 00:17:31 -!- samth [~samth@punge.ccs.neu.edu] has quit [Quit: Ex-Chat] 00:17:40 rudybot: (define add2 (|\| (x) (+ x 2))) 00:17:41 cky: Done. 00:17:44 rudybot: (add2 42) 00:17:44 cky: ; Value: 44 00:17:51 lewis1711: Is that what you're thinking of? 00:18:22 looks like it ^_^ 00:18:37 :-P 00:19:31 or with explicit renaming: (define-syntax \\ (lambda (x r c) (let ((%lambda (r 'lambda))) `(,%lambda ,@(cdr x))))) ((\\ (x) x) 2) 00:19:59 => 2 00:20:23 I don't understand the second one at all 00:20:28 that almost looks like perl 00:21:04 jonrafkind: yeah, there is that je ne sais quoi of line-noise there; that's a "write-only" macro. 00:21:13 khisanth_ [~Khisanth@pool-96-250-31-205.nycmny.east.verizon.net] has joined #scheme 00:21:31 *neilv* looks innocent 00:21:58 -!- masm [~masm@bl16-198-62.dsl.telepac.pt] has quit [Ping timeout: 240 seconds] 00:22:53 -!- Khisanth [~Khisanth@pool-96-246-4-48.nycmny.east.verizon.net] has quit [Ping timeout: 264 seconds] 00:23:01 -!- khisanth_ is now known as Khisanth 00:23:34 lewis1711: http://wiki.call-cc.org/man/4/Macros#explicit-renaming-macros 00:23:59 -!- kenjin2201 [~kenjin@211.177.89.126] has quit [Remote host closed the connection] 00:24:02 masm [~masm@bl16-198-62.dsl.telepac.pt] has joined #scheme 00:24:44 ah this macro stuff still confuses the hell out of me:) 00:25:28 macros are a fad ;) 00:26:06 lewis1711: they're ignorable for bread-and-butter scheme work, IMO; i've only ever used them in FFI (to save some work) and debug facilities (for meta programming). 00:26:45 I thought macros were a massive deal in scheme 00:27:40 sure, if you want to do interesting things with scheme itself; but i've shipped many macroless products. 00:29:07 without macros you are confined to the feature set as provided by your implementation (ok not really but its annoying to emulate new features without syntactic support for them) 00:29:49 Is there a way to use Racket with Quack? 00:32:11 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Read error: Operation timed out] 00:32:29 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 00:32:46 -!- homie` [~user@xdsl-78-35-181-145.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 00:32:50 DrDuck: i've been using it 00:33:16 neilv, how are you doing so? 00:34:07 i just have quack loaded, edit the files, and when it prompts me for what scheme to start, i have it use "racket" 00:37:38 That's odd. Doesn't work that way over here. 00:38:09 it doesn't do much except let you send sexps to the repl 00:41:28 -!- ASau [~user@95-26-92-70.broadband.corbina.ru] has quit [Ping timeout: 255 seconds] 00:45:54 ASau [~user@95-26-92-70.broadband.corbina.ru] has joined #scheme 00:46:26 lewis17111 [~lewis@125-239-215-122.jetstream.xtra.co.nz] has joined #scheme 00:47:40 -!- lewis1711 [~lewis@222-155-25-164.jetstream.xtra.co.nz] has quit [Ping timeout: 265 seconds] 00:49:16 bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has joined #scheme 00:53:13 -!- drdo [~user@2.208.54.77.rev.vodafone.pt] has quit [Remote host closed the connection] 00:56:07 khisanth_ [~Khisanth@pool-96-250-34-53.nycmny.east.verizon.net] has joined #scheme 00:56:43 -!- Khisanth [~Khisanth@pool-96-250-31-205.nycmny.east.verizon.net] has quit [Ping timeout: 260 seconds] 01:01:37 Obfuscate [~keii@ip98-176-17-38.sd.sd.cox.net] has joined #scheme 01:02:35 -!- khisanth_ is now known as Khisanth 01:09:08 drdo [~user@2.208.54.77.rev.vodafone.pt] has joined #scheme 01:09:55 homie [~user@xdsl-78-35-181-145.netcologne.de] has joined #scheme 01:13:18 annodomini [~lambda@wikipedia/lambda] has joined #scheme 01:13:42 wbooze [~user@xdsl-78-35-181-145.netcologne.de] has joined #scheme 01:16:55 -!- masm [~masm@bl16-198-62.dsl.telepac.pt] has quit [Quit: Leaving.] 01:20:41 Gmind [~Deulamco@113.190.202.190] has joined #scheme 01:21:03 nego [~nego@c-76-16-30-244.hsd1.il.comcast.net] has joined #scheme 01:22:36 -!- pavelludiq [57f63ac1@gateway/web/freenode/ip.87.246.58.193] has quit [] 01:28:58 xwl_ [~wixu@nat/nokia/x-bxlmcdtrlvauiqjv] has joined #scheme 01:31:35 -!- zac314159 [~user@c-68-84-149-234.hsd1.nm.comcast.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 01:34:15 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Read error: Operation timed out] 01:37:14 -!- pygospa [~pygospa@kiel-4dbedc6c.pool.mediaWays.net] has quit [Disconnected by services] 01:37:23 pygospa [~pygospa@kiel-5f76842e.pool.mediaWays.net] has joined #scheme 01:38:36 -!- pdelgallego [~pdelgalle@42.Red-217-125-2.staticIP.rima-tde.net] has quit [Ping timeout: 250 seconds] 01:40:44 zac314159 [~user@c-68-84-149-234.hsd1.nm.comcast.net] has joined #scheme 01:43:22 zevarito [~zevarito@r186-48-141-77.dialup.adsl.anteldata.net.uy] has joined #scheme 01:44:27 jeapostrophe [~jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 01:45:11 -!- zac314159 [~user@c-68-84-149-234.hsd1.nm.comcast.net] has quit [Read error: Operation timed out] 01:48:56 lewis1711 [~lewis@222-155-162-74.jetstream.xtra.co.nz] has joined #scheme 01:49:42 -!- lewis17111 [~lewis@125-239-215-122.jetstream.xtra.co.nz] has quit [Ping timeout: 260 seconds] 01:55:20 zac314159 [~user@c-68-84-149-234.hsd1.nm.comcast.net] has joined #scheme 01:56:48 http://pastebin.com/bDFxAWHK 01:57:16 -!- karljoh [karljoh@h-79-127.A165.priv.bahnhof.se] has quit [Ping timeout: 260 seconds] 01:58:13 Ironic when SICP starts off with declarative vs imperative knowledge. 02:00:49 -!- lewis1711 [~lewis@222-155-162-74.jetstream.xtra.co.nz] has quit [Ping timeout: 260 seconds] 02:04:37 copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has joined #scheme 02:04:37 -!- copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has quit [Changing host] 02:04:37 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 02:08:33 Maxels [~Maxel@adsl-99-72-126-112.dsl.euclwi.sbcglobal.net] has joined #scheme 02:12:18 zevarito_ [~zevarito@r186-48-109-199.dialup.adsl.anteldata.net.uy] has joined #scheme 02:13:58 -!- zevarito [~zevarito@r186-48-141-77.dialup.adsl.anteldata.net.uy] has quit [Ping timeout: 276 seconds] 02:20:27 Gmind1 [~Deulamco@113.190.202.190] has joined #scheme 02:22:56 -!- Gmind [~Deulamco@113.190.202.190] has quit [Ping timeout: 260 seconds] 02:33:12 -!- neilv [~user@unaffiliated/neilv] has quit [Quit: Leaving] 02:38:25 -!- zevarito_ [~zevarito@r186-48-109-199.dialup.adsl.anteldata.net.uy] has quit [Remote host closed the connection] 02:39:51 jcowan [~John@cpe-98-14-172-204.nyc.res.rr.com] has joined #scheme 03:14:36 vu3rdd [~vu3rdd@nat/cisco/x-tlhvkamlwdvnebqt] has joined #scheme 03:14:40 -!- vu3rdd [~vu3rdd@nat/cisco/x-tlhvkamlwdvnebqt] has quit [Changing host] 03:14:40 vu3rdd [~vu3rdd@fsf/member/vu3rdd] has joined #scheme 03:19:15 Gmind [~Deulamco@113.190.202.190] has joined #scheme 03:22:35 -!- Gmind1 [~Deulamco@113.190.202.190] has quit [Ping timeout: 240 seconds] 03:26:18 pdelgallego [~pdelgalle@42.Red-217-125-2.staticIP.rima-tde.net] has joined #scheme 03:28:38 -!- ASau [~user@95-26-92-70.broadband.corbina.ru] has quit [Remote host closed the connection] 03:30:27 ASau [~user@95-26-92-70.broadband.corbina.ru] has joined #scheme 03:35:15 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 03:43:30 -!- tupi [~david@186.205.37.15] has quit [Quit: Leaving] 03:49:02 -!- nowhereman [~pierre@AStrasbourg-551-1-58-71.w83-194.abo.wanadoo.fr] has quit [Ping timeout: 250 seconds] 03:52:22 nowhereman [~pierre@AStrasbourg-551-1-82-165.w81-51.abo.wanadoo.fr] has joined #scheme 03:52:22 -!- timj [~timj@e176192117.adsl.alicedsl.de] has quit [Read error: Connection reset by peer] 03:59:45 -!- X-Scale [~email@2001:470:1f14:135b::2] has quit [Quit: Time left until the Epochalypse: 27yrs 4wks 1day 5hrs 14mins 19secs] 04:08:37 timj [~timj@e176194143.adsl.alicedsl.de] has joined #scheme 04:09:13 -!- pdelgallego [~pdelgalle@42.Red-217-125-2.staticIP.rima-tde.net] has quit [Ping timeout: 265 seconds] 04:18:51 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 04:19:28 Gmind1 [~Deulamco@113.190.202.190] has joined #scheme 04:21:58 -!- Gmind [~Deulamco@113.190.202.190] has quit [Ping timeout: 250 seconds] 04:28:24 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Remote host closed the connection] 04:30:17 -!- drdo [~user@2.208.54.77.rev.vodafone.pt] has quit [Remote host closed the connection] 04:30:33 drdo [~user@2.208.54.77.rev.vodafone.pt] has joined #scheme 04:32:38 Hmm...anyone here from Chicago? Got any restaurant recommendations, for lunch and/or dinner, near the train station? 04:37:36 I have a friend who lives in Chicago who always raves about Flat Top Grill, but, I do not know if that's near the train station. 04:39:07 klutometis: I had a similar view until recently. I found myself rewriting similar dispatch systems over a group of structures I had. I wanted to combine common dispatch things (eg rebuild structure, recuring on it's children) while still allowing matches unique to the task at hand. I think this looks way cleaner as a macro than however one would attempt to do it with functions. 04:39:52 So yeah. I guess I totally agree with you, not useful day-to-day, but once in a while, makes my code way nicer. 04:44:25 -!- ray_ is now known as ray 04:51:10 -!- bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has quit [Quit: bombshelter13b] 04:53:36 -!- drdo [~user@2.208.54.77.rev.vodafone.pt] has quit [Remote host closed the connection] 04:53:53 drdo [~user@2.208.54.77.rev.vodafone.pt] has joined #scheme 05:17:52 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 05:20:18 Gmind [~Deulamco@113.190.202.190] has joined #scheme 05:22:08 -!- Gmind1 [~Deulamco@113.190.202.190] has quit [Ping timeout: 260 seconds] 05:32:11 -!- nowhereman [~pierre@AStrasbourg-551-1-82-165.w81-51.abo.wanadoo.fr] has quit [Ping timeout: 240 seconds] 05:34:08 nowhereman [~pierre@AStrasbourg-551-1-39-254.w92-148.abo.wanadoo.fr] has joined #scheme 05:35:23 dfkjjkfd [~paulh@145.120.22.20] has joined #scheme 05:42:31 myu2 [~myu2@58x5x224x106.ap58.ftth.ucom.ne.jp] has joined #scheme 05:42:37 -!- myu2 [~myu2@58x5x224x106.ap58.ftth.ucom.ne.jp] has quit [Remote host closed the connection] 05:42:42 myu2 [~myu2@58x5x224x106.ap58.ftth.ucom.ne.jp] has joined #scheme 05:44:22 minsa [minsa@c-24-5-121-157.hsd1.ca.comcast.net] has joined #scheme 05:47:22 -!- dfkjjkfd [~paulh@145.120.22.20] has quit [Quit: Lost terminal] 05:47:48 Chipmunk [~Kaushik@nat/google/x-bqmskohwtpdwnuuw] has joined #scheme 05:55:42 notsonerdysunny [~chatzilla@59.92.158.33] has joined #scheme 06:07:40 -!- zac314159 [~user@c-68-84-149-234.hsd1.nm.comcast.net] has quit [Remote host closed the connection] 06:10:02 -!- Zahl [~kenneth@lnx101.hrz.tu-darmstadt.de] has quit [Read error: Connection reset by peer] 06:10:26 Zahl [~kenneth@lnx101.hrz.tu-darmstadt.de] has joined #scheme 06:10:55 jewel [~jewel@196-210-134-54.dynamic.isadsl.co.za] has joined #scheme 06:12:23 lewis17111 [~lewis@125-239-250-122.jetstream.xtra.co.nz] has joined #scheme 06:17:06 -!- homie [~user@xdsl-78-35-181-145.netcologne.de] has quit [Read error: Connection reset by peer] 06:17:23 -!- jewel [~jewel@196-210-134-54.dynamic.isadsl.co.za] has quit [Ping timeout: 240 seconds] 06:17:25 -!- wbooze [~user@xdsl-78-35-181-145.netcologne.de] has quit [Read error: Connection reset by peer] 06:17:55 wbooze` [~user@xdsl-78-35-164-148.netcologne.de] has joined #scheme 06:21:38 -!- Gmind [~Deulamco@113.190.202.190] has quit [Ping timeout: 260 seconds] 06:22:17 homie [~user@xdsl-78-35-164-148.netcologne.de] has joined #scheme 06:33:28 nilg [~user@77.70.2.229] has joined #scheme 06:40:23 -!- drdo [~user@2.208.54.77.rev.vodafone.pt] has quit [Remote host closed the connection] 06:40:39 drdo [~user@2.208.54.77.rev.vodafone.pt] has joined #scheme 06:42:10 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 07:03:36 -!- ve [~a@vortis.xen.tardis.ed.ac.uk] has quit [Ping timeout: 250 seconds] 07:05:23 -!- nowhereman [~pierre@AStrasbourg-551-1-39-254.w92-148.abo.wanadoo.fr] has quit [Ping timeout: 260 seconds] 07:06:11 nowhereman [~pierre@AStrasbourg-551-1-63-159.w83-194.abo.wanadoo.fr] has joined #scheme 07:08:31 zac314159 [~user@c-68-84-149-234.hsd1.nm.comcast.net] has joined #scheme 07:14:30 -!- jeapostrophe [~jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [Quit: jeapostrophe] 07:23:26 adu [~ajr@pool-173-66-11-168.washdc.fios.verizon.net] has joined #scheme 07:35:40 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Ping timeout: 250 seconds] 07:47:02 Checkie [2855@unaffiliated/checkie] has joined #scheme 07:53:52 -!- jcowan [~John@cpe-98-14-172-204.nyc.res.rr.com] has quit [Quit: Leaving] 07:56:38 qhe [~qhe2@nat/intel/x-hdofjovvjgedsier] has joined #scheme 07:57:21 -!- Maxels [~Maxel@adsl-99-72-126-112.dsl.euclwi.sbcglobal.net] has quit [Ping timeout: 265 seconds] 08:03:30 Gmind [~Deulamco@113.190.202.190] has joined #scheme 08:06:00 zenspider [~user@envy.zenspider.com] has joined #scheme 08:06:54 is * supposed to work for vector math in scheme?!? 08:07:03 (* 2 '(1 2 3)) blows up in racket 08:07:34 you should use map 08:07:34 but, unless I'm confused about something else, that's what sicp is saying it does 08:08:01 rudybot: (map (* 2) '(1 2 3)) 08:08:01 Gmind: your sandbox is ready 08:08:01 Gmind: error: map: expects type as 1st argument, given: 2; other arguments were: (1 2 3) 08:08:10 lol 08:09:22 Gmind: I've even checked the sicp errata and it hasn't been updated since 1999... 08:09:33 they say this: (define (dot-product v w) (accumulate + 0 (map * v w))) 08:09:42 which boils down to my above maths 08:10:00 sorry , I was did a bit haskell here =)) 08:10:46 rudybot: (map (lambda (x) ((* x 2)) '(1 2 3)) 08:10:46 Gmind: error: eval:1:0: read: expected a `)' to close `(' 08:11:02 I'm on the right wavelength with you (I think)... I'm just confused why the book is saying that 08:11:10 rudybot: (map (lambda (x) (* x 2) ) '(1 2 3)) 08:11:10 Gmind: ; Value: (2 4 6) 08:11:26 =)) what a shame on me , already forgot almost thing from Scheme 08:11:37 they even have a footnote about the fact that they're relying on the extended version of map which takes N lists 08:11:37 ah ok 08:11:46 but that explanation doesn't makes sense 08:11:52 did you check the online version ? 08:12:14 yup 08:12:23 and my texinfo version 08:12:59 http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-15.html#%_sec_2.2.3 exercise 2.37 08:13:03 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 260 seconds] 08:14:29 I'm gonna have to assume that the book is right in SOME universe. between the errata not correcting it and finding multiple ppl's assignments online that back it up as correct I don't know what else to think 08:15:22 :P 08:15:35 they asked you to fill in the blank 08:15:47 the dot-product is possible 08:15:51 I need to go back and check r5rs 08:15:56 no, not for dot-product 08:16:00 hkBst [~quassel@79.170.210.174] has joined #scheme 08:16:00 -!- hkBst [~quassel@79.170.210.174] has quit [Changing host] 08:16:00 hkBst [~quassel@gentoo/developer/hkbst] has joined #scheme 08:16:08 they're giving me that definition 08:16:14 hey 08:16:20 (map * v w) 08:16:23 is different 08:16:55 isn't it * each v w pair together before accumulate ? 08:16:59 (map * '(1 2 3) '((2 -1 1) (0 -2 1) (1 -2 0))) 08:17:25 which would map to (* 1 '(2 -1 1)), right? 08:17:37 ya 08:17:55 which blows up in your scheme, I assume 08:18:06 rudybot: (map * 1 2) 08:18:06 Gmind: error: map: expects type as 2nd argument, given: 1; other arguments were: # 2 08:18:13 =)) wt.. 08:18:31 ve [~a@vortis.xen.tardis.ed.ac.uk] has joined #scheme 08:18:32 rudybot: (* 1 '(2 -1 1)) 08:18:33 zenspider: your sandbox is ready 08:18:33 zenspider: error: *: expects type as 2nd argument, given: (2 -1 1); other arguments were: 1 08:18:53 kk. exactly the same msg as my version of racket 08:19:26 I'm stumped 08:20:07 Gmind1 [~Deulamco@113.190.202.190] has joined #scheme 08:20:13 oops 08:20:14 sorry 08:20:19 I got disconnected 08:20:30 this should work: 08:20:31 rudybot: (map * '( 1 2 3) '( 2 3 4)) 08:20:32 Gmind1: your sandbox is ready 08:20:32 Gmind1: ; Value: (2 6 12) 08:20:35 but 08:20:39 this may not : 08:20:46 (map * 1 '( 1 2 3)) 08:20:55 rudybot: (map * 1 '( 1 2 3)) 08:20:55 agreed 08:20:55 Gmind1: error: map: expects type as 2nd argument, given: 1; other arguments were: # (1 2 3) 08:21:00 because 08:21:01 map here 08:21:03 at least I'm not insane :) 08:21:05 -!- Riastradh [debian-tor@fsf/member/riastradh] has quit [Ping timeout: 245 seconds] 08:21:24 is get each element in A to * with each element in B 08:21:30 so it must be equal 08:21:41 a 4 x 4 matrix should work 08:22:08 I was mainly wondering if some scheme's defined * to double dispatch to make vector alg work 08:22:26 this's interesting :P 08:22:40 I haven't read in SCIP 08:22:59 -!- Gmind [~Deulamco@113.190.202.190] has quit [Ping timeout: 272 seconds] 08:23:01 ( and I'm new to Scheme too) 08:23:35 well... in that exercise they have a footnote (17) that says they're depending on the map described in footnote 12. 08:23:42 that talks about the N-way map 08:23:50 but even that doesn't explain this... not even close 08:25:20 this is very alike to matrix operations in real life 08:25:23 :P 08:25:33 as the way you multiply 2 vectors 08:26:13 for example : you want to multiply 2 matrix : 2 x 3 and 3 x 4 08:26:42 each turn there should be [ 1 2 3] x [ 3 4 5] 08:27:02 row X column 08:27:08 whoa, scheme has built in imaginary number support. pretty 08:27:38 where are you stuck at ? 08:29:03 (may be i will read more about this when I have time :P ) SCIP play w/ math a lot :)) 08:29:19 -!- mmc [~michal@cs27120227.pp.htv.fi] has quit [Ping timeout: 240 seconds] 08:29:56 I'm stuck on this issue with dot-product in exercise 2.37 08:30:00 url above 08:30:07 :)) 08:30:13 so as I explained 08:30:22 you can't multiply 08:30:29 a matrix of [1] element 08:30:39 to another matrix of 3 elements or more 08:30:56 it's must be equal in quatity 08:30:57 :P 08:31:02 it's a math rule 08:31:13 so dot-product here 08:31:15 you didn't explain it. this is a well respected book from the grandfather of scheme, with no listed error for this problem in the errata. 08:31:41 I won't blame the book until I understand why and can find corroborating evidence that it is wrong 08:32:00 oh, sorry, maybe I wasn't clear enough on my explaination :P 08:32:07 that's like blaming your compiler before you're an expert in its impl 08:32:27 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 08:32:31 oh no.. nothing wrong w/ the compiler 08:34:46 hey, may be cky can help you 08:34:49 :P 08:35:05 he's good at this , at least, better than me 08:40:54 chemuduguntar [~ravi@118-92-21-154.dsl.dyn.ihug.co.nz] has joined #scheme 08:42:40 danking: indeed; i haven't yet formal criteria for when to apply macros, but it sounds like the appropriate domain is roughly: "meta-programming otherwise tedious tasks." 08:43:23 -!- githogori [~githogori@adsl-66-123-22-146.dsl.snfc21.pacbell.net] has quit [Ping timeout: 260 seconds] 08:45:56 crap. ok. I found someone's online homework and they're doubling up the vector to fit the matrix. argh 08:46:01 is it possible do a "shallow" quote? say... 08:46:16 (shallow-quote (+ (proc args) (proc args))) where proc args is eval'd, but they're not added together? 08:46:39 that's called quasiquote 08:47:24 kephas [~pierre@AStrasbourg-551-1-16-98.w86-213.abo.wanadoo.fr] has joined #scheme 08:47:26 `(+ ,(proc args) ,(proc args)) 08:47:48 ahh, so that's what quasiquote is. ty 08:47:55 -!- zac314159 [~user@c-68-84-149-234.hsd1.nm.comcast.net] has quit [Remote host closed the connection] 08:47:59 lewis17111: how new are you? 08:48:03 -!- nowhereman [~pierre@AStrasbourg-551-1-63-159.w83-194.abo.wanadoo.fr] has quit [Ping timeout: 260 seconds] 08:48:09 mmc [~michal@cs181176169.pp.htv.fi] has joined #scheme 08:48:14 adu: couple of weeks or so 08:48:16 lewis17111: I don't use scheme, and even I know that 08:48:35 god for you I'm sure your mother is proud:) 08:49:09 does that exist in scheme? I've used it in elisp plenty :) 08:49:40 every lisp variant I know of has it 08:50:00 except gimple 08:51:33 -!- xwl_ [~wixu@nat/nokia/x-bxlmcdtrlvauiqjv] has quit [Remote host closed the connection] 08:52:01 slom [~sloma@port-87-234-239-162.static.qsc.de] has joined #scheme 08:52:45 xwl_ [~wixu@nat/nokia/x-xtcqywhlxwcyilki] has joined #scheme 08:54:44 rudybot: ((lambda (arg) '(* ,(length arg) ,(list-ref arg 0))) '(a a a)) 08:54:44 lewis17111: your sandbox is ready 08:54:44 lewis17111: ; Value: (* (unquote (length arg)) (unquote (list-ref arg 0))) 08:55:25 hmm, I figured it would give "3" as opposed to "(unquote (length arg))" 08:57:00 dfkjjkfd [~paulh@145.120.22.20] has joined #scheme 09:00:22 -!- dfkjjkfd [~paulh@145.120.22.20] has quit [Client Quit] 09:00:29 ...and infact it should. 09:00:50 rudybot: '(+ 2 ,(* 3 4)) 09:00:50 lewis17111: ; Value: (+ 2 (unquote (* 3 4))) 09:01:02 TSPL gives => (+ 2 12) 09:03:37 rudybot: `(+ 2 ,(* 3 4)) 09:03:38 Obfuscate: your sandbox is ready 09:03:38 Obfuscate: ; Value: (+ 2 12) 09:04:02 -!- Gmind1 [~Deulamco@113.190.202.190] has quit [Quit: Leaving.] 09:04:26 ugh 09:04:28 backtick! 09:06:31 rudybot: ((lambda (arg) `(* ,(length arg) ,(list-ref arg 0))) '(a a a)) 09:06:31 lewis17111: ; Value: (* 3 a) 09:10:09 githogori [~githogori@adsl-66-123-22-146.dsl.snfc21.pacbell.net] has joined #scheme 09:17:35 -!- chemuduguntar [~ravi@118-92-21-154.dsl.dyn.ihug.co.nz] has quit [Remote host closed the connection] 09:22:59 -!- lewis17111 [~lewis@125-239-250-122.jetstream.xtra.co.nz] has quit [Ping timeout: 240 seconds] 09:25:25 lewis1711 [~lewis@125-239-208-114.jetstream.xtra.co.nz] has joined #scheme 09:25:38 Adamant [~Adamant@c-68-51-145-83.hsd1.ga.comcast.net] has joined #scheme 09:25:38 -!- Adamant [~Adamant@c-68-51-145-83.hsd1.ga.comcast.net] has quit [Changing host] 09:25:38 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 09:26:13 lewis1711: Do you remember this? http://paste.lisp.org/display/117686 09:26:22 lewis1711: That was an example I sent you that used quasiquotes. 09:26:25 :-) 09:28:53 lewis17111 [~lewis@222-155-160-190.jetstream.xtra.co.nz] has joined #scheme 09:29:02 lewis17111: Do you remember this? http://paste.lisp.org/display/117686 09:29:08 lewis17111: That was an example I sent you that used quasiquotes. :-) 09:29:50 cky: yeah but I didn't understand wtf was going on then 09:30:07 -!- lewis1711 [~lewis@125-239-208-114.jetstream.xtra.co.nz] has quit [Ping timeout: 276 seconds] 09:33:00 fradgers- [~fradgers-@5e0b815c.bb.sky.com] has joined #scheme 09:33:01 pavelludiq [~quassel@87.246.58.193] has joined #scheme 09:36:21 -!- xwl_ [~wixu@nat/nokia/x-xtcqywhlxwcyilki] has quit [Remote host closed the connection] 09:36:37 -!- pavelludiq [~quassel@87.246.58.193] has quit [Client Quit] 09:37:05 pavelludiq [~quassel@87.246.58.193] has joined #scheme 09:38:21 xwl_ [~wixu@nat/nokia/x-bvyeqngoxvefhowc] has joined #scheme 09:40:27 -!- lewis17111 [~lewis@222-155-160-190.jetstream.xtra.co.nz] has quit [Ping timeout: 260 seconds] 09:40:41 -!- pavelludiq [~quassel@87.246.58.193] has quit [Client Quit] 09:41:00 pavelludiq [~quassel@87.246.58.193] has joined #scheme 09:45:09 -!- pavelludiq [~quassel@87.246.58.193] has quit [Ping timeout: 240 seconds] 09:47:21 -!- myu2 [~myu2@58x5x224x106.ap58.ftth.ucom.ne.jp] has quit [Remote host closed the connection] 09:51:26 pavelludiq [57f63ac1@gateway/web/freenode/ip.87.246.58.193] has joined #scheme 09:51:37 -!- zenspider [~user@envy.zenspider.com] has left #scheme 10:06:49 -!- kephas [~pierre@AStrasbourg-551-1-16-98.w86-213.abo.wanadoo.fr] has quit [Ping timeout: 260 seconds] 10:06:49 -!- qhe [~qhe2@nat/intel/x-hdofjovvjgedsier] has quit [Ping timeout: 260 seconds] 10:06:50 -!- vu3rdd [~vu3rdd@fsf/member/vu3rdd] has quit [Read error: Connection reset by peer] 10:06:54 nowhere_man [~pierre@AStrasbourg-551-1-38-39.w92-148.abo.wanadoo.fr] has joined #scheme 10:13:36 zac314159 [~user@c-68-84-149-234.hsd1.nm.comcast.net] has joined #scheme 10:24:51 foof` [~user@li126-140.members.linode.com] has joined #scheme 10:25:12 nilg` [~user@77.70.2.229] has joined #scheme 10:26:51 bremner_ [~bremner@2607:f128:42:87:216:3eff:fe26:9e28] has joined #scheme 10:27:53 eno__ [~eno@adsl-70-137-163-128.dsl.snfc21.sbcglobal.net] has joined #scheme 10:27:59 jensn_ [~ceres@c-83-233-145-103.cust.bredband2.com] has joined #scheme 10:28:30 mjgoins_ [~mjgoins@ool-18599e06.static.optonline.net] has joined #scheme 10:32:39 -!- githogori [~githogori@adsl-66-123-22-146.dsl.snfc21.pacbell.net] has quit [Ping timeout: 240 seconds] 10:32:40 -!- Checkie [2855@unaffiliated/checkie] has quit [*.net *.split] 10:32:40 -!- nilg [~user@77.70.2.229] has quit [*.net *.split] 10:32:40 -!- eno [~eno@nslu2-linux/eno] has quit [*.net *.split] 10:32:40 -!- gabot [~eli@winooski.ccs.neu.edu] has quit [*.net *.split] 10:32:40 -!- eli [~eli@winooski.ccs.neu.edu] has quit [*.net *.split] 10:32:40 -!- foof [~user@li126-140.members.linode.com] has quit [*.net *.split] 10:32:41 -!- jensn [~ceres@c-83-233-145-103.cust.bredband2.com] has quit [*.net *.split] 10:32:41 -!- mjgoins [~mjgoins@ool-18599e06.static.optonline.net] has quit [*.net *.split] 10:32:41 -!- bremner [~bremner@yantan.tethera.net] has quit [*.net *.split] 10:35:50 gravicappa [~gravicapp@ppp85-141-164-218.pppoe.mtu-net.ru] has joined #scheme 10:44:00 -!- Nshag [user@chl45-1-88-123-84-8.fbx.proxad.net] has quit [Quit: Quitte] 10:44:38 pdelgallego [~pdelgalle@42.Red-217-125-2.staticIP.rima-tde.net] has joined #scheme 10:57:16 -!- slom [~sloma@port-87-234-239-162.static.qsc.de] has quit [Remote host closed the connection] 11:16:58 -!- C-Keen [ckeen@pestilenz.org] has quit [Ping timeout: 240 seconds] 11:17:06 karljoh [karljoh@h-79-127.A165.priv.bahnhof.se] has joined #scheme 11:17:24 nowhereman [~pierre@AStrasbourg-551-1-2-42.w92-141.abo.wanadoo.fr] has joined #scheme 11:17:25 -!- nowhere_man [~pierre@AStrasbourg-551-1-38-39.w92-148.abo.wanadoo.fr] has quit [Ping timeout: 261 seconds] 11:26:42 -!- adu [~ajr@pool-173-66-11-168.washdc.fios.verizon.net] has quit [Quit: adu] 11:34:11 C-Keen [ckeen@pestilenz.org] has joined #scheme 11:51:10 pchrist_ [~spirit@gentoo/developer/pchrist] has joined #scheme 11:54:25 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Ping timeout: 276 seconds] 11:56:07 -!- mmc [~michal@cs181176169.pp.htv.fi] has quit [Quit: Leaving.] 11:58:27 ski [~slj@c83-254-21-112.bredband.comhem.se] has joined #scheme 12:06:04 kephas [~pierre@AStrasbourg-551-1-66-123.w92-141.abo.wanadoo.fr] has joined #scheme 12:06:23 -!- nowhereman [~pierre@AStrasbourg-551-1-2-42.w92-141.abo.wanadoo.fr] has quit [Ping timeout: 260 seconds] 12:10:05 vu3rdd [~vu3rdd@122.166.174.4] has joined #scheme 12:10:09 -!- vu3rdd [~vu3rdd@122.166.174.4] has quit [Changing host] 12:10:09 vu3rdd [~vu3rdd@fsf/member/vu3rdd] has joined #scheme 12:14:47 myu2 [~myu2@v077103.dynamic.ppp.asahi-net.or.jp] has joined #scheme 12:18:28 sunnyps [~sunnyps@120-88-37-69.thane.hns.net.in] has joined #scheme 12:28:05 WonTu [~WonTu@p57B56179.dip.t-dialin.net] has joined #scheme 12:28:27 -!- WonTu [~WonTu@p57B56179.dip.t-dialin.net] has left #scheme 12:36:05 -!- kephas [~pierre@AStrasbourg-551-1-66-123.w92-141.abo.wanadoo.fr] has quit [Ping timeout: 264 seconds] 12:42:15 kephas [~pierre@AStrasbourg-551-1-95-132.w81-49.abo.wanadoo.fr] has joined #scheme 12:44:23 does anyone know where to get Emílio Lopes' ssax-scsh-5.1.tar.gz from? 12:49:36 nowhere_man [~pierre@AStrasbourg-551-1-39-179.w92-148.abo.wanadoo.fr] has joined #scheme 12:49:50 -!- kephas [~pierre@AStrasbourg-551-1-95-132.w81-49.abo.wanadoo.fr] has quit [Ping timeout: 250 seconds] 12:54:55 bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has joined #scheme 12:56:45 so i'm trying to use the smtp code from SUnet 2.1 with scsh 0.6 but without SSAX 12:56:47 -!- bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has quit [Client Quit] 12:57:24 i get *warnings* about sxml-to-html and sxml-tree-trans being undefined 12:57:44 but then an *error* about smtp-send-mail being undefined 12:58:00 qhe [~qhe2@192.55.55.39] has joined #scheme 12:58:12 any scsh people in here? 13:00:30 tupi [~david@139.82.89.24] has joined #scheme 13:00:57 http://lamp.epfl.ch/~schinz/scsh_packages/pkg_ssax-scsh-4.9.tar.gz doesn't seem to contain a scsh-install-pkg installed package 13:01:11 s/installed/installable/ 13:03:10 masm [~masm@2.80.144.47] has joined #scheme 13:03:17 nowhereman [~pierre@AStrasbourg-551-1-94-138.w81-49.abo.wanadoo.fr] has joined #scheme 13:03:31 -!- nowhere_man [~pierre@AStrasbourg-551-1-39-179.w92-148.abo.wanadoo.fr] has quit [Ping timeout: 255 seconds] 13:10:46 kephas [~pierre@AStrasbourg-551-1-65-74.w92-141.abo.wanadoo.fr] has joined #scheme 13:11:05 -!- nowhereman [~pierre@AStrasbourg-551-1-94-138.w81-49.abo.wanadoo.fr] has quit [Ping timeout: 245 seconds] 13:21:19 nowhere_man [~pierre@AStrasbourg-551-1-65-67.w92-141.abo.wanadoo.fr] has joined #scheme 13:21:26 -!- kephas [~pierre@AStrasbourg-551-1-65-74.w92-141.abo.wanadoo.fr] has quit [Ping timeout: 240 seconds] 13:26:45 jeapostrophe [~jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 13:39:10 nowhereman [~pierre@AStrasbourg-551-1-109-85.w90-13.abo.wanadoo.fr] has joined #scheme 13:39:29 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 13:40:21 -!- nowhere_man [~pierre@AStrasbourg-551-1-65-67.w92-141.abo.wanadoo.fr] has quit [Ping timeout: 260 seconds] 13:47:55 HG` [~HG@xdsl-188-118-129-167.dip.osnanet.de] has joined #scheme 13:54:00 -!- gravicappa [~gravicapp@ppp85-141-164-218.pppoe.mtu-net.ru] has quit [Ping timeout: 245 seconds] 13:58:05 gravicappa [~gravicapp@ppp85-140-119-153.pppoe.mtu-net.ru] has joined #scheme 14:10:50 ironChicken, that sounds like the sxml-to-xml library it uses or you are using is from SSAX 14:11:26 -!- cataska [~cataska@210.64.6.233] has quit [Read error: Operation timed out] 14:12:50 -!- masm [~masm@2.80.144.47] has quit [Quit: Leaving.] 14:15:37 -!- Chipmunk [~Kaushik@nat/google/x-bqmskohwtpdwnuuw] has quit [Ping timeout: 276 seconds] 14:21:05 -!- gravicappa [~gravicapp@ppp85-140-119-153.pppoe.mtu-net.ru] has quit [Ping timeout: 245 seconds] 14:28:27 MrFahrenheit [~RageOfTho@users-55-112.vinet.ba] has joined #scheme 14:34:15 dfkjjkfd [~paulh@145.120.22.20] has joined #scheme 14:47:12 kephas [~pierre@AStrasbourg-551-1-33-149.w92-148.abo.wanadoo.fr] has joined #scheme 14:47:28 -!- nowhereman [~pierre@AStrasbourg-551-1-109-85.w90-13.abo.wanadoo.fr] has quit [Ping timeout: 255 seconds] 14:59:37 St018_ [~selcuk@88.228.0.179] has joined #scheme 15:00:24 ok, i worked this out. untaring http://lamp.epfl.ch/~schinz/scsh_packages/pkg_ssax-scsh-4.9.tar.gz and http://sourceforge.net/projects/ssax/files/ssax/5.1/ in the same directory basically works 15:00:50 the package definition include a reference to "run-test.scm" which doesn't exist 15:01:08 but removing this reference doesn't cause any problems 15:01:28 mind, i still don't have a working scsh script :-( 15:02:25 which is better to start with lisp or scheme or rocket? 15:03:03 -!- jeapostrophe [~jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [Quit: jeapostrophe] 15:09:10 -!- St018_ [~selcuk@88.228.0.179] has left #scheme 15:14:15 bweaver [~user@host-68-169-175-225.WISOLT2.epbfi.com] has joined #scheme 15:23:51 -!- HG` [~HG@xdsl-188-118-129-167.dip.osnanet.de] has quit [Quit: HG`] 15:25:38 HG` [~HG@xdsl-188-118-129-167.dip.osnanet.de] has joined #scheme 15:29:53 cataska [~cataska@210.64.6.233] has joined #scheme 15:31:28 -!- HG` [~HG@xdsl-188-118-129-167.dip.osnanet.de] has quit [Quit: Leaving.] 15:35:44 somnium [~user@184.42.0.205] has joined #scheme 15:38:02 nowhere_man [~pierre@AStrasbourg-551-1-57-225.w83-194.abo.wanadoo.fr] has joined #scheme 15:38:15 -!- kephas [~pierre@AStrasbourg-551-1-33-149.w92-148.abo.wanadoo.fr] has quit [Ping timeout: 255 seconds] 15:45:14 -!- nego [~nego@c-76-16-30-244.hsd1.il.comcast.net] has quit [Quit: Lost terminal] 15:47:30 zevarito [~zevarito@r186-48-210-248.dialup.adsl.anteldata.net.uy] has joined #scheme 15:48:12 Rmind [~Gmind@113.190.202.190] has joined #scheme 15:54:06 hey 15:54:23 the "reduce" function 15:54:54 is this (reduce + 1 '( 1 2 3)) produce 7 or 9 ? 15:55:14 femtooo [~femto@95-89-196-20-dynip.superkabel.de] has joined #scheme 15:55:14 femtoo [~femto@95-89-196-20-dynip.superkabel.de] has joined #scheme 15:55:18 will this (reduce + 1 '( 1 2 3)) produce 7 or 9 ? 15:55:48 -!- eno__ is now known as eno 15:55:52 -!- eno [~eno@adsl-70-137-163-128.dsl.snfc21.sbcglobal.net] has quit [Changing host] 15:55:52 eno [~eno@nslu2-linux/eno] has joined #scheme 15:55:54 -!- femtooo [~femto@95-89-196-20-dynip.superkabel.de] has quit [Client Quit] 15:56:50 meltingwax [~meltingwa@y.glue.umd.edu] has joined #scheme 15:56:57 does anyone know of any IRC client libraries? 15:58:56 rudybot: eval> (reduce + 1 '( 1 2 3)) 15:58:56 hkBst: ,(eval (reduce '+ '(1 2 3))) 15:59:45 rudybot: eval> (+ 1 1) 15:59:45 hkBst: ,(eval (reduce '+ '(1 2 3))) 15:59:56 8-\ 16:00:14 :P 16:00:18 :O 16:00:28 what r u doing ? 16:00:53 rudybot: (reduce + 1 '(1 2 3)) 16:00:53 Rmind: your sandbox is ready 16:00:53 Rmind: error: reference to undefined identifier: reduce 16:01:33 (import srfi/1) 16:01:47 rudybot:(import srfi/1) 16:01:48 Rmind: error: eval:1:0: import: misuse of unit keyword in: (import srfi/1) 16:01:57 =)) 16:02:11 rajeshsr [~rajeshsr@115.184.69.40] has joined #scheme 16:02:34 rudybot: (import srfi-1) 16:02:35 Rmind: error: eval:1:0: import: misuse of unit keyword in: (import srfi-1) 16:02:42 lol I forgot 16:02:44 meltingwax: chicken has an IRC egg, dunno about for other schemes 16:02:58 rudybot: (requiew srfi-1) 16:02:59 Rmind: error: reference to undefined identifier: requiew 16:03:10 rudybot: (require srfi-1) 16:03:10 Rmind: error: eval:1:9: srfi-1: standard-module-name-resolver: collection not found: "srfi-1" in any of: (#) in: srfi-1 16:03:22 rudybot: (require srfi/1) 16:03:22 Rmind: Done. 16:03:33 (reduce + 1 '(1 2 3)) 16:03:44 rudybot:(reduce + 1 '(1 2 3)) 16:03:45 Rmind: ; Value: 6 16:03:53 =.=! 16:03:56 why ? 16:07:10 langmartin [~user@exeuntcha2.tva.gov] has joined #scheme 16:07:43 jewel [~jewel@196-210-134-54.dynamic.isadsl.co.za] has joined #scheme 16:08:56 -!- meltingwax [~meltingwa@y.glue.umd.edu] has left #scheme 16:08:58 Rmind: did you read the srfi-1 docs for reduce? 16:09:12 ya 16:10:16 isn't it (+ 1) to the whole list elements ? 16:10:26 :-s 16:10:37 (fold kons (kons (car lis) knil) (cdr lis)) 16:10:58 rudybot: (reduce + 1 '(1 2 3)) 16:10:59 Rmind: ; Value: 6 16:11:15 rudybot: (reduce + 2 '( 1 2 3)) 16:11:16 Rmind: ; Value: 6 16:11:18 =)) 16:11:23 rudybot: (reduce + 42 '()) 16:11:24 somnium: your sandbox is ready 16:11:24 somnium: error: reference to undefined identifier: reduce 16:11:43 rudybot: (require srfi/1) 16:11:44 somnium: Done. 16:11:55 rudybot: (reduce + 42 '()) 16:11:56 somnium: ; Value: 42 16:12:06 rudybot: (reduce + 42 '(1 2)) 16:12:07 somnium: ; Value: 3 16:12:31 so did reduce bypass the init value ? 16:12:32 rudybot: (fold + 42 '(1 2)) 16:12:32 somnium: ; Value: 45 16:12:44 ah.. ok 16:12:50 -!- hkBst [~quassel@gentoo/developer/hkbst] has quit [Remote host closed the connection] 16:13:01 so fold and reduce are different 16:13:05 :P 16:13:55 rudybot: (reduce + 1 '(0)) 16:13:55 Rmind: ; Value: 0 16:14:27 (rudybot: (reduce + '() '(1)) 16:14:41 rudybot: (reduce + '() '(1)) 16:14:41 Rmind: ; Value: 1 16:15:04 it did nothing with '() or 0 or any... 16:16:03 rudybot: (reduce + 'asdasd '(1)) 16:16:03 Rmind: ; Value: 1 16:16:25 well, they shouldn't put '0' or any to reduce 16:16:45 (reduce + ls) 16:17:31 -!- nowhere_man [~pierre@AStrasbourg-551-1-57-225.w83-194.abo.wanadoo.fr] has quit [Ping timeout: 265 seconds] 16:17:45 Rmind: just use fold until you find yourself in a situation where reduce is more convenient 16:18:19 I just don't understand why they need to write like (reduce + 0 '( 1 2 3 )) 16:18:24 :( 16:18:34 since zero here did nothing 16:18:46 or it's because reduce based on fold , so they did this ? 16:18:48 nowhere_man [~pierre@AStrasbourg-551-1-39-38.w92-148.abo.wanadoo.fr] has joined #scheme 16:19:20 rudybot: (reduce - 0 '(1 4)) 16:19:21 Rmind: ; Value: 3 16:19:41 me said oh .. tail recursion 16:21:40 rudybot: (reduce - 0 '(4 1)) 16:21:40 Rmind: ; Value: -3 16:23:45 ``reduce f ridentity list -> value' `reduce' is a variant of `fold'. `ridentity' should be a "right identity" of the procedure `f' -- that is, for any value `x' acceptable to `f', `(f x ridentity) = x'' 16:32:04 -!- Rmind [~Gmind@113.190.202.190] has left #scheme 16:32:52 -!- rajeshsr [~rajeshsr@115.184.69.40] has quit [Ping timeout: 260 seconds] 16:38:48 rajeshsr [~rajeshsr@115.184.64.204] has joined #scheme 16:39:01 -!- mjgoins_ is now known as mjgoins 16:46:35 -!- notsonerdysunny [~chatzilla@59.92.158.33] has quit [Ping timeout: 240 seconds] 16:47:08 daedra [~simon@unaffiliated/daedra] has joined #scheme 16:48:36 Chipmunk [~Kaushik@74.125.63.65] has joined #scheme 16:50:02 hmm.. paste.lisp.org displays a blank page after a paste submission 16:50:19 I've definitely pasted though 16:51:29 WonTu [~WonTu@p57B55F67.dip.t-dialin.net] has joined #scheme 16:51:31 -!- evhan [~evhan@76-250-39-229.lightspeed.mdsnwi.sbcglobal.net] has quit [Read error: Connection reset by peer] 16:51:51 -!- WonTu [~WonTu@p57B55F67.dip.t-dialin.net] has left #scheme 16:53:53 well here it is http://codepad.org/uT6HmUYU 16:54:05 I'm wondering if there's a nicer way of writing this function 16:55:13 -!- karljoh [karljoh@h-79-127.A165.priv.bahnhof.se] has quit [Ping timeout: 265 seconds] 16:55:52 daedra: When you see the blank page, go to the paste.lisp.org home page, find your post, and cut and paste the link. 16:57:03 mmc [~michal@cs27120227.pp.htv.fi] has joined #scheme 16:58:39 cky: yuk 16:58:58 jeapostrophe [~jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 16:58:59 why not just supply the link on the page you're forwarded to? 17:00:27 daedra: It should, but the IRC bot is broken, so. 17:00:30 -!- jeapostrophe [~jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [Client Quit] 17:01:26 nowhereman [~pierre@AStrasbourg-551-1-80-252.w81-51.abo.wanadoo.fr] has joined #scheme 17:01:57 -!- nowhere_man [~pierre@AStrasbourg-551-1-39-38.w92-148.abo.wanadoo.fr] has quit [Ping timeout: 255 seconds] 17:11:31 caoliver [~Bogus@75-134-208-20.dhcp.trcy.mi.charter.com] has joined #scheme 17:13:48 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Ping timeout: 260 seconds] 17:18:06 davazp [~user@3.Red-83-46-6.dynamicIP.rima-tde.net] has joined #scheme 17:18:20 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 17:20:26 -!- caoliver [~Bogus@75-134-208-20.dhcp.trcy.mi.charter.com] has quit [Ping timeout: 240 seconds] 17:24:00 -!- jewel [~jewel@196-210-134-54.dynamic.isadsl.co.za] has quit [Ping timeout: 245 seconds] 17:24:33 caoliver [~Bogus@75-134-208-20.dhcp.trcy.mi.charter.com] has joined #scheme 17:31:18 -!- sunnyps [~sunnyps@120-88-37-69.thane.hns.net.in] has quit [Ping timeout: 260 seconds] 17:37:10 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 17:40:43 -!- caoliver [~Bogus@75-134-208-20.dhcp.trcy.mi.charter.com] has left #scheme 17:46:36 -!- Riastradh [debian-tor@fsf/member/riastradh] has quit [Remote host closed the connection] 17:47:16 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 17:55:59 jonrafkind [~jon@crystalis.cs.utah.edu] has joined #scheme 17:56:06 -!- mmc [~michal@cs27120227.pp.htv.fi] has quit [Ping timeout: 240 seconds] 17:57:11 -!- drdo [~user@2.208.54.77.rev.vodafone.pt] has quit [Remote host closed the connection] 17:57:28 drdo [~user@2.208.54.77.rev.vodafone.pt] has joined #scheme 17:59:47 -!- vu3rdd [~vu3rdd@fsf/member/vu3rdd] has quit [Remote host closed the connection] 18:01:27 kephas [~pierre@AStrasbourg-551-1-70-185.w92-141.abo.wanadoo.fr] has joined #scheme 18:01:36 -!- nowhereman [~pierre@AStrasbourg-551-1-80-252.w81-51.abo.wanadoo.fr] has quit [Ping timeout: 240 seconds] 18:05:05 cinch [~cinch@85-127-105-9.dynamic.xdsl-line.inode.at] has joined #scheme 18:09:53 mmc [~michal@cs181176169.pp.htv.fi] has joined #scheme 18:16:44 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has quit [Remote host closed the connection] 18:17:20 How does one use DrScheme's stepper? 18:18:52 heina [~heina@h220-215-160-087.catv02.itscom.jp] has joined #scheme 18:21:09 -!- snorble [~none@s83-179-14-105.cust.tele2.se] has left #scheme 18:21:33 snorble [~none@s83-179-14-105.cust.tele2.se] has joined #scheme 18:24:53 -!- tupi [~david@139.82.89.24] has quit [Quit: Leaving] 18:26:43 evhan [~evhan@76-250-39-229.lightspeed.mdsnwi.sbcglobal.net] has joined #scheme 18:26:48 parolang [~user@c-64-246-121-114.oregonrd-wifi-1261.amplex.net] has joined #scheme 18:29:06 -!- myu2 [~myu2@v077103.dynamic.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 18:29:12 -!- zevarito [~zevarito@r186-48-210-248.dialup.adsl.anteldata.net.uy] has quit [Changing host] 18:29:12 zevarito [~zevarito@unaffiliated/zevarito] has joined #scheme 18:39:13 homie` [~user@xdsl-78-35-179-202.netcologne.de] has joined #scheme 18:39:15 wbooze`` [~user@xdsl-78-35-179-202.netcologne.de] has joined #scheme 18:40:59 -!- homie [~user@xdsl-78-35-164-148.netcologne.de] has quit [Ping timeout: 240 seconds] 18:41:58 -!- wbooze` [~user@xdsl-78-35-164-148.netcologne.de] has quit [Ping timeout: 276 seconds] 18:44:50 nowhere_man [~pierre@AStrasbourg-551-1-110-150.w90-13.abo.wanadoo.fr] has joined #scheme 18:45:46 -!- kephas [~pierre@AStrasbourg-551-1-70-185.w92-141.abo.wanadoo.fr] has quit [Ping timeout: 240 seconds] 18:45:54 nowhereman [~pierre@AStrasbourg-551-1-110-150.w90-13.abo.wanadoo.fr] has joined #scheme 18:49:35 -!- nowhere_man [~pierre@AStrasbourg-551-1-110-150.w90-13.abo.wanadoo.fr] has quit [Ping timeout: 255 seconds] 19:05:01 -!- femtoo [~femto@95-89-196-20-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 19:05:26 femtoo [~femto@95-89-196-20-dynip.superkabel.de] has joined #scheme 19:07:05 -!- kniu [~kniu@pool-71-106-0-142.lsanca.dsl-w.verizon.net] has quit [Remote host closed the connection] 19:07:37 bitweiler [~bitweiler@99.190.74.30] has joined #scheme 19:09:17 -!- nilg` [~user@77.70.2.229] has quit [Remote host closed the connection] 19:15:35 -!- qhe [~qhe2@192.55.55.39] has quit [Remote host closed the connection] 19:15:53 qhe [~qhe2@134.134.137.73] has joined #scheme 19:17:25 kniu [~kniu@pool-71-106-0-142.lsanca.dsl-w.verizon.net] has joined #scheme 19:19:38 Zmax [~dream@95.235.0.11] has joined #scheme 19:25:03 mmc1 [~michal@cs27120227.pp.htv.fi] has joined #scheme 19:26:24 githogori [~githogori@0.sub-75-208-191.myvzw.com] has joined #scheme 19:28:06 -!- mmc [~michal@cs181176169.pp.htv.fi] has quit [Ping timeout: 240 seconds] 19:28:11 WonTu [~WonTu@p57B55ED6.dip.t-dialin.net] has joined #scheme 19:28:33 -!- WonTu [~WonTu@p57B55ED6.dip.t-dialin.net] has left #scheme 19:47:59 jewel [~jewel@196-210-134-54.dynamic.isadsl.co.za] has joined #scheme 19:54:30 ice_nomad [~gav@207-180-177-44.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #scheme 19:54:45 anyone have a scheme powered blog or website I can vidi? 19:55:32 mytoh [~mytoh@h220-215-160-087.catv02.itscom.jp] has joined #scheme 19:59:03 http://wiki.tcl.tk/27377 19:59:10 appserver in 100 lines of tcl 19:59:13 pretty k00l 20:03:32 femtooo [~femto@95-89-196-20-dynip.superkabel.de] has joined #scheme 20:06:30 -!- femtoo [~femto@95-89-196-20-dynip.superkabel.de] has quit [Ping timeout: 245 seconds] 20:14:32 -!- Zmax [~dream@95.235.0.11] has quit [Quit: Sto andando via] 20:19:00 -!- daedra [~simon@unaffiliated/daedra] has left #scheme 20:20:36 -!- mytoh [~mytoh@h220-215-160-087.catv02.itscom.jp] has quit [Quit: leaving] 20:21:09 mytoh [~mytoh@h220-215-160-087.catv02.itscom.jp] has joined #scheme 20:22:14 karljoh [~foooki@h-79-127.A165.priv.bahnhof.se] has joined #scheme 20:23:57 -!- nowhereman [~pierre@AStrasbourg-551-1-110-150.w90-13.abo.wanadoo.fr] has quit [Quit: Konversation terminated!] 20:24:01 kephas [~pierre@AStrasbourg-551-1-110-150.w90-13.abo.wanadoo.fr] has joined #scheme 20:28:11 -!- heina [~heina@h220-215-160-087.catv02.itscom.jp] has quit [Remote host closed the connection] 20:29:34 RageOfThou [~RageOfTho@users-33-239.vinet.ba] has joined #scheme 20:29:45 -!- pavelludiq [57f63ac1@gateway/web/freenode/ip.87.246.58.193] has quit [Ping timeout: 265 seconds] 20:31:05 -!- jewel [~jewel@196-210-134-54.dynamic.isadsl.co.za] has quit [Ping timeout: 245 seconds] 20:32:30 -!- dfkjjkfd [~paulh@145.120.22.20] has quit [Quit: Lost terminal] 20:32:33 -!- MrFahrenheit [~RageOfTho@users-55-112.vinet.ba] has quit [Ping timeout: 255 seconds] 20:38:00 join stumpwm 20:54:45 -!- pchrist_ is now known as pchrist 20:54:49 schmir [~schmir@p54A9125D.dip0.t-ipconnect.de] has joined #scheme 20:55:40 -!- Chipmunk [~Kaushik@74.125.63.65] has quit [Ping timeout: 245 seconds] 20:59:31 gravicappa [~gravicapp@ppp85-140-119-153.pppoe.mtu-net.ru] has joined #scheme 21:00:31 -!- drdo [~user@2.208.54.77.rev.vodafone.pt] has quit [Read error: Connection reset by peer] 21:00:49 drdo [~user@2.208.54.77.rev.vodafone.pt] has joined #scheme 21:01:30 -!- zac314159 [~user@c-68-84-149-234.hsd1.nm.comcast.net] has quit [Read error: Operation timed out] 21:01:36 -!- parolang [~user@c-64-246-121-114.oregonrd-wifi-1261.amplex.net] has quit [Ping timeout: 240 seconds] 21:02:20 -!- ironChicken [~richard@195.3.137.108] has quit [Ping timeout: 245 seconds] 21:05:29 femtoo [~femto@95-89-196-20-dynip.superkabel.de] has joined #scheme 21:06:18 -!- githogori [~githogori@0.sub-75-208-191.myvzw.com] has quit [Ping timeout: 255 seconds] 21:08:09 -!- femtooo [~femto@95-89-196-20-dynip.superkabel.de] has quit [Ping timeout: 240 seconds] 21:17:37 -!- femtoo [~femto@95-89-196-20-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 21:24:27 githogori [~githogori@66.sub-75-210-38.myvzw.com] has joined #scheme 21:25:17 -!- mytoh [~mytoh@h220-215-160-087.catv02.itscom.jp] has quit [Quit: leaving] 21:25:37 mytoh [~mytoh@h220-215-160-087.catv02.itscom.jp] has joined #scheme 21:26:37 chemuduguntar [~user@smtp.touchcut.com] has joined #scheme 21:36:20 -!- drdo [~user@2.208.54.77.rev.vodafone.pt] has quit [Remote host closed the connection] 21:36:40 drdo [~user@2.208.54.77.rev.vodafone.pt] has joined #scheme 21:40:35 -!- acarrico [~acarrico@pppoe-68-142-43-164.gmavt.net] has quit [Ping timeout: 240 seconds] 21:42:43 -!- drdo [~user@2.208.54.77.rev.vodafone.pt] has quit [Remote host closed the connection] 21:43:00 drdo [~user@2.208.54.77.rev.vodafone.pt] has joined #scheme 21:48:55 acarrico [~acarrico@pppoe-68-142-43-164.gmavt.net] has joined #scheme 21:49:04 -!- homie` [~user@xdsl-78-35-179-202.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 21:49:57 -!- langmartin [~user@exeuntcha2.tva.gov] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 21:52:40 ironChicken [~richard@195.3.137.108] has joined #scheme 21:57:49 homie [~user@xdsl-78-35-179-202.netcologne.de] has joined #scheme 21:59:28 -!- schmir [~schmir@p54A9125D.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 22:04:25 -!- wbooze`` [~user@xdsl-78-35-179-202.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 22:06:45 kuribas [~user@d54C4384D.access.telenet.be] has joined #scheme 22:07:14 -!- rajeshsr [~rajeshsr@115.184.64.204] has quit [Quit: rajeshsr] 22:07:23 is there any reason why racket wouldn't recognise keyword arguments to a function? 22:08:08 (f arg1 arg2 #:kw-arg "foo") 22:08:23 keeps saying that i've supplied 4 arguments 22:09:17 and shows '#:kw-arg in the error message 22:09:55 so '#:kw-arg is a keyword like let or something? 22:12:31 -!- drdo [~user@2.208.54.77.rev.vodafone.pt] has quit [Remote host closed the connection] 22:12:45 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 245 seconds] 22:12:49 drdo [~user@2.208.54.77.rev.vodafone.pt] has joined #scheme 22:12:54 wbooze [~user@xdsl-78-35-179-202.netcologne.de] has joined #scheme 22:17:11 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has quit [Remote host closed the connection] 22:20:37 eli [~eli@winooski.ccs.neu.edu] has joined #scheme 22:23:25 noonian: it's in the racket net/smtp smtp-send-message function 22:24:24 keyword arguments allow to pass arguments to functions using the name of the argument in the function call 22:24:35 or at least they do in any other programming language 22:24:36 -!- chemuduguntar [~user@smtp.touchcut.com] has quit [Ping timeout: 255 seconds] 22:24:41 gabot [~eli@winooski.ccs.neu.edu] has joined #scheme 22:27:07 ironChicken: There can be several reasons for this, a popular one is that you're using some other language inside racket like r5rs, r6rs, or mzscheme. 22:27:42 ah, no idea then since I don't think standard scheme has keyword args 22:28:36 mytoh: how do you like stumpwm, btw? meaning to switch over to it from ratpoison for some time; but haven't been able to overcome the activation energy. 22:30:16 pavelludiq [57f63ac1@gateway/web/freenode/ip.87.246.58.193] has joined #scheme 22:34:56 -!- pavelludiq [57f63ac1@gateway/web/freenode/ip.87.246.58.193] has quit [Ping timeout: 265 seconds] 22:39:49 -!- mytoh [~mytoh@h220-215-160-087.catv02.itscom.jp] has quit [Ping timeout: 240 seconds] 22:40:38 -!- fradgers- [~fradgers-@5e0b815c.bb.sky.com] has left #scheme 22:42:32 mytoh [~mytoh@h220-215-160-087.catv02.itscom.jp] has joined #scheme 22:42:42 Nils^ [hammerfest@gateway/shell/devio.us/x-rwuyaowthwwyruhd] has joined #scheme 22:44:45 hi. Just to confirm my readings: vectors are fixed in size, right? Its not possible to insert a new object in between of two others. Which data type do you suggest to pick single values/positions from but which can be modified in length (ultimately inserting a new object in between two others) 22:46:32 Nils^: Well, no data structure will let you do that with O(1) time complexity. :-P 22:47:15 0(1) is what again, please? 22:47:20 Nils^: If you can describe a data structure that will let you do that, then you're free to implement it yourself. :-) 22:47:22 -!- mytoh [~mytoh@h220-215-160-087.catv02.itscom.jp] has quit [Ping timeout: 260 seconds] 22:47:39 Nils^: O(1) means that the time to insert (or lookup) does not depend on how big your data structure is. 22:48:47 Well performance is not an issue here. I would have done it with a list but people in here told me in a subtle but impressive manner that this would be evil since I had to use list-ref 22:49:25 I've read much now and want to do the "right" thing 22:50:40 Nils^: The problem with list-ref is that it's O(n). 22:52:57 Nils^: Do you need to maintain the order of elements in your data structure? 22:53:05 Nils^: If the order doesn't matter, there are better data structures to use. 22:53:42 example: I receive a "list" (not in a scheme sense, but in a simple humand understanding) (1 2 3 4 6 7 8). My program notices that the 5 is missing so before further processing it must be inserted there. 22:53:55 -!- zevarito [~zevarito@unaffiliated/zevarito] has quit [Remote host closed the connection] 22:54:00 Nils^: Is your list always in ascending order? 22:54:01 its not simple numbers of course, but the example is accurate. 22:54:05 order is important 22:54:18 Nils^: Do you need to keep insertion order, or just some sorted order? 22:54:33 Like, if your list is always ascending order, then that's the latter. 22:55:24 the members of the list are a compound structure. This just means that the order cannot be derived from the object itselfs but must be given from outside, in some cases a human typing these by hand. 22:55:33 So yes, the order is ascending, but not in a mathematical sense 22:56:13 Nils^: Okay, then there is a better data structure to use. 22:56:27 Nils^: I suggest you use a balanced tree. 22:56:36 ahm thats a new word. 22:56:40 ahm = ah! 22:56:50 Nils^: Balanced trees have O(log n) lookups, and O(log n) insertion. 22:57:05 which is better than 0(n) ? 22:57:07 And keeps everything in sorted order. 22:57:11 Yes, log n is smaller than n. 22:58:17 exciting! 22:58:28 :-) 22:58:33 I guess this is not built-in, I have to implement it myself? 22:58:39 Lemme search. 22:58:44 (Guile) 22:59:32 Guile doesn't seem to have balanced trees. 22:59:56 The standard implementation of balanced trees is called a "red-black tree". 23:00:10 Well, "the standard" is probably too strongly worded. 23:00:15 I mean that it's the most common way to implement it. 23:00:31 http://en.wikipedia.org/wiki/Red-black_tree 23:01:10 -!- bitweiler [~bitweiler@99.190.74.30] has left #scheme 23:02:46 Nils^: I also asked in #guile just in case somebody knows better than I do. 23:03:30 urgh, my connection dropped out without me noticing 23:03:42 Oh dear. 23:03:56 I still read everything. Just my connection to my ssh shell 23:04:03 Of course. *nods*- 23:04:25 -!- gravicappa [~gravicapp@ppp85-140-119-153.pppoe.mtu-net.ru] has quit [Ping timeout: 245 seconds] 23:04:31 *Nils^* is reading the wikipedia red-blac tree article 23:04:55 ah great, this is even an "Excelent" article in the German variant 23:04:56 (My Internet connection's terrible at the moment) But could I get recommendations for the best SRFIs to read? I've already got #1 23:05:54 Nils^: Nice. :-) 23:06:18 fds: 13, 14, 26, 43, 60, 69, 71 are the ones I know really well. :-P 23:06:39 cky: In any particular order? 23:06:52 13 and 43 are natural complements to 1. (13 == string, 43 == vector.) 23:07:22 69 provides hash tables. 23:07:56 26 provides a syntax for making partial applications. 23:08:15 (e.g., (define add1 (cut + <> 1))) 23:09:03 60 provides bit operations. 23:10:20 cky: Thanks. This'll give me something to read. :-) 23:10:26 71 provides an extended "let" syntax that allows multiple values to be bound to multiple variables. (Like SRFI 11, but on steroids.) 23:11:04 Now quickly, before my connection dies again. What's going on here http://pastebin.com/JZhkhr7V ? (Apart from pastebin possibly messing up at displaying Scheme) 23:11:24 But, why does set-car! work like that, but set! doesn't. Mutation is so confusing. 23:13:43 cky: a starting point: http://upcase.inf.upol.cz:8888/scheme/gtrees/ 23:13:53 Nils^: Nice. 23:14:18 fds: The reason your set! doesn't work is because Scheme does not support pass-by-reference. 23:14:55 Ah, it's passing by value? But, how come it works with set-car!? 23:15:12 It seems to me that the situation is the same. :-s 23:15:16 set-car! doesn't require pass-by-reference. 23:15:24 set-car! simply changes the car slot of the cons cell being worked on. 23:18:44 Hm, I see. So there's really no way to get set! to work the way I was expecting it to? I should change the `my-list' object to some other kind of datum? (like a pair) 23:22:42 myu2 [~myu2@v077103.dynamic.ppp.asahi-net.or.jp] has joined #scheme 23:22:46 cky: thanks for you help. I will surely look into that. Is there a "second best" option? Like I said, performance is only of secondary interest. But of course its welcome :) 23:22:58 laurus [~laurus@c-68-40-207-109.hsd1.mi.comcast.net] has joined #scheme 23:23:37 -!- drdo [~user@2.208.54.77.rev.vodafone.pt] has quit [Remote host closed the connection] 23:23:39 -!- kuribas [~user@d54C4384D.access.telenet.be] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:25:59 good night. its already 0:25 here and I have to get up in 4 hours to go and play soccer in the snow by night. Crazy world... 23:31:21 -!- bweaver [~user@host-68-169-175-225.WISOLT2.epbfi.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:34:12 aleix [~aleix@95.21.119.202] has joined #scheme 23:34:58 Nils^: Have fun! 23:38:13 zac314159 [~user@c-68-84-149-234.hsd1.nm.comcast.net] has joined #scheme 23:38:57 zevarito [~zevarito@r186-48-116-48.dialup.adsl.anteldata.net.uy] has joined #scheme 23:41:35 -!- laurus [~laurus@c-68-40-207-109.hsd1.mi.comcast.net] has left #scheme 23:45:49 Checkie [10423@unaffiliated/checkie] has joined #scheme 23:55:05 -!- myu2 [~myu2@v077103.dynamic.ppp.asahi-net.or.jp] has quit [Remote host closed the connection]