00:01:07 aidalgol [~user@202.36.179.65] has joined #lisp 00:02:43 simplechat [~simplecha@unaffiliated/simplechat] has joined #lisp 00:03:11 -!- HET2 [~diman@cpc1-cdif12-2-0-cust125.cdif.cable.virginmedia.com] has quit [Quit: This computer has gone to sleep] 00:04:49 zard1989 [~user@Joe.m4.ntu.edu.tw] has joined #lisp 00:06:52 vandemar [cohen@2001:470:1f10:56b::4] has joined #lisp 00:10:29 -!- Arelius [d0507552@gateway/web/freenode/ip.208.80.117.82] has quit [Quit: Page closed] 00:11:11 seangrove [~user@70-36-236-168.dsl.static.sonic.net] has joined #lisp 00:13:27 -!- pdelgallego [~pdelgalle@1503031474.dhcp.dbnet.dk] has quit [Ping timeout: 240 seconds] 00:14:16 -!- jan247 [~jan247@unaffiliated/jan247] has quit [Quit: jan247] 00:17:03 -!- coyo [~unf@pool-71-164-234-173.dllstx.fios.verizon.net] has quit [Quit: KVIrc Insomnia 4.0.0, revision: , sources date: 20090520, built on: 2010/07/07 00:46:30 UTC http://www.kvirc.net/] 00:18:18 -!- metasyntax` [~taylor@72.86.89.174] has quit [Quit: restarting...] 00:18:26 coyO [~unf@pool-71-164-234-173.dllstx.fios.verizon.net] has joined #lisp 00:19:25 -!- srolls [~user@167.216.131.126] has quit [Remote host closed the connection] 00:23:20 zomgbie [~jesus@h081217133138.dyn.cm.kabsi.at] has joined #lisp 00:23:23 -!- pavellud` [~user@87.246.30.76] has quit [Ping timeout: 260 seconds] 00:25:05 azathoth99 [~g@w005.z209031033.sjc-ca.dsl.cnc.net] has joined #lisp 00:25:22 what is the best way for a lisp program to make use of all CPU on a box? 00:25:29 -!- zard1989 [~user@Joe.m4.ntu.edu.tw] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 00:25:37 http://www.cliki.net/chanl something like that? 00:26:13 The "best" way? Probably not any of the ways I've come up with... 00:26:52 ... though I think the last one wasn't so much using up the CPU as causing maskable interrupts to get locked out somehow... 00:28:10 davazp [~user@83.54.164.142] has joined #lisp 00:28:30 erlang apparently is good as is haskell 00:28:37 is lisp well able to utilize 8 core boxes? 00:28:56 is multi core support a reason not to choose lisp vs erlang etc? 00:29:11 That's one of those utterly-stupid "it depends" type questions. 00:29:44 Someone, somewhere, is probably using lisp to generate erlang source code. 00:32:18 kwertii [~kwertii@ResNet-32-110.resnet.ucsb.edu] has joined #lisp 00:34:15 -!- Avisch [~Avisch@70-101-99-64.dsl1-field.roc.ny.frontiernet.net] has quit [Quit: Leaving] 00:35:40 <_3b> most lisp implementations have the same sort of threading support as any other language, so no better or worse at that level, though lisp tends to be a bit more flexible about letting you layer nicer abstractions on top of it (chanl as one example, or various STM implementations, or *lisp, or whatever) 00:36:30 <_3b> if you have a problem that is easily split into 8 independent parts, and wouldn't stress the lack of a parallel GC, lisp would be a reasonable choice 00:37:29 <_3b> if you have something that fits particularly well to erlang, erlang might be a good choice 00:37:53 Avisch [~Avisch@70-101-99-64.dsl1-field.roc.ny.frontiernet.net] has joined #lisp 00:38:47 -!- _3b`` is now known as _3b` 00:39:34 -!- atomx [~user@93.112.81.240] has quit [Ping timeout: 276 seconds] 00:41:11 atomx [~user@93.112.81.240] has joined #lisp 00:42:20 xyxxyyy [~xyxu@58.41.56.37] has joined #lisp 00:43:18 -!- xyxxyyy [~xyxu@58.41.56.37] has quit [Client Quit] 00:43:25 xyxxyyy [~xyxu@58.41.56.37] has joined #lisp 00:43:55 -!- serichsen [~user@f049040088.adsl.alicedsl.de] has quit [Quit: Good night!] 00:44:51 Doc__ [~doc@cpe-76-188-187-241.neo.res.rr.com] has joined #lisp 00:45:06 -!- Doc__ is now known as DocOnDev 00:45:17 -!- atomx [~user@93.112.81.240] has quit [Ping timeout: 240 seconds] 00:47:57 abugosh [~Adium@pool-74-103-38-231.bltmmd.fios.verizon.net] has joined #lisp 00:49:28 -!- nyef [~nyef@pool-71-255-129-229.cncdnh.east.myfairpoint.net] has quit [Quit: G'night all.] 00:52:50 -!- aidalgol [~user@202.36.179.65] has quit [Remote host closed the connection] 00:56:04 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 00:56:15 -!- carlocci [~nes@93.37.219.77] has quit [Quit: eventually IE will rot and die] 00:56:20 LiamH [~nobody@pool-72-75-117-208.washdc.east.verizon.net] has joined #lisp 01:00:28 -!- rbarraud [~rbarraud@118-93-88-14.dsl.dyn.ihug.co.nz] has quit [Remote host closed the connection] 01:00:39 rbarraud [~rbarraud@118-93-88-14.dsl.dyn.ihug.co.nz] has joined #lisp 01:01:21 -!- slyrus_ [~slyrus@dsl092-019-253.sfo1.dsl.speakeasy.net] has quit [Ping timeout: 245 seconds] 01:04:39 -!- schoppenhauer [~christoph@unaffiliated/schoppenhauer] has quit [Quit: Leaving.] 01:05:54 -!- Anarch [~w3@elrond.hsl.washington.edu] has quit [Quit: leaving] 01:07:38 jan247 [~jan247@unaffiliated/jan247] has joined #lisp 01:08:40 -!- Komi [Komi@62.32.134.47] has quit [] 01:15:34 metasyntax [~taylor@72.86.89.174] has joined #lisp 01:19:51 -!- ignas [~ignas@ctv-79-132-160-221.vinita.lt] has quit [Ping timeout: 260 seconds] 01:21:04 sykopomp [~user@c-66-41-249-30.hsd1.mn.comcast.net] has joined #lisp 01:23:25 aliudalius [~user@li121-165.members.linode.com] has joined #lisp 01:34:09 atomx [~user@93.112.81.240] has joined #lisp 01:36:02 -!- dialtone [~dialtone@unaffiliated/dialtone] has quit [Ping timeout: 264 seconds] 01:38:11 -!- wbooze [~user@xdsl-87-79-172-183.netcologne.de] has quit [Ping timeout: 255 seconds] 01:38:32 -!- Axioplase_ is now known as Axioplase 01:38:40 mjonsson [~mjonsson@cpe-98-14-173-5.nyc.res.rr.com] has joined #lisp 01:38:41 -!- homie [~user@xdsl-87-79-172-183.netcologne.de] has quit [Ping timeout: 265 seconds] 01:40:01 -!- mjonsson_ [~mjonsson@cpe-98-14-173-5.nyc.res.rr.com] has quit [Ping timeout: 276 seconds] 01:40:06 -!- lolsuper_ [~super_@unaffiliated/lolsuper-/x-9881387] has quit [Ping timeout: 245 seconds] 01:40:24 -!- Joreji [~thomas@94-103.eduroam.RWTH-Aachen.DE] has quit [Read error: Operation timed out] 01:48:14 Elench [~Elench@unaffiliated/elench] has joined #lisp 01:48:26 xan_ [~xan@59-124-113-6.HINET-IP.hinet.net] has joined #lisp 01:50:15 danlei` [~user@unaffiliated/danlei] has joined #lisp 01:50:37 -!- xan_ [~xan@59-124-113-6.HINET-IP.hinet.net] has quit [Read error: Connection reset by peer] 01:53:26 -!- danlei [~user@unaffiliated/danlei] has quit [Ping timeout: 245 seconds] 01:56:17 -!- dreish [~dreish@minus.dreish.org] has quit [Quit: dreish] 01:57:27 -!- aliudalius [~user@li121-165.members.linode.com] has left #lisp 02:03:36 kanen [~kanen@rrcs-74-62-165-123.west.biz.rr.com] has joined #lisp 02:04:27 -!- hohoho [~hohoho@ntkngw229253.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 02:05:34 xan_ [~xan@60-250-133-142.HINET-IP.hinet.net] has joined #lisp 02:07:09 stassats [~stassats@wikipedia/stassats] has joined #lisp 02:09:11 -!- danlei` is now known as danlei 02:14:09 -!- kanen [~kanen@rrcs-74-62-165-123.west.biz.rr.com] has quit [Remote host closed the connection] 02:18:57 -!- legumbre_ is now known as legumbre 02:20:19 -!- pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has quit [Ping timeout: 276 seconds] 02:23:12 pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has joined #lisp 02:25:00 ry509 [~user@c-67-161-213-229.hsd1.ut.comcast.net] has joined #lisp 02:26:40 austinh [~austinh@c-67-189-92-40.hsd1.or.comcast.net] has joined #lisp 02:27:55 -!- qbomb [~quent@208.86.11.180] has quit [Quit: leaving] 02:29:01 -!- navigator [~navigator@p54897A22.dip.t-dialin.net] has quit [Read error: Operation timed out] 02:29:46 navigator [~navigator@p54897A25.dip.t-dialin.net] has joined #lisp 02:33:05 cbeok [~user@li121-165.members.linode.com] has joined #lisp 02:34:28 -!- hargettp [~anonymous@pool-71-184-181-149.bstnma.east.verizon.net] has quit [Quit: hargettp] 02:40:14 -!- zomgbie [~jesus@h081217133138.dyn.cm.kabsi.at] has quit [Ping timeout: 264 seconds] 02:41:15 exit 02:41:21 -!- cbeok [~user@li121-165.members.linode.com] has quit [Remote host closed the connection] 02:43:24 -!- franki^ [~franki@unaffiliated/franki] has quit [Quit: Changing server] 02:44:37 -!- LiamH [~nobody@pool-72-75-117-208.washdc.east.verizon.net] has quit [Quit: Leaving.] 02:53:51 Good morning everyone! 02:59:02 -!- salva [~salva@105.11.117.91.dynamic.mundo-r.com] has quit [Quit: salva] 02:59:17 -!- ikki [~ikki@201.155.75.146] has quit [Ping timeout: 240 seconds] 02:59:36 lolsuper_ [~super_@unaffiliated/lolsuper-/x-9881387] has joined #lisp 03:02:50 -!- simplechat [~simplecha@unaffiliated/simplechat] has quit [Quit: Leaving] 03:05:34 (btree-insert *btree* 1 1) 03:05:37 whoops! 03:05:41 -!- davazp [~user@83.54.164.142] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 03:05:56 -!- pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has quit [] 03:06:47 -!- abhinav [~abhinav@122.172.49.202] has quit [Quit: Ex-Chat] 03:07:09 abhinav [~abhinav@122.172.49.202] has joined #lisp 03:10:01 -!- trebor_dki [~user@mail.dki.tu-darmstadt.de] has quit [Ping timeout: 246 seconds] 03:14:27 ikki [~ikki@200.95.162.194] has joined #lisp 03:19:55 -!- Demosthenes [~demo@206.180.155.43.adsl.hal-pc.org] has quit [Ping timeout: 252 seconds] 03:21:08 -!- abhinav [~abhinav@122.172.49.202] has quit [Read error: Operation timed out] 03:24:09 -!- abugosh [~Adium@pool-74-103-38-231.bltmmd.fios.verizon.net] has quit [Quit: Leaving.] 03:25:47 evening 03:26:51 Hello slyrus 03:28:38 -!- DocOnDev [~doc@cpe-76-188-187-241.neo.res.rr.com] has quit [Remote host closed the connection] 03:29:57 -!- seangrove [~user@70-36-236-168.dsl.static.sonic.net] has quit [Ping timeout: 240 seconds] 03:31:36 spradnyesh [~pradyus@nat/yahoo/x-pntiqoryptgxwcyq] has joined #lisp 03:34:34 abhinav [~abhinav@nat/cisco/x-pwbqzvhvdpukfjda] has joined #lisp 03:40:34 gigamonkey [~user@adsl-76-254-23-78.dsl.pltn13.sbcglobal.net] has joined #lisp 03:50:25 Joreji [~thomas@94-103.eduroam.RWTH-Aachen.DE] has joined #lisp 03:55:50 -!- Joreji [~thomas@94-103.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 264 seconds] 03:57:47 -!- abhinav [~abhinav@nat/cisco/x-pwbqzvhvdpukfjda] has quit [Read error: Connection reset by peer] 04:01:50 -!- nixeagle [~user@Wikimedia/Nixeagle] has quit [Ping timeout: 264 seconds] 04:05:16 -!- austinh [~austinh@c-67-189-92-40.hsd1.or.comcast.net] has quit [Quit: leaving] 04:07:53 Joreji [~thomas@94-103.eduroam.RWTH-Aachen.DE] has joined #lisp 04:09:06 Plazma [~Plazma@freenode/staff/plazma] has joined #lisp 04:16:10 -!- Joreji [~thomas@94-103.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 240 seconds] 04:17:22 abhinav [~abhinav@122.172.49.202] has joined #lisp 04:23:47 -!- azathoth99 [~g@w005.z209031033.sjc-ca.dsl.cnc.net] has quit [Disconnected by services] 04:23:57 -!- xan_ [~xan@60-250-133-142.HINET-IP.hinet.net] has quit [Ping timeout: 258 seconds] 04:24:43 -!- abhinav [~abhinav@122.172.49.202] has quit [Ping timeout: 258 seconds] 04:31:34 tcleval [~funnyguy@186.213.48.97] has joined #lisp 04:32:37 hi, I am using clisp and trying a factorial with tail-recursion as showed on wikipedia, but I still get stack overflow. I guess I have to compile the function but I dont know how. how can I compile a function interactivaly? 04:33:21 <_3b> clhs compile 04:33:21 http://www.lispworks.com/reference/HyperSpec/Body/f_cmp.htm 04:33:59 <_3b> CL doesn't require TCO though, so it still might not help 04:34:03 Joreji [~thomas@94-103.eduroam.RWTH-Aachen.DE] has joined #lisp 04:35:10 -!- spradnyesh [~pradyus@nat/yahoo/x-pntiqoryptgxwcyq] has quit [Ping timeout: 240 seconds] 04:35:28 (compile 'factorial2) worked, and (factorial2 100000) is making my cpu burn :-) 04:37:24 Demosthenes [~demo@206.180.155.43.adsl.hal-pc.org] has joined #lisp 04:38:51 -!- lolsuper_ [~super_@unaffiliated/lolsuper-/x-9881387] has quit [Ping timeout: 265 seconds] 04:40:25 On SBCL, a simple loop takes only about 10 seconds. 04:40:46 Only ... 04:41:04 akimbo [~user@cpe-173-095-175-246.nc.res.rr.com] has joined #lisp 04:42:53 seangrove [~user@184.104.14.3] has joined #lisp 04:44:23 gzip4 [~xxx@78.108.73.250] has joined #lisp 04:47:39 waif: to compute 100000! naively? Sounds reasonable. 04:48:06 100000 ? That's appropriate then I guess. 04:50:59 -!- rme [~rme@pool-70-106-132-29.chi01.dsl-w.verizon.net] has quit [Quit: rme] 04:51:06 Dawgmatix [~dman@c-76-124-9-27.hsd1.nj.comcast.net] has joined #lisp 04:52:30 -!- seangrove [~user@184.104.14.3] has quit [Read error: Connection reset by peer] 04:54:58 spradnyesh [~pradyus@nat/yahoo/x-rpxuynmzomtpezfd] has joined #lisp 04:55:15 sharps` [~user@ip-118-90-28-76.xdsl.xnet.co.nz] has joined #lisp 04:56:21 antoszka_ [~antoszka@unaffiliated/antoszka] has joined #lisp 04:57:12 in Clisp: (! 100000) 04:57:13 -!- xyxxyyy [~xyxu@58.41.56.37] has quit [Quit: Leaving.] 04:58:14 -!- peterhil [~peterhil@a91-153-116-43.elisa-laajakaista.fi] has quit [Read error: Operation timed out] 04:59:03 -!- antoszka [~antoszka@unaffiliated/antoszka] has quit [Ping timeout: 240 seconds] 04:59:09 -!- sharps [~user@ip-118-90-28-76.xdsl.xnet.co.nz] has quit [Ping timeout: 265 seconds] 05:01:39 ECL is the fastest here, because of GMP 05:02:26 -!- Joreji [~thomas@94-103.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 264 seconds] 05:06:10 pixpop [~pixpop@adsl-76-208-128-122.dsl.lsan03.sbcglobal.net] has joined #lisp 05:06:46 -!- pixpop [~pixpop@adsl-76-208-128-122.dsl.lsan03.sbcglobal.net] has quit [Remote host closed the connection] 05:11:17 -!- gigamonkey [~user@adsl-76-254-23-78.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 240 seconds] 05:12:07 bozhidar [~user@93-152-185-88.ddns.onlinedirect.bg] has joined #lisp 05:14:29 symbole [~symbole@ool-182ffe8f.dyn.optonline.net] has joined #lisp 05:14:39 slyrus_ [~slyrus@adsl-75-55-213-29.dsl.pltn13.sbcglobal.net] has joined #lisp 05:16:01 SandGorgon [~OmNomNomO@122.160.41.129] has joined #lisp 05:18:21 -!- mjonsson [~mjonsson@cpe-98-14-173-5.nyc.res.rr.com] has quit [Ping timeout: 252 seconds] 05:21:19 aidalgol [~user@202.36.179.65] has joined #lisp 05:31:06 -!- Dawgmatix [~dman@c-76-124-9-27.hsd1.nj.comcast.net] has quit [Quit: Ex-Chat] 05:37:21 -!- Avisch [~Avisch@70-101-99-64.dsl1-field.roc.ny.frontiernet.net] has quit [Quit: This computer has gone to sleep] 05:38:19 -!- rootzlevel [~hpd@91-66-216-63-dynip.superkabel.de] has quit [Ping timeout: 258 seconds] 05:39:16 rootzlevel [~hpd@91-66-216-63-dynip.superkabel.de] has joined #lisp 05:39:26 -!- symbole [~symbole@ool-182ffe8f.dyn.optonline.net] has quit [Quit: Leaving] 05:48:52 -!- ry509 [~user@c-67-161-213-229.hsd1.ut.comcast.net] has left #lisp 05:56:26 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 264 seconds] 05:59:10 lnostdal-android [~androirc@77.16.74.90.tmi.telenormobil.no] has joined #lisp 06:00:01 -!- lnostdal-android [~androirc@77.16.74.90.tmi.telenormobil.no] has quit [Client Quit] 06:00:20 lnostdal-android [~androirc@77.16.74.90.tmi.telenormobil.no] has joined #lisp 06:00:44 ldunn [~user@d110-32-131-107.sun800.vic.optusnet.com.au] has joined #lisp 06:06:07 -!- waif [waif@unaffiliated/waif] has quit [Quit: Reconnecting.] 06:11:00 Davsebamse [~davse@82.103.143.161] has joined #lisp 06:17:21 pdelgallego [~pdelgalle@1503031474.dhcp.dbnet.dk] has joined #lisp 06:17:37 waif [waif@unaffiliated/waif] has joined #lisp 06:20:15 tcr [~tcr@81-233-246-97-no37.tbcn.telia.com] has joined #lisp 06:21:32 hi I have this: http://paste.lisp.org/display/113620 and I was wondering why I cannot use lambdas instead of functions in the (test-neuron) If i use a lambda will I get a (lambda) is not of type (or function symbol), but if I use the functions that I have defined is there no problem 06:21:48 I have tried using funcall and function but I cannot get it to work 06:22:06 (sbcl 1.0.40) 06:22:31 <_3b> don't quote it 06:22:59 <_3b> (list "test1" (lambda ...) '(1) (lambda ...) 1) 06:22:59 Davsebamse: I think that (zip l1 l2) is no more than (mapcar #'cons l1 l2) 06:24:05 <_3b> sum looks like it should be implemented in terms of reduce as well 06:24:27 yup, just what I was going to say. 06:24:30 ahh great thanks both of you! :-) 06:24:35 And testK is #'* 06:25:14 <_3b> possibly with an extra arg to call a function on each item before adding it, to skip one of those mapcars 06:25:56 <_3b> (like the :key arg to reduce) 06:26:59 <_3b> also, calculate could probably use a destructuring-bind or a longer arglist to name all those (nth * N) 06:27:30 -!- ldunn [~user@d110-32-131-107.sun800.vic.optusnet.com.au] has quit [Remote host closed the connection] 06:27:34 _3b: like (defun cal ((a b c d e f) a) ? 06:27:49 <_3b> you can't do that in a function 06:28:16 Q: How many IBM types does it take to change a light bulb? A: Fifteen. One to do it, and fourteen to write document number GC7500439-0001, Multitasking Incandescent Source System Facility, of which 10% of the pages state only "This page intentionally left blank", and 20% of the definitions are of the form "A:..... consists of sequences of non-blank characters separated by blanks" 06:28:29 <_3b> so either (defun cal (n1 n2 n3 n4 i)...) or (defun cal (n i ) (destructuring-bind (n1 n2 n3 n4) n ...)) 06:28:32 Davsebamse: You mean like getf() ? 06:28:35 Oh, nevermind. 06:29:00 _3b: ahh cool! 06:29:25 What's a test-neuron here? 06:29:40 Ah, the paste. 06:29:41 <_3b> or possibly (defun cal (i n1 n2 n3 n4) ...) would be better, so you could call it with apply is N usually comes from an existing list 06:30:26 ahh yes 06:31:27 is (first) a shortcut for (nth 1 L)? or is it faster/slower? 06:31:45 <_3b> any of the above 06:32:00 Athas [~athas@82.211.209.226] has joined #lisp 06:32:18 Jabberwockey [~Jens@port-92324.pppoe.wtnet.de] has joined #lisp 06:32:21 -!- kwertii [~kwertii@ResNet-32-110.resnet.ucsb.edu] has quit [Quit: bye] 06:32:38 -!- antoszka_ [~antoszka@unaffiliated/antoszka] has quit [Quit: +++ killed by SIGSEGV +++] 06:33:26 -!- lnostdal-android [~androirc@77.16.74.90.tmi.telenormobil.no] has quit [Read error: Connection reset by peer] 06:33:27 <_3b> well, aside from the part about NTH being 0 based 06:33:56 ahh yes sure, forgot that :-) 06:35:23 rbarraud_ [~rbarraud@118-92-1-24.dsl.dyn.ihug.co.nz] has joined #lisp 06:35:47 antoszka [~antoszka@unaffiliated/antoszka] has joined #lisp 06:35:53 |: 06:37:55 -!- rbarraud [~rbarraud@118-93-88-14.dsl.dyn.ihug.co.nz] has quit [Ping timeout: 246 seconds] 06:41:22 hohoho [~hohoho@ntkngw229253.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #lisp 06:42:31 HET2 [~diman@cpc1-cdif12-2-0-cust125.5-1.cable.virginmedia.com] has joined #lisp 06:45:58 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 06:53:19 -!- Toekutr [~toekutr@adsl-69-107-109-7.dsl.pltn13.pacbell.net] has quit [Quit: REALITY IS TEARING ITSELF ASUNDER, BUT I MUST RACE] 06:54:33 timor [~timor@port-92-195-126-7.dynamic.qsc.de] has joined #lisp 06:56:27 relcomp [~chatzilla@pc92-e03-3.igf.Uni-Osnabrueck.DE] has joined #lisp 06:57:03 -!- Xantoz [~hejhej@c83-251-227-152.bredband.comhem.se] has quit [Ping timeout: 240 seconds] 07:04:49 -!- nullman [~nullman@c-75-73-150-26.hsd1.mn.comcast.net] has quit [Ping timeout: 265 seconds] 14:10:17 ccl-logbot [~ccl-logbo@setf.clozure.com] has joined #lisp 14:10:17 14:10:17 -!- names: ccl-logbot xyxxyyy rme josemanuel Elench kenjin2201 Yuuhi astoon zomgbie dlowe jxonas lnostdal-android stassats hargettp tritchey slash_ Rearden carlocci LiamH nowhere_man Dodek Jasko3 salva jan247 dfox Davidbrcz deepfire jgracin jdz tfb brickhazel Deesl Bronsa ignas MagBo Athas simplechat nha kuwabara daniel_ pavelludiq OliverUv_ stis hugod gravicappa Xantoz hohoho serichsen mathrick albino elderK legumbre dmiles trebor_dki fiveop bozhidar mega1 aerique 14:10:17 -!- names: vandemar kleppari nullman relcomp timor mrSpec HET2 antoszka Jabberwockey tcr waif rootzlevel slyrus_ gzip4 akimbo Demosthenes tcleval Plazma ikki atomx sykopomp metasyntax coyO sbahra pchrist sonnym tankrim Madsy konr lichtblau jbd udzinari redline6561 MetalDust s0ber holycow fda314925 rtoym ramus benny ASau drewc dstatyvka gz Euthydemus metasyntax` wubo NNshag lemoinem housel bzzbzz m4thrick arbscht cods rotty Yamazaki-kun Blkt mulander billstclair 14:10:17 -!- names: christoph_debian tvaalen luis ineiros eldragon araujo fe[nl]ix marienz Salamander_ TR2N jmbr ASau` c|mell ace4016 Obfuscate joast Lycurgus steven_t cataska_ lnostdal Taggnostr krl sixpoint8 TraumaPony Draggor sellout fatblueduck billitch1 dto mgr Beetny DrForr rread clop ineiros_ l_a_m rrice REPLeffect MikeSeth TomJ hlavaty stokachu prip frodef Tordek lharc rdd stettberger BrianRice ski rahul billitch samo djm Amadiro adeht galdor tessier bobbysmith007 14:10:17 -!- names: mal__ beach delYsid PuffTheMagic antifuchs Xach Ralith mrfredconcklin Tril madnificent tsuru abeaumont nuba abend ianmcorvidae specbot lisppaste Buganini Quadrescence tychoish muddyferret trebor_home phadthai Modius stepnem PissedNu1lock johanbev turbo24prg aoh AntiSpamMeta Borbus kooll pok amaron golgotha _3b zbigniew joshe emma froydnj rapacity Bucciarati dcrawford felipe pkhuong_ bougyman codemonkeyx Fade seejay mtd spacebat Patzy lucca clog johs 14:10:18 -!- names: Khisanth reb djinni` slyrus cthuluh Odin- quasisane boyscared Tabmow tomaw dostoyevsky fmu schmrkc [df] dym Tasunteld acieroid yacin Adrinael scode eno xavieran_ jgrant Aisling setheus Ginei_Morioka mornfall potatishandlarn easyE _3b` pr_ z0d Axioplase pjb ``Erik vinnana Pepe_ gz` @Zhivago zeroish lusory Xof ecraven nasloc__ Dazhbog hanneso amontez rsynnott cpt_nemo leviathan lonstein levene__ herbieB kloeri jsnell cYmen xristos pp206 krappie foom yahooooo 14:10:18 -!- names: hohum jpanest hc_e joga erg_ zfx p_l jrockway qsun erk__ 14:13:23 -!- jxonas [~chatzilla@201.82.4.152] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716]] 14:14:22 CrEddy [~CrazyEddy@wrongplanet/CrazyEddy] has joined #lisp 14:17:29 retroj [~retroj@unaffiliated/retroj] has joined #lisp 14:17:59 wbooze [~user@xdsl-78-34-200-247.netcologne.de] has joined #lisp 14:18:03 homie [~user@xdsl-78-34-200-247.netcologne.de] has joined #lisp 14:21:34 -!- TR2N [email@89.180.198.16] has quit [Quit: Time left until the Epochalypse: 27yrs 21wks 6days 18hrs 52mins 7secs] 14:23:15 Plazma-Rooolz [~Plazma@freenode/staff/plazma] has joined #lisp 14:27:27 ehu [~ehuels@212.183.140.37] has joined #lisp 14:35:31 -!- ehu [~ehuels@212.183.140.37] has quit [Ping timeout: 260 seconds] 14:36:34 -!- Salamander_ [~Salamande@ppp118-210-110-96.lns20.adl2.internode.on.net] has quit [Remote host closed the connection] 14:36:40 -!- jgracin [~jgracin@dh111-186.xnet.hr] has quit [Remote host closed the connection] 14:37:45 revel0___ [~revel0@212.88.117.162] has joined #lisp 14:38:47 xan_ [~xan@59-124-113-6.HINET-IP.hinet.net] has joined #lisp 14:40:20 -!- Athas [~athas@shop3.diku.dk] has quit [Remote host closed the connection] 14:46:34 -!- ikki [~ikki@200.95.162.194] has quit [Ping timeout: 248 seconds] 14:50:31 -!- Xantoz [~hejhej@c83-251-227-152.bredband.comhem.se] has quit [Ping timeout: 276 seconds] 14:51:50 Xantoz [~hejhej@c83-251-227-152.bredband.comhem.se] has joined #lisp 14:52:02 milanj [~milanj_@212.200.217.140] has joined #lisp 14:58:50 -!- astoon [~astoon@213.141.244.246] has quit [Ping timeout: 264 seconds] 14:59:34 Hmm. ccl 1.5 doesn't print least-positive-double-float very well. 15:00:15 -!- Plazma [~Plazma@freenode/staff/plazma] has quit [Read error: Connection reset by peer] 15:00:36 ikki [~ikki@201.155.75.146] has joined #lisp 15:05:05 urandom_ [~user@p548A5617.dip.t-dialin.net] has joined #lisp 15:06:40 -!- gravicappa [~gravicapp@80.90.116.82] has quit [Ping timeout: 276 seconds] 15:08:14 -!- aerique [euqirea@xs2.xs4all.nl] has quit [Quit: ...] 15:08:59 -!- Deesl [~bsdboy@unaffiliated/deesl] has quit [Remote host closed the connection] 15:12:01 Toekutr [~toekutr@adsl-69-107-109-7.dsl.pltn13.pacbell.net] has joined #lisp 15:13:14 jewel [~jewel@196-215-88-46.dynamic.isadsl.co.za] has joined #lisp 15:14:10 -!- sellout [~greg@c-24-128-49-113.hsd1.ma.comcast.net] has quit [Quit: sellout] 15:16:04 Avisch [~Avisch@70-101-99-64.dsl1-field.roc.ny.frontiernet.net] has joined #lisp 15:18:10 -!- xyxxyyy [~xyxu@58.41.10.152] has quit [Quit: Leaving.] 15:21:30 pdelgallego [~pdelgalle@1503031474.dhcp.dbnet.dk] has joined #lisp 15:21:35 -!- slash_ [~unknown@p5DD1D3CF.dip.t-dialin.net] has quit [Quit: Leaving.] 15:21:44 BrianRice` [~water@c-98-246-165-205.hsd1.or.comcast.net] has joined #lisp 15:22:09 slash_ [~unknown@p5DD1D3CF.dip.t-dialin.net] has joined #lisp 15:23:55 -!- urandom_ [~user@p548A5617.dip.t-dialin.net] has quit [Remote host closed the connection] 15:24:43 astoon [~astoon@213.141.244.246] has joined #lisp 15:25:06 -!- BrianRice [~water@c-98-246-165-205.hsd1.or.comcast.net] has quit [Ping timeout: 265 seconds] 15:25:06 -!- BrianRice` is now known as BrianRice 15:25:13 -!- slash_ [~unknown@p5DD1D3CF.dip.t-dialin.net] has quit [Client Quit] 15:27:03 slash_ [~unknown@p5DD1D3CF.dip.t-dialin.net] has joined #lisp 15:29:38 -!- kenjin2201 [~kenjin@163.152.125.18] has quit [Remote host closed the connection] 15:32:46 -!- slyrus_ [~slyrus@adsl-75-55-213-29.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 276 seconds] 15:34:42 -!- Toekutr [~toekutr@adsl-69-107-109-7.dsl.pltn13.pacbell.net] has quit [Quit: REALITY IS TEARING ITSELF ASUNDER, BUT I MUST RACE] 15:36:22 -!- mrfredconcklin [~ephcon@fredri.cc] has quit [Quit: leaving] 15:38:09 -!- revel0___ [~revel0@212.88.117.162] has quit [Ping timeout: 265 seconds] 15:40:39 sdsds [~sdsds@dyn-16.sub2.cmts01.cable.TORON10.iasl.com] has joined #lisp 15:41:32 -!- Avisch [~Avisch@70-101-99-64.dsl1-field.roc.ny.frontiernet.net] has quit [Quit: This computer has gone to sleep] 15:43:31 Avisch [~Avisch@cpe-74-67-177-141.rochester.res.rr.com] has joined #lisp 15:44:58 -!- Avisch [~Avisch@cpe-74-67-177-141.rochester.res.rr.com] has quit [Client Quit] 15:50:29 srolls [~user@167.216.131.126] has joined #lisp 15:51:35 -!- Bronsa [~bronsa@host124-117-dynamic.60-82-r.retail.telecomitalia.it] has quit [Ping timeout: 260 seconds] 15:53:55 rtoym: ccl prints 5.0D-324 for least-positive-double-float. Is that wrong? (That's what LispWorks prints too, but that's not conclusive, of course.) 15:55:59 rme: why would that be wrong? 15:56:38 Salamander [~Salamande@ppp118-210-110-96.lns20.adl2.internode.on.net] has joined #lisp 15:58:24 I don't know; rtoym mentioned that it looked funny, so I was wondering why. 15:59:19 sbcl on a 64 bit amd machine prints 4.9406564584124654d-324 15:59:45 clisp yet another value. 15:59:56 2.2250738585072014d-308 16:00:48 clisp is not using IEEE double floats 16:01:38 rme: Yeah, I was expecting more digits printed. And the printed value value when read back in is not the same, of course. 16:02:20 Actually, I think clisp is using IEEE floats, but chooses not to support denormals. I think. 16:02:30 2.2250738585072014d-308 looks like least normalized 16:02:36 Bronsa [~bronsa@host124-117-dynamic.60-82-r.retail.telecomitalia.it] has joined #lisp 16:02:50 -!- NNshag [user@lns-bzn-60-82-254-199-39.adsl.proxad.net] has quit [Ping timeout: 248 seconds] 16:03:01 Is (trace :methods t) supposed to work in SBCL? 16:05:15 I think clisp also used to have a slightly different double-float-epsilon value. It was one bit more than expected to make sure 1+eps was not 1 when using x87 long-floats. But I might be wrong about that. 16:05:41 -!- astoon [~astoon@213.141.244.246] has quit [Ping timeout: 240 seconds] 16:08:32 -!- hohoho [~hohoho@ntkngw229253.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 16:09:46 -!- nha [~prefect@imamac13.epfl.ch] has quit [Ping timeout: 248 seconds] 16:09:54 -!- jdz [~jdz@193.206.22.97] has quit [Read error: Operation timed out] 16:11:40 -!- ignas [~ignas@78-60-73-85.static.zebra.lt] has quit [Ping timeout: 276 seconds] 16:15:17 NNshag [user@lns-bzn-30-82-253-184-186.adsl.proxad.net] has joined #lisp 16:17:08 beach: not usually 16:17:27 trace :encapsulate nil :methods t might, or it might completely break CLOS, depending on the state of your discriminating functions 16:17:32 this is something that Needs Work 16:19:36 SegFaultAX [~SegFaultA@c-98-234-1-162.hsd1.ca.comcast.net] has joined #lisp 16:20:04 -!- trebor_dki [~user@mail.dki.tu-darmstadt.de] has quit [Read error: Connection reset by peer] 16:24:18 trebor_dki [~user@mail.dki.tu-darmstadt.de] has joined #lisp 16:25:35 good evening everyone 16:25:53 op 16:26:02 wrong window 16:27:09 hi Blkt 16:29:18 hi guys 16:29:31 this is my first "serious" lisp code 16:29:33 http://sprunge.us/aGbe?cl 16:30:05 i'd like u to suggest me how could i have wrote it in a better way 16:30:39 Bronsa: eliminate the arccot macro. 16:30:46 why? 16:31:01 It's unnecessary and limiting. 16:31:04 we fe[nl]ix 16:31:09 -!- emma is now known as emc44 16:31:19 but does it make the code slower? 16:31:21 Bronsa: conventional indentation and formatting would make it easier to read and evaluate, too. 16:31:31 Bronsa: How would you tell? 16:31:37 Xach: i write code using vim 16:31:57 it's vim to indent like that 16:32:04 Bronsa: vim does not block you from indenting it correctly. 16:32:19 well, what's wrong with my indentation? 16:32:51 maybe if you tell me, i'll understand and i'll do it correctly :) 16:33:50 Bronsa: I recommend reviewing some existing code to get a general idea. 16:34:00 Emacs will indent correctly for you 16:34:13 i just can't use Emacs' bingings 16:34:15 conventional style is 2 spaces for "bodies", e.g. of defun or let. IF and COND clauses should line up. 16:34:28 oh 16:34:30 Bronsa: You can do it properly in vim. 16:34:35 so 2 spaces instead of 1 16:34:36 -!- emc44 is now known as em 16:34:44 Xach: yeah, i'm new to lisp 16:34:49 Bronsa: lambda lists sometimes print as NIL, but should never be written as NIL. 16:34:51 (nth-value 0 ...) is pointless 16:35:03 Bronsa: (defun main () ...) is much preferred to (defun main nil ...) 16:35:10 ok 16:35:30 and (floor (/ a b)) => (floor a b) 16:35:31 Bronsa: (floor (/ foo bar)) is the same as (floor foo bar) 16:35:47 that's right 16:35:54 thanks 16:36:54 Bronsa: http://groups.google.com/group/comp.lang.lisp/msg/6e91e20f2f371b52 has some helpful hints 16:36:58 gravicappa [~gravicapp@ppp85-141-166-16.pppoe.mtu-net.ru] has joined #lisp 16:37:23 oh 16:37:28 Xach: thank's a lot 16:39:03 -!- zomgbie [~jesus@chello212186106204.11.vie.surfer.at] has quit [Ping timeout: 240 seconds] 16:40:06 -!- tcr [~tcr@81-233-246-97-no37.tbcn.telia.com] has quit [Ping timeout: 265 seconds] 16:40:35 tcr [~tcr@81-233-246-97-no37.tbcn.telia.com] has joined #lisp 16:43:51 -!- akimbo [~user@cpe-173-095-175-246.nc.res.rr.com] has quit [Ping timeout: 245 seconds] 16:43:56 -!- tfb [~tfb@94.197.7.153.threembb.co.uk] has quit [Quit: tfb] 16:44:16 Avisch [~Avisch@70-101-99-64.dsl1-field.roc.ny.frontiernet.net] has joined #lisp 16:44:52 rme: BTW, there's a report on maxima list that ccl 1.6 signals an error when converting a rational to a float. ccl 1.5 doesn't. 16:45:36 Maybe ccl 1.6 signals an error if the rational is too small to fit in a double-float instead of silently returning 0d0. 16:45:55 -!- relcomp [~chatzilla@pc92-e03-3.igf.Uni-Osnabrueck.DE] has left #lisp 16:48:55 Bronsa: you should certainly avoid macros until you've learned where and how to use them :) 16:49:39 oh, s/he's been answered and i was stuck in scrollback. nvm 16:49:42 It's not clear what (float rational) should do if the rational is small. 16:50:31 Unless "mathematically equal" means that you can't return 0d0 if the rational is too small. 16:55:42 slyrus_ [~slyrus@dsl092-019-253.sfo1.dsl.speakeasy.net] has joined #lisp 16:57:36 ben_m [~ben@chello084113058207.12.vie.surfer.at] has joined #lisp 17:00:20 ignas [~ignas@ctv-79-132-160-221.vinita.lt] has joined #lisp 17:01:16 -!- slyrus_ [~slyrus@dsl092-019-253.sfo1.dsl.speakeasy.net] has quit [Ping timeout: 246 seconds] 17:04:22 Anarch [~olaf@c-67-171-37-107.hsd1.wa.comcast.net] has joined #lisp 17:06:09 \ 17:06:11 -!- Avisch [~Avisch@70-101-99-64.dsl1-field.roc.ny.frontiernet.net] has quit [Quit: This computer has gone to sleep] 17:07:09 Agreed. 17:10:42 -!- josemanuel [~josemanue@80.0.222.87.dynamic.jazztel.es] has quit [Quit: Saliendo] 17:14:39 astoon [~astoon@213.141.244.246] has joined #lisp 17:14:41 -!- simplechat [~simplecha@unaffiliated/simplechat] has quit [Remote host closed the connection] 17:15:38 Avisch [~Avisch@70-101-99-64.dsl1-field.roc.ny.frontiernet.net] has joined #lisp 17:16:38 dialtone [~dialtone@70.36.244.244] has joined #lisp 17:16:38 -!- dialtone [~dialtone@70.36.244.244] has quit [Changing host] 17:16:38 dialtone [~dialtone@unaffiliated/dialtone] has joined #lisp 17:18:57 rtoym: I'll take a look at the maxima report as soon as I can. Thanks. 17:19:11 attila_lendvai [~attila_le@apn-94-44-2-201.vodafone.hu] has joined #lisp 17:20:35 while running some code with sb-sys:without-gcing, SBCL hanged on me 17:20:42 is that expected when using WITHOUT-GCING? 17:21:07 strace says it's stuck on futex(0xb7c9101c, FUTEX_WAIT_PRIVATE, 3097, NULL 17:21:34 -!- attila_lendvai [~attila_le@apn-94-44-2-201.vodafone.hu] has quit [Disconnected by services] 17:21:34 attila_lendvai1 [~attila_le@apn-94-44-2-71.vodafone.hu] has joined #lisp 17:21:36 -!- attila_lendvai1 is now known as attila_lendvai 17:21:42 so 17:21:44 http://sprunge.us/GQXR?cl 17:21:50 is this indentation correct? 17:22:16 it doesn't fit on my screen horizontally 17:22:28 neither mine 17:26:25 rme: Ok. The report is about float(gamma(-536/3)) causing an error. 17:27:29 -!- attila_lendvai [~attila_le@apn-94-44-2-71.vodafone.hu] has quit [Ping timeout: 258 seconds] 17:27:39 jdz [~jdz@host98-57-dynamic.48-82-r.retail.telecomitalia.it] has joined #lisp 17:27:44 Bronsa: Yes, it's better. But you can break lines in appropriate places so it doesn't extend too far to the right. 17:28:02 rtoym: in the format line? 17:28:23 Yes. 17:28:37 i supposed so. 17:28:41 ][V][ICHAEL [~user@207.178.208.5] has joined #lisp 17:28:43 Bronsa: http://paste.lisp.org/display/113633 17:28:55 oh 17:28:56 I sometimes break lines between arguments to a function. 17:28:56 stassats: thanks 17:29:01 and i forgot to format IF 17:29:10 stassats: you can have deadlocks when you use without-gcing. 17:29:19 s/format/indent/ 17:29:22 that makes sense. 17:29:45 stassats: also, how do you feel about ? 17:29:58 stassats: well, so IF should be indented like COND? 17:30:16 Bronsa: i meant the last IF 17:30:29 yes 17:30:49 they should be like the one in arccot-helper 17:30:52 whould it be lined up? 17:30:58 oh 17:31:00 understood 17:31:05 well, thanks a lot all =) 17:31:36 There are differing opinions about indenting IF. (Well, mine differs from stassats's anyway.) 17:32:12 that's not mine opinion! but i like it 17:32:13 'cause i thought i should indent IF like COND but vim refuses to do so in lisp mode 17:32:18 -!- ben_m [~ben@chello084113058207.12.vie.surfer.at] has left #lisp 17:32:42 pkhuong_: let me ponder on it, i don't really remember what i did back then 17:33:29 I always indent if like any function call. First argument to it on the first line, each subsequent argument lined up with the first argument (unless you can oneliner it) 17:35:18 stassats: erh. Not sure why I *multiply* 17:35:25 I think that is unusual indentation. 17:35:39 Joreji [~thomas@94-103.eduroam.RWTH-Aachen.DE] has joined #lisp 17:36:18 omg 17:37:03 using the new code instead the old one has reduced the execution code from 15 seconds to 5 17:37:47 amazing 17:37:57 stassats: look at the next post (: 17:38:08 ok 17:38:31 Bronsa: if you were using SLIME, it would do it the one true way ;) 17:38:47 rsynnott: eheh 17:39:08 using SLIME implies using emacs 17:39:16 emacs' not for me 17:39:28 zomgbie [~jesus@213.162.68.50] has joined #lisp 17:40:30 -!- Avisch [~Avisch@70-101-99-64.dsl1-field.roc.ny.frontiernet.net] has quit [Quit: This computer has gone to sleep] 17:40:53 e-future [~e-future@unaffiliated/sergio/x-8197433] has joined #lisp 17:41:38 Bronsa: then be welcome to dealing with a lot more work :D 17:43:08 pkhuong_: why is (if (zerop number) 0 (integer-length number)) when (integer-length 0) => 0 17:43:40 stassats: not sure. I just s///g the LOG away. 17:43:53 Adamant [~Adamant@c-69-136-200-213.hsd1.ga.comcast.net] has joined #lisp 17:43:53 -!- Adamant [~Adamant@c-69-136-200-213.hsd1.ga.comcast.net] has quit [Changing host] 17:43:53 Adamant [~Adamant@unaffiliated/adamant] has joined #lisp 17:43:58 i see 17:46:54 -!- zomgbie [~jesus@213.162.68.50] has quit [Ping timeout: 240 seconds] 17:47:15 -!- e-future [~e-future@unaffiliated/sergio/x-8197433] has quit [Read error: Operation timed out] 17:48:38 e-future [~e-future@unaffiliated/sergio/x-8197433] has joined #lisp 17:51:11 -!- timor [~timor@port-92-195-126-7.dynamic.qsc.de] has quit [Remote host closed the connection] 17:51:25 ZabaQ [~john.conn@playboxgames.com] has joined #lisp 17:53:42 -!- jan247 [~jan247@unaffiliated/jan247] has quit [Quit: jan247] 17:59:06 -!- Joreji [~thomas@94-103.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 272 seconds] 18:01:16 peterhil [~peterhil@a91-153-120-132.elisa-laajakaista.fi] has joined #lisp 18:01:59 TheLolrus [~Xarver@cpe-75-83-191-189.socal.res.rr.com] has joined #lisp 18:13:05 lolsuper_ [~super_@unaffiliated/lolsuper-/x-9881387] has joined #lisp 18:13:41 -!- tcleval [~funnyguy@186.213.48.97] has quit [Quit: leaving] 18:17:13 tcleval [~funnyguy@187.58.92.120] has joined #lisp 18:21:41 Hun [~hun@95-90-224-156-dynip.superkabel.de] has joined #lisp 18:26:27 -!- MagBo [~Sweater@195.114.56.71] has quit [Remote host closed the connection] 18:27:19 -!- jewel [~jewel@196-215-88-46.dynamic.isadsl.co.za] has quit [Ping timeout: 265 seconds] 18:29:06 -!- Jabberwockey [~Jens@port-92324.pppoe.wtnet.de] has quit [Quit: Verlassend] 18:29:24 fe[nl]ix: ping 18:29:32 PuffTheMagic: pong 18:30:31 on my netbook i have iolib from git... on my mac im trying to use clbuild to get iolib... any idea what version that would be pulling in? 18:30:44 Avisch [~Avisch@cpe-24-93-16-141.rochester.res.rr.com] has joined #lisp 18:30:57 -!- billstclair [~billstcla@unaffiliated/billstclair] has quit [Quit: Ex-Chat] 18:31:00 im getting a missing file error on my mac 18:31:16 try using the last release 18:31:16 base/pkgdcl.lisp 18:31:32 i guess i could use git manually 18:31:49 but why would the version from clbuild fail to compile? 18:32:19 I don't know 18:32:21 it works here 18:32:24 hmm 18:32:56 Bronsa: You may be interested in limp, http://www.vim.org/scripts/script.php?script_id=2219 18:32:56 do i have to run a manual command to update clbuild or does it always check some server for latest 18:33:12 redline6561: i'll take a look 18:34:00 PuffTheMagic: I don't know 18:36:34 billstclair [~billstcla@unaffiliated/billstclair] has joined #lisp 18:37:19 -!- ZabaQ [~john.conn@playboxgames.com] has left #lisp 18:40:51 you have to manually intervene 18:41:08 yeah seems so 18:41:23 this clbuild business is scary 18:41:26 you can do 'clbuild update --installed' 18:41:34 ysph [~user@24-181-93-165.dhcp.leds.al.charter.com] has joined #lisp 18:41:47 if you want to update clbuild itself, then darcs pull from inside the clbuild directory. 18:42:17 clbuild pulls down from the registered project repo 18:42:46 i wish mac had portage so i could cl-libs from there 18:42:49 pkhuong_: looks great, I updated the patch 18:42:57 in the case of iolib, it's whatever is current at git://gitorious.org/iolib/iolib.git at the time you get it. 18:45:01 i think darcs pull 18:45:05 might have done the trick 18:45:15 from all the updates there were 18:45:20 i didnt realize that how it worked 18:45:30 Deltafire [~chris@82-71-44-155.dsl.in-addr.zen.co.uk] has joined #lisp 18:46:13 abhinav [~abhinav@122.172.107.147] has joined #lisp 18:49:45 pkhuong_: and re without-gcing, are deadlocks expected and one shouldn't use it, or it's just a bug which can be fixed? 18:49:45 -!- fatblueduck [~chris@rrcs-67-52-188-98.west.biz.rr.com] has quit [Read error: Connection reset by peer] 18:49:59 fatblueduck [~chris@99-188-214-127.lightspeed.grgvca.sbcglobal.net] has joined #lisp 18:50:35 -!- fatblueduck [~chris@99-188-214-127.lightspeed.grgvca.sbcglobal.net] has quit [Read error: Connection reset by peer] 18:54:14 Krystof [~csr21@84-51-132-95.christ977.adsl.metronet.co.uk] has joined #lisp 18:54:53 fatblueduck [~chris@rrcs-67-52-188-98.west.biz.rr.com] has joined #lisp 18:59:40 ost [~user@217.66.22.1] has joined #lisp 18:59:47 good evening 19:00:03 where in CLHS is written about (declare (values type)) as declaration of the function type? 19:01:18 Isn't that an extension? 19:01:47 the fact that i can't find it in CLHS supports this idea 19:02:15 Or that you can't find it. :-) 19:02:26 I remember a discussion of this specific thing for cmucl vs. rest-of-world. 19:02:54 *Xach* tries to remember where 19:03:06 -!- jdz [~jdz@host98-57-dynamic.48-82-r.retail.telecomitalia.it] has quit [Ping timeout: 248 seconds] 19:03:37 where would be the best place to report a bug in the bordeaux-threads code 19:03:41 small 1 line lispworks fix 19:03:52 *rtoym* remembers some discussion on this too. I think it was related to clx using such things. 19:04:05 PuffTheMagic: on its mailing list 19:06:38 -!- sixpoint8 [~jaykub@ip68-12-204-131.ok.ok.cox.net] has quit [Quit: Windows and other things.] 19:09:51 -!- lichtblau [~user@port-92-195-188-50.dynamic.qsc.de] has quit [Remote host closed the connection] 19:09:57 Dawgmatix [~dman@c-76-124-9-27.hsd1.nj.comcast.net] has joined #lisp 19:10:23 Does the clhs define what "mathematically equal" means? 19:11:43 -!- fatblueduck [~chris@rrcs-67-52-188-98.west.biz.rr.com] has quit [Read error: Connection reset by peer] 19:12:00 fatblueduck [~chris@99-188-214-127.lightspeed.grgvca.sbcglobal.net] has joined #lisp 19:12:28 -!- fatblueduck [~chris@99-188-214-127.lightspeed.grgvca.sbcglobal.net] has quit [Read error: Connection reset by peer] 19:14:22 stassats: well, you end up holding a lock on allocation. You should be extra careful. 19:15:10 -!- benny [~user@i577A7F51.versanet.de] has quit [Ping timeout: 265 seconds] 19:15:15 i was just using it with TIME, so no big deal 19:16:46 fatblueduck [~chris@rrcs-67-52-188-98.west.biz.rr.com] has joined #lisp 19:17:21 varjag [~eugene@84.118.202.84.customer.cdi.no] has joined #lisp 19:20:04 stassats: you can tweak byte-consed-between-gcs to make sure gc doesn't happen without holding allocation up. 19:21:37 lichtblau [~user@port-92-195-188-50.dynamic.qsc.de] has joined #lisp 19:22:25 -!- xan_ [~xan@59-124-113-6.HINET-IP.hinet.net] has quit [Ping timeout: 252 seconds] 19:23:41 -!- fiveop [~fiveop@erft-4d07d438.pool.mediaWays.net] has quit [Quit: humhum] 19:27:40 -!- waif [waif@unaffiliated/waif] has quit [Quit: leaving] 19:30:26 -!- Blkt [~user@93-33-132-104.ip44.fastwebnet.it] has quit [Quit: bye bye] 19:33:26 -!- retroj [~retroj@unaffiliated/retroj] has quit [Ping timeout: 245 seconds] 19:34:30 -!- antoszka [~antoszka@unaffiliated/antoszka] has quit [Quit: +++ killed by SIGSEGV +++] 19:38:42 -!- Deltafire [~chris@82-71-44-155.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 240 seconds] 19:38:45 lichtblau: new behavior in asdf2 breaks closure-html :( 19:39:14 there is a patch on closure-html-devel or how it's called 19:39:45 lichtblau: is that patch likely to be applied? 19:41:24 ctp [~androirc@client-86-23-30-101.brhm.adsl.virginmedia.com] has joined #lisp 19:41:51 malfeas [malfeas@devio.us] has joined #lisp 19:44:32 Deltafire [~chris@82-71-44-155.dsl.in-addr.zen.co.uk] has joined #lisp 19:45:06 slyrus_ [~slyrus@dsl092-019-253.sfo1.dsl.speakeasy.net] has joined #lisp 19:46:31 -!- tcr [~tcr@81-233-246-97-no37.tbcn.telia.com] has quit [Quit: Leaving.] 19:47:54 tcr [~tcr@81-233-246-97-no37.tbcn.telia.com] has joined #lisp 19:47:55 *Xach* becomes extremely sad over the issue 19:48:03 antoszka [~antoszka@unaffiliated/antoszka] has joined #lisp 19:53:34 Is the guy behind Bordeaux-Threads here? I'm thinking of asking for condition-Wait-With-Timeout to be added - it's - useful. 19:53:39 rtoym: I see the same behavior from float(1/gamma(-536/3)) on maxima-5.22.1 built with both ccl-1.5 and the current trunk. I'm not sure ccl is wrong here: returning an infinity value when converting some huge bignum to a double-float doesn't seem to be the obvious right thing to me. 19:54:18 But I'm just a dumb hacker. 19:55:08 -!- Rearden [~John@209-217-211-155.northland.net] has quit [Quit: Leaving] 19:56:26 rme: Ok. I wasn't using the 5.22.1 release but some CVS version close to it. I'll have to try again. But actually the issue is that maxima calls CL:FLOAT with a rational number where the denominator won't fit in a double-float. And in this case the rational is actually too small to fit in a double-float either. 19:56:29 Modius: only if every implementation supports it. 19:56:43 Modius: isn't that spelled (bt:with-timeout (n) (bt:condition-wait ...)) ? :) 19:56:51 -!- jmbr [~jmbr@26.33.220.87.dynamic.jazztel.es] has quit [Read error: Connection reset by peer] 19:57:00 jmbr [~jmbr@26.33.220.87.dynamic.jazztel.es] has joined #lisp 19:57:02 *drewc* doesn't want to think how broken that could possibly be 19:57:03 that's interesting capitalization. 19:57:15 it's like the bastard child of CamelCaps and lisp-style 19:58:21 rme: bbiab... 19:58:24 pkhuong_: well, can't you just build it by spawning a new 'timeout' thread that will signal the condition var after a set amount of time (if it has not already been signaled..) 19:58:27 drewc: Not in the docs; but yes I see that in SBCL implementation 19:58:46 pkhuong_: speaking of, mind if i steal your seqlock code from your STM paste, claim it as my own, and make millions of dollars with it? (i really only need the first part). 19:59:43 drewc: sure. 20:00:05 sykopomp: that'll wake every thread. 20:00:40 right... 20:00:52 drewc: sure. You might want the bytelock though. 20:00:54 stassats: where is the without-gcing in question? 20:01:01 Unless you made a secondary condnition for every condition. 20:01:02 sykopomp: i.e. correct but useless. 20:01:08 Modius: a what? 20:01:12 nothing like a stampede to bring some excitement into multithreaded programming, eh? 20:02:04 mega1: (sb-ext:without-gcing (time (some-consing-code))) 20:02:07 drewc: the bytelocks are also fairly cheap, and avoid conflicts. 20:02:18 stassats: and what happens when there's no more space left? (: 20:02:37 stassats: is that scratch code or something in slime? 20:02:45 in slime 20:02:50 don't do it 20:03:13 i don't, anymore 20:03:18 if you don't know what SOME-CONSING-CODE is, at least. 20:03:19 ok 20:03:26 -!- billstclair [~billstcla@unaffiliated/billstclair] has quit [Ping timeout: 245 seconds] 20:03:45 -!- fatblueduck [~chris@rrcs-67-52-188-98.west.biz.rr.com] has quit [Read error: Connection reset by peer] 20:04:04 fatblueduck [~chris@99-188-214-127.lightspeed.grgvca.sbcglobal.net] has joined #lisp 20:04:19 -!- legumbre [~leo@r190-135-40-164.dialup.adsl.anteldata.net.uy] has quit [Read error: Connection reset by peer] 20:04:34 -!- fatblueduck [~chris@99-188-214-127.lightspeed.grgvca.sbcglobal.net] has quit [Read error: Connection reset by peer] 20:04:45 PuffTheMagic: fix pushed 20:05:12 Modius: patches are welcome 20:05:34 benny [~user@i577A21CC.versanet.de] has joined #lisp 20:05:43 fe[nl]ix : What's the best equivalent for condition-wait with timeout on SBCL? Can it be done on the wait? 20:05:58 -!- jmbr [~jmbr@26.33.220.87.dynamic.jazztel.es] has quit [Read error: Connection reset by peer] 20:06:02 fe[nl]ix: thanks 20:06:10 jmbr [~jmbr@26.33.220.87.dynamic.jazztel.es] has joined #lisp 20:06:20 pkhuong_: i'll have a look, or maybe you can tell me what's best : I'm doing an append-only file based btree. reading is lock-free, but writes must be serialized, and the seqlock looked like just the thing (but what do i know?) 20:06:23 fe[nl]ix And if so, would you prefer timeout be a parameter to condition-wait, or a separate call? 20:06:42 Modius: that's not available on every platform SBCL supports. 20:06:50 legumbre [~leo@r190-135-35-122.dialup.adsl.anteldata.net.uy] has joined #lisp 20:06:50 billstclair [~billstcla@unaffiliated/billstclair] has joined #lisp 20:06:56 drewc: reading is lock-free, but can it happen concunrrently with writes? 20:06:58 pkhuong: The multithreading ones? 20:07:01 Modius: I don't know, I'd have to do some research 20:07:05 Modius: no. 20:07:09 Modius: a parameter would be better 20:07:36 -!- ctp [~androirc@client-86-23-30-101.brhm.adsl.virginmedia.com] has quit [Ping timeout: 245 seconds] 20:07:44 fe[nl]ix: optional? key? :timeout or :timeout-in-milliseconds ? 20:07:48 drewc: it really depends on your read:write ratio. If it's high, seqlocks are good. If it's close to say 4:1 or 2:1, the bytelock might be better, especially if your lookups can be expensive. 20:08:51 fatblueduck [~chris@rrcs-67-52-188-98.west.biz.rr.com] has joined #lisp 20:10:03 pkhuong_: yes, highly concurrent mvcc style reads 20:10:03 francogrex [~user@109.130.149.213] has joined #lisp 20:11:07 writes just append, and reading searches for the last completed footer, so you can read 1/2 way through a write and not worry.. and once you have a reference to a btree root, it's never going to change. 20:11:15 drewc: so you just need a write lock (and you're ok with getting stale results on lookups)? 20:11:21 (the data structure is persistent in both sensed of the word) 20:11:51 yeah, all i need is the write lock, or any other method of serializing the writes. 20:12:03 then use a lock. 20:12:32 if you don't need to invalidate reads after writes, seqlocks are just regular unfair spinlocks. 20:12:33 just a plain ol' lock? 20:12:50 vu3rdd [~vu3rdd@122.167.90.136] has joined #lisp 20:12:54 makes sense 20:13:24 sure; thinlocks that upgrade spinlocks to real queue-ful, scheduler-aware, locks often work well in practice. 20:13:56 Modius: :timeout in seconds 20:14:03 faux [~user@1-1-4-21a.gkp.gbg.bostream.se] has joined #lisp 20:14:19 drewc: a seqlock will be useful if you want to implement transactions on top of your mvcc btree. You get single-writers, and concurrent reads. 20:15:29 pkhuong_: i was thinking of doing transactions at some point, which is why i was looking at your STM stuff actually. 20:15:54 for my current application, i don't need them, so i may just keep it simple. 20:16:35 -!- Elench [~Elench@unaffiliated/elench] has quit [Read error: Connection reset by peer] 20:16:35 (adding features before i need them is a good way to spend all my time making tools i'll never use) 20:16:37 -!- billstclair [~billstcla@unaffiliated/billstclair] has quit [Quit: Ex-Chat] 20:16:56 drewc: right. 20:18:07 fe[nl]ix: I *think* you could mock up condition-wait timeout in SBCL with sb-ext:with-timeout (which is exposed in bordeoux); but not I can't see how to mimic with-timeout in Lispworks. 20:18:10 the nice thing is that the STM doesn't have to be aware of the underlying implementation. You can just wrap lookups with a check-read, and writes to acquire the write bit, and you'll be done. 20:18:35 Modius: with-timeout isn't recommended. 20:19:15 -!- malfeas [malfeas@devio.us] has quit [Quit: leaving] 20:21:27 aidalgol [~user@118.148.172.37] has joined #lisp 20:21:28 -!- Salamander [~Salamande@ppp118-210-110-96.lns20.adl2.internode.on.net] has quit [Ping timeout: 265 seconds] 20:21:57 ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has joined #lisp 20:22:20 nixeagle [~user@Wikimedia/Nixeagle] has joined #lisp 20:23:09 vtz [~user@router2-border.mreja.net] has joined #lisp 20:23:27 -!- ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has left #lisp 20:26:38 Sikander [~soemraws@5356ECA7.cable.casema.nl] has joined #lisp 20:26:47 Hi 20:28:13 didi [~user@unaffiliated/didi/x-1022147] has joined #lisp 20:28:31 I just started dabbling with flexichain and have the problem that when trying to run any generic function on a standard-flexicursor, I get the error "There is no applicable method ..." 20:28:32 Is there a library for date related calculations? 20:28:40 didi: a couple 20:28:52 LOCAL-TIME is well maintained, I believe. 20:28:54 ak70 [~ak70@80.77.204.157] has joined #lisp 20:28:54 pkhuong_: Do you have one in mind to suggest? 20:28:57 pkhuong_: Nice. 20:30:02 bgs101 [~ian@unaffiliated/bgs100] has joined #lisp 20:30:12 I checked the flexichain source and see that there is a method defined for standard-flexicursors. So what's going on? 20:30:33 -!- tcr [~tcr@81-233-246-97-no37.tbcn.telia.com] has quit [Quit: Leaving.] 20:30:34 -!- Jasko3 [~tjasko@c-174-59-223-208.hsd1.pa.comcast.net] has quit [Quit: Leaving] 20:30:37 `clbuild' made me lazy. ;) 20:31:00 tcr [~tcr@81-233-246-97-no37.tbcn.telia.com] has joined #lisp 20:31:49 gonzojive [~red@rescomp-09-162682.Stanford.EDU] has joined #lisp 20:32:44 Sikander: I added some FFT tests. 20:33:25 pkhuong_: Thank you, by the way. 20:35:13 -!- aidalgol [~user@118.148.172.37] has quit [Ping timeout: 240 seconds] 20:35:26 LiamH: Ah, dammit. Sorry, I got distracted with mixalot 20:35:39 LiamH: Great that you added them, at least 20:35:42 Salamander [~Salamande@ppp118-210-205-64.lns20.adl6.internode.on.net] has joined #lisp 20:35:53 Sikander: Oh, you're him. Thanks for adding ogg support. :) 20:36:02 -!- bgs101 is now known as bgs100 20:36:04 redline6561: It's got flac support as well now 20:36:04 -!- vu3rdd [~vu3rdd@122.167.90.136] has quit [Remote host closed the connection] 20:36:11 Sikander: Awesome! 20:36:13 redline6561: You're welcome 20:36:25 Sikander: Take a look at them and see what you think. Also, they seem to run slow and I can't figure out why; doing 1...99 takes 17 minutes but in GSL it runs so fast you don't even notice. 20:36:26 Just waiting for hefner to add them in shuffletron 20:36:42 -!- ost [~user@217.66.22.1] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 20:36:47 Sikander: so I shortened the test suite to be 1...9, 32,64 20:36:57 -!- ak70 [~ak70@80.77.204.157] has quit [Quit: Leaving.] 20:37:18 LiamH: Wow, that's insane. I'll have a look. I'm sorry, I've been promising to add all sorts of stuff, but as I said, I got distracted with other lispy stuff. 20:37:39 -!- Avisch [~Avisch@cpe-24-93-16-141.rochester.res.rr.com] has quit [Quit: Leaving] 20:37:53 Sikander: no worries, we had all the mechanism for the tests there, they just weren't implemented, so I wrote a few definitions to make that happen. 20:38:03 Avisch [~Avisch@cpe-24-93-16-141.rochester.res.rr.com] has joined #lisp 20:38:05 redline6561: Do you have experience with >2 channel vorbis or flac? 20:38:27 Sikander: I'm afraid I don't. Sorry. 20:38:30 redline6561: With that, I mean, in the wild? 20:39:09 redline6561: Ok, no problems. At the moment, it only supports mono and stereo vorbis, and stereo flac (should add mono support but I don't know of any mono flac files :)) 20:39:19 sellout [~greg@c-24-128-49-113.hsd1.ma.comcast.net] has joined #lisp 20:39:38 Sikander: Good enough for my needs. Now I just need to add plugin/scrobbling support to shuffletron. :) 20:40:08 LiamH: It's weird. I have some tests I was porting lying around, and I definately didn't notice this insanely bad performance. 20:40:38 Sikander: I might be doing something wrong, take a look at the code. 20:40:48 redline6561: I've mailed hefner a few times, but he seems unresponsive, no doubt due to actual work he's doing. He did tell me that he would handle the shuffletron side of the matter. 20:40:54 -!- hargettp [~anonymous@pool-71-184-181-149.bstnma.east.verizon.net] has quit [Quit: hargettp] 20:41:16 redline6561: Sounds good. I assume you mean ogg/flac and not last.fm/plugins. 20:41:40 -!- Dodek [~xyzzyz@77-255-246-150.adsl.inetia.pl] has quit [Quit: Lost terminal] 20:42:20 redline6561: Erm, ok, I just added flac support, not ogg flac. You have some ogg flac files? 20:42:32 Sikander: No no. Nevermind. 20:43:12 redline6561: Ok. I saw you were working on the vorbis sndfile part, but I noticed it only after I already wrote part of the libvorbisfile ffi stuff 20:44:08 redline6561: Do you use id3 with flac? atm, I can only read out vorbis comments from flac files. I didn't have much time to experiment too much; as long as it works for me :) 20:44:10 Sikander: No worries. I didn't get far before getting pulled away by other things. I'm just happy support is there, sndfile vs libvorbisfile doesn't concern me much. 20:44:34 retroj [~retroj@unaffiliated/retroj] has joined #lisp 20:44:41 Sikander: Nope. 20:45:04 redline6561: Then I leave it like this and wait for hefner or someone else to handle the shuffletron side... 20:46:31 -!- Madsy [~madman@fu/coder/madsy] has quit [Ping timeout: 260 seconds] 20:46:41 LiamH: convert branch on gsd is no more? 20:47:31 Sikander: right, everything folded into master, all arrays now live in grid, foreigns based on static-vectors. 20:49:17 LiamH: dammit, I wish I could do all the macro-fu stuff as well... 20:49:56 don't get me wrong, I can read it, but I'm apparently so intellectually impaired that I can't come up with decent ways to use them. 20:51:55 beach: Hey beach, I have a silly question regarding flexichain: the docs say standard-flexicursor is an instantiable subclass, but cursor-pos doesn't seem to be defined for it. Doesn't that make the standard-flexicursor instance more or less useless? 20:52:52 Sikander: I haven't looked into that for years. I'll have a look. 20:53:29 beach: No, don't worry. I understand that I should use one of the sticky cursors. It was just a question regarding the docs. 20:54:15 beach: If you don't remember immediately, don't worry about it now, at least. 20:55:01 Sikander: You seem to be right. The documentation is off. 20:55:24 stettber` [stettberge@peer.zerties.org] has joined #lisp 20:55:35 srolls_ [~user@167.216.131.126] has joined #lisp 20:55:53 faux` [~user@1-1-4-21a.gkp.gbg.bostream.se] has joined #lisp 20:56:14 beach: Also, it says that with the insert method, the left-sticky cursor is incremented, but not the right-sticky cursor. From the naming, I would have suspected otherwise 20:56:30 beach: In fact, I would have expected the opposite 20:56:43 nowhereman [~pierre@AStrasbourg-551-1-25-54.w83-196.abo.wanadoo.fr] has joined #lisp 20:57:00 Indeed, that sounds strange. 20:57:37 krappie_ [~brain@mx.skitzo.org] has joined #lisp 20:57:40 pr [phil@unaffiliated/pr] has joined #lisp 20:57:45 I'll just play around and figure it out. Docs seem to be very complete, though, it would be a shame if they are wrong. 20:57:48 Tordek__ [~tordek@2001:470:dc50:b0::2] has joined #lisp 20:57:50 e-future_ [~e-future@unaffiliated/sergio/x-8197433] has joined #lisp 20:57:54 varjag_ [~eugene@84.118.202.84.customer.cdi.no] has joined #lisp 20:58:01 -!- krappie [~brain@mx.skitzo.org] has quit [Ping timeout: 252 seconds] 20:58:01 -!- pr_ [phil@komodo.contextshift.eu] has quit [Read error: Operation timed out] 20:58:01 Xantoz_ [~hejhej@c83-251-227-152.bredband.comhem.se] has joined #lisp 20:58:01 -!- e-future [~e-future@unaffiliated/sergio/x-8197433] has quit [Read error: Operation timed out] 20:58:01 -!- faux [~user@1-1-4-21a.gkp.gbg.bostream.se] has quit [Read error: Operation timed out] 20:58:01 -!- Tordek [~tordek@2001:470:dc50:b0::2] has quit [Write error: Broken pipe] 20:58:01 -!- Xantoz [~hejhej@c83-251-227-152.bredband.comhem.se] has quit [Write error: Broken pipe] 20:58:01 -!- OliverUv_ [~gandhi@34.81-167-250.customer.lyse.net] has quit [Write error: Broken pipe] 20:58:01 -!- peterhil [~peterhil@a91-153-120-132.elisa-laajakaista.fi] has quit [Write error: Broken pipe] 20:58:01 -!- samo [~samo@88.200.108.138] has quit [Read error: Operation timed out] 20:58:01 -!- stettberger [stettberge@peer.zerties.org] has quit [Read error: Operation timed out] 20:58:01 -!- xristos [~x@2001:470:8859:cafe:20c:29ff:fec5:e30a] has quit [Read error: Operation timed out] 20:58:01 -!- l_a_m [~nlamiraul@194.51.71.190] has quit [Read error: Operation timed out] 20:58:01 -!- herbieB [~herbie@u15287329.onlinehome-server.com] has quit [Read error: Operation timed out] 20:58:01 -!- nowhere_man [~pierre@AStrasbourg-551-1-25-54.w83-196.abo.wanadoo.fr] has quit [Ping timeout: 252 seconds] 20:58:01 -!- gz` [~gz@209-6-40-245.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Ping timeout: 252 seconds] 20:58:01 -!- Xof [~crhodes@158.223.51.79] has quit [Read error: Operation timed out] 20:58:02 -!- nixeagle [~user@Wikimedia/Nixeagle] has quit [Read error: Operation timed out] 20:58:02 -!- varjag [~eugene@84.118.202.84.customer.cdi.no] has quit [Ping timeout: 252 seconds] 20:58:02 -!- srolls [~user@167.216.131.126] has quit [Ping timeout: 252 seconds] 20:58:02 xristos [~x@2001:470:8859:cafe:20c:29ff:fec5:e30a] has joined #lisp 20:58:07 Xof_ [~crhodes@158.223.51.79] has joined #lisp 20:58:11 peterhil_ [peterhil@a91-153-120-132.elisa-laajakaista.fi] has joined #lisp 20:58:16 Sikander: I'm not going to look into that tonight (it's too late). I would appreciate if you send me your findings, and I'll look into it myself as well. 20:58:20 samo [~samo@88.200.108.138] has joined #lisp 20:58:30 l_a_m [~nlamiraul@194.51.71.190] has joined #lisp 20:58:41 herbieB [~herbie@u15287329.onlinehome-server.com] has joined #lisp 20:58:50 OliverUv [~gandhi@34.81-167-250.customer.lyse.net] has joined #lisp 20:59:05 beach: will do. 20:59:07 -!- xristos is now known as Guest71620 20:59:13 Thanks! 20:59:45 -!- AntiSpamMeta [~MetaBot@unaffiliated/afterdeath/bot/antispambot] has quit [Excess Flood] 21:00:23 -!- dlowe [~dlowe@ita4fw1.itasoftware.com] has quit [Quit: Leaving.] 21:00:34 jmcphers [~jmcphers@218.185.108.156] has joined #lisp 21:01:00 fe[nl]ix: just tried using some iolib code that i've been testing on a linux box on my mac and it fails cause i have no /etc/resolv.conf 21:02:06 AntiSpamMeta [~MetaBot@unaffiliated/afterdeath/bot/antispambot] has joined #lisp 21:04:07 peterhil [~peterhil@a91-153-116-43.elisa-laajakaista.fi] has joined #lisp 21:08:25 -!- varjag_ [~eugene@84.118.202.84.customer.cdi.no] has quit [Read error: Connection reset by peer] 21:11:54 jil [~user@41.202.71.212] has joined #lisp 21:11:57 hil 21:11:58 hi 21:12:25 I read that one can connect lisp to php code using sockets. How? (practical example) 21:13:04 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 21:13:16 francogrex: uhhh... assuming you have socket access from php, you can just do whatever IPC stuff you want. 21:13:25 hargettp [~anonymous@pool-71-184-181-149.bstnma.east.verizon.net] has joined #lisp 21:13:41 francogrex: IOLib would be a good lisp library to use for the lisp side of that little interaction :) 21:14:46 jleija [~jleija@user-24-214-122-46.knology.net] has joined #lisp 21:15:41 tritchey_ [~tritchey@c-98-226-81-194.hsd1.in.comcast.net] has joined #lisp 21:17:34 sykopomp: ok; I think in my lisp there is socket , do i really need the iolib? 21:18:15 aidalgol [~user@202.36.179.65] has joined #lisp 21:18:52 Sikander: which macros are you referring to? 21:19:25 -!- tritchey [~tritchey@c-98-226-81-194.hsd1.in.comcast.net] has quit [Ping timeout: 255 seconds] 21:19:39 francogrex: ...if you don't know the answer to that, I don't know what to tell you. 21:19:39 LiamH: Oh, for the tests, I was looking in the tests subdir, seeing the defmacros and remembering the awesome interface for implementing (with quite some ease) GSL functions into GSLL 21:20:07 -!- tritchey_ [~tritchey@c-98-226-81-194.hsd1.in.comcast.net] has quit [Ping timeout: 252 seconds] 21:20:10 Sikander: I can explain them to you if you want. 21:21:18 LiamH: I can read them, that's not the problem. The problem is that I apparently don't have the mental capacity to generate such a thing. I think too much like one would think in C 21:21:33 didi [~user@unaffiliated/didi/x-1022147] has joined #lisp 21:21:44 Sikander: oh, well, that's cured by spending more time in Lisp and less in C :-) 21:21:49 Salamander_ [~Salamande@ppp118-210-5-99.lns20.adl2.internode.on.net] has joined #lisp 21:22:18 nothing, i was searching the net for an example of that use 21:22:23 LiamH: And now that I have been programming in lisp on and off for over a year (only interspersed with some python stuff), I would have expected that my brain would start functioning properly. 21:22:27 LiamH: But alas 21:23:05 Did someone try to load 'local-time from clbuild? I am trying using (asdf:operate 'asdf:load-op 'local-time) but asdf seems unable to find the package. 21:23:53 didi: Didn't even know it was in clbuild 21:23:53 Sikander: I think you wrote most of the FFT functions yourself, based on a few minutes inspection of some other functions. I only rearranged them a little. 21:24:13 -!- Salamander [~Salamande@ppp118-210-205-64.lns20.adl6.internode.on.net] has quit [Ping timeout: 240 seconds] 21:24:16 Sikander: It is. At least clbuild installs something. 21:24:25 -!- NNshag [user@lns-bzn-30-82-253-184-186.adsl.proxad.net] has quit [Ping timeout: 276 seconds] 21:24:28 didi: Yeah, I notice :) 21:24:36 Nshag [user@lns-bzn-43-82-249-154-60.adsl.proxad.net] has joined #lisp 21:25:50 LiamH: Yes, I _used_ your macros. I was referring to wanting to have the ability to _write_ such macros, or at least make such a design 21:26:29 didi: Works fine for me; at least (require 'local-time) compiles stuff 21:27:17 What _is_ actually the difference between (asdf:operate 'asdf:load-op 'foo) and (require 'foo)? 21:27:23 Sikander: well I was impressed how quickly you picked that up. I wouldn't be able to pick it up that quickly. 21:27:44 Sikander: Weird. Nothing here. `Symbol "LOAD-SYSTEM" not found in the ASDF package.' 21:27:45 21:27:54 LiamH: Hm, ok, so I might still have a chance to learn... 21:28:06 Sikander: I think the require form is an SBCL extension; proper ASDF is the former. 21:28:40 LiamH: ... I prefer the SBCL form. The "proper" form seems overly complicated. 21:28:52 Sikander: I agree. 21:31:44 didi: Eh, well, perhaps you need defsystem-compatibility as well 21:31:50 ? 21:32:07 -!- Deltafire [~chris@82-71-44-155.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 276 seconds] 21:32:11 Sikander: I wouldn't know. What is that? 21:32:21 -!- HET2 [~diman@cpc1-cdif12-2-0-cust125.5-1.cable.virginmedia.com] has quit [Quit: This computer has gone to sleep] 21:32:35 Well, I am installing it. 21:32:41 didi: It's in clbuild and is some compatibility package that has defsystem and stuff in it. I don't know, I'm not much into packaging... 21:33:18 didi: I can't guarantee that that's what does the trick, though... 21:33:20 Sikander: No. :( 21:33:21 It isn't. 21:33:27 -!- TheLolrus [~Xarver@cpe-75-83-191-189.socal.res.rr.com] has quit [Quit: Leaving] 21:33:27 Your asdf needs to be sufficiently new. 21:33:28 Can I specify the type of lists elements when defining a defclass slot? 21:33:32 Where's quicklisp when you need it... 21:33:34 peterhil_: not really. 21:33:35 :D 21:34:10 Xach: Can I get it using clbuild? 21:34:40 Ok, I'll live with that. 21:34:48 didi: I don't know. I don't think so. 21:34:55 didi: what CL do you use? 21:35:21 Xach: I am using SBCL but just because. 21:35:45 LiamH: Ok, it's quite late now, but I'll have a look at the performance later, and get back to you. 21:35:55 -!- Bronsa [~bronsa@host124-117-dynamic.60-82-r.retail.telecomitalia.it] has quit [Quit: leaving] 21:36:01 Sikander: thanks 21:36:02 didi: what version of sbcl? 21:36:10 didi: newer sbcls come with sufficiently new asdf. 21:36:18 Goodnight, people 21:36:22 Xach: Let me see it. 21:36:29 -!- Sikander [~soemraws@5356ECA7.cable.casema.nl] has quit [Quit: Time to sleep...] 21:36:36 Xach: SBCL 1.0.29.11.debian 21:36:58 -!- Tordek__ is now known as Tordek 21:37:09 -!- Tordek [~tordek@2001:470:dc50:b0::2] has quit [Quit: brb] 21:37:26 didi: that is somewhat old 21:37:49 Tordek [~tordek@2001:470:dc50:b0::2] has joined #lisp 21:38:37 Xach: Really? That's a pity. Oh well, I should try the clbuild's then. 21:39:55 -!- deepfire [~deepfire@80.92.100.69] has quit [Ping timeout: 252 seconds] 21:40:33 didi: I think ASDF in earlier incarnations used the more arcane (asdf:oos 'asdf:load-op :my-system-name) 21:40:59 *udzinari* <3 quicklisp screencast.. 21:40:59 didi: fwiw :) 21:41:05 How can I set a slots value based on total count of other slots values -- on initializing an instance? 21:41:38 peterhil_: one way is to write an initialize-instance method. 21:41:39 Or should I make a function for that purpose? 21:41:44 udzinari: glad to hear it 21:41:53 Xach: Ok, thanks. 21:42:23 hargettp: Thank you for the information, but it did not work too. But the former version is working to load 'drakma and 'split-sequence. 21:42:56 Xach: you are doing such an amazing stuff all the time, thank you so much for that! 21:43:51 -!- tcr [~tcr@81-233-246-97-no37.tbcn.telia.com] has quit [Quit: Leaving.] 21:44:00 Xach: I already use quicklisp, whenever I can. Works like charm. :-) 21:44:12 Just had to mention... 21:45:58 Elench [~Elench@unaffiliated/elench] has joined #lisp 21:46:16 *Xach* is facing a very frustrating asdf2 problem 21:50:18 -!- aidalgol [~user@202.36.179.65] has quit [Remote host closed the connection] 21:50:41 austinh [~austinh@c-67-189-92-40.hsd1.or.comcast.net] has joined #lisp 21:55:35 -!- vtz [~user@router2-border.mreja.net] has quit [Ping timeout: 260 seconds] 21:56:04 What lisp do you use for your personal projects? Although it's verbose as hell, I like elisp because it comes with emacs and I don't need to load anything else 21:56:30 konr: you ask this in a common lisp irc channel, what do you expect as an answer? 21:57:07 Compiling SBCL from clbuild is not for the weak of heart. 21:57:18 konr: common lisp 21:57:19 didi: quicklisp! 21:57:42 quicklisp doesn't compile sbcl. 21:58:07 didi: also, that doesn't give you clbuild, but it does help you load libraries 21:58:09 -!- Hun [~hun@95-90-224-156-dynip.superkabel.de] has quit [Remote host closed the connection] 21:58:23 Xach: no, but getting sbcl is arguably the easy part 21:58:37 didi: ./clbuild update sbcl && ./clbuild compile-implementation sbcl 21:58:55 seems pretty straight forward. 21:59:07 requires a system lisp is installed. the packaed sbcl in debian works fine. 21:59:08 madnificent: I'll take a look at it as, it seems, it comes from Xach. 21:59:35 Hmm, hod do I create the instance from a custom make-instance? 21:59:38 if you're a windows user, I don't know what you do. 21:59:40 ...how 21:59:46 Fade: I did it. What I meant is that it has *a lot* of scary messages during it. 21:59:57 didi: an unfair but rightful choice, I believe. (though Xach believes quicklisp is not finished yet <<== still fun) 21:59:59 sbcl is just chatty compiler. 22:00:09 -!- Lycurgus [~juan@cpe-72-228-177-92.buffalo.res.rr.com] has quit [Remote host closed the connection] 22:00:15 and bootstrapping a compiler is a wild process. :) 22:00:21 Madsy [~madman@fu/coder/madsy] has joined #lisp 22:01:32 madnificent: Well, I am too of a newbie to use any other criteria. 22:02:07 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has quit [Remote host closed the connection] 22:02:29 didi: I'm not blaming you for it, not by far. 22:02:41 Fade: It reminded me gcc's warnings, that always come back at me if I ignore them. 22:04:08 -!- ASau [~user@83.69.227.32] has quit [Read error: Connection reset by peer] 22:04:32 With initialize-instance? 22:04:59 -!- erg_ is now known as erg 22:06:02 -!- mulander [mulander@078088239019.lubin.vectranet.pl] has quit [Ping timeout: 248 seconds] 22:06:47 ASau [~user@83.69.227.32] has joined #lisp 22:10:51 Got it now with :initialize-instance :after 22:12:46 -!- milanj [~milanj_@212.200.217.140] has quit [Quit: Leaving] 22:13:26 -!- rdd [~rdd@c83-250-48-164.bredband.comhem.se] has quit [Ping timeout: 245 seconds] 22:16:00 Jasko [~tjasko@c-174-59-223-208.hsd1.pa.comcast.net] has joined #lisp 22:16:30 HET2 [~diman@cpc1-cdif12-2-0-cust125.5-1.cable.virginmedia.com] has joined #lisp 22:17:30 davazp` [~user@84.122.72.152.dyn.user.ono.com] has joined #lisp 22:19:08 -!- bozhidar [~user@93-152-185-88.ddns.onlinedirect.bg] has quit [Remote host closed the connection] 22:22:54 tessier__ [~treed@mail.copilotco.com] has joined #lisp 22:23:35 dreish [~dreish@minus.dreish.org] has joined #lisp 22:23:54 -!- elderK [~elderK@pdpc/supporter/active/elderk] has quit [Remote host closed the connection] 22:26:00 -!- tessier__ [~treed@mail.copilotco.com] has quit [Client Quit] 22:26:08 Ok, now I need to know how to update the total when the limits change: http://paste.lisp.org/display/113648 22:26:40 abugosh [~Adium@pool-74-103-38-231.bltmmd.fios.verizon.net] has joined #lisp 22:27:42 define your own setf-method for limits 22:27:55 and stop using slot-values 22:28:06 stassats: I thought so, but what is the arg definition then? 22:28:26 what arg? 22:29:09 Oh, now I see... :-) 22:29:21 (defmethod (setf limits) :after (value (object partition)) ...) 22:29:57 for slot-value to work you need MOP 22:30:58 I thought about it the wrong way... It seems I have some learning still to be done with CLOS. Haven't used it much yet. 22:31:45 peterhil_: the MOP isn't part of the ansi spec 22:32:09 -!- abugosh [~Adium@pool-74-103-38-231.bltmmd.fios.verizon.net] has quit [Quit: Leaving.] 22:32:21 and defining type of slots is pointless most of the time 22:32:32 udzinari` [~user@209.158.broadband13.iol.cz] has joined #lisp 22:32:50 stassats: I see it as documentation 22:34:21 So, should I define total to have an accessor and use (setf (total p)...? 22:34:39 -!- udzinari` [~user@209.158.broadband13.iol.cz] has quit [Read error: Connection reset by peer] 22:34:51 udzinari` [~user@209.158.broadband13.iol.cz] has joined #lisp 22:35:23 Salamander__ [~Salamande@ppp121-45-70-138.lns20.adl6.internode.on.net] has joined #lisp 22:35:34 sixpoint8 [~jaykub@ip68-12-204-131.ok.ok.cox.net] has joined #lisp 22:35:40 -!- slash_ [~unknown@p5DD1D3CF.dip.t-dialin.net] has quit [Quit: Leaving.] 22:36:00 well, you can use (setf (slot-value partition) 'total) 22:36:14 stassats: without the mop? 22:36:28 -!- udzinari [~user@209.158.broadband13.iol.cz] has quit [Ping timeout: 276 seconds] 22:36:36 stassats: That is what I did. 22:36:46 madnificent: sure 22:36:50 It seems to work. 22:37:16 -!- Davidbrcz [~david@212-198-91-47.rev.numericable.fr] has quit [Ping timeout: 255 seconds] 22:37:22 -!- udzinari` is now known as udzinari 22:37:33 -!- Salamander_ [~Salamande@ppp118-210-5-99.lns20.adl2.internode.on.net] has quit [Ping timeout: 240 seconds] 22:37:43 stassats: sorry, I was thinking about another thing and totally failed to interpret the context of that 22:37:45 *madnificent* needs coffee 22:38:14 attila_lendvai [~attila_le@apn-94-44-6-36.vodafone.hu] has joined #lisp 22:38:31 stassats: Do you mean the slot type definition is pointless, because when there is a wrong type of value it will let itself known usually? 22:39:08 peterhil_: SBCL does type checks for slots only when compiled with high debug levels 22:39:10 -!- dfox [~dfox@ip-94-113-88-117.net.upcbroadband.cz] has quit [Ping timeout: 276 seconds] 22:39:37 I want to use an assoc list for limits, that's why I defined limits as list. I would have defined the type to be of (or null (list (cons * number))) if that would have been possible. 22:40:02 CCL complains even in Listener. 22:40:20 if that helps you, good then 22:40:44 hohoho [~hohoho@ntkngw229253.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #lisp 22:40:56 -!- astoon [~astoon@213.141.244.246] has quit [Ping timeout: 245 seconds] 22:43:02 peterhil_: there's (satisfies list-of-integers-p) 22:43:05 Xach: can we get a link to a snapshot of quicklisp.lisp on quicklisp.org ? 22:43:10 if you want to be safe, but slow 22:43:36 -!- faux` [~user@1-1-4-21a.gkp.gbg.bostream.se] has left #lisp 22:44:06 -!- LiamH [~none@pdp8.nrl.navy.mil] has quit [Quit: Leaving.] 22:44:18 -!- carlocci [~nes@93.37.219.5] has quit [Quit: eventually IE will rot and die] 22:44:53 -!- attila_lendvai [~attila_le@apn-94-44-6-36.vodafone.hu] has quit [Ping timeout: 258 seconds] 22:44:53 Plazma [~Plazma@freenode/staff/plazma] has joined #lisp 22:45:33 -!- lemoinem [~swoog@74-76-252-216.dsl.colba.net] has quit [Disconnected by services] 22:45:43 madnificent: hop in #quicklisp for that 22:45:46 lemoinem [~swoog@216.252.75.86] has joined #lisp 22:46:51 rbarraud_ [~rbarraud@118-93-161-254.dsl.dyn.ihug.co.nz] has joined #lisp 22:48:18 jil` [~user@41.202.71.212] has joined #lisp 22:48:50 -!- francogrex [~user@109.130.149.213] has quit [Remote host closed the connection] 22:49:19 quicklisp is by invites only 22:49:21 PuffTheMagic: there's no /etc/resolve.conf on your OSX ? 22:49:34 mprime [d0668528@gateway/web/freenode/ip.208.102.133.40] has joined #lisp 22:50:19 -!- jil [~user@41.202.71.212] has quit [Ping timeout: 255 seconds] 22:51:50 stassats: but I only have an old version :( 22:53:13 gz` [~gz@209-6-40-245.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #lisp 22:53:55 -!- rbarraud_ [~rbarraud@118-93-161-254.dsl.dyn.ihug.co.nz] has quit [Ping timeout: 260 seconds] 22:54:32 vsync [~vsync@24.173.173.82] has joined #lisp 22:56:16 -!- jil` is now known as jil 22:57:00 -!- mprime [d0668528@gateway/web/freenode/ip.208.102.133.40] has quit [Quit: Page closed] 23:01:10 -!- dstatyvka [ejabberd@pepelaz.jabber.od.ua] has left #lisp 23:05:43 -!- gravicappa [~gravicapp@ppp85-141-166-16.pppoe.mtu-net.ru] has quit [Ping timeout: 265 seconds] 23:07:29 fe[nl]ix: nope 23:07:39 i mean... i touched it, and the lib now works 23:07:47 but my osx does not seem to need it 23:07:49 symbole [~symbole@216.214.176.130] has joined #lisp 23:08:04 or what it uses is somewhere else 23:09:40 aidalgol [~user@202.36.179.65] has joined #lisp 23:10:39 Toekutr [~toekutr@adsl-69-107-109-7.dsl.pltn13.pacbell.net] has joined #lisp 23:15:34 incandenza [~djm@ip68-231-109-244.ph.ph.cox.net] has joined #lisp 23:17:19 -!- hargettp [~anonymous@pool-71-184-181-149.bstnma.east.verizon.net] has quit [Quit: hargettp] 23:19:31 hargettp [~anonymous@pool-71-184-181-149.bstnma.east.verizon.net] has joined #lisp 23:19:32 TheLolrus [~Xarver@cpe-75-83-191-189.socal.res.rr.com] has joined #lisp 23:20:58 -!- TheLolrus [~Xarver@cpe-75-83-191-189.socal.res.rr.com] has quit [Remote host closed the connection] 23:22:00 pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has joined #lisp 23:22:44 TheLolrus [~Xarver@cpe-75-83-191-189.socal.res.rr.com] has joined #lisp 23:25:20 PuffTheMagic: what version of OSX is that ? 23:25:48 10.6.2 23:26:09 yeah this release broke lots of things 23:27:34 stassats` [~stassats@wikipedia/stassats] has joined #lisp 23:28:02 deepfire [~deepfire@80.92.100.69] has joined #lisp 23:28:08 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Quit: Adamant] 23:28:50 OSX docs say that the system is suppose to auto-generate an /etc/resolv.conf 23:29:04 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 246 seconds] 23:29:05 so if it's not there, it's a bug 23:30:32 -!- davazp` [~user@84.122.72.152.dyn.user.ono.com] has quit [Remote host closed the connection] 23:30:45 -!- lemoinem [~swoog@216.252.75.86] has quit [Disconnected by services] 23:30:57 lemoinem [~swoog@195-74-252-216.dsl.colba.net] has joined #lisp 23:31:59 abugosh [~Adium@pool-74-103-38-231.bltmmd.fios.verizon.net] has joined #lisp 23:34:08 rbarraud_ [~rbarraud@202-180-88-252.callplus.net.nz] has joined #lisp 23:37:44 -!- ysph [~user@24-181-93-165.dhcp.leds.al.charter.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:39:10 -!- abugosh [~Adium@pool-74-103-38-231.bltmmd.fios.verizon.net] has quit [Quit: Leaving.] 23:43:10 -!- aidalgol [~user@202.36.179.65] has quit [Ping timeout: 240 seconds] 23:47:52 aidalgol [~user@202.36.179.65] has joined #lisp 23:51:07 hi. i am confused about macros. i thought this should evaluate to '(bar). can someone explain? (macrolet ((foo () `(bar))) (macroexpand '(foo))) 23:51:15 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:51:39 fe[nl]ix: there might be something that auto-gens it but i dont think its enough to guarantee that is exists 23:53:00 Salamander_ [~Salamande@ppp118-210-3-216.lns20.adl2.internode.on.net] has joined #lisp 23:55:13 -!- Salamander__ [~Salamande@ppp121-45-70-138.lns20.adl6.internode.on.net] has quit [Ping timeout: 240 seconds] 23:55:45 retroj: you didn't capture the environment 23:56:05 stassats`: how do i do that? 23:56:31 Salamander__ [~Salamande@ppp121-45-73-212.lns20.adl6.internode.on.net] has joined #lisp 23:56:43 retroj: (macrolet ((environment (&environment env) env) (foo () `(bar))) (macroexpand '(foo) (environment))) 23:57:46 i see now, many thanks 23:58:53 -!- Salamander_ [~Salamande@ppp118-210-3-216.lns20.adl2.internode.on.net] has quit [Ping timeout: 240 seconds] 23:58:57 you could write something like (defmacro local-macroexpand-1 (form &environment environment) `(macroexpand-1 ,form ,environment))