freenode/#lisp - IRC Chatlog
Search
19:10:10
astronavt
anyone here have a good (or not good) experience using Clozure CL to do Mac GUI work?
19:33:46
Xach
attila_lendvai: http://report.quicklisp.org/2017-08-30/failure-report/hu.dwim.reiterate.html#hu.dwim.reiterate_iterate ??
20:26:18
attila_lendvai
Xach: I wanted to be conservative, not pushing some of the brand new patches, but apparently I ended up pushing something half-baked. I pushed everything I had, it should load fine now
20:39:24
malice
Is the error signalled when accessing out-of-bounds element of array/vector well-defined?
20:58:38
jfrancis
I just upgraded my quicklisp packages and broke my code. Drakma is now puking on the self-signed cert I'm using in my test system. If I do (drakma:http-request uri :verify nil ...) shouldn't it ignore the validity of the cert? Or am I reading the drakma docs wrong?
21:18:31
scymtym
jfrancis: the current quicklisp release includes a combination of cl+ssl and drakma in which :verify nil does not work (because some necessary changes in drakma did not make it into quicklisp). in the meantime, a drakma release to fix this has been prepared and the next quicklisp release is probably imminent
21:36:14
jfrancis
scymtym: thanks. in the meantime, I rolled back the quicklisp upgrade from a backup and that got me back up and running.
21:38:29
jfrancis
I'll probably just wait. Right now, making progress on my application is more important than having the latest libraries. Only so many hours in a day.
21:39:03
jfrancis
Yeah, I know I can do that with quicklisp, but it was quicker to pull from a backup. Not enough time to learn everything I wish I could.
22:21:11
phoe
I hereby announce the presence of #clus - IRC channel linked to Discord where I hope to discuss matters related to development of Common Lisp UltraSpec.
22:29:12
drmeister
I'm implementing beach's fast generic function approach and running into metastability issues.
22:30:08
drmeister
Nasty ones that I'm guess are due to when I'm compiling a dispatch function it invokes other generic functions with missing or incomplete dispatch functions and that so on.
22:31:53
drmeister
Clasp starts up using the ECL dispatch method and then switches all of its generic functions over to the new method.
22:32:49
drmeister
While running with the old ECL dispatch method each generic function accumulates a "call history" of specializer lists that it has been called with and effective methods for those specializer lists.
22:33:22
drmeister
The generic function dispatch compiler simply compiles that alist into native code alist search.
22:33:59
pillton
phoe: It is not just the dispatch functions, you have to ensure that all of the method objects use the new meta classes too.
22:35:21
drmeister
This isn't an easy question and I don't expect easy answers. I'm kind of flailing for other perspectives.
22:36:46
drmeister
He has a paper on the fast generic function method and another on bootstrapping . It's not clear how they are related and I've discussed this with him. I don't have a solution yet.
22:37:56
drmeister
I'm thinking maybe I'm doing something in the wrong order, which makes my code sensitive to the problem. (sigh)
22:39:10
drmeister
When the fastgf dispatch function detects a dispatch miss it calculates an effective method, updates the call-history, compiles a new dispatch function and calls the effective method and returns.
22:40:36
drmeister
I built beach's method on top of Clasp and I can switch individual generic functions to fastgf any time.
22:42:01
drmeister
It wasn't easy and it took weeks of work. Now I'm ready to switch over to it - but this metastability issue that I don't understand is keeping me from doing that.
22:43:55
drmeister
The idea is during startup I would switch over from the old to the new one and from then on all new generic functions would use the fastgf code. I can switch over but as soon as I evaluate anything interesting it goes into an infinite recursive loop and blows the stack.
22:45:40
pillton
What about hard coding some of the generic functions first then switching them over to generic functions?
22:48:20
drmeister
I'm thinking I effectively have that already. Ecl does that and I get call histories from that startup time
22:57:11
pillton
It has been a while since I read the fastgf paper. From what I remember it requires changing internals of standard-object.