freenode/#lisp - IRC Chatlog
Search
4:43:02
contrapunctus
ISTR there was a library for writing shell scripts in CL in a REPL-driven manner.
4:43:40
contrapunctus
Not Roswell or the other usual suspects...but I can't seem to find it anywhere 😔
5:15:20
adlai
ACTION enters halt state at https://github.com/rpav/ScriptL/blob/master/examples/example.lisp#L13
5:39:58
thmprover
I need to learn all the sordid details of CLOS's implementation (specifically its defgeneric and defmethod dispatching system), what's a good reference for that?
5:40:42
no-defun-allowed
I haven't read it, admittedly, but that's the CLOS implementation book to my knowledge.
5:42:15
thmprover
I'm trying to implement a constraint propagator system based on a paper by Gerald Sussman, and he uses a hackneyed generics system in Scheme which I think CLOS can handle...whatever-the-heck he's trying to do...better
5:43:50
no-defun-allowed
Oh, wait, if you want to know about method dispatch, then you might want CLHS 7.6.6 more.
5:43:52
specbot
Method Selection and Combination: http://www.lispworks.com/reference/HyperSpec/Body/07_ff.htm
5:52:48
adlai
thmprover: don't read AMOP unless you are trying to change the way the object system works
5:54:09
adlai
if you try writing equivalent lisp code to the scheme in the paper, you'll probably find that the CLHS includes all the functionality you need
5:54:50
thmprover
That's a relief! ...not that AMOP is not worth reading, but I would prefer to defer it...
5:54:57
no-defun-allowed
I had read "CLOS's implementation", which is somewhat different to, say "method dispatch specification".
5:55:43
adlai
read AMOP when you can focus on reading AMOP, rather than reading it for some quick hack
5:58:53
adlai
you're welcome! no-defun-allowed also gave you good link, for the detailed description of the standard combination
6:01:57
thmprover
I've bookmarked both, I'll read them both tomorrow after work. Thanks for the references, adlai and no-defun-allowed, but it is late, and I need sleep. I'll catch y'all tomorrow.
7:37:22
no-defun-allowed
jmercouris: Silly question, why did you name the Next browser to Nyxt? Better searchability?
8:01:42
adlai
contrapunctus: gift means gift in english, and gift in german. shell scripts have functions, so naming an executable in PATH "funcall" is just asking for desk head, palm face, and full amygdalar agonization
8:03:28
adlai
this gifts a whole new meaning to "i'll buy you a beer" "no, i pay for my own drinks" "please, a gift from the conference sponsor"
8:04:08
pve
contrapunctus: If you're on SBCL then you could have a look at https://github.com/pve1/shell-utility
8:07:55
contrapunctus
pve: thanks. I stared at the example for a few moments before I realized that I'm looking at keywords, not namespace prefixes hidden by nameless-mode. Spent too long in Emacs Lisp land 😄
10:15:25
luis
fe[nl]ix: I'll have to search for my bordeaux-threads stuff, but it's probably not very different from Shinmera/atomics. What did you have in mind?
10:21:02
Shinmera
Unfortunately the divergence between implementation capabilities in this regard is fairly big.
10:21:22
Shinmera
Atomics takes the minimal approach of just documenting the divergences and leaving it up to the user to decide what to do about it.
10:21:41
Shinmera
So I suppose a more high-level library that gives consistent results in cases such as atomic-incf would be useful.
10:22:30
Shinmera
Someone seems to have started work on something akin to that: https://github.com/muyinliu/cl-atomic
11:48:38
contrapunctus
Trying to install Quicklisp. Ran the first three commands on https://www.quicklisp.org/beta/ (the two curls and the gpg), but the last one says "gpg: Signature made Thu Jan 29 02:43:26 2015 IST gpg: using RSA key 307965AB028B5FF7 gpg: Can't check signature: No public key"
11:59:03
contrapunctus
Oh boy...`(quicklisp-quickstart:install)` says "Quicklisp has already been installed.", but something like `(ql:quickload "scriptl")` says "Package QL does not exist." 😔
11:59:34
lonjil
ck__: hello. I saw that you implemented the Ryuu algorithm last year. Do you have the code somewhere and could I use it for the SICL printer?
12:02:53
adlai
contrapunctus: it is not safe to proceed, all tarballs are unsigned. at least the code that downloads them isn't!
12:05:25
contrapunctus
Le sigh, another roadblock. (ql:quickload "scriptl") proceeds, but now I get what looks like a C++ compilation error. http://ix.io/2peS/text
12:05:41
adlai
you asked "What gives?", after pasting gpg output instead of reading what gpg told you. This says to me that you should not give a fuck about the gpg output, even if you understand English, although maybe I'm just a pessimist.
12:11:43
contrapunctus
adlai: I'm sorry, I don't understand the first thing about GPG. Granted, I do wish I had searched for that one, because retrospectively the results turned out to be something I could have worked from.
12:14:06
adlai
if you end up using quicklisp's bundles for distributing your application's libraries, then you might find it worthwhile to learn more about GPG, depending on what your application is and who uses it.
13:04:25
jmercouris
is there no way to get a more helpful debugger than this: http://dpaste.com/1G5RB6N ?
13:09:36
jmercouris
I wasted already 30 minutes trying to figure out what could be possibly causing this
13:57:46
phoe
Reflections on the Future History of Arming Bears - https://www.youtube.com/watch?v=WgYyujNP85g
14:02:37
adlai
thank you for making the recorded talks available, phoe, for those who couldn't arrive on time at the terminal :)
14:17:25
matzy_
so asdf is kinda confusing me right now. i have asdf version 3.3.1 (so the latest) which, according to what I'm reading online should automatically look in the ~/common-lisp folder, so does that mean I should symlink all my projects to that folder?
14:19:46
jmercouris
make a file located at ~/.config/common-lisp/source-registry.conf.d/user-lisp.conf
14:20:03
jmercouris
in this file put a statement like (:tree "/path/to/some/dir"), and then ASDF will look recusrively in that directory
14:23:47
matzy_
maybe phoe's approach, because then because you don't have to do any additional config
14:24:33
matzy_
just make sure the quicklisp/local-projects folder exists on the container and asdf should load from there, right?