00:00:25 dnolen [~davidnole@184.152.69.75] has joined #lisp 00:04:17 -!- elliottcable is now known as ec|detached 00:07:07 slyrus [~chatzilla@adsl-76-254-45-145.dsl.pltn13.sbcglobal.net] has joined #lisp 00:08:30 -!- longfin [~longfin@211.187.37.46] has quit [Remote host closed the connection] 00:09:22 p_l|home [~pl@213.5.11.129] has joined #lisp 00:16:25 -!- BrokenCog [~bc@pool-108-18-168-167.washdc.east.verizon.net] has quit [Quit: leaving] 00:18:35 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 260 seconds] 00:18:45 -!- ncow [~ncow@bujumbura.dreamhost.com] has quit [Read error: Operation timed out] 00:19:47 gigamonkey: hi,do you know the pdf link(http://www.apress.com/book/view/1430219483) in the http://www.gigamonkeys.com/book/ is not avaliable ? 00:21:49 eno [~eno@nslu2-linux/eno] has joined #lisp 00:22:16 -!- nikodemus [~nikodemus@cs181063174.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 00:23:43 -!- ezakimak [~nick@ns1.nickleippe.com] has quit [Ping timeout: 260 seconds] 00:23:52 Bahman [~Bahman@2.144.219.234] has joined #lisp 00:25:02 ncow [~ncow@bujumbura.dreamhost.com] has joined #lisp 00:25:15 -!- erider [~chatzilla@unaffiliated/erider] has left #lisp 00:26:09 -!- Bahman [~Bahman@2.144.219.234] has quit [Client Quit] 00:26:24 BrokenCog [~bc@pool-108-18-168-167.washdc.east.verizon.net] has joined #lisp 00:26:35 Bahman [~Bahman@2.144.219.234] has joined #lisp 00:26:52 -!- Geef [~Geef@32.Red-83-61-34.dynamicIP.rima-tde.net] has quit [Ping timeout: 250 seconds] 00:27:44 dfox [~dfox@ip-94-113-17-246.net.upcbroadband.cz] has joined #lisp 00:29:32 -!- basho__ [~basho__@dslb-188-108-146-185.pools.arcor-ip.net] has quit [Ping timeout: 248 seconds] 00:33:44 -!- Bahman [~Bahman@2.144.219.234] has quit [Ping timeout: 276 seconds] 00:34:31 -!- ncow [~ncow@bujumbura.dreamhost.com] has quit [Ping timeout: 246 seconds] 00:36:15 -!- Odin- [~sbkhh@adsl-2-92.du.snerpa.is] has quit [Ping timeout: 240 seconds] 00:37:52 -!- Guthur [~Guthur@host86-142-199-74.range86-142.btcentralplus.com] has quit [Quit: Leaving] 00:39:36 -!- BrokenCog [~bc@pool-108-18-168-167.washdc.east.verizon.net] has quit [Quit: leaving] 00:41:27 basho__ [~basho__@dslb-188-108-232-028.pools.arcor-ip.net] has joined #lisp 00:42:06 ncow [~ncow@bujumbura.dreamhost.com] has joined #lisp 00:43:04 BrokenCog [~bc@pool-108-18-168-167.washdc.east.verizon.net] has joined #lisp 00:47:45 Spion [~spion@unaffiliated/spion] has joined #lisp 00:49:42 -!- BrokenCog [~bc@pool-108-18-168-167.washdc.east.verizon.net] has quit [Quit: leaving] 00:53:03 -!- juniorroy [~juniorroy@212.36.228.103] has quit [Remote host closed the connection] 00:55:34 juniorroy [~juniorroy@212.36.228.103] has joined #lisp 00:55:37 BrokenCog [~bc@pool-108-18-168-167.washdc.east.verizon.net] has joined #lisp 01:00:35 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Ping timeout: 276 seconds] 01:03:22 -!- BrokenCog [~bc@pool-108-18-168-167.washdc.east.verizon.net] has quit [Quit: leaving] 01:06:12 Odin- [~sbkhh@adsl-2-92.du.snerpa.is] has joined #lisp 01:06:15 BrokenCog [~bc@pool-108-18-168-167.washdc.east.verizon.net] has joined #lisp 01:07:26 wormphlegm [~wormphleg@c-98-234-186-226.hsd1.ca.comcast.net] has joined #lisp 01:09:51 -!- kvsari [~kvsari@203.171.93.21.static.rev.aanet.com.au] has quit [Quit: Lost terminal] 01:11:06 longfin [~longfin@211.187.37.46] has joined #lisp 01:14:09 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 01:14:24 huangho [~vitor@201-66-139-150.paemt700.dsl.brasiltelecom.net.br] has joined #lisp 01:24:58 -!- carlocci [~nes@93.37.218.21] has quit [Ping timeout: 260 seconds] 01:26:11 -!- antgreen [~user@CPE00222d6c4710-CM00222d6c470d.cpe.net.cable.rogers.com] has quit [Ping timeout: 240 seconds] 01:30:22 ontheeasiestway [~ontheeasi@111.194.106.148] has joined #lisp 01:35:34 -!- ontheeasiestway [~ontheeasi@111.194.106.148] has quit [Quit: rcirc on GNU Emacs 23.3.1] 01:38:05 Interesting discovery of the day: one may create symbols whose name is the empty string. 01:39:48 joshe: some implementations use a package named with empty string to act as keyword package 01:39:49 || 01:40:39 p_l|home: huh, I suppose that makes a certain sort of sense. 01:40:45 -!- AntiSpamMeta [~MetaBot@unaffiliated/afterdeath/bot/antispambot] has quit [Read error: Operation timed out] 01:40:56 -!- sausages [~valc@balmora.robotjunkyard.org] has quit [Quit: leaving] 01:41:43 -!- stepnem [~stepnem@176.119.broadband10.iol.cz] has quit [Ping timeout: 246 seconds] 01:42:02 One of the silliest functions ever written: (defun || (|()|) |()|) 01:42:04 -!- Vejeta [~user@unaffiliated/vejeta] has quit [Ping timeout: 246 seconds] 01:44:09 benny [~benny@i577A835E.versanet.de] has joined #lisp 01:44:52 joshe: that's sort of cute 01:45:31 it looks like an equalizer of somesort. 01:46:18 stepnem [~stepnem@176.119.broadband10.iol.cz] has joined #lisp 01:46:32 I suppose || would be cute name for an absolute value function. 01:46:38 *a 01:48:05 I've used |{ ... }| to represent the size of some sets. 01:50:04 nyef also worked on a reader hack for $\mathmode $ identifiers for a while. 01:50:05 However, an empty string is not a valid package name or nickname IIRC. 01:50:18 -!- ec|detached is now known as elliottcable 01:50:27 clisp doesn't do it anymore. 01:53:00 -!- xxxyyy [~xyxu@58.41.163.211] has quit [Ping timeout: 240 seconds] 01:53:50 wouldn't the main reasons for invalidity be the ambigous reading of keywords in presence of such package? 01:55:16 so it would be all right if || is a nickname to keyword package? 01:57:00 -!- dfox [~dfox@ip-94-113-17-246.net.upcbroadband.cz] has quit [Ping timeout: 250 seconds] 02:00:03 lemonodor [~lemonodor@cpe-75-83-150-91.socal.res.rr.com] has joined #lisp 02:00:31 -!- lemonodor [~lemonodor@cpe-75-83-150-91.socal.res.rr.com] has quit [Remote host closed the connection] 02:00:39 lemonodor [~lemonodor@216.239.45.130] has joined #lisp 02:05:24 cesarbp [~chatzilla@189.247.135.172] has joined #lisp 02:07:00 -!- SegFaultAX [~SegFaultA@c-98-248-241-85.hsd1.ca.comcast.net] has quit [Quit: Lost terminal] 02:07:35 Demosthenes [~demo@71.16.32.118] has joined #lisp 02:14:34 -!- urandom__ [~user@p548A4BF8.dip.t-dialin.net] has quit [Remote host closed the connection] 02:15:12 -!- ncow [~ncow@bujumbura.dreamhost.com] has quit [Ping timeout: 250 seconds] 02:15:27 Alex3012 [~chatzilla@ool-45727feb.dyn.optonline.net] has joined #lisp 02:15:29 http://xkcd.com/224/ 02:16:06 ncow [~ncow@bujumbura.dreamhost.com] has joined #lisp 02:21:02 Alex3012: This is your first uttering on #lisp? 02:21:10 yes. 02:21:16 Though I love lisp. 02:21:23 Doesn't start off very well. 02:21:53 really? I thought that was a pretty funny comic. 02:21:59 Alex3012: 1) it has been brought to our attention before. 2) Posting a URL without any remarks is typical spammer behavior. 02:22:20 I didn't realize that my behavior was typical of a spammer...I'm sorry. 02:22:58 I happened to know it was not, because I recognized the URL, but yes, a typical spammer will come her for the first time, post a URL without any comments, and then leave. 02:23:11 Again, I'm sorry. 02:23:22 It's probably a safe bet that people on #lisp have seen a popular webcomic's take on lisp, eh? 02:23:25 -!- lemonodor [~lemonodor@216.239.45.130] has quit [Ping timeout: 260 seconds] 02:23:32 Indeed. 02:23:50 Alex3012: It is not a big problem. I am just telling you so that you will know. 02:24:20 To be completely honest, I just saw the comic a few minutes ago, laughed, wanted to send it to a friend who codes but he wasn't online, so I joined this channel to "share the wealth" as it were. 02:24:36 When one sees the same xkcd posted over and over I suppose the number is eventually stored in the same part of one's brain that remembers RFC numbers. 02:25:12 Alex3012: (from the logs) 07.05.12:00:53:06 <_deepfire> heh, xkcd 224 02:25:33 ok, I get it.... 02:25:39 I'm sorry. 02:25:41 -!- Alex3012 [~chatzilla@ool-45727feb.dyn.optonline.net] has left #lisp 02:25:56 So now we can laugh, just saying "224". 02:26:14 pjb: man you don't know how to tell a joke! 02:26:29 gigamonkey: you're correct. 02:26:38 or "+44 (0) 118 999 881 999 119 7253". 02:27:18 Salamander_ [~Salamande@ppp118-210-84-104.lns20.adl2.internode.on.net] has joined #lisp 02:28:17 (Just checking, you know the joke about the prisoners who've been together in prison for so long they just tell jokes by number, right?) 02:28:40 i think xkcd 297 is more common among lisp peoples 02:28:40 I don't remember the details, but I remembered a joke numbering system, yes. 02:28:43 gigamonkey: I recall different variant of that :) 02:29:35 -!- Salamander__ [~Salamande@ppp118-210-174-129.lns20.adl6.internode.on.net] has quit [Ping timeout: 264 seconds] 02:33:12 -!- gffa [~gffa@unaffiliated/gffa] has quit [Quit: sleep] 02:33:31 So generic function &key parameters can't be specified with a default value, right? 02:33:47 gigamonkey: in defgeneric, no. But in defmethod yes. 02:33:54 Each method gets its own default. 02:34:22 Same for &optional. 02:34:26 Annoying. I guess I can define an :around method to provide it. 02:34:29 -!- kpreid [~kpreid@cpe-67-249-228-147.twcny.res.rr.com] has quit [Quit: kpreid] 02:46:12 -!- beach [~user@116.118.8.122] has left #lisp 02:51:34 Mococa [~Mococa@177.16.245.8] has joined #lisp 02:58:40 -!- aperturefever [20164@ninthfloor.org] has quit [Quit: aluve] 02:59:28 I don't suppose anyone has provided a CL binding for the linux sendfile system call? 03:00:49 ... doesn't SBCL has one? 03:01:15 That's sort of what I was hoping. 03:02:28 Will you not be running behind another webserver like apache or nginx who can take care of it? 03:03:15 -!- rpg [~rpg@216.243.156.16.real-time.com] has quit [Quit: rpg] 03:04:40 via the X-Sendfile header 03:04:59 Is that something the proxied-to server can return? 03:05:36 yes, it basically just tells the upstream server the filename and to handle the specifics 03:05:43 -!- inklesspen [~jon@inklesspen.com] has quit [Quit: Leaving IRC - dircproxy 1.0.5] 03:05:51 or maybe I'm not sure what you mean by 'return' 03:06:08 Is that part of FastCGI? Or HTTP. 03:06:16 HTTP 03:06:26 an extension, hence the X 03:06:27 By 'return' I mean the proxied-to server returns a response to a request which the proxying server can see. 03:07:04 Nice. Learn something every day. (Not the X bit, I knew that. ;-)) 03:07:45 I only vaguely remembered and had to google a bit 03:12:33 Let's hear it for NI (natural intelligence)! 03:13:12 -!- macrocat [~marmalade@99.192.105.194] has quit [Read error: Connection reset by peer] 03:14:41 -!- longfin [~longfin@211.187.37.46] has quit [Remote host closed the connection] 03:15:24 joast [~rick@76.178.178.72] has joined #lisp 03:17:01 -!- compmstr [~compmstr@adsl-074-185-008-197.sip.clt.bellsouth.net] has quit [Quit: leaving] 03:25:23 -!- statonjr [~statonjr@cpe-071-075-085-085.carolina.res.rr.com] has quit [Quit: statonjr] 03:30:49 sbahra [~sbahra@pool-74-106-252-24.bltmmd.fios.verizon.net] has joined #lisp 03:30:57 ontheeasiestway [~ontheeasi@111.194.106.148] has joined #lisp 03:30:58 -!- sbahra [~sbahra@pool-74-106-252-24.bltmmd.fios.verizon.net] has quit [Client Quit] 03:34:10 -!- Mococa [~Mococa@177.16.245.8] has quit [Read error: Connection reset by peer] 03:34:38 -!- jcazevedo [~jcazevedo@2.81.208.130] has quit [Ping timeout: 240 seconds] 03:37:48 Mococa [~Mococa@177.16.245.8] has joined #lisp 03:38:45 AntiSpamMeta [~MetaBot@unaffiliated/afterdeath/bot/antispambot] has joined #lisp 03:41:11 Salamander__ [~Salamande@ppp118-210-76-41.lns20.adl2.internode.on.net] has joined #lisp 03:43:26 -!- Salamander_ [~Salamande@ppp118-210-84-104.lns20.adl2.internode.on.net] has quit [Ping timeout: 240 seconds] 03:47:07 Jasko [~tjasko@24.249.87.250] has joined #lisp 03:48:30 Deathaholic [~Mococa@177.16.245.8] has joined #lisp 03:49:18 -!- Mococa [~Mococa@177.16.245.8] has quit [Quit: Saindo] 03:53:22 compmstr [~compmstr@adsl-074-185-008-197.sip.clt.bellsouth.net] has joined #lisp 03:54:14 -!- Salamander__ [~Salamande@ppp118-210-76-41.lns20.adl2.internode.on.net] has quit [Ping timeout: 240 seconds] 04:03:35 -!- lemoinem [~swoog@216.252.75.16] has quit [Ping timeout: 252 seconds] 04:04:18 lemoinem [~swoog@216.252.78.65] has joined #lisp 04:07:22 -!- BrokenCog [~bc@pool-108-18-168-167.washdc.east.verizon.net] has quit [Quit: leaving] 04:07:31 -!- tauntaun [~Crumpet@ool-44c72ce0.dyn.optonline.net] has quit [Quit: Ex-Chat] 04:07:34 Salamander__ [~Salamande@ppp121-45-1-168.lns20.adl2.internode.on.net] has joined #lisp 04:13:43 -!- compmstr [~compmstr@adsl-074-185-008-197.sip.clt.bellsouth.net] has quit [Quit: leaving] 04:17:34 drdo` [~user@91.205.108.93.rev.vodafone.pt] has joined #lisp 04:18:29 -!- pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has quit [] 04:19:34 -!- drdo [~user@91.205.108.93.rev.vodafone.pt] has quit [Ping timeout: 246 seconds] 04:29:11 jimgg_ [~chatzilla@219.135.195.164] has joined #lisp 04:30:01 -!- huangho [~vitor@201-66-139-150.paemt700.dsl.brasiltelecom.net.br] has quit [Quit: Lost terminal] 04:30:11 -!- Deathaholic is now known as Mococa 04:37:58 -!- jimgg_ [~chatzilla@219.135.195.164] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 4.0/20110318052756]] 04:41:54 c|mell [~cmell@77.85.195.66] has joined #lisp 04:43:01 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 04:44:52 -!- c|mell [~cmell@77.85.195.66] has quit [Read error: Operation timed out] 04:54:20 nefo [~nefo@2001:da8:200:900e:200:5efe:3b42:8f51] has joined #lisp 04:54:24 -!- nefo [~nefo@2001:da8:200:900e:200:5efe:3b42:8f51] has quit [Changing host] 04:54:24 nefo [~nefo@unaffiliated/nefo] has joined #lisp 04:56:46 -!- Atomsk is now known as ace4016 05:00:28 -!- gemelen [~shelta@shpd-92-101-155-107.vologda.ru] has quit [Ping timeout: 248 seconds] 05:05:43 jimgg_ [~chatzilla@219.135.195.164] has joined #lisp 05:07:30 -!- nefo [~nefo@unaffiliated/nefo] has quit [Remote host closed the connection] 05:10:32 -!- loke [~elias@bb121-6-220-56.singnet.com.sg] has quit [Quit: Leaving] 05:11:05 ezakimak [~nick@ns1.nickleippe.com] has joined #lisp 05:15:58 MasterBismuth [~MasterBis@184.99.12.152] has joined #lisp 05:16:48 xinming_ [~hyy@115.223.131.89] has joined #lisp 05:16:51 -!- xinming [~hyy@115.221.1.156] has quit [Read error: Connection reset by peer] 05:17:43 -!- ontheeasiestway [~ontheeasi@111.194.106.148] has quit [Ping timeout: 260 seconds] 05:18:23 -!- MasterBismuth [~MasterBis@184.99.12.152] has quit [Client Quit] 05:18:54 sakekasi [~sakekasi@99-28-149-24.lightspeed.irvnca.sbcglobal.net] has joined #lisp 05:19:32 I wanted to know if lisp has a constant (k) defined where (> n k) returns nil for any n. 05:20:15 well, there's MOST-NEGATIVE-FIXNUM and the like. 05:21:41 Bike, is there a function that gives the minimum of all numbers in a list? 05:21:56 Bike, nevermind 05:22:05 Should be min. 05:22:42 realitygrill_ [~realitygr@76.226.201.97] has joined #lisp 05:24:43 Bike, thanks 05:24:46 -!- sakekasi [~sakekasi@99-28-149-24.lightspeed.irvnca.sbcglobal.net] has quit [Quit: Leaving] 05:25:26 -!- realitygrill [~realitygr@adsl-76-232-151-129.dsl.sfldmi.sbcglobal.net] has quit [Ping timeout: 250 seconds] 05:25:27 -!- realitygrill_ is now known as realitygrill 05:28:19 superjudge [~superjudg@c83-250-110-188.bredband.comhem.se] has joined #lisp 05:29:45 sakakasi: Sounds like you want NaN for (> n k) always nil. :) 05:30:10 Or infinity. 05:30:59 er, they already quit. 05:42:27 -!- phua [~phua@adsl-99-63-93-4.dsl.chcgil.sbcglobal.net] has quit [Quit: leaving] 05:45:08 -!- gigamonkey [~user@adsl-99-179-47-161.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 260 seconds] 05:45:56 ontheeasiestway [~ontheeasi@111.194.106.148] has joined #lisp 05:49:36 gravicappa [~gravicapp@ppp91-77-188-208.pppoe.mtu-net.ru] has joined #lisp 05:55:17 mishoo_ [~mishoo@79.112.237.124] has joined #lisp 05:58:18 -!- Mococa [~Mococa@177.16.245.8] has quit [Remote host closed the connection] 05:59:25 -!- wormphlegm [~wormphleg@c-98-234-186-226.hsd1.ca.comcast.net] has quit [Quit: leaving] 06:08:21 -!- littlebobby [~bob@unaffiliated/littlebobby] has quit [Quit: Ex-Chat] 06:10:16 -!- jimgg_ [~chatzilla@219.135.195.164] has left #lisp 06:12:03 qiang [~user@d173-181-66-245.abhsia.telus.net] has joined #lisp 06:13:02 -!- herbieB [~herbie@u15287329.onlinehome-server.com] has quit [Ping timeout: 276 seconds] 06:20:35 -!- Bike [~arm_of_th@71-38-158-155.ptld.qwest.net] has quit [Quit: Leaving.] 06:25:32 -!- p_l|home [~pl@213.5.11.129] has quit [Ping timeout: 258 seconds] 06:25:59 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 06:26:40 pchrist [~spirit@gentoo/developer/pchrist] has joined #lisp 06:32:26 p_l|home [~pl@213.5.11.129] has joined #lisp 06:38:28 mishoo__ [~mishoo@79.112.237.124] has joined #lisp 06:39:49 -!- mishoo_ [~mishoo@79.112.237.124] has quit [Read error: Operation timed out] 06:44:01 -!- ontheeasiestway [~ontheeasi@111.194.106.148] has quit [Remote host closed the connection] 06:44:06 Davsebamse [~davse@gate.ipvision.dk] has joined #lisp 06:50:07 stipes [~chris@c-174-53-162-57.hsd1.mn.comcast.net] has joined #lisp 06:52:28 -!- p_l|home [~pl@213.5.11.129] has quit [Ping timeout: 248 seconds] 06:58:32 p_l|home [~pl@213.5.11.129] has joined #lisp 07:03:42 mrSpec [~Spec@88.208.105.6] has joined #lisp 07:03:42 -!- mrSpec [~Spec@88.208.105.6] has quit [Changing host] 07:03:42 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 07:06:18 -!- cesarbp [~chatzilla@189.247.135.172] has quit [Ping timeout: 241 seconds] 07:08:08 gemelen [~shelta@shpd-95-53-183-84.vologda.ru] has joined #lisp 07:11:41 -!- p_l|home [~pl@213.5.11.129] has quit [Ping timeout: 252 seconds] 07:13:50 -!- qiang [~user@d173-181-66-245.abhsia.telus.net] has quit [Remote host closed the connection] 07:17:57 -!- Kenjin [~josesanto@bl22-75-103.dsl.telepac.pt] has quit [Quit: Computer has gone to sleep] 07:18:55 p_l|home [~pl@213.5.11.129] has joined #lisp 07:19:10 -!- em [~em@unaffiliated/emma] has quit [Ping timeout: 260 seconds] 07:24:47 -!- p_l|home [~pl@213.5.11.129] has quit [Ping timeout: 264 seconds] 07:25:20 p_l|home [~pl@213.5.11.129] has joined #lisp 07:28:55 KDr2 [~KDr2@114.243.238.159] has joined #lisp 07:31:51 -!- p_l|home [~pl@213.5.11.129] has quit [Ping timeout: 252 seconds] 07:36:26 -!- drdo` [~user@91.205.108.93.rev.vodafone.pt] has quit [Remote host closed the connection] 07:36:43 drdo` [~user@91.205.108.93.rev.vodafone.pt] has joined #lisp 07:38:02 Davidbrcz [~david@212-198-126-167.rev.numericable.fr] has joined #lisp 07:44:19 p_l|home [~pl@213.5.11.129] has joined #lisp 07:47:21 jewel [~jewel@196-210-134-7.dynamic.isadsl.co.za] has joined #lisp 07:49:04 -!- Davidbrcz [~david@212-198-126-167.rev.numericable.fr] has quit [Read error: Connection reset by peer] 07:50:21 -!- drdo` is now known as drdo 07:54:33 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Ping timeout: 240 seconds] 07:54:40 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 07:54:45 insomniaSalt [~milan@port-92-204-116-85.dynamic.qsc.de] has joined #lisp 07:54:57 -!- am0c [~am0c@124.49.51.197] has quit [Ping timeout: 252 seconds] 07:57:44 -!- insomnia1alt [~milan@port-92-204-96-164.dynamic.qsc.de] has quit [Ping timeout: 240 seconds] 08:00:22 -!- Vicfred [~Vicfred@189.143.79.6] has quit [Remote host closed the connection] 08:02:08 -!- Davsebamse [~davse@gate.ipvision.dk] has quit [Ping timeout: 240 seconds] 08:02:29 -!- realitygrill [~realitygr@76.226.201.97] has quit [Quit: realitygrill] 08:08:22 am0c [~am0c@124.49.51.197] has joined #lisp 08:12:06 -!- Bucciarati [~buccia@www.inscatolati.net] has quit [Ping timeout: 258 seconds] 08:18:00 Bucciarati [~buccia@www.inscatolati.net] has joined #lisp 08:22:03 -!- Krystof__ [~csr21@2.26.212.183] has quit [Read error: Connection reset by peer] 08:25:37 Kenjin [~josesanto@2.83.75.103] has joined #lisp 08:26:45 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 08:37:50 Krystof__ [~csr21@2.26.241.230] has joined #lisp 08:41:35 -!- Krystof__ is now known as Krystof 08:45:08 Davsebamse [~davse@gate.ipvision.dk] has joined #lisp 08:49:18 Joreji [~thomas@66-232.eduroam.RWTH-Aachen.DE] has joined #lisp 08:50:07 -!- Kenjin [~josesanto@2.83.75.103] has quit [Quit: Computer has gone to sleep] 08:56:20 morphling [~stefan@gssn-5f756d02.pool.mediaWays.net] has joined #lisp 08:59:25 -!- hankhero [~Adium@c213-89-201-154.bredband.comhem.se] has quit [Quit: Leaving.] 09:05:43 -!- trebor_dki [~user@mail.dki.tu-darmstadt.de] has quit [Remote host closed the connection] 09:13:52 -!- KDr2 [~KDr2@114.243.238.159] has quit [Max SendQ exceeded] 09:14:34 KDr2 [~KDr2@114.243.238.159] has joined #lisp 09:15:58 -!- gravicappa [~gravicapp@ppp91-77-188-208.pppoe.mtu-net.ru] has quit [Ping timeout: 250 seconds] 09:23:13 naeg [~naeg@194.208.239.170] has joined #lisp 09:27:45 kami`` [~user@unaffiliated/kami-] has joined #lisp 09:28:12 -!- abhinav [~abhinav@122.167.168.20] has quit [Ping timeout: 248 seconds] 09:29:45 -!- naeg [~naeg@194.208.239.170] has quit [Read error: Operation timed out] 09:30:11 -!- kami` [~user@unaffiliated/kami-] has quit [Ping timeout: 276 seconds] 09:32:37 mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has joined #lisp 09:33:54 -!- homie` [~levgue@xdsl-78-35-133-238.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 09:35:39 francogrex [~user@109.130.58.155] has joined #lisp 09:36:57 this shows that I still don't understand the difference between funcall and apply: http://paste.lisp.org/display/121695 09:39:32 -!- KDr2 [~KDr2@114.243.238.159] has quit [Max SendQ exceeded] 09:40:02 Spion_ [~spion@unaffiliated/spion] has joined #lisp 09:40:27 KDr2 [~KDr2@114.243.238.159] has joined #lisp 09:43:43 -!- Spion [~spion@unaffiliated/spion] has quit [Ping timeout: 258 seconds] 09:44:02 homie [~levgue@xdsl-78-35-133-238.netcologne.de] has joined #lisp 09:44:43 mcstar [~mcstar@adsl-89-132-23-116.monradsl.monornet.hu] has joined #lisp 09:46:11 naeg [~naeg@194.208.239.170] has joined #lisp 09:46:15 -!- mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has quit [Quit: leaving] 09:55:56 Davidbrcz [~david@212-198-126-167.rev.numericable.fr] has joined #lisp 09:59:09 ok i see the problem but I don't see the advantage of using apply instead of funcall 10:00:33 where ? 10:02:08 homie: here http://paste.lisp.org/display/121695 10:02:44 -!- lichtblau [~user@91.65.223.81] has quit [Read error: Connection reset by peer] 10:03:03 lichtblau [~user@91-65-223-81-dynip.superkabel.de] has joined #lisp 10:03:35 HET2 [~diman@host109-153-170-244.range109-153.btcentralplus.com] has joined #lisp 10:06:12 -!- lichtblau [~user@91-65-223-81-dynip.superkabel.de] has quit [Remote host closed the connection] 10:06:29 lichtblau [~user@91-65-223-81-dynip.superkabel.de] has joined #lisp 10:08:55 -!- cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has quit [Ping timeout: 260 seconds] 10:09:31 cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has joined #lisp 10:12:19 Guthur [~Guthur@host86-142-199-74.range86-142.btcentralplus.com] has joined #lisp 10:14:21 Ragnaroek [~chatzilla@p5B0C5337.dip.t-dialin.net] has joined #lisp 10:16:16 gravicappa [~gravicapp@ppp91-77-221-178.pppoe.mtu-net.ru] has joined #lisp 10:17:04 longfin [~longfin@211.187.37.46] has joined #lisp 10:19:27 -!- superjudge [~superjudg@c83-250-110-188.bredband.comhem.se] has quit [Quit: superjudge] 10:23:08 statonjr [~statonjr@cpe-174-096-160-116.carolina.res.rr.com] has joined #lisp 10:23:41 stassats [~stassats@wikipedia/stassats] has joined #lisp 10:31:46 statonjr_ [~statonjr@cpe-071-075-085-085.carolina.res.rr.com] has joined #lisp 10:33:28 -!- statonjr [~statonjr@cpe-174-096-160-116.carolina.res.rr.com] has quit [Ping timeout: 260 seconds] 10:33:30 -!- statonjr_ is now known as statonjr 10:37:18 hankhero [~Adium@c213-89-201-154.bredband.comhem.se] has joined #lisp 10:39:43 -!- statonjr [~statonjr@cpe-071-075-085-085.carolina.res.rr.com] has quit [Read error: Connection reset by peer] 10:39:52 statonjr [~statonjr@cpe-071-075-085-085.carolina.res.rr.com] has joined #lisp 10:42:13 -!- statonjr [~statonjr@cpe-071-075-085-085.carolina.res.rr.com] has quit [Read error: Connection reset by peer] 10:42:30 nikodemus [~nikodemus@cs181063174.pp.htv.fi] has joined #lisp 10:42:37 statonjr [~statonjr@cpe-071-075-085-085.carolina.res.rr.com] has joined #lisp 10:45:10 statonjr_ [~statonjr@cpe-071-075-085-085.carolina.res.rr.com] has joined #lisp 10:45:10 -!- statonjr [~statonjr@cpe-071-075-085-085.carolina.res.rr.com] has quit [Read error: Connection reset by peer] 10:45:10 -!- statonjr_ is now known as statonjr 10:46:17 bsod1 [~sinan@188.58.131.144] has joined #lisp 10:47:37 homie` [~levgue@xdsl-87-79-193-43.netcologne.de] has joined #lisp 10:48:04 dullard [~user@188-223-137-38.zone14.bethere.co.uk] has joined #lisp 10:48:18 statonjr_ [~statonjr@cpe-071-075-085-085.carolina.res.rr.com] has joined #lisp 10:49:01 dfox [~dfox@ip-94-113-17-246.net.upcbroadband.cz] has joined #lisp 10:49:45 -!- homie [~levgue@xdsl-78-35-133-238.netcologne.de] has quit [Ping timeout: 260 seconds] 10:49:48 -!- statonjr [~statonjr@cpe-071-075-085-085.carolina.res.rr.com] has quit [Ping timeout: 260 seconds] 10:49:49 -!- statonjr_ is now known as statonjr 10:50:35 -!- emporas [~emporas@athedsl-168289.home.otenet.gr] has quit [Remote host closed the connection] 10:50:36 littlebobby [~bob@unaffiliated/littlebobby] has joined #lisp 10:53:19 emporas [~emporas@athedsl-168289.home.otenet.gr] has joined #lisp 10:54:25 -!- Ragnaroek [~chatzilla@p5B0C5337.dip.t-dialin.net] has quit [Ping timeout: 260 seconds] 10:55:57 tcr [~tcr@host187.natpool.mwn.de] has joined #lisp 10:57:52 ontheeasiestway [~ontheeasi@111.194.106.148] has joined #lisp 10:58:14 -!- bsod1 [~sinan@188.58.131.144] has quit [Ping timeout: 250 seconds] 11:01:38 Ragnaroek [~chatzilla@p5B0C4780.dip.t-dialin.net] has joined #lisp 11:03:31 (setf *print-circle* t) 11:03:58 this is nice, a simple print can cause an infinite loop in CL 11:04:28 not simple 11:05:07 i just never thought abot what would happen if i print a circular list 11:06:33 stassats: how can i prepare my program for end of file when i read from standard input? 11:09:02 Ragnaroek_ [~chatzilla@vpnsh0050.fh-trier.de] has joined #lisp 11:10:16 ch077179 [~urs@xdsl-188-155-1-133.adslplus.ch] has joined #lisp 11:10:33 -!- statonjr [~statonjr@cpe-071-075-085-085.carolina.res.rr.com] has quit [Quit: statonjr] 11:12:35 do i have to use error handling, or is there an easier way? 11:19:13 see the eof-error-p and eof-value arguments 11:19:28 yes 11:19:33 thx 11:19:46 im in a LOOP 11:19:57 and read-line returns multiple values 11:20:09 can i bind them in a loop? 11:20:19 i try to use this syntax 11:20:35 (loop for line = (read-line) while (not (string-equal line "q")) do (format t "~a~%" line))i try to use this syntax 11:20:50 line=(read-line) 11:21:16 can i use multiple-value-bind here in some way? 11:21:17 compmstr [~compmstr@adsl-074-185-008-197.sip.clt.bellsouth.net] has joined #lisp 11:21:23 I don't think I'd use the second return value from read-line for this purpose; at least I never have. :-) 11:21:36 But to answer your question: no. You can use for (a b) = (multiple-values-list (form-that-returns-values)) as a workaround. 11:22:01 ty 11:22:04 -!- gravicappa [~gravicapp@ppp91-77-221-178.pppoe.mtu-net.ru] has quit [Ping timeout: 250 seconds] 11:22:06 Or just switch to iterate, where multiple-value-bind just works (more specifically, where looping stuff still works within the m-v-b)... 11:22:24 i dont know about iterate 11:22:30 -!- jewel [~jewel@196-210-134-7.dynamic.isadsl.co.za] has quit [Ping timeout: 250 seconds] 11:22:38 is it part of loop? 11:24:03 no, it's an alternative to loop. And perhaps if I advertise it on #lisp for sufficiently many more years, people will actually start switching to it. 11:24:28 well i cant seem to find it 11:24:33 its not on clhs 11:24:42 and clisp isnt tab completing it 11:24:47 quicklisp has it! 11:24:51 oh 11:25:00 well 11:25:07 i bind multiple values in loop this way: (loop with first-value and second-value ... do (setf (values first-value second-value) (values 1 2)) ...) 11:25:08 i will stick to loop for the time being 11:26:16 or that way (loop ... when (m-v-b (x y z) (values 1 2 3) (when (and x y z) ...)) collect it) 11:26:32 i will save these snippets 11:26:33 ty 11:27:52 or when i need only one value, NTH-VALUE 11:28:12 -!- Ragnaroek_ [~chatzilla@vpnsh0050.fh-trier.de] has quit [Ping timeout: 248 seconds] 11:31:03 gravicappa [~gravicapp@ppp91-77-212-86.pppoe.mtu-net.ru] has joined #lisp 11:31:05 -!- nikodemus [~nikodemus@cs181063174.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 11:34:10 superjudge [~superjudg@c83-250-110-188.bredband.comhem.se] has joined #lisp 11:34:15 sprayzor [~executor@82.159.115.173.dyn.user.ono.com] has joined #lisp 11:34:33 -!- ontheeasiestway [~ontheeasi@111.194.106.148] has quit [Remote host closed the connection] 11:37:01 o 11:37:12 nikodemus [~nikodemus@cs181063174.pp.htv.fi] has joined #lisp 11:40:37 i think i will use this 11:40:39 (loop for thisisread = (multiple-value-bind (a b) (read-line) (list a b)) do (format t "~a~%" (car thisisread))) 11:40:56 i make a list from the return values of read-line 11:40:58 markskilbeck [~markskilb@unaffiliated/markskilbeck] has joined #lisp 11:41:07 or is this ugly? 11:41:29 have you seen what lichtblau suggested? 11:41:47 interate? 11:41:48 (loop for (a b) = (multiple-values-list (form-that-returns-values)) ...) 11:42:07 oh 11:42:21 i concentrated on your code 11:42:27 and forget about that 11:42:34 it's doing the same thing as you're doing, but nicer 11:42:38 yes 11:42:39 true 11:45:45 -!- gravicappa [~gravicapp@ppp91-77-212-86.pppoe.mtu-net.ru] has quit [Ping timeout: 260 seconds] 11:46:11 -!- Demosthenes [~demo@71.16.32.118] has quit [Quit: leaving] 11:49:32 -!- francogrex [~user@109.130.58.155] has quit [Remote host closed the connection] 11:53:16 -!- tcr [~tcr@host187.natpool.mwn.de] has quit [Ping timeout: 250 seconds] 11:54:48 gravicappa [~gravicapp@ppp91-77-212-86.pppoe.mtu-net.ru] has joined #lisp 11:56:19 uhh, bose gave it all to MIT ? 11:56:23 lol 11:58:08 -!- homie` [~levgue@xdsl-87-79-193-43.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 11:58:54 -!- Landr [~user@78-21-55-79.access.telenet.be] has quit [Remote host closed the connection] 11:59:19 -!- sprayzor [~executor@82.159.115.173.dyn.user.ono.com] has quit [Ping timeout: 246 seconds] 12:00:58 yvdriess [~Beef@83.101.33.172] has joined #lisp 12:01:36 homie [~levgue@xdsl-87-79-193-43.netcologne.de] has joined #lisp 12:01:37 -!- naeg [~naeg@194.208.239.170] has quit [Quit: WeeChat 0.3.4] 12:02:02 to build Lisp Machines? 12:02:03 ron_ [~ron@bzq-84-108-249-117.cablep.bezeqint.net] has joined #lisp 12:02:37 -!- ron_ [~ron@bzq-84-108-249-117.cablep.bezeqint.net] has quit [Max SendQ exceeded] 12:06:11 -!- gravicappa [~gravicapp@ppp91-77-212-86.pppoe.mtu-net.ru] has quit [Ping timeout: 276 seconds] 12:06:38 -!- yvdriess [~Beef@83.101.33.172] has quit [Quit: Leaving] 12:07:08 jingtao [~jingtaozf@123.120.9.194] has joined #lisp 12:10:02 nefo [~nefo@unaffiliated/nefo] has joined #lisp 12:12:13 wtf, how can i combine two read macros like #-quicklisp #+maxima ? 12:12:27 when i do that i get errors telling me end-of-file error 12:12:43 homie: #+(and quicklisp maxima) ? 12:13:04 ah ok i did a (and #-quicklisp #+maxima) 12:13:07 #+(and (not quicklisp) maxima) 12:13:12 which didn't work 12:13:16 ok thank you 12:17:01 jingtao` [~jingtaozf@123.120.9.194] has joined #lisp 12:18:22 -!- littlebobby [~bob@unaffiliated/littlebobby] has quit [Quit: Ex-Chat] 12:18:59 -!- jingtao [~jingtaozf@123.120.9.194] has quit [Ping timeout: 276 seconds] 12:22:46 i had memory corruption 12:22:56 it works now 12:23:02 but let me describe this 12:23:14 i say (defvar *testfile* nil) 12:23:25 in toplevel 12:23:42 then i (setf *testfile* (open the file 12:24:05 and in another fucntion, which main 12:24:16 and called when the file is compiled 12:24:22 i try to write to the file 12:24:30 with (format *testfile* 12:24:38 then i close the file 12:24:45 don't ever use OPEN 12:24:47 i get memory corruption 12:24:56 unless you know what you're doing 12:25:05 obviously i dont 12:25:09 but why not? 12:25:18 i even test the *testfile* 12:25:22 and its THE fiel 12:25:39 why cant format write into it? 12:25:42 well, memory corruption is unrelated to your memory fault 12:25:47 bah 12:25:56 memory corruption is unrelated to you using OPEN directly 12:26:18 if i open the file in the same function i write to it it works 12:26:24 you should use WITH-OPEN-FILE to open files 12:26:37 ok 12:26:47 fgump [~fgump__@188.74.82.177] has joined #lisp 12:26:47 but pls explain why is this not working? 12:27:08 if you can paste the code, then i'll be able to say something 12:27:18 a moment 12:28:08 kpreid [~kpreid@cpe-67-249-228-147.twcny.res.rr.com] has joined #lisp 12:28:24 sprayzor [~user@82.159.115.173.dyn.user.ono.com] has joined #lisp 12:29:36 -!- sprayzor [~user@82.159.115.173.dyn.user.ono.com] has quit [Remote host closed the connection] 12:30:54 Athas [~athas@0x50a157d6.alb2nxx15.dynamic.dsl.tele.dk] has joined #lisp 12:31:45 well 12:31:58 if i extract the minimal code 12:32:04 then it works both ways 12:32:16 i cant paste the other code 12:32:18 -!- theBlackDragon [~dragon@83.101.84.33] has quit [Ping timeout: 260 seconds] 12:32:19 i use asdf 12:32:21 and such 12:32:26 so its complicated 12:32:35 multiple files.. 12:33:13 Hun` [~hun@95-90-10-28-dynip.superkabel.de] has joined #lisp 12:33:58 then you need to extract a minimal code which fails 12:33:58 theBlackDragon [~dragon@83.101.84.9] has joined #lisp 12:34:15 well 12:34:23 i beleive im doing that right now 12:34:32 but i wanted to say whats the holdup 12:34:41 have you trying running it in a fresh image? 12:34:58 -!- nefo [~nefo@unaffiliated/nefo] has quit [Remote host closed the connection] 12:35:01 s/trying/tried/ 12:35:22 are you using (safety 0) anywhere, perchance? 12:35:57 by fresh if you mean i compile it every time, yes 12:36:11 and i dont use safety i dont know it 12:36:33 no, by fresh i mean you start it anew 12:36:38 pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has joined #lisp 12:36:54 (save-lisp-and-die "bot" :toplevel #'aic-bot::main :executable t) 12:36:58 gjvc [~gjvc@beaujolais.extremis.net] has joined #lisp 12:36:59 this writes the image 12:37:22 i assume this overwrites the previos file doesnt it? 12:37:36 im using sbcl btw 12:37:54 it does 12:38:25 so, you open a file, then save an image? 12:40:19 (require :asdf) 12:40:21 (let ((dpd *default-pathname-defaults*)) 12:40:22 (setf asdf:*central-registry* (list dpd))) 12:40:24 (asdf:operate 'asdf:load-op :aic-bot) 12:40:25 (save-lisp-and-die "bot" :toplevel #'aic-bot::main :executable t) 12:40:27 this is the compile script 12:40:28 -!- Ragnaroek [~chatzilla@p5B0C4780.dip.t-dialin.net] has quit [Ping timeout: 240 seconds] 12:40:33 don't paste here 12:41:09 so, does it fail only when you use a saved image? 12:41:13 yes 12:42:32 so, you didn't answer my question, do you write to a stream which was open before you saved the image? 12:43:07 (i'm sure you do) 12:43:11 omg 12:43:16 thats it 12:43:29 im just getting used to this 12:43:52 it opens the file when i compile it 12:43:57 then saves the image 12:44:10 then tries to write in the wrong place when i call main in the image 12:44:19 f 12:44:23 ok, you need to reopen it when you start the image, but, you'd rather use WITH-OPEN-FILE 12:44:35 i have to restructure it 12:44:54 hey thanks, im just used to compiled languages 12:45:20 Joreji_ [~thomas@66-232.eduroam.RWTH-Aachen.DE] has joined #lisp 12:46:05 so 12:46:18 any variable definition must go inside a called function 12:46:29 but i can make deckarations 12:46:36 before i save it 12:47:14 any external resources should be reinitialized 12:47:26 -!- Hun` [~hun@95-90-10-28-dynip.superkabel.de] has quit [Ping timeout: 250 seconds] 12:47:44 yes, you can have (defvar *file-stream*), and then you do (setf *file-stream* (open "foo")) in the main function 12:47:58 ok 12:48:01 -!- markskilbeck [~markskilb@unaffiliated/markskilbeck] has quit [Read error: Connection reset by peer] 12:48:34 but it's better if you do (with-open-file (*file-stream* "foo") (run-code-which-uses-the-stream)) 12:49:00 i will try to make use of it 12:49:43 -!- nikodemus [~nikodemus@cs181063174.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 12:50:43 -!- pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has quit [Quit: Leaving] 12:50:45 tauntaun [~Crumpet@64.134.66.135] has joined #lisp 12:52:03 -!- tauntaun [~Crumpet@64.134.66.135] has quit [Client Quit] 12:54:39 beelike [maln@93-138-106-96.adsl.net.t-com.hr] has joined #lisp 12:55:05 silenius [~silenus@p54946753.dip.t-dialin.net] has joined #lisp 12:55:26 -!- beelike [maln@93-138-106-96.adsl.net.t-com.hr] has quit [] 13:02:19 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Quit: mrSpec] 13:04:08 adhoc [~adhoc@ppp118-210-92-105.lns20.adl2.internode.on.net] has joined #lisp 13:06:31 jmbr [~jmbr@175.32.220.87.dynamic.jazztel.es] has joined #lisp 13:08:18 -!- Triplefault [~Mouse@adsl-72-145-216-149.asm.bellsouth.net] has quit [Quit: Leaving] 13:11:49 well #+(quicklisp maxima) does not work even #+(quicklisp (not maxima)) or any of the alike's work actually 13:11:54 -!- xinming_ [~hyy@115.223.131.89] has quit [Read error: Connection reset by peer] 13:12:20 homie: Why do you think they would? That's not how feature conditionals work. 13:12:27 xinming [~hyy@122.238.77.166] has joined #lisp 13:12:31 cause maxima is not exported into the *features* list and package maxima is not loaded at all for when i run sbcl alone, the package is only there when i dump the executable.... 13:13:28 yep i had to use everywhere (if (find-package :maxima)...) or (if (not (find-package :maxima))...) etc.... in addition to the #+ or #-quicklisp things... 13:13:51 homie: I don't know about any of that. #+(quicklisp maxima) is not a valid feature expression. 13:14:21 i asked how to combine ....someone told me to try that 13:14:41 err #+(and quicklisp maxima) i meant sorry 13:16:16 jingtao`` [~jingtaozf@123.120.9.194] has joined #lisp 13:19:05 -!- jingtao` [~jingtaozf@123.120.9.194] has quit [Ping timeout: 252 seconds] 13:19:25 Maxima is a world unto itself. 13:21:41 -!- mcstar [~mcstar@adsl-89-132-23-116.monradsl.monornet.hu] has left #lisp 13:22:01 -!- Beetny [~Beetny@ppp118-208-150-156.lns20.bne1.internode.on.net] has quit [Ping timeout: 240 seconds] 13:22:14 gravicappa [~gravicapp@ppp91-77-212-86.pppoe.mtu-net.ru] has joined #lisp 13:26:28 xinming_ [~hyy@115.223.134.177] has joined #lisp 13:29:30 -!- xinming [~hyy@122.238.77.166] has quit [Ping timeout: 258 seconds] 13:30:19 Areil [~user@113.172.38.77] has joined #lisp 13:35:10 -!- udzinari [~udzinari@ip-89-102-12-6.net.upcbroadband.cz] has quit [Quit: udzinari] 13:35:15 -!- hyko [~toby@my.unixuni.com] has quit [Read error: Connection reset by peer] 13:35:20 hyko [~toby@my.unixuni.com] has joined #lisp 13:36:17 mcstar [~mcstar@adsl-89-132-23-116.monradsl.monornet.hu] has joined #lisp 13:37:07 what does this mean before a function call? 13:37:15 udzinari [~udzinari@ip-89-102-12-6.net.upcbroadband.cz] has joined #lisp 13:37:16 #+sbcl (sb-ext:quit :unix-status status) 13:37:35 what is this #+something called? 13:38:24 #+ is a dispatching reader macro. 13:39:16 so it is defined in the implementation 13:39:19 mcstar: chapter 2 and 23. http://www.lispworks.com/documentation/HyperSpec/Body/02_dh.htm 13:39:29 Yes, there is a standard set of dispatching reader macros. 13:39:37 aha 13:39:43 thx 13:39:54 its used here to quit from different implementations 13:40:04 and theres a #- too 13:40:13 ill read it 13:40:34 Yes, #+ and #- set *read-suppress* according to the following expressions and the contents of *FEATURES*. 13:41:51 so basically it can prevent to read the next sexp 13:41:59 for exmaple 13:42:00 Yes. 13:42:31 (#+thing a) --> (a) if :thing is in *features* or () if not. 13:42:52 Notice that the expression after #+ or #- is read in the keyword package. 13:44:11 it seems i can avoid it 13:44:21 its only used to signal the exit status 13:44:35 cl-user::quit always quits 13:44:38 -!- gravicappa [~gravicapp@ppp91-77-212-86.pppoe.mtu-net.ru] has quit [Ping timeout: 250 seconds] 13:44:43 regardless of implementation 13:44:52 No, it's not standard. 13:45:08 yeah, few versions ago CCL wouldn't have (quit) in CL-USER 13:45:39 I remove from CL-USER everything that's not from CL, in my rc files... 13:45:49 it seems to me that the call to cl-user::quit is outside of the dispatch 13:45:52 or maybe it was SBCL? I do recall I had to directly refer to it in one of them 13:46:15 pjb: heh. I recently started making my code not :USE COMMON-LISP package :D 13:48:04 (a recent project of mine uses a custom replacement package that patches the implementation in various ways) 13:48:48 pchrist_ [~spirit@gentoo/developer/pchrist] has joined #lisp 13:48:51 This is a technique that should be better understood, and probably used more often, in CL. 13:49:52 wubo [~user@c-68-55-91-8.hsd1.md.comcast.net] has joined #lisp 13:50:01 pjb: it also makes for much nicer developement, when you have various kinds of extensions integrated right into default package (in my case it was conduits, closer-mop and I think some more) 13:50:25 gadek [~konrad@62.121.148.46] has joined #lisp 13:50:37 http://pavelpenev.posterous.com/lisp-the-anti-fashion-language 13:51:25 btw, to dwim.hu guys - perec makes a wonderful case to show people just why CL is worth using :) 13:51:28 Grr minion's not here again. What is it doing? Again at the bar getting drunk on Sundays afternoons!? 13:51:40 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Ping timeout: 248 seconds] 13:53:38 carlocci [~nes@93.37.198.24] has joined #lisp 13:55:34 Bahman [~Bahman@2.144.223.127] has joined #lisp 13:57:12 -!- Krystof [~csr21@2.26.241.230] has quit [Ping timeout: 263 seconds] 13:58:36 Krystof [~csr21@2.26.242.135] has joined #lisp 13:59:06 Bahman_ [~Bahman@2.144.223.127] has joined #lisp 13:59:32 -!- Bahman [~Bahman@2.144.223.127] has quit [Disconnected by services] 13:59:47 -!- Bahman_ [~Bahman@2.144.223.127] has quit [Client Quit] 14:01:02 Bahman [~Bahman@2.144.223.127] has joined #lisp 14:01:25 Hi all! 14:02:19 littlebobby [~bob@unaffiliated/littlebobby] has joined #lisp 14:02:47 wejq [~wejq@62.152.142.43.dsl.dynamic.eranet.pl] has joined #lisp 14:03:03 hi ive got a problem with remote desktop, right channel ? 14:03:42 no. 14:03:50 damn 14:04:12 so, what channel in freenode would help me? 14:04:28 -!- joshe [~joshe@opal.elsasser.org] has quit [Ping timeout: 248 seconds] 14:04:31 wejq: what kind of remote desktop? 14:04:35 -!- gadek [~konrad@62.121.148.46] has quit [Quit: WeeChat 0.3.3] 14:04:40 gadek [~konrad@62.121.148.46] has joined #lisp 14:04:41 ehh... win7 14:04:48 oh, no idea 14:05:00 god dammit. Piece of crap 14:05:35 ##windows ? 14:05:54 thx 14:06:11 interesting... 14:06:28 -!- wejq [~wejq@62.152.142.43.dsl.dynamic.eranet.pl] has left #lisp 14:07:14 is ##windows a bot trap? 14:07:17 hi :) under CCL (x86, Linux) I load http://www.ideone.com/1Guwm . (worker) works but (run) -- supposed to run few workers in background -- made my emacs die. Why? 14:10:17 -!- xinming_ is now known as xinming 14:11:24 -!- jmbr [~jmbr@175.32.220.87.dynamic.jazztel.es] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 14:11:26 die? 14:12:06 stassats: yep, I had to kill -9 it... 14:12:28 so, it didn't die, it was murdered! 14:12:30 did it again and had to kill slime 14:12:51 well... you got me red-handed :P 14:13:46 does it work without slime? 14:15:37 nope, "# requires access to Shared Terminal Input" and "Error: Fault during read of memory address #x-4" 14:16:21 did you lie to the compiler? 14:16:31 apparently 14:16:54 I did? (load "thatfile.lisp") (run) is all I did 14:16:58 i don't think that 1000! is a fixnum 14:17:38 so why invoking (worker) ... works? :P 14:18:01 does it? 14:18:16 and (fact 1000) also 14:19:04 ok, got rid of that declare and ... nothing changed 14:22:33 urandom__ [~user@p548A7B78.dip.t-dialin.net] has joined #lisp 14:22:44 -!- jingtao`` [~jingtaozf@123.120.9.194] has quit [Quit: bye] 14:24:13 -!- am0c [~am0c@124.49.51.197] has quit [Remote host closed the connection] 14:27:34 and well well, sbcl ran this without problem 14:27:38 so bye bye CCL :P 14:28:42 what will you do when you'll run into problems with sbcl? 14:29:39 ...cloJure? :P 14:29:53 but seriously 14:29:53 and after that? 14:29:59 (Erlang?) 14:30:05 but seriously, this doesn't happen on my ccl 14:30:12 it works? 14:30:23 it doesn't crash 14:31:16 gffa [~gffa@unaffiliated/gffa] has joined #lisp 14:33:37 so still it doesn't work as I wanted it to do 14:33:51 maybe I did something wrong? 14:34:29 -!- Bahman [~Bahman@2.144.223.127] has quit [Remote host closed the connection] 14:34:58 gigamonkey [~user@adsl-99-179-47-161.dsl.pltn13.sbcglobal.net] has joined #lisp 14:35:32 tauntaun [~Crumpet@ool-44c72ce0.dyn.optonline.net] has joined #lisp 14:35:36 Bahman [~Bahman@2.144.223.127] has joined #lisp 14:37:42 (oops, I did it again - I've killed emacs with kill -9 ... oh baby baby!) 14:38:48 ok, different angle: have you got any materials on thread-programming under CCL? 14:39:37 it isn't any different from any other thread-programming 14:41:18 so why CCL's process-run-function did not work and SBCL's make-thread did its job? 14:42:20 -!- rasterbar [~rasterbar@unaffiliated/rasterbar] has quit [Read error: Connection reset by peer] 14:47:24 when did special-form-p get renamed to special-operator-p ? 14:47:36 bah, my dtrace wouldn't work, i had to rename..... 14:48:29 homie: some time when the standardisation body realized that that function worked on operators, not forms. 14:48:55 ok 14:49:03 gravicappa [~gravicapp@ppp91-77-212-86.pppoe.mtu-net.ru] has joined #lisp 14:53:05 gadek: because it had a bug, because your kernel had a bug, because your memory was faulty, because you were unlucky? 14:56:00 rasterbar [~rasterbar@unaffiliated/rasterbar] has joined #lisp 14:56:45 unhygienix [~unhygieni@host86-135-59-30.range86-135.btcentralplus.com] has joined #lisp 14:56:57 -!- abeaumont [~abeaumont@90.165.165.246] has quit [Read error: Connection reset by peer] 14:57:14 -!- Bahman [~Bahman@2.144.223.127] has quit [Quit: Leaving] 14:57:30 stassats: ohhh :( whaaat a pitty... 15:01:03 -!- Euthydemus [~euthydemu@vaxjo4.213.cust.blixtvik.net] has quit [Read error: Connection reset by peer] 15:02:21 statonjr [~statonjr@cpe-071-075-085-085.carolina.res.rr.com] has joined #lisp 15:02:33 Euthydemus [~euthydemu@vaxjo4.213.cust.blixtvik.net] has joined #lisp 15:03:08 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Ping timeout: 248 seconds] 15:03:21 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 15:06:52 -!- tessier [~treed@mail.copilotco.com] has quit [Ping timeout: 248 seconds] 15:07:36 tessier [~treed@mail.copilotco.com] has joined #lisp 15:08:40 -!- emporas [~emporas@athedsl-168289.home.otenet.gr] has quit [Remote host closed the connection] 15:10:12 loke [~elias@bb121-6-212-147.singnet.com.sg] has joined #lisp 15:12:33 gadek: what version of ccl do you use? 15:13:23 -!- loke [~elias@bb121-6-212-147.singnet.com.sg] has quit [Remote host closed the connection] 15:15:40 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 15:17:55 Geef [~Geef@32.Red-83-61-34.dynamicIP.rima-tde.net] has joined #lisp 15:18:18 loke [~elias@bb121-6-212-147.singnet.com.sg] has joined #lisp 15:18:19 cesarbp [~chatzilla@189.247.135.172] has joined #lisp 15:19:46 -!- super__ [~super_@unaffiliated/lolsuper-/x-9881387] has quit [Read error: Connection reset by peer] 15:20:12 just got newest from svn 15:20:16 and still the same 15:20:50 platform: Fedora 14, intel Atom with Hyper-Threading (yes yes, Asus Eee PC :D ) 15:22:28 amirhoshangi [~amir@95.38.52.69] has joined #lisp 15:23:38 gadek: from trunk? 15:24:26 yep 15:24:43 let me update too then 15:25:12 did you rebuild it after checking out from svn? 15:25:46 nope 15:26:05 just svn'ed it, as I was told on CCL's wiki 15:26:23 well, you're told to rebuild it by me now 15:26:29 which is (ccl:rebuild-ccl :full t) 15:27:26 emma [~em@unaffiliated/emma] has joined #lisp 15:28:14 brodo [~brodo@p5B023866.dip.t-dialin.net] has joined #lisp 15:28:26 damn, this thing is slow 15:29:03 -!- amirhoshangi [~amir@95.38.52.69] has left #lisp 15:29:28 haha, it's me who have intel atom 1.6 :P 15:29:43 wait till i tell you what i've got 15:30:07 ok, it works for me on the latest (and not latest) ccl on intel pentium 4 with Hyper-Threading on linux-x86 15:30:30 -!- brodo [~brodo@p5B023866.dip.t-dialin.net] has quit [Client Quit] 15:31:30 oh, joy, it now fails too, not immediately 15:32:36 -!- emma is now known as em 15:33:29 gadek: so, good news, you're not unlucky 15:33:35 paul0` [~user@200.146.60.99.dynamic.dialup.gvt.net.br] has joined #lisp 15:34:37 Ragnaroek [~chatzilla@p5B0C77A3.dip.t-dialin.net] has joined #lisp 15:34:43 what was the url for that #lisp searching website 15:34:45 stassats: how happy am I now... :/ 15:34:56 lemondore i think it was who posted it 15:35:08 -!- paul0 [~user@189.114.207.25.dynamic.adsl.gvt.net.br] has quit [Ping timeout: 250 seconds] 15:35:55 lemme try on x86-64 15:36:03 -!- neoesque [~neoesque@210.59.147.226] has quit [Quit: Bye!] 15:36:35 -!- negaduck [~negaduck@85.202.112.90] has quit [Ping timeout: 252 seconds] 15:37:02 brodo [~brodo@p5B023866.dip.t-dialin.net] has joined #lisp 15:37:12 -!- Ragnaroek [~chatzilla@p5B0C77A3.dip.t-dialin.net] has quit [Remote host closed the connection] 15:38:18 -!- KDr2 [~KDr2@114.243.238.159] has quit [Quit: Leaving.] 15:39:07 negaduck [~negaduck@85.202.112.90] has joined #lisp 15:39:27 stassats: under win 7 x86-64 is ... working? 15:40:01 -!- clog_ [~nef@bespin.org] has quit [Remote host closed the connection] 15:40:47 ec|iPad [~elliottca@154.sub-69-96-234.myvzw.com] has joined #lisp 15:40:57 it may fail on larger numbers or with more threads 15:41:13 nefo [~nefo@2001:da8:200:900e:200:5efe:3b42:8f51] has joined #lisp 15:41:13 -!- nefo [~nefo@2001:da8:200:900e:200:5efe:3b42:8f51] has quit [Changing host] 15:41:13 nefo [~nefo@unaffiliated/nefo] has joined #lisp 15:43:40 -!- negaduck [~negaduck@85.202.112.90] has quit [Ping timeout: 258 seconds] 15:45:28 jmbr [~jmbr@175.32.220.87.dynamic.jazztel.es] has joined #lisp 15:46:53 <_3b> Guthur: i suppose telling you to search th elogs wouldn't be helpful? :p 15:47:08 stassats: and what a surprise... not a result I exepected of course :P http://www.ideone.com/LAwJg it does spread across all threads but res is #(nil nil nil nil)... under Linux it shows errors saying # is not of expected type INTEGER 15:47:32 bad_alloc [~bad_alloc@HSI-KBW-085-216-109-135.hsi.kabelbw.de] has joined #lisp 15:47:46 _3b, hehe, bit of chicken and egg there 15:48:05 <_3b> Guthur: http://heavymetalab.appspot.com/?q=ircsearch 15:48:09 gadek: well, it doesn't matter, it corrupts heap somewhere 15:48:11 thats the one 15:48:26 ...and bookmarked 15:48:41 macrocat [~marmalade@142.177.94.196] has joined #lisp 15:49:31 stassats: HOW could it corrupt heap? 15:49:54 by doing something it's not supposed to do 15:50:07 hello, I've just installed cl-aserve under ubuntu 10.04 with clisp 2.44. Now I cannot figure out how to use the package. I've tried (list-all-packages) (outputhttp://cxg.de/_800764.htm) but I can't find anything related in there. how do i get my webserver? 15:50:30 -!- peterhil [~peterhil@a91-153-112-241.elisa-laajakaista.fi] has quit [Quit: Must not waste too much time here...] 15:50:42 lolsuper_ [~super_@unaffiliated/lolsuper-/x-9881387] has joined #lisp 15:50:43 negaduck [~negaduck@85.202.112.90] has joined #lisp 15:51:10 <_3b> bad_alloc: 'installing' != 'loading' 15:51:40 (asdf:oos 'asdf:load-op :cl-aserve) ? 15:51:48 thanks homie 15:52:01 -!- lifeng [~lifeng@116.15.185.57] has quit [Quit: Ex-Chat] 15:52:07 also, it seems you are using debian/ubuntu packages ... that's usually a bad sign 15:52:11 hm, it can't find aserve 15:52:23 would i be betetr of just placing aserve next to my code? 15:52:28 aserve not loaded ? 15:52:32 and then load it manually? 15:52:51 bad_alloc: I suggest quicklisp 15:52:57 homie: I have no idea, the lisp package system still seems strange 15:53:20 bad_alloc: get quicklisp, and get the package via (ql:quickload :cl-aserve) 15:53:23 try again... 15:53:41 quicklisp does make it almost trivial to install lisp packages 15:53:43 bad_alloc: "package" in CL isn't the same as distro package (a distribution of code is called a "system") 15:53:52 <_3b> any particular reason you use aserve on clisp instead of hunchentoot on sbcl or ccl? 15:54:20 non-conformism? 15:54:31 if your package is not in /usr/share/common-lisp/source/cl-aserver and linked to /usr/share/common-lisp/systems/cl-aserve.asd or so it won't be loadable via asdf, so get quicklisp 15:54:53 it circumvents all the manual labor there... 15:54:57 _3b: well I didn#t want to update my old clisp outside of ubuntu but since clisp seems to be one of the main reasons for my troubles (like quicklisp not working) i'm installing sbcl right now 15:55:31 <_3b> it looks like cl-aserve is loaded as aserve, not cl-aserve 15:55:42 *_3b* would use hunchentoot on sbcl or ccl though 15:56:11 with quicklisp you get actually two kinds of asdf packages, one which is normally newer than the system asdf, and which is upgraded to the newer one when you load quicklisp on the way 15:56:36 -!- nefo [~nefo@unaffiliated/nefo] has quit [Remote host closed the connection] 15:56:47 get rid of all your .cache/common-lisp dir's before pulling or compiling new packages 15:56:53 Yuuhi [benni@p5483C9A8.dip.t-dialin.net] has joined #lisp 15:57:12 ~/.cache/common-lisp, ~/.slime and ~/quicklisp maybe too if you have one 15:57:54 well i do also rm my ./maxima/binary dirs always...before going onto newer versions... 15:59:13 apart from that you have to adjust the asdf registry path's, when you want to load some packages from say the system dirs (i.e. not quicklisp)... 16:00:18 abeaumont [~abeaumont@90.165.165.246] has joined #lisp 16:01:51 stassats: http://www.ideone.com/OnNF3 and this works http://www.ideone.com/wml4W this works also so... it was all only "USED TOO MUCH STACK, YOU FOOL!" error... -.-" 16:02:09 stassats: so much time on so stupid thing... GEEEEEEZ 16:04:22 -!- longfin [~longfin@211.187.37.46] has quit [Remote host closed the connection] 16:05:17 well, it's a bug in ccl, it should be reported 16:06:22 if you don't want to report, i'll do it later 16:12:25 -!- ncow [~ncow@bujumbura.dreamhost.com] has left #lisp 16:12:29 az [~az@p4FE4E8A4.dip.t-dialin.net] has joined #lisp 16:12:32 -!- az [~az@p4FE4E8A4.dip.t-dialin.net] has quit [Client Quit] 16:12:45 stassats: could you? I'm not true-lisper, just learning so don't even know what to write :P 16:14:01 stassats: http://www.ideone.com/Xzslp HOW COULD THIS WORK THEN? o.O" 16:14:21 az [~az@p4FE4E8A4.dip.t-dialin.net] has joined #lisp 16:14:35 Mococa [~Mococa@189.115.155.232] has joined #lisp 16:14:58 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 240 seconds] 16:15:19 Bike [~arm_of_th@71-38-158-155.ptld.qwest.net] has joined #lisp 16:15:43 -!- bad_alloc [~bad_alloc@HSI-KBW-085-216-109-135.hsi.kabelbw.de] has quit [Quit: Verlassend] 16:16:36 negaduck_ [~negaduck@85.202.112.90] has joined #lisp 16:17:14 -!- silenius [~silenus@p54946753.dip.t-dialin.net] has quit [Remote host closed the connection] 16:17:55 tcr [~tcr@host187.natpool.mwn.de] has joined #lisp 16:18:48 -!- negaduck [~negaduck@85.202.112.90] has quit [Ping timeout: 246 seconds] 16:18:48 -!- negaduck_ is now known as negaduck 16:19:15 dnolen [~davidnole@184.152.69.75] has joined #lisp 16:19:25 gadek: btw, loop has a below keyword, so you don't need (1- *th-cnt*) 16:19:31 Deathaholic [~Mococa@186.214.253.168] has joined #lisp 16:19:53 drdo: hah, you're right :P thx 16:20:12 realitygrill [~realitygr@76.226.201.97] has joined #lisp 16:21:58 -!- Mococa [~Mococa@189.115.155.232] has quit [Ping timeout: 240 seconds] 16:22:26 hey all. i'm slowly learning how to write lisp which doesn't suck. i was wondering, is there a smallish program which is considered particularly well-written and characteristic of idiomatic lisp? reading the source might help. 16:22:38 -!- Joreji_ [~thomas@66-232.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 240 seconds] 16:25:05 -!- Geef [~Geef@32.Red-83-61-34.dynamicIP.rima-tde.net] has quit [Disconnected by services] 16:25:17 Geef [~Geef@32.Red-83-61-34.dynamicIP.rima-tde.net] has joined #lisp 16:26:10 clsmith: I found reading the source of cl-ppcre enlightening. It's not tiny, but it does an interesting job (regular expression matching) and is very fast, and it touches many different areas of Common Lisp, like CLOS, the condition system, macros, compiler macros, and more. 16:26:59 yeah, Ediware is a good place to start 16:27:22 examples from PAIP were afaik also quite well written 16:29:08 thanks, i'll download cl-ppcre and have a look. and i'll bookmark ediware. :) 16:34:30 -!- Deathaholic [~Mococa@186.214.253.168] has quit [Ping timeout: 260 seconds] 16:37:38 spilman [~spilman@ARennes-552-1-72-5.w92-135.abo.wanadoo.fr] has joined #lisp 16:37:44 Xach: I appear to have met a few people who know you from BYOXnet (-: 16:38:04 -!- spilman [~spilman@ARennes-552-1-72-5.w92-135.abo.wanadoo.fr] has left #lisp 16:38:30 does ECL work with threads on OpenBSD ? 16:39:07 apparently there was some issue around 2009, don't know if it's the case nowadays 16:39:11 galdor: does OpenBSD provide working pthreads? If yes, then it does. 16:39:35 *p_l|home* recalls some issues with expecting native threading through pthreads interface on OpenBSD 16:45:52 rtoym: matlisp was extremely useful and allowed me to sketch a numerical optimization method in a couple hours; thanks! 16:46:11 Deathaholic [~Mococa@189.115.240.93.dynamic.adsl.gvt.net.br] has joined #lisp 16:46:22 well the ecl openbsd port doesn't use --enable-threads, so I guess it doesn't work 16:46:35 Kenjin [~josesanto@bl22-75-103.dsl.telepac.pt] has joined #lisp 16:46:36 -!- tcr [~tcr@host187.natpool.mwn.de] has quit [Quit: Leaving.] 16:47:07 galdor: you can always try it 16:47:45 I'll setup a vm when I find some time, I'm not gonna re-setup my laptop until I'm sure I can work on it 16:50:22 -!- pnq [~nick@ACA310B6.ipt.aol.com] has quit [Ping timeout: 258 seconds] 16:51:30 galdor: it seems to me that OpenBSD doesn't have concurrent threads, at least not pthreads 16:52:12 yep, I just hoped I could get working userland threads in ECL 16:52:37 I'm just gonna have to wait for rthreads and try to hack on sbcl 16:55:59 jewel [~jewel@196-209-224-248.dynamic.isadsl.co.za] has joined #lisp 16:58:04 -!- L1SP [~wolfbytes@97.72.154.166] has quit [Read error: Connection reset by peer] 16:58:33 fantazo [~fantazo@178-191-170-149.adsl.highway.telekom.at] has joined #lisp 17:00:10 mariorz_ [u490@gateway/web/irccloud.com/x-xgcmpcbypkyhxfiw] has joined #lisp 17:00:28 -!- mariorz_ [u490@gateway/web/irccloud.com/x-xgcmpcbypkyhxfiw] has left #lisp 17:00:38 -!- naryl [~weechat@213.170.70.141] has quit [Ping timeout: 276 seconds] 17:02:33 -!- brodo [~brodo@p5B023866.dip.t-dialin.net] has quit [Quit: brodo] 17:03:12 -!- amb007 [~a_bakic@97.17.97-84.rev.gaoland.net] has quit [Read error: Connection reset by peer] 17:04:13 -!- Deathaholic [~Mococa@189.115.240.93.dynamic.adsl.gvt.net.br] has quit [Ping timeout: 252 seconds] 17:09:47 amb007 [~a_bakic@97.17.97-84.rev.gaoland.net] has joined #lisp 17:09:52 pnq [~nick@AC816EE8.ipt.aol.com] has joined #lisp 17:10:27 -!- rasterbar [~rasterbar@unaffiliated/rasterbar] has quit [Read error: Connection reset by peer] 17:11:01 mrSpec [~Spec@89-75-35-251.dynamic.chello.pl] has joined #lisp 17:11:01 -!- mrSpec [~Spec@89-75-35-251.dynamic.chello.pl] has quit [Changing host] 17:11:01 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 17:13:38 L1SP [~wolfbytes@97.72.154.166] has joined #lisp 17:13:40 rasterbar [~rasterbar@unaffiliated/rasterbar] has joined #lisp 17:14:43 -!- gadek [~konrad@62.121.148.46] has quit [Quit: zomg jak póno!] 17:15:11 phua [~phua@adsl-99-63-93-4.dsl.chcgil.sbcglobal.net] has joined #lisp 17:17:52 Deathaholic [~Mococa@187.59.132.30] has joined #lisp 17:18:12 superflit_ [~superflit@67-41-202-224.hlrn.qwest.net] has joined #lisp 17:18:42 -!- statonjr [~statonjr@cpe-071-075-085-085.carolina.res.rr.com] has quit [Quit: statonjr] 17:21:10 -!- superflit [~superflit@174-16-124-68.hlrn.qwest.net] has quit [Ping timeout: 260 seconds] 17:21:11 -!- superflit_ is now known as superflit 17:22:19 Mococa [~Mococa@186.214.248.23] has joined #lisp 17:22:33 -!- jmbr [~jmbr@175.32.220.87.dynamic.jazztel.es] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 17:23:36 -!- Geef [~Geef@32.Red-83-61-34.dynamicIP.rima-tde.net] has quit [Quit: Error: Out of Cheese] 17:24:33 -!- Deathaholic [~Mococa@187.59.132.30] has quit [Ping timeout: 260 seconds] 17:31:56 -!- juniorroy [~juniorroy@212.36.228.103] has quit [Ping timeout: 248 seconds] 17:34:48 naryl [~weechat@213.170.70.141] has joined #lisp 17:35:40 spacemanaki [~spacemana@cpe-68-175-63-237.nyc.res.rr.com] has joined #lisp 17:36:07 p_l|backup [~plasek@pp84.internetdsl.tpnet.pl] has joined #lisp 17:36:15 -!- p_l|home [~pl@213.5.11.129] has quit [Quit: leaving] 17:38:04 mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has joined #lisp 17:39:03 -!- fgump [~fgump__@188.74.82.177] has quit [Ping timeout: 258 seconds] 17:39:28 Deathaholic [~Mococa@187.58.181.57] has joined #lisp 17:39:44 -!- Mococa [~Mococa@186.214.248.23] has quit [Read error: Connection reset by peer] 17:40:48 antifuchs: that is a long time ago. who? 17:41:05 they go by the names danakate and DocWilco (: 17:41:49 old school 17:44:07 stassats [~stassats@wikipedia/stassats] has joined #lisp 17:44:13 yeah (: 17:44:39 Modius_ [~Modius@cpe-70-123-140-183.austin.res.rr.com] has joined #lisp 17:45:01 frito [~keithmant@cpc2-sotn4-0-0-cust13.15-1.cable.virginmedia.com] has joined #lisp 17:46:23 -!- Modius [~Modius@cpe-70-123-140-183.austin.res.rr.com] has quit [Ping timeout: 252 seconds] 17:46:34 atomx [~user@86.35.150.23] has joined #lisp 17:47:00 brodo [~brodo@p5B023866.dip.t-dialin.net] has joined #lisp 17:49:18 -!- cesarbp [~chatzilla@189.247.135.172] has quit [Ping timeout: 240 seconds] 17:51:45 waaaaargh [~waaaaargh@agsb-5d853aad.pool.mediaWays.net] has joined #lisp 17:52:26 bsod1 [~sinan@31.141.51.80] has joined #lisp 17:52:51 fgump [~fgump__@188.74.82.177] has joined #lisp 17:52:58 what is a valid sequence type specifier for array? 17:53:06 silenius [~silenus@p54946753.dip.t-dialin.net] has joined #lisp 17:53:20 I'm trying to get array results with map 17:53:39 -!- Davidbrcz [~david@212-198-126-167.rev.numericable.fr] has quit [Read error: Connection reset by peer] 17:54:03 vector 17:54:45 stassats: thanks 17:55:32 -!- hugod [~hugod@bas1-montreal50-1279441465.dsl.bell.ca] has quit [Ping timeout: 250 seconds] 17:56:43 billitch [~billitch@78.250.214.17] has joined #lisp 17:57:20 http://zvon.org/other/elisp/Output/SEC20.html 17:57:26 4.3.5 sequence types 17:58:37 negaduck_ [~negaduck@85.202.112.90] has joined #lisp 17:59:35 -!- negaduck [~negaduck@85.202.112.90] has quit [Ping timeout: 276 seconds] 17:59:35 -!- negaduck_ is now known as negaduck 17:59:39 -!- negaduck [~negaduck@85.202.112.90] has quit [Remote host closed the connection] 17:59:40 elisp, are you sure? 17:59:56 orivej [~orivej@95-27-157-225.broadband.corbina.ru] has joined #lisp 18:01:17 -!- fgump [~fgump__@188.74.82.177] has quit [Ping timeout: 258 seconds] 18:01:18 nope, sounds general, but there maybe differences nevertheless.... 18:01:59 general like "The characters in a string can have text properties like characters in a buffer (see section Text Properties);"? 18:02:17 c_arenz [~arenz@p5B2CE4AF.dip.t-dialin.net] has joined #lisp 18:02:27 hugod [~hugod@bas1-montreal50-1279441465.dsl.bell.ca] has joined #lisp 18:02:53 fgump [~fgump__@188.74.82.177] has joined #lisp 18:03:17 -!- spacemanaki [~spacemana@cpe-68-175-63-237.nyc.res.rr.com] has left #lisp 18:03:36 pointing out to http://www.lispworks.com/documentation/HyperSpec/Body/t_seq.htm would be much better 18:05:01 -!- Deathaholic [~Mococa@187.58.181.57] has quit [Read error: Connection reset by peer] 18:05:28 Deathaholic [~Mococa@189.115.158.150] has joined #lisp 18:08:54 -!- dfox [~dfox@ip-94-113-17-246.net.upcbroadband.cz] has quit [Ping timeout: 240 seconds] 18:09:28 markskilbeck [~markskilb@host86-158-169-135.range86-158.btcentralplus.com] has joined #lisp 18:09:28 -!- markskilbeck [~markskilb@host86-158-169-135.range86-158.btcentralplus.com] has quit [Changing host] 18:09:28 markskilbeck [~markskilb@unaffiliated/markskilbeck] has joined #lisp 18:10:22 Hi, all. If some-func returns a lambda, why can I not do ((some-func) 1), but instead have to do (funcall (some-func) 1)? 18:10:43 because common lisp doesn't work that way 18:10:58 bgs100 [~ian@unaffiliated/bgs100] has joined #lisp 18:11:30 because the first element of a list is not evaluated, so that you can have functions and variables with the same name 18:12:12 *markskilbeck* tries to parse that 18:13:03 Why does not evaluating the first element of a list allow you to have functions and variables with the same name? 18:13:05 functions and variable live in different namespaces 18:13:30 Because if the first space was evaluated, the symbol there would have to be a regular variable which held a function. 18:13:35 markskilbeck: because you wouldn't be able to distinguish between them 18:13:53 -!- Deathaholic [~Mococa@189.115.158.150] has quit [Ping timeout: 252 seconds] 18:14:55 -!- bsod1 [~sinan@31.141.51.80] has quit [Remote host closed the connection] 18:17:23 Hmm. 18:19:15 markskilbeck: It lookups the first list item in functions namespace and evaluatres the rest of the arguments in value namespace. 18:19:42 -!- pjb [~t@81.202.16.46.dyn.user.ono.com] has quit [Remote host closed the connection] 18:19:43 Ah. I see now. 18:20:09 Sort of. 18:20:37 Bear with me... 18:20:42 markskilbeck: What confuses you? 18:21:40 pjb [~t@81.202.16.46.dyn.user.ono.com] has joined #lisp 18:21:54 ((lambda (x) x) 1) works fine. However, if I were to replace that lambda with a function that returned the lambda: ((some-func) 1), it wouldn't work. 18:22:36 rpg [~rpg@66.161.23.209.lan.static.cptelecom.net] has joined #lisp 18:22:36 Lambda's special. http://www.lispworks.com/documentation/lw50/CLHS/Body/s_lambda.htm 18:23:04 -!- pjb [~t@81.202.16.46.dyn.user.ono.com] has quit [Remote host closed the connection] 18:26:43 Deathaholic [~Mococa@187.59.200.240] has joined #lisp 18:30:25 pjb [~t@81.202.16.46.dyn.user.ono.com] has joined #lisp 18:30:46 tyler__ [~tyler__@c-98-224-87-209.hsd1.ca.comcast.net] has joined #lisp 18:30:52 -!- tyler__ [~tyler__@c-98-224-87-209.hsd1.ca.comcast.net] has left #lisp 18:31:45 -!- pnq [~nick@AC816EE8.ipt.aol.com] has quit [Ping timeout: 260 seconds] 18:33:58 -!- Deathaholic [~Mococa@187.59.200.240] has quit [Read error: Connection reset by peer] 18:34:29 Deathaholic [~Mococa@187.59.249.32] has joined #lisp 18:35:30 cesarbp [~chatzilla@189.247.135.172] has joined #lisp 18:37:09 nikodemus [~nikodemus@cs181063174.pp.htv.fi] has joined #lisp 18:37:34 -!- gravicappa [~gravicapp@ppp91-77-212-86.pppoe.mtu-net.ru] has quit [Ping timeout: 250 seconds] 18:38:40 lanthan [~ze@p54B7CD66.dip.t-dialin.net] has joined #lisp 18:38:48 well lambda is a macro too not ? 18:39:14 Yeah, but that's not what it's treated as in the function position, I don't think. 18:39:45 <_3b> it is a macro, but it doesn't get evaluated in the operator position, so the macro isn't used there 18:39:47 homie: it's a macro, but it's unrelated to it being a function 18:39:55 ok 18:40:04 lambda expands to (function (lambda () ...)) 18:40:19 so it's jut for the lazy, who don't like to type #'(lambda ()) 18:40:32 -!- ezakimak [~nick@ns1.nickleippe.com] has quit [Ping timeout: 276 seconds] 18:40:47 <_3b> which is for the lazy who don't want to type (function (lambda ...)) 18:41:41 gravicappa [~gravicapp@ppp91-77-178-156.pppoe.mtu-net.ru] has joined #lisp 18:42:00 (coerce '(lambda (x) (1+ x)) 'function) also produces a function, but neither here, the LAMBDA symbol is treated as a macro. 18:42:50 it's already in the function position ok 18:43:26 so, lambda expressions, and lambda-the-macro are different things, although related 18:43:45 -!- gemelen [~shelta@shpd-95-53-183-84.vologda.ru] has quit [Read error: Connection reset by peer] 18:46:16 pkhuong: I'm glad matlisp was useful to you! 18:46:23 -!- gravicappa [~gravicapp@ppp91-77-178-156.pppoe.mtu-net.ru] has quit [Ping timeout: 264 seconds] 18:50:53 bad_alloc [~bad_alloc@HSI-KBW-085-216-109-135.hsi.kabelbw.de] has joined #lisp 18:50:58 -!- waaaaargh [~waaaaargh@agsb-5d853aad.pool.mediaWays.net] has quit [Quit: WTF? leaving!] 18:50:59 public announcement: i just wrote down my 100th line of lisp code 18:51:08 jtza8 [~jtza8@wbs-41-208-219-225.wbs.co.za] has joined #lisp 18:51:14 -!- ianmcorvidae [~ianmcorvi@fsf/member/ianmcorvidae] has quit [Remote host closed the connection] 18:51:28 what does that mean for an average joe like me? 18:52:33 bobbysmith007 [~russ@216.155.103.30] has joined #lisp 18:52:46 mcstar: yay 18:52:53 Vejeta [~user@unaffiliated/vejeta] has joined #lisp 18:52:55 mcstar: congrats, now write some 100x more (: 18:53:12 thx 18:53:14 im on it 18:53:31 For use in a macro, is there a function for quoting the value of a variable? All I can come up with is (lambda (x) (car `(,x))) 18:53:32 -!- realitygrill [~realitygr@76.226.201.97] has quit [Ping timeout: 240 seconds] 18:54:04 doing what? 18:54:08 <_3b> ',var? 18:54:24 <_3b> or (cons 'quote var)? 18:55:21 Well, I have a list of symbols that I wish to pass to a function in a macro, but I need to quote each one. 18:55:26 <_3b> (quote ...) is a normal form like any other you qould build in a macro, so all the same options work there too 18:56:42 _3b: Thanks, quote isn't any good if all you'd like to do is map a list. 18:57:03 *_3b* fails to parse that 18:57:04 can you paste the code? i can't understand what you're trying to do 18:57:23 Right... 18:57:52 -!- nikodemus [~nikodemus@cs181063174.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 19:01:05 -!- c_arenz [~arenz@p5B2CE4AF.dip.t-dialin.net] has quit [Ping timeout: 258 seconds] 19:01:59 seangrove [~user@c-98-234-242-172.hsd1.ca.comcast.net] has joined #lisp 19:02:24 -!- Areil [~user@113.172.38.77] has quit [Remote host closed the connection] 19:02:40 Areil [~user@113.172.38.77] has joined #lisp 19:03:15 -!- mtd__ [~martin@67.207.131.107] has quit [Ping timeout: 260 seconds] 19:04:14 mtd__ [~martin@chop.xades.com] has joined #lisp 19:04:24 http://paste.lisp.org/display/121697#1 19:04:57 There you go... there's some retarded code in the original macro. 19:05:23 <_3b> what should it expand to? 19:05:38 -!- rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has quit [Ping timeout: 240 seconds] 19:06:03 Well, I've got it to work... here's an example, if you like: 19:06:40 (internal foo) => (IGNORE-SYMBOLS 'FOO) 19:06:54 <_3b> what about (internal foo bar)? 19:07:05 -!- Deathaholic [~Mococa@187.59.249.32] has quit [Read error: Operation timed out] 19:07:30 ah, yes... :) 19:08:00 <_3b> (defmacro internal (&rest s) `(ignore-signals ',s)) ? 19:08:43 ehu [~ehuels@mail.zoodk.cz] has joined #lisp 19:08:56 pnq [~nick@ACA206B1.ipt.aol.com] has joined #lisp 19:09:04 (ignore-signals ',s) => (ignore-signals '(a b c)) 19:09:07 right? 19:09:28 <_3b> or (defmacro internal (&rest s) `(ignore-signals (list ,@(loop for i in s collect `',i)))) ? 19:09:37 <_3b> yeah 19:09:47 (defmacro internal (&rest s) `(apply #'ignore-signals ',s)) 19:10:47 <_3b> ah, maybe (defmacro internal (&rest s) `(ignore-signals ,@(loop for i in s collect `',i))) ? 19:11:26 -!- mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has quit [Quit: leaving] 19:11:42 stis [~stis@host-90-235-22-69.mobileonline.telia.com] has joined #lisp 19:12:05 -!- rpg [~rpg@66.161.23.209.lan.static.cptelecom.net] has quit [Quit: rpg] 19:12:25 -!- incandenza [~incandenz@ip68-231-109-244.ph.ph.cox.net] has left #lisp 19:12:44 La0fer [~Laofers1@64.120.233.114] has joined #lisp 19:12:45 perhaps... I'll give that a go... but thanks _3b, you helped me think differently. :) 19:15:13 Deathaholic [~Mococa@189.115.149.251] has joined #lisp 19:16:34 -!- billitch [~billitch@78.250.214.17] has quit [Read error: Connection reset by peer] 19:18:49 billitch [~billitch@78.250.214.17] has joined #lisp 19:19:33 -!- Athas [~athas@0x50a157d6.alb2nxx15.dynamic.dsl.tele.dk] has quit [Remote host closed the connection] 19:19:58 realitygrill [~realitygr@12.27.192.74] has joined #lisp 19:21:02 pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has joined #lisp 19:22:08 Ragnaroek [~chatzilla@p5B0C77A3.dip.t-dialin.net] has joined #lisp 19:23:08 -!- billitch [~billitch@78.250.214.17] has quit [Read error: Connection reset by peer] 19:23:52 -!- az [~az@p4FE4E8A4.dip.t-dialin.net] has quit [Quit: WeeChat 0.3.4] 19:24:50 *Xach* looks around for a rittweiler 19:25:05 billitch [~billitch@78.250.214.17] has joined #lisp 19:25:25 -!- jtza8 [~jtza8@wbs-41-208-219-225.wbs.co.za] has quit [Quit: Good night.] 19:26:59 -!- phua [~phua@adsl-99-63-93-4.dsl.chcgil.sbcglobal.net] has quit [Quit: leaving] 19:27:20 -!- Areil [~user@113.172.38.77] has quit [Ping timeout: 276 seconds] 19:29:06 naeg [~naeg@194.208.239.170] has joined #lisp 19:30:48 -!- billitch [~billitch@78.250.214.17] has quit [Ping timeout: 264 seconds] 19:31:02 billitch [~billitch@78.250.204.88] has joined #lisp 19:31:46 gravicappa [~gravicapp@ppp91-77-174-166.pppoe.mtu-net.ru] has joined #lisp 19:33:20 mk2` [~user@cpc7-lewi14-2-0-cust39.2-4.cable.virginmedia.com] has joined #lisp 19:39:24 juniorroy [~juniorroy@212.36.228.103] has joined #lisp 19:42:48 billitch1 [~billitch@78.250.193.124] has joined #lisp 19:44:20 -!- billitch [~billitch@78.250.204.88] has quit [Ping timeout: 240 seconds] 19:44:28 Is there something like cl-who for latex? I would like to write latex from within Common Lisp. But I don't want to write strings between quotation marks. That would be tedious. Would it actually be possible to modify the reader accordingly? 19:45:14 sakekasi [~sakekasi@99-28-149-24.lightspeed.irvnca.sbcglobal.net] has joined #lisp 19:45:18 I pasted some example here: http://paste.lisp.org/+2LWJ 19:45:47 Onyxyte [~Onyxyte@r75-110-112-109.rmntcmtc02.rcmtnc.ab.dh.suddenlink.net] has joined #lisp 19:46:00 Davidbrcz [~david@212-198-126-167.rev.numericable.fr] has joined #lisp 19:46:01 how do I make a copy of an array so that if I make changes to the original, this copy won't change? 19:46:11 c|mell [~cmell@195.7.7.34] has joined #lisp 19:46:29 Xach: must be out there throwing stones! 19:51:07 -!- superjudge [~superjudg@c83-250-110-188.bredband.comhem.se] has quit [Quit: superjudge] 19:53:10 *Xach* wonders if that's a "german names mean stuff" joke 19:53:49 billitch [~billitch@78.250.215.2] has joined #lisp 19:54:18 sakekasi: copy-seq? 19:54:53 seems more like a may day riot joke to me 19:54:53 bobbysmith007, I have a 3 by 3 array and am getting the error that it is not a sequence 19:55:02 Xach: no it is a "may 1st revolution" kind of joke 19:56:36 yeah, I'm merely pondering what those swiss (and swiss-by-choice) are doing on labor day. Knowing how tidy they are, throwing stones and setting police cars on fire is probably out. 19:57:00 -!- billitch1 [~billitch@78.250.193.124] has quit [Ping timeout: 248 seconds] 19:59:05 -!- bad_alloc [~bad_alloc@HSI-KBW-085-216-109-135.hsi.kabelbw.de] has quit [Quit: Verlassend] 19:59:32 redline6561 [~user@c-66-56-55-169.hsd1.ga.comcast.net] has joined #lisp 19:59:45 -!- mcstar [~mcstar@adsl-89-132-23-116.monradsl.monornet.hu] has left #lisp 20:00:31 how do I install a package without quicklisp? 20:01:30 Athas [~athas@130.225.165.35] has joined #lisp 20:02:54 Hah, now you know quicklisp has mindshare 20:02:58 fisxoj [~fisxoj@cpe-24-59-205-231.twcny.res.rr.com] has joined #lisp 20:03:17 sakekasi: load asdf, add the project's directory to the source registry, (asdf:load-system "name-of-the-thing-to-load") 20:03:21 kencausey: and a posse 20:04:38 In a more general sense I suspect if you check the documentation for the project in question they may still discuss their past preferred installation path. 20:06:45 Mococa [~Mococa@189.115.149.251] has joined #lisp 20:07:19 -!- Davsebamse [~davse@gate.ipvision.dk] has quit [Quit: Davsebamse] 20:07:41 Xach, how do I load asdf? just with load? 20:07:53 Xach, also, how do I add something to the source directory? 20:08:01 -!- Deathaholic [~Mococa@189.115.149.251] has quit [Ping timeout: 260 seconds] 20:08:31 For that, check your implementation's documentation, but in all likelihood it is already there. 20:09:18 although again, traditionally the documentation for any given package will discuss the installation mechanism for the most common CL implementations. 20:09:32 s/mechanism/mechanisms/ 20:09:36 kencausey, how woudl I do it in sbcl? 20:10:26 Sorry, but I don't crowd my mind with the details, I would look at the documentation. 20:10:49 kencausey, ok 20:12:44 -!- brodo [~brodo@p5B023866.dip.t-dialin.net] has quit [Quit: brodo] 20:13:11 Unfortunately I find the the link in the SBCL manual to ASDF info does not work currently 20:13:41 -!- ehu [~ehuels@mail.zoodk.cz] has quit [Ping timeout: 276 seconds] 20:14:14 sakekasi: I use SBCL in linux. I untar the package in ~/.local/share/common-lisp/source. Then you search for the *.asd file and use (require :asdf) (require :opticl) or whatever your package is called. 20:18:19 sakekasi: I think if your on another system you can just set asdf:*central-registry* to the path where you extracted the package before doing the require/load-system. 20:21:56 bsod1 [~sinan@31.141.102.217] has joined #lisp 20:22:07 Ragnaroek_ [~chatzilla@vpnsh0035.fh-trier.de] has joined #lisp 20:22:41 wccoder [~wccoder@d64-180-206-148.bchsia.telus.net] has joined #lisp 20:23:44 -!- jewel [~jewel@196-209-224-248.dynamic.isadsl.co.za] has quit [Ping timeout: 250 seconds] 20:25:46 spacemanaki [~spacemana@cpe-68-175-63-237.nyc.res.rr.com] has joined #lisp 20:25:51 -!- spacemanaki [~spacemana@cpe-68-175-63-237.nyc.res.rr.com] has left #lisp 20:28:12 -!- littlebobby [~bob@unaffiliated/littlebobby] has quit [Quit: Ex-Chat] 20:28:31 kai__ [~kai@e179021017.adsl.alicedsl.de] has joined #lisp 20:28:33 -!- kai__ is now known as wetnosed 20:29:11 -!- Joreji [~thomas@66-232.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 240 seconds] 20:29:44 -!- salva_oz [~kvirc@105.11.117.91.dynamic.mundo-r.com] has quit [Ping timeout: 276 seconds] 20:32:51 s0ber_ [~s0ber@111-240-171-155.dynamic.hinet.net] has joined #lisp 20:33:11 Geef [~Geef@32.Red-83-61-34.dynamicIP.rima-tde.net] has joined #lisp 20:33:38 Krystof_ [~csr21@2.26.229.10] has joined #lisp 20:34:09 -!- cesarbp [~chatzilla@189.247.135.172] has quit [Ping timeout: 240 seconds] 20:34:41 -!- s0ber [~s0ber@111-240-167-21.dynamic.hinet.net] has quit [Ping timeout: 240 seconds] 20:34:46 -!- s0ber_ is now known as s0ber 20:35:32 ljames [~ln@unaffiliated/ljames] has joined #lisp 20:35:52 -!- Krystof [~csr21@2.26.242.135] has quit [Ping timeout: 250 seconds] 20:42:40 -!- Ragnaroek_ [~chatzilla@vpnsh0035.fh-trier.de] has quit [Ping timeout: 258 seconds] 20:43:05 -!- silenius [~silenus@p54946753.dip.t-dialin.net] has quit [Remote host closed the connection] 20:52:24 -!- Ragnaroek [~chatzilla@p5B0C77A3.dip.t-dialin.net] has quit [Remote host closed the connection] 20:53:11 rvirding [~chatzilla@h134n5c1o1034.bredband.skanova.com] has joined #lisp 20:53:24 -!- naeg [~naeg@194.208.239.170] has quit [Quit: WeeChat 0.3.4] 20:57:14 -!- fisxoj [~fisxoj@cpe-24-59-205-231.twcny.res.rr.com] has quit [Ping timeout: 258 seconds] 20:57:49 fisxoj [~fisxoj@cpe-24-59-205-231.twcny.res.rr.com] has joined #lisp 20:58:30 p_l|backup: we're glad you find perec useful 21:02:38 -!- Athas [~athas@130.225.165.35] has quit [Remote host closed the connection] 21:04:44 -!- billitch [~billitch@78.250.215.2] has quit [Ping timeout: 240 seconds] 21:06:19 statonjr [~statonjr@cpe-071-075-085-085.carolina.res.rr.com] has joined #lisp 21:07:27 ezakimak [~nick@ns1.nickleippe.com] has joined #lisp 21:07:27 Is there any way to get SBCL to create unicode filenames properly, or will I have to resort to FFI hacks (I haven't updated my SBCL in a while(it's at 1.0.39 now) and will do so a bit later)? 21:07:56 <_3b> is there a portable definition of 'properly'? 21:08:07 *_3b* 's guess would be make sure locale is set up correctly though 21:08:45 the relevant *features* of this installation are: :sb-unicode :win32 21:09:04 unicode usually worked fine, but i never tried creating files named using unicode strings 21:09:15 <_3b> ah, win32, not sure about that 21:09:38 currently the failure isn't in any OS API call/thunk 21:09:48 but it tries converting the unicode character to ANSI before passing it to API 21:09:59 instead of just passing unicode filenames directly to *W APIs (on win32) 21:10:13 Beetny [~Beetny@ppp118-208-150-156.lns20.bne1.internode.on.net] has joined #lisp 21:10:28 (the conversion of the unicode character itself fails) 21:11:36 -!- bsod1 [~sinan@31.141.102.217] has quit [Ping timeout: 264 seconds] 21:12:53 I think if you look around a bit you will find that Win APIs can choke on proper unicode filenames, it's a known issue and I think MS suggests use of 8.3 names. I could be confused though as I haven't looked into that in detail. 21:13:08 I saw some recent blog post on hacker news or reddit about this 21:13:48 -!- statonjr [~statonjr@cpe-071-075-085-085.carolina.res.rr.com] has quit [Quit: statonjr] 21:14:02 kencausey, win32 has ANSI APIs (end in A), and UNICODE APIs (end in W). The W ones work perfectly (since WinNT), and I've never seen a single problem. The *A ones just convert from the user's locale to unicode and call the *W ones 21:14:03 actually, it might have been more about long filenames, perhaps I shouldn't have spoken 21:14:17 my problem here isn't those APIs though 21:14:35 SBCL itself tries to convert the characters to ANSI instead of just passing them as UNICODE to the APIs 21:15:00 (by ANSI i mean whatever is the user's locale) 21:15:27 <_3b> well, sbcl doesn't use 'unicode' as win means it internally, so it has to translate in some form 21:15:52 this word, unicode, I don't think it means what you think means. 21:15:58 <_3b> in unix you would just set locale and it would work, don't remember how to do that on windows 21:16:32 well, if it would just use UTF16 as locale and call the *W APIs, it would work 21:16:35 _3b: or play with some of the corresponding special variables in SBCL. Windows is UCS-2, right? 21:16:58 <_3b> pkhuong: i think so, dunno if sbcl calls the right functions for that though 21:17:36 <_3b> ljames: with luck, pkhuong knows the variables to tweak and we can try it 21:17:44 -!- setmeaway [setmeaway3@119.201.52.252] has quit [Quit: Leaving] 21:17:52 <_3b> with less luck, you may need to patch it to use the right API :( 21:17:58 setmeaway [setmeaway3@119.201.52.252] has joined #lisp 21:18:01 well, i'm looking at win32.lisp now and noticed: 21:18:11 (define-alien-type system-string #!-sb-unicode c-string #!+sb-unicode (c-string :external-format :ucs-2)) 21:18:19 which is how it should be 21:18:44 SB-IMPL::*DEFAULT-EXTERNAL-FORMAT* or sb-alien::*default-c-string-external-format*, maybe. 21:18:45 <_3b> might also try the win32-threads fork if you haven't yet, not sure if it fixes that or not, but it at least gets more work than mainline win32 21:19:18 ianmcorvidae [~ianmcorvi@pool-96-233-183-125.spfdma.east.verizon.net] has joined #lisp 21:19:22 -!- ianmcorvidae [~ianmcorvi@pool-96-233-183-125.spfdma.east.verizon.net] has quit [Changing host] 21:19:22 ianmcorvidae [~ianmcorvi@fsf/member/ianmcorvidae] has joined #lisp 21:19:50 interesting 21:19:50 gemelen [~shelta@shpd-95-53-183-84.vologda.ru] has joined #lisp 21:19:52 -!- Davidbrcz [~david@212-198-126-167.rev.numericable.fr] has quit [Read error: Operation timed out] 21:19:58 no more crash from SBCL 21:20:09 after (setf sb-alien::*default-c-string-external-format* :ucs-2 SB-IMPL::*DEFAULT-EXTERNAL-FORMAT* :ucs-2) 21:20:20 although Emacs/SLIME kind of died 21:20:44 *default-external-format* might be bad for slime if it still expects utf-8. 21:20:49 oh 21:21:03 I'd try setting just the sb-alien one. 21:21:22 Joreji [~thomas@66-232.eduroam.RWTH-Aachen.DE] has joined #lisp 21:23:29 restarting SLIME and SBCL and will test (it's giving various errors Emacs-related errors for now, maybe a restart will fix it) 21:24:05 mark__ [~markskilb@host86-158-169-135.range86-158.btcentralplus.com] has joined #lisp 21:26:16 you could also bind it around your file creation calls. 21:26:34 that's what i'm trying now, although if an error occurs within the place where i binded it, slime still dies 21:27:00 -!- markskilbeck [~markskilb@unaffiliated/markskilbeck] has quit [Ping timeout: 250 seconds] 21:27:12 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has left #lisp 21:27:39 attila_lendvai [~attila_le@adsl-89-132-54-44.monradsl.monornet.hu] has joined #lisp 21:27:39 -!- attila_lendvai [~attila_le@adsl-89-132-54-44.monradsl.monornet.hu] has quit [Changing host] 21:27:39 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 21:28:27 will try testing without SLIME 21:28:45 -!- homie [~levgue@xdsl-87-79-193-43.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 21:31:13 francogrex [~francogre@server.nowhere-else.org] has joined #lisp 21:31:18 -!- urandom__ [~user@p548A7B78.dip.t-dialin.net] has quit [Remote host closed the connection] 21:31:46 -!- kpreid [~kpreid@cpe-67-249-228-147.twcny.res.rr.com] has quit [Quit: Quitting] 21:31:46 -!- francogrex [~francogre@server.nowhere-else.org] has quit [Remote host closed the connection] 21:33:25 peterhil [~peterhil@a91-152-142-2.elisa-laajakaista.fi] has joined #lisp 21:35:14 -!- stis [~stis@host-90-235-22-69.mobileonline.telia.com] has quit [Remote host closed the connection] 21:37:34 without SLIME, it seems to get past the conversion error that it had before (when it was converting utf8 to some non-unicode locale), however now it's calling non-unicode APIs (win32, CreateFileA), instead of the unicode versions (CreateFileW) 21:38:22 which essentially means that it's passing ucs-2 strings to APIs which expect some ANSI ones 21:40:00 (I'm testing with: (let ((sb-alien::*default-c-string-external-format* :ucs-2)) (with-open-file (stream (merge-pathnames #p"path\\to\\something\\" (string (code-char #x2784))) :direction :output :element-type '(unsigned-byte 8) :if-exists :supersede :if-does-not-exist :create :external-format :utf8) (write-sequence #(0 1 2 3) stream)))) 21:40:33 Spion__ [~spion@79.125.200.103] has joined #lisp 21:41:30 hmm, it just uses _open (from libc) 21:43:00 -!- Mococa [~Mococa@189.115.149.251] has quit [Quit: Saindo] 21:43:09 Mococa [~Mococa@189.115.149.251] has joined #lisp 21:43:26 francogrex [franco@grex.cyberspace.org] has joined #lisp 21:43:56 -!- pnq [~nick@ACA206B1.ipt.aol.com] has quit [Ping timeout: 246 seconds] 21:44:00 -!- Spion_ [~spion@unaffiliated/spion] has quit [Ping timeout: 258 seconds] 21:47:26 -!- JuanDaugherty [~Ren@cpe-72-228-177-92.buffalo.res.rr.com] has quit [Remote host closed the connection] 21:47:46 -!- Mococa is now known as Mock_Away 21:47:58 i think adding some #+(and :sb-unicode :win32) stuff to unix-open (in unix.lisp) will probably fix this problem, i'll play around with it a bit and see... but maybe I should first update to latest SBCL first 21:48:01 -!- realitygrill [~realitygr@12.27.192.74] has quit [Quit: realitygrill] 21:48:07 -!- Mock_Away [~Mococa@189.115.149.251] has quit [Remote host closed the connection] 21:49:02 -!- Jasko [~tjasko@24.249.87.250] has quit [Ping timeout: 276 seconds] 21:49:44 Jasko [~tjasko@24.249.87.250] has joined #lisp 21:49:53 -!- dullard [~user@188-223-137-38.zone14.bethere.co.uk] has quit [Remote host closed the connection] 21:50:32 -!- francogrex [franco@grex.cyberspace.org] has left #lisp 21:52:55 -!- bobbysmith007 [~russ@216.155.103.30] has quit [Quit: Leaving.] 21:53:12 bobbysmith007 [~russ@216.155.103.30] has joined #lisp 21:53:19 -!- fgump [~fgump__@188.74.82.177] has quit [Quit: Leaving] 21:53:25 francogrex [franco@grex.cyberspace.org] has joined #lisp 21:54:13 wow, just found out that mt remote host offers not only gcc but also sbcl and ecl! 21:54:31 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Quit: mrSpec] 21:57:32 -!- bobbysmith007 [~russ@216.155.103.30] has quit [Ping timeout: 240 seconds] 21:58:49 ltriant [~ltriant@110-174-168-43.static.tpgi.com.au] has joined #lisp 21:59:15 -!- francogrex [franco@grex.cyberspace.org] has quit [Quit: leaving] 22:02:48 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Disconnected by services] 22:02:49 attila_lendvai1 [~attila_le@adsl-89-132-54-61.monradsl.monornet.hu] has joined #lisp 22:02:49 -!- attila_lendvai1 is now known as attila_lendvai 22:02:49 -!- attila_lendvai [~attila_le@adsl-89-132-54-61.monradsl.monornet.hu] has quit [Changing host] 22:02:49 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 22:03:17 Phoodus [~foo@ip68-231-47-70.ph.ph.cox.net] has joined #lisp 22:04:53 brodo [~brodo@p5B022890.dip.t-dialin.net] has joined #lisp 22:09:03 rpg [~rpg@216.243.156.16.real-time.com] has joined #lisp 22:09:48 -!- HET2 [~diman@host109-153-170-244.range109-153.btcentralplus.com] has quit [Quit: This computer has gone to sleep] 22:13:17 turns out the bug was fixed in this fork http://www.siftsoft.com/inprogress/forknews.html so I'll just use that 22:19:28 -!- rvirding [~chatzilla@h134n5c1o1034.bredband.skanova.com] has quit [Remote host closed the connection] 22:20:50 -!- morphling [~stefan@gssn-5f756d02.pool.mediaWays.net] has quit [Remote host closed the connection] 22:25:04 -!- slyrus [~chatzilla@adsl-76-254-45-145.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 250 seconds] 22:25:22 xan_ [~xan@99.13.242.166] has joined #lisp 22:26:36 -!- Krystof_ [~csr21@2.26.229.10] has quit [Ping timeout: 264 seconds] 22:26:38 sbahra [~sbahra@pool-74-106-252-24.bltmmd.fios.verizon.net] has joined #lisp 22:26:56 -!- gravicappa [~gravicapp@ppp91-77-174-166.pppoe.mtu-net.ru] has quit [Ping timeout: 276 seconds] 22:29:39 -!- ec|iPad [~elliottca@154.sub-69-96-234.myvzw.com] has quit [Quit: ec|iPad] 22:30:18 -!- fisxoj [~fisxoj@cpe-24-59-205-231.twcny.res.rr.com] has quit [Ping timeout: 240 seconds] 22:31:08 -!- mishoo__ [~mishoo@79.112.237.124] has quit [Ping timeout: 240 seconds] 22:31:32 fisxoj [~fisxoj@cpe-24-59-205-231.twcny.res.rr.com] has joined #lisp 22:31:55 rvirding [~chatzilla@h134n5c1o1034.bredband.skanova.com] has joined #lisp 22:35:33 -!- peterhil [~peterhil@a91-152-142-2.elisa-laajakaista.fi] has quit [Quit: leaving] 22:40:35 -!- xan_ [~xan@99.13.242.166] has quit [Ping timeout: 240 seconds] 22:41:51 http://pastebin.com/R2xzfmRm 22:42:38 (xpath:evaluate "//table/tbody" *doc*) doesn't return the table data 22:42:56 what's wrong there? 22:43:44 nyef [~nyef@pool-64-222-131-96.man.east.myfairpoint.net] has joined #lisp 22:43:49 Hello all. 22:43:54 hi nyef 22:43:59 paul0`: namespace 22:45:23 xpath:with-namespace? 22:46:36 -!- ch077179 [~urs@xdsl-188-155-1-133.adslplus.ch] has quit [Quit: Verlassend] 22:47:29 So, I am finally almost happy with CLIM geometry, as messed up as it is. 22:48:08 peterhil [~peterhil@a91-152-142-2.elisa-laajakaista.fi] has joined #lisp 22:49:29 -!- wetnosed [~kai@e179021017.adsl.alicedsl.de] has quit [Remote host closed the connection] 22:49:42 I did find a region composition that is required to signal an error when attempted, but makes perfect sense otherwise. 22:56:25 -!- brodo [~brodo@p5B022890.dip.t-dialin.net] has quit [Quit: brodo] 23:04:15 sellout [~Adium@c-24-61-13-161.hsd1.ma.comcast.net] has joined #lisp 23:05:29 lichtblau: which namespace I should use for that document? http://www.portaltransparencia.gov.br/PortalTransparenciaPesquisaFavorecidoPF.asp?Exercicio=2010 23:09:20 -!- Kenjin [~josesanto@bl22-75-103.dsl.telepac.pt] has quit [Quit: Computer has gone to sleep] 23:11:43 I just found es shell, which is something I could use. It's an scheme influenced shell with a sensible syntax, ie. not requiring parenthesis for simple commands. This is different from esh, that requires parens. 23:12:13 nha [~prefect@250-194.105-92.cust.bluewin.ch] has joined #lisp 23:12:19 (Getting annoyed by having to reconf zsh and utf-8 not working.) 23:14:38 -!- rvirding [~chatzilla@h134n5c1o1034.bredband.skanova.com] has left #lisp 23:17:49 And it seems that UTf-8 works perfectly in es shell. With links etc... This is my new shell. Hmm, where are Emacs style keybindings? :-) 23:21:48 i gave up on shells. 23:25:41 -!- benny [~benny@i577A835E.versanet.de] has quit [Ping timeout: 240 seconds] 23:26:16 xale: What do you use then? 23:27:46 bash. 23:28:02 -!- sakekasi [~sakekasi@99-28-149-24.lightspeed.irvnca.sbcglobal.net] has quit [Ping timeout: 252 seconds] 23:28:04 i just use it to run other programs in a very simple manner. 23:28:51 Like emacs? :-) 23:29:12 And use eshell if necessary? 23:29:48 BrandLeeJones [~BrandLeeJ@84.114.246.246] has joined #lisp 23:30:13 pnq [~nick@AC8101A3.ipt.aol.com] has joined #lisp 23:33:28 benny [~benny@i577A7D19.versanet.de] has joined #lisp 23:41:39 -!- ezakimak [~nick@ns1.nickleippe.com] has quit [Read error: Operation timed out] 23:41:41 -!- udzinari [~udzinari@ip-89-102-12-6.net.upcbroadband.cz] has quit [Quit: zzzzzzZZZZZZZZZzzzzzzz] 23:41:47 Kenjin [~josesanto@bl19-220-180.dsl.telepac.pt] has joined #lisp 23:43:19 am0c [~am0c@124.49.51.197] has joined #lisp 23:45:54 guther_ [guther@gateway/shell/bshellz.net/x-dlbbsweqtshehvyx] has joined #lisp 23:46:17 ec|iPad [~elliottca@154.sub-69-96-234.myvzw.com] has joined #lisp 23:47:18 guther__ [guther@gateway/shell/bshellz.net/x-jepsypyxjtazitvn] has joined #lisp 23:48:12 -!- guther__ [guther@gateway/shell/bshellz.net/x-jepsypyxjtazitvn] has quit [Client Quit] 23:48:17 -!- akimbo [~oy@cpe-024-163-093-204.nc.res.rr.com] has quit [Remote host closed the connection] 23:49:09 ezakimak [~nick@ns1.nickleippe.com] has joined #lisp 23:49:37 -!- Geef [~Geef@32.Red-83-61-34.dynamicIP.rima-tde.net] has quit [Quit: Error: Out of Cheese] 23:52:32 tolkad [~tolkad@unaffiliated/tolkad] has joined #lisp 23:52:39 -!- tolkad [~tolkad@unaffiliated/tolkad] has left #lisp 23:54:48 Anyone have some CL code that parses CSS? 23:56:09 I've seen something like that, but I can't remember where. 23:56:22 -!- guther_ [guther@gateway/shell/bshellz.net/x-dlbbsweqtshehvyx] has quit [Quit: leaving] 23:56:27 (I'm pretty sure I haven't added anything like that to Quicklisp, but I can't keep track.) 23:57:08 gigamonkey: in closure 23:58:00 -!- szr [~SR@unaffiliated/szr] has left #lisp 23:58:01 fe[nl]ix: is it broken out at all? 23:58:32 I don't know 23:59:38 -!- prip [~foo@host217-133-dynamic.43-79-r.retail.telecomitalia.it] has quit [Ping timeout: 240 seconds]