00:00:28 -!- fabe [~fabe@p54A7E13F.dip.t-dialin.net] has quit [Remote host closed the connection] 00:07:39 foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has joined #scheme 00:09:59 dfkjjkfd [~paulh@82-13-ftth.onsnetstudenten.nl] has joined #scheme 00:12:11 -!- rt7 [~rt7@Free.Arethusa-VPN.with.mirkforce.de] has quit [Ping timeout: 245 seconds] 00:14:26 rt7 [~rt7@Free.Arethusa-VPN.with.mirkforce.de] has joined #scheme 00:26:55 -!- dsmith [~dsmith@66.178.229.162] has quit [Ping timeout: 246 seconds] 00:30:10 -!- bipt [~bpt@cl-851.chi-02.us.sixxs.net] has quit [Ping timeout: 260 seconds] 00:42:25 *seangrove* shakes his fist at poorly documented extensions 00:42:35 dsmith [~dsmith@cpe-173-88-196-177.neo.res.rr.com] has joined #scheme 00:42:40 *foof* whistles innocently 00:42:56 TANSTAAFL 00:43:36 ? 00:43:52 C'est la vie 00:44:05 c'est la guerre 00:44:41 Ce n'est pas une guerre! 00:45:08 ceci n'est pas un Pape 00:45:09 Les patchez, sons nuit bienvenu 00:45:20 rudybot: t8 en fr patches welcome 00:45:22 *offby1: Bienvenue correctifs 00:45:27 close enough 00:56:36 -!- fradgers- [~fradgers-@5ad4c06e.bb.sky.com] has left #scheme 01:06:00 *Daemmerung* peeks at the Chicken OpenGL egg doc, recoils in horror 01:06:23 Whoa. 01:11:25 *foof* used to have a dog named Patches 01:11:41 -!- MrFahrenheit [~RageOfTho@users-55-179.vinet.ba] has quit [Ping timeout: 276 seconds] 01:15:46 well, he's welcome any time. 01:16:19 *Daemmerung* collects unused
tags to send to Chicken 01:16:20 Daemmerung: Better than nothing, I suppose 01:17:02 Colloguy [~flx@64.134.223.159] has joined #scheme 01:19:01 -!- bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has quit [Quit: If only your veins were filled with oil, the world would rush to your rescue!] 01:19:34 I gather that one is supposed to read the source. It'd still be nice if delivering the so-called "doc" page didn't wedge the wiki, two falls out of three. 01:20:11 I've been going through the source and the examples, but they're fairly limited 01:20:39 Are you already comfy w/ opengl in C? 01:20:44 But making progress. Just sad that "progress" seems fairly pointless when it could have been as somple as RTFM 01:20:52 So so, yes 01:21:08 I write most of the examples out in C before writing them in scheme 01:21:22 I'm going to opine that opengl is a very poor choice for a Scheme noob. 01:21:46 Heh, fair enough. I'm hoping I'll be able to get out of the noob-valley soon though 01:21:48 You're going to learn how to write C programs... in Scheme. Not cool. 01:22:24 -!- luz [~davids@201.37.229.31] has quit [Quit: Client exiting] 01:22:33 It works fairly well so far, got my triangles floating around, loading bitmaps into memory - just having a hard time getting the bitmap data (in a scheme list) into gl's texture 01:22:50 Checking out srfi-4 right now 01:22:51 Of course it works. You can write Fortran in any language. 01:23:28 -!- JoelMcCracken [~joelmccra@pool-96-236-231-67.pitbpa.east.verizon.net] has quit [Ping timeout: 252 seconds] 01:24:40 Well, I wrote selenium bindings in gambit scheme, wrote a network-based text dungeon crawler/mod, some math toys, an opengl rss reader in clojure 01:24:54 Wrote a few webapps in CL 01:25:07 (which, incidentally, is what attracted me to scheme :P) 01:26:09 Not saying it can't or shouldn't be done. But you're learning lousy Scheme programming habits in so doing. 01:26:26 Alright, fair enough. 01:26:32 What then would be the ideal learning path? 01:26:40 *Daemmerung* shrugs 01:26:45 Honestly curious 01:26:46 Hell if I know. 01:26:56 No point to write C program in scheme 01:27:27 I've written my share of Scheme programs using opengl. The opengl part is always hideous. 01:27:53 Yeah, actually that's the same feeling I got when writing the opengl reader in clojure 01:28:10 It went from being this nice functional program to terribly procedural...and tedious 01:28:39 JoelMcCracken [~joelmccra@pool-72-95-149-114.pitbpa.east.verizon.net] has joined #scheme 01:30:01 -!- JoelMcCracken [~joelmccra@pool-72-95-149-114.pitbpa.east.verizon.net] has quit [Client Quit] 01:31:47 -!- kniu [~kniu@HOHOHO.RES.CMU.EDU] has quit [Read error: Connection reset by peer] 01:32:14 kniu [~kniu@HOHOHO.RES.CMU.EDU] has joined #scheme 01:45:00 -!- jao [~jao@122.Red-88-27-170.staticIP.rima-tde.net] has quit [Ping timeout: 265 seconds] 01:45:02 -!- MononcQc [~ferd@modemcable062.225-20-96.mc.videotron.ca] has quit [Quit: leaving] 01:52:03 I found some Chicken code that calls glTexImage2D. http://chicken.kitten-technologies.co.uk/svn/nondescript/gl-font/gl-font.scm 01:52:04 -rudybot:#scheme- http://tinyurl.com/yz93rlo 01:52:43 *seangrove* is baffled 01:53:08 Thanks Daemmerung, I'm very impressed 01:53:15 And disappointed with my google-fu 01:54:23 So looks like you need a srfi-4 uniform vector, then have to pass it via the "make-locative" Chickenism. 01:55:33 Is this terribly c-esque, and if so, could it be more scheme-like? http://pastie.org/private/8n5kjbvfi5wvrfsiwde8w 01:56:03 *shrug* 01:56:08 ditto 01:56:16 it's mutating, but other than that, it's not horribly un-schemelky 01:56:19 For what you're doing, it's what you have to do. 01:56:20 un-schemely 01:56:33 That's what I thought 01:56:38 And what I have to do is make dinner. Bye. 01:57:10 *offby1* too is making dinner 01:57:28 but you don't see me using that as an excuse to blow off my IRC duties! 01:57:29 make: *** No rule to make target `dinner'. Stop. 01:57:40 hmm, coulda swore ... 01:57:45 *grumble* 01:57:50 god-damned TABs 01:58:03 -!- attila_lendvai [~ati@89.135.205.78] has quit [Ping timeout: 265 seconds] 01:58:10 I coulda too, but there might be children present. 02:16:40 minion's virgin ears! 02:16:49 minion: virgin ears? 02:16:50 please stop playing with me... i am not a toy 02:22:15 haesbaert [~haesbaert@c9155a20.virtua.com.br] has joined #scheme 02:25:47 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 02:37:20 -!- elderK [~elderK@pdpc/supporter/active/elderk] has quit [Quit: elderK] 02:43:43 Arr, make-byte-vector was deprecated, but there's no note as to what supersceded it 02:43:44 Fare [~Fare@c-24-218-127-11.hsd1.ma.comcast.net] has joined #scheme 02:51:13 -!- xwl_ [~user@esprx01x.nokia.com] has quit [Remote host closed the connection] 02:51:23 xwl_ [~user@esprx01x.nokia.com] has joined #scheme 02:56:01 -!- timj__ [~timj@e176203150.adsl.alicedsl.de] has quit [Ping timeout: 246 seconds] 02:58:59 -!- bgs100 is now known as bgs000 02:59:27 reprore_ [~reprore@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 03:05:39 -!- foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has quit [Ping timeout: 260 seconds] 03:09:42 timj__ [~timj@e176205227.adsl.alicedsl.de] has joined #scheme 03:10:23 what's the difference between '(1 2 3) and (list 1 2 3) ? 03:13:36 -!- scheibo [~scheibo@dsl-173-206-227-128.tor.primus.ca] has quit [Ping timeout: 276 seconds] 03:36:02 The latter is guaranteed to create a new list (that is, three new pairs) every time it is evaluated, and may be safely mutated. 03:38:46 -!- Colloguy [~flx@64.134.223.159] has quit [Ping timeout: 264 seconds] 03:40:47 -!- kniu [~kniu@HOHOHO.RES.CMU.EDU] has quit [Quit: Leaving] 03:41:32 kniu [~kniu@HOHOHO.RES.CMU.EDU] has joined #scheme 03:42:16 i'm working with #lang slideshow in DrScheme and i have these in my source: (define c (circle 20)) 03:42:18 (define (three p) (hc-append p p p)) 03:42:20 (define (four p) (hc-append p p p p)) 03:42:26 lisppaste: url? 03:42:27 To use the lisppaste bot, visit http://paste.lisp.org/new/scheme and enter your paste. 03:42:30 (For future reference.) 03:42:43 and this isn't working: > (apply four (cdr '(three c))) 03:43:05 -!- Checkie [13459@unaffiliated/checkie] has quit [Ping timeout: 248 seconds] 03:43:10 but if i do (list three c), then it works 03:43:29 but i don't want that, i want to do reflection :) 03:44:21 Well, this is a different matter entirely. 03:44:30 (list a b) is not the same thing as '(a b). 03:44:36 yes, i know 03:44:38 And I'm not at all understanding what you mean by "reflection". 03:44:53 maybe it's not reflection 03:45:10 but i want to modify my expression before it evalueates 03:45:28 (apply + (cdr '(- 10 5))) <-- this works... 03:46:59 The results of evaluating '(1 2) and (list 1 2) will always be `equal?', regardless of the binding of anything in the environment (other than `quote' and `list'), but this is not the case for '(a b) and (list a b) . Do you see why? 03:48:46 ehm... no? 03:49:19 What text or tutorial are you using to learn Scheme? 03:49:46 chandler: playing in dr scheme? and my haskell skillz0rz.... 03:50:56 minion: advice for pastorn 03:50:56 pastorn: #11959: Cargo-cult. 03:51:07 wut? 03:51:12 If you're able to grok Haskell, I'd suggest taking a bit of time to read the R5RS. It won't take long, and it contains (as far as I can recall) no category theory whatsoever. 03:52:06 minion: advice for Daemmerung, please 03:52:07 Daemmerung: #11957: Show the code. 03:52:08 chandler: my help desk only links to R6RS... new standard? 03:53:06 The R5RS and the R6RS are different animals. If you're interested in the formal semantics, you might find the R6RS to be more useful, but in practice the R5RS will be more relevant (though not 100% applicable) if you're using PLT Scheme. (Can I call it R____t yet?) 03:54:19 chandler: what years are the different standards set (R5RS and R6RS)? I just wanna know, about how old are they? 03:54:27 ("Expected release date: Summer 2010") 03:54:28 Rapltmzchem 03:54:38 heh 03:54:42 scheibo [~scheibo@dsl-173-206-227-128.tor.primus.ca] has joined #scheme 03:54:43 pretty new then :) 03:54:45 seangrove: Huh? 03:54:52 pastorn: Daemmerung wasn't answering your question. 03:55:04 oh 03:55:13 The answer to your question can be found in the all-knowning Bing. (Or Google, if you prefer not to Bing It! (TM)) 03:55:32 all-pwning 04:02:21 pastorn, '(three x) is like (list 'three 'x) while (list three x) is a list containing the varaibles three and x 04:04:25 jonrafkind: For what it's worth, the reason I didn't draw that out explicitly is that #scheme is a rather poor tutorial, and will often provide inconsistent and just plain wrong answers to questions. It's better that he finds another source of information, so that he can ask questions here with a bit more background knowledge. 04:04:50 #scheme, frustrating people asking for help since 1975! 04:06:02 :( 04:06:42 *Daemmerung* had no idea that IRC was so old 04:06:46 (And anyone with "haskell skillz0rz" ought to be able to pick this up in a half-hour with a copy of the R5RS.) 04:07:31 chandler: i just need to understand what will be evaluated and what will stay unevaluated... 04:07:33 r5rs is "short" relative to something like the java spec but its still way to long if you just want to figure out what the hell `quote' does 04:08:09 pastorn: Anything quoted will not be evaluated. Anything not quoted will be evaluated. Some things evaluate to themselves. 04:08:35 bipt [~bpt@cl-851.chi-02.us.sixxs.net] has joined #scheme 04:09:04 ok 04:10:01 jonrafkind: The description given of `quote' is fairly self-explanitory. 04:10:55 -!- Fare [~Fare@c-24-218-127-11.hsd1.ma.comcast.net] has quit [Quit: Leaving] 04:14:17 r5rs quote 04:14:17 http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-7.html#%_idx_86 04:14:19 -rudybot:#scheme- http://tinyurl.com/42fdnl 04:14:55 not as pretty as a quasitypeset PDF, but it gets the job done 04:18:29 I was considering retyping r5rs 04:18:37 just because it's not typeset very well :< ._. 04:21:00 You should be able to find the original source around somewhere, and I think there's a texinfo conversion floating around as well. 04:21:56 It's on Jaffer's site, with SCM etc. 04:22:11 I think 04:22:40 I did 04:22:41 it's terrible 04:25:58 Checkie [5829@unaffiliated/checkie] has joined #scheme 04:26:49 -!- ray [ray@the.ug] has quit [Ping timeout: 248 seconds] 04:29:21 ray [ray@the.ug] has joined #scheme 04:33:44 -!- scheibo [~scheibo@dsl-173-206-227-128.tor.primus.ca] has quit [Ping timeout: 240 seconds] 04:48:40 -!- drwho [~drwho@c-71-225-11-30.hsd1.pa.comcast.net] has quit [Ping timeout: 265 seconds] 04:50:36 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 265 seconds] 05:01:45 foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has joined #scheme 05:06:17 -!- foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has quit [Ping timeout: 248 seconds] 05:14:17 Colloguy [~flx@adsl-99-33-30-42.dsl.pltn13.sbcglobal.net] has joined #scheme 05:15:39 how can I generate a list between all numbers from 1 - 10 ? 05:17:20 (build-list 10 add1) ; on plt-scheme 05:18:06 hmm I just want to call a function 10 times with arguments from 1 to 10 05:18:16 I bet there is a simpler way 05:18:46 (build-list 10 function) ; calls function with arguments from 0 to 9 05:19:00 and places the result in a list 05:19:16 hmm what srfi is that ? 05:19:27 ah :p it's in plt-scheme 05:19:35 not sure what you're using though 05:20:45 scsh 05:24:01 I think you can use unfold 05:24:06 from srfi/1 05:24:42 scsh contains srfi-1, srfi-1 contains iota 05:24:49 Or you could, you know, write a loop 05:25:58 thanks, iota will do :P 05:26:22 -!- sundaymorning [~root@189.107.171.219] has quit [Ping timeout: 265 seconds] 05:26:54 -!- xavieran [~xavieran@ppp118-209-187-103.lns20.mel6.internode.on.net] has quit [Read error: Connection reset by peer] 05:27:55 I think I got an iota in my eye. 05:42:39 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 05:51:42 tps_ [~tps@hoasb-ff08dd00-36.dhcp.inet.fi] has joined #scheme 05:54:19 melba [~blee@unaffiliated/lazz0] has joined #scheme 05:57:50 -!- reprore_ [~reprore@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 06:03:10 -!- Poeir [~Poeir@c-98-228-48-133.hsd1.il.comcast.net] has quit [Read error: Connection reset by peer] 06:04:32 Poeir [~Poeir@c-98-228-48-133.hsd1.il.comcast.net] has joined #scheme 06:16:51 -!- Poeir [~Poeir@c-98-228-48-133.hsd1.il.comcast.net] has quit [Read error: Connection reset by peer] 06:17:55 Poeir [~Poeir@c-98-228-48-133.hsd1.il.comcast.net] has joined #scheme 06:22:48 udzinari [~user@209.158.broadband13.iol.cz] has joined #scheme 06:25:15 drwho [~drwho@c-71-225-11-30.hsd1.pa.comcast.net] has joined #scheme 06:30:45 -!- Mikaeel_Mohamed is now known as Mohamdu 06:30:48 -!- Mohamdu [~Mohamdu@CPE0013f7bc6820-CM0013f7bc681c.cpe.net.cable.rogers.com] has quit [Changing host] 06:30:48 Mohamdu [~Mohamdu@unaffiliated/mohamdu] has joined #scheme 06:44:42 pavelludiq [~quassel@91.139.196.209] has joined #scheme 06:47:52 I know how to do this but I bet there is something that does exactly what I wan't. 06:48:19 I wan't to call a function that cons a list, until some computation is false 06:52:24 Mikaeel_Mohamed [~Mohamdu@CPE0013f7bc6820-CM0013f7bc681c.cpe.net.cable.rogers.com] has joined #scheme 06:54:41 -!- Mohamdu [~Mohamdu@unaffiliated/mohamdu] has quit [Ping timeout: 245 seconds] 07:01:58 foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has joined #scheme 07:06:50 -!- foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has quit [Ping timeout: 260 seconds] 07:18:35 -!- Mikaeel_Mohamed [~Mohamdu@CPE0013f7bc6820-CM0013f7bc681c.cpe.net.cable.rogers.com] has quit [Ping timeout: 260 seconds] 07:39:45 proq [~user@unaffiliated/proqesi] has joined #scheme 07:39:50 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 246 seconds] 07:46:17 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 07:48:46 unfold 07:58:19 toekutr [~toekutr@adsl-69-107-111-248.dsl.pltn13.pacbell.net] has joined #scheme 08:01:13 -!- jonrafkind [~jon@c-98-202-82-46.hsd1.ut.comcast.net] has quit [Ping timeout: 248 seconds] 08:15:31 -!- toekutr [~toekutr@adsl-69-107-111-248.dsl.pltn13.pacbell.net] has quit [Ping timeout: 265 seconds] 08:32:09 are there any open source functional scheme irc bots ? 09:00:26 -!- Colloguy [~flx@adsl-99-33-30-42.dsl.pltn13.sbcglobal.net] has quit [Quit: bye] 09:10:44 rapacity: there is an irc egg for chicken scheme for example https://galinha.ucpel.tche.br/cgi-bin/svnwiki/default/eggref/4/irc 09:11:37 rapacity: and of course rudybot http://github.com/offby1/rudybot 09:22:21 -!- proq [~user@unaffiliated/proqesi] has quit [Ping timeout: 276 seconds] 09:26:37 fradgers- [~fradgers-@5ad4c06e.bb.sky.com] has joined #scheme 09:28:34 thanks 09:28:52 that's exactly what I wanted 09:30:29 Mikaeel_Mohamed [~Mohamdu@CPE0013f7bc6820-CM0013f7bc681c.cpe.net.cable.rogers.com] has joined #scheme 09:31:06 welcome 09:55:26 phao [~phao@189.107.129.3] has joined #scheme 10:00:29 bokr [~bokr@95.154.102.124] has joined #scheme 10:01:49 -!- bokr [~bokr@95.154.102.124] has left #scheme 10:02:19 bokr [~bokr@95.154.102.124] has joined #scheme 10:10:03 -!- jmcphers [~jmcphers@218.185.108.156] has quit [Remote host closed the connection] 10:10:57 jmcphers [~jmcphers@218.185.108.156] has joined #scheme 10:12:11 -!- PygoscelisPapua [~pygospa@f055031085.adsl.alicedsl.de] has quit [Ping timeout: 260 seconds] 10:13:53 PygoscelisPapua [~pygospa@f055077131.adsl.alicedsl.de] has joined #scheme 10:20:48 -!- bokr [~bokr@95.154.102.124] has left #scheme 10:20:50 bokr [~bokr@95.154.102.124] has joined #scheme 10:21:07 -!- bokr [~bokr@95.154.102.124] has left #scheme 10:21:13 bokr [~bokr@95.154.102.124] has joined #scheme 10:42:27 -!- sepult [~levgue@xdsl-87-78-25-92.netcologne.de] has quit [Ping timeout: 265 seconds] 10:54:24 -!- dfkjjkfd [~paulh@82-13-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 11:02:33 foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has joined #scheme 11:04:30 masm [~masm@bl7-196-166.dsl.telepac.pt] has joined #scheme 11:04:31 -!- masm [~masm@bl7-196-166.dsl.telepac.pt] has left #scheme 11:06:48 -!- bokr [~bokr@95.154.102.124] has left #scheme 11:06:51 bokr [~bokr@95.154.102.124] has joined #scheme 11:07:00 -!- bokr [~bokr@95.154.102.124] has left #scheme 11:07:06 -!- foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has quit [Ping timeout: 265 seconds] 11:07:13 bokr [~bokr@95.154.102.124] has joined #scheme 11:07:20 -!- bokr [~bokr@95.154.102.124] has left #scheme 11:07:32 bokr [~bokr@95.154.102.124] has joined #scheme 11:07:43 -!- bokr [~bokr@95.154.102.124] has left #scheme 11:08:27 sepult [~levgue@xdsl-87-78-25-92.netcologne.de] has joined #scheme 11:13:45 Mohamdu [~Mohamdu@CPE0013f7bc6820-CM0013f7bc681c.cpe.net.cable.rogers.com] has joined #scheme 11:17:15 -!- Mikaeel_Mohamed [~Mohamdu@CPE0013f7bc6820-CM0013f7bc681c.cpe.net.cable.rogers.com] has quit [Ping timeout: 265 seconds] 11:18:34 -!- sepult [~levgue@xdsl-87-78-25-92.netcologne.de] has quit [Ping timeout: 252 seconds] 11:19:07 sepult` [~levgue@xdsl-87-78-31-55.netcologne.de] has joined #scheme 11:20:38 -!- sepult` is now known as sepult 11:22:14 -!- sepult [~levgue@xdsl-87-78-31-55.netcologne.de] has quit [Client Quit] 11:24:15 sepult [~levgue@xdsl-87-78-31-55.netcologne.de] has joined #scheme 11:27:46 Not so sure I'm functional ... 11:28:41 incubot, are you functional? 11:28:46 the goal is to let a user of a webpage build an expression (a predicate) dynamically then have that predicate filter an existing html table...kind of like the 'where' clause of an sql statement..in the course of this project i figured i would learn javascript, functional programming and a little about database query processors :) 11:29:41 -!- xwl_ [~user@esprx01x.nokia.com] has quit [Ping timeout: 245 seconds] 11:37:20 xwl_ [~user@esprx01x.nokia.com] has joined #scheme 11:38:10 rudybot: t8 iw en     :  . 11:38:11 eli: Life is like ass hair: short and smelly. 11:39:33 :-| 11:39:39 I didn't raise my bot to be so vulgar! 11:40:03 .oO(How does "iw" code for Hebrew?) 11:40:03 We taught it well the ways of the world 11:40:47 foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has joined #scheme 11:41:06 dfkjjkfd [~paulh@82-13-ftth.onsnetstudenten.nl] has joined #scheme 11:41:46 rudybot: t8 iw en      11:41:47 eli: Kish Kish Asatra readable decanter 11:42:04 offby1: I have no idea. 11:42:21 But looks like it doesn't work for Aramaic. 11:42:33 but you told it it was Hebrew! 11:43:35 It's a Hebrew saying that comes from arameic. 11:43:49 Hebrew is fun that way. 11:44:00 rudybot: t8 iw en   '  11:44:01 eli: All Big Dog 's day 11:44:26 .oO( Hebrew is "iw"? ) 11:45:02 foof: my sediment exactly 11:45:47 rudybot: t8 il en    ? 11:45:47 eli: invalid translation language pair 11:45:53 rudybot: t8 he en    ? 11:45:53 eli: Why I ran the grinding? 11:46:08 `he' works too. 11:46:50 (Should have been: `he' "works" too.) 11:48:33 attila_lendvai [~ati@89.135.205.78] has joined #scheme 11:48:35 offby1: What are you using for that? 11:51:21 Just google translate 11:51:25 very simple REST API 11:52:10 I wrote it only because _another_ bot ("fsbot" in #emacs) used to do it, then broke when the older API that it used got turned off. 11:52:19 so rudybot stepped in and filled the gap. 11:52:26 fsbot has since mended its ways 11:54:42 offby1: Just like that? No API keys or limits? 11:55:13 none that I can tell. 11:55:17 hi 11:55:41 I dimly recall that _some_ google API thing takes an _optional_ API key. 11:55:45 let's see 11:56:16 person 11:57:34 PURPLE 11:57:42 *offby1* fidgets 11:58:07 *eli* is teaching his son to use irc 11:58:16 ah 11:58:59 purpple 11:59:37 lambda 11:59:47 (he probably already knows that word) 11:59:51 laambdaaaaaaaa 12:00:12 he was actually just typing that... 12:03:18 Mary had a little lambda 12:06:10 *offby1* slaps Jafet upside the haid 12:09:25 -!- fradgers- [~fradgers-@5ad4c06e.bb.sky.com] has quit [Ping timeout: 240 seconds] 12:14:06 Annaa [~Annaa@110.23.99.45] has joined #scheme 12:14:10 http://tinypic.zapto.org/2kn4m8.png?t=1270382777 do my breasts look to big? 12:14:10 -!- Annaa [~Annaa@110.23.99.45] has left #scheme 12:16:31 *sigh* 12:30:38 -!- xwl_ [~user@esprx01x.nokia.com] has left #scheme 12:31:09 grettke [~grettke@cpe-65-30-16-243.wi.res.rr.com] has joined #scheme 12:31:10 xwl_ [~user@esprx01x.nokia.com] has joined #scheme 12:46:06 -!- bipt [~bpt@cl-851.chi-02.us.sixxs.net] has quit [Ping timeout: 260 seconds] 12:47:12 -!- grettke [~grettke@cpe-65-30-16-243.wi.res.rr.com] has quit [] 13:03:44 -!- xwl_ [~user@esprx01x.nokia.com] has quit [Remote host closed the connection] 13:04:10 xwl_ [~user@esprx01x.nokia.com] has joined #scheme 13:04:42 xwl_` [~user@esprx01x.nokia.com] has joined #scheme 13:04:51 Jafet1 [~Jafet@unaffiliated/jafet] has joined #scheme 13:05:31 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 265 seconds] 13:05:43 -!- Jafet1 is now known as Jafet 13:20:47 -!- xwl_` [~user@esprx01x.nokia.com] has quit [Remote host closed the connection] 13:28:15 I'm reading PLAI, it seems decent 13:33:11 -!- dfkjjkfd [~paulh@82-13-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 13:33:45 dfkjjkfd [~paulh@82-13-ftth.onsnetstudenten.nl] has joined #scheme 13:51:06 xwl [~user@123.115.122.41] has joined #scheme 14:00:07 apertu [~alper@host-194-88-211-36.snto-msu.net] has joined #scheme 14:01:02 -!- bgs000 is now known as bgs100 14:01:56 -!- bgs100 is now known as bgs000 14:02:10 -!- bgs000 is now known as bgs100 14:24:32 alvatar [~alvatar@217.127.222.87.dynamic.jazztel.es] has joined #scheme 14:27:37 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 14:35:14 -!- alvatar [~alvatar@217.127.222.87.dynamic.jazztel.es] has quit [Ping timeout: 240 seconds] 14:37:02 alvatar [~alvatar@217.127.222.87.dynamic.jazztel.es] has joined #scheme 14:53:43 scheibo [~scheibo@dsl-173-206-227-128.tor.primus.ca] has joined #scheme 15:05:13 MrFahrenheit [~RageOfTho@users-55-100.vinet.ba] has joined #scheme 15:10:42 -!- phao [~phao@189.107.129.3] has quit [Ping timeout: 265 seconds] 15:12:38 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 265 seconds] 15:13:32 Adamant [~Adamant@c-68-54-179-181.hsd1.ga.comcast.net] has joined #scheme 15:13:32 -!- Adamant [~Adamant@c-68-54-179-181.hsd1.ga.comcast.net] has quit [Changing host] 15:13:32 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 15:30:02 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 265 seconds] 15:36:33 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Remote host closed the connection] 15:36:36 Sveklo [~sveklo@unaffiliated/sveklo] has joined #scheme 15:36:44 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 15:40:43 hotblack23 [~jh@p4FC5A3F6.dip.t-dialin.net] has joined #scheme 15:45:36 AqD|Home [~AqD|Home@122-116-21-207.HINET-IP.hinet.net] has joined #scheme 15:46:33 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 15:48:09 -!- dfkjjkfd [~paulh@82-13-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 15:48:55 IJP [~Ian@host86-174-203-114.range86-174.btcentralplus.com] has joined #scheme 15:50:12 -!- tps_ [~tps@hoasb-ff08dd00-36.dhcp.inet.fi] has quit [Quit: Leaving] 15:58:59 sundaymorning [~root@189.107.171.219] has joined #scheme 15:59:02 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 265 seconds] 16:02:05 fradgers- [~fradgers-@5ad7bb5e.bb.sky.com] has joined #scheme 16:03:03 Adamant [~Adamant@c-68-54-179-181.hsd1.ga.comcast.net] has joined #scheme 16:03:03 -!- Adamant [~Adamant@c-68-54-179-181.hsd1.ga.comcast.net] has quit [Changing host] 16:03:03 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 16:11:36 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 265 seconds] 16:23:20 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 16:24:31 bipt [~bpt@cl-851.chi-02.us.sixxs.net] has joined #scheme 16:24:56 -!- foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has quit [Ping timeout: 276 seconds] 16:29:57 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 265 seconds] 16:31:11 can i do mutually recursive functions in scheme? 16:31:29 or will the "called before identified"-thingy get in my way? 16:31:53 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 265 seconds] 16:37:22 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 16:40:45 bhavi [~bhavi@117.204.125.76] has joined #scheme 16:41:26 hi all 16:41:50 i am interested to do a project in scheme language 16:41:59 can anyone help me? 16:42:02 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 265 seconds] 16:42:14 bhavi: Install a scheme and do your project 16:42:16 bhavi: what kind of project? 16:42:51 to do a scheme compiler for smart phones 16:43:10 bhavi: compiler or interpreter? 16:43:31 (can scheme even be compiled?) 16:43:52 Is there any reason you think it couldn't be compiled? 16:43:52 i mean to write a compiler for java to schem 16:44:24 bhavi: ok... so give an outline of your project... what comes in, what goes out? 16:45:07 i/p must be a javascript code and we should get the equivalent scheme version 16:45:41 bhavi: java is not javascript 16:45:53 oh what about it? 16:46:08 First you said it should be a compiler for java to scheme, and later you said input is javascript 16:46:35 i meant to say javascript there also... 16:46:41 bhavi: java is something the guys at SUN came up with... javascript is something that you (most of the time) run inside a browser. Javascript is a dialect of ECMA-script. 16:46:55 ok 16:47:52 i think there is an existing project to do the same... 16:48:14 but i want something different from it 16:48:47 pastorn: hi 16:49:06 ehm... hi? 16:49:22 pastorn: moby scheme is an existing project... 16:49:32 have you checked it out 16:49:56 bhavi: no 16:50:29 i am doing this as my main project 16:51:16 this needs an android emulator 16:51:57 can you help me to run some javascript inside this emulator? 16:52:58 -!- Mohamdu [~Mohamdu@CPE0013f7bc6820-CM0013f7bc681c.cpe.net.cable.rogers.com] has quit [Ping timeout: 260 seconds] 16:53:31 pastorn, what about you?] 16:54:41 bhavi: dude, i'm a haskell guy 16:55:05 its also a dialect of lisp, right? 16:56:07 bhavi: you CAN say that... but... 16:56:30 bhavi: think of it as lisp that complains a LOT 16:56:41 oho.. 16:56:51 -!- Poeir [~Poeir@c-98-228-48-133.hsd1.il.comcast.net] has quit [Quit: Leaving] 16:57:12 No, Haskell is not a dialect of Lisp. 16:57:20 what are you doing? 16:57:32 pastorn? 16:57:45 chandler: if you squint your eyes... 16:58:12 If you put a staple or two through your tongue, almost everything will sound like Lisp. 16:58:56 http://instantrimshot.com/ 16:59:33 pastorn: I would suggest that you stick to asking questions for now. I'm not a big fan of the blind leading the blind. 16:59:42 bhavi: why the dickens do you want to run a java-to-scheme compiler *on* a phone? 17:00:23 chandler: hehe... well, there aren't many answers to get in this channel, this isn't exactly #haskell :/ 17:00:47 I'm not sure what you mean by that. 17:01:03 Generally I'd prefer to see questions go unanswered (or answered on a long delay) than answered incorectly. 17:01:05 pastorn: read a book, then come back here. 17:01:15 chandler: if you ask something in haskell you almost always get five people jumping at you with answers 17:01:26 * #haskell 17:02:07 Sometimes you will get that here, too. Usually when that happens, you will get five different answers, all of them wrong or misleading. 17:02:14 daemmerung: i believe that writing programs in scheme is more easier than that in javascript 17:02:22 Or the right answer will be mixed in with a lot of noise. 17:02:48 bhavi: What is your target platform? 17:03:07 He needs to give me another week.... 17:03:08 mobiles that run android os 17:03:17 What's JavaScript got to do with it? 17:03:48 android uses javascript for applications, right? 17:03:50 pastorn: To distill the message down to a few words, lurk harder. 17:03:57 bhavi: No. 17:03:58 No. Android applications are written in Java. 17:04:13 Well, generally. You can use native code. Or JavaScript, if you want to. 17:04:18 s/harder/moar 17:04:49 Daemmerung: sed: -e expression #1, char 13: unterminated `s' command 17:05:08 so what about running an application in android enulator...? 17:05:12 Can't use Jscript unless you're writing in Rhino on ASE 17:05:37 i'm not used to ASE 17:05:40 whats it> 17:05:47 Oh, there's no bridge to the WebKit JavaScript implementation? 17:05:55 I wasn't aware of that. 17:06:03 bhavi: http://groups.google.com/group/android-scripting 17:06:23 chandler: That might exist. Perhaps I overstated the case 17:07:08 I don't really grok webkit or leveraging parts of same 17:08:29 It seems to be not uncommon on the iPhone, since it's the only interpreter you're technically allowed to use (though it seems that some others have slipped by the reviewer, so long as you don't make a point of it or download interpreted code at runtime.) 17:08:56 "the reviewers", even. 17:09:52 I would believe The Reviewer. By name, one Miss Agnes McCarthy, of Sioux City, Iowa. 17:10:17 Also secretary of her local orchid Appreciation Society 17:11:16 My mental image of The Reviewer was of Simon Pegg, overseen by a slimy alien in a ceiling deep in the bowels of One Infinite Loop. 17:11:48 i saw the group's page.. 17:11:59 but wasnt able to understand much 17:12:22 can you give some link on android applications 17:12:24 bhavi: This page might be a little more explanitory: http://code.google.com/p/android-scripting/ 17:12:25 ? 17:13:03 bhavi: ASE is an environment for running traditional console-oriented scripting languages on an Android device. 17:13:54 wtfness [~dsc@89.211.176.1] has joined #scheme 17:14:21 ok 17:14:47 Also, http://d.android.com/guide/index.html 17:15:19 aaaaaaaaand we're off-topic for #scheme, so I'll stop there. 17:16:51 It's not so far off topic. I don't generally mind discussions about means to a Scheme end, unless they wander off into genericity. 17:17:49 what does the word "datum" mean? 17:18:26 it's in the description for quasiquotes 17:18:32 Type it into duckduckgo.com and see what you get. 17:18:56 it's the singular word for data 17:19:09 the swedish word "datum" means "date" (as in a specific day) 17:19:09 What the heck is this? 17:19:29 Daemmerung: cool search engine :) 17:19:40 pastorn: I don't believe that R5RS is written in Swedish, though sometimes it certainly seems that way 17:20:02 Daemmerung: nah, it's just that i've never seen that english word before 17:21:07 pastorn: http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-10.html#%_sec_7.1.2 17:21:10 -rudybot:#scheme- http://tinyurl.com/yaz37ma 17:21:27 My eyes!! 17:21:45 Quadrescence: please follow through on the threat to retypeset that 17:21:55 i'm looking at this: file:///usr/share/plt/doc/reference/quasiquote.html 17:22:04 I'm sorry; that doesn't exist on my computer. 17:22:11 chandler: yeah, i know 17:22:54 http://docs.plt-scheme.org/reference/quasiquote.html 17:23:20 Daemmerung: This is actually an interesting search engine. Where did you find this, out of curiosity? 17:23:23 that's not the R5RS spec, or is it? 17:23:31 Daemmerung: If there is significant interest in having something re-typeset, I would be more than willing. 17:23:34 so guys.. have anyone tried android emulator? 17:23:51 bhavi: Yes, I have. 17:24:05 what about the applications 17:24:11 chandler: it got some buzz on HN 17:24:12 how did you run? 17:24:13 pastorn: No, it's not. It's the PLT Reference, which is the best description of what PLT does. 17:24:28 -!- saccade [~saccade@209-6-54-113.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Quit: This computer has gone to sleep] 17:24:28 bhavi: Is there a Scheme-related reason why you're asking this? 17:24:39 yes of course... 17:24:52 indeed my project is in scheme 17:25:34 Daemmerung: Is there a demand for something to be typeset? I feel somewhat obligated because of my lack of input on WG[12] 17:26:43 Quadrescence: I would rather make you buckle down on WGx. I'm reacting to the exceptional ugliness of the HTML edition of R5RS. I don't know that the demand exists beyond yours truly. 17:27:07 chandler: why did you ask so? 17:27:20 What I really miss is a decent version of the spec on my Kindle. I lack the TeX skillz0rz to get much traction there. 17:28:03 bhavi: I'm trying to keep the discussion from wandering off. 17:28:41 ok. I understand. I shall ask the android guys about it 17:29:04 and return here to seek help on scheme 17:29:18 is there any difference in how PLT and scheme handles quasiquoting? 17:29:22 -!- paraita [~paraita@85-171-229-50.rev.numericable.fr] has quit [Read error: Connection reset by peer] 17:29:30 bhavi: We (or our heirs, successors, and assigns) will be here when you do. 17:29:48 thanks a lot :) 17:31:22 -!- bhavi [~bhavi@117.204.125.76] has quit [Quit: Leaving] 17:34:30 -!- bipt [~bpt@cl-851.chi-02.us.sixxs.net] has quit [Ping timeout: 260 seconds] 17:35:09 pastorn: PLT supports template datatypes beyond those described in the Standard. 17:35:49 Daemmerung: PLT = scheme on steroids? 17:36:18 But without gynecomastia and acne. 17:36:36 haha 17:37:55 bipt [~bpt@cl-851.chi-02.us.sixxs.net] has joined #scheme 17:37:56 rdd [~user@c83-250-52-182.bredband.comhem.se] has joined #scheme 17:41:29 bhavi_ [~bhavi@117.204.125.76] has joined #scheme 17:41:29 PLT ~ Eclipse, right? ;) 17:42:28 chandler: do me a favor 17:43:19 just let me know how to run an android app 17:44:01 bhavi_: you will get better results in this channel with more precise questions 17:44:28 i think the question is clear enough 17:44:38 in drscheme + #lang slideshow, how do i turn on typechecking? 17:45:00 i want to run an application inside the android emulator.. 17:45:27 Which application? Do you have adb running? etc, etc 17:46:14 Go work through the Android "Hello, world" sample, then re-ask your question. 17:48:06 how can I run the "Hello, world" sample? 17:48:17 i have the emulator with me 17:48:49 http://d.android.com/resources/tutorials/hello-world.html 17:48:49 bhavi_: Your needs would be better served by an Android development channel. 17:49:11 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 17:49:11 in the installation instruction, they had given a url for running 17:49:25 Where jasta will give the same advice I'm giving, only with more f words. 17:49:26 But it's outdated now.. 17:49:54 Daemmerung: That might be appropriate, honestly. 17:50:11 chandler: You are correct. 17:50:50 Daemmerung: Thanks for the hello world link.. 17:50:51 bhavi_: The channel you're looking for seems to be #android-dev . 17:51:11 Its something informative.. 17:51:17 I shall check it out 17:51:25 Please do. 17:51:27 chandler: ok 17:51:28 bhavi_: Everything you need is on http://d.android.com. Read that exhaustively, work through it all. Then go to #android-dev. 17:51:58 Daemmrung: ok friend, see you soon.. 17:52:41 -!- bhavi_ [~bhavi@117.204.125.76] has quit [Quit: Leaving] 17:52:57 Now now, Daemmerung. You should know that not everyone learns by reading information. Some people do, for sure. Others learn by pestering others with questions whose answers are readily available in numerous resources, until exhaustion sets in and the channel owner begins to grope for an excuse to reach for the ban-hammer. 17:53:57 A novel dynamic, to be sure. 17:54:06 -!- bipt [~bpt@cl-851.chi-02.us.sixxs.net] has quit [Ping timeout: 260 seconds] 17:54:24 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 17:54:26 Never before seen in this channel. Available only by calls to 800 numbers hawked on late-night television. 17:55:34 At least he'll be pestering the inhabitants of some other channel for a while. 18:01:21 bipt [~bpt@cl-851.chi-02.us.sixxs.net] has joined #scheme 18:09:53 phao [~phao@189.107.206.182] has joined #scheme 18:13:08 jonrafkind [~jon@c-98-202-82-46.hsd1.ut.comcast.net] has joined #scheme 18:14:10 -!- bipt [~bpt@cl-851.chi-02.us.sixxs.net] has quit [Ping timeout: 260 seconds] 18:19:44 bzzbzz [~franco@modemcable240.34-83-70.mc.videotron.ca] has joined #scheme 18:20:18 foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has joined #scheme 18:24:59 -!- foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has quit [Ping timeout: 265 seconds] 18:25:37 -!- Nshag [user@lns-bzn-60-82-254-198-216.adsl.proxad.net] has quit [Ping timeout: 246 seconds] 18:26:55 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 265 seconds] 18:40:59 -!- pastorn [~alexander@aoeu.csbnet.se] has left #scheme 18:44:10 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Ping timeout: 246 seconds] 18:44:42 Nshag [user@lns-bzn-24-82-64-151-19.adsl.proxad.net] has joined #scheme 18:45:16 -!- attila_lendvai [~ati@89.135.205.78] has quit [Ping timeout: 258 seconds] 18:46:28 pchrist [~spirit@gentoo/developer/pchrist] has joined #scheme 18:51:20 ahaa 18:51:25 ahaha* 18:51:36 funny how people try to fool themselves 18:51:43 http://community.schemewiki.org/?sicp-ex-3.19 18:51:49 it seems that who wrote that 18:52:00 thinks that is an actual valid answer to sicp-3.19 exercise 18:55:12 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 18:55:26 no he does not as one can see by his comment below 18:55:52 pchrist [~spirit@gentoo/developer/pchrist] has joined #scheme 18:56:03 Fare [~Fare@c-24-218-127-11.hsd1.ma.comcast.net] has joined #scheme 18:56:26 bipt [~bpt@cl-851.chi-02.us.sixxs.net] has joined #scheme 18:56:31 the question asked for 2 things 18:56:35 1st - constant time 18:56:43 -!- Sveklo [~sveklo@unaffiliated/sveklo] has quit [Remote host closed the connection] 18:56:48 2nd - it should be an algorithm that 18:57:00 returns true if the list has a cycle in it 18:57:06 and returns false other wise 18:57:21 he didn't recognized that his algorithm didn't do both 18:57:43 phao seems a bit spaced out 18:57:44 Needs a time out 18:58:02 Jafet, what do you mean? 18:58:17 constant time 18:58:37 ops 18:58:41 it's constant space*** 19:05:40 btw 19:05:45 can anyone give a hint 19:05:51 of how to do this exercise. 19:05:52 ? 19:05:56 3.19 19:05:59 I did 3.18 19:06:07 and it takes some space.. I think it's linear 19:07:41 http://dpaste.com/179398//plain/ 19:07:56 this is my 3.18, which sees if a list-structure has a cycle. 19:08:33 Try google. 19:08:52 The point is that I don't want an answer... I'd like some hint hehe 19:09:11 I can't think of any way you'd figure the algorithm out by yourself, unless you sit with a pencil and paper a few hours 19:13:19 I'm looking at some answers 19:13:23 and people are not doing it 19:13:31 checking for any cycle. 19:13:40 Can you just use a cons cell to save the start of the loop, and the current position? 19:14:00 The loop may occur anywhere within the list. 19:14:13 that's the point 19:14:22 The Pollard rho algorithm actually depends on this effect 19:14:26 so, if the list-structure is a tree 19:14:26 jao [~jao@83.43.35.213] has joined #scheme 19:14:27 Yes, but you would follow the cdrs from the start to the current 19:14:32 i must point that out. 19:14:41 ops... the algorithm must work for that too. 19:14:42 sure? 19:14:47 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 19:15:26 A list is a list, whether you can draw it as a tree isn't relevant 19:15:31 Mikaeel_Mohamed [~Mohamdu@129-97-241-106.uwaterloo.ca] has joined #scheme 19:15:39 hmm, after reading what IJP said 19:15:46 i remember here. 3.18 says this: 19:16:02 Sure, very inefficiently 19:16:08 "Write a procedure that examines a list and determines whether it contains a cycle, that is, whether a program that tried to find the end of the list by taking successive cdrs would go into an infinite loop" 19:16:20 That ignores trees completely 19:16:32 Jafet: It said constant space, no-one said it had to be fast 19:16:33 There's some theorem relating the amount of space you use to the minimum time required to find a cycle 19:16:54 I believe it does specify the time complexity. 19:16:57 phao: total spoiler -- my complete solution -- http://gist.github.com/355631 19:17:37 Jafet: it's easy to figure out the algorithm yourself, if you've gone on job interviews 19:18:05 That would explain it; I've never been on one 19:18:09 -!- aspect [~aspect@64.22.124.11] has quit [Ping timeout: 265 seconds] 19:18:13 it's a popular interview question. 19:18:26 I'm sure I had no idea how to answer it the first time I was asked, but the second time ... 19:18:30 Mohamdu [~Mohamdu@129-97-241-106.uwaterloo.ca] has joined #scheme 19:19:05 -!- duncanm [~duncan@a-chinaman.com] has quit [Ping timeout: 248 seconds] 19:19:34 aspect [~aspect@64.22.124.11] has joined #scheme 19:19:45 duncanm [~duncan@a-chinaman.com] has joined #scheme 19:19:45 la la la 19:20:07 *offby1* casts "detect duncanm" 19:23:49 after re-reading the exercise, I've seen I was trying to do what wasn't being asked. 19:24:14 phao: it' 19:24:26 what do you mean? 19:24:28 phao: it's good to write unit tests before writing your code; it helps you keep the problem in mind 19:24:41 *offby1* hit the Enter key prematurely 19:25:45 yeah... 19:25:46 In my experience that only works for solved problems 19:26:06 if you read that code I wrote 19:26:06 for 3.18 19:26:09 I wasn't quite doing what was asked 19:26:13 In other words, test cases don't lead to discovery; they check against past mistakes. 19:26:52 I was in part because I was telling if a list had a cycle, but I wasn't doing according to the definition of a "cycle" the exercise gave. 19:27:06 By using that defition, 3.19 became easy to be implemented. 19:27:10 -!- Mikaeel_Mohamed [~Mohamdu@129-97-241-106.uwaterloo.ca] has quit [Quit: Leaving] 19:28:09 Lemonator [~kniu@CMU-311358.WV.CC.CMU.EDU] has joined #scheme 19:28:14 -!- kniu [~kniu@HOHOHO.RES.CMU.EDU] has quit [Ping timeout: 240 seconds] 19:28:38 Jafet: granted, this is a toy problem, but my solution above, I wrote that way 19:29:11 now, at work, it's very hard to do test-driven development :-| 19:37:25 bipt` [~bpt@cl-851.chi-02.us.sixxs.net] has joined #scheme 19:37:40 -!- bipt [~bpt@cl-851.chi-02.us.sixxs.net] has quit [Read error: Connection reset by peer] 19:44:46 Sveklo [~sveklo@unaffiliated/sveklo] has joined #scheme 19:57:38 -!- wtfness [~dsc@89.211.176.1] has quit [Quit: leaving] 20:01:26 -!- alvatar [~alvatar@217.127.222.87.dynamic.jazztel.es] has quit [Quit: leaving] 20:10:36 -!- mjonsson [~mjonsson@cpe-74-68-121-85.nyc.res.rr.com] has quit [Ping timeout: 268 seconds] 20:13:24 -!- udzinari [~user@209.158.broadband13.iol.cz] has quit [Read error: Connection reset by peer] 20:14:45 udzinari [~user@209.158.broadband13.iol.cz] has joined #scheme 20:22:45 parolang` [~user@8e4a01246100775874c4f448e9887093.oregonrd-wifi-1261.amplex.net] has joined #scheme 20:30:43 -!- offby1 [~user@pdpc/supporter/monthlybyte/offby1] has quit [Ping timeout: 240 seconds] 20:32:29 offby1 [~user@pdpc/supporter/monthlybyte/offby1] has joined #scheme 20:32:57 tps_ [~tps@hoasb-ff08dd00-36.dhcp.inet.fi] has joined #scheme 20:33:50 luz [~davids@201.37.229.31] has joined #scheme 20:38:24 -!- Sveklo [~sveklo@unaffiliated/sveklo] has quit [Remote host closed the connection] 20:50:12 hello, is there a way to edit the font the drscheme gui uses ? 20:51:26 probably, in some menu somewhere :-| 20:51:51 yea, its definately possible and yea, its definately in some sub-menu 20:52:07 couldn't find it, and I'm not referring to the definitions window 20:52:20 oh the system fonts 20:52:21 hm 20:52:53 im not sure if that can be changed from drscheme.. but it should be possible using some more global method (like something your os gives you) 20:52:55 what os are you on? 20:53:02 debian sid 20:53:05 linux* 20:58:07 rapacity: http://docs.plt-scheme.org/gui/mredprefs.html 20:59:17 The short version is that it's inconvenient -- you need to edit the preference file manually (~/.plt-scheme/plt-prefs.ss), and you need to remember that these things are case sensitive while the reading mode for the prefs is case insensitive, so you need to quote the symbols like this: |MrEd:default-font-size| 20:59:34 thanks :) 21:00:25 Oh, I misunderstood. Thought you wanted to change the fonts of the menus/dialogs/etc. 21:01:00 Which you can do via X remapping, but I don't have the details handy (that box is in my office). 21:02:50 What I said is for those fonts; changing the drscheme font etc is easy. 21:03:48 Ah so, MrEd:controlFontSize 21:04:08 Yes, there's a bunch of them. 21:04:58 -!- MrFahrenheit [~RageOfTho@users-55-100.vinet.ba] has quit [Read error: No route to host] 21:05:17 MrFahrenheit [~RageOfTho@users-55-100.vinet.ba] has joined #scheme 21:05:42 Nice mix of Schemely-hyphenated-ids and camelCasery therein. 21:09:22 -!- sstrickl [~sstrickl@c-98-216-238-231.hsd1.ma.comcast.net] has quit [Quit: sstrickl] 21:14:03 -!- melba [~blee@unaffiliated/lazz0] has quit [Quit: my favourite color is blue......NO, YELLOWWWWWWWWW] 21:20:25 fabe [~fabe@p54A7D949.dip.t-dialin.net] has joined #scheme 21:26:45 -!- xwl [~user@123.115.122.41] has quit [Remote host closed the connection] 21:31:27 -!- Fare [~Fare@c-24-218-127-11.hsd1.ma.comcast.net] has quit [Quit: Leaving] 21:34:37 -!- phao [~phao@189.107.206.182] has quit [Quit: Leaving] 21:35:02 waterlaz [~waterlaz@91.193.126.104] has joined #scheme 21:35:06 naryl [~naryl@213.170.70.141] has joined #scheme 21:35:33 hello 21:35:55 could anyone help me? Is there a way to read a single character from input 21:36:05 without buffering 21:36:56 something like C's getch() 21:39:37 PLT racket lets you make a binding to curses 21:39:55 ouch 21:40:03 -!- Mohamdu [~Mohamdu@129-97-241-106.uwaterloo.ca] has quit [Ping timeout: 260 seconds] 21:40:13 I was realy hoping to avoid that 21:42:42 -!- ASau [~user@83.69.227.32] has quit [Remote host closed the connection] 21:42:46 waterlaz: perhaps peek-bytes-avail!* from the plt libraries? 21:43:11 ASau [~user@83.69.227.32] has joined #scheme 21:43:45 I'll take a closer look at it but doubt it would be much different from read-char in that aspect 21:47:25 waterlaz: What OS? 21:47:32 linux 21:47:40 and which Scheme? 21:47:51 mzscheme 21:48:03 and input is a tty? 21:48:09 yes 21:48:19 waterlaz: You can run an stty command that will make the terminal raw -- send you each character as it comes, rather than the default cooked mode. 21:48:56 Sveklo [~sveklo@cs181043239.pp.htv.fi] has joined #scheme 21:48:58 -!- Sveklo [~sveklo@cs181043239.pp.htv.fi] has quit [Changing host] 21:48:58 Sveklo [~sveklo@unaffiliated/sveklo] has joined #scheme 21:57:03 waterlaz: To be more specific, if you use getch() on a terminal input, you'll get the same thing you get in Scheme -- no input is available until you hit enter. 21:57:37 Usually, when you get to that level, it's better to write a gui, but the stty thing can be used on a console, still. 21:57:40 eli, yes, thanks 21:57:50 If that's really what you want, I have some quick code that does it. 21:58:35 hm.. if it's not very diffcult for you 21:58:59 I'll look for it. 21:59:22 Do scheme implementations have some sort of atexit? That is, you could attach a procedure to reset the terminal whenever the program exits 21:59:50 waterlaz: http://tmp.barzilay.org/ 21:59:59 waterlaz: http://tmp.barzilay.org/x actually 22:00:26 oh, thanks =) 22:01:11 masm [~masm@bl7-205-97.dsl.telepac.pt] has joined #scheme 22:01:40 waterlaz: Now that I look at it, it's a better idea to put the two calls to stty in a dynamic-wind call. 22:01:50 Gambit has ##add-exit-job!. Don't know about PLT. 22:02:26 waterlaz: Or at least just the last one -- the (stty tty-settings) which restores the settings. 22:02:39 Before I learned to use atexit in C, debugging curses programs was a pain. Eventually I did ./a.out; reset; 22:02:41 But with good shells this won't matter much since they'll restore the terminal anyway. 22:02:51 eli, thanks 22:03:19 Daemmerung: IIRC, you can use atexit() through the foreign interface, but there's also the exit handler. 22:03:23 Hrm... zsh doesn't 22:03:27 rudybot: eval (exit handler) 22:03:30 eli: your scheme/base sandbox is ready 22:03:30 eli: error: reference to an identifier before its definition: handler in module: 'program 22:03:32 rudybot: eval (exit-handler) 22:03:32 eli: ; Value: # 22:04:00 schmir [~schmir@p54A93901.dip0.t-ipconnect.de] has joined #scheme 22:04:04 rudybot: eval (let ([o (exit-handler)]) (exit-handler (lambda (n) (printf "bye") (o n)))) 22:04:10 rudybot: eval (exit 4) 22:04:10 eli: error: evaluator: terminated (exited) 22:04:40 (Bah, it should work, rudybot probably assumes that there's nothing to show if it died.) 22:05:07 *offby1* awakens 22:05:53 Jafet: I just commented the line that restores the settings, and ran it from zsh -- things work fine when it's done. 22:06:58 Here zsh with rxvt not all terminal modes get reset when a curses program segfaults. Could be just my mileage 22:07:29 -!- masm [~masm@bl7-205-97.dsl.telepac.pt] has quit [Quit: Leaving.] 22:10:09 eli: sweet, thanks. As a simple STFM for "exit" would have revealed to me. 22:13:01 Jafet: I don't know, I never tried to hack ncurses applications. 22:13:14 Daemmerung: S? 22:13:24 Oh, "Search". 22:15:00 Yes. Not to be confused with STFU, of course. 22:17:56 *offby1* indeed read it that way 22:18:26 I often search urtext 22:19:07 Mantra to self: STFU and STFM 22:22:13 om 22:22:21 -!- naryl [~naryl@213.170.70.141] has left #scheme 22:22:37 Jafet: What's `urtext'? 22:23:03 A german word 22:23:13 dfkjjkfd [~paulh@82-13-ftth.onsnetstudenten.nl] has joined #scheme 22:24:00 anyone here uses scheme's allegro bindings? Is there any mailing list or something about it? 22:24:50 -!- schmir [~schmir@p54A93901.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 22:25:26 Urtext = a text based on the original sources, or closest approximation to same 22:25:50 -!- scheibo [~scheibo@dsl-173-206-227-128.tor.primus.ca] has quit [Remote host closed the connection] 22:27:01 IM IN UR TEXT ANNOTATING UR DOODZ 22:27:47 -!- luz [~davids@201.37.229.31] has quit [Remote host closed the connection] 22:29:05 -!- Sveklo [~sveklo@unaffiliated/sveklo] has quit [Quit: Leaving...] 22:33:26 -!- Quadrescence [~quad@unaffiliated/quadrescence] has quit [Ping timeout: 245 seconds] 22:34:08 Quadrescence [~Quad@unaffiliated/quadrescence] has joined #scheme 22:36:39 -!- pavelludiq [~quassel@91.139.196.209] has quit [Read error: Connection reset by peer] 22:38:16 -!- hotblack23 [~jh@p4FC5A3F6.dip.t-dialin.net] has quit [Quit: Leaving.] 22:42:23 foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has joined #scheme 22:51:58 sundaymorning, you can ask me directly, I wrote it 23:01:20 -!- foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has quit [Ping timeout: 276 seconds] 23:04:46 foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has joined #scheme 23:07:20 luz [~davids@201.37.229.31] has joined #scheme 23:10:11 Mikaeel_Mohamed [~Mohamdu@129-97-241-106.uwaterloo.ca] has joined #scheme 23:15:37 Poeir [~Poeir@c-98-228-48-133.hsd1.il.comcast.net] has joined #scheme 23:31:42 devslashnull [~james@202.3.37.225] has joined #scheme 23:32:30 -!- sepult [~levgue@xdsl-87-78-31-55.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:38:58 -!- bipt` [~bpt@cl-851.chi-02.us.sixxs.net] has quit [Ping timeout: 260 seconds] 23:40:09 -!- foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has quit [Ping timeout: 276 seconds] 23:42:36 -!- devslashnull [~james@202.3.37.225] has quit [Ping timeout: 245 seconds] 23:47:38 jonrafkind: I'm trying to work out how to move the camera around. I'm just working 2-D. I looked simple.ss, which creates a bigger image and I think it moves the image around, but I wanted something that wasn't bounded. 23:47:56 I think perhaps I need to use this get-camera-matrix 23:48:01 thats for 3-d 23:48:08 the "camera" in 2d is just where you draw stuff 23:48:26 if you have an object in world coordinates at 1000, 1000 and the camera is at 200, 200 then you want to draw the object at 800, 800 on the screen 23:48:36 in general all you want to do is object_x - camera_x, object_y - camera_y 23:49:05 -!- rdd [~user@c83-250-52-182.bredband.comhem.se] has quit [Read error: Connection reset by peer] 23:50:00 hm, I see. Is there a default where the camera starts pointing to? 23:50:37 I guess it doesn't matter, I could call it 0, 0 and just move from there 23:51:00 well.. not really. I guess you could say it defaults to 0, 0 but the "camera" is just an abstraction for you to deal with coordinate systems, it doesnt actually exist 23:51:36 acarrico [~acarrico@pppoe-68-142-33-192.gmavt.net] has joined #scheme 23:51:37 but if you draw everything at object_x, object_y then the camera will never move 23:53:16 I see thanks