Search
Sunday, 16th of July 2017, 23:08:04 UTC
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.
10:04:16
beach
caffe: Are you new here? I don't recognize your nick.
10:06:06
loke
Does "caffe" mean coffee in some language?
10:07:10
caffe
i'm not entirely sure. 'cafe' seemed to be taken, so i went with caffe
10:07:47
joga
ACTION thinks about neural networks
10:08:50
caffe
i took cafe from kraftwerk's electric cafe
10:10:12
loke
I saw Kraftwerk live in Singapore a number of years back.
10:14:56
caffe
i've never seen them live.. the videos of their shows look incredible
10:15:23
caffe
they don't seem to come to the states all too often
10:15:38
loke
caffe: It's worth a longer trip
10:15:47
loke
Just go to Europe and see them there
10:17:15
caffe
i might have to do that someday
10:17:17
varjag
seen kraftwerk here on their 2006 tour
10:17:31
varjag
the show was quite good alright
10:18:35
loke
The singapore one was really good too. I'll probbaly go to Europe and watch them again.
10:19:06
varjag
they must be old as rocks now
10:20:01
caffe
there's only one original member left in it now, iirc
10:20:36
loke
That was the case when I saw them.
10:22:06
caffe
i'd also like to see jean-michel jarre someday, so i suppose europe would be necessary for making that happen anyway
10:22:31
loke
caffe: Travel from the us to europe is trivial and fast (and cheap)
10:22:53
loke
I travel to europe several times per year, and my travel time is twice as long as for the USians :-)
10:23:55
caffe
sounds like you're from down under?
10:24:32
loke
14 hours flight time for me.
10:24:46
loke
new york to paris is only 6 hours, if I recall correctly.
10:26:21
caffe
i thought it was 10-12 hours from NY to London
10:26:59
loke
Short enough to do a weekend trip
10:27:01
caffe
it usually takes me more than that to get to the eastern US
10:27:16
loke
caffe: Right. I think that's something a lot of people in the US don't realise :-)
10:27:44
loke
I've travelled Singapore→Stockholm for a weekend trip
10:28:07
loke
That was a bit exhausting though, since I had to change flight as there were do direct flights at the time.
10:31:38
antoszka
loke: BTW, nobody ever got back to me from Singapore ;)
10:32:28
caffe
i might as well get this out of the way: i'm new to lisp. i'll try and stick to docs before asking for help here. i may inevitably ask a stupid question at some point, but i'll try and keep it to a minimum.
10:32:48
antoszka
loke: Yeah, they just probably weren't interested.
10:33:06
antoszka
loke: nvm, looking into totally non-IT related stuff for the near future
10:33:13
antoszka
will keep lisping for fun
10:34:58
caffe
is this channel exclusively for common lisp, or is emacs lisp also covered here?
10:37:06
antoszka
caffe: This is really a Common Lisp channel, try the specific ones for other related languages.
10:37:23
caffe
thanks, i'll keep to that
10:37:28
antoszka
caffe: I don't know if there's an #elisp channel, but there's certainly #emacs.
10:37:45
caffe
yeah, i recently joined #emacs too
10:37:51
antoszka
Which is very busy and I'm sure you can get elisp help there, too.
10:47:34
axion
caffe: You should probably start with Practical Common Lisp if you haven't read it yet...it's free online.
10:49:03
caffe
i'll give it a go, thanks :)
10:51:22
caffe
so far, i've mostly been learning s-expression, and how to use the REPL as a calculator
10:52:01
antoszka
caffe: and I supposed most people here will suggest you stick to Common Lisp – treat elisp as a tool for configuring emacs, the dialect itself isn't very pretty.
10:52:51
caffe
yeah, i got the same impression... at first i was going to start with it, but most of its builtins(?) seem oriented towards text manipulation above all else
11:00:32
caffe
i've heard that lisp can behave either as a procedural language like c, or a functional language like haskell.. how does this work?
11:01:05
loke
caffe: It's multi paradigm. It provides imperative as well as functional facilities (and object orientation)
11:02:27
caffe
object orientation is provided in a modular form, correct?
11:02:45
antoszka
caffe: It's just how you choose to use it. No, the object system (CLOS) is very much part of the language.
11:02:56
antoszka
caffe: Though you can more or less pretend to ignore it's existance :)
11:03:32
caffe
i've never used a language with OO features.
11:03:46
caffe
not that i'm opposed to them
11:03:52
loke
caffe: Java? C++? C#? Python?
11:04:32
loke
All those languages have a much less expressive object model than CL though.
11:04:43
loke
caffe: What languages have you used?
11:04:47
antoszka
caffe: Then I guess you'll get to know OOP from the *best* side, lucky you. :)
11:05:00
caffe
i've mostly stuck to assembly or subsets of C, focused on microcontrollers
11:05:21
caffe
aside from that, some /bin/sh scripting
11:05:31
loke
caffe: You can program impertaively just like C in Lisp too... You even have GOTO
11:07:43
caffe
i always tended to abuse gosub/jsr
Monday, 17th of July 2017, 11:08:04 UTC