freenode/#lisp - IRC Chatlog
Search
11:51:27
schweers
fivo: do you know of metabang-bind? https://common-lisp.net/project/metabang-bind/user-guide.html
11:51:27
minion
schweers, memo from jkordani: did you figure out what was going on with your code coverage issue?
11:51:58
schweers
jkordani: sadly no, other than that it seems to have problems with some code. For instance with lparallel.
12:31:55
prxq
I'm trying to use slime to edit and run code on another machine (a windows one). I'm having trouble with the slime-tramp extension. Specifically,
12:33:22
prxq
the problem is that I use the cygwin ssh server, and the path to the windows file C:\this\file.cl will be /cygdrive/c/this/file.cl.
12:34:32
prxq
Anyone knows how I can insert the /cygdrive/c/ part into a SLIME-FILENAME-TRANSLATION?
12:36:45
pjb
prxq: emacs lisp is case sensitive and doesn't have a readtable to upcase or preserve it!
13:12:59
Xach
ebzzry: i should fix xach.com/clhs for certain, but something about the setup is giving me problems.
13:15:42
ebzzry
Xach: the problem is when the problem doesn’t come from the machine+configuration, but when it’s due to external factors like changes in networknig
13:17:27
Xach
these problems started when i had to add a weird nginx proxy to apache to keep php happy on a debian 6 upgrade many years ago, then bumping up to debian 9 on a new server, where half the requests are proxied and half are not
18:56:41
minion
gabbiel, memo from pjb: the &environment parameter is required to handle things like (let ((x 42) (y 33)) (list 'outer (symbol-macrolet ((y x)) (list 'inner (save-place (y) (setf y 0) (list x y)) (list 'mid x y))) x y)) #| --> (outer (inner (0 0) (mid 42 42)) 42 33) |#
19:02:00
Josh_2
hmm you reckon I would be able to implement Guiles fibers library in CL then? It was a suggestion for my 4th year project, but it isn't built on pthreads
19:06:26
Bike
"In Guile we implemented exceptions in terms of delimited continuations and dynamic binding" oh hey, same hat
19:30:25
skidd0
not per se. I'm wondering if being able to use the Inspector outside of a debugger is on the 'roadmap'
19:32:23
pjb
skidd0: I don't know vim (only vi). But I'd guess you know the equivalent of M-x in vim.
19:34:43
skidd0
vlime (an alternative) can handle the inspect command because of a different REPL setup
19:35:58
pjb
I don't know where the slimv or vlime developpers hang. You'd have to ask them, or do it yourself.
19:37:39
pjb
Note: this is why slime is preferable: then you'd just use emacs lisp which is very close to common lisp to modify or add features.
19:44:24
defunkydrummer
skidd0: from the URL you quoted: "Vlime has a rather different REPL implementation, which enables swank-presentations, that means you can copy & paste most of the values returned by the REPL, like you can in Emacs. Slimv cannot do this AFAIK." --> this means you can't do what you want
19:44:51
defunkydrummer
if I understand the description there right, you can't use presentations on SLIMV
19:45:54
skidd0
i'm currently conducting "research" (web searching reddit and quara threads) on emacs and evil mode, vim-mode, etc
19:48:07
defunkydrummer
if it's worth anything, I didn't know anything about Emacs and then I took the task of Lisp development using Emacs and SLIME. It only took me about 3 or 4 days to get comfortable,and now I quite like it.
19:50:21
skidd0
ah. yes. sometimes it's best to ive in rather than test the water (my curent "research")
19:51:32
dim
you could install Spacemacs and dive in as you say, maybe with https://github.com/mfiano/common-lisp-sly or equivalent
19:55:39
sjl_
skidd0: I use vlime. I tried slimv and didn't like it, but I'm happy with vlime. If slimv is feeling limiting to you it might be worth giving vlime a go.
19:56:52
sjl_
Ah, I don't use the Vlime repl much. I open a terminal split in Vim and run the lisp process right in there
19:59:16
dim
what about writing a CL LSP server and allowing people to use vscode and other open source "modern" editors that way? ;-)
20:00:17
dim
skidd0: I mean they all have vim modal editing capabilities, or most of them do, right?
20:00:59
sjl_
dim: in the last blog post I wrote I mentioned that that would be a good idea. I just don't have the time/willpower to do it myself
20:01:34
sjl_
but yeah, I think it would be beneficial to the community to have an LSP server (probably piggybacking off of swank to do the dirty work behind the scenes)
20:02:12
sjl_
I did some work at my last job writing an LSP server for Scala that used IntelliJ as a backend, so I know exactly how ugly the sausage can get.
20:03:28
sjl_
oh, I've never seen that. I saw https://github.com/cxxxr/cl-lsp but it was unlicensed when I originally looked (now it looks like it's MIT, cool)
20:06:48
sjl_
looking through the code I can't find where they actually implement any of the actual LSP things...
21:02:15
skidd0
dim: i added common-lisp-sly to my .spacemacs file and tried to reload it but it says that layer can't be found
21:16:13
dim
sorry I just pointed you to an interesting (?) direction, I use SLIME in Emacs myself and install slime support via Quicklisp
22:34:42
defunkydrummer
open question to all: I need to search a text (inside a string, maximum ~ 10 KB) to find a specific string, and the search must be fuzzy, because the string contains an OCR'ed text. Which library should I use? Montezuma?
22:35:31
defunkydrummer
also, it would be great if I could say: "search for the presence of string F001-0002 near string INVOICE"
22:36:02
defunkydrummer
although I guess I could do that simply, if i can obtain the byte.position of each search result
22:37:01
defunkydrummer
if you have a suggestion, please tell our slave bot, MINION, to leave a memo for me
23:03:31
asdf_asdf_asdf
Hi. If I have defined alien routine. It how assign this routine to variable, that type alien was alien, not another?
23:05:46
asdf_asdf_asdf
(defien-alien-routine "WindowProc" ...) (let ((res2 'WindowProc)) ...) => Undefined alien: "WindowProc"