freenode/#lisp - IRC Chatlog
Search
4:31:52
markasoftware
is there any way with MOP to change add-method so that you can add multiple methods with the same specializers and qualifiers?
4:32:22
markasoftware
the method objects themselves contain extra information that I will use in the discriminating function to determine which ones should be part of the effective method
4:33:31
Bike
i'm not sure add-method allows that, but even if it does, you'd probably have to override large portions of the machinery
4:33:36
beach
You would just have to subclass STANDARD-GENERIC-FUNCTION and provide a method on ADD-METHOD, specialized to your new class.
4:42:07
markasoftware
yeah, my plan right now is to wrap the methods with extra parameters that my library's users won't know about
6:24:57
iskander
hi all, i have a problem with SBCL startup, for some reasons it takes sometimes 2 minutes for the prompt to appear, if i interrupt it, then the debuggger says it is in quicklist/setup.lisp. Any idea what could be wrong ?
6:58:14
jackdaniel
asdf is quite heavy, quicklisp calls (require 'asdf) - but I don't think that this would account for 2 minutes on a sensible machine
7:03:28
iskander
sometimes it is quicker, maybe a minute, but in the past i didn't notice any delay at all, maybe setup for quicklisp has changed in the meantime
7:16:21
kpoeck
iskander Try (ql:update-client), I believe Xach said version 2021-02-11 has a performance problem scanning the local-projects directory. Version 2021-02-13 should fix that
7:17:09
iskander
Already did :( The most up-to-date client, version 2021-02-13, is already installed.
7:17:09
Colleen
iskander: kpoeck said 11 minutes, 38 seconds ago: Try (ql:update-client), I believe Xach said version 2021-02-11 has a performance problem scanning the local-projects directory
7:18:35
iskander
hmm, my local repositories dir contains 49 git repos, not all of them LISP, maybe if i point my repo to a subdir for LISP
10:28:02
asarch
If I: (let (a (b '(1 2 3 4 5))) and then (setf a b) and then (setf b (delete 4 b)) then a is '(1 2 3 5) and b is '(1 2 3 5), how could I a is '(1 2 3 4 5) and b just '(1 2 3 5)?
10:56:05
frodef
I'm thinking to start using github (with emacs, slime etc), any tips on tools or techniques I might find useful?
11:03:22
heisig
frodef: I'm not sure I understand your question. But my two pieces of advice would be to use Magit for managing Git from Emacs, and to prepare for leaving Github as soon as Microsoft starts acting weird.
11:04:47
scymtym
frodef: if you are not already using it, the magit package for emacs is a great interface to git. it requires a time investment to reach "fluency", but that is well worth it in my experience. if you want to go further down that road, there is the forge package which adds github-specific information and actions to magit (it also supports gitlab and other "forges")
11:16:33
scymtym
i think the main consideration is whether to rely heavily on features beyond git such as issues, wiki, package hosting, continuous integration and so on
11:40:38
ex_nihilo
Given a file in a Slime buffer containing only: (let ((msg "Foo.")) (format t "~A~%" msg))
11:40:47
ex_nihilo
When slime-compile-and-load-file is invoked with C-c C-k, "Foo." is printed before the repl prompt.
11:41:00
ex_nihilo
after C-c C-k the point is left following the repl prompt, waiting for input; and after input is given it is echoed, but then the point is left at the beginning of a blank line and ENTER must be pressed again to get back to the repl prompt even though evaluation of the file should now be completed.
11:41:06
ex_nihilo
I get the same behavior if I evaluate the LET form with slime-eval-region using C-c C-r.
11:41:12
ex_nihilo
Running the same file as a script, or entering the same LET form at the repl, the code behaves as expected without exhibiting this blocking behavior after echoing the input.
11:41:17
ex_nihilo
This seems to be i/o related, but I don't understand why this would work when entered directly in the repl, but not when evaluated from a file; is it just a quirk of the Slime repl, or am I missing something about how code is sent to the repl?
13:40:10
Cthulhux
doom emacs is a good starter package (although i cant stand the evil-mode anymore)