freenode/lisp - IRC Chatlog
Search
0:05:11
pjb
Well, you can use subseq on a multidimensional array if you use a displaced vector in between.
0:06:39
plll
Hi, I'm trying to get set up with any of the HTTP clients on NixOS. All of them seem to rely on libssl. Any way to get around this?
2:17:20
diegs_
I'm pretty new to the whole swank thing -- can I have SBCL run in the background on login (or when i enter a given command) with a swank server at a specified port?
2:18:26
Xach
diegs_: i use screen with a specific config file to start up sbcl, and use a .lisp script to load and set up swank.
2:19:18
Xach
diegs_: however, i only do that when i'm running a server for a long time. i more often swank from within emacs with M-x slime
2:19:58
diegs_
hmm. could i just `sbcl --load swank-config.lisp &` . Also would you mind sharing the .lisp script?
2:20:36
Xach
diegs_: I don't have one handy, it's something like (ql:quickload "my-project") where my-project depends-on swank, and then (swank:create-server 4010 :dont-close t)
2:20:37
diegs_
Xach: and well, i just found ScriptL https://github.com/rpav/ScriptL and while i'm not... exactly sure what the use case is, i thought i'd play around with it. I don't strictly speaking need what i was describing but something similar is mentioned in the README
2:21:18
Xach
diegs_: you can't simply & the process as it normally reads and writes to the terminal. there is a sb-daemonize or something similar that will set it up properly for a background process.
2:38:27
diegs_
Xach: hmm, i'm trying some of what we discussed with the following: https://gist.github.com/therockmandolinist/123591a920b200ec6fa589b36a3db117 but getting "Cannot fork with multiple threads running"
3:32:15
drmeister
I have two undergraduates working on implementing the two or so dozen standard jupyter widgets in Common Lisp.
3:33:02
drmeister
We are going to enhance the cl-jupyter system to support jupyter widgets so that it can be used by all standard Common Lisp's
4:03:44
drmeister
krwq: I hacked into the python code and log traffic between the kernel and the browser. Then I added logging code to my code to generate similar data. Then we compare what's being sent back and forth.
4:04:27
drmeister
Secondly, I can start a swank server from the Jupyter notebook and use slime to inspect everything.
5:57:36
beach
As part of the CST (Concrete Syntax Tree) library, the Earley-based lambda-list parsers now seem to work, but in order to simplify my job, I made them work on ordinary Common Lisp S-expressions and not on CSTs.
5:57:37
beach
The next step is to change that so that they work on CSTs instead. And I just figured that the classes that represent the different parts of the lambda list, such as the lambda-list keywords and the parameters, should just be subclasses of CST, as opposed to containing CSTs.
10:40:21
Grue``
does anyone know how to avoid warnings like "could not optimize away %SAP-ALIEN: forced to do runtime allocation of alien-value structure" in SBCL?
10:44:51
loke___
I looked at it, and it's not entirely clear what happens. I think what happens is that there is effectively a malloc call to allocate the memory for the string
10:45:30
loke___
I think, maybe you can work around it by declaring the pathname variable as DYNAMIC-EXTENT, but that's just speculation.
10:46:47
Grue``
well, clhs says that (defun g (x) (declare (dynamic-extent x)) ...) is essentially useless
11:25:55
flip214
for the lisp-to-fpga people around here: http://zipcpu.com/blog/2017/06/12/minimizing-luts.html
11:26:12
flip214
would be interesting to know what kind of optimizations the translator already does