00:03:05 thanks for the help :) 01:13:39 -!- lisppaste5 [~lisppaste@common-lisp.net] has quit [Quit: Want lisppaste5 in your channel? Email lisppaste-requests AT common-lisp.net.] 01:13:42 lisppaste5 [~lisppaste@common-lisp.net] has joined #ccl 01:24:10 night! 01:24:14 -!- nurv [nurv@83.231.81.171] has quit [] 04:29:05 -!- rme [rme@clozure-621E22E.chi01.dsl-w.verizon.net] has quit [Quit: rme] 04:29:05 -!- rme [~rme@pool-70-106-142-32.chi01.dsl-w.verizon.net] has quit [Quit: rme] 07:23:31 leo2007 [~leo@cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com] has joined #ccl 08:15:37 tfb [~tfb@212.183.140.7] has joined #ccl 09:16:27 -!- palter [palter@clozure-78A0C567.hsd1.ma.comcast.net] has quit [Quit: palter] 09:16:27 -!- palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has quit [Quit: palter] 10:23:27 nunb [~nundan@59.178.214.237] has joined #ccl 10:38:43 -!- nunb [~nundan@59.178.214.237] has quit [Read error: Operation timed out] 10:42:04 nunb [~nundan@59.178.208.214] has joined #ccl 11:17:35 palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has joined #ccl 11:19:04 -!- palter [palter@clozure-78A0C567.hsd1.ma.comcast.net] has quit [Quit: palter] 11:19:04 -!- palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has quit [Client Quit] 12:15:17 nurv [nurv@83.231.85.133] has joined #ccl 12:15:23 Hi. 12:34:43 palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has joined #ccl 12:37:35 -!- palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has quit [Remote host closed the connection] 12:38:06 palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has joined #ccl 12:38:46 -!- palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has quit [Remote host closed the connection] 12:39:17 palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has joined #ccl 12:39:57 -!- palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has quit [Remote host closed the connection] 12:40:28 palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has joined #ccl 12:45:22 -!- palter [palter@clozure-78A0C567.hsd1.ma.comcast.net] has quit [Quit: palter] 12:45:22 -!- palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has quit [Client Quit] 12:51:37 palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has joined #ccl 12:52:25 -!- palter [palter@clozure-78A0C567.hsd1.ma.comcast.net] has quit [Quit: palter] 12:52:25 -!- palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has quit [Client Quit] 12:52:44 palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has joined #ccl 13:17:57 -!- billstclair [~billstcla@unaffiliated/billstclair] has quit [Remote host closed the connection] 13:18:56 billstclair [~billstcla@gw3.tacwap.org] has joined #ccl 13:18:56 -!- billstclair [~billstcla@gw3.tacwap.org] has quit [Changing host] 13:18:56 billstclair [~billstcla@unaffiliated/billstclair] has joined #ccl 13:22:33 -!- palter [palter@clozure-78A0C567.hsd1.ma.comcast.net] has quit [Quit: palter] 13:22:33 -!- palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has quit [Quit: palter] 13:23:04 palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has joined #ccl 13:24:10 -!- palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has quit [Remote host closed the connection] 13:24:41 palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has joined #ccl 13:25:21 -!- palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has quit [Remote host closed the connection] 13:25:52 palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has joined #ccl 13:26:32 -!- palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has quit [Remote host closed the connection] 13:27:03 palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has joined #ccl 13:27:42 -!- palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has quit [Remote host closed the connection] 13:28:14 palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has joined #ccl 13:28:53 -!- palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has quit [Remote host closed the connection] 13:29:24 palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has joined #ccl 13:30:04 -!- palter [~palter@2002:4b44:b1e1:0:5ab0:35ff:fe78:6749] has quit [Remote host closed the connection] 13:30:35 palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has joined #ccl 14:34:46 rme [~rme@pool-70-106-142-32.chi01.dsl-w.verizon.net] has joined #ccl 15:10:25 Fare [~Fare@ita4fw1.itasoftware.com] has joined #ccl 16:28:26 -!- tfb [~tfb@212.183.140.7] has quit [Ping timeout: 240 seconds] 16:41:36 -!- nunb [~nundan@59.178.208.214] has quit [Read error: Connection reset by peer] 16:42:05 nunb [~nundan@59.178.212.179] has joined #ccl 18:10:46 peterbb [~peterbb@ves1-1x-dhcp356.uio.no] has joined #ccl 18:11:23 -!- nurv [nurv@83.231.85.133] has quit [] 21:27:25 ccl-logbot [~ccl-logbo@setf.clozure.com] has joined #ccl 21:27:25 21:27:25 -!- names: ccl-logbot nurv peterbb nunb Fare rme palter billstclair leo2007 lisppaste5 gz hypno gbyers alms bzzbzz sellout kelsin deepfire bfulgham chandler albino clop mdc tvaalen @ChanServ 21:27:25 -niven.freenode.net:#ccl- [freenode-info] channel trolls and no channel staff around to help? please check with freenode support: http://freenode.net/faq.shtml#gettinghelp 21:50:15 -!- peterbb [~peterbb@ves1-1x-dhcp356.uio.no] has quit [Quit: Leaving] 22:08:50 -!- alms [alms@clozure-AD075F06.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Quit: alms] 22:08:50 -!- alms [~alms@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Quit: alms] 22:26:39 Phoodus [foo@174-22-192-228.phnx.qwest.net] has joined #ccl 22:27:14 hi, I've been looking through the docs trying to find out how to get the current backtrace as a list (or string or whatever) to report for debugging purposes 22:27:19 any suggestions? I haven't found anything 22:32:40 Phoodus as far as i know (not much) 22:32:55 maybe this can help you: 22:33:00 (ccl:bug "") 22:33:13 and then in the debugger 22:33:15 ? 22:33:21 and it lists the options 22:33:35 B is the backtrace 22:34:50 The function ccl:print-call-history is what the ccl debugger uses to print a backtrace. 22:37:48 Phoodus: are you using Slime? If so, pressing B in the sldb buffer will switch you to the ccl debugger, and you can then just type :b (as nurv said) to get a backtrace. 22:39:54 I don't want to enter the debugger; I want to capture the stack trace into a variable 22:40:18 to report on where the code is currently executing and how it got there 22:40:47 now, if this can be done by triggering a condition and capturing it, that works too 22:40:59 but I don't know much about CCL's internals 22:41:04 and I couldn't find anything in the docs 22:41:16 recently started using CCL on windows due to threading support 22:41:47 -!- nunb [~nundan@59.178.212.179] has quit [Read error: No route to host] 22:41:56 Well then, maybe the internal function ccl::backtrace-as-list will do what you want. 22:42:04 ah, that sounds like it 22:42:15 nunb [~nundan@59.178.219.120] has joined #ccl 22:42:23 yes, thank you! 22:43:20 another question I have is that when printing out lists, the default format ~a/~s doesn't seem to indent it nicely, just printing one long line. Are there any ways to have it print a bit nicer for long or complex lists? 22:43:52 some sort of line width special variable to set maybe? 22:44:10 set/bind *print-pretty* to t 22:44:16 ok 22:44:22 it's nil by default. 22:45:02 hmm, not seeing any change yet 22:46:09 putting it in the code as a dynamic closure warns about *pretty-print* being unused 22:46:20 it considers it a lexical variable 22:46:51 note that it's *print-pretty*, not *pretty-print* 22:46:58 oh, duh 22:47:25 ah, much nicer! 22:47:54 *Phoodus* adds that to his init file 22:49:32 I presume the fact that threaded output goes to *inferior-lisp* rather than the slime repl is a "feature" of SLIME, not the underlying lisp 22:51:33 IIRC, there's some setting called swank:*globally-redirect-io* or something; I'm sort of a Slime caveman, so I might be spelling it wrong or misremembering what it does. 22:52:49 hmm, yeah, it's there. Setting it to T doesn't do anything, but it probably needs to be initialized before it starts up everything in SLIME 22:54:41 Also, one thing that you might encounter is that i/o control variables (including *print-pretty*) are thread-private as of ccl-1.5. 22:55:11 if I set it in my ccl-init.lisp, then all threads should start with it as T, but good to know 22:55:37 There's a macro ccl::def-standard-initial-binding that lets you change the static/default values. (We probably should think about exporting and documenting that.) 23:05:40 -!- palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has quit [Quit: palter] 23:07:17 alms [~alms@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 23:07:19 xristos [~x@research.suspicious.org] has joined #ccl 23:07:37 where should i put ccl-init on windows ? 23:07:59 i tried c:\users\xxx and no go 23:08:12 it works there for me (xp pro 64) 23:08:36 hmm, c:\documents and settings\\ccl-init.lisp 23:08:54 i'm on win7 23:09:04 there is no documents & settings 23:09:04 go into a cmd shell and echo %HOME% 23:09:07 ok 23:10:34 probably %USERPROFILE% 23:10:53 (at least i don't have %HOME% on Win7, i don't know on xp) 23:11:07 yes it's userprofile 23:11:16 which is c:\users\username 23:11:19 hmm, I've got both on mine. I might have added HOME for other stuff like cygwin or something 23:11:23 but ccl doesn't load the init there 23:11:28 it does 23:11:41 at least it does here, i have ccl-init.lisp there 23:12:09 ("documents and settings" is a completely retarded name for a directory) 23:12:20 that said, i'm using 1.3-r11936 23:12:31 ok my mistake 23:12:38 it had lisp.txt extension 23:13:08 from notepad, I presume ;) 23:13:10 maybe the "hide known extensions" option? 23:13:21 yes ;p 23:13:25 need to flip the dropdown to "all files" when making a new file in notepad 23:13:32 nurv/anyone else: do you have asdf/asdf-install setup ? 23:13:43 I've got asdf, but not asdf-install 23:13:44 xristos: "yes" 23:13:51 could you share your config? 23:13:59 i have asdf setup but without asdf-install too 23:14:04 asdf would be fine 23:14:12 just a directory where all packages live 23:14:21 (manually decompressing them) 23:14:37 and then load them (the directory is added to asdf registry from ccl-init.lisp) 23:14:48 wait, i'll pastebin 23:14:56 ok no need 23:15:20 we've got the per-lisp init file setting *version-control-root*, then the main project.lisp appends paths to that, pushing a bunch of stuff to asdf:*central-registry* 23:15:49 http://code.google.com/p/nurv-src/source/browse/trunk/Home/ccl-init.lisp 23:15:58 thanks 23:16:05 ccl64 is pretty fast 23:16:16 (the asdf decompressed packages should be in: "CCLdirectory\packages") 23:16:18 seems faster than on snow leopard 23:17:37 we're writing an inference engine, and CCL64 on windows is about 2x slower than SBCL32 on here 23:17:44 but CCL can thread, where SBCL can't 23:17:55 SBCL segfaults on Win32 for me 23:18:06 so i can't use it (the same code runs fine on CCL) 23:18:15 weird, we're running sbcl32 on win64 and we've not hit a problem 23:18:39 I suposse i've hit an edge case, dunno really. 23:18:44 probably 23:18:53 On linux it worked really well. 23:19:00 xp pro 64 is really an orphaned OS, so I'm surprised things work as well as they do :-P 23:19:09 yeah, our servers run linux + sbcl 23:19:39 but we've also made sure not to code in any sbcl-specifics 23:19:47 At work we run linux too, but my desktop computer at home is Win7. 23:20:07 so the only problem we hit running the same codebase in CCL was some lack of eval-when that ccl & sbcl treat differently 23:20:38 It's nice to have a standard. 23:20:42 and the same thread code runs in ccl/win and sbcl/linux just fine 23:20:48 (and trivial-* wrapper libraries ;) ) 23:21:07 I mean, in scheme we have had a lot of problems migratting from one implementation to another one. 23:21:40 most lispers have the same problem, because they don't discipline themselves to portability and jump right into the implementation specifics when they need somethig 23:21:52 Now when we use Scheme, we resort to PLT and avoid the rest of the implementations. 23:22:06 I don't know if that's better, but at least my head hurts less. 23:22:11 heh 23:23:49 It's hard to discipline to portability, but the good thing is that there are community de-facto standards. 23:24:17 I mean, if you need regex you usually go cl-ppcre for aliens cl-ffi and so on. 23:24:31 That's nice. 23:24:55 In scheme all implementations have their own hashtables, their own notion of OO, etc... 23:25:00 I haven't found it difficult to stay portable 23:25:07 ugh 23:46:01 -!- alms [~alms@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Quit: alms]