freenode/#lisp - IRC Chatlog
Search
0:05:26
fe[nl]ix
luis: I just found http://kvardek-du.kerno.org/2012/06/augmenting-bordeaux-threads-with-atomic.html
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