freenode/#lisp - IRC Chatlog
Search
16:05:02
beach
ym: A package is typically created by DEFPACKAGE. Quicklisp does not deal with packages. It deals with distributions of systems.
16:06:40
phoe
if it came from Quicklisp, then update the "quicklisp" dist - it'll update the whole Quicklisp world
16:08:04
ym
(ql:system-apropos "slime") shows slime-v2.24 version, but I have 2.23 and (ql:updata-all-dists) doesn't installs newer version.
16:11:26
ym
What do you mean by install slime? Doesn't (ql:quickload "swank") downloads slime and swank together?
16:46:46
phoe
for me, it works - (ql:where-is-system "swank") ;=> #P"/home/phoe/.roswell/lisp/quicklisp/dists/quicklisp/software/slime-v2.24/"
18:38:39
pve
(define-foo blah 123) <-- is this a "define-foo form" or a "define-foo expression" or something else?
20:58:41
|3b|
icfp contest this year ( https://icfpcontest2020.github.io/#/ ) seems to need a premade docker setup to build/run things, anyone know docker well enough to send a PR to https://github.com/icfpcontest2020/dockerfiles ?
21:00:22
|3b|
looks like it would probably want sbcl and some preinstalled ql stuff (though hard to say which ql stuff)
21:01:58
|3b|
building base docker image for a language has internet, build and run of submissions do not
21:03:01
|3b|
you can include all the libs you want in submission, so don't have to put everything in the base
21:03:44
|3b|
the js example includes a bunch of stuff https://github.com/icfpcontest2020/starterkit-javascript/tree/master/app/node_modules
21:04:36
dim
save-lisp-and-die at build time to the rescue, then you have a docker container with an “augmented” SBCL image in there
21:04:53
phoe
generally useful stuff like alexandria, serapeum, closer-mop, split-sequence, esrap, cl-ppcre, babel, flexi-streams, fast-io or what else
21:05:28
|3b|
(sample needs enough to do an HTTP request anyway, so would probably have a bunch of those)
21:06:07
dim
drakma and all build dependencies, and the other http clients too, and puri, and html/xml parsers, and esrap, the short list isn't that short
21:07:08
dim
ACTION was not a fan of having to package 60+ CL libs for debian to allow for having pgloader there
21:09:35
|3b|
phoe: any idea if there is any benefits between daewok/docker-sbcl/ vs fukamachi/sbcl/ docker containers?
21:12:38
|3b|
looks like latter might have roswell/ql already installed, former might have more choice of OS/arch (not sure that matters for this though)
21:12:58
dim
one thing I would try with them is doing some SSL stuff or other things you might want to do that require loading a .so file ; it's surprisingly non trivial to make that work reliably, and you certainly want that solved in the docker container
23:09:16
Harag
|3b|: if you want to see simple docker for lisp with plenty on notes on what and why, I did these https://gitlab.com/Harag/simple-sbcl-swank-docker and https://gitlab.com/Harag/sbcl-gcloud-run-workaround
0:30:04
|3b|
ok, possibly figured out the docker stuff enough to send a pr https://github.com/icfpcontest2020/dockerfiles/pull/44 :)
0:31:35
|3b|
let me know if anyone sees anything obviously wrong, or suggestions for other C/CL libs worth including by default (went ahead and added some common ones to reduce build time, but people can overwrite parts of the ql dir with one in their submission for full control)
3:19:12
Oladon
I find myself needing to write a new combination Markdown (probably Commonmark?) + BBCode parser. What's the best approach, architecture/organization-wise, to ensure maximum utility for others while still attaining my aim of a combination parser?