00:02:56 -!- MrFahrenheit [~RageOfTho@users-33-148.vinet.ba] has quit [Ping timeout: 255 seconds] 00:03:11 -!- josephholsten [~josephhol@216.16.128.242] has quit [Read error: Connection reset by peer] 00:04:36 josephholsten [~josephhol@216.16.128.242] has joined #scheme 00:05:49 -!- josephholsten [~josephhol@216.16.128.242] has quit [Client Quit] 00:08:21 -!- drdo [~user@2.208.54.77.rev.vodafone.pt] has quit [Remote host closed the connection] 00:12:27 drdo [~user@2.208.54.77.rev.vodafone.pt] has joined #scheme 00:17:10 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 245 seconds] 00:18:39 aidalgol [~user@118.148.162.231] has joined #scheme 00:20:26 copumpkin [~pumpkin@17.101.89.205] has joined #scheme 00:20:26 -!- copumpkin [~pumpkin@17.101.89.205] has quit [Changing host] 00:20:26 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 00:22:08 -!- drdo [~user@2.208.54.77.rev.vodafone.pt] has quit [Remote host closed the connection] 00:32:05 -!- yamanu [~yamanu@89.142.205.104] has quit [Quit: leaving] 00:35:29 drdo [~user@2.208.54.77.rev.vodafone.pt] has joined #scheme 01:08:57 -!- gravicappa [~gravicapp@ppp85-140-119-95.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 01:09:32 -!- drdo [~user@2.208.54.77.rev.vodafone.pt] has quit [Ping timeout: 255 seconds] 01:11:39 -!- felipe [~felipe@my.nada.kth.se] has quit [Quit: felipe] 01:19:40 -!- aidalgol [~user@118.148.162.231] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 01:24:18 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 01:30:53 Azuvix [~Azuvix@174-27-51-173.bois.qwest.net] has joined #scheme 01:33:52 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Ping timeout: 265 seconds] 01:36:44 imran_sr [~imran@75-18-254-4.lightspeed.uncyca.sbcglobal.net] has joined #scheme 01:45:40 -!- wbooze [~user@xdsl-78-34-102-240.netcologne.de] has quit [Read error: Operation timed out] 01:46:10 wbooze` [~user@xdsl-78-34-97-223.netcologne.de] has joined #scheme 01:46:29 homie` [~user@xdsl-78-34-97-223.netcologne.de] has joined #scheme 01:48:00 -!- homie [~user@xdsl-78-34-102-240.netcologne.de] has quit [Ping timeout: 245 seconds] 01:48:01 -!- wbooze` [~user@xdsl-78-34-97-223.netcologne.de] has quit [Client Quit] 01:48:05 -!- homie` [~user@xdsl-78-34-97-223.netcologne.de] has quit [Client Quit] 01:51:04 homie [~user@xdsl-78-34-97-223.netcologne.de] has joined #scheme 01:53:34 wbooze [~user@xdsl-78-34-97-223.netcologne.de] has joined #scheme 01:58:41 Anytime. 02:07:16 -!- elf [elf@antenora.aculei.net] has quit [Ping timeout: 240 seconds] 02:30:05 -!- RageOfThou [~RageOfTho@users-55-164.vinet.ba] has quit [Ping timeout: 255 seconds] 02:43:37 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: nighty night] 03:01:05 copumpkin [~pumpkin@pool-72-70-64-241.bstnma.east.verizon.net] has joined #scheme 03:01:05 -!- copumpkin [~pumpkin@pool-72-70-64-241.bstnma.east.verizon.net] has quit [Changing host] 03:01:05 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 03:03:38 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 264 seconds] 03:07:44 -!- debiandebian [~chatzilla@ntszok039189.szok.nt.adsl.ppp.infoweb.ne.jp] has quit [Ping timeout: 255 seconds] 03:08:55 preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #scheme 03:21:07 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 240 seconds] 03:23:28 -!- Riastradh [debian-tor@fsf/member/riastradh] has quit [Ping timeout: 245 seconds] 03:24:06 debiandebian [~chatzilla@ntszok039189.szok.nt.adsl.ppp.infoweb.ne.jp] has joined #scheme 03:24:47 -!- offby1` is now known as offby1 03:24:50 -!- offby1 [~user@q-static-138-125.avvanta.com] has quit [Changing host] 03:24:50 offby1 [~user@pdpc/supporter/monthlybyte/offby1] has joined #scheme 03:25:36 preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #scheme 03:28:06 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 03:44:52 pchrist_ [~spirit@gentoo/developer/pchrist] has joined #scheme 03:45:36 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 03:45:36 copumpkin [~pumpkin@pool-72-70-64-241.bstnma.east.verizon.net] has joined #scheme 03:45:36 -!- copumpkin [~pumpkin@pool-72-70-64-241.bstnma.east.verizon.net] has quit [Changing host] 03:45:36 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 03:46:57 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Ping timeout: 250 seconds] 03:51:30 -!- Azuvix [~Azuvix@174-27-51-173.bois.qwest.net] has quit [Quit: Leaving] 03:52:36 timj_ [~timj@e176192238.adsl.alicedsl.de] has joined #scheme 03:55:55 -!- timj__ [~timj@e176195059.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 04:00:18 notsonerdysunny [~chatzilla@121.243.182.185] has joined #scheme 04:04:35 rpg [~rpg@216.243.156.16.real-time.com] has joined #scheme 04:09:18 hohoho [~hohoho@p92b3b5.tokynt01.ap.so-net.ne.jp] has joined #scheme 04:10:40 -!- gavv\w [~gavv@178.236.241.138] has quit [Read error: Operation timed out] 04:10:59 -!- dfkjjkfd [~paulh@245-15-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 04:11:28 gavv\w [~gavv@178.236.241.138] has joined #scheme 04:11:35 mmc [~michal@cs27120227.pp.htv.fi] has joined #scheme 04:14:59 aidalgol [~user@114-134-9-4.rurallink.co.nz] has joined #scheme 04:16:42 pantsd_home [~pantsd_ho@174-31-197-194.tukw.qwest.net] has joined #scheme 04:16:54 Is there a standard scheme statistics library? 04:16:59 or standard matrix library? 04:17:20 I'd be keen to know if people ported BLAS or the like to Scheme, or at least provided bindings thereto. 04:19:39 -!- wuj [~wuj@pool-74-101-71-212.nycmny.east.verizon.net] has quit [Ping timeout: 265 seconds] 04:20:09 Wow, what do I know. Apparently Chicken has a BLAS egg. 04:20:20 http://wiki.call-cc.org/egg/blas 04:20:31 shiney 04:20:44 Yep. :-) 04:21:56 Quite likely stupid question about Racket: Why is there still a DrScheme as well as DrRacket? Does the former still serve a purpose? 04:22:26 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 276 seconds] 04:23:24 DrScheme is just the old name, AFAIUI 04:24:19 Where is the "there" that you're talking about? It could be hanging around in a few places for backwards-compatibility 04:24:47 franki^: I thought that sounded right. It's in the binary for Mac OS X I downloaded the other day (5.0.2) and I don't believe it's just a symlink. 04:25:09 rpg: For backward compatibility, same as mzscheme, and will probably disappear at some point. 04:25:24 eli: OK, so as a novice, I can just bin it. Thanks! 04:25:32 Yes. 04:25:36 eli: There's no notice about it in the README, btw. 04:26:03 Right... 04:26:19 Not much point in talking about it. 04:26:40 The mzscheme executable is a little more important since it's used for scripting. 04:26:45 eli: But if you are a novice... Maybe just a sentence to say "if you don't know what this is, just ignore it." 04:27:19 There's about 200 executables there... 04:27:56 And, if you are a novice with a copy of HtDP on paper, as I am.... 04:28:29 ...then HtDP tells you to use DrScheme -- which is one reason to keep it around. 04:28:58 Most HtDP novices don't even bother with readme files. 04:29:26 They also don't come to IRC, so you can safely consider yourself an exception... 04:30:07 eli: I'm a long time lisper, having fun teaching my son a little Scheme. 04:30:52 ThereYouGo... 04:31:30 eli: you mean there-you-go ;-) 04:31:48 Thanks, anyway, it's a lovely piece of software. 04:31:57 (It's my obscure reference to the fat greek wedding movie...) 04:32:14 BTW, unrelated to the above, do you know about the new materials? 04:32:39 Since I was about to say "what new materials?" that would be "no." 04:32:43 Heh, when you said you were a long-time Lisper, I thought you're "the" RPG. But no. :-P 04:32:59 *eli* digs through his mailbox 04:33:10 cky: did you see the /whois? 04:33:16 I did. 04:33:19 That's why I said "but no". 04:33:20 rpg: http://world.cs.brown.edu/ 04:33:34 It'd be interesting if "the" rpg came to this channel, not that he has a reason to. 04:33:40 eli: I haven't reviewed that for a year or so. 04:34:05 I'll look again. BTW, I did my graduate work @ Brown (but before Shriram got there) and heard his excellent talk on that stuff @ ILC 2009. 04:34:27 cky: I used to use "not that rpg" as my realname... 04:34:27 I don't have much experience at this level, but it's supposed to be better in engaging kids. 04:34:35 Nice, nice. :-) 04:34:58 (And yes, the brown thing obviously discolses it as shriram-related...) 04:35:57 eli: I can believe it. I was just doing the first little bit of HtDP. Actually, since it's on line, was going to rip bits of it out and make a sort of private edition of HtDP for the elementary school set. 04:36:25 What's the age range? 04:38:50 -!- aidalgol [~user@114-134-9-4.rurallink.co.nz] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 04:39:13 eli: My son's 10. Ahead of his grade, but not really sophisticated in Algebra, and the notion of inexact numbers possibly confusing. 04:39:35 Thought I'd take the book and edit out stuff that would be confusing (talk of reals, for example). 04:39:47 The notion of inexact numbers is confusing not just to 10-year-olds... 04:40:26 Riastradh: I don't think I really got it until I took abstract algebra. 04:40:41 rpg: Well, one other thing is http://www.ccs.neu.edu/home/matthias/HtDP2e/ 04:41:08 One of the changes, IIUC, is to reduce the numeric stuff. 04:41:40 Also, if you want to rip out parts and use it at those age levels, it'll be a really good idea to post on the list. 04:42:04 Great. And it introduces rendering drawings right away. Thank you so much for the pointer! 04:42:30 One of the reason to post something is http://www.bootstrapworld.org/ 04:43:04 cky: BTW, "the" RPG was at the International Lisp Conference last year, and (sorta) this year, too. 04:43:11 rpg, interesting. What does abstract algebra have to do with confusion about inexact numbers? 04:43:13 It's this program for children around that age range, and I think that there's a bunch of materials that can work out nicely for your needs. 04:43:48 Riastradh: It was when I understood the whole tree of numbers (not just irrationals, but complex and transcendental). Briefly. 04:44:12 eli: Yes, that was the topic of shriram's talk at ILC 2009. 04:44:26 Ah, right, if you've seen that you'd know about it. 04:44:27 It's what inspired me to pick up DrRacket. 04:45:45 I must dash, I'm afraid. Need to do some home stuff. Thank you all. Hope to drop in again soon. I'll let you know if I manage a reasonable HtDPEE.... 04:50:21 -!- chemuduguntar [~user@smtp.touchcut.com] has quit [Quit: Leaving] 04:58:19 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Ping timeout: 240 seconds] 05:05:50 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 05:06:22 -!- zac314159 [~user@c-68-84-149-234.hsd1.nm.comcast.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 05:12:16 debiandebian_ [~chatzilla@ntszok039189.szok.nt.adsl.ppp.infoweb.ne.jp] has joined #scheme 05:12:53 -!- debiandebian [~chatzilla@ntszok039189.szok.nt.adsl.ppp.infoweb.ne.jp] has quit [Ping timeout: 240 seconds] 05:12:55 -!- debiandebian_ is now known as debiandebian 05:18:04 vu3rdd [~vu3rdd@nat/cisco/x-qmuptrmfatflqdxy] has joined #scheme 05:36:52 _danb_ [~user@124-149-32-186.dyn.iinet.net.au] has joined #scheme 05:49:50 Axsuul [~someone@97-93-99-133.static.mtpk.ca.charter.com] has joined #scheme 05:56:11 -!- xwl_ [~user@nat/nokia/x-ckikfwjvuqbvtncx] has quit [Remote host closed the connection] 05:57:28 xwl_ [~user@nat/nokia/x-qkqksjbudghnoxqb] has joined #scheme 06:03:16 -!- imran_sr [~imran@75-18-254-4.lightspeed.uncyca.sbcglobal.net] has quit [Quit: Leaving] 06:03:44 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 06:07:43 What should I use in place of the sort SRFI? 06:10:26 waltermai [~user@131.247.152.4] has joined #scheme 06:11:05 pantsd_home: Why can't you use SRFI 95? BTW, many Scheme implementations have sorting built-in, so adapting those to the SRFI 95 interface should be easy. 06:11:54 aidalgol [~user@114-134-7-235.rurallink.co.nz] has joined #scheme 06:12:20 hey dudes, I got a list of predicates, and I am trying to make a procedure that iterates through the list, supplying arguments to the procedure to each predicate as it goes along. I'm using eval to do this, but the environment doesn't include those arguments for some reason. 06:13:57 Why are you using eval? That just seems wrong. 06:14:43 Most programming tasks in Scheme should not involve eval. Writing a REPL is the obvious exception. 06:15:07 I had a big (and ((pred) (pred) ...)), but that only tells me if all the predicates eval to t or f, not which is f if one is. 06:15:41 Okay. Here's a simple function that lets you tell: 06:15:46 so I'm trying this list of the predicates as lists that are evaled in turn. if on is f, it tells me which. 06:16:55 rudybot: (define (check x . funcs) (cond ((null? funcs) #f) (((car funcs) x) (apply check x (cdr funcs))) (else (car funcs)))) 06:16:56 cky: Done. 06:17:00 If you have a procedure, and you want to apply it to some argument, do that. EVAL is a red herring. 06:17:18 rudybot: (check 0 zero? odd?) 06:17:18 cky: ; Value: # 06:17:23 rudybot: (check 2 zero? odd?) 06:17:24 cky: ; Value: # 06:17:34 waltermai: See here. What's returned is the failed predicate. 06:17:47 It returns false if no predicates fail. 06:17:52 rudybot: (check 0 zero? even?) 06:17:53 cky: ; Value: #f 06:18:15 Notice: no evals anywhere in sight. 06:19:24 I'm still staring at that trying to make it work in my brain. I got up to get some ramen then kicked my chair to turn it when I came back and experienced the most searing pain I've felt in a while, so its hard to concentrate. 06:19:32 thank's a lot though! :) 06:19:53 waltermai: You can use pain to help your concentration. :-P 06:19:55 -!- wgd [~will@76-205-0-91.lightspeed.stlsmo.sbcglobal.net] has quit [Ping timeout: 250 seconds] 06:20:26 Would it help if I formatted that properly and lisppasted it? 06:20:27 cky: was looking at SRFI32 [which was withdrawn] 06:20:29 thanks :) 06:20:35 pantsd_home: :-) 06:20:46 prolly a little, but I can read it without too. 06:21:08 Hehehehehe. 06:21:42 wgd [~will@76-205-0-91.lightspeed.stlsmo.sbcglobal.net] has joined #scheme 06:22:21 so the (else (car funcs)) just displays the perpetrating predicate? 06:22:31 It returns it, yes. 06:22:58 cool! thanks man, I'ma try that. 06:23:22 Obviously, ((car preds) x) just runs the head predicate against your item. 06:25:03 here's a way different question: perl is really good with strings. you can do this Blah << END think that lets you type the file you want to eventually write directly into your editor. is there anything like that in any implementation of Scheme? 06:25:34 There's no Scheme facility for here-documents. 06:25:47 Yes. In Emacs, if you enable Paredit Mode, then you can type what you like inside strings, and it will insert the necessary escapes for you...! 06:25:57 Nice. :-) 06:26:12 <3 paredit. 06:26:53 scsh has here strings, which several other implementations adopted. 06:26:54 I can't figure paredit out really. I turn it off; it makes a closing parenthesis for every opening one I type, which is inconvenient. 06:27:12 waltermai: Inconvenient?! It's a feature, not a bug! 06:27:37 waltermai: The key insight to paredit is that it's S-expression-based, not text-based. 06:27:51 So when you open a bracket, you're inserting a new form. 06:28:01 but sometimes it's useful to me to sit for a while with mismatched parenthesis. 06:28:04 You can shift that form up and down and around, but at no point are you dealing with "text" per se. 06:28:24 If you just want a text editor, use ed. It's the standard text editor. :-P 06:28:28 All you need to do is continue typing what you would have typed before you enabled Paredit Mode. If you were going to type ( d e f i n e SPC ( f SPC x ) RET SPC SPC ( + SPC x SPC 1 ) ) before you enabled Paredit Mode, you can type exactly that with Paredit Mode enabled too. 06:29:05 waltermai: If you have mismatched brackets, you no longer have proper S-expressions. 06:30:38 -!- aidalgol [~user@114-134-7-235.rurallink.co.nz] has quit [Ping timeout: 265 seconds] 06:30:57 waltermai: Ask yourself this question: when you look at S-expressions, do you see the data structure it builds, or do you just see a bunch of brackets? 06:31:16 If the latter, you're doing it wrong. (tm) 06:31:48 aidalgol [~user@114-134-7-235.rurallink.co.nz] has joined #scheme 06:33:58 Analogy: if you look at an HTML or XML document, do you see the document structure, or do you just see a bunch of angle brackets? If the latter, you're also doing it wrong. :-P 06:36:11 Actually, I find the HTML/XML analogy to be one of the most effective ways to help coworkers get over the fear of brackets. Just writing a bog-standard XHTML page in SXML format really helps. 06:39:35 Nevertheless, I was speaking facetiously when I brought up paredit, and I won't think any less of anyone for disliking it. 06:40:12 waltermai: When you see an expression like (let ((s5 (sqrt 5))) (/ (- (expt (/ (1+ s5) 2) n) (expt (/ (- 1 s5) 2) n)) s5)), you should be seeing http://cloud9.hedgee.com/priv/expr1.png, not a bunch of brackets. 06:41:45 (Though not perhaps exactly in that format---that diagram actually scared one of my workmates. :-P) 06:43:16 I still have an unbound-variable error with your code. I'm not using apply though. I got rid of eval and am now using car instead of list-ref. 06:43:29 my predicates each have a number of arguments to them. 06:43:40 waltermai: Show us the money. 06:43:52 each has a different arity. I don't know how to use those paste things you guys use. 06:44:03 http://paste.lisp.org/new/schele 06:44:05 http://paste.lisp.org/new/scheme 06:46:10 -!- Axsuul [~someone@97-93-99-133.static.mtpk.ca.charter.com] has quit [Read error: Connection reset by peer] 06:46:47 waltermai pasted "predicate stuff" at http://paste.lisp.org/display/116790 06:46:51 *reads* 06:47:20 The names are painful to read. 06:47:25 Use hyphens to separate words. 06:47:37 e.g., balanced-leaps?, no-octave-leaps?, etc. 06:50:51 checked-notes is an unbound variable for some reason still. 06:51:37 Okay. Most of your predicates are unary. Those are easy. 06:51:54 The non-unary ones will need to either be lambdas or cut expressions. 06:52:27 e.g., (lambda (x) (penultimate? x number-of-measures voice-list)) 06:52:55 I don't know what that means. why does guile think that checked-notes aren't in the namespace? 06:53:09 waltermai: It's not in scope. 06:53:31 "Namespace" is not a useful concept here. 06:53:34 they are fed to the define above acfc-iter 06:53:45 In Scheme programming, we care about scope. 06:53:53 Axsuul [~someone@97-93-99-133.static.mtpk.ca.charter.com] has joined #scheme 06:53:59 okay sure. 06:54:02 So, in a function like (lambda (x) (* x x)), x is in the scope of that lambda. 06:54:30 i.e., inside that lambda expression, you can refer to the x. Outside of that lambda, you can no longer refer to that x. 06:54:46 but further inside it you can 06:54:54 Right, as long as you're inside it still. 06:55:21 So, here's how I'd write your list of predicates (I'll explain it shortly): 06:55:29 so checked-notes is an operand of allcfconstraints? and acfc-iter is both run and defined inside that. 06:57:18 (define constraints (list (cut first? <> voice-list cn-ambitus tonic-class) no-big-bad-leaps? tritoneless? (compone not same-dir-too-long?) balanced-leaps? no-sixth-leaps? no-octave-leaps? no-adj-triads-or-7th-chords? no-note-repetition? range-wide-enough? no-sequences? no-3-consecutive-leaps? (cut penultimate? <> number-of-measures voice-list) (cut ultimate? <> number-of-measures voice-list))) 06:57:25 So, I'll explain that. 06:57:40 The way I've defined that constraints list, every element is a unary function. 06:57:51 Most of your functions are already unary, so I just put them in the list as is. 06:57:58 The ones that aren't unary are adapted to be unary. 06:58:18 with this cut procedure 06:58:24 The (cut first? <> voice-list cn-ambitus tonic-class) is a shorthand for (lambda (x) (first? x voice-list cn-ambitus tonic-class)) 06:58:54 so they're all technically unary then 06:58:59 The idea is that it turns your function into a unary function, by capturing all the other arguments to your first? function as free variables. 06:59:02 Yes. 06:59:12 how does that put checked-notes in scope 06:59:44 Well, it's in scope of all-fc-constraints?, right? 06:59:54 Uh, all-fc-constraints?. Heh. 07:00:08 it should be, but guile doesn't think it is. 07:00:26 I ought to give you a simpler example to work with. 07:00:39 All those items put together is going to complicate your life, for now. 07:00:57 I want my code to work 07:01:04 You need to learn, first. 07:01:08 No working before learning. 07:01:18 :-) 07:02:02 Suppose you are using my "check" function (which I pasted above a while ago). 07:02:08 well, I don't know why making the predicates unary will make guile think checked-notes is in scope 07:02:46 Try this (using my check function): (define (all-fc-constraints? checked-notes) (apply check checked-notes constraints)) 07:03:15 checked-notes will be in scope inside the all-cf-constraints? function. (I can't get over the "cf". Sorry.) 07:03:47 All you need to do is pass the checked-notes to each of your functions as its parameter. 07:04:05 what is (compone) 07:04:13 That's a dreadful typo of mine. 07:04:19 Where what I meant to type is "compose". 07:05:02 dnm [~dnm@c-68-34-57-169.hsd1.va.comcast.net] has joined #scheme 07:06:04 it doesn't make guile think checked-notes is in scope 07:06:31 Okay. Lemme paste in what I think. 07:06:41 But give me a minute. I must find something for my wife. 07:09:52 waltermai: First of all, do you understand that (define (x) (* x x)) and (define (y) (* y y)) are 100% identical functions, and that there is no way to distinguish the two in any way? 07:10:10 one uses x and the other y 07:10:24 Yes, but the name doesn't matter, and your code will have no way to distinguish the names. 07:11:00 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Read error: Connection reset by peer] 07:11:01 (define a 1) (define b 2) (display a) => 1 07:11:19 Um, you're missing the point I'm trying to make. 07:11:20 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 07:11:23 yes 07:11:42 If you rename a parameter and all uses of it, then the code is the same. 07:11:58 yes 07:12:15 So, if you want to have checked-notes available to you, it must be a parameter. 07:12:20 Or otherwise in scope. 07:12:28 it is a parameter 07:12:45 its the first one to allcfconstraints? 07:13:02 Yes, and inside allcfconstraints?, you can refer to it. 07:13:17 acfc-iter is defined and run inside of allcfconstraints? 07:13:29 Yes, and inside _the forms_ in that, it's accessible too. 07:13:38 but it cannot refer to it 07:13:49 Yes, as long as it's one of the forms inside that function. 07:14:04 The thing is, your constraints-list is in a form outside of that. 07:14:37 Scheme has "lexical scoping". Scoping depends on its lexical context only, not its execution context. 07:14:58 i.e., there isn't some giant hash table where it looks up the value of "checked-notes". 07:15:02 That's not how it works. 07:15:20 if i move constraints inside allcfconstraints guile still doesnt thing acfc-iter should see checked-notes 07:15:52 Lemme rewrite that function for you a different way. 07:15:54 Maybe you'll get it better. 07:16:22 dude, you are making fun of me or something 07:16:45 I don't understand, if you know what's wrong with my code, why you won't tell me what it is 07:18:00 He's not making fun of you, he's trying to make you learn. :) 07:18:06 <3 cky 07:18:09 *franki^* sleeps 07:18:30 telling me what's wrong with my code will "make me learn" 07:19:03 franki^: Thanks! :-) 07:19:07 franki^: You take care! 07:19:19 waltermai: Telling you won't help you get it. I've already tried. 07:19:59 look dude, I can't make you help me, and it seems like you tried or something, but you certainly didn't try to tell me what was wrong with my code if you indeed know. 07:21:32 githogori [~githogori@host-82-135-20-190.customer.m-online.net] has joined #scheme 07:27:06 cky annotated #116790 "Hopefully works better" at http://paste.lisp.org/display/116790#1 07:27:22 waltermai: Have a look at my annotated poste. 07:27:36 waltermai: I haven't tested it, but it's the right idea. 07:29:22 waltermai: Don't doubt that I know what's wrong. Just compare my version with yours, and you'll see. :-) 07:30:56 cky annotated #116790 "A couple of further fixes" at http://paste.lisp.org/display/116790#2 07:31:13 your code returns an unbound variable: checked-notees-for 07:31:22 Um. That's a typo. Get used to it. 07:31:26 You make more typos than I do. 07:31:52 probably. case in point, I made a typo typing what my bash prompt returned. 07:32:23 ERROR: Unbound variable: checked-notes-for 07:33:09 Okay, change all the checked-notes-for to check-notes-for. 07:33:17 Or, change check-notes-for to checked-notes-for. 07:33:18 Your pick. 07:33:28 That's that what I meant by "that's a typo". 07:33:35 Like I said, I haven't tested the code at all. 07:33:40 I can't, since I don't have your functions. 07:34:00 All that does is it keeps only the first argument. 07:34:30 now it says that there are the wrong number of arguments to acfc-iter 07:34:51 hmm 07:35:00 cky annotated #116790 "Fewer typos :-)" at http://paste.lisp.org/display/116790#3 07:35:17 Eh, you know how to fix the rest of the code. 07:35:40 Start with my most recent paste and go from there. 07:35:43 (See bottom entry.) 07:36:03 If it's a homework assignment, may your instructor flunk you if you don't understand the code first. 07:36:18 it's not. it's a music thesis. 07:36:22 Ah. 07:36:27 small part of. 07:36:44 Okay. Well, I'm sorry for being so harsh. 07:36:53 I kind of presumed it was homework. :-) 07:37:01 you're not harsh. you just want to be a teacher or something. 07:37:22 I like scheme and all, but it's a means to an end write now. 07:37:26 Like, from what you just told me now, you're a music student, not a programming student. 07:37:27 right 07:37:32 So, I should have applied a different standard. 07:37:42 Whereas, if you were a programming student, I'd put on the heat, so to speak. 07:38:15 I'm a liberal arts student. I'm currently in a course on python, just because I need the req. 07:38:31 Hahahahaha. 07:38:35 so technically I guess I am a programming student. 07:38:46 acs` [~user@86.35.172.161] has joined #scheme 07:38:49 Reminds me of students in my statistics class (back when I was university) because it was a prereq for biology. 07:39:03 *cky* majored in statistics, so I did stats for the lolz, not because it's a prereq for anything. :-) 07:39:26 well, scheme isn't a prereq. I did my thesis in it because I like scheme. 07:39:31 I felt bad for them, actually, because for a lot of the bio students, stats was the last thing they wanted to do. 07:39:35 Nice. :-) 07:39:37 Are you using LilyPond? 07:40:10 yeah man. I compose with pencil and paper and then transcribe into lilypond because it looks so much better than sibelius or finale 07:40:10 -!- acs` [~user@86.35.172.161] has quit [Remote host closed the connection] 07:40:15 -!- acs [~user@86.35.172.161] has quit [Remote host closed the connection] 07:40:19 Awesome stuff. :-) 07:40:28 but I'm not using the scheme code in lilypond, it's way too hairy. 07:40:36 Hahahahahahaha. 07:40:42 my software just writes lilypond. 07:40:45 I have a friend who use LilyPond mostly for code golfing. 07:40:53 what is code golfing? 07:41:03 acs [~user@86.35.172.161] has joined #scheme 07:41:04 Writing the shortest code to do a task. 07:41:29 oh. lilypond is certainly more terse than musicxml or something 07:41:32 So, in code golfing, you do whatever it takes to make your code short, even if it makes it look like line noise. 07:41:36 *nods* 07:41:51 oh yeah, lilypond is both unintuitive and ugly 07:42:04 Hahahahahaha. 07:42:10 But the output isn't ugly, which is what counts. :-) 07:42:18 but it typesets.. exactly. 07:42:21 :-P 07:42:39 and, it's discrete enough to work with algorithmically 07:43:16 Yep. :-) 07:43:33 I'll learn the difference between your code and mine, but right now I have a thesis meeting tomorrow. 07:43:34 -!- aidalgol [~user@114-134-7-235.rurallink.co.nz] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 07:43:42 Oh, shucks. :-( 07:43:47 I hope your survive the meeting. 07:43:54 *you 07:44:02 It'll be cool. thanks for your interest. 07:44:23 :-) I hope you do well. I'm sorry for getting frustrated earlier. 07:44:32 Again, different standards for different crowds. :-P 07:45:33 One day, I'll explain why I get so jaded by CS students asking for help. :-P 07:46:09 I think I know what you mean. I was a Music Theory TA for a couple of years. same kinda deal. 07:46:14 Hahahahahaha. 07:49:02 And now I'll do some work, 5 hours after I meant to start. 07:49:16 *cky* has to learn to stop procrastinating. 07:49:32 IRC is a huge procrastination-enabler. :-( 07:49:41 me too man. I think I constantly underestimate the environment I put myself in. 07:49:46 Hahahahahaha. 07:50:16 Over the summer I was at home alone with no friends, I did a ton of work on my thesis. here at school I do maybe a 10th as much. 07:50:53 I know that feeling a little too well. :-) 07:52:13 I can't quite make your code work either 07:53:02 ERROR: Wrong number of arguments to # t cn-ambitus tonic-class)> 07:53:42 Hmmmm...are you looking at the bottom version? 07:53:57 I think so. 07:54:03 Okay. Lemme have a quick gander. 07:54:31 Oops, another dumb typo from me. 07:54:35 Lemme go fix it. 07:55:25 cky annotated #116790 "Hopefully squashed all the typos? Pretty please?" at http://paste.lisp.org/display/116790#4 07:57:27 same error. 07:57:30 :-( 07:57:46 I'll take a harder look...probably another typo somewhere I'm sure. 07:58:12 I have to change check to checked and remove all the operands from (acfc-iter ...) each time 07:59:18 Yes, you do have to remove all the operands from acfc-iter. 07:59:24 That's already that way in my version of the code. 08:00:23 -!- alaricsp [~alaric@relief.warhead.org.uk] has quit [Ping timeout: 255 seconds] 08:00:33 -!- mmc [~michal@cs27120227.pp.htv.fi] has quit [Ping timeout: 240 seconds] 08:00:43 Did you refresh the page? The latest version should say "Annotation number 4:". 08:01:35 ERROR: Wrong number of arguments to # 08:01:43 that's what I get now 08:01:52 Huh. Hmm. 08:02:25 Lemme stare at the code hard for a minute. 08:02:37 by all means! 08:02:49 Yes, I did make another mistake. 08:02:52 Lemme fix that too. 08:03:46 cky annotated #116790 "Fifth time lucky?" at http://paste.lisp.org/display/116790#5 08:03:57 Okay, refresh and look for Annotation number 5. :-) 08:04:06 Specifically, the fix is to the function "invert". 08:04:09 Nothing else has changed. 08:05:02 # 08:05:20 did it work? it should return #f and the perpetrating predicate should be... 08:05:39 nonoterepetition? 08:06:19 Well, what I mean is, cut and paste the new "invert" definition, and the rest of the code should work. I hope. 08:06:36 uh, I just cut and pasted all of it 08:06:40 That's fine too. 08:06:50 and # is returned 08:06:58 Ah yes, we need some names too. :-) 08:07:03 now, if that means that there was a #f predicate, that 08:07:06 s correct. 08:07:13 it should be nonoterepetition? 08:07:16 No no no, it's anonymous lambdas. 08:07:25 So, let me find out a way to attach useful names. 08:07:35 -!- minion [~minion@common-lisp.net] has quit [Ping timeout: 255 seconds] 08:08:59 you CS people 08:08:59 that was the idea the whole time! 08:10:54 :-P 08:10:55 aidalgol [~user@114-134-7-235.rurallink.co.nz] has joined #scheme 08:12:26 -!- aidalgol [~user@114-134-7-235.rurallink.co.nz] has quit [Client Quit] 08:20:08 cky annotated #116790 "A rose by any other name" at http://paste.lisp.org/display/116790#6 08:22:05 YEAH! you rule dude 08:22:25 Cool, I'm glad it works for you. :-) 08:22:29 I wasn't sure, because I couldn't test it. 08:22:52 it at least works for this instance, let me try a #t test 08:23:22 Sure. 08:24:08 it works! it even works for the non-unary predicates 08:24:15 Yep, that's the idea. :-) 08:24:24 So, for the unary ones, those are represented as is. 08:24:31 The non-unary ones, I represent as a dotted pair. 08:24:43 Where the car is the predicate itself, and the cdr is a lambda that specifies how to run it. 08:25:12 chemuduguntar [~ravi@118-93-189-209.dsl.dyn.ihug.co.nz] has joined #scheme 08:25:18 hi all 08:25:42 chemuduguntar: Heya! You live in New Zealand, huh? I miss the place. 08:26:13 hey cky =) 08:26:26 i'm glad someone here knows where nz is :) 08:26:46 Haha, we have a number of Kiwis on this channel. 08:27:01 *cky* is an expat Kiwi. 08:27:28 so where are you (in)pat 08:27:31 heh that was lam 08:27:35 I'm currently living in the US. 08:27:58 cool 08:28:12 and do you get to use lisp/scheme for work? 08:28:24 For side projects, yes. Main projects, people code in Ruby. 08:28:28 (And Java.) 08:28:44 *chemuduguntar* does a lot of delphi these days 08:28:53 Fun. :-) 08:29:13 It's interesting to find surviving Delphi programmers, because many of them migrated to C#. :-P 08:30:02 they started using it since the 90's and just stuck to it 08:30:12 *nods* 08:30:38 it's quite a pleasurable programming experience 08:31:09 but i am doing my bit to sneak lisp/scheme into it somewhere hehe :) 08:31:23 Nice, nice. :-) 08:32:42 *chemuduguntar* notes this room is a lot more friendlier so far that #lisp 08:32:50 than* 08:32:57 -!- sjamaan [~sjamaan@netbsd/developer/sjamaan] has quit [Ping timeout: 250 seconds] 08:33:16 sjamaan [~sjamaan@frohike.xs4all.nl] has joined #scheme 08:33:16 -!- sjamaan [~sjamaan@frohike.xs4all.nl] has quit [Changing host] 08:33:16 sjamaan [~sjamaan@netbsd/developer/sjamaan] has joined #scheme 08:33:38 That's nice to know. :-) I don't go to #lisp, so I wouldn't know the difference. :-) 08:33:58 -!- waltermai [~user@131.247.152.4] has quit [Ping timeout: 255 seconds] 08:34:03 O_o 08:34:33 pavelludiq [~quassel@87.246.12.73] has joined #scheme 08:39:51 gravicappa [~gravicapp@ppp85-140-119-95.pppoe.mtu-net.ru] has joined #scheme 08:41:49 -!- acs [~user@86.35.172.161] has quit [Remote host closed the connection] 08:42:32 acs [~user@86.35.172.161] has joined #scheme 08:43:21 -!- acs [~user@86.35.172.161] has quit [Remote host closed the connection] 08:46:49 -!- Axsuul [~someone@97-93-99-133.static.mtpk.ca.charter.com] has quit [Ping timeout: 250 seconds] 08:47:53 -!- notsonerdysunny [~chatzilla@121.243.182.185] has quit [Ping timeout: 240 seconds] 09:01:35 imran_sr [~imran@75-18-254-4.lightspeed.uncyca.sbcglobal.net] has joined #scheme 09:15:40 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 260 seconds] 09:21:04 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 09:26:10 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has quit [Remote host closed the connection] 09:26:47 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 09:38:27 ASau [~user@89-178-104-155.broadband.corbina.ru] has joined #scheme 09:43:07 -!- imran_sr [~imran@75-18-254-4.lightspeed.uncyca.sbcglobal.net] has quit [Quit: Leaving] 09:43:31 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has quit [Remote host closed the connection] 09:43:54 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 10:13:14 -!- hohoho [~hohoho@p92b3b5.tokynt01.ap.so-net.ne.jp] has quit [Ping timeout: 264 seconds] 10:13:29 tupi_ [~david@186.205.37.15] has joined #scheme 10:13:39 hohoho [~hohoho@p92b3b5.tokynt01.ap.so-net.ne.jp] has joined #scheme 10:28:49 -!- pchrist_ [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 10:29:25 pchrist [~spirit@gentoo/developer/pchrist] has joined #scheme 10:32:19 -!- Riastradh [debian-tor@fsf/member/riastradh] has quit [Remote host closed the connection] 10:32:42 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 10:40:01 mmc [~michal@cs27120227.pp.htv.fi] has joined #scheme 10:45:06 fradgers- [~fradgers-@5e064cc1.bb.sky.com] has joined #scheme 10:45:30 -!- fradgers- [~fradgers-@5e064cc1.bb.sky.com] has left #scheme 10:45:39 nataraj [~nataraj@122.165.223.135] has joined #scheme 10:45:43 fradgers- [~fradgers-@5e064cc1.bb.sky.com] has joined #scheme 10:50:22 -!- pavelludiq [~quassel@87.246.12.73] has quit [Remote host closed the connection] 10:55:02 -!- dnm [~dnm@c-68-34-57-169.hsd1.va.comcast.net] has quit [Ping timeout: 276 seconds] 11:07:07 xwl [~user@117.79.83.173] has joined #scheme 11:12:27 masm [~masm@bl19-140-39.dsl.telepac.pt] has joined #scheme 11:12:38 drdo [~user@2.208.54.77.rev.vodafone.pt] has joined #scheme 11:20:01 -!- drdo [~user@2.208.54.77.rev.vodafone.pt] has quit [Remote host closed the connection] 11:21:27 copumpkin [~pumpkin@pool-72-70-64-241.bstnma.east.verizon.net] has joined #scheme 11:21:27 -!- copumpkin [~pumpkin@pool-72-70-64-241.bstnma.east.verizon.net] has quit [Changing host] 11:21:27 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 11:22:21 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Client Quit] 11:23:39 martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 11:35:40 -!- hohoho [~hohoho@p92b3b5.tokynt01.ap.so-net.ne.jp] has quit [Ping timeout: 272 seconds] 11:45:52 alaricsp [~alaric@geniedb.hotdesktop.biz] has joined #scheme 11:49:07 pnkfelix [~Adium@c-71-225-45-140.hsd1.nj.comcast.net] has joined #scheme 12:03:33 dfkjjkfd [~paulh@145.120.22.35] has joined #scheme 12:11:35 -!- _danb_ [~user@124-149-32-186.dyn.iinet.net.au] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 12:20:34 -!- vu3rdd [~vu3rdd@nat/cisco/x-qmuptrmfatflqdxy] has quit [Remote host closed the connection] 12:27:16 HG` [~HG@xdsl-92-252-95-178.dip.osnanet.de] has joined #scheme 12:27:20 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 276 seconds] 12:43:00 Belaf [~campedel@net-93-144-18-169.cust.dsl.teletu.it] has joined #scheme 12:43:29 -!- Belaf [~campedel@net-93-144-18-169.cust.dsl.teletu.it] has left #scheme 12:47:34 -!- nataraj [~nataraj@122.165.223.135] has quit [Quit: Leaving] 12:57:14 -!- martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has quit [Remote host closed the connection] 13:12:27 hohoho [~hohoho@ntkngw226086.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 13:19:57 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 13:22:46 -!- fradgers- [~fradgers-@5e064cc1.bb.sky.com] has quit [Remote host closed the connection] 13:30:36 pavelludiq [~quassel@87.246.12.73] has joined #scheme 13:32:58 -!- joast [~rick@76.178.178.72] has quit [Quit: Leaving.] 13:33:15 -!- HG` [~HG@xdsl-92-252-95-178.dip.osnanet.de] has quit [Ping timeout: 250 seconds] 13:34:55 -!- pnkfelix [~Adium@c-71-225-45-140.hsd1.nj.comcast.net] has quit [Quit: Leaving.] 13:35:52 pnkfelix [~Adium@c-71-225-45-140.hsd1.nj.comcast.net] has joined #scheme 13:39:06 MrFahrenheit [~RageOfTho@users-55-28.vinet.ba] has joined #scheme 13:45:02 -!- Mohamdu [~Mohamdu@CPE00222d6b3798-CM00222d6b3795.cpe.net.cable.rogers.com] has quit [Quit: Leaving] 13:46:27 joast [~rick@76.178.178.72] has joined #scheme 13:46:41 vu3rdd [~vu3rdd@122.167.84.242] has joined #scheme 13:48:13 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 13:55:37 -!- pnkfelix [~Adium@c-71-225-45-140.hsd1.nj.comcast.net] has quit [Quit: Leaving.] 14:00:15 drdo [~user@2.208.54.77.rev.vodafone.pt] has joined #scheme 14:08:20 -!- homie [~user@xdsl-78-34-97-223.netcologne.de] has quit [Read error: Operation timed out] 14:08:56 homie` [~user@xdsl-87-79-53-196.netcologne.de] has joined #scheme 14:09:01 wbooze` [~user@xdsl-87-79-53-196.netcologne.de] has joined #scheme 14:11:14 wuj [~wuj@pool-74-101-71-212.nycmny.east.verizon.net] has joined #scheme 14:11:29 -!- wbooze [~user@xdsl-78-34-97-223.netcologne.de] has quit [Ping timeout: 276 seconds] 14:11:29 -!- drdo [~user@2.208.54.77.rev.vodafone.pt] has quit [Remote host closed the connection] 14:12:49 drdo [~user@2.208.54.77.rev.vodafone.pt] has joined #scheme 14:16:54 ski [~slj@c-2911e055.1149-1-64736c10.cust.bredbandsbolaget.se] has joined #scheme 14:18:11 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 14:18:44 felipe [~felipe@my.nada.kth.se] has joined #scheme 14:21:56 -!- tupi_ [~david@186.205.37.15] has quit [Quit: Leaving] 14:24:46 EbiDK [~ebi@3e6b7ac3.rev.stofanet.dk] has joined #scheme 15:03:37 HG` [~HG@xdslep031.osnanet.de] has joined #scheme 15:07:21 copumpkin [~pumpkin@17.101.89.205] has joined #scheme 15:07:21 -!- copumpkin [~pumpkin@17.101.89.205] has quit [Changing host] 15:07:21 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 15:09:28 bweaver [~user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has joined #scheme 15:13:13 -!- mmc [~michal@cs27120227.pp.htv.fi] has quit [Ping timeout: 240 seconds] 15:16:38 -!- rpg [~rpg@216.243.156.16.real-time.com] has quit [Remote host closed the connection] 15:27:16 mmc [~michal@cs27124157.pp.htv.fi] has joined #scheme 15:36:26 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 15:37:03 -!- xwl [~user@117.79.83.173] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 15:38:05 -!- dfkjjkfd [~paulh@145.120.22.35] has quit [Quit: Lost terminal] 15:43:35 femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #scheme 15:51:13 Fare [~Fare@ita4fw1.itasoftware.com] has joined #scheme 15:54:56 -!- wbooze` [~user@xdsl-87-79-53-196.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 15:55:04 -!- homie` [~user@xdsl-87-79-53-196.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 15:58:25 -!- gravicappa [~gravicapp@ppp85-140-119-95.pppoe.mtu-net.ru] has quit [Ping timeout: 250 seconds] 16:00:48 homie [~user@xdsl-87-79-53-196.netcologne.de] has joined #scheme 16:03:13 wbooze [~user@xdsl-87-79-53-196.netcologne.de] has joined #scheme 16:03:40 dnm [~dnm@static-71-166-174-24.washdc.east.verizon.net] has joined #scheme 16:04:37 gravicappa [~gravicapp@ppp85-140-119-95.pppoe.mtu-net.ru] has joined #scheme 16:06:44 -!- museun [~what@c-76-122-126-43.hsd1.ga.comcast.net] has quit [] 16:17:32 -!- wbooze [~user@xdsl-87-79-53-196.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 16:17:41 -!- homie [~user@xdsl-87-79-53-196.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 16:18:32 -!- githogori [~githogori@host-82-135-20-190.customer.m-online.net] has quit [Read error: Connection reset by peer] 16:26:22 tupi [~david@139.82.89.24] has joined #scheme 16:29:04 Euthydemus [~euthydemu@vaxjo3.23.cust.blixtvik.net] has joined #scheme 16:29:38 homie [~user@xdsl-87-79-53-196.netcologne.de] has joined #scheme 16:29:54 Axsuul [~someone@97-93-99-133.static.mtpk.ca.charter.com] has joined #scheme 16:31:12 aisa [~aisa@173-10-243-253-Albuquerque.hfc.comcastbusiness.net] has joined #scheme 16:31:13 wbooze [~user@xdsl-87-79-53-196.netcologne.de] has joined #scheme 16:31:21 -!- Euthydemus` [~euthydemu@vaxjo3.23.cust.blixtvik.net] has quit [Ping timeout: 250 seconds] 17:01:47 -!- vu3rdd [~vu3rdd@122.167.84.242] has quit [Remote host closed the connection] 17:15:08 -!- Kovensky [~kovensky@abraxo.bluebottle.net.au] has quit [Ping timeout: 272 seconds] 17:21:23 -!- Riastradh [debian-tor@fsf/member/riastradh] has quit [Ping timeout: 245 seconds] 17:24:56 http://imgur.com/vV39Q 17:28:01 Caleb--: I'm sure there are plenty of places where people can find funny pictures on the Internet. Please link to only the Scheme-related ones here. 17:30:55 -!- wlen [~len@77.127.106.91] has quit [Quit: leaving] 17:33:05 Kovensky [~kovensky@abraxo.bluebottle.net.au] has joined #scheme 17:33:13 -!- EbiDK [~ebi@3e6b7ac3.rev.stofanet.dk] has quit [Quit: Ex-Chat] 17:35:56 -!- chemuduguntar [~ravi@118-93-189-209.dsl.dyn.ihug.co.nz] has quit [Remote host closed the connection] 17:36:45 Axius_ [~fd@92.85.209.244] has joined #scheme 17:37:35 hello 17:38:10 What's wrong with this syntax: (cons n '(2 3 4 5 6)) 17:39:32 Axius_: nothing 17:40:25 I get this error msg: unbound variable: n 17:40:56 is n defined :p? 17:41:54 rapacity: no 17:42:24 that's why you're getting the error then, you need to define it before you use it 17:42:42 rapacity: How can I do that? 17:43:12 (define n 1) 17:43:29 place it before the (cons n '(2 3 4 5 6)) call 17:44:11 ok 17:45:37 rapacity: it works. 17:45:49 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 17:46:28 rapacity: thanks 17:46:31 np 17:58:40 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 18:00:48 -!- homie [~user@xdsl-87-79-53-196.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 18:00:52 -!- wbooze [~user@xdsl-87-79-53-196.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 18:01:39 -!- Axius_ [~fd@92.85.209.244] has quit [Quit: Lost terminal] 18:05:05 femtooo [~femto@95-89-197-196-dynip.superkabel.de] has joined #scheme 18:08:26 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Ping timeout: 264 seconds] 18:13:50 -!- gravicappa [~gravicapp@ppp85-140-119-95.pppoe.mtu-net.ru] has quit [Ping timeout: 245 seconds] 18:13:53 -!- mmc [~michal@cs27124157.pp.htv.fi] has quit [Ping timeout: 240 seconds] 18:14:55 -!- Kovensky [~kovensky@abraxo.bluebottle.net.au] has quit [Ping timeout: 250 seconds] 18:23:02 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 276 seconds] 18:24:14 tokam [~tokam@gssn-5f754107.pool.mediaWays.net] has joined #scheme 18:24:20 hi 18:24:28 what does this error say? and: found a use of `and' that does not follow an open parenthesis 18:24:38 (and (tree? (tree-child1 tree)) (member sym (tree-child1 tree))) 18:25:08 looks like it follows an open parentheses to me 18:25:33 are you sure its that line? 18:26:02 yes its marked there 18:26:08 by the interpreter 18:26:18 Can you lisppaste the code you're working with? 18:26:18 (cond (and (tree? (tree-child1 tree)) (member sym (tree-child1 tree))) 18:26:18 1 ..................... 18:26:21 Oh! 18:26:26 It's missing a parens before the (and. 18:26:33 So, (cond ((and (tree? ... 18:26:58 Kovensky [~kovensky@abraxo.bluebottle.net.au] has joined #scheme 18:28:16 http://paste.lisp.org/display/116809 18:28:27 ah, thats a terrible error from cond I guess 18:29:07 thx cky 18:30:02 wingo [~wingo@219.Red-88-0-167.dynamicIP.rima-tde.net] has joined #scheme 18:30:08 schemers 18:30:10 good evening. 18:30:58 i have a query, 18:31:01 regarding the r6rs. 18:31:16 section 4.2.7 specifies a really weird escape sequence: 18:31:37 \ 18:31:43 which expands to... nothing. 18:31:47 why? 18:32:06 I believe it's for writing multiline, indented strings. 18:32:18 (display "Foo!\ 18:32:28 Bar!") 18:32:34 multiline, i can understand 18:32:35 is equivalent to (display "Foo!Bar!"). 18:33:02 is 1 or more characters of whitespace? 18:33:12 it seems to read as 1 character only. 18:33:18 Probably zero or more. 18:33:37 What does the production rule for it say? 18:33:40 (I don't have the R6RS in front of me.) 18:34:35 -> 18:34:45 | 18:35:09 Well, I'm stumped, then. 18:35:23 (which is a pretty crazy thing, i might add. i don't think there are other escape sequences that whose escapee is an entire unicode class of chars.) 18:35:24 I give up. What's the answer? 18:35:27 dunno! 18:35:32 https://savannah.gnu.org/bugs/?31680 is the context 18:35:51 What! You mean this is some sort of trick question? 18:36:01 yes, and i have to answer it1 18:36:02 ! 18:37:28 perhaps weinholt has some more information on what r6rs users expect out of this escape sequence :) 18:44:35 i will mail r6rs-discuss then. 18:44:40 btw I hade scheme 18:44:51 I had a dentist surgory today and I do scheme for the uni -.- 18:45:16 http://pastebin.com/H2TdLNUX any suggestions? 18:45:33 gravicappa [~gravicapp@ppp85-140-147-115.pppoe.mtu-net.ru] has joined #scheme 18:45:57 Well, in this case, you have too many open brackets before the "if". 18:46:08 ok 2 brackets too much 18:46:25 Shouldn'd you hade dendisds, insdead, esbecially if your dendisd messed ub your dose? 18:46:27 Yep, just use 1. 18:46:30 choas [~lars@p578F6AED.dip.t-dialin.net] has joined #scheme 18:46:42 Riastradh: Hehehe. 18:46:50 but the function seems to work 18:47:06 now =) 18:47:33 Good. 18:48:09 mmc [~michal@cs27124157.pp.htv.fi] has joined #scheme 18:48:17 Lisp treats brackets like Python treats spaces: you've got to get in the exact required number, no more nor less, or else you'll get burnt. :-P 18:49:24 actually you can vary the number of spaces 18:49:27 It's not fair to compare scheme's brackets to python's whitespace. 18:49:35 I'd sooner liken them to semi-colons of C. 18:49:51 askhader: No, you can have redundant semicolons in C and still have your program work. 18:50:08 -!- wuj [~wuj@pool-74-101-71-212.nycmny.east.verizon.net] has quit [Ping timeout: 265 seconds] 18:50:17 You cannot have redundant structural whitespace in Python. 18:50:29 dfkjjkfd [~paulh@144-13-ftth.onsnetstudenten.nl] has joined #scheme 18:50:43 that's strict 18:51:06 can we not have the parenthesis discussion please. kthx :) 18:51:22 How about the SRFI 49 discussion instead, then? 18:51:24 wingo: Okay, done. We'll just talk about Python whitespace (and SRFI 49) from here on. 18:51:27 Jinx! 18:51:37 you're just in denial, i heard parenthesis have nasty long term side effects! 18:52:19 So, my Python-loving workmate thinks that SRFI 49 is awesomesauce. 18:53:03 I'm keen to hear if anybody really uses SRFI 49 to do serious Scheme programming. 18:54:17 I don't see the point of SRFI-49 18:54:29 how to throw an error in scheme? 18:54:45 cky: Hm good point 18:54:49 (error 'foo "some error") 18:55:04 checked this in the doc but what is 'foo for? 18:55:11 the name of the thing throwing the error 18:55:16 http://www.amazon.com/Little-Schemer-Daniel-P-Friedman/dp/0262560992 18:55:21 any comments on this book? 18:55:52 Caleb--: I have that book. It's neat. 18:56:37 drdo: The point of SRFI 49 is to get Python programmers on the Scheme bandwagon. :-P 18:56:41 I skimmed that book at my univ's library 18:57:08 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 18:57:14 It has blank pages with the specific purpose of jelly being dropped there! 18:57:56 How does that work out in your university's library, drdo? 18:58:21 Riastradh: There wasn't any jelly there unfortunately 18:59:27 -!- femtooo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Quit: Leaving] 19:00:55 Sounds like you have a task, then! 19:02:04 i have a dirty joke that starts with "What's the difference between jam and jelly?" 19:02:15 but i'm not gonna write out the second part :p 19:02:41 but you can probably google it 19:02:43 :p 19:04:46 Caleb--: the difference is clearly the cdr of string->list 19:05:20 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Ping timeout: 255 seconds] 19:05:40 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 19:07:21 dfkjjkfd_ [~paulh@144-13-ftth.onsnetstudenten.nl] has joined #scheme 19:10:05 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has quit [Ping timeout: 260 seconds] 19:10:27 homie [~user@xdsl-87-79-53-196.netcologne.de] has joined #scheme 19:14:42 mario-goulart: Nice, nice. :-) 19:16:16 -!- dfkjjkfd_ [~paulh@144-13-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 19:27:46 jgracin [~jgracin@vipnet3706.mobile.carnet.hr] has joined #scheme 19:34:54 wbooze [~user@xdsl-87-79-53-196.netcologne.de] has joined #scheme 19:35:09 else: not allowed here, because this is not an immediate question in a `cond' clause 19:35:11 what to do here? 19:35:42 Find where you wrote `else', and find where you wrote `cond', and make sure that they're both in the right place. 19:38:20 used cons instead of cond lol 19:39:08 -!- MrFahrenheit [~RageOfTho@users-55-28.vinet.ba] has quit [Read error: No route to host] 19:40:32 MrFahrenheit [~RageOfTho@91.191.33.220] has joined #scheme 19:58:44 -!- ski [~slj@c-2911e055.1149-1-64736c10.cust.bredbandsbolaget.se] has quit [Read error: Connection reset by peer] 20:00:00 ski [~slj@c-2911e055.1149-1-64736c10.cust.bredbandsbolaget.se] has joined #scheme 20:00:17 -!- jensn [~ceres@c-83-233-145-103.cust.bredband2.com] has quit [Read error: Operation timed out] 20:11:22 langmartin [~user@exeuntcha2.tva.gov] has joined #scheme 20:11:45 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 20:14:03 EbiDK [~ebi@3e6b7ac3.rev.stofanet.dk] has joined #scheme 20:14:58 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 20:15:08 -!- jgracin [~jgracin@vipnet3706.mobile.carnet.hr] has quit [Ping timeout: 245 seconds] 20:28:03 -!- tokam [~tokam@gssn-5f754107.pool.mediaWays.net] has quit [Ping timeout: 245 seconds] 20:29:06 -!- mmc [~michal@cs27124157.pp.htv.fi] has left #scheme 20:32:06 jensn [~ceres@c-83-233-145-103.cust.bredband2.com] has joined #scheme 20:37:44 -!- alaricsp [~alaric@geniedb.hotdesktop.biz] has quit [Ping timeout: 255 seconds] 20:50:56 philo [4618e3da@gateway/web/freenode/ip.70.24.227.218] has joined #scheme 20:51:00 hi 20:51:11 is there a way to call C++ librairies from scheme ? 20:52:43 philo: Depends on the Scheme implementation in question. 20:52:52 Many have an FFI that you can use to call C libraries. 20:53:04 witch implementation allow C++ FFI ? 20:53:10 (Mostly because C ABI is generally easier to work with than C++ ABIs.) 20:53:30 i need to use boost::graph and graphviz 20:53:43 But but but...I thought BGL was mostly header-only. 20:53:56 yes it is 20:53:58 You can't call header-only libraries from Scheme. 20:54:04 (Or any other language.) 20:54:28 schmir [~schmir@p5099de5a.dip0.t-ipconnect.de] has joined #scheme 20:54:35 hummmm i thought some implementation used C backend ? 20:54:51 Stanford GraphBase does, I thought. 20:55:51 that sucks i was really looking forward to play with scheme 20:56:10 Well, like I said, if you want to use BGL, your only choice is C++. 20:57:18 FFIs (for any language) work by linking to existing object code. 20:57:27 In the case of a header-only library, there's no object code to link to. 20:57:40 but how the python binding works ? 20:57:48 It uses Boost.Python. 20:57:56 It's a C++-side library that hooks to CPython. 20:58:17 So, yes, you can design a C++-side library that hooks to your favourite Scheme implementation. 20:58:19 -!- tupi [~david@139.82.89.24] has quit [Quit: Leaving] 20:58:32 ok and i guess there is not Boost.scheme 20:58:36 you cannot support header-only files without compiling code (i.e. with a dynamic FFI). A static FFI might work (I think chicken has such a beast) 20:58:39 Not that I know of. 20:59:32 rotty: Indeed. 21:00:34 so what i need to do is build a shared lib using boost, that have a C interop 21:00:39 then link that to scheme 21:01:12 Yep. 21:01:45 philo: Like rotty said, Chicken is probably a good option for this. 21:04:21 ok thanks 21:04:38 rpg [~rpg@216.243.156.16.real-time.com] has joined #scheme 21:05:38 does anyone else find this to be an explicit formulation of something they understood implicitly? http://www.catb.org/~esr/jargon/html/Z/Zero-One-Infinity-Rule.html 21:06:10 Yes, it's ingrained for me. 21:06:18 With one exception: the "Rule of Three". 21:06:37 For me, the Rule of Three is usually the pain point when something should be refactored. 21:08:14 and SWIG cannot help ? 21:09:01 philo: what's wrong with FFI? I'm using chicken's ffi now to communicate with MSSQL; it's as beautiful as it can be, i believe. 21:09:25 cky: oh, that's interesting; the one copy and paste doesn't quite overcome the activation energy required for refactoring, eh? 21:09:57 klutometis: Right. 21:10:00 i am looking for something that allow to use directly the header-only libs 21:11:58 on the same topic , is there any good graph manipulation lib in scheme 21:12:04 google is leting me down lol 21:12:25 mmc [~michal@cs27124157.pp.htv.fi] has joined #scheme 21:12:41 philo: http://people.csail.mit.edu/jaffer/slib_5.html 21:13:07 what do you mean by `graph', by the way: abstract representation of a network, or some graphical representation? 21:13:18 The former. 21:13:24 That's what Boost Graph Library does. 21:13:37 ah, looking at the history now. 21:13:49 really dont want to learn python lol 21:22:55 klumetric are u sure there is a graph lib in the link you gave ? can't find it 21:24:30 "klumetric"? Hahahaha. :-) 21:27:13 philo: Does your IRC client provide tab completion for nicknames? 21:27:27 That's the usual way to address people so that their nicknames will highlight correctly. 21:29:48 -!- philo [4618e3da@gateway/web/freenode/ip.70.24.227.218] has quit [Ping timeout: 265 seconds] 21:34:04 -!- EbiDK [~ebi@3e6b7ac3.rev.stofanet.dk] has quit [Quit: Ex-Chat] 21:35:55 pothos_ [~pothos@111-240-204-211.dynamic.hinet.net] has joined #scheme 21:37:33 -!- pothos [~pothos@111-240-220-37.dynamic.hinet.net] has quit [Read error: Connection reset by peer] 21:38:27 -!- pothos_ [~pothos@111-240-204-211.dynamic.hinet.net] has quit [Read error: Connection reset by peer] 21:38:47 pothos [~pothos@111-240-204-211.dynamic.hinet.net] has joined #scheme 21:43:21 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Ping timeout: 250 seconds] 21:43:40 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 21:43:54 -!- HG` [~HG@xdslep031.osnanet.de] has quit [Quit: Leaving.] 21:48:34 fradgers- [~fradgers-@5e064cc1.bb.sky.com] has joined #scheme 22:00:14 -!- langmartin [~user@exeuntcha2.tva.gov] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 22:10:25 -!- copumpkin is now known as wisepumpkin 22:28:03 -!- Riastradh [debian-tor@fsf/member/riastradh] has quit [Ping timeout: 245 seconds] 22:32:20 kar8nga [~kar8nga@i-97.vc-graz.ac.at] has joined #scheme 22:33:56 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 22:34:55 devinus [~devinus@ps23102.dreamhost.com] has joined #scheme 22:38:19 -!- schmir [~schmir@p5099de5a.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 22:38:46 -!- choas [~lars@p578F6AED.dip.t-dialin.net] has quit [Quit: leaving] 22:47:30 Azuvix [~Azuvix@174-27-34-218.bois.qwest.net] has joined #scheme 23:00:23 -!- aisa [~aisa@173-10-243-253-Albuquerque.hfc.comcastbusiness.net] has quit [Quit: leaving] 23:00:39 -!- Khisanth [~Khisanth@pool-96-246-15-150.nycmny.east.verizon.net] has quit [Quit: Leaving] 23:00:58 -!- wingo [~wingo@219.Red-88-0-167.dynamicIP.rima-tde.net] has quit [Ping timeout: 245 seconds] 23:07:59 wuj [~wuj@pool-74-101-71-212.nycmny.east.verizon.net] has joined #scheme 23:09:18 -!- jensn [~ceres@c-83-233-145-103.cust.bredband2.com] has quit [Ping timeout: 245 seconds] 23:16:36 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has quit [Remote host closed the connection] 23:17:09 jensn [~ceres@c-83-233-145-103.cust.bredband2.com] has joined #scheme 23:18:11 alaricsp [~alaric@94-194-200-54.zone8.bethere.co.uk] has joined #scheme 23:29:29 -!- dnm [~dnm@static-71-166-174-24.washdc.east.verizon.net] has quit [Ping timeout: 255 seconds] 23:32:14 Khisanth [~Khisanth@pool-96-246-8-177.nycmny.east.verizon.net] has joined #scheme 23:35:03 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 23:37:26 erkangur [~erkangur@85.103.209.46] has joined #scheme 23:38:56 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Ping timeout: 240 seconds] 23:41:55 hi 23:41:58 i have a trouble with drracket on ubuntu 10.10 23:42:11 i was using it without a problem till this morning 23:42:21 when i execute drracket command in the terminal 23:47:06 Did you install updates from your distribution this morning? 23:47:13 What error do you get when you try to run it now? 23:47:36 http://pastebin.com/KrE8s80x 23:47:51 i have this package installed 23:48:43 Try running "sudo apt-get install libsm6". 23:49:16 libsm6 is already the newest version. 23:49:22 Shouldn't apt have gotten that right when installing Racket? 23:49:58 Yeah, plt-scheme depends on libsm6 23:50:28 is racket (plt 5) in ubuntu official repos yet? 23:50:38 Riastradh: I didn't know there were packages for Racket yet. 23:50:52 bremner, not yet 23:50:55 bremner: No, 4.2.4 here 23:50:56 *bremner* looks guilty 23:51:23 right, so however erkangur installed it, it may not have got the deps right. 23:53:24 erkangur: does /usr/lib/libSM.so.6 actually exist? What about /usr/lib/libSM.so.6.0.1 ? 23:53:27 Oh. How long does it take to get packages into Ubuntu? 23:53:54 chandler, when i execute 'ls /usr/lib/libSM*' 23:54:05 They usually have to show up in Debian first, and Racket isn't in Debian yet. 23:54:06 i get http://pastebin.com/MiqXtKJZ 23:54:17 Oh. How long does it take to get packages into Debian? 23:55:24 Speaking of which, why isn't there a package for MIT-Scheme on Debian amd64? Aren't we as important as the i386 users? 23:55:25 imran_sr [~imran@75-18-254-4.lightspeed.uncyca.sbcglobal.net] has joined #scheme 23:55:36 erkangur: What does "uname -m" report on your system? 23:56:13 x86_64 23:56:26 Probably because Chris is swamped, franki^. 23:56:32 -!- kar8nga [~kar8nga@i-97.vc-graz.ac.at] has quit [Remote host closed the connection] 23:57:29 -!- pavelludiq [~quassel@87.246.12.73] has quit [Remote host closed the connection] 23:57:48 Riastradh: I'd offer to make it my first attempt at Debian packaging if I had any time. 23:57:53 Maybe next year. :| 23:58:16 -!- alaricsp [~alaric@94-194-200-54.zone8.bethere.co.uk] has quit [Ping timeout: 240 seconds]