00:25:19 -!- anRch [~markmilli@64.134.243.240] has quit [Quit: anRch] 02:03:18 -!- leo2007 [~leo@cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com] has quit [Ping timeout: 240 seconds] 03:36:43 -!- alms_ [~alms_@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Quit: alms_] 03:42:38 alms_ [~alms_@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 03:47:27 -!- alms_ [~alms_@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Client Quit] 04:24:11 alms_ [~alms_@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 04:24:29 -!- alms_ [~alms_@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Client Quit] 04:27:02 alms_ [~alms_@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 04:47:50 -!- alms_ [~alms_@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Quit: alms_] 04:48:43 alms_ [~alms_@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 06:02:23 lovesan [~lovesan@62.106.119.34] has joined #ccl 06:07:35 hi all. How can i add methods to generic functions at run-time? Yes, there's http://trac.clozure.com/ccl/ticket/600 but CCL accepts :generic-function parameter to standard-method's make-instance. The problem with the last thing is that when i call add-method on method created in such way, CCL throw an error complaining that method is already added. But it is not(i.e. generic function call invokes no-applicable method) 06:11:08 i'm currently working on COM(microsoft's component object model) binding for common lisp, and it heavily depends on mop. https://github.com/Lovesan/doors 06:13:03 CCL is the most useful free CL implementation for windows, so i'm trying to make things work on it... 06:35:36 -!- lovesan [~lovesan@62.106.119.34] has left #ccl 06:39:32 lovesan [~lovesan@85.114.191.91] has joined #ccl 06:52:22 -!- lovesan [~lovesan@85.114.191.91] has left #ccl 07:12:59 -!- billstclair [~billstcla@unaffiliated/billstclair] has quit [Quit: Ex-Chat] 07:20:59 It looks like the #_ #/ etc reader macros are not available in file.lisp when launched as ccl --batch --load file.lisp 07:57:24 -!- sellout [~greg@212.3.9.50] has quit [Quit: sellout] 08:14:17 billstclair [~billstcla@unaffiliated/billstclair] has joined #ccl 08:16:09 leo2007 [~leo@cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com] has joined #ccl 08:19:57 e-user [~akahl@nat/nokia/x-ppldwobdvxcowxcz] has joined #ccl 10:07:29 jdz [~jdz@193.206.22.97] has joined #ccl 10:26:49 -!- leo2007 [~leo@cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com] has quit [Quit: rcirc on GNU Emacs 23.2.91.3] 10:28:11 mdc_ [~mdc@flash.etherboot.org] has joined #ccl 10:32:40 -!- gz` [~gz@209-6-40-245.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [*.net *.split] 10:32:40 -!- mdc [~mdc@flash.etherboot.org] has quit [*.net *.split] 10:32:41 -!- mdc_ is now known as mdc 10:36:48 I'm trying to follow the CurrencyConverter example. Unfortunately, when I launch the application, it breaks in the delegate applicationWillFinishLaunch: because [NSApp mainMenu] is nil. (so maybe-fixup-application-menu fails). 10:37:27 Did I miss something obvious? There's a MainMenu NSMenu in the CurrencyConverter.xib, but it doesn't seem to be referenced by any other object. 10:38:42 sellout [~greg@213-65-251-184-no35.business.telia.com] has joined #ccl 11:05:25 leo2007 [~leo@cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com] has joined #ccl 11:26:44 So, I added a (when main-menu ...) to maybe-fixup-application-menu, and now what happens is that a Listener window is opened (instead of the currency converter window), and we see it executing the ccl-init.lisp file, and eventually failing on Error: File "build-app.lisp" doesn not exist. While executing ccl::%load, ...; which is the file I load to call build-application... 11:26:58 bbia 8 hours. 11:38:20 -!- e-user [~akahl@nat/nokia/x-ppldwobdvxcowxcz] has quit [Ping timeout: 250 seconds] 11:52:46 -!- billstclair [~billstcla@unaffiliated/billstclair] has quit [Quit: Ex-Chat] 11:58:46 -!- sellout [~greg@213-65-251-184-no35.business.telia.com] has quit [Quit: sellout] 12:01:01 sellout [~greg@213-65-251-184-no35.business.telia.com] has joined #ccl 12:11:19 -!- sellout [~greg@213-65-251-184-no35.business.telia.com] has quit [Ping timeout: 255 seconds] 12:21:13 gz [~gz@209-6-40-245.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #ccl 12:44:58 e-user [~akahl@nat/nokia/x-clauvtouxvyjttdl] has joined #ccl 12:46:30 -!- leo2007 [~leo@cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com] has quit [Quit: rcirc on GNU Emacs 23.2.91.3] 13:11:25 leo2007 [~leo@cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com] has joined #ccl 13:54:41 -!- e-user [~akahl@nat/nokia/x-clauvtouxvyjttdl] has quit [Ping timeout: 264 seconds] 13:57:54 e-user [~akahl@nat/nokia/x-lyniiqgynhysbqgj] has joined #ccl 14:27:19 sellout [~greg@gw3.tacwap.org] has joined #ccl 15:05:55 -!- leo2007 [~leo@cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com] has quit [Quit: rcirc on GNU Emacs 23.2.91.3] 15:29:56 leo2007 [~leo@cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com] has joined #ccl 15:40:47 it seems like the hash tables for packages resize very slowly (i'm seeing around 9.3% each time?)... is there a way to configure that at package-creation time, or I wonder if the default factor might be increased? 15:45:27 clop2: Do you have any a priori idea of how many symbols will end up in your package? 15:46:21 rme, yes and no; i once thought that 3 million would be more than enough, but now i'm exceeding that by quite a bit... 15:46:29 i went ahead and upped the limit and that fixed my performance problem 15:47:00 but it seems like a more aggressive growth strategy might be sort of better 15:48:09 otoh i guess i don't have much of a sense for how much memory overhead is required for these package tables 15:48:18 so maybe there are good reasons for the small factor 15:48:28 and maybe our application is really weird :) 15:48:34 The default is something like 1.5 the old size. 15:48:48 that's what i thought, but it's not what i'm seeing 15:49:16 i wrote a dumb my-intern that reports when the htlimit of the pkg.itab changes 15:49:27 and it seems to only increase by about 1.093 each time 15:49:52 maybe that's not the right thing to measure, but it seems like it matches up with the number of symbols i interned 15:52:35 -!- e-user [~akahl@nat/nokia/x-lyniiqgynhysbqgj] has quit [Remote host closed the connection] 15:52:41 e-user [~akahl@nat/nokia/x-qrxcwzkpfdvhguiy] has joined #ccl 15:53:49 here's a standalone version of the test: 15:53:52 http://pastebin.com/28WhFRQV 15:54:09 it's probably no big deal... 15:54:11 i upped the limit 15:54:38 and wrote a replacement intern that warns me if the package is being resized (which is a little scary since it's redefining a system function, but seems fairly straightforward...) 16:00:25 clop2: out of curiosity -- why exactly are you using a package instead of a separate table for your "symbols" (do they really need to be symbols?) 16:03:01 jdz, we might be able to do things differently... we work mostly in a pretty restricted subset of lisp that can be reasoned about by the ACL2 theorem prover, and it's perhaps a little easier to use symbols instead of strings for it 16:04:14 (just because by using symbols we don't have to pass around a table everywhere) 16:06:04 you could probably use a special variable, but thanks for the answer (looks like you're limited by what the framework/library allows) 16:06:14 clop2: I'll look at your paste later. I wonder if the lock-free hashtables have different resizing behavior. 16:08:25 jdz, yeah in this logic we don't really get to use specials except for constants (well, unless we "cheat") 16:08:44 rme: cool, thanks, and no rush on any of it, it's sort of idle wondering now 16:13:54 milanj [~milanj_@93-86-23-126.dynamic.isp.telekom.rs] has joined #ccl 16:32:26 -!- ivan4th [~ivan4th@smtp.igrade.ru] has quit [Quit: rcirc on GNU Emacs 23.1.1] 17:00:27 -!- jdz [~jdz@193.206.22.97] has quit [Quit: Leaving] 17:07:28 -!- e-user [~akahl@nat/nokia/x-qrxcwzkpfdvhguiy] has quit [Quit: Leaving.] 17:09:11 Posterdati [~tapioca@host127-230-dynamic.16-87-r.retail.telecomitalia.it] has joined #ccl 18:04:07 e-user [~e-user@port-87-234-24-237.static.qsc.de] has joined #ccl 18:20:44 tfb [~tfb@92.40.11.7.sub.mbb.three.co.uk] has joined #ccl 18:24:46 billstclair [~billstcla@unaffiliated/billstclair] has joined #ccl 18:38:46 -!- leo2007 [~leo@cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com] has quit [Quit: rcirc on GNU Emacs 23.2.91.3] 19:10:11 anRch [~markmilli@64.134.96.34] has joined #ccl 19:24:09 clop2: It looks like the hash tables used to implement packages are resized in a custom way, using ccl::%resize-htab. 19:26:24 right, that's not the same as the ordinary hash table resizing code? 19:35:24 I don't think so. I'm not that familiar with this bit of ccl, but I think that ccl::%lock-free-rehash is the usual place nowadays. 19:49:15 aha 19:59:34 -!- alms_ [~alms_@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Quit: alms_] 20:10:05 -!- tfb [~tfb@92.40.11.7.sub.mbb.three.co.uk] has quit [Ping timeout: 265 seconds] 20:28:53 clop2: defpackage has a :size parameter. Strangely enough, make-package hasn't. 20:35:56 yep, i use the :size parameter, and it's very useful... i don't think there's anything similar to a resize-amount parameter though 21:13:47 alms_ [~alms_@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 21:15:11 -!- anRch [~markmilli@64.134.96.34] has quit [Quit: anRch] 21:34:34 -!- e-user [~e-user@port-87-234-24-237.static.qsc.de] has quit [Quit: Leaving.] 21:45:13 -!- alms_ [~alms_@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Quit: alms_] 21:45:20 alms_ [~alms_@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 22:20:40 leo2007 [~leo@cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com] has joined #ccl 22:59:37 -!- milanj [~milanj_@93-86-23-126.dynamic.isp.telekom.rs] has quit [Quit: Leaving]