00:00:25 -!- vixey [n=yoo@amcant.demon.co.uk] has quit ["Quitting!"] 00:08:42 wy_ [n=wy@c-98-228-40-51.hsd1.in.comcast.net] has joined #scheme 00:09:42 -!- hotblack23 [n=jh@p5B054D53.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 00:11:26 sorrow [n=kvirc@92.4.210.217] has joined #scheme 00:11:26 -!- sorrow is now known as Guest28938 00:11:48 -!- Guest28938 is now known as `sorrow` 00:13:20 -!- deat [n=deat@fac34-8-88-172-174-215.fbx.proxad.net] has quit [] 00:16:09 -!- RageOfThou [n=RageOfTh@92.36.164.144] has quit [Read error: 110 (Connection timed out)] 00:16:27 -!- raikov [n=igr@p2080-ipbf406marunouchi.tokyo.ocn.ne.jp] has quit [Read error: 110 (Connection timed out)] 00:17:22 -!- Edico [n=Edico@unaffiliated/edico] has quit ["Leaving"] 00:22:57 -!- `sorrow` [n=kvirc@92.4.210.217] has quit ["KVIrc 3.4.0 Virgo http://www.kvirc.net/"] 00:23:37 Quetzalcoatl_ [n=godless@cpe-71-72-235-91.cinci.res.rr.com] has joined #scheme 00:28:02 GlobetrotterAlge [n=user@210.48.104.34] has joined #scheme 00:37:56 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 54 (Connection reset by peer)] 00:38:11 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 00:41:32 -!- a-s` [n=user@92.80.66.203] has quit [Remote closed the connection] 00:42:15 -!- alaricsp [n=alaricsp@217.205.201.45] has quit [] 00:46:06 a-s [n=user@92.80.66.203] has joined #scheme 00:47:25 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Remote closed the connection] 00:47:44 n00b [i=41b708c2@gateway/web/ajax/mibbit.com/x-77a2356467bb7dab] has joined #scheme 00:48:30 i am trying to create a queue that runs in O(n) times any help? 00:50:10 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 00:50:14 n00b: queue, as in "priority heap" ? 00:50:32 O(n) looks pretty easy to achieve 00:50:41 O(1) would be the challenge 00:50:44 -!- ObsolEssence [n=user@210.48.104.34] has left #scheme 00:51:14 -!- GlobetrotterAlge [n=user@210.48.104.34] has quit [Remote closed the connection] 00:52:52 k 00:53:06 how do i go about implemented that 00:53:07 ? 00:53:10 bzzbzz [n=franco@modemcable140.105-81-70.mc.videotron.ca] has joined #scheme 00:53:26 is it a homework? 00:53:46 do you have to ask? :) 00:54:03 who's your advisor / TA ? 00:54:18 I really want to implement a queue that runs in constant time 00:54:25 and i need your help 00:54:34 its dew 2moro 00:54:40 plzzzzzzzzzzzzzzzzzzzzzzzz 00:54:42 :) 00:54:42 then send me money by paypal :) 00:54:50 :( 00:55:05 raikov [n=igr@p2080-ipbf406marunouchi.tokyo.ocn.ne.jp] has joined #scheme 00:55:11 Are u gonna help ? 00:55:15 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Remote closed the connection] 00:55:21 A student comes to a young professor's office hours. She glances down the hall, closes his door, kneels pleadingly. "I would do anything to pass this exam." 00:56:05 She leans closer to him, flips back her hair, gazes meaningfully into his eyes. "I mean..." she whispers, "...I would do...anything!!!" He returns her gaze. "Anything???" "Yes,... Anything!!!" 00:56:16 His voice turns to a whisper. "Would you ... study???" 00:56:18 n00b: Read "Purely Functional Data Structures." It contains an implementation (in ML) that you can adapt for your needs: http://www.cs.cmu.edu/~rwh/theses/okasaki.pdf 00:56:33 Quetzalcoatl_, you have returned! 00:56:36 SweetwaterDixon [n=user@210.48.104.34] has joined #scheme 00:56:52 *Quetzalcoatl_* has returned. 00:56:53 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 00:56:55 from the ocean 00:57:08 to bring us civilization 00:57:47 thanks 00:57:50 n00b: does it have to be pure functional, or can you use side-effects? 00:58:02 it might be simpler in the latter case 00:58:17 (though, maybe not) 00:58:36 -!- kazzmir [n=kazzmir@c-98-202-86-149.hsd1.ut.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 00:59:54 the teach just said implement a queue that runs in constant time, that's all 01:00:11 kazzmir [n=kazzmir@c-98-202-86-149.hsd1.ut.comcast.net] has joined #scheme 01:00:44 priority queue, or fifo? 01:01:04 what scheme dialect? PLT ? 01:01:22 it might be as easy as (require ...) and re-export the proper symbols :) 01:01:52 FIFO 01:02:04 MIT-SCHEME 01:02:13 *Quetzalcoatl_* cringes 01:02:31 (define make-queue cons) <-- my make que 01:04:07 what course is this, and how far into the course are you? 01:05:24 -!- athos [n=philipp@92.250.250.68] has quit ["leaving"] 01:05:39 -!- underspecified [n=eric@softbank220043052007.bbtec.net] has quit [] 01:05:39 its an intro to scheme 01:06:27 came to school and found out i had a project so. :( 01:06:38 and the constant time thing is having me 01:11:39 -!- djjack [n=djjack@cpe-098-026-029-215.nc.res.rr.com] has quit ["leaving"] 01:11:41 Constant time (that is, O(1), not O(n)) would seem impossible to me. 01:12:04 -!- a-s [n=user@92.80.66.203] has quit [Remote closed the connection] 01:12:44 http://www.cs.auckland.ac.nz/software/AlgAnim/queues.html not for FIFO according to this 01:12:52 *spoilers* I guess 01:15:54 this guy said he got in constant time : http://www.experiencefestival.com/a/Queue_-_Implementation_in_Scheme/id/4695569 01:20:27 n00b: it will be MUCH simpler if you use side-effects 01:20:57 -!- appletizer [i=user@82-32-123-217.cable.ubr04.hawk.blueyonder.co.uk] has quit [Remote closed the connection] 01:21:05 n00b: basic idea = your main datastructure has a pointer to both first and last elements 01:21:26 n00b: have you learned datastructures, or are you using CONS for everything? 01:21:54 constant-time is easy 01:22:08 AtnNn_ [n=welcome@modemcable087.62-56-74.mc.videotron.ca] has joined #scheme 01:22:13 -!- AtnNn [n=welcome@modemcable087.62-56-74.mc.videotron.ca] has quit [Read error: 104 (Connection reset by peer)] 01:22:20 another implementation: doubly-linked queues (if you need to be able to pop both ends) 01:22:39 if you need to pop only one end, make it the "head" 01:22:45 and push to the tail. 01:23:33 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Remote closed the connection] 01:24:26 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 01:26:06 cons 01:26:21 tell me about datastructures 01:27:19 list vectors? 01:27:30 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 01:27:45 -!- Nshag [i=user@Mix-Orleans-106-2-119.w193-248.abo.wanadoo.fr] has quit [Read error: 110 (Connection timed out)] 01:28:18 i don't understand why people go to irc and usenet for homework help rather than just crack the book 01:28:36 annodomini_ [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 01:28:40 at least for a problem like this one 01:30:59 geeks? 01:31:03 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 104 (Connection reset by peer)] 01:31:03 not used to books? 01:31:13 n00b, wikipedia can help, too 01:31:22 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 01:33:09 i tried wiki 01:33:36 i can build a queue, its just the O(1) thing bothering me 01:33:55 nevermind i'll just do what i can, thanks anyways 01:37:43 djjack [n=djjack@cpe-098-026-029-215.nc.res.rr.com] has joined #scheme 01:39:35 -!- Quetzalcoatl_ [n=godless@cpe-71-72-235-91.cinci.res.rr.com] has quit ["Leaving"] 01:41:48 -!- djjack [n=djjack@cpe-098-026-029-215.nc.res.rr.com] has quit [Client Quit] 01:42:44 djjack [n=djjack@cpe-098-026-029-215.nc.res.rr.com] has joined #scheme 01:45:03 Fare: Is it bad if I read that the first two times with the genders switched? 01:45:16 -!- annodomini [n=lambda@wikipedia/lambda] has quit [Read error: 110 (Connection timed out)] 01:45:23 kniu [n=kniu@128.237.232.233] has joined #scheme 01:45:38 -!- wingo-tp [n=wingo@192.Red-83-44-190.dynamicIP.rima-tde.net] has quit [Read error: 113 (No route to host)] 01:45:47 metasyntax [n=taylor@pool-71-127-85-87.aubnin.fios.verizon.net] has joined #scheme 01:46:03 n00b: The secret is to use two stacks. 01:47:26 -!- AtnNn_ is now known as AtnNn 01:48:06 -!- bzzbzz [n=franco@modemcable140.105-81-70.mc.videotron.ca] has quit ["leaving"] 01:49:05 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 01:50:01 Adamant [n=Adamant@c-76-29-188-22.hsd1.ga.comcast.net] has joined #scheme 01:51:33 orgy_ [n=ratm_@pD9FFE62B.dip.t-dialin.net] has joined #scheme 02:00:15 -!- neilv [n=user@dsl092-071-030.bos1.dsl.speakeasy.net] has quit ["Leaving"] 02:01:16 -!- benny` [n=benny@i577A0F69.versanet.de] has quit [Read error: 113 (No route to host)] 02:05:36 http://planet.plt-scheme.org/package-source/synx/xml-writer.plt/1/0/examples/somexml.ss 02:05:40 comments anyone? 02:05:58 Victorr_ [n=Victorr@modemcable247.139-80-70.mc.videotron.ca] has joined #scheme 02:07:14 -!- orgy` [n=ratm_@pD9FFE432.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 02:07:57 arcfide: I saw you were trying to get Chez Petite into OpenBSD Ports; ever hear anything back about that? 02:10:22 synx: you really want a comment? 02:10:55 -!- melgray [n=melgray@70.99.250.82] has quit [] 02:11:20 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 02:11:50 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Remote closed the connection] 02:12:05 -!- n00b [i=41b708c2@gateway/web/ajax/mibbit.com/x-77a2356467bb7dab] has quit ["http://www.mibbit.com ajax IRC Client"] 02:12:11 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 02:12:21 -!- orgy_ [n=ratm_@pD9FFE62B.dip.t-dialin.net] has quit [Remote closed the connection] 02:13:25 eli: not if it's about my email woes. 02:19:58 metasyntax: I have at last one or two people associated with ports that are interested in getting it in, but so far, nothing has happened. I was going to bug them some more pretty soon. There were licensing ambiguities which have lead to some strangeness, but other than that, there is nothing wrong with the port. 02:20:09 metasyntax: I also have a port for Chez Scheme, but that is of less general use. 02:20:36 metasyntax: I hope that by the Summer a solution to the licenses will allow Petite to get into the regular CDs, and package mirrors. 02:24:33 -!- elias` [n=me@unaffiliated/elias/x-342423] has quit [Read error: 145 (Connection timed out)] 02:25:54 synx: no, about your code. (I apologize if I failed to express my complete lack of interest in your imaginary email problems.) 02:26:40 arcfide: cool, it'd be great to get more Scheme implementations into Ports IMO 02:27:05 eli: constructive criticism is always welcome. 02:27:51 I was also curious because I updated clisp a little bit ago but hadn't heard anything back myself; sometimes I wonder if anybody uses obsd for Lispy languages :) 02:27:59 I didn't say it was constructive too; you *did* reinvent a few wheels, and not in a great way. 02:28:18 jlongster [n=user@c-68-59-187-95.hsd1.tn.comcast.net] has joined #scheme 02:29:19 The Chicken port is still stuck on 2.6 for example, which is pitiful. 02:29:22 Well I'll be happy to use the wheels that exist, so what are they? 02:33:00 You have a mixture of simple functions that print out xml (which is not new and require *very* little code); xexpr-like constructs (and using quoted lists usually turns out to be a problem); and you have an implicit quasiquote which also leads frequently to bad code. 02:34:33 The only functions I found to print out xml would only print out complete documents, not parts of it. 02:36:47 That's the "very little code" I referred to. 02:37:11 It will very likely work better to use only functions instead of any quoting (including implicit quasiquotes). You'll have a much better product. 02:37:24 Also, see the at-forms for writing text. 02:37:35 -!- bsmntbombdood_ is now known as bsmntbombdood 02:38:20 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Remote closed the connection] 02:38:55 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 02:42:19 I'm not sure how to produce the implicit functions for each named XML element, if you want me to do that. 02:43:05 The only way to predict what their names are going to be is to parse an existing document definition document, which I don't really want to bother with. 02:44:19 What are at-forms? 02:47:30 -!- kniu [n=kniu@128.237.232.233] has quit [Read error: 110 (Connection timed out)] 02:48:47 For the first part, use macro -- you should be able to get to a simple (define-xml foo) that will define a `foo' function; and easy to generalize to (define-xmls foo bar baz). 02:48:56 For the second part, see http://docs.plt-scheme.org/scribble/reader.html 02:50:38 kniu [n=kniu@DA-YU.RES.CMU.EDU] has joined #scheme 02:52:46 Sure I could get that function eli, but there are theoretically infinite names for functions like that. I don't think an XML element can exactly be described as a function either. 02:53:11 It's more like there is one function for all XML elements, and the element name is just an argument to it. 02:56:38 synx: I'm not suggesting you define them all, of course. 02:56:46 Let your library's users do that. 02:57:09 And don't give them one function with a tag argument -- that's almost as bad as quotations. 02:57:18 That sounds repetitive and error prone to me. 02:57:48 I realize that there are certain specific rules for certain tags, but for the most part they all exhibit the exact same behavior, especially when you're just generating them and not trying to interpret their meanings. 02:57:50 Not at all -- you give them a macro, so (define-xml foo) will always define it as a function that prints a element. 02:57:53 I'm not writing a browser after all. 02:58:27 You can do that eli, but then you have to make a thousand of those lines one for each element. If you miss an element your program won't work. 02:58:39 And more than that: it's *much less* error prone -- with quotations, if I make a misspelling error like (diiv "blah"), then I don't get any error. 02:59:02 But if I do that and there is no `diiv' function then I'll get a proper error. 02:59:24 If you miss an element, you'll get an immediate compilation error, so there's no problem. 02:59:30 You would have the same problem if you said (define-xml diiv) 02:59:39 And "thousand" is very exaggerated. 03:00:03 Yes, I would -- but then I'd need to make the same spelling error when I use the function too -- so it's way less likely. 03:00:22 Let me give you a concrete example of an immediate benefit: 03:00:31 There are ways in XML to either increase or decrease the amount of elements, so again you could only do it for one specific static grammar of XML. 03:00:55 If I was just writing a HTML generator it'd be fine. But I'd like to do RSS too. And maybe Docbook. 03:00:55 No, you define libraries with standard tags, and a macro for defining new tags. 03:01:13 By what standard? 03:01:15 So in your case, you make an html library, an atom library, etc. 03:01:35 Each one defines the standard tags for that case. 03:01:41 The only way I could be sure of meeting the standard is to parse w3.org's document definitions. 03:01:44 Plus, the macro is there for adding new things. 03:01:49 Which I could do. 03:01:54 If I wanted to bother with it. 03:02:05 That's not that hard, but even an approximation will be much better than quoted lists. 03:02:26 But I'm not writing an XML validator, so I don't see a pressing need to correct misspelled tags. The contents could just as easily be misspelled. 03:02:45 No, if you were writing a validator you'd be parsing. 03:03:18 The need to avoid misspelled tags is coming from uses of this library, where you want to avoid making mistakes in the rendered output. 03:03:27 Back to my example -- say that you're using things like (center "blah blah blah") to produce centered text. 03:03:37 You're saying that I must validate the XML that is generated, and I don't agree with that. 03:03:46 Things work fine, until one day it's declared deprectaed. 03:03:58 If users are concerned with misspelled tags, there's a validator at w3.org that will point them out. 03:04:10 You now need to go over all your code and replace that with (div #:style "text-align: center;" "blah blah blah") 03:04:48 (Nobody uses these validator after every edit to their web page, and if they do then they're paranoid because of libraries that requires doing so.) 03:05:17 There's no way to avoid this `center' -> `div' rewrite because they're all quoted symbols. 03:05:23 Hopefully you would be abstracting the literal XML generation a bit, but yeah you'd have to get rid of the centers. 03:05:25 Adamant [n=Adamant@c-76-29-188-22.hsd1.ga.comcast.net] has joined #scheme 03:05:52 But if they were defined as functions, all you need to do is to define (center . body) as a function that will call the `div' function -- and you're done. 03:05:58 No further changes needed. 03:06:15 Plus center might be a valid tag for another grammar, or by the standards of another organization. 03:06:52 Right -- but the library that provides html can provide it for backward-compatible code. This has nothing to do with a new xhtml library that will not have it. 03:07:12 Having (center) produce different XML than
is confusing, and it encourages lazy coding. You'll forget that the standard changed, and it'll trip you up in the future. 03:07:53 "Why does the parser report that I've got an extra div stuck in there? I'm not using div anywhere!" 03:08:08 No, on the contrary: you'll realize that you can get the benefits of focusing on functions that express your intention rather than express the rendering details. 03:08:35 That's a big selling point of latex btw, which was carried over to sgml and from there to html, etc. 03:08:45 I'm fine with someone who wants to make a function like (quarterly-report) but that function should be defined in terms of the XML, or of my XML generating library. 03:09:09 anyway, um... 03:09:28 synx pasted "functions" at http://paste.lisp.org/display/77315 03:10:20 The (gen) syntax is really one of convenience. If you wanted to make a big list of functions for each specific element in an XML document, or even for specific attributes and/or content, it's fine. 03:10:44 I suppose it'd be useful to put (make-one) in the library somewhere. 03:12:31 kazzmir_ [n=kazzmir@c-98-202-86-149.hsd1.ut.comcast.net] has joined #scheme 03:12:56 foof [n=user@pc2.terrac2-unet.ocn.ne.jp] has joined #scheme 03:25:21 -!- jlongster [n=user@c-68-59-187-95.hsd1.tn.comcast.net] has quit [Read error: 113 (No route to host)] 03:34:12 -!- mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Remote closed the connection] 03:34:25 -!- kniu [n=kniu@DA-YU.RES.CMU.EDU] has quit [Read error: 60 (Operation timed out)] 03:43:53 -!- kazzmir [n=kazzmir@c-98-202-86-149.hsd1.ut.comcast.net] has quit [Read error: 110 (Connection timed out)] 03:44:48 -!- wy_ [n=wy@c-98-228-40-51.hsd1.in.comcast.net] has quit ["Leaving"] 03:52:29 kniu [n=kniu@CMU-326910.WV.CC.CMU.EDU] has joined #scheme 03:57:43 -!- meanburrito920_ [n=John@adsl-76-236-76-191.dsl.lsan03.sbcglobal.net] has quit ["has been attacked by a grue"] 04:08:41 dharmatech: email, please, not IRC log tag. Personally I find (COLLECT-LIST (FOR I (UP-FROM 0 (TO k))) I) clearer than (IOTA k), even if the latter is conciser. IOTA's arguments are also very confusing, which may be interpreted as a bug in the reference implementation. What I suggest is not to write a library to replace SRFI 43, but to express SRFI 43 idioms using a clearer and more flexible language. 04:12:11 Oh yeah well I don't give one IOTA. 04:26:50 -!- kazzmir_ [n=kazzmir@c-98-202-86-149.hsd1.ut.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 04:26:51 kazzmir__ [n=kazzmir@c-98-202-86-149.hsd1.ut.comcast.net] has joined #scheme 04:37:47 -!- Victorr_ [n=Victorr@modemcable247.139-80-70.mc.videotron.ca] has quit [] 04:41:20 underspecified [n=eric@163.221.116.206] has joined #scheme 04:48:53 dfeuer_ [n=dfeuer@pool-72-66-28-219.washdc.fios.verizon.net] has joined #scheme 04:49:33 -!- dfeuer [n=dfeuer@wikimedia/Dfeuer] has quit [Read error: 113 (No route to host)] 04:57:43 -!- MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has quit [Read error: 110 (Connection timed out)] 05:17:26 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 104 (Connection reset by peer)] 05:17:46 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 05:18:31 -!- kazzmir__ [n=kazzmir@c-98-202-86-149.hsd1.ut.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 05:19:01 MichaelRaskin_ [n=raskin@213.171.48.239] has joined #scheme 05:19:31 kazzmir__ [n=kazzmir@c-98-202-86-149.hsd1.ut.comcast.net] has joined #scheme 05:22:00 -!- j85wilson [n=j85wilso@cpe-75-187-46-126.columbus.res.rr.com] has quit [Read error: 110 (Connection timed out)] 05:22:30 borism_ [n=boris@195-50-201-67-dsl.krw.estpak.ee] has joined #scheme 05:28:13 -!- AtnNn [n=welcome@modemcable087.62-56-74.mc.videotron.ca] has quit ["strawberries"] 05:29:04 -!- borism [n=boris@195-50-197-157-dsl.krw.estpak.ee] has quit [Read error: 145 (Connection timed out)] 05:31:20 reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 05:36:18 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 104 (Connection reset by peer)] 05:36:34 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 05:41:35 -!- underspecified [n=eric@163.221.116.206] has quit [] 05:44:18 kazzmir_ [n=kazzmir@c-98-202-86-149.hsd1.ut.comcast.net] has joined #scheme 05:49:25 -!- kazzmir__ [n=kazzmir@c-98-202-86-149.hsd1.ut.comcast.net] has quit [Connection timed out] 05:49:46 bogiebro [n=chatzill@59.94.75.94] has joined #scheme 06:05:34 -!- davidad [n=me@RANDOM-FOUR-THIRTY-THREE.MIT.EDU] has quit [Read error: 104 (Connection reset by peer)] 06:08:05 davidad [n=me@RANDOM-FOUR-THIRTY-THREE.MIT.EDU] has joined #scheme 06:09:12 ejs [n=eugen@76-107-112-92.pool.ukrtel.net] has joined #scheme 06:12:58 -!- r0bby_ is now known as r0bby 06:23:49 -!- arcfide [n=arcfide@adsl-99-186-239-125.dsl.bltnin.sbcglobal.net] has quit [Read error: 104 (Connection reset by peer)] 06:25:44 j85wilson [n=j85wilso@cpe-75-187-46-126.columbus.res.rr.com] has joined #scheme 06:29:14 jberg [n=johan@229.84-48-210.nextgentel.com] has joined #scheme 06:34:25 kazzmir [n=kazzmir@c-98-202-86-149.hsd1.ut.comcast.net] has joined #scheme 06:37:15 -!- ejs [n=eugen@76-107-112-92.pool.ukrtel.net] has quit [Read error: 60 (Operation timed out)] 06:40:06 geckosenator [n=sean@71.237.94.78] has joined #scheme 06:49:56 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [Nick collision from services.] 06:50:06 sladegen [n=nemo@unaffiliated/sladegen] has joined #scheme 06:50:49 -!- kazzmir_ [n=kazzmir@c-98-202-86-149.hsd1.ut.comcast.net] has quit [Read error: 110 (Connection timed out)] 06:53:36 ejs [n=eugen@76-107-112-92.pool.ukrtel.net] has joined #scheme 07:00:32 -!- bogiebro [n=chatzill@59.94.75.94] has quit ["ChatZilla 0.9.84 [Firefox 1.0.2/20050317]"] 07:08:08 ecraven [n=nex@140.78.42.103] has joined #scheme 07:14:32 -!- annodomini_ [n=lambda@wikipedia/lambda] has quit [] 07:15:54 -!- jberg [n=johan@229.84-48-210.nextgentel.com] has quit ["Lost terminal"] 07:16:32 mike_ [n=m@dslb-088-067-041-204.pools.arcor-ip.net] has joined #scheme 07:24:25 -!- mike_ [n=m@dslb-088-067-041-204.pools.arcor-ip.net] has quit ["This computer has gone to sleep"] 07:36:03 -!- dysinger [n=tim@cpe-75-80-200-182.hawaii.res.rr.com] has quit [] 07:38:25 mmc [n=mima@esprx01x.nokia.com] has joined #scheme 07:39:31 -!- cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has quit ["The funniest things in my life are truth and absurdity."] 07:43:52 underspecified [n=eric@163.221.116.206] has joined #scheme 07:43:52 -!- foof [n=user@pc2.terrac2-unet.ocn.ne.jp] has quit [Read error: 104 (Connection reset by peer)] 07:50:55 -!- kniu [n=kniu@CMU-326910.WV.CC.CMU.EDU] has quit [Read error: 110 (Connection timed out)] 07:50:56 Lemonator [n=kniu@DA-YU.RES.CMU.EDU] has joined #scheme 07:54:34 -!- synthase [n=synthase@68.63.48.10] has quit [Read error: 110 (Connection timed out)] 08:08:31 -!- sjamaan_ is now known as sjamaan 08:14:24 ASau` [n=user@77.246.231.132] has joined #scheme 08:21:08 -!- ejs [n=eugen@76-107-112-92.pool.ukrtel.net] has quit ["This computer has gone to sleep"] 08:21:54 hkBst [n=hkBst@gentoo/developer/hkbst] has joined #scheme 08:34:09 -!- raikov [n=igr@p2080-ipbf406marunouchi.tokyo.ocn.ne.jp] has quit [Remote closed the connection] 08:59:57 -!- underspecified [n=eric@163.221.116.206] has quit [] 09:00:43 -!- ASau [n=user@193.138.70.52] has quit [Remote closed the connection] 09:04:18 -!- ecraven [n=nex@140.78.42.103] has quit ["bbl"] 09:08:01 ejs [n=eugen@77.222.151.102] has joined #scheme 09:25:09 -!- ejs [n=eugen@77.222.151.102] has quit [Read error: 110 (Connection timed out)] 09:30:01 Ragnaroek [i=54a65e13@gateway/web/ajax/mibbit.com/x-d99bd94de190d7a9] has joined #scheme 09:33:28 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Remote closed the connection] 09:39:54 jewel_ [n=jewel@dsl-242-133-68.telkomadsl.co.za] has joined #scheme 09:42:01 jberg [n=johan@229.84-48-210.nextgentel.com] has joined #scheme 09:45:12 jkff [n=ekirpich@dhcp4-66.yandex.net] has joined #scheme 09:51:27 ecraven [n=nex@140.78.42.103] has joined #scheme 10:04:17 errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 10:11:54 alaricsp [n=alaricsp@217.205.201.45] has joined #scheme 10:19:25 -!- jao [n=jao@148.Red-83-39-135.dynamicIP.rima-tde.net] has quit [Read error: 110 (Connection timed out)] 10:19:57 orgy` [n=ratm_@pD9FFE62B.dip.t-dialin.net] has joined #scheme 10:39:22 -!- hadronzoo [n=hadronzo@ppp-70-247-161-14.dsl.rcsntx.swbell.net] has quit [] 10:48:05 -!- errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Remote closed the connection] 10:49:59 hotblack23 [n=jh@p5B05385E.dip.t-dialin.net] has joined #scheme 10:52:54 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 10:52:57 -!- Arelius [n=Indy@netblock-68-183-230-134.dslextreme.com] has quit [] 10:59:05 jao [n=jao@74.Red-80-24-4.staticIP.rima-tde.net] has joined #scheme 11:21:58 elias` [n=me@resnet-nat-049.ucs.ed.ac.uk] has joined #scheme 11:28:59 benny [n=benny@i577A0C46.versanet.de] has joined #scheme 11:30:36 -!- benny [n=benny@i577A0C46.versanet.de] has quit [Remote closed the connection] 11:31:17 Mr-Cat [n=Miranda@hermes.lanit.ru] has joined #scheme 11:35:49 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 104 (Connection reset by peer)] 11:36:07 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 11:47:14 -!- j85wilson [n=j85wilso@cpe-75-187-46-126.columbus.res.rr.com] has quit ["Leaving."] 11:49:15 -!- jberg [n=johan@229.84-48-210.nextgentel.com] has quit ["Lost terminal"] 11:53:46 deat [n=deat@fac34-8-88-172-174-215.fbx.proxad.net] has joined #scheme 11:54:16 luz [n=davids@189.60.54.152] has joined #scheme 11:59:19 raikov [n=igr@p2080-ipbf406marunouchi.tokyo.ocn.ne.jp] has joined #scheme 11:59:34 benny [n=benny@i577A0C46.versanet.de] has joined #scheme 12:01:17 synthase [n=synthase@68.63.48.10] has joined #scheme 12:07:45 cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has joined #scheme 12:19:53 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Remote closed the connection] 12:19:54 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 12:22:47 Adamant [n=Adamant@c-76-29-188-22.hsd1.ga.comcast.net] has joined #scheme 12:24:50 bzzbzz [n=franco@modemcable140.105-81-70.mc.videotron.ca] has joined #scheme 12:29:49 Edico [n=Edico@unaffiliated/edico] has joined #scheme 12:34:55 -!- ecraven [n=nex@140.78.42.103] has quit ["bbl"] 12:37:57 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 12:41:19 Adamant [n=Adamant@c-76-29-188-22.hsd1.ga.comcast.net] has joined #scheme 12:49:43 athos [n=philipp@92.250.250.68] has joined #scheme 12:52:11 -!- luz [n=davids@189.60.54.152] has quit [Read error: 110 (Connection timed out)] 12:55:52 -!- geckosenator [n=sean@71.237.94.78] has quit [Read error: 110 (Connection timed out)] 13:00:23 underspecified [n=eric@softbank220043052007.bbtec.net] has joined #scheme 13:04:06 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 13:13:02 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 13:16:30 vaasu [n=yt@123.176.20.251] has joined #scheme 13:18:52 hi.. when using drscheme's xml module , xml->xexpr function prints whitespace in xml file as "\n " etc. i want to eliminate such parts in output... 13:22:15 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 13:23:05 -!- reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 104 (Connection reset by peer)] 13:23:12 Adamant [n=Adamant@c-76-29-188-22.hsd1.ga.comcast.net] has joined #scheme 13:23:23 reprore_ [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 13:26:10 -!- Victorr [n=user@67.69.227.99] has quit [Read error: 104 (Connection reset by peer)] 13:29:02 annodomini_ [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 13:32:35 npe [n=npe@dn157-088.naist.jp] has joined #scheme 13:34:23 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 13:37:27 -!- breily_ [n=breily@173.15.192.254] has quit [] 13:39:55 -!- annodomini_ [n=lambda@wikipedia/lambda] has quit [] 13:45:50 -!- annodomini [n=lambda@wikipedia/lambda] has quit [Read error: 110 (Connection timed out)] 13:47:37 Adamant [n=Adamant@c-76-29-188-22.hsd1.ga.comcast.net] has joined #scheme 14:02:10 -!- reprore_ [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 14:07:11 vixey [n=yoo@amcant.demon.co.uk] has joined #scheme 14:13:24 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 14:21:34 deat_ [n=deat@fac34-8-88-172-174-215.fbx.proxad.net] has joined #scheme 14:21:35 -!- deat_ [n=deat@fac34-8-88-172-174-215.fbx.proxad.net] has quit [Remote closed the connection] 14:26:19 disappearedng_ [n=disappea@th236042.ip.tsinghua.edu.cn] has joined #scheme 14:26:21 Hey everyone 14:26:36 does any1 have any script that can quickly get all URLS from a paste? 14:26:42 no 14:27:14 or can I simply write one myself 14:27:32 you cannot 14:29:03 vixey why are you even bothering answering my questions? 14:30:06 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 104 (Connection reset by peer)] 14:30:40 disappearedng_: don't wanna touch you but your under my skin 14:36:26 borism [n=boris@195-50-200-207-dsl.krw.estpak.ee] has joined #scheme 14:38:34 Adamant [n=Adamant@c-76-29-188-22.hsd1.ga.comcast.net] has joined #scheme 14:38:57 -!- Ragnaroek [i=54a65e13@gateway/web/ajax/mibbit.com/x-d99bd94de190d7a9] has quit ["http://www.mibbit.com ajax IRC Client"] 14:39:29 reprore [n=reprore@EM114-48-209-77.pool.e-mobile.ne.jp] has joined #scheme 14:39:50 -!- reprore [n=reprore@EM114-48-209-77.pool.e-mobile.ne.jp] has quit [Remote closed the connection] 14:40:08 bombshelter13 [n=bombshel@net1.senecac.on.ca] has joined #scheme 14:42:20 -!- borism_ [n=boris@195-50-201-67-dsl.krw.estpak.ee] has quit [Read error: 145 (Connection timed out)] 14:52:20 -!- borism [n=boris@195-50-200-207-dsl.krw.estpak.ee] has quit [Read error: 131 (Connection reset by peer)] 14:53:38 borism [n=boris@195-50-199-224-dsl.krw.estpak.ee] has joined #scheme 14:54:40 Nshag [i=user@Mix-Orleans-106-1-135.w193-248.abo.wanadoo.fr] has joined #scheme 14:55:45 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 14:59:34 breily [n=breily@173.15.192.254] has joined #scheme 15:00:10 JoelMcCracken [n=joelmccr@host-64-179-113-99.col.choiceone.net] has joined #scheme 15:00:22 ((lambda x x) 1); returns (1) 15:00:26 what is going on here? 15:01:12 ((lambda (x) x) 1) ; returns 1 15:02:45 AtnNn [n=welcome@modemcable087.62-56-74.mc.videotron.ca] has joined #scheme 15:02:47 jah [n=jah@190.56.76-86.rev.gaoland.net] has joined #scheme 15:07:23 JoelMcCracken: try this ((lambda x x) 1 2 3 4 5) 15:08:57 JoelMcCracken, (lambda x ...) accept any number of arguments (building a list of them), like (lambda (x1 x2 xn . x) ...) accept n or more arguments. 15:10:54 dlt____ [n=dlt@c91192dd.static.bhz.virtua.com.br] has joined #scheme 15:11:06 oh 15:11:16 so *thats* how list doesn't need to be a language primative! 15:12:22 (right?) 15:12:25 yes 15:12:34 (define list (lambda elements elements)) 15:12:39 wingo-tp [n=wingo@155.Red-81-38-190.dynamicIP.rima-tde.net] has joined #scheme 15:13:18 funky 15:13:26 -!- Qaexl [n=Akashakr@c-24-30-97-247.hsd1.ca.comcast.net] has quit ["Leaving"] 15:13:39 annodomini [n=lambda@130.189.179.215] has joined #scheme 15:15:38 -!- jah [n=jah@190.56.76-86.rev.gaoland.net] has quit ["Quitte"] 15:18:13 Tankado [n=Woodruff@bzq-84-110-172-86.red.bezeqint.net] has joined #scheme 15:18:58 is that an either/or relationship, or is function creation/list creation somehow the same? 15:22:46 jlongster [n=user@75.148.111.133] has joined #scheme 15:23:54 -!- disappearedng_ [n=disappea@th236042.ip.tsinghua.edu.cn] has quit [Read error: 104 (Connection reset by peer)] 15:24:43 -!- ttmrichter [n=ttmricht@59.172.141.201] has quit ["Ex-Chat"] 15:27:10 JoelMcCracken: it hardly has to do with function creation. It's the variable number of arguments that are collected in a list that does it. 15:28:05 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 15:34:55 Not sure what you mean; are you saying it is indeed an either/or relationship, or that lambda doesnt create functions? 15:37:28 -!- jkff [n=ekirpich@dhcp4-66.yandex.net] has quit [] 15:37:51 Qaexl [n=Akashakr@c-24-30-97-247.hsd1.ca.comcast.net] has joined #scheme 15:38:11 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 60 (Operation timed out)] 15:40:16 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 15:40:18 lambda IS a procedure 15:40:23 a lambda IS a procedure* 15:41:30 right -- as far as I understand it, it is a proceedure that creates proceedures 15:43:23 JoelMcCracken: just because variable number of arguments is specified to work as an internal list (which you can then also get back out) doesn't mean any other part of function creation is somehow related to list creation. 15:43:41 no, lambda is not a procedure, its a form or syntax which ever you want to call it, it is the maker of procedures 15:43:53 ejs [n=eugen@94-248-106-58.dynamic.peoplenet.ua] has joined #scheme 15:44:46 -!- jao [n=jao@74.Red-80-24-4.staticIP.rima-tde.net] has quit [Read error: 110 (Connection timed out)] 15:45:09 vixey i missed you 15:45:32 -!- JoelMcCracken [n=joelmccr@host-64-179-113-99.col.choiceone.net] has quit ["This computer has gone to sleep"] 15:47:27 -!- bombshelter13 [n=bombshel@net1.senecac.on.ca] has quit [Remote closed the connection] 15:47:57 bombshelter13 [n=bombshel@net1.senecac.on.ca] has joined #scheme 15:52:56 -!- npe [n=npe@dn157-088.naist.jp] has quit [] 15:57:07 -!- Tankado [n=Woodruff@bzq-84-110-172-86.red.bezeqint.net] has quit [] 16:06:03 or if you're running guile, it's a "primitive macro" 16:06:05 *proq* hides 16:08:28 -!- bombshelter13 [n=bombshel@net1.senecac.on.ca] has quit [No route to host] 16:09:00 -!- ASau` [n=user@77.246.231.132] has quit ["Off!"] 16:13:12 leppie: you know what you did. 16:13:16 murderer. 16:13:20 lol 16:13:21 :p 16:13:32 i was just checking answers 16:13:40 my expr was all innocent! 16:14:20 rudybot [n=luser@q-static-138-125.avvanta.com] has joined #scheme 16:14:25 if only incubot supported private messages i would use him too :p 16:14:31 leppie: unfortunately I can't repro it. I assume the PLT guys would love to fix it :-| 16:14:36 offby1: should i try again? 16:14:40 why not 16:14:43 xwl [n=user@114.246.81.95] has joined #scheme 16:14:53 working now 16:14:54 rudybot: take a deep breath 16:14:54 offby1: eh? Try "rudybot: help". 16:15:16 i tested it in PLT afterwards and it worked 16:15:20 yeah, me too 16:15:23 what did it complain about? 16:15:25 rudybot: eval lambda 16:15:25 proq: your sandbox is ready 16:15:26 proq: error: eval:1:0: lambda: bad syntax in: lambda 16:16:19 leppie: it died with a SEGV :-( 16:16:24 ouch 16:18:18 maybe it was tight on memory and it does not check before alocating for a big number 16:18:29 although it was not big really 16:18:30 doubt it 16:18:40 I don't think it generally uses much memory 16:18:57 maybe a threading issue 16:19:36 it probably would have happened with any expr at that time 16:22:22 JoelMcCracken [n=joelmccr@fq-wireless-pittnet-78.wireless.pitt.edu] has joined #scheme 16:25:34 im still in the process of making a r6rs bot, well just the beginning, still thinking of all the security concerns :) 16:27:41 Guest78590 [n=kvirc@92.4.210.217] has joined #scheme 16:27:48 i wonder how if i can run it on my PC with proper security if availble or just a VM, but that seems over the top 16:27:55 -!- Guest78590 is now known as `sorrow` 16:28:20 -!- `sorrow` [n=kvirc@92.4.210.217] has quit [Client Quit] 16:28:34 *leppie* goes and looks what this vista thing has to offer 16:33:03 ski [n=slj@c-e113e055.1149-1-64736c10.cust.bredbandsbolaget.se] has joined #scheme 16:34:34 Ragnaroek [i=54a665aa@gateway/web/ajax/mibbit.com/x-d3ad895f88be579a] has joined #scheme 16:34:44 -!- ejs [n=eugen@94-248-106-58.dynamic.peoplenet.ua] has quit [Read error: 110 (Connection timed out)] 16:42:26 jah [n=jah@190.56.76-86.rev.gaoland.net] has joined #scheme 16:42:45 -!- jah [n=jah@190.56.76-86.rev.gaoland.net] has quit [Client Quit] 16:48:26 #1 run as guest #3 profit! 16:50:58 #2 replace vista with linux? :D 16:51:32 i would if i could, unfortunately mono's tail calls are pretty much, just not there... 17:00:54 -!- JoelMcCracken [n=joelmccr@fq-wireless-pittnet-78.wireless.pitt.edu] has quit ["This computer has gone to sleep"] 17:02:26 dlt__ [n=dlt@189.61.141.36] has joined #scheme 17:02:56 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 131 (Connection reset by peer)] 17:03:16 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 17:03:19 dlt_ [n=dlt@189.61.141.36] has joined #scheme 17:03:29 -!- mmc [n=mima@esprx01x.nokia.com] has quit ["Leaving."] 17:05:22 mmc [n=mima@esprx02x.nokia.com] has joined #scheme 17:06:14 JoelMcCracken [n=joelmccr@fq-wireless-pittnet-78.wireless.pitt.edu] has joined #scheme 17:06:24 ah yeah, so I get it now 17:06:32 thanks =) 17:06:34 very obvious 17:08:07 $ mzscheme -l srfi/27 -r ising.scm -m 10 10 ==> ising.scm:26:0: compile: unbound identifier (and no #%app syntax transformer is bound) at: #%top-interaction in: (#%top-interaction define (SPIN+) 1) 17:08:43 I'm guessing this is because of missing #lang or so. This is R5RS code that runs in gambit, larceny and gauche. 17:09:07 the error is for the first non-comment line which reads (define (SPIN+) 1) 17:09:42 how would I specify "#lang r5rs" in the run command (if that is indeed the issue)? 17:10:25 seems cryptic :) 17:11:01 lisppaste: url 17:11:02 To use the lisppaste bot, visit http://paste.lisp.org/new/scheme and enter your paste. 17:11:23 r6rs is so much simpler, you are gaurenteed not to get R5RS code running :) 17:12:09 of course there is a 2 liner work around :) 17:12:11 hkBst pasted "ising.scm" at http://paste.lisp.org/display/77349 17:12:59 hkBst annotated #77349 "untitled" at http://paste.lisp.org/display/77349#1 17:14:12 if you run it you can see an Ising spin model freezing btw ;) 17:14:30 and that is? :) 17:16:08 so as far as I can see the only non R5RS call is to random? 17:16:22 leppie: spins alligning due to insufficient thermal energy to keep them unalligned. It's a very simple model of ferromagnetism. 17:16:32 yep, that's srfi-27 17:16:50 or srfi/27 in PLT speak 17:16:56 yeah that explains everything... :) 17:17:03 -!- vaasu [n=yt@123.176.20.251] has quit [] 17:17:15 ok let me see how it behaves on R6RS with random 17:17:18 -!- proq [n=user@38.100.211.40] has quit [Remote closed the connection] 17:17:59 chaoslynx [n=cpehle@p57A73C2C.dip.t-dialin.net] has joined #scheme 17:18:07 jah [n=jah@190.56.76-86.rev.gaoland.net] has joined #scheme 17:20:03 -!- dlt____ [n=dlt@c91192dd.static.bhz.virtua.com.br] has quit [Read error: 110 (Connection timed out)] 17:20:39 -!- dlt__ [n=dlt@189.61.141.36] has quit [Connection timed out] 17:22:42 proq [n=user@38.100.211.40] has joined #scheme 17:22:59 -!- mreggen [n=mreggen@cm-84.215.50.79.getinternet.no] has quit ["leaving"] 17:23:34 dlt__ [n=dlt@c91192dd.static.bhz.virtua.com.br] has joined #scheme 17:23:41 mzscheme -l r5rs/init -l srfi/27 -f ising.scm -e "(main 10 10)" seems to get a bit further 17:23:54 ==> procedure application: expected procedure, given: 0 (no arguments) 17:24:18 schmalbe [n=bernhard@p549A1095.dip0.t-ipconnect.de] has joined #scheme 17:24:57 -!- JoelMcCracken [n=joelmccr@fq-wireless-pittnet-78.wireless.pitt.edu] has quit ["This computer has gone to sleep"] 17:25:46 langmartin [n=user@adsl-074-167-038-128.sip.cha.bellsouth.net] has joined #scheme 17:25:51 -!- Mr-Cat [n=Miranda@hermes.lanit.ru] has quit [Read error: 104 (Connection reset by peer)] 17:32:16 it's choking on (init-sample) somehow 17:33:12 oh, it's type-insensitivity again :( 17:35:27 ok i think I have it running correctly :) 17:36:08 i did comment out some stuff i didnt know about :p 17:37:22 eli, ping 17:37:58 the source randomize, but i guess thats optional and the printing of config, but not much else needed 17:38:57 leppie: in mzscheme or in your own (ironscheme is it?)? 17:39:04 ironscheme 17:39:13 cool :) 17:39:23 leppie annotated #77349 "IronScheme/R6RS" at http://paste.lisp.org/display/77349#2 17:39:23 -!- Ragnaroek [i=54a665aa@gateway/web/ajax/mibbit.com/x-d3ad895f88be579a] has quit ["http://www.mibbit.com ajax IRC Client"] 17:39:55 anyways, the point im trying to make, porting to R6RS is normally very easy :) 17:40:38 breily_ [n=breily@173.15.192.254] has joined #scheme 17:41:11 -!- dlt_ [n=dlt@189.61.141.36] has quit [Read error: 110 (Connection timed out)] 17:41:46 what should the output look like? first i see a uniformly random bunch of +-, next is writing to file, then i see something that looks like a map for MMORPG :) 17:42:11 leppie: yes, that's what it should look like 17:42:36 -!- jah [n=jah@190.56.76-86.rev.gaoland.net] has quit ["Quitte"] 17:42:39 cool, i see they are random 17:43:33 ok and how long does this take on the other schemes? 17:43:56 when i call it with 10 10, it takes about a long time :p 17:44:45 leppie: 10 10 is the simple case :D Gambit is the fastest so far. 17:45:17 how long does it take? 1 second, 5, 10? longer? 17:45:29 to see it freeze completely you need to do at least 3000 iterations, and you just did only 100 17:45:54 the arguments are the measure interval and the total number of measurements 17:46:26 im not sure i understand 17:46:38 in time units of one flip for each site 17:46:46 -!- breily [n=breily@173.15.192.254] has quit [Success] 17:46:54 there are 10,000 sites in the current configuration, 100x100 17:47:36 the program attempts to flip a random site accroding to some weight which makes it physically significant 17:48:20 *leppie* nods and pretends to understands :S 17:48:41 i'll google for it in the morning :p 17:48:52 :) 17:50:59 well 10 10 seems to take about 30 seconds on my pc which I assume is very slow if compared to other schemes :) 17:54:30 leppie: gambit does that in half a second currently here 17:55:05 impressive :) 17:55:27 192 seconds for 25 25 :| 17:55:57 ok, so how do I re-enable case-sensitivity for mzscheme if it is disabled by -l r5rs/init ? 17:55:58 i think it might be using exact match 17:56:09 math 17:56:29 all the math should be compiled away ideally 17:56:41 or at least almost all of it 17:56:43 sreeram [n=sreeram@122.164.213.204] has joined #scheme 17:56:57 lol, i tell my compielr the same thing, but it wont listen, just says, need input from developer... 17:57:20 alright, gotta go fix some dinner now. Nice talking to you leppie :) 17:57:29 enjoy ":) 17:57:54 Narrenschiff [n=ritchie@mo-rsmitha21.op.umist.ac.uk] has joined #scheme 17:59:41 -!- langmartin [n=user@adsl-074-167-038-128.sip.cha.bellsouth.net] has quit [Read error: 60 (Operation timed out)] 18:02:49 mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 18:11:41 -!- mmc [n=mima@esprx02x.nokia.com] has quit ["Leaving."] 18:11:45 jao [n=jao@148.Red-83-39-135.dynamicIP.rima-tde.net] has joined #scheme 18:16:01 dlt____ [n=dlt@c91192dd.static.bhz.virtua.com.br] has joined #scheme 18:16:29 -!- xwl [n=user@114.246.81.95] has quit [Read error: 113 (No route to host)] 18:18:40 qxi [n=havarti@taurine.csclub.uwaterloo.ca] has joined #scheme 18:19:17 aaco [n=aaco@unaffiliated/aaco] has joined #scheme 18:20:55 Adamant [n=Adamant@c-76-29-188-22.hsd1.ga.comcast.net] has joined #scheme 18:21:38 jberg [n=johan@229.84-48-210.nextgentel.com] has joined #scheme 18:21:53 ASau [n=user@193.138.70.52] has joined #scheme 18:22:15 appletizer [i=user@82-32-123-217.cable.ubr04.hawk.blueyonder.co.uk] has joined #scheme 18:23:43 -!- Narrenschiff [n=ritchie@mo-rsmitha21.op.umist.ac.uk] has quit [] 18:29:00 jonrafkind: pong 18:29:13 eli, ping 18:29:17 you in now? 18:29:20 jonrafkind: yes. 18:29:32 jonrafkind: You're supposed to "pong" when pinged, btw. 18:29:50 dlt_ [n=dlt@189.61.141.36] has joined #scheme 18:30:04 bong 18:30:04 offby1: I'm not sure what was the crash about, but I suspect it's related to the bytecode compiler, and something that Matthew fixed very recently (as you should know) 18:30:14 jonrafkind: You're supposed to "bong" when binged, btw. 18:30:17 ill be there in 10 minutes.. 18:31:08 hkBst: The problem is that when you start mzscheme with `-l foo' it requires *just* that -- so you get your srfi/27 bindings, but nothing else -- no `define', and no function applications or literal constants. 18:32:22 JoelMcCracken [n=joelmccr@fq-wireless-pittnet-78.wireless.pitt.edu] has joined #scheme 18:36:03 RageOfThou [n=RageOfTh@92.36.176.175] has joined #scheme 18:36:13 -!- dlt__ [n=dlt@c91192dd.static.bhz.virtua.com.br] has quit [Read error: 110 (Connection timed out)] 18:39:24 -!- hark [n=strider@2001:5c0:1101:7000:223:4dff:fe7d:331a] has quit ["leaving"] 18:47:19 -!- jonrafkind [n=jon@pool-71-243-21-118.bos.east.verizon.net] has quit [Connection timed out] 18:47:36 -!- JoelMcCracken [n=joelmccr@fq-wireless-pittnet-78.wireless.pitt.edu] has quit ["This computer has gone to sleep"] 18:48:43 -!- appletizer [i=user@82-32-123-217.cable.ubr04.hawk.blueyonder.co.uk] has quit [Remote closed the connection] 18:49:09 -!- dlt____ [n=dlt@c91192dd.static.bhz.virtua.com.br] has quit [Read error: 110 (Connection timed out)] 18:50:49 JoelMcCracken [n=joelmccr@fq-wireless-pittnet-78.wireless.pitt.edu] has joined #scheme 18:51:30 melgray [n=melgray@70.99.250.82] has joined #scheme 18:52:24 -!- JoelMcCracken [n=joelmccr@fq-wireless-pittnet-78.wireless.pitt.edu] has quit [Client Quit] 18:54:13 dysinger [n=tim@cpe-75-80-200-182.hawaii.res.rr.com] has joined #scheme 18:54:57 -!- tarbo [n=me@unaffiliated/tarbo] has quit [No route to host] 18:55:42 kilimanjaro [n=kilimanj@70.116.95.163] has joined #scheme 19:08:20 -!- schmalbe [n=bernhard@p549A1095.dip0.t-ipconnect.de] has quit [Remote closed the connection] 19:12:34 puchacz [n=puchacz@87-194-5-99.bethere.co.uk] has joined #scheme 19:28:10 -!- breily_ [n=breily@173.15.192.254] has quit [Read error: 104 (Connection reset by peer)] 19:28:52 breily [n=breily@173.15.192.254] has joined #scheme 19:29:47 Quadrescence [n=quad@unaffiliated/quadrescence] has joined #scheme 19:43:07 hark [n=strider@hark.slew.org] has joined #scheme 19:44:30 -!- aaco [n=aaco@unaffiliated/aaco] has quit ["Leaving"] 19:46:05 -!- bzzbzz [n=franco@modemcable140.105-81-70.mc.videotron.ca] has quit ["leaving"] 19:58:46 jah [n=jah@190.56.76-86.rev.gaoland.net] has joined #scheme 19:58:59 -!- jah [n=jah@190.56.76-86.rev.gaoland.net] has quit [Client Quit] 20:01:23 geckosenator [n=sean@71.237.94.78] has joined #scheme 20:02:28 Arelius [n=Indy@netblock-68-183-230-134.dslextreme.com] has joined #scheme 20:06:21 -!- MichaelRaskin_ [n=raskin@213.171.48.239] has quit [Remote closed the connection] 20:12:01 arcfide [n=arcfide@adsl-99-186-239-125.dsl.bltnin.sbcglobal.net] has joined #scheme 20:12:16 Good afternoon everyone. 20:15:50 dlt__ [n=dlt@189.61.141.36] has joined #scheme 20:15:59 jonrafkind [n=jon@nomad.ccs.neu.edu] has joined #scheme 20:19:02 a-s [n=user@92.80.66.203] has joined #scheme 20:20:27 cknapp [i=d82f8579@gateway/web/ajax/mibbit.com/x-82e33cb3298ca294] has joined #scheme 20:20:38 -!- cknapp [i=d82f8579@gateway/web/ajax/mibbit.com/x-82e33cb3298ca294] has left #scheme 20:22:22 X-Scale [i=email@2001:470:1f08:b3d:0:0:0:2] has joined #scheme 20:23:22 Good afternoon arcfide 20:26:12 waterh [n=waterh@114.143.35.72] has joined #scheme 20:27:03 jgracin [n=jgracin@82.193.210.126] has joined #scheme 20:32:58 neilv [n=user@dsl092-071-030.bos1.dsl.speakeasy.net] has joined #scheme 20:35:09 -!- deat [n=deat@fac34-8-88-172-174-215.fbx.proxad.net] has quit [] 20:37:30 tarbo [n=me@unaffiliated/tarbo] has joined #scheme 20:37:42 -!- dlt_ [n=dlt@189.61.141.36] has quit [Read error: 110 (Connection timed out)] 20:38:16 -!- dstorrs [n=me@cpe-98-14-187-196.nyc.res.rr.com] has quit [Remote closed the connection] 20:38:17 -!- jberg [n=johan@229.84-48-210.nextgentel.com] has quit ["Lost terminal"] 20:38:28 -!- jonrafkind [n=jon@nomad.ccs.neu.edu] has quit [No route to host] 20:38:36 good afternoon 20:38:51 anyone going to http://international-lisp-conference.org/ this week? 20:43:31 no -- we're going NEXT week 20:44:03 jcowan [n=jcowan@72.14.228.89] has joined #scheme 20:44:21 i probably should have registered, for the job networking opportunities 20:44:42 *jcowan* networks, I mean, ittywhonks, no, dammit, unvanishes! 20:44:45 the problem with conferences is that you can least afford to attend when you most need to :) 20:45:25 Get your old employer to send you before they know you're jumping ship. Of course, if you're laid off without warning that doesn't work so hot. 20:46:00 neilv, you can register on-site! 20:46:19 neilv, $210 is pretty low for a registration fee 20:46:35 in '91 or so, i went to the c++ conference. saw stroustrup's family, etc. talked to some recruiters, just for grins 20:46:41 Plus transportation, plus shelter, plus food 20:47:00 get back to the office the next day, and my friend in marketing comes by to let me know that one of the recruiters was his girlfriend 20:47:01 jcowan, food? who needs food? 20:48:00 -!- stepnem [n=xchat@topol.nat.praha12.net] has quit ["Leaving"] 20:48:25 Man does not live by code alone, Fare. 20:48:38 there is a food court nearby the conference venue 20:48:44 stepnem [n=xchat@topol.nat.praha12.net] has joined #scheme 20:49:04 and food trucks, hidden on a small street nearby 20:49:05 -!- elias` [n=me@unaffiliated/elias/x-342423] has quit ["leaving"] 20:49:52 jcowan, shelter: if you can deal with my inflatable bed, you're welcome to it 20:50:14 craigslist has cheap rooms, too 20:50:17 or couchsurfing 20:50:23 I'll pass. Bruises are a serious matter for a diabetic. 20:50:28 -!- stepnem [n=xchat@topol.nat.praha12.net] has quit [SendQ exceeded] 20:50:37 there's also youth hostels 20:50:51 dye any gray beards, and you're set 20:50:52 Some of us are in our late youth (and by "late" I mean "it's dead") 20:51:14 "it's dead, jim" 20:53:16 sepult [n=buggarag@xdsl-87-78-152-39.netcologne.de] has joined #scheme 20:53:38 JoelMcCracken [n=joelmccr@pool-96-236-231-39.pitbpa.east.verizon.net] has joined #scheme 20:54:16 Are there any toy Scheme interpreters (or compilers) written in Scheme just to play around with? 20:54:48 Look at SICP 20:54:59 Good ol 20:55:01 sicp 20:57:27 *jcowan* invents a new concept of metaprogramming. 20:57:47 It consists of getting other people to write pieces of code for you. You program them instead of a computer. 21:00:32 ejs [n=eugen@63-134-124-91.pool.ukrtel.net] has joined #scheme 21:00:53 elias` [n=me@resnet-nat-049.ucs.ed.ac.uk] has joined #scheme 21:00:56 jcowan, IBM engineers were doing that in 1950 21:01:17 back when "assembler" was a job position 21:01:48 Obviously. 21:01:59 But nobody called it "metaprogramming" then. Or any time until now, I dare say. 21:02:35 you may dare say, that doesn't make it so. 21:02:42 I've heard plenty of people saying that 21:03:24 i never metaprogrammer who said that 21:03:57 The three isomers of a benzene ring with two MD groups attached? 21:04:10 neilv: but have you metametaprogrammer who did? 21:04:29 (Orthodox, paradox, and metaphysician.) 21:04:42 MDs don't come in groups. In practices, maybe. 21:05:44 la la la 21:06:32 -!- dlt__ [n=dlt@189.61.141.36] has quit [Read error: 104 (Connection reset by peer)] 21:07:01 Each MD is himself a group 21:07:42 After all, there is an associative operation defined on them. 21:07:56 stepnem [n=xchat@topol.nat.praha12.net] has joined #scheme 21:08:10 it's not a group: the operations are not reversible. 21:08:28 Only some. 21:08:37 a semi-group at best. 21:08:47 jonrafkind [n=jon@nomad.ccs.neu.edu] has joined #scheme 21:10:54 reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 21:14:26 MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 21:17:59 ejs1 [n=eugen@63-134-124-91.pool.ukrtel.net] has joined #scheme 21:23:55 -!- jonrafkind [n=jon@nomad.ccs.neu.edu] has quit [Read error: 60 (Operation timed out)] 21:29:46 testaoe2 [i=testaoe@77.79.144.57.dynamic.ufanet.ru] has joined #scheme 21:31:55 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 21:33:17 -!- ejs [n=eugen@63-134-124-91.pool.ukrtel.net] has quit [Read error: 110 (Connection timed out)] 21:37:10 -!- testaoe2 [i=testaoe@77.79.144.57.dynamic.ufanet.ru] has left #scheme 21:38:22 Jstick [n=e@c-76-19-197-119.hsd1.ma.comcast.net] has joined #scheme 21:39:37 ioczgd [n=ioczgd@206.251.250.219] has joined #scheme 21:39:57 lsrswkgd [n=lsrswkgd@209.216.196.2] has joined #scheme 21:40:00 anyone mind helping w/ a simple scheme question? 21:41:01 -!- athos [n=philipp@92.250.250.68] has quit ["leaving"] 21:43:01 -!- lsrswkgd [n=lsrswkgd@209.216.196.2] has quit [K-lined] 21:43:21 -!- Mr_Awesome [n=eric@isr5452.urh.uiuc.edu] has quit ["aunt jemima is the devil!"] 21:43:31 Jstick: I mind 21:43:42 what is the question? 21:45:22 you mind!? 21:45:23 -!- jao [n=jao@148.Red-83-39-135.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 21:45:40 define a function that removes adjacent elements in a list 21:45:47 like 1 1 1 2 would be 1 2 21:46:18 ok 21:46:23 and you don' tknow how to do it? 21:46:27 i have it defined as (defun remove-dup (l) 21:46:27 (if (=(car l) (car (cdr l))) 21:46:27 (cons (car l) (remove-dup (cdr l))) 21:46:27 (remove-dup (cdr l)))) 21:46:37 that looks like common lisp 21:46:42 yea sorry 21:46:43 it is 21:46:54 but same idea 21:47:21 its for an acl2 logic class but i figured i could ask here, if thats ok 21:48:10 does that definition make sense? 21:48:53 Jstick: ya 21:49:01 -!- ioczgd [n=ioczgd@206.251.250.219] has quit [K-lined] 21:49:07 hmmm ok 21:49:20 its not running in acl2 which is lisp and not scheme i know...but ok 21:49:35 acl2 is awesome though, heh 21:49:42 ha yea.... 21:49:46 there is a #lisp though 21:49:53 oh really? 21:49:54 thanks 21:50:28 yup, no prob 21:54:15 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 21:55:35 didn't see you didn't have a base case, my bad 21:55:53 annodomini_ [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 21:56:16 -!- raikov [n=igr@p2080-ipbf406marunouchi.tokyo.ocn.ne.jp] has quit [Remote closed the connection] 21:57:54 i just wrote that function in an idiomatic tail-recursive scheme way 21:58:37 non-destructive, so that you construct and return a new list, rather than modify the existing one 21:59:14 -!- kilimanjaro [n=kilimanj@70.116.95.163] has quit ["Leaving"] 21:59:47 Jstick: that algorithm will only remove duplicates if they are next to each other. it will not work with (1 3 1) 21:59:50 hint: the way to do it in a tail-recursive way is to build the resulting list in reverse order, passing it through each iteration of the algorithm, then use the "reverse" procedure right before returning the result 22:00:37 jao [n=jao@148.Red-83-39-135.dynamicIP.rima-tde.net] has joined #scheme 22:00:46 proq: the speq was only adjacent ones 22:00:53 spec* 22:01:57 oh, I see 22:02:40 -!- Fare [n=Fare@ita4fw1.itasoftware.com] has quit ["Leaving"] 22:03:00 Fare [n=Fare@ita4fw1.itasoftware.com] has joined #scheme 22:03:27 -!- Fare [n=Fare@ita4fw1.itasoftware.com] has left #scheme 22:04:19 Fare [n=Fare@ita4fw1.itasoftware.com] has joined #scheme 22:11:25 -!- a-s [n=user@92.80.66.203] has quit [Remote closed the connection] 22:12:25 -!- annodomini [n=lambda@wikipedia/lambda] has quit [Read error: 110 (Connection timed out)] 22:14:05 ASau` [n=user@193.138.70.52] has joined #scheme 22:15:55 -!- davidad [n=me@RANDOM-FOUR-THIRTY-THREE.MIT.EDU] has quit [Read error: 60 (Operation timed out)] 22:17:09 csmrFX_ [i=csmr@paha.arkkitehti.e21.fi] has joined #scheme 22:18:31 -!- jgracin [n=jgracin@82.193.210.126] has quit [Remote closed the connection] 22:18:33 -!- Kusanagi [n=Lernaean@unaffiliated/kusanagi] has quit [verne.freenode.net irc.freenode.net] 22:18:57 Kusanagi [n=Lernaean@unaffiliated/kusanagi] has joined #scheme 22:19:12 -!- csmrFX [i=csmr@paha.arkkitehti.e21.fi] has quit [Read error: 104 (Connection reset by peer)] 22:26:50 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 145 (Connection timed out)] 22:29:38 -!- ASau [n=user@193.138.70.52] has quit [Read error: 110 (Connection timed out)] 22:30:01 -!- ejs1 [n=eugen@63-134-124-91.pool.ukrtel.net] has quit ["This computer has gone to sleep"] 22:31:01 davidad [n=me@NORTHWEST-THIRTYFIVE-FOUR-TWENTY-TWO.MIT.EDU] has joined #scheme 22:31:28 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 22:33:16 -!- Quadrescence [n=quad@unaffiliated/quadrescence] has quit [Remote closed the connection] 22:36:27 X-Scale2 [i=email@2002:59b4:c93c:0:0:0:59b4:c93c] has joined #scheme 22:39:13 -!- Fare [n=Fare@ita4fw1.itasoftware.com] has quit ["Leaving"] 22:45:16 -!- jewel_ [n=jewel@dsl-242-133-68.telkomadsl.co.za] has quit [Read error: 113 (No route to host)] 22:47:40 meanburrito920_ [n=John@adsl-76-222-232-175.dsl.lsan03.sbcglobal.net] has joined #scheme 22:48:05 -!- jcowan [n=jcowan@72.14.228.89] has quit ["Leaving"] 22:50:50 -!- ASau` is now known as ASau 22:51:32 -!- X-Scale [i=email@2001:470:1f08:b3d:0:0:0:2] has quit [No route to host] 22:51:55 greg` [n=greg@ip72-207-244-108.br.br.cox.net] has joined #scheme 22:54:49 -!- annodomini_ [n=lambda@wikipedia/lambda] has quit [] 22:55:52 -!- X-Scale2 [i=email@2002:59b4:c93c:0:0:0:59b4:c93c] has quit [Connection timed out] 23:03:25 -!- waterh [n=waterh@114.143.35.72] has quit ["The Bersirc are coming! The Bersirc are coming! [ http://www.bersirc.org/ - Open Source IRC ]"] 23:09:51 a-s [n=user@92.80.66.203] has joined #scheme 23:10:13 breily_ [n=breily@173.15.192.254] has joined #scheme 23:16:54 -!- breily [n=breily@173.15.192.254] has quit [Connection timed out] 23:17:08 -!- jlongster [n=user@75.148.111.133] has quit [Read error: 113 (No route to host)] 23:19:38 -!- wingo-tp [n=wingo@155.Red-81-38-190.dynamicIP.rima-tde.net] has quit [Read error: 113 (No route to host)] 23:23:18 Pegazus [n=awefawe@201.253.217.14] has joined #scheme 23:25:58 aack [n=user@s559195f7.adsl.wanadoo.nl] has joined #scheme 23:27:40 johnnowak [n=johnnowa@207-38-171-48.c3-0.wsd-ubr1.qens-wsd.ny.cable.rcn.com] has joined #scheme 23:31:08 Deformati [n=joe@71.238.45.45] has joined #scheme 23:37:36 -!- breily_ [n=breily@173.15.192.254] has quit [Connection timed out] 23:38:36 -!- puchacz [n=puchacz@87-194-5-99.bethere.co.uk] has quit [Remote closed the connection] 23:41:21 -!- mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Remote closed the connection] 23:43:00 -!- neilv [n=user@dsl092-071-030.bos1.dsl.speakeasy.net] has quit ["Leaving"] 23:44:57 -!- hkBst [n=hkBst@gentoo/developer/hkbst] has quit [Read error: 104 (Connection reset by peer)] 23:45:35 -!- aack [n=user@s559195f7.adsl.wanadoo.nl] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 23:50:45 rmns [n=ramunas@78-61-90-37.static.zebra.lt] has joined #scheme 23:50:50 -!- rmns [n=ramunas@78-61-90-37.static.zebra.lt] has left #scheme 23:54:39 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 23:55:47 annodomini_ [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 23:56:03 jberg [n=johan@229.84-48-210.nextgentel.com] has joined #scheme 23:57:14 -!- Nshag [i=user@Mix-Orleans-106-1-135.w193-248.abo.wanadoo.fr] has quit [Remote closed the connection]