Search
Sunday, 19th of August 2018, 20:24:42 UTC
20:28:24
asarch
(select :from "users" :where :equal-p ("user" "~a") :and :less-p ("ages" 40))
20:28:48
aeth
Even if you have a CL ORM at some point it's probably just going to be working on SQL-as-s-expressions. (And you could build one on top of such a system.)
20:29:00
asarch
I know, I know. It's a bad idea... :-(
20:29:23
aeth
http://marijnhaverbeke.nl/postmodern/s-sql.html
20:29:38
aeth
Looks like postmodern uses something similar, but they use :select
20:30:05
aeth
Probably because even the select is a form within something and isn't itself a macro/function
20:31:29
aeth
It's not flat like your line, though, which makes sense. You'd want something like (:and (:= ...) (:< ...))
20:32:55
asarch
Yeah, yeah. My code is a fake :-P
0:20:19
mason
(:< ...) applies a duck to ...
0:25:00
asarch
The "Homer Simpson" operator: ~(_8^(I)
0:28:32
asarch
People said that if you enter this operator at debug screen at work, you will enter to a hidden place with free beers and donuts
0:57:36
drmeister
Does anyone know how to make slime change where it puts its cache directory from ~/.slime to somewhere else?
0:58:27
drmeister
This doesn't say AFAIK https://common-lisp.net/project/slime/doc/slime-1.0.pdf
1:04:14
stacksmith
drmeister: I use symbolic links
2:16:16
no-defun-allowed
do cffi foreign objects get GCed?
2:17:11
no-defun-allowed
damn. i have to use foreign-free.
2:18:33
no-defun-allowed
i want to pass foreign memory between functions to give to OpenCL as much as possible, and convert them should i need to use a CPU function so i guess i either have to write a GC (yeah no) or free everything naively after each frame of work
2:19:50
LdBeth
How about Boehm GC, #'no-defun-allowed
2:20:08
no-defun-allowed
in a lisp environment? sounds dangerous.
2:24:42
Bike
if you use cffi's with-foreign-object or whatever it is, it'll take care of it
2:37:21
no-defun-allowed
i can't pass around the objects if i do that. i'd like to use them as return values
2:38:26
no-defun-allowed
is there a portable type specifier i can use to check if an object is a pointer?
2:39:15
no-defun-allowed
sbcl suggests system-area-pointer
2:39:22
Bike
cffi:pointerp function
2:49:03
beach
Good morning everyone!
3:02:46
LdBeth
https://www.amazon.es/Clozure-CL-Lambert-M-Surhone/dp/6134588504
3:03:00
LdBeth
Does anyone know what this book talks about?
3:05:05
beach
It looks like a user manual for Clozure Common Lisp.
3:06:35
beach
https://www.betterworldbooks.com/product/detail/clozure-cl-6134588504 has a short description.
4:20:53
no-defun-allowed
morning beach
Monday, 20th of August 2018, 8:24:42 UTC