libera/commonlisp - IRC Chatlog
Search
18:24:43
danirukun[m]
<Arcsech> "`company-mode` worked out of the..." <- huh interesting, I keep tuning my init file, but it still does nothing - even if I manually run `company-complete`, it says "no completions"
18:25:30
danirukun[m]
* ```elisp... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/01d4e0f2befa21d55a79942129070e9b31b6b2d5)
18:47:05
danirukun[m]
ACTION uploaded an image: (149KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/zGENjDkHaUgWMfgnGJosoTEI/image.png >
21:10:41
kagevf
danirukun[m]: how about using M-/ ... it will cycle through possibilities without showing a different buffer
21:11:21
kagevf
danirukun[m]: also, with C-c TAB even if the other buffer appears, you can type some more letters and re-try to see if it finds what you want
22:24:41
danirukun[m]
I finally got it to work, basically it was an issue with me manually trying to init the slime company backend, which I accidentally thought of from an old GH issue
23:51:15
Psybur
Is there a proper way to treat #("aaa") as a 2D vector/array? I cant use (aref #("aaa") 0 0) here. But I can do (aref "aaa" 0) just fine.
23:53:28
hayley
That's not a 2D vector, that's a vector consisting of a string. (make-array '(1 3) :initial-contents '("abc") :element-type 'character) produces #2A((#\a #\b #\c)) though
4:22:44
kagevf
I'm hesitant to read non-CL books, but I'm considering making an exception for sicp ... or maybe I should try to work through it in CL??
4:23:19
White_Flame
I don't recall any mismatch with standard CL, though. if any, it would be quite minor
4:23:20
mfiano
And, even though CLtL2 defined CLOS, it was not widely agreed upon yet, and as such, the book uses structs exclusively.
4:24:09
lisp123
kagevf: Actually I find learning a bit of scheme helped liberate and further my understanding of CL. It's not hard to pick up, but eventually you get to know of the differences between the two languages and IMO it makes you better at CL
4:27:40
mfiano
This channel is about Common Lisp. If you want to talk about other Lisps, there is #lisp
4:29:03
lisp123
kagevf: I have to jump, but I'll send you my .emacs settings for Scheme in a few days. Ok no more scheme in this chat :)
4:33:23
White_Flame
hmm, Psybur is gone, but #2a(#.(coerce "abc" 'list)) is a very hacky way of making it a syntactically 2d vector of chars
4:44:01
asarch
If (foo) calls (bar) and then it calls (baz) to finally calls (spam), is it possible to know where in that in-between process is taking so long time and why?
4:47:08
asarch
I suspect it is in a string concatenation process after doing a query to a PostgreSQL cluster
4:48:31
asarch
The String concatenation process parses the query output to set it up into HTML elements to respond the message
4:53:05
hayley
Oh, okay, this function is being called from another thread, so you cannot interrupt it that easily.