libera/#commonlisp - IRC Chatlog
Search
6:55:20
montxero
With cl-sqlite, is it possible to execute sql statements/queries that are already filled? I want to be able to do something akin to (sqlite:execute-non-query *db* "insert into USERS (user_name,age) values (joe,18)")
6:59:10
flip214
montxero: or, even better, pass it in as an argument instead of inline, in the string
7:10:28
akater[m]
semz: compiler-macrolet could optimize (funcall f ..) or (apply f ..) for local f's
7:12:18
saturn2
it doesn't seem very useful, since the compiler would be compiling the local functions anyway
7:22:05
flip214
hayley: http://www.lispworks.com/documentation/lw50/CLHS/Issues/iss066_w.htm Issue COMPILER-LET-CONFUSION Writeup
7:22:38
flip214
OTOH I've wanted to pass data to macros a few times, to modify the expansion behaviour
9:18:38
mfiano
The initform for clearp is quoted, unlike the others. The input in the beginning of the book obviously intends for this to be evaluated and is not quoted
9:19:29
mfiano
I guess we are looking at different books. I am referring to the result of the call: (display-defclass* 'color-rectangle)
9:21:15
mfiano
I'm unsure if the example code is wrong, or just the return value transcription has a typo
9:26:42
mfiano
Which leaves either the wrong slot-definition-initform function/glue macro, or a typo in the return value of the book
9:28:34
mfiano
I'm trying to study this book in detail, and I don't mind which one it is, but would be very nice to be aware of which :)
10:34:08
pjb
Guest92: have you had a look at http://informatimago.com/~pjb/files/lisp/common-lisp/flet-or-labels.png
11:03:15
Mrtn[m]
Did @mayuresh:libera.chat leave #commonlisp:libera.chat ? Autocomplete doesn't seem to catch his profile ID. I thought I had some advice to perse, that I am not sure was mentioned. I am mostly agreeing with what was said already though, so it's not a "Biggie". Ah, perse quit already because of 268 seconds of ping timeout. Oh well.
11:03:57
mfiano
pjb: They are not here, and their account is not registered (it is a randomly selected guest nick)
11:17:26
Mrtn[m]
Is an effort being made to pick up the regulars, that was lost in transit to Libera?
13:55:28
beach
The book is about CLOS programming, and there are some chapters containing examples that are close to finished. For instance one chapter that describes Cluffer, more or less.
13:59:09
beach
Thanks. But my favorite coauthor kind of abandoned me, so most book projects are stalled. Then phoe was going to help me with one of them, but he got very busy with projects for Apress.
14:07:50
didi
I wonder if there is a builtin form for the idiom (let ((var (make-var))) (mutate-var var) ... var), i.e., create an object, mutate it, and return it.
14:09:46
mfiano
How would something built-in know how to create something, whatever semantics is intended by that?
14:10:54
didi
mfiano: No no, I want something like (prog1 (setf var (make-var)) (mutate-var var) ...).
14:13:07
_death
there is no "built-in" operator for that stylistic misstep.. probably a close one is anaphora:aprog1, but then you have two stylistic missteps
16:09:03
beach
I think phoe tried to convince the WASM people that Common Lisp needed control instruction and not exceptions. I don't know how that went.
16:19:49
jeosol
I have a question for those running some kind of "release engineering" workflow. I am looking to move some code and test on the cloud. I am thinking of having methodology to test and push code that can be automated as possible. code is in a huge mono-repo if that matters
16:22:56
jeosol
@beach: Thanks to you and other here for useful pointers over the last several months (years perhaps), my project is stable now and I can do tests on my machine. Much stable now. I don't do any optimization on CL side for now because the bottle neck is in a different external call
16:24:49
aeth
CL rarely needs optimization other than using something with better big-O than linked lists. Computers are fast.
16:26:46
jeosol
I also like the stability - I can run the application now for weeks. Each run taking up to 4 weeks - no issues at all. I am also not using a lot of conditions at this time - if I get a bad input, I just give it a bad score (objective function)
16:28:06
jeosol
Obviously backward compatibility - I update SBCL monthly and I rarely get any issues (except ironclad related one some versions back)
17:01:26
copec
beach: Yeah, I read the old discussions. It seems like if the wasm people were more on board to supporting higher language features it could become the runtime environment to rule them all
17:03:17
aeth
but the web has an issue and it's that its security model (justifiably) can't support next-gen graphics APIs like Vulkan because those are too low-level
17:05:26
aeth
There are probably some other things you don't want to let a web browser do that you do want to let native apps do
17:07:16
copec
The trend with operating systems has been towards to settle on a single system with api to control virtualization extensions that software uses. With GPU's supporting SRV-IO I'm hoping some standard will evolve that parallels that