libera/#commonlisp - IRC Chatlog
Search
18:17:01
pjb
jcowan: eg. add this at the end of your file: (let ((*package* (or (find-package "SOME-NEW-PACKAGE") (error "package not found")))) (loop (mapcar (function print) (multiple-value-list (eval (progn (princ "> ") (finish-output) (read)))))))
18:19:26
edwlan[m]
The goal was to be able to send a web socket event to the browser that would update a page containing docstrings for the current package
18:21:40
pjb
jcowan: you can use com.informatimago.common-lisp.interactive.interactive:repl instead.
19:23:43
mooseball
i'm trying to install mcclim, and cl-unicode fails to install, saying 'no symbol named "*STANDARD-OPTIMIZE-SETTINGS*" in "CL-PPCRE"'. anyone else seen this? i'm a newb.
19:27:15
Bike
mooseball: ppcre should have had that symbol for quite a while. what's (ql:where-is-system :cl-ppcre)?
19:29:00
mooseball
ah, that dep was loaded when i had the errors, but maybe i've tricked ql with an old version
19:32:19
mooseball
i moved version 1.2.3 out of the path, but where-is-system still thinks it is there. can i refresh my system list or force install?
19:34:22
Bike
where did you even find a fifteen year old version... well whatever. that depends on why asdf thinks it's there. was it in quicklisp local projects or something?
19:37:18
Bike
well, once you've deleted the directory, maybe just restart your lisp and see if asdf finds something more reasonable this time around
19:39:11
mooseball
it works... thx again B. also i'm surprised there isn't a refresh path like option. but anyway, rolling now.
23:32:57
whereiseveryone
For anyone interested this Sunday, Demo: Live Loading Common Lisp Systems with Guix https://mail.gnu.org/archive/html/guix-devel/2023-03/msg00363.html
2:19:28
bitblit1
I wanted to clarify (as I forgot) if creating generic functions with arguments of a specific class is a good idea if you know you aren't going to subclass the original class. Basically, if organizing functions by class by making them a method is a good idea
2:20:12
bitblit1
<whereiseveryone> "For anyone interested this..." <- Woaaah thats super cool! I am thinking of switching to guix. Thanks a bunch.
2:28:12
edwlan[m]
bitblit: the typical rule for generic functions is that you should either define the function or at least one of the classes you’re specializing on
2:28:40
edwlan[m]
But there’s nothing wrong with defining your own generic function that only has methods for pre-existing classes
3:10:21
bitblit1
whereiseveryone: Will the meeting be recorded? If so, where would I be able to watch it later if I couldn't attend the meeting?
5:40:51
splittist
https://snipboard.io/mCKR6c.jpg On the right a simple pdf displayed with Adobe Acrobat Reader. On the left the same pdf rendered to a png with common lisp.
5:42:21
splittist
edwlan[m]: pdfreader (which exists only on my laptop for the moment) with a vecto output device.
5:46:45
splittist
edwlan[m]: up to a point. It turns out to be tricky. https://snipboard.io/NoH4Eh.jpg
5:47:29
edwlan[m]
I thought of writing a library to parse PDFs myself, but gave up when I looked at the spec
5:54:24
splittist
slightly more lispy, and you can see where I'm cutting corners for the moment: https://snipboard.io/bVATOa.jpg
5:56:23
edwlan[m]
It looks like you have some sort of protocol for handling the stream of pdf objects?