libera/#commonlisp - IRC Chatlog
Search
10:38:19
kenran
Is anyone of you using the croatoan library to create simple ncurses projects? Aside from my REPL issue (opened it on the GH page) I'm struggling with the understanding of how to use it (probably from my lack of Common Lisp experience). I'd appreciate any pointers, for instance to existing projects, or also advice on how to "discover" the usage of the API interactively (using Emacs).
10:39:56
kenran
_death: I was just about to write... I discovered this right now as well. I thought these were supposed to be "just tests", but apparently there's lots to discover there. Thank you!
10:41:26
contrapunctus
kenran: you could probably contribute some documentation based on it. See https://diataxis.fr if you decide to.
10:45:29
kenran
I'm wondering how much of my failure to get started can be attributed to missing docs though, versus just lacking familiarity with Common Lisp and the ecosystem on my part. I assume most (all?) of it is the latter :) for instance, I'm struggling to "run" these tests, but at least now I understand why I get errors.
10:50:36
_death
to run them you'd load system "croatoan-test", (in-package :de.anvi.croatoan.test) and call the functions (you need to start sbcl in a terminal and connect to it using slime)
10:53:15
kenran
ah ty, I was missing the croatoan-test part (hacked it to work though. The game-of-life example is a little glitchy for me (black bars appearing from time to time), but cool, something working that I can read :)
12:13:18
louis77
mh, everytime I have to fire up a ruby app on my dev machine that I did not touch for half a year, I spend at least 1 hour to try to get the correct ruby version compiled on my machine, have the exact proper bundler version and then hope that all the "Gems" are still compiling and running - which most often they do not - I really come to appreciate the prospect of eternal stability of Common Lisp.
12:15:53
louis77
a few days ago I installed a CL lib, 9 years old and it ran with -- zero -- issues.
12:16:04
kakuhen
python at least somewhat mitigates it with virtualenv; ruby has no direct equivalent
12:16:31
pjb
louis77: and for older code, you just need a few lines: http://informatimago.free.fr/i/develop/lisp/com/informatimago/small-cl-pgms/wang.html
12:18:39
louis77
pjb: I would really like to run a Lisp program from the sixties or seventies with that example, just for the fun of it
12:20:16
louis77
But it came to my realization that there is a commercial interest in the complexities of these dev enviroments
13:30:52
pve
Hey, is there a name for symbols that are internal to a package and whose home package is that package, i.e. they were not imported?
13:33:30
beach
pve: There can be no name for such a symbol, because the same symbol can be present in different packages as well.
13:38:11
beach
That does not work either, because a symbol can be uninterned and then interned in a different package so that its home package changes.
13:38:51
phoe
at any given moment there is at most one home package for a symbol and that is the tightest guarantee you can get
13:42:31
beach
I prefer to invent a new name and to explain what it is by a definition, than to try to invent a longer self-explanatory name.
14:08:31
pjb
Symbols cannot be interned in several packages, since INTERN takes a string, not a symbol. A symbol can be imported in several packages, making it present in those packages, even if they're not his home package. (Of course, if the symbol didn't have a home package, the first import will "intern" it in the package).
14:09:12
phoe
pjb: interned adj. Trad. 1. (of a symbol) accessible[3] in any package. 2. (of a symbol in a specific package) present in that package.
14:09:27
phoe
because the first definition of interned is too broad and the second definition is also too broad
15:08:55
ldb
Someone from mastodon says it would be nice to have an search interface to dpANS items. https://emacs.ch/@louis/109738285416858235
15:12:47
ldb
haha, I only use the index page in hypespec for finding things. Don't like do everything from emacs.
15:15:09
ldb
anyway, I think I can make "machine readable" version for dpANS when I have free time, probably in XML, so people want a web search interface or new hyperlinked PDF version can do whatever they want.