libera/#commonlisp - IRC Chatlog
Search
12:16:55
jackdaniel
hayley: yeah, it could be that the compiler will do worse than what it could do with the information
12:17:22
jackdaniel
but if we are not relying on good behavior of the implementation, are we going to rely on its fuckups and avoid better suited (more specific) language operators?
12:17:33
hayley
That does not negate my statement; a sufficiently unsmart compiler could well generate a sequence of tests.
12:18:04
cpli
beach, for now i don't mind being that implementation dependent. my posix utils package has specific cffi fallbacks for when sb-posix is unavailable
12:18:53
cpli
i don't think specific assembly optimizations that may or may not be performed by my impl should stop me from writing the product first
12:19:00
hayley
An actual hash table is easier to implement than transforming branches into a lookup table into a compiler, I would guess. Have yet to implement the latter :)
12:21:42
splittist
cpli: then why not deal with it at compile-time? Instead of :a have a reader-macro #!a that converts to the integer. Then it can take as long as you like.
12:25:32
cpli
splittist: the integers are unique on different platforms, i just deal with that by #+windows?
12:29:16
cpli
splittist: would'ya recommend i swallow the additional dependency and use uiop instead of features?
13:04:28
hayley
jackdaniel: I recall some movie about people who managed to reverse time for them, and said people needed tanks of reversed-time oxygen for some reason.
13:18:21
hayley
I'm just waiting to finish my degree this year. Then I'm not sure what I'll do, honestly. Admittedly I seem to have no issue coming up with more reasons to move.
13:24:10
beach
I think you should explore other places. You could work or study just about anywhere.
13:41:56
Equill
Exploring other places is worthwhile, if you can do it. Europe's a good area to explore, too.
14:14:48
NotThatRPG
Anyone have experience using quicklisp in github actions? I'm having odd results, and debugging this is killing me, since it loops through git push and running actions...
14:17:09
NotThatRPG
Using one of the CL Foundation images, installing quicklisp, and putting my library in local-projects/ but QL still pulls the remote project instead of the local. Tried setting both ql:*local-project-directories* and running ql:register-local-projects)
14:18:57
Shinmera
NotThatRPG: I set this up just recently https://github.com/Shinmera/ldapper/blob/master/.github/workflows/build.yml
14:19:51
NotThatRPG
Shinmera: Thanks! I see you forcibly load the asd file... Hadn't thought of that.
14:20:31
NotThatRPG
Yes, the way GitHub initializes the filesystem in a Docker image is nutso, and their docs are terrible. Rambling and conversational instead of precise.
14:25:19
NotThatRPG
If you run in docker you get /home/github instead of /home/runner because... ¯\_(ツ)_/¯ and the checkouts go in $GITHUB_WORKSPACE ¯\_(ツ)_/¯
14:25:55
Shinmera
they always go into that envvar, I just was too lazy to figure out how to smush the value into the lisp expression.
15:13:29
NotThatRPG
Thank you so much, Shinmera ! That *finally* fixed all of my problems and you will see a PR that's ready to go.
21:36:45
czy
is it possible to query a defined symbol and return its definition as a quoted list in lisp?
21:45:21
random-nick
no, implementations are not required to keep that kind of information in memory
21:53:40
aeth
however, they usually provide the functionality to look up the source (which e.g. Emacs uses) so you could, if it is valid (and not guaranteed to still be around, either), read the file
22:22:20
pjb
czy: have a look at Image Based Development http://informatimago.free.fr/i/develop/lisp/com/informatimago/small-cl-pgms/ibcl/index.html