Search
Sunday, 16th of July 2017, 21:54:49 UTC
21:55:18
pjb
WhiskyRyan: yes, same order of magnitude: both are native compilers.
21:55:47
mm__
WhiskyRyan, from which book you take those examples?
21:56:08
WhiskyRyan
looks like it is on homebrew so I will try it out now.
21:57:15
phoe
Does anyone know the proper type syntax for CFFI:WITH-FOREIGN-ARRAY?
21:58:10
phoe
I have a (array (unsigned-byte 8) N). I want to turn it into a foreign array for C usage.
21:58:27
phoe
And, as I've mentioned before, the feature is very much undocumented.
22:01:37
phoe
https://github.com/cffi/cffi/blob/master/src/types.lisp#L435
22:05:06
clintm
Xach: In case someone is looking for this same problem and the irc log comes up in their search, the solution is to pass :preserve-uri to drakma:http-request so that it doesn't re-encode params in the url.
22:09:27
clintm
I guess that was like 4 hours ago, but still.
22:10:50
phoe
Found it. (:array :unsigned-char N)
22:50:59
phoe
I got dropped into LDB, but the slime-macroexpand is still working
22:51:15
phoe
does SBCL's LDB only affect a single thread or something?
0:16:25
nosefouratyou_
why am I getting this error?: https://gist.github.com/nosefouratyou/b9d99a6c18f7557b6c26eda9a7a70ee7
0:20:31
Bike
you pass the macro-function the symbol AGENT-SPECS
0:20:38
Bike
ich can't destructure right
0:21:00
Bike
maybe you mean for the destructuring to occur at runtime?
0:21:12
Bike
in which case instantiate-agent should basically be a function
0:25:38
nosefouratyou_
Bike: good point, I am trying to turn into a function now
0:34:39
nosefouratyou_
how do you escape a list? I have something like (:asdf 1 :boo 2) and I want :asdf 1 :boo 2
0:34:47
nosefouratyou_
I am trying `,@agent-specs but that's not working
0:35:05
Bike
:asdf 1 :boo 2 is just four objects.
0:35:14
Xach
nosefouratyou_: ,@ is the usual way to splice a list into a template.
0:35:15
Bike
it's not, like, a thing in itself.
0:35:27
Bike
are you trying to use them as arguments to a call?
0:51:01
nosefouratyou_
I want to call (fun :a 1 :b 2) and I have a list (:a 1 :b 2)
1:24:48
nosefouratyou_
what's a good logging library for cl
1:24:56
nosefouratyou_
bike: thank you for that, apply was the key to solving my problem
1:25:16
nosefouratyou_
I tried logv and it didn't work that well
1:25:32
axion
Depends what you need from a logging library, and what logging actually means
1:25:37
axion
log to file, log to stdout, etc
1:26:29
edgar-rft
AFAIK logging is cutting trees with an axe or a saw
1:29:02
nosefouratyou_
I'm looking for both I think if possible
1:29:09
nosefouratyou_
I mean optionally logging to a file
1:29:45
axion
I would not use mine then. Shinmera's verbose is what you want.
1:29:53
axion
Available in Quicklisp
1:31:12
nosefouratyou_
axion: wow verbose looks very featureful, thank you
3:12:07
beach
Good morning everyone!
5:38:26
drmeister
http://i.imgur.com/fEZGAUt.png
5:39:41
drmeister
What you can't see is that you can rotate and zoom that structure.
5:40:34
drmeister
It's a complex widget called 'nglview' running within Cando(Common Lisp) within a jupyter notebook.
5:41:12
otwieracz
drmeister: Is CLASP anywhere near „production ready”?
5:42:18
drmeister
I use it all the time though.
5:45:50
akkad
making great progress
5:46:53
drmeister
A reason to use it is if you have C++ libraries you want to drive from Common Lisp. Nobody has taken me up on that lately.
5:47:45
drmeister
I'm developing it as a computer aided molecular design environment. That requires a lot more than just Common Lisp - that's what I've been working on.
5:50:58
otwieracz
Yep, I've got the context. I was just curious about current status.
Monday, 17th of July 2017, 9:54:49 UTC