freenode/#clasp - IRC Chatlog
Search
4:32:50
drmeister
If in these shelter-in-place days - "sitting" has become the new "smoking" then I'm at three packs a day.
4:33:57
drmeister
I'm sitting all day reading legal documents, writing software, writing white-papers, reading emails, texts and talking on the phone.
4:41:34
no-defun-allowed
It's similar to the physics I did last year, except that we use calculus now instead of remembering some SUVAT formulas.
4:41:48
drmeister
My favorite aha moment was in Physics when I realized how the electric force and magnetism are related by relativity.
4:45:02
no-defun-allowed
I don't think we do magnetism or electricity in this course; possibly because there are also electronic engineering courses, one of which I will take next semester.
4:54:27
drmeister
My experience is first year physics is broken up into two semesters. 1. Mechanics 2. Electricity/magnetism/thermodynamics.
4:56:48
no-defun-allowed
Could do. This course is "Principles of Physics", and I'm just doing it as an elective for computer so-called science.
7:26:27
kpoeck
::notify drmeister The trouble with parallel compiler and defcallback is described in https://github.com/clasp-developers/clasp/issues/954
7:40:45
karlosz
kpoeck: sbcl has some ecl specific workarounds because ecl miscompiles certain functions. is it possible that clasp does the same?
8:05:41
karlosz
i wonder if cltl2 specified that slots with no initialize values are nil, or its always been undefined behavior and every implemnetaiton happened to make it nil
8:10:45
kpoeck
I also have https://bugs.launchpad.net/ubuntu/+source/sbcl/+bug/1865335, that I also seem to have opened in the wrong tracker
13:13:07
Bike
rather than compute a lambda's name with the lambda list in the print code we can just set that up in the compiler
13:13:29
Bike
so the actual function name in the function description is (lambda (x &optional y)) or whatever
13:15:22
Bike
of course, if anything checks for the specific function name of cl:lambda, it willb e a problem
13:58:27
Colleen
drmeister: kpoeck said 6 hours, 32 minutes ago: The trouble with parallel compiler and defcallback is described in https://github.com/clasp-developers/clasp/issues/954
13:59:31
drmeister
::notify kpoeck Thank you for the issue - I wasn't able to tackle it last night. I've been asked to write a whitepaper to target COVID-19 with our technology and I've been scrambling to get that to my collaborators.
14:22:06
Colleen
kpoeck: drmeister said 22 minutes, 35 seconds ago: Thank you for the issue - I wasn't able to tackle it last night. I've been asked to write a whitepaper to target COVID-19 with our technology and I've been scrambling to get that to my collaborators.
14:30:10
Bike
well... i have anonymous functions where the name includes the lambda list, now... but the backtrace printer appears to ignore these
14:35:45
Bike
https://github.com/clasp-developers/clasp/blob/dev/src/lisp/kernel/lsp/backtrace.lsp#L109-L126 it doesn't look at the function description at all
14:37:16
Bike
why doesn't it, though? was this written when the function was unavailable? that seems unlikely
14:41:36
drmeister
backtrace-frame-fix-names tries to improve the name and put it in backtrace-frame-function-name and backtrace-frame-print-name and then the debugger
14:42:17
drmeister
I wrote this stuff before FunctionDescription and then kind of forgot about the FunctionDescription while I was scrambling to get this working again.
14:42:36
drmeister
The FunctionDescription is supposed the be the ultimate authority about what the function is about.
14:43:17
Bike
ok. we don't want to lose this method information stuff, though, so that should go in the function description as well.
14:44:42
Bike
oh. i guess the name of a method function is already (method gf-name specializers-list)
14:47:24
Bike
we have a raw name, a function-name, and a print-name. but in backtrace-frame-fix-names it looks like the function-name will always be the raw name
14:52:05
drmeister
C++ functions don't have symbol function names - that's something I've wrestled with.
14:52:33
drmeister
We have a C++ name demangler - it's the first thing people ask for and something I've only needed recently for backtraces.
14:53:40
drmeister
The raw name is what comes out of the unix function backtrace_symbols(...) "symbols" (snort) - whatabuncharubes
14:56:11
Bike
so... you think i could just change fix-names so that the print-name is just the name from the function closure, and i leave the function-name how it is? or should that be the function description name also?
15:18:46
drmeister
Change it as you see fit. The only consumer of this information is the code that dumps backtraces as far as I remember.