freenode/#lisp - IRC Chatlog
Search
21:33:25
akhetopnu
hello. has anyone here tried to use websocket-driver and send messages to clients from a different thread? It doesn't seem to work. I'm not sure if I'm going crazy or if I'm doing something wrong...
0:18:29
vms14
the only thing I'm doing is to load cl-ncurses, then create a package and :use ncurses with commonlisp
0:22:03
_death
vms14: what happens is that cl-ncurses exports cl-ncurses:*colors* and you attempt to redefine it
0:22:49
_death
vms14: luckily, you get an error instead of silently redefining it, so you can either not import it, or choose a different symbol
0:40:52
vms14
(let ((i 0)) (mapcar (lambda (color) (init-pair (incf i) color COLOR_BLACK)) (list COLOR_RED COLOR_BLUE COLOR_GREEN)))
0:42:10
no-defun-allowed
(loop for color in (list +color-red +color-green+ +color-blue+) for i from 0 do (init-pair color i +color-black+))
1:22:48
aeth
I think #\ is standard, too, but obviously it's way less readable (I mean, just look at my line, when I didn't put it in quotes like you did)
1:26:56
no-defun-allowed
Speaking of which, do people have any strategies for making (foo bar #\)) look less awkward?
2:13:07
sjl
Xach: is there a way to find the git/hg commit hash for a particular library in a quicklisp dist?
2:13:43
sjl
I see a "content-sha1" in releases.txt but that doesn't appear to be the commit hash (I'm guessing it's a SHA of the tarball or something)
4:21:20
beach
So I take it nobody wants to appear in the Acknowledgments section of this paper: http://metamodular.com/SICL/representing-method-combinations.pdf
6:26:31
no-defun-allowed
It appears that this function definition (rather, the documentation string) prevents C-c C-c from working correctly: https://pastebin.com/h8sHNTzf
6:31:15
no-defun-allowed
That appears to compile from (with-locked-box ...) in the documentation string wherever I C-c C-c from, which fails spectacularly.
6:32:04
trittweiler
the answer is most likely "don't write docstrings like that", i.e. intend inner code blocks by at least 1 space
6:57:03
beach
no-defun-allowed: You can use the trick with #.(format nil "...") so that in the format control you can ignore indented lines.
6:57:38
beach
No version of the paper. Thanks to MetaYan and slyrus for the feedback: http://metamodular.com/SICL/representing-method-combinations.pdf
7:57:54
splittist
no-defun-allowed: https://www.gnu.org/software/emacs/manual/html_node/emacs/Left-Margin-Paren.html