00:01:11 wingo-tp: guile may suck, but at least it runs on my zaurus :) 00:01:44 proq: heh. it sucks in other ways though :) 00:01:57 but that's tomorrow's job to fix 00:02:04 good night, #scheme 00:02:08 wingo-tp: no doubt it sucks in many ways 00:02:41 it is definitely small and portable though 00:05:05 Mr_Awesome [n=eric@isr5452.urh.uiuc.edu] has joined #scheme 00:06:38 -!- s76__ [n=todos@43-63-124-91.pool.ukrtel.net] has quit [Read error: 110 (Connection timed out)] 00:07:03 s76__ [n=todos@240-90-124-91.pool.ukrtel.net] has joined #scheme 00:20:09 -!- jao [n=jao@221.Red-79-155-152.dynamicIP.rima-tde.net] has quit [Remote closed the connection] 00:21:04 -!- wingo-tp [n=wingo@153.Red-79-156-146.staticIP.rima-tde.net] has quit [Read error: 113 (No route to host)] 00:30:28 -!- Edico [n=Edico@unaffiliated/edico] has quit ["Leaving"] 00:37:13 -!- ken-p [n=unknown@84.92.70.37] has quit [Connection timed out] 00:46:55 -!- jonrafkind [n=jon@crystalis.cs.utah.edu] has quit [Read error: 113 (No route to host)] 00:57:07 jao [n=jao@221.Red-79-155-152.dynamicIP.rima-tde.net] has joined #scheme 01:00:55 neilv [n=user@dsl092-071-030.bos1.dsl.speakeasy.net] has joined #scheme 01:06:11 -!- orgy` [n=ratm_@pD9FFDAE3.dip.t-dialin.net] has quit ["Gone."] 01:10:22 -!- jao [n=jao@221.Red-79-155-152.dynamicIP.rima-tde.net] has quit [Remote closed the connection] 01:11:18 halfcore [i=noam@ip136-63-210-87.adsl2.static.versatel.nl] has joined #scheme 01:18:09 -!- borism_ [n=boris@195-50-199-18-dsl.krw.estpak.ee] has quit [verne.freenode.net irc.freenode.net] 01:18:09 -!- elias` [n=me@unaffiliated/elias/x-342423] has quit [verne.freenode.net irc.freenode.net] 01:18:19 elias` [n=me@unaffiliated/elias/x-342423] has joined #scheme 01:18:30 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 01:18:34 borism [n=boris@195.50.199.18] has joined #scheme 01:19:13 -!- aaco_ is now known as aaco 01:19:56 annodomini_ [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 01:25:17 jao [n=jao@221.Red-79-155-152.dynamicIP.rima-tde.net] has joined #scheme 01:26:04 annodomini__ [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 01:26:42 -!- annodomini [n=lambda@wikipedia/lambda] has quit [Read error: 104 (Connection reset by peer)] 01:39:05 -!- dmoerner [n=dmr@ppp-71-139-45-71.dsl.snfc21.pacbell.net] has quit ["Leaving"] 01:39:26 jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has joined #scheme 01:42:44 -!- annodomini_ [n=lambda@wikipedia/lambda] has quit [Read error: 110 (Connection timed out)] 01:47:03 -!- hkBst [n=hkBst@gentoo/developer/hkbst] has quit [Remote closed the connection] 01:47:54 -!- elias` [n=me@unaffiliated/elias/x-342423] has quit [Read error: 145 (Connection timed out)] 01:48:10 -!- annodomini__ is now known as annodomini 01:51:17 meanburrito920_ [n=John@adsl-99-165-17-125.dsl.lsan03.sbcglobal.net] has joined #scheme 01:57:38 -!- benny` [n=benny@i577A0858.versanet.de] has quit [Read error: 110 (Connection timed out)] 01:58:30 saccade_ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 02:05:29 geckosenator [n=sean@71.237.94.78] has joined #scheme 02:06:05 sepult_ [n=buggarag@xdsl-87-78-146-115.netcologne.de] has joined #scheme 02:08:28 -!- johnnowak [n=johnnowa@207-38-171-48.c3-0.wsd-ubr1.qens-wsd.ny.cable.rcn.com] has quit [Remote closed the connection] 02:17:52 eli: I almost forgot: http://netbsd.pastebin.com/m4b3f3b46 02:18:42 eli: it is built from plt-4.1.4-src-unix tarball. 02:19:27 eli: since the relevant code is machine generated, it is hard to understand how it comes in. 02:21:01 -!- sepult_ [n=buggarag@xdsl-87-78-146-115.netcologne.de] has quit ["leaving"] 02:21:13 ASau: Thanks. 02:21:19 -!- sepult [n=buggarag@xdsl-87-78-186-234.netcologne.de] has quit [Read error: 110 (Connection timed out)] 02:21:36 -!- saccade_ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Read error: 104 (Connection reset by peer)] 02:21:37 ASau: BTW, did you try it from svn -- IIRC there was some fix around that neighborhood. 02:22:44 URL? 02:22:44 sepult [n=buggarag@xdsl-87-78-146-115.netcologne.de] has joined #scheme 02:23:20 ASau: http://svn.plt-scheme.org/plt/trunk to check it out, 02:23:33 Thanks. 02:23:35 ASau: http://pre.plt-scheme.org/installers to get the nightly build installers. 02:23:52 If you're used to the sourc tgz, then the second is going to be more convenient. 02:24:04 (It's in the same format as the releases.) 02:27:14 -!- halfcore [i=noam@ip136-63-210-87.adsl2.static.versatel.nl] has quit [Remote closed the connection] 02:36:43 ASau: Matthew said that the problem is specific to GCC: it igores "wchar_t" definitions that come from system header files. 02:37:28 ASau: There is a fix (which is included with 4.1.4), but that relies on detecting using gcc through the compiler executable name. 02:37:58 Weird. 02:38:31 So it should work if you make it use `g++', I think. 02:39:04 Yes, it's a hack, but needed to avoid that specific gcc issue. 02:41:50 saccade_ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 02:43:23 -!- Modius [n=Modius@ppp-70-129-203-250.dsl.austtx.swbell.net] has quit ["I'm big in Japan"] 02:43:28 reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 02:44:48 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 02:45:20 -!- aaco [n=aaco@unaffiliated/aaco] has quit ["Leaving"] 02:47:18 I'm not sure, that such hacking package will be accepted. 02:47:30 Is there a way to trigger "fix" in another way? 02:47:41 Is there another way to trigger "fix"? 02:48:29 accepted by who? 02:49:27 By us. 02:49:58 Like I said yesterday: PLT has portability problems. :( 02:50:10 Who's "us"? 02:50:22 pkgsrc team. 02:50:44 *eli* sighs of to google 02:51:25 [For the record "pkgsrc" is not something that I expect many people to know off-hand.] 02:51:48 -!- bohanlon [n=bohanlon@pool-71-184-223-212.bstnma.fios.verizon.net] has quit ["I fear that I must depart for now."] 02:51:54 Anyway, that explains why you can't switch. 02:51:57 Mostly NetBSD, Dragonfly, Solaris, FreeBSD, HP-UX, IRIX (approx. in this order). 02:52:18 No, it's not _us_, it is _you_, who can't switch. 02:52:28 We are cross-platform ;) 02:53:16 What I meant is: if *you* had a problem (in some individual sense of "you"), then I was trying to help in providing you with a workaround. 02:53:44 But if you're talking about a 3rd party package, then that's obviously irrelevant. 02:53:51 Workaround doesn't work. 02:54:11 In any case -- yes, that's a problem, and we're looking into some GCC specific #ifdef solution instead. 02:54:17 Subversion trunk exhibits same behaviour. 02:54:49 [Yes, I said a little earlier that 4.1.4 had the fix that doesn't work.] 02:54:54 BTW, if you give more specific pointers, maybe we'll figure it. 02:55:19 No need, I think -- an #ifdef solution is probably better anyway. 02:55:55 What symbol to define? 02:56:03 (And BTW, if you really want to be picky, then "portable" is questionable in this case in regards to a specific GCC issue.) 02:56:10 No need to define -- 02:56:19 bitweiler [n=phax@ppp-70-242-158-1.dsl.stlsmo.swbell.net] has joined #scheme 02:56:31 IIUC, the GCC problem needs some workaround -- but that needs to be done in GCC only. 02:56:34 Matthew 02:56:50 added a fix that is based on detecting if you're using gcc. 02:57:09 I am using gcc, the fix doesn't work. 02:57:09 And now he's looking into switching it to use some #ifdef in the C code. 02:57:18 Alright. 02:57:37 -!- JoelMcCracken [n=joelmccr@pool-72-95-204-183.pitbpa.east.verizon.net] has quit ["This computer has gone to sleep"] 02:57:41 Yes -- the *current* fix (in version 4.1.4 and in the current svn trunk) doesn't work. 02:58:01 Hopefully, there will be a working #ifdef-based fix soon, which will go into 1.4.5. 02:58:10 ... 4.1.5. 02:58:16 Nice! 02:58:29 bohanlon [n=bohanlon@pool-71-184-223-212.bstnma.fios.verizon.net] has joined #scheme 02:58:30 ... which is coming out in a little less than 2 weeks, btw. 02:59:01 If it is announced on the list, I'll see it, most probably. 02:59:13 Lemonator [n=kniu@pool-71-165-128-172.lsanca.dsl-w.verizon.net] has joined #scheme 03:00:52 Alright, thanks for information. 03:01:21 2 weeks is really inspiring. 03:02:11 I have to go. 03:03:05 ASau: In case you have a few minutes, it should be fixed now. 03:03:05 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [Read error: 54 (Connection reset by peer)] 03:03:22 sladegen [n=nemo@unaffiliated/sladegen] has joined #scheme 03:03:45 ASau: And yes, it's going to be announced in all the usual places. 03:05:34 -!- fadein [n=fadein@c-98-202-166-220.hsd1.ut.comcast.net] has quit [Read error: 110 (Connection timed out)] 03:05:59 -!- gweiqi [n=greg@69.120.126.163] has quit ["Leaving."] 03:08:48 -!- mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Remote closed the connection] 03:10:06 errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 03:11:26 -!- kniu [n=kniu@pool-71-165-128-172.lsanca.dsl-w.verizon.net] has quit [Read error: 110 (Connection timed out)] 03:22:50 eno__ [n=eno@adsl-70-137-132-29.dsl.snfc21.sbcglobal.net] has joined #scheme 03:23:09 -!- eno [n=eno@adsl-70-137-132-29.dsl.snfc21.sbcglobal.net] has quit [Read error: 104 (Connection reset by peer)] 03:27:59 -!- LobsterMan is now known as LobsterMan_AFK 03:31:15 seoushi [n=seoushi@c-67-186-243-205.hsd1.ut.comcast.net] has joined #scheme 03:33:50 -!- eno__ is now known as eno 03:34:09 -!- LobsterMan_AFK is now known as LobsterMan 03:36:51 halfcore [i=noam@ip136-63-210-87.adsl2.static.versatel.nl] has joined #scheme 03:48:26 bitweiler` [n=phax@adsl-69-152-93-176.dsl.stlsmo.swbell.net] has joined #scheme 03:51:21 -!- saccade_ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit ["This computer has gone to sleep"] 03:54:52 -!- bitweiler [n=phax@ppp-70-242-158-1.dsl.stlsmo.swbell.net] has quit [Read error: 110 (Connection timed out)] 03:57:51 -!- bitweiler` is now known as bitweiler 03:58:10 -!- CaptainMorgan [n=CaptainM@c-75-68-42-94.hsd1.nh.comcast.net] has quit [Read error: 110 (Connection timed out)] 03:58:43 -!- bombshelter13 [n=bombshel@209-161-230-178.dsl.look.ca] has quit ["If only your veins were filled with oil, the world would rush to your rescue!"] 04:04:38 saccade_ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 04:06:57 bitweiler` [n=phax@ppp-70-243-136-82.dsl.stlsmo.swbell.net] has joined #scheme 04:12:08 CaptainMorgan [n=CaptainM@c-75-68-42-94.hsd1.nh.comcast.net] has joined #scheme 04:17:42 -!- kilimanjaro [n=kilimanj@70.116.95.163] has quit ["Leaving"] 04:18:42 -!- bitweiler [n=phax@adsl-69-152-93-176.dsl.stlsmo.swbell.net] has quit [Read error: 110 (Connection timed out)] 04:22:30 -!- bitweiler` is now known as bitweiler 04:25:12 vilhelm_s [n=vilhelm@nic249.wireless-resnet.upenn.edu] has joined #scheme 04:25:46 incubot: it turns out that piloting an aircraft is not a trivial exercise; and that the craft itself is a hideously clever bricolage 04:25:49 nice (piloting Scheme). 04:26:05 -!- underspecified [n=eric@softbank220043052007.bbtec.net] has quit [] 04:26:40 incubot: would that i could program the way the ancient men of the twentieth century built planes 04:26:43 Unchained planes! 04:32:27 raikov [n=igr@82.45.130.213] has joined #scheme 04:33:39 PLT Scheme virtual machine has run out of memory; aborting 04:33:45 ewww 04:34:11 canhazchicken? 04:34:56 what about chicken? ._. 04:35:15 plt 4 lets you impose memory limits. is that what you hit? 04:35:23 complaining because it should show a stack trace of where the memory was being runaway with. 04:35:24 no virtual machine to worry about. 04:35:32 and its a sane implementation 04:35:35 nope, the interpreter crashes entirely. 04:35:47 synx: you mean drscheme? 04:35:47 right because I want my real machine to OOM :3 04:35:48 synx: weird. it's been rock-solid for me for years 04:36:26 I won't deny that Chicken seems pretty decent. Though I don't see how they could do runtime imports and evaluation using C linking. But eh. 04:36:33 me too. Well, I only use it for educational purpose nevertheless 04:36:42 the only oom i've ever had was intentionally done, and not via plt 04:37:04 I dunno. Try writing a program that eats up memory in an infinite loop, see if mzscheme catches it or just dies. 04:37:12 i had a web crawler that ran for months at a time 04:38:21 and crawled for? 04:39:55 What I'm trying to do is return my data to a certain state, dealing with when exceptions and edge conditions occur. But if handling the exception causes an exception later, it builds up attempted handlings until OOM. 04:40:06 or something. really it should just infinite loop. :shrugs: 04:40:32 http://tinypic.com/view.php?pic=20ts405&s=5 04:40:35 *synx* seems to be really good at OOMing plt, has done so dozens of times so far inadvertently. 04:41:20 No neilv, not that. 04:42:21 "PLT Scheme virtual machine has run out of memory; aborting" 04:42:32 if you can put together a demonstration of the problem, i suspect matthew flatt can fix it quickly 04:43:04 just a small bit of code that, when evaluated, reproduces the error 04:43:25 Well it's not hard really. Once you get one of those "Increase memory limit" things, the program isn't good at cleaning it up. So run your program a second time without increasing the limit and it should crash drscheme. 04:43:31 Let me try to see if that one does it. 04:45:38 Yeah (define (f) (cons 1 (f))) causes a hard crash if run a second time. 04:45:50 carl eastlund reported that error message a few weeks ago. http://list.cs.brown.edu/pipermail/plt-dev/2009-February/000150.html 04:46:10 what is OOming? 04:46:19 Modius [n=Modius@ppp-70-129-203-250.dsl.austtx.swbell.net] has joined #scheme 04:46:44 out of memory 04:46:47 out-of-memory. the linux kernel tends to kill the offending process in that case 04:46:54 Out Of Memory-ing 04:47:00 bingo! 04:47:01 Yeah linux is weird that way. 04:47:01 ahh, hehe 04:47:21 It runs a russian roulette game with OOMed processes. 04:47:37 Whether a program gets killed is non-deterministic. 04:48:00 One of my pet peeves. 04:48:33 HG` [n=wells@222-155-42-52.jetstream.xtra.co.nz] has joined #scheme 04:49:43 Man I'm never going to implement my database filesystem at this rate. 04:52:19 synx: dont worry Microsoft has been promising that for years now, and still nothing 04:52:48 ehehe 04:53:16 I'm just trying to figure how to wrangle a database table into serving up large objects in pieces. 04:53:57 I think I figured out a way to do it that doesn't require it all happen in one transaction. 04:55:14 Everyone tells me I should just break down and implement my database objects using an out-of-database filesystem somewhere. 04:55:25 -!- meanburrito920_ [n=John@adsl-99-165-17-125.dsl.lsan03.sbcglobal.net] has quit ["has been attacked by a grue"] 04:56:34 -!- Arelius [n=Indy@209.77.67.98] has quit [] 04:58:03 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 04:58:10 and I'm like "But... so many open file descriptors..." 04:58:34 anyway I'm curious if it'd work, so 04:58:56 served via http? 04:59:42 annodomini_ [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 05:04:57 -!- vilhelm_s [n=vilhelm@nic249.wireless-resnet.upenn.edu] has quit [] 05:08:47 -!- MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has quit [Read error: 113 (No route to host)] 05:10:20 tjafk2 [n=timj@e176219182.adsl.alicedsl.de] has joined #scheme 05:10:27 -!- foof [n=user@dn157-046.naist.jp] has quit ["ERC Version 5.2 (IRC client for Emacs)"] 05:16:09 -!- annodomini [n=lambda@wikipedia/lambda] has quit [Read error: 110 (Connection timed out)] 05:18:53 eh, maybe 05:20:07 Frustrating that you can't just stream data out of a column. 05:23:41 underspecified [n=eric@isa7-dhcp-116-127.naist.jp] has joined #scheme 05:26:35 -!- HG` [n=wells@222-155-42-52.jetstream.xtra.co.nz] has quit ["Leaving."] 05:27:44 -!- tjafk1 [n=timj@e176200056.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 05:28:44 -!- Nshag [i=user@Mix-Orleans-106-3-219.w193-248.abo.wanadoo.fr] has quit [Remote closed the connection] 05:30:30 MichaelRaskin_ [n=raskin@213.171.48.239] has joined #scheme 05:33:15 synx: You can set a heap limit in Chicken. 05:33:31 synx: SQLite has an "incremental BLOB" API. 05:33:58 Well SQLite is pretty nifty. :3 05:36:00 there are multiple libraries for sqlite under plt 05:36:29 -!- bitweiler [n=phax@ppp-70-243-136-82.dsl.stlsmo.swbell.net] has quit [Read error: 110 (Connection timed out)] 05:36:36 i doubt any of them support this incremental blob thing 05:37:09 Incremental BLOBs are fairly new. 05:37:58 OTOH, with your large objects as actual files, you can use sendfile(2) and furthermore incremental backups are trivial. 05:37:59 if i were doing a high-performance site with a huge fs-based db (like gfs), i would look at having apache or lighthttp or something do the large blob serving, and leave scheme for the non-static objects 05:38:14 yeah, so you can use sendfile and zero-copy stuff 05:38:54 and they can do the http chunking for you 06:04:38 foof [n=user@clair01.naist.jp] has joined #scheme 06:08:19 -!- saccade_ [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit ["This computer has gone to sleep"] 06:22:55 -!- reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 06:23:22 -!- underspecified [n=eric@isa7-dhcp-116-127.naist.jp] has quit [] 06:27:31 tessier [n=treed@mail.copilotconsulting.com] has joined #scheme 06:28:05 underspecified [n=eric@isa7-dhcp-116-127.naist.jp] has joined #scheme 06:28:30 benny [n=benny@i577A031E.versanet.de] has joined #scheme 06:34:10 Arelius [n=Indy@209.77.67.98] has joined #scheme 06:50:14 ecraven [n=nex@140.78.42.103] has joined #scheme 06:51:23 -!- annodomini_ [n=lambda@wikipedia/lambda] has quit [] 06:59:37 -!- kam [n=km@71-212-171-60.hlrn.qwest.net] has quit [Read error: 110 (Connection timed out)] 07:09:06 -!- araujo [n=araujo@gentoo/developer/araujo] has quit ["Leaving"] 07:25:21 ejs [n=eugen@94-248-11-235.dynamic.peoplenet.ua] has joined #scheme 07:29:01 wingo-tp [n=wingo@153.Red-79-156-146.staticIP.rima-tde.net] has joined #scheme 07:29:13 ASau` [n=user@host83-231-msk.microtest.ru] has joined #scheme 07:29:51 -!- melgray [n=melgray@c-71-197-146-242.hsd1.wa.comcast.net] has quit [] 07:31:43 mmc [n=mima@gw1.teleca.fi] has joined #scheme 07:36:31 -!- jso [n=user@151.159.200.8] has quit ["ERC Version 5.2 (IRC client for Emacs)"] 07:36:33 -!- jkukka is now known as rmrfchik 07:51:33 -!- ayrnieu [n=julian@c-76-30-82-6.hsd1.tx.comcast.net] has quit [Remote closed the connection] 08:04:04 higepon576 [n=taro@218-223-22-146.bitcat.net] has joined #scheme 08:05:27 -!- higepon576 [n=taro@218-223-22-146.bitcat.net] has quit [Client Quit] 08:05:34 higepon167 [n=taro@218-223-22-146.bitcat.net] has joined #scheme 08:06:14 -!- underspecified [n=eric@isa7-dhcp-116-127.naist.jp] has quit [] 08:06:15 -!- higepon167 [n=taro@218-223-22-146.bitcat.net] has quit [Client Quit] 08:06:21 higepon974 [n=taro@218-223-22-146.bitcat.net] has joined #scheme 08:07:41 -!- synthase [n=synthase@68.63.48.10] has quit [] 08:07:45 -!- higepon974 [n=taro@218-223-22-146.bitcat.net] has quit [Client Quit] 08:08:26 higepon556 [n=taro@218.223.22.146] has joined #scheme 08:08:50 -!- higepon556 [n=taro@218.223.22.146] has quit [Client Quit] 08:09:01 higepon786 [n=taro@218-223-22-146.bitcat.net] has joined #scheme 08:10:36 -!- higepon786 [n=taro@218-223-22-146.bitcat.net] has quit [Client Quit] 08:10:41 higepon973 [n=taro@218-223-22-146.bitcat.net] has joined #scheme 08:31:08 underspecified [n=eric@isa7-dhcp-116-127.naist.jp] has joined #scheme 08:33:02 -!- cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has quit ["The funniest things in my life are truth and absurdity."] 08:34:36 -!- saccade [n=saccade_@COMBINATOR.MIT.EDU] has quit [Read error: 60 (Operation timed out)] 08:37:27 -!- underspecified [n=eric@isa7-dhcp-116-127.naist.jp] has quit [] 08:41:42 underspecified [n=eric@isa7-dhcp-116-127.naist.jp] has joined #scheme 08:42:29 -!- underspecified [n=eric@isa7-dhcp-116-127.naist.jp] has quit [Client Quit] 08:47:45 -!- Modius [n=Modius@ppp-70-129-203-250.dsl.austtx.swbell.net] has quit [Connection reset by peer] 08:47:59 underspecified [n=eric@isa7-dhcp-116-127.naist.jp] has joined #scheme 08:48:13 Modius [n=Modius@ppp-70-129-203-250.dsl.austtx.swbell.net] has joined #scheme 08:49:19 -!- LobsterMan is now known as LobsterMan_AFK 08:51:07 -!- Arelius [n=Indy@209.77.67.98] has quit [] 08:54:52 -!- wingo-tp [n=wingo@153.Red-79-156-146.staticIP.rima-tde.net] has quit [Read error: 113 (No route to host)] 09:01:14 jewel [n=jewel@dsl-242-138-129.telkomadsl.co.za] has joined #scheme 09:06:46 -!- raikov [n=igr@82.45.130.213] has quit [Remote closed the connection] 09:11:21 ejs1 [n=eugen@94-248-11-235.dynamic.peoplenet.ua] has joined #scheme 09:12:41 jso [n=user@host-9-143-107-208.midco.net] has joined #scheme 09:12:55 -!- ejs [n=eugen@94-248-11-235.dynamic.peoplenet.ua] has quit [Read error: 104 (Connection reset by peer)] 09:21:42 Mr-Cat [n=Miranda@hermes.lanit.ru] has joined #scheme 09:21:55 -!- higepon973 [n=taro@218-223-22-146.bitcat.net] has quit [Read error: 110 (Connection timed out)] 09:33:45 -!- ejs1 [n=eugen@94-248-11-235.dynamic.peoplenet.ua] has quit [Read error: 110 (Connection timed out)] 09:37:20 dejai [n=dejai@230.15.233.220.exetel.com.au] has joined #scheme 09:49:14 -!- LobsterMan_AFK is now known as LobsterMan 10:02:01 elias` [n=me@unaffiliated/elias/x-342423] has joined #scheme 10:08:27 alaricsp [n=alaricsp@88-202-213-29.rdns.as8401.net] has joined #scheme 10:10:13 -!- LobsterMan [n=a@host72-50.student.udel.edu] has quit ["g00dbye"] 10:10:36 -!- sepult [n=buggarag@xdsl-87-78-146-115.netcologne.de] has quit ["leaving"] 10:11:44 sepult [n=buggarag@xdsl-87-78-146-115.netcologne.de] has joined #scheme 10:14:37 -!- jao [n=jao@221.Red-79-155-152.dynamicIP.rima-tde.net] has quit [Read error: 110 (Connection timed out)] 10:33:53 hkBst [n=hkBst@gentoo/developer/hkbst] has joined #scheme 10:34:34 metasynt1x [n=taylor@pool-71-127-85-87.aubnin.fios.verizon.net] has joined #scheme 10:38:24 ejs [n=eugen@94-248-123-207.dynamic.peoplenet.ua] has joined #scheme 10:46:56 -!- dejai [n=dejai@230.15.233.220.exetel.com.au] has quit [Read error: 113 (No route to host)] 10:47:13 -!- metasyntax [n=taylor@pool-71-127-85-87.aubnin.fios.verizon.net] has quit [Read error: 110 (Connection timed out)] 10:49:28 dlt_ [n=dlt@201.80.8.222] has joined #scheme 10:55:31 ayrnieu [n=julian@c-76-30-82-6.hsd1.tx.comcast.net] has joined #scheme 11:13:52 -!- underspecified [n=eric@isa7-dhcp-116-127.naist.jp] has quit [] 11:14:12 -!- ejs [n=eugen@94-248-123-207.dynamic.peoplenet.ua] has quit [Read error: 110 (Connection timed out)] 11:15:09 -!- foof [n=user@clair01.naist.jp] has quit ["ERC Version 5.2 (IRC client for Emacs)"] 11:15:40 jao [n=jao@74.Red-80-24-4.staticIP.rima-tde.net] has joined #scheme 11:30:12 -!- dlt_ [n=dlt@201.80.8.222] has quit [Remote closed the connection] 11:41:02 -!- ASau` [n=user@host83-231-msk.microtest.ru] has quit [Read error: 104 (Connection reset by peer)] 11:41:13 ASau` [n=user@host83-231-msk.microtest.ru] has joined #scheme 11:41:13 Cale_ [n=Cale@CPE001c10c70239-CM000e5cdd834a.cpe.net.cable.rogers.com] has joined #scheme 11:42:42 -!- Cale [n=Cale@CPE001c10c70239-CM000e5cdd834a.cpe.net.cable.rogers.com] has quit [Nick collision from services.] 11:42:46 -!- Cale_ is now known as Cale 11:51:41 raikov [n=igr@nsabfw1.nsab.se] has joined #scheme 12:02:14 cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has joined #scheme 12:02:27 underspecified [n=eric@softbank220043052007.bbtec.net] has joined #scheme 12:03:50 -!- mmc [n=mima@gw1.teleca.fi] has left #scheme 12:06:44 foof [n=user@dn157-046.naist.jp] has joined #scheme 12:07:14 vixey [n=yoo@amcant.demon.co.uk] has joined #scheme 12:07:16 -!- ayrnieu [n=julian@c-76-30-82-6.hsd1.tx.comcast.net] has quit [Remote closed the connection] 12:07:19 attila_lendvai [n=ati@catv-89-132-189-132.catv.broadband.hu] has joined #scheme 12:07:45 ayrnieu [n=julian@c-76-30-82-6.hsd1.tx.comcast.net] has joined #scheme 12:36:34 -!- ASau [n=user@193.138.70.52] has quit [Read error: 110 (Connection timed out)] 12:49:46 athos [n=philipp@92.250.250.68] has joined #scheme 12:49:50 orgy` [n=ratm_@pD9FFE33A.dip.t-dialin.net] has joined #scheme 12:56:25 xwl [n=user@114.245.142.245] has joined #scheme 13:04:11 Are there scheme implementations, supporting native threads? Chicken seems to have MPI binding - is that what I am asking about? 13:05:33 hemulen [n=hemulen@cpe-069-134-114-252.nc.res.rr.com] has joined #scheme 13:05:38 -!- sepult [n=buggarag@xdsl-87-78-146-115.netcologne.de] has quit ["leaving"] 13:06:13 I need macros, but scheme doesn't have them. 13:06:16 :( 13:07:26 ASau`: ??? 13:07:50 ASau`, do you mean unhygienic macros? 13:07:52 I don't need these "hygienic" stuff. 13:07:54 Nshag [i=user@Mix-Orleans-106-3-239.w193-248.abo.wanadoo.fr] has joined #scheme 13:08:08 ASau`, that is a different type of macro than the usual Scheme ones 13:08:12 I need full powered "macrolet". 13:08:18 JoelMcCracken [n=joelmccr@CMU-221270.WV.CC.CMU.EDU] has joined #scheme 13:08:53 almost every Scheme supports unhygienic macros, there's just no "standard" way, as there is for hygienic macros 13:08:58 ASau`, why do you think you need name capture macros? 13:09:11 presumably you are just mindlessly reimplementing a CL idiom 13:09:57 I need to create about 20 synonyms. 13:11:00 Mr-Cat: bigloo supports posix native threads 13:11:08 Mr-Cat: http://www-sop.inria.fr/mimosa/fp/Bigloo/doc/bigloo-18.html#Threads 13:11:10 mike [n=m@dslb-088-064-148-022.pools.arcor-ip.net] has joined #scheme 13:11:38 -!- mike is now known as Guest68174 13:12:09 hkBst: Thanks. I tried to search for `thread' in bigloo wiki, but that would not work. 13:12:18 jah [n=jah@175.55.198-77.rev.gaoland.net] has joined #scheme 13:13:38 -!- raikov [n=igr@nsabfw1.nsab.se] has quit [Remote closed the connection] 13:13:56 -!- jah [n=jah@175.55.198-77.rev.gaoland.net] has quit [Client Quit] 13:14:10 ASau`: You can use syntax-case to add name-capturing capability to syntax-rules. There are also non-standard non- and semi-hygienic macro systems, like syntactic closures or define-macro in chicken. 13:15:07 -!- attila_lendvai [n=ati@catv-89-132-189-132.catv.broadband.hu] has quit [Read error: 113 (No route to host)] 13:15:10 Any links? 13:15:32 Syntax-case is described in r6rs 13:16:03 It is also srfi-93 13:16:27 Thanks. 13:17:50 Syntactic closures: http://chicken.wiki.br/syntactic-closures. For chicken you can use them with riaxpander egg 13:18:52 Btw, are you sure, that syntax-rules would not work? 13:20:04 Even so, syntax-case should be enough. 13:23:39 I'm not sure, it allows creation of strings from symbols or other way around. 13:23:46 timchen1` [i=tim@kalug.ks.edu.tw] has joined #scheme 13:23:56 yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has joined #scheme 13:24:05 It does 13:24:53 You can convert between syntax-objects and datum, and datum are simple lists and symbols 13:25:13 This doesn't include strings. 13:25:17 And this is essential. 13:25:49 You can convert between strings and symbols with string->symbol and symbol->string 13:25:59 -!- nasloc__ [i=tim@kalug.ks.edu.tw] has quit [Read error: 104 (Connection reset by peer)] 13:26:17 langmartin [n=user@75.148.111.133] has joined #scheme 13:26:31 (define (string->symbol (string-append "this" "this")) ...)? 13:26:58 I can provide you with an example of macro, turning strings into syntax-objects 13:27:45 rudybot: eval (string->symbol (string-append "this" "this")) 13:27:46 Mr-Cat: your sandbox is ready 13:27:46 Mr-Cat: ; Value: thisthis 13:28:00 rudybot: eval (symbol? (string->symbol (string-append "this" "this"))) 13:28:00 Mr-Cat: ; Value: #t 13:28:29 rudybot: (define (string->symbol (string-append "this" "this")) "y?") 13:28:30 ASau`: eh? Try "rudybot: help". 13:29:31 ASau`: That should be done in a macro 13:30:09 So, you mean, I should play games with quasiquote? 13:30:16 no, you need a macro 13:30:26 that expands to (define ...) 13:31:11 Alright, I'll think about it later. 13:31:14 ASau`: You can use this crappy piece of code as an example: ASau`: 13:31:43 oops 13:31:45 http://paste.lisp.org/display/75222 13:31:55 ejs [n=eugen@94-248-63-83.dynamic.peoplenet.ua] has joined #scheme 13:35:59 attila_lendvai [n=ati@catv-89-132-189-132.catv.broadband.hu] has joined #scheme 13:39:57 araujo [n=araujo@gentoo/developer/araujo] has joined #scheme 13:42:40 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 13:44:17 annodomini_ [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 13:45:18 -!- ecraven [n=nex@140.78.42.103] has quit ["bbl"] 13:45:22 -!- annodomini_ [n=lambda@wikipedia/lambda] has quit [Client Quit] 13:47:57 -!- proq [n=user@unaffiliated/proqesi] has quit [Remote closed the connection] 13:48:07 proq [n=user@38.100.211.40] has joined #scheme 13:50:22 -!- JoelMcCracken [n=joelmccr@CMU-221270.WV.CC.CMU.EDU] has left #scheme 13:50:28 -!- arcfide [n=arcfide@adsl-99-137-203-229.dsl.bltnin.sbcglobal.net] has quit ["Bye Bye"] 13:50:40 -!- stepnem [n=xchat@topol.nat.praha12.net] has quit [Read error: 104 (Connection reset by peer)] 13:51:11 stepnem [n=xchat@topol.nat.praha12.net] has joined #scheme 13:54:13 -!- stepnem [n=xchat@topol.nat.praha12.net] has quit [Read error: 104 (Connection reset by peer)] 13:54:47 stepnem [n=xchat@topol.nat.praha12.net] has joined #scheme 14:00:31 -!- annodomini [n=lambda@wikipedia/lambda] has quit [Read error: 110 (Connection timed out)] 14:10:10 annodomini [n=lambda@130.189.179.215] has joined #scheme 14:19:58 edw [n=edw@c-76-99-36-31.hsd1.pa.comcast.net] has joined #scheme 14:23:39 -!- edw [n=edw@c-76-99-36-31.hsd1.pa.comcast.net] has quit [Client Quit] 14:23:57 edw [n=edw@c-76-99-36-31.hsd1.pa.comcast.net] has joined #scheme 14:33:07 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 14:33:19 -!- cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has quit ["The funniest things in my life are truth and absurdity."] 14:33:23 cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has joined #scheme 14:35:47 ecraven [n=nex@140.78.42.103] has joined #scheme 14:47:36 X-Scale [i=email@2001:470:1f08:b3d:0:0:0:2] has joined #scheme 14:54:40 -!- xwl [n=user@114.245.142.245] has quit [Read error: 110 (Connection timed out)] 14:59:51 -!- neilv [n=user@dsl092-071-030.bos1.dsl.speakeasy.net] has quit ["Leaving"] 15:07:02 jlongster [n=user@75.148.111.133] has joined #scheme 15:08:11 jah [n=jah@175.55.198-77.rev.gaoland.net] has joined #scheme 15:08:22 -!- jah [n=jah@175.55.198-77.rev.gaoland.net] has quit [Client Quit] 15:08:38 dlt_ [n=dlt@201.80.187.243] has joined #scheme 15:09:10 Judofyr [n=Judofyr@c349BBF51.dhcp.bluecom.no] has joined #scheme 15:12:41 ASau`: Did you try a build from the updated svn? 15:12:51 Not yet. 15:13:01 My evening starts in 2-3 hours. 15:14:05 ASau`: OK, also, if you need a solution for your macro problem in plt, then it's easy and doesn't need an unhygienic macro. 15:17:40 -!- ayrnieu [n=julian@c-76-30-82-6.hsd1.tx.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 15:19:38 -!- Guest68174 [n=m@dslb-088-064-148-022.pools.arcor-ip.net] has quit ["This computer has gone to sleep"] 15:22:39 mmc [n=mima@gw1.teleca.fi] has joined #scheme 15:23:58 -!- halfcore [i=noam@ip136-63-210-87.adsl2.static.versatel.nl] has quit [Remote closed the connection] 15:24:24 eno___ [n=eno@adsl-70-137-166-97.dsl.snfc21.sbcglobal.net] has joined #scheme 15:30:07 -!- eno [n=eno@nslu2-linux/eno] has quit [Read error: 104 (Connection reset by peer)] 15:32:40 -!- Judofyr [n=Judofyr@c349BBF51.dhcp.bluecom.no] has quit ["raise Hand, 'wave'"] 15:40:41 -!- yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has quit [Read error: 145 (Connection timed out)] 15:47:29 -!- edw [n=edw@c-76-99-36-31.hsd1.pa.comcast.net] has quit [] 15:48:03 -!- elias` [n=me@unaffiliated/elias/x-342423] has quit ["leaving"] 15:51:57 -!- jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has quit [Connection timed out] 15:56:22 Edico [n=Edico@unaffiliated/edico] has joined #scheme 16:04:23 -!- alaricsp [n=alaricsp@88-202-213-29.rdns.as8401.net] has quit [] 16:07:47 edw [n=edw@c-76-99-36-31.hsd1.pa.comcast.net] has joined #scheme 16:07:49 bweaver [n=user@c-67-161-236-94.hsd1.tn.comcast.net] has joined #scheme 16:08:46 Mr-Cat: your example has a bug, you cant use #'_ with datum->syntax IIRC (also the whole with-syntax is unnecessary) 16:09:06 jonrafkind [n=jon@crystalis.cs.utah.edu] has joined #scheme 16:09:41 -!- ecraven [n=nex@140.78.42.103] has quit ["bbl"] 16:10:15 I recall if you use it that way, it will create a binding exactly there where you wrote it 16:10:56 actually you dont even need syntax-case from the looks of it 16:11:43 leppie: But I cannot parse a string with syntax-rules 16:11:45 also, instead of (cadr (syntax->datum s-expr)), you should simply use #'format 16:12:02 I did not say you must use syntax-rules 16:12:47 leppie: I don't create bindings, I just capture the bindings from outside 16:13:20 (define-syntax ~ (lambda (x) (datum->syntax #'_ (cons 'display-string* 16:13:20 (cadr (syntax->datum x)) 16:13:22 ffs 16:13:24 oops 16:13:30 well you get the idea 16:16:14 Yes, then syntax-case is unnecessary 16:16:44 just a test: (define-syntax ~ (lambda (s-expr) (datum->syntax #'_ (list 'display-string* (string->symbol (cadr (syntax->datum s-expr))))))) 16:16:46 Stop 16:17:04 Will _ be accessible in this case? 16:17:15 its the same meaning 16:17:15 reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 16:17:31 #'_ is exactly there where you write it 16:17:51 unless you are binding, it's ok 16:18:24 unless you are introducing new varibles, it's ok 16:18:53 -!- eno___ is now known as eno 16:22:26 it would be easier just to use syntax-case though, and use format as a string, which it will be 16:22:36 well i assume its a string 16:24:13 kam [n=km@71-212-171-60.hlrn.qwest.net] has joined #scheme 16:25:09 -!- reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 16:25:24 reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 16:25:40 leppie: I don't get your last idea. Format is a string. 16:25:52 is it one? 16:26:56 Yes. Or we are talking about different things 16:28:18 hmmm i'm wrong on that, appeared strings are syntax-wrapped :( 16:29:47 for some reason I thought literals are constants and are never wrapped in syntax 16:30:36 leppie: Is this: (define-syntax ~ (lambda (s-expr) (datum->syntax #'_ (list 'display-string* (string->symbol (cadr (syntax->datum s-expr))))))) the code you're testing now? 16:31:48 yes, I replaced the parse proc with string->symbol 16:33:39 -!- Adrinael [n=adrinael@barrel.rolli.org] has quit [Read error: 60 (Operation timed out)] 16:33:50 Adrinael [n=adrinael@barrel.rolli.org] has joined #scheme 16:34:04 leppie: that seems to work for me 16:34:25 it should :) 16:35:09 And then what were you `wrong' about? 16:35:51 `hmmm i'm wrong on that, appeared strings are syntax-wrapped :(' 16:36:21 thats if you try to use format 16:36:51 format = syntax variable from the original code? 16:36:53 -!- mmc [n=mima@gw1.teleca.fi] has quit ["Leaving."] 16:36:58 yes 16:37:35 ok, thanks 16:37:44 i was hoping for: (define-syntax ~ (lambda (x) (syntax-case x () [(_ fmt) (string? fmt) #'fmt]))) 16:37:50 but that is an error 16:38:51 In fact i didn't know, that it's possible to use just lambda in a macro, without syntax-case 16:39:17 s/it's/it was/ iirc :) 16:39:25 syntax-case is just a transformer 16:40:14 you can use it in your normal expressions too 16:41:40 Ok. And what could be wrong if I introduced bindings? Just curious now. 16:42:08 (syntax-case '(hey) (hey) [(k) #'k]) 16:42:47 (syntax-case 'hey (hey) [k #'k]) 16:42:53 both returns hey 16:42:58 A lambda in define-syntax Mr-Cat, the only requirement is that it takes 1 parameter (a syntax) and returns a (possibly different) syntax. 16:43:02 -!- edw [n=edw@c-76-99-36-31.hsd1.pa.comcast.net] has quit [] 16:43:46 I was playing with sort-of-a-XML-generator the other day, that used a lambda in define-syntax without syntax-case. 16:44:01 (syntax-case 'he (hey) [hey #'k]) is an error 16:44:29 I like to refactor my macros into smaller transformers 16:46:03 leppie: You were talking something about introducing bindings with #'_. `#'_ is exactly there where you write it' - what did you mean? 16:46:07 I just wanted to have the equivalent of (tag 'body (tag 'p (tag 'a ...))) created from (body (p (a ...))). 16:46:10 (syntax-case 'hey (hey) [hey #'k]) is also an error, but this is due to binding 16:46:29 (define (body m) (tag 'body m)) 16:46:50 vixey: for any XML element. :p 16:47:01 Mr-Cat: sorry, I got off-topic :) you cant introduce binding with #'_ 16:47:16 synx, this has been done nicely in CL but no idea about Scheme 16:47:28 you can solve that 'problem' by just using any other variable name 16:47:30 rryan` [n=rryan@ATRIUS.MIT.EDU] has joined #scheme 16:47:34 let me make an example 16:47:40 -!- rryan [n=rryan@ATRIUS.MIT.EDU] has quit [Read error: 104 (Connection reset by peer)] 16:47:58 Oh I did it no problem, vixey. Just that it's one use of define-syntax without syntax-case or syntax-rules. 16:48:10 saccade [n=saccade_@COMBINATOR.MIT.EDU] has joined #scheme 16:48:14 synx, could go with something like (htmlize `(body (p (a ..)))) 16:48:33 not necessarily html, could be docbook... 16:48:52 synx, could go with something like (ize `(book (q (b ..)))) 16:49:08 leppie: So _ can be used only to refer to a macro name and never else - right? 16:49:24 its liek a wild card 16:49:54 matches anything, exactly it matches nothing, it does not get used 16:50:04 raikov [n=igr@82-41-19-217.cable.ubr03.sgyl.blueyonder.co.uk] has joined #scheme 16:50:29 hehe ize 16:50:35 the R6RS syntax-case docs explains the meaning of _ nicely IIRC 16:50:50 Ah, I was completely wrong about _ then 16:51:20 I should have read r6rs more carefully 16:54:43 (define-syntax foo (lambda (x) (syntax-case x () [(_ bar) (with-syntax ((baz (datum->syntax #'_ (syntax->datum #'bar)))) #'(define baz #t))]))) 16:54:55 (define-syntax foop (lambda (x) (syntax-case x () [(k bar) (with-syntax ((baz (datum->syntax #'k (syntax->datum #'bar)))) #'(define baz #t))]))) 16:55:02 compare those 2 16:55:22 the 1st one does not intro does the variable 16:55:29 2nd one does 16:55:47 synx pasted "define-syntax weirdness" at http://paste.lisp.org/display/76838 16:55:50 actually I think aziz told me about thise 16:56:01 vixey: That's what I did. 16:56:28 I can't read that 16:56:40 um...? 16:57:03 why not vixey? 16:57:09 looks fine to me... 16:57:26 I only use SYNTAX-RULES in Scheme 16:57:41 old school :p 16:57:57 with (syntax->datum) and (datum->syntax) writing weird syntax transformers is pretty easy. With (symbol->string) and (string->symbol) it can get even weirder... 16:58:02 leppie: Ok, I understand now. I thought, that _ always refers to a macro name. I dunno why. 16:58:44 Also it's an example of using both non-tail recursion and tail recursion in the same procedure <.< 16:59:04 thats way too much hard work, while I appreciate things like foof-loop, I would like to see it 'ported' to syntax-case 16:59:21 oops I forgot a function. 16:59:44 synx annotated #76838 "blarg" at http://paste.lisp.org/display/76838#1 16:59:53 Mr-Cat: it's a very powerful, but ugly world :) but once you get to know it, it's great 16:59:59 jah [n=jah@175.55.198-77.rev.gaoland.net] has joined #scheme 17:00:33 I still don't like define-syntax. 17:00:33 synx: re what you said last night, drscheme should not crash when it runs to its memory limit a second time -- perhaps you set the limit too close to your physical ram. 17:00:41 Because then people define a syntax that defines a syntax for defining syntaxes. And that shit is just impossible to read. 17:00:51 eli: It's possible... 17:01:20 like 32KB :p 17:02:23 I have a limit set of 262 MB per process. 17:02:46 Figured that was enough above 256... eh. 17:03:04 in this day and age, I would have to say , no :p 17:03:31 CPU's now have emotional requirements 17:03:43 If I don't set that limit, any dumb old mistake can completely crash my computer. 17:04:07 I like define-syntax. 17:04:09 262m per process is very tight for drscheme (and I can imagine it being a problem for a bunch of other things too) 17:04:21 Because you can define syntax to define syntax. 17:05:02 So that you can write more powerful things, than everyone around you does. 17:05:06 eli: like MS Exchange server :) 17:05:11 leppie: That's why I continue digging scheme. :) 17:05:32 leppie: that, I have no experience with. 17:05:45 Or maybe gna... 17:05:58 s/gna/gnaw 17:07:01 aaco [n=aaco@unaffiliated/aaco] has joined #scheme 17:07:43 elias` [n=me@unaffiliated/elias/x-342423] has joined #scheme 17:09:08 leppie: I'm afraid to try it out, but I got an image that will grind down most anything running X without those limits. 17:12:07 -!- Mr-Cat [n=Miranda@hermes.lanit.ru] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 17:13:56 ramkrsna [n=ramkrsna@unaffiliated/ramkrsna] has joined #scheme 17:15:45 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 17:18:13 -!- errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 104 (Connection reset by peer)] 17:23:43 rryan`` [n=rryan@ATRIUS.MIT.EDU] has joined #scheme 17:23:52 -!- rryan` [n=rryan@ATRIUS.MIT.EDU] has quit [Read error: 131 (Connection reset by peer)] 17:24:42 ecraven [n=nex@140.78.42.103] has joined #scheme 17:31:24 mike [n=m@dslb-088-064-148-022.pools.arcor-ip.net] has joined #scheme 17:31:52 -!- mike is now known as Guest17716 17:33:07 edw [n=edw@c-76-99-36-31.hsd1.pa.comcast.net] has joined #scheme 17:37:55 -!- jao [n=jao@74.Red-80-24-4.staticIP.rima-tde.net] has quit [Read error: 110 (Connection timed out)] 17:38:11 -!- ASau` [n=user@host83-231-msk.microtest.ru] has quit ["Off."] 17:38:41 lowlycoder [n=x@unaffiliated/lowlycoder] has joined #scheme 17:46:50 -!- jah [n=jah@175.55.198-77.rev.gaoland.net] has quit ["Quitte"] 17:53:04 -!- edw [n=edw@c-76-99-36-31.hsd1.pa.comcast.net] has quit [] 17:53:54 huh, you know I think my image of doom doesn't work anymore. That's dang skippy! :) 18:04:18 melgray [n=melgray@70.99.250.82] has joined #scheme 18:04:48 -!- lowlycoder [n=x@unaffiliated/lowlycoder] has quit ["Lost terminal"] 18:14:51 arcfide [n=arcfide@adsl-99-137-203-229.dsl.bltnin.sbcglobal.net] has joined #scheme 18:16:03 parodyoflanguage [n=user@mmds-216-19-46-146.sqpk.az.commspeed.net] has joined #scheme 18:27:07 -!- luz [n=davids@139.82.89.70] has quit [Remote closed the connection] 18:42:02 -!- Lemonator [n=kniu@pool-71-165-128-172.lsanca.dsl-w.verizon.net] has quit [Read error: 104 (Connection reset by peer)] 18:42:15 kniu [n=kniu@pool-71-165-128-172.lsanca.dsl-w.verizon.net] has joined #scheme 18:48:16 Tankado [n=Woodruff@bzq-82-81-47-32.red.bezeqint.net] has joined #scheme 18:51:03 pfo [n=pfo@chello084114049188.14.vie.surfer.at] has joined #scheme 18:53:33 -!- pfo [n=pfo@chello084114049188.14.vie.surfer.at] has quit [Client Quit] 18:54:20 ayrnieu [n=julian@c-76-30-82-6.hsd1.tx.comcast.net] has joined #scheme 18:55:12 pfo [n=pfo@chello084114049188.14.vie.surfer.at] has joined #scheme 18:57:15 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 60 (Operation timed out)] 18:57:33 errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 18:59:37 fantastic_dan [n=fantasti@ip-66-9-231-226.autorev.intellispace.net] has joined #scheme 19:02:59 -!- attila_lendvai [n=ati@catv-89-132-189-132.catv.broadband.hu] has quit [Read error: 113 (No route to host)] 19:03:29 -!- ramkrsna [n=ramkrsna@unaffiliated/ramkrsna] has quit [Read error: 110 (Connection timed out)] 19:13:12 dlt__ [n=dlt@201.80.187.243] has joined #scheme 19:15:26 -!- pfo [n=pfo@chello084114049188.14.vie.surfer.at] has quit ["Konversation terminated!"] 19:15:42 puchacz [n=puchacz@87-194-5-99.bethere.co.uk] has joined #scheme 19:15:48 -!- proq [n=user@38.100.211.40] has quit [Remote closed the connection] 19:16:11 proq [n=user@38.100.211.40] has joined #scheme 19:21:27 pfo [n=pfo@chello084114049188.14.vie.surfer.at] has joined #scheme 19:28:42 jah [n=jah@175.55.198-77.rev.gaoland.net] has joined #scheme 19:29:30 dlt____ [n=dlt@201.80.187.243] has joined #scheme 19:31:06 -!- dlt_ [n=dlt@201.80.187.243] has quit [Read error: 110 (Connection timed out)] 19:31:14 -!- Tankado [n=Woodruff@bzq-82-81-47-32.red.bezeqint.net] has quit [] 19:31:56 I have a pointer to the bytes of an integer returned from a C function, and the length of those bytes returned from another C function. How do I cast into integer or whatnot? 19:32:52 in plt 19:32:53 ? 19:32:55 -!- dlt__ [n=dlt@201.80.187.243] has quit [Read error: 60 (Operation timed out)] 19:33:33 yeah 19:33:48 rudybot: doc integer-bytes->integer 19:33:48 eli: no docs for a current binding, but provided by: scheme/base, scheme 19:33:57 rudybot: init scheme 19:33:57 eli: your scheme sandbox is ready 19:33:58 rudybot: doc integer-bytes->integer 19:33:59 eli: http://docs.plt-scheme.org/reference/numbers.html#(def._((quote._~23~25kernel)._integer-bytes-~3einteger)) 19:34:41 Yes, but how do I get the bytes for that? All I have is a pointer. 19:35:45 If it returned _bytes how would it know what the size of them was? The size comes from another function.. 19:35:59 Read the manual. 19:36:15 There's about 3000 different ways that C can give you a byte string. 19:36:40 edw [n=edw@68.162.123.87] has joined #scheme 19:37:06 hmf... 19:37:39 be nice if I could just get an integer, instead of copying the 2/4/8 bytes out then making an integer. 19:38:52 does plt not have some pointer-ref function? 19:39:01 synx: The function I referred you to accepts a start argument. 19:39:40 -!- edw [n=edw@68.162.123.87] has quit [Client Quit] 19:39:43 synx: Plus, you can create a byte string that just wraps the foreign pointer, so it doesn't create a copy of the foreign buffer. 19:40:03 not sure how to do that, but very good to know 19:40:30 Do I just do (_fun ... -> _bytes) then be careful not to segfault by reading too many? <.< 19:40:34 ok i see that is pointer-ref :p 19:44:17 synx: see `make-sized-byte-string' 19:44:30 -!- MichaelRaskin_ [n=raskin@213.171.48.239] has quit [Read error: 110 (Connection timed out)] 19:45:00 oh man I can't believe I missed that. 19:45:46 That's exactly what I need. Thanks eli. 19:53:19 Mr-Cat [n=Miranda@bahirkin1507.static.corbina.ru] has joined #scheme 19:59:19 kilimanjaro [n=kilimanj@70.116.95.163] has joined #scheme 20:04:33 jao [n=jao@221.Red-79-155-152.dynamicIP.rima-tde.net] has joined #scheme 20:09:10 hotblack23 [n=jh@p5B055C82.dip.t-dialin.net] has joined #scheme 20:17:32 barney [n=bernhard@p549A2B30.dip0.t-ipconnect.de] has joined #scheme 20:29:46 edw [n=edw@c-76-99-36-31.hsd1.pa.comcast.net] has joined #scheme 20:30:02 -!- edw [n=edw@c-76-99-36-31.hsd1.pa.comcast.net] has quit [Client Quit] 20:32:42 Arelius [n=Indy@209.77.67.98] has joined #scheme 20:44:56 -!- jah [n=jah@175.55.198-77.rev.gaoland.net] has quit ["Quitte"] 20:48:39 azharcs [n=azharcs@59.96.207.4] has joined #scheme 20:51:29 -!- azharcs [n=azharcs@59.96.207.4] has quit [Client Quit] 20:51:42 azharcs [n=azharcs@59.96.207.4] has joined #scheme 20:57:07 -!- ejs [n=eugen@94-248-63-83.dynamic.peoplenet.ua] has quit [Read error: 104 (Connection reset by peer)] 20:58:26 -!- fantastic_dan [n=fantasti@ip-66-9-231-226.autorev.intellispace.net] has quit ["Leaving"] 21:07:40 mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 21:13:33 -!- Guest17716 [n=m@dslb-088-064-148-022.pools.arcor-ip.net] has quit ["This computer has gone to sleep"] 21:15:06 wow here's a toughie 21:15:41 Was that merely an interjection, synx, or were you planning on sharing with the class? 21:15:46 given a list of dimensions, reconstruct the nested lists within lists from an already flattened list. 21:16:08 Sorry I didn't bring enough gum for you gnomon :> 21:16:15 Aw. 21:16:23 -!- dlt____ [n=dlt@201.80.187.243] has quit [Read error: 110 (Connection timed out)] 21:16:36 synx, that sounds very much like the APL reshape operation. 21:17:46 synx: Is this a homework assignment? Doesn't sound too bad. 21:18:01 I would love to give that as an exercise to some students. :-P 21:18:44 so like, given '(2 2 2) and '(2 3 4 5 6 7 8 9 10 11 12 13 14 15) create '((((2 3) (4 5)) ((6 7) (8 9))) (((10 11) (12 13)) ((14 15) (16 17)))))))))))))))... 21:18:54 Yeah. 21:19:01 -!- ecraven [n=nex@140.78.42.103] has quit ["bbl"] 21:19:12 arcfide: believe it or not, it's necessary to use this library o.O 21:19:15 It sounds like the real challenge there would be avoiding the inefficiency of having to iterate through the first part of the list once per dimension. 21:20:06 good news is sibling lists are all required to be the same size. 21:20:43 -!- barney [n=bernhard@p549A2B30.dip0.t-ipconnect.de] has quit [Remote closed the connection] 21:21:15 I dunno I'd probably do something stupid like have a state variable for how deep you are, and index/starve the dimensions array based on what level you're on. 21:21:26 -!- jonrafkind [n=jon@crystalis.cs.utah.edu] has quit [No route to host] 21:21:31 Hang on, I think you can do this effeciently and easily... 21:21:32 I guess you could avoid repeatedly iterating over the head of the list by instead first finding the length of the entire thing... you could do a bit of validation then too, and ensure that it's both flat and proper. 21:22:31 the wire protocol just sends the items as a flat sequence, so no nesting of the inputs is possible. 21:22:44 toyvo [n=toyvo@95.133.155.89] has joined #scheme 21:23:36 or maybe I could oh oh oh 21:24:18 jonrafkind [n=jon@204.99.164.207] has joined #scheme 21:24:18 wingo-tp [n=wingo@153.Red-79-156-146.staticIP.rima-tde.net] has joined #scheme 21:24:24 it's exactly like applying (2 2) to '((2 3) (4 5) (6 7) (8 9) (10 11) (12 13) (14 15)) 21:24:30 recursive solution get 21:24:36 Yes. 21:24:39 :-) 21:25:46 It's easier, methinks, if this is a matrix. 21:25:51 Sorry, vector. 21:26:21 arcfide, or if you're given the length of the list. 21:27:23 -!- toyvo [n=toyvo@95.133.155.89] has left #scheme 21:27:26 Actually, never mind: you *are* given the length of the list. 21:29:51 MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 21:32:25 -!- reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 21:32:30 JohnnyL [i=JohnnyL@ool-182f0b98.dyn.optonline.net] has joined #scheme 21:32:36 -!- JohnnyL [i=JohnnyL@ool-182f0b98.dyn.optonline.net] has quit [Remote closed the connection] 21:33:58 -!- jso [n=user@host-9-143-107-208.midco.net] has quit ["ERC Version 5.2 (IRC client for Emacs)"] 21:34:51 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 21:38:35 arcfide pasted "flat->nested" at http://paste.lisp.org/display/76854 21:39:21 synx: I believe that solves your problem. 21:41:21 not familiar with foof-loop sorry. anyway I'll try my own shot at it too. 21:41:44 synx: Get with the boat, foof loop is nice. :-) 21:41:52 "Get with the boat"? 21:42:11 gnomon: Sorry, is that not a familiar phrase in your part of the world? 21:42:16 *gnomon* waits for arcfide to say something like "Avast, ye scurvy bilge rat!" 21:42:44 arcfide, it may well be, but it is not a familiar phrase to this sample size of one :) 21:43:05 Fair enough. 21:43:44 *elf* boards gnomon in O(1). 21:44:00 (youve heard of plank's constant, surely?) 21:44:15 :) 21:49:35 -!- azharcs [n=azharcs@59.96.207.4] has quit ["Ex-Chat"] 21:54:36 -!- langmartin [n=user@75.148.111.133] has quit [Read error: 113 (No route to host)] 21:57:26 -!- Nshag [i=user@Mix-Orleans-106-3-239.w193-248.abo.wanadoo.fr] has quit [Remote closed the connection] 21:58:15 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #scheme 21:59:28 no, but I've heard of planck's constant :) 21:59:47 la la la 21:59:50 DUM de dum 22:01:49 Dumle kola 22:06:05 p1d annotated #76854 "recursive way" at http://paste.lisp.org/display/76854#1 22:07:21 synx: ^^ 22:11:39 p1dzkl: I think that has the fault gnomon mentioned about traversing the head of the list repeatedly. 22:13:09 synx pasted "flat->nested" at http://paste.lisp.org/display/76860 22:13:26 ^.^ 22:13:32 that seems to work 22:14:09 Hehe. 22:14:14 I have a new version. :-) 22:14:33 arcfide annotated #76854 "flat->nested w/fold-right" at http://paste.lisp.org/display/76854#2 22:14:42 Time to start testing! 22:15:45 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 22:16:22 underspecified_ [n=eric@softbank220043052007.bbtec.net] has joined #scheme 22:17:29 -!- jlongster [n=user@75.148.111.133] has quit [Remote closed the connection] 22:19:33 -!- melgray [n=melgray@70.99.250.82] has quit [] 22:22:48 -!- errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Remote closed the connection] 22:23:22 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 22:25:52 Synx: You lose, I get an error with your code. 22:26:28 Isn't one supposed to announce "FAIL" in block capital letters when that happens? All the kids are doing that these days. 22:27:54 benny99 [n=bebenny@p5486D332.dip.t-dialin.net] has joined #scheme 22:27:58 -!- underspecified [n=eric@softbank220043052007.bbtec.net] has quit [Read error: 113 (No route to host)] 22:28:40 arcfide annotated #76854 "Synx's Version" at http://paste.lisp.org/display/76854#3 22:28:57 arcfide annotated #76854 "Timing Results" at http://paste.lisp.org/display/76854#4 22:31:37 There's got to be a better way. 22:33:43 -!- jonrafkind [n=jon@204.99.164.207] has quit [Connection timed out] 22:34:09 maybe using lazy scheme :p 22:34:32 -!- hkBst [n=hkBst@gentoo/developer/hkbst] has quit [Read error: 104 (Connection reset by peer)] 22:35:28 arcfide: that error looks like you passed an infinite list to the function. :p You can't reverse those, ergo no tail recursion. 22:35:44 jlongster [n=user@75.148.111.133] has joined #scheme 22:35:48 synx: No infinite lists. 22:35:54 which is why I really need to learn how to use lazy. meh. 22:36:06 arcfide: what's (9 8 7 6 5 4 ...) then? 22:36:42 must just be the way it's displayed. 22:38:37 synx: It's an improper list of length 22. 22:38:50 Well, maybe it somehow is infinite... 22:39:03 Oh. 22:39:13 No, it says that the tail is an unbound object. 22:39:48 yeah, but that's clearly not the case... 22:40:40 (begin (flat->nested (build-list 6 ( (i) 10)) (build-list 1000000 add1)) 0) doesn't seem to fail for me. 22:41:51 does that error out for you arcfide? 22:42:00 jso [n=user@151.159.200.8] has joined #scheme 22:44:19 Sorry, what is it? 22:44:38 (begin (flat->nested (build-list 6 ( (i) 10)) (build-list 1000000 add1)) 0) 22:44:45 for my flat->nested procedure 22:46:41 synx: Variable null not found. ;) 22:46:57 WELL FIND IT >:( 22:47:33 synx: what is it? 22:47:45 The reason it got that other error was because I was running in unsafe mode. 22:47:47 '() 22:47:57 huh 22:53:13 -!- benny99 [n=bebenny@p5486D332.dip.t-dialin.net] has quit ["Ex-Chat"] 22:55:59 -!- puchacz [n=puchacz@87-194-5-99.bethere.co.uk] has quit [Read error: 104 (Connection reset by peer)] 23:01:38 JoelMcCracken [n=joelmccr@pool-72-95-204-183.pitbpa.east.verizon.net] has joined #scheme 23:03:05 Oh, foo. 23:03:23 synx: I ran your tests with a different name, but forgot to edit the code inside. :-P 23:03:51 er, no harm done... 23:04:23 meanburrito920_ [n=John@76.236.77.175] has joined #scheme 23:05:48 But congratulations, yours is as fast as my vector implementation. :-) Which means its almost twice as fast as the rest. 23:08:20 -!- JoelMcCracken [n=joelmccr@pool-72-95-204-183.pitbpa.east.verizon.net] has left #scheme 23:09:24 -!- jlongster [n=user@75.148.111.133] has quit [Read error: 113 (No route to host)] 23:12:18 -!- jao [n=jao@221.Red-79-155-152.dynamicIP.rima-tde.net] has quit [Remote closed the connection] 23:19:21 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Remote closed the connection] 23:19:47 errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 23:19:59 oy... well at least it works that's the important part. 23:20:21 has anyone managed to get a file descriptor integer turned into a port, with plt? 23:21:17 synx: scheme_make_fd_input_port 23:21:57 ah there it is, thanks eli 23:22:01 I was on the right page at least! 23:22:20 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 23:23:23 -!- jewel [n=jewel@dsl-242-138-129.telkomadsl.co.za] has quit [Read error: 113 (No route to host)] 23:23:28 annodomini_ [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 23:23:59 -!- annodomini [n=lambda@wikipedia/lambda] has quit [Nick collision from services.] 23:24:02 gweiqi [n=greg@69.120.126.163] has joined #scheme 23:24:06 -!- annodomini_ is now known as annodomini 23:25:43 -!- Mr-Cat [n=Miranda@bahirkin1507.static.corbina.ru] has quit [Read error: 104 (Connection reset by peer)] 23:28:17 woah eli 23:28:19 http://docs.plt-scheme.org/inside/Ports_and_the_Filesystem.html#(idx._(gentag._468._(lib._scribblings/inside/inside..scrbl))) is screwed up 23:28:38 name is specified three times, once as a different type, and other parameters are duplicated too. 23:30:08 -!- aaco [n=aaco@unaffiliated/aaco] has quit ["Leaving"] 23:30:44 http://docs.plt-scheme.org/inside/Ports_and_the_Filesystem.html#(cpp._scheme_make_fd_input_port) 23:30:56 gah sorry, no idea why that link was weird. 23:33:04 synx: ok, I forwarded it to Matthew. 23:33:43 -!- errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 54 (Connection reset by peer)] 23:33:47 it's probably a result of scripts converting the old docs to the new format. 23:34:08 errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 23:43:47 -!- kniu [n=kniu@pool-71-165-128-172.lsanca.dsl-w.verizon.net] has quit [Remote closed the connection] 23:53:50 sepult [n=buggarag@xdsl-87-78-190-201.netcologne.de] has joined #scheme 23:55:48 grnman [i=grnman@shell.thehostbusters.com] has joined #scheme 23:56:03 -!- hotblack23 [n=jh@p5B055C82.dip.t-dialin.net] has quit [Read error: 60 (Operation timed out)] 23:59:34 -!- vixey [n=yoo@amcant.demon.co.uk] has quit ["Quitting!"]