freenode/#clasp - IRC Chatlog
Search
0:53:41
drmeister
I'd like to build a docker that has exactly what you have in yitzchak/cando-clj:nglview
0:54:32
drmeister
Then I could set up a development environment to test development of widgets to build a user interface.
0:56:31
drmeister
Or I could take your Dockerfile and add the extra stuff to it and give it back to you.
0:58:10
drmeister
Or, create a github repo for the docker file and I can fork it and submit a pull request.
1:35:39
drmeister
If I build it and then add an extra step near the end of the Dockerfile then it picks up building from the change - right?
1:44:18
drmeister
Right - cando is building right now. Then I'll layer on running cando once - to build all the quicklisp and fetching slime and building that once.
1:44:38
drmeister
Then I can run the docker container and connect in to the jupyter server and a slime server.
1:45:17
drmeister
From within cando you can use (start-swank [port=4005]) and start up a swank server.
2:30:27
kpoeck
Looking at the flamegraph, I see only c++ frames - no lisp- and there only cc_unwind and __cxa_throw
2:36:06
drmeister
What we want is flamegraphs to work correctly on linux - that we still struggle with.
2:43:17
kpoeck
If you are on a mac, how long does (time (compile-file "sys:kernel;lsp;generated-encodings.lsp")) take?
2:45:31
drmeister
But I just did (time (compile-file "sys:kernel;lsp;generated-encodings.lsp")) on my linux machine and I get...
2:45:50
drmeister
Time real(3.901 secs) run(3.901 secs) consed(445313840 bytes) interps(249) unwinds(69718)
2:51:36
drmeister
kpoeck: cracauer is offline right now - but I'm updating him in a google hangouts chat.
2:55:40
kpoeck
Now I dumped the information in a file. I read that file at run-time and put all info in a variable (with hashtables of hash-tables)
2:56:33
drmeister
Wait - on the buildbot it will be doing compile-file-serial. I'm using compile-file right now.
2:57:23
kpoeck
The variable is than dumped by the compiler with (setq *encoding-cache* #.*encoding-cache*)
4:00:39
karlosz
kpoeck: yeah, i asked Bike to merge your change because i was tired of seeing that file take so much time
4:01:26
karlosz
it also started hanging for me - i simply kill the process and rebuild and it seems to go through for some reason
12:41:14
kpoeck
Some exiting progress of Bike and karlosz regarding Cleavir (Version 1). For months I coudn't compile maxima, but now that works again due to improved inlining
12:42:44
kpoeck
It seems to discussions of Bike and karlosz are very productive (although hard to follow)
12:44:14
kpoeck
Regarding performance compiling "generated-encodings.lsp". I redid a flamegraph on macosx, https://kpoeck.github.io/out-37324.svg
12:45:15
kpoeck
Whatever the reason is, I only get helpfull flamegraph if I use "CLASP_BUILD_MODE = 'object'"
12:46:24
kpoeck
drmeister said it should work for CLASP_BUILD_MODE = 'faso', but it doesn't really work for me, svg are generated, but the content is reduced (the lisp part seem to be missing)
12:48:07
kpoeck
I also tried metering with Swank-metering. The results says that most of the compilation time is spent in CLASP-CLEAVIR::SIMPLE-EVAL-CST
12:50:04
Bike
equivalent to saying most compilation time is in cst-eval, aka evaluating things in eval-when, i think