contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has joined #lisp
ralt has quit [Quit: Connection closed for inactivity]
karswell has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
attila_lendvai has joined #lisp
aartaka_d has joined #lisp
contrapunctus has joined #lisp
alendvai__ has quit [Read error: Connection reset by peer]
aartaka has joined #lisp
rogersm has joined #lisp
aartaka_d has quit [Ping timeout: 240 seconds]
rogersm has quit [Remote host closed the connection]
rogersm has joined #lisp
rogersm has quit [Remote host closed the connection]
aartaka_d has joined #lisp
aartaka has quit [Ping timeout: 256 seconds]
kenran has joined #lisp
attila_lendvai has quit [Ping timeout: 272 seconds]
theothornhill has quit [Ping timeout: 264 seconds]
cchristiansen has quit [Remote host closed the connection]
rogersm has joined #lisp
rogersm has quit [Remote host closed the connection]
vegansbane6963 has joined #lisp
aartaka has joined #lisp
aartaka_d has quit [Ping timeout: 240 seconds]
puchacz has joined #lisp
ikrabbe|2 has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
random-nick has joined #lisp
Bourne has quit [Ping timeout: 265 seconds]
shka_ has joined #lisp
holycow has joined #lisp
puchacz has quit [Quit: Connection closed]
space_otter has quit [Ping timeout: 264 seconds]
ebrasca has quit [Remote host closed the connection]
iamFIREc1 has quit [Ping timeout: 265 seconds]
aartaka has quit [Ping timeout: 264 seconds]
aartaka has joined #lisp
galex-713 has quit [Ping timeout: 272 seconds]
galex-713 has joined #lisp
theothornhill has joined #lisp
theothornhill has quit [Ping timeout: 246 seconds]
hiroaki has joined #lisp
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
jonatack has joined #lisp
grumble has quit [Quit: ACCORDING TO ALL KNOWN LAWS OF AVIATION THERE IS NO WAY A BEE SHOULD BE ABLE TO FLY ITS WINGS ARE TOO SMALL TO GET ITS FAT LITTLE BODY OFF THE GROUND THE BEE OF COURSE FLIES ANYWAY BECAUSE BEES DON'T CARE WHAT HUMANS THINK IS IMPOSSIBLE]
attila_lendvai has quit [Ping timeout: 272 seconds]
dhil has joined #lisp
grumble has joined #lisp
cage_ has joined #lisp
waleee-cl has joined #lisp
kenran has quit [Quit: leaving]
dhil has quit [Ping timeout: 240 seconds]
<cage_>
(reposting from #guix) Hi! I am trying using guix for a common lisp software that uses asdf and autotools to build and install the package, i am using gnu-build-system and the process fails the phase when building the executable with sbcl the compiler says that can not find asdf (the CL building system), any idea?
<cage_>
i can see that stumpwm and pgloader are packaged with guix so i hope someone who did that job is here :)
<mfiano>
I don't think Pierre hangs out on IRC
<mfiano>
He is on the Nyxt team though so maybe jmercouris knows
jonatack has quit [Ping timeout: 240 seconds]
jonatack has joined #lisp
SAL9000 has quit [Quit: WeeChat 2.9]
<cage_>
mfiano, thank you!
<cage_>
abrevar is their nick, is it?
<mfiano>
Ambrevar
<cage_>
*ambrevar
<cage_>
yes, thanks :)
Sheilong has joined #lisp
<cage_>
seems i could be able to reach on the fediverse :)
jonatack has quit [Ping timeout: 256 seconds]
texno has quit [Ping timeout: 265 seconds]
sz0 has joined #lisp
jonatack has joined #lisp
Josh_2 has joined #lisp
sunset_NOVA has joined #lisp
sunset_NOVA has quit [Remote host closed the connection]
puchacz has joined #lisp
sunset_NOVA has joined #lisp
sunset_NOVA has quit [Remote host closed the connection]
jonatack has quit [Ping timeout: 246 seconds]
puchacz has quit [Client Quit]
dhil has joined #lisp
Nilby has joined #lisp
<jmercouris>
cage_: you’re best off using his email from his website
<cage_>
jmercouris, thanks! :)
jonatack has joined #lisp
skapata has joined #lisp
Josh_2 has quit [Remote host closed the connection]
Josh_2 has joined #lisp
<Josh_2>
Afternoon all
ikrabbe|2 has joined #lisp
<Josh_2>
Im tryna use cffi/c2ffi, I think I have my config correct but when I try to load the system with quicklisp I get an "the file .../spec/olm....spec does not exist"
<borodust>
Josh_2: be careful, i never tested if those actually work ;p
<borodust>
those are generated for linux but if you would only call functions and use pointers to structs you should be safe on other systems too, fork and modify accordingly :)
<borodust>
to load bindings, clone where asdf can find them, and (ql:register-local-projects) (ql:quickload :claw-olm)
<Josh_2>
This is amazing
<borodust>
:claw is not required
<Josh_2>
thank you!
<borodust>
no probs
<borodust>
you can ignore :claw-olm/wrapper system, it is used for actual generation :)
<borodust>
actually, one minor fix incoming ;p
<borodust>
forgot to remove one thing while copypasting
<borodust>
done
<Josh_2>
Thanks, I'll give them a spin now!
zooey has quit [Quit: quit]
zooey has joined #lisp
<borodust>
have fun :)
<Josh_2>
ah
<Josh_2>
well I noticed one problem that is my fault because of a spelling error on my part
<Josh_2>
"olm/outbout_group_session.h" is supposed to be "olm/outbound_group_session.h"
jonatack has quit [Ping timeout: 272 seconds]
Bourne has joined #lisp
<Josh_2>
borodust: how do I get claw to regenerate the bindings after I have fixed the spelling mistake with the .h?
jonatack has joined #lisp
theothornhill has joined #lisp
<borodust>
Josh_2: you don't :) need to wait for me to regen them
theothornhill has quit [Ping timeout: 264 seconds]
<borodust>
those bindings are generated by experimental claw branch (w/ cxx support)
<borodust>
err, *by claw from experimental branch
<Josh_2>
Oh I see
<Josh_2>
Sorry for being such a pain :(
kenran has joined #lisp
iamFIREc1 has joined #lisp
jonatack has quit [Read error: Connection reset by peer]
jonatack has joined #lisp
puchacz has joined #lisp
puchacz has quit [Client Quit]
iamFIREc1 has quit [Ping timeout: 265 seconds]
theothornhill has joined #lisp
theothornhill has quit [Ping timeout: 256 seconds]
ralt has joined #lisp
toorevitimirp has joined #lisp
warweasle has joined #lisp
theothornhill has joined #lisp
theothornhill has quit [Ping timeout: 256 seconds]
contrapunctus has left #lisp ["Disconnected: closed"]
thmprover has joined #lisp
contrapunctus has joined #lisp
karswell has quit [Ping timeout: 264 seconds]
long4mud has quit [Quit: WeeChat 3.0.1]
jlarocco has joined #lisp
<jlarocco>
Is there etiquette or guidelines for libraries adding values to *features* ?
<jlarocco>
Or best practices
<borodust>
Josh_2: actually, it seems like this header was included from somewhere else and bindings are generated for functions from that header :)
<borodust>
Josh_2: I've pushed typo fix anyway
charles` has joined #lisp
<charles`>
Good morning
<beach>
Hello charles`.
warweasle has quit [Quit: rcirc on GNU Emacs 26.1]
<Nilby>
jlarocco: I think most libraries shouldn't add anything to features. Modern etiquette is that it's for things that widely apply to the whole system, such as the OS version, or the CPU type. To check for things packages you can do find-package, and then something the package provides. And there's other ways to do conditional compilation, e.g. things in the ASD.
<Nilby>
Just my opinion, of course.
<charles`>
clhs read-from-string says that it is affected by none, but isn't it affected by *read-eval*?
theothornhill has joined #lisp
<Nilby>
charles`: I think that's an error in CLHS. It's not in the actual CL specification.
theothornhill has quit [Ping timeout: 246 seconds]
carkh has quit [Remote host closed the connection]
gioyik has joined #lisp
<Nilby>
One can assume it's affected by at least: *readtable* *read-default-float-format* *read-base* *read-suppress* *package* *read-eval*
<Nilby>
since it says, it's as if "read" is called
<charles`>
I know it isn't official spec, but it is what most people use,
toorevitimirp has quit [Remote host closed the connection]
<Nilby>
charles`: Yes. Good catch. Also it does have side effects. I wonder if anyone dares to update CLHS? But it's true it proably doesn't have any addtional side effects, on top of calling read.
<Nilby>
I actually always look at the draft spec version in emacs info. But it has problems too.
<charles`>
while we are on the topic, is it safe to use read-from-string on user inputted strings as long as *read-eval* is nil?
jonatack has quit [Read error: Connection reset by peer]
<jlarocco>
Nilby: thanks. I'll look into the ASD conditional compilation.
<Nilby>
charles`: I wouldn't call it safe. It's safer, but not from truely malicious things. You might want to check out https://github.com/phoe/safe-read.
theothornhill has joined #lisp
wsinatra has joined #lisp
theothornhill has quit [Ping timeout: 264 seconds]
kenran has quit [Quit: leaving]
theothornhill has joined #lisp
nullman has quit [Remote host closed the connection]
aartaka has quit [Read error: Connection reset by peer]
theothornhill has quit [Ping timeout: 256 seconds]
aartaka has joined #lisp
long4mud has joined #lisp
ym has joined #lisp
imode has joined #lisp
charles` has quit [Ping timeout: 264 seconds]
lottaquestions_ has quit [Quit: Konversation terminated!]
<flip214>
Is there some kind of stream that accepts ub8 vectors and strings?
ralt has quit [Quit: Connection closed for inactivity]
asarch has joined #lisp
aartaka has quit [Ping timeout: 265 seconds]
hjudt has joined #lisp
ym has quit [Ping timeout: 240 seconds]
anticrisis has joined #lisp
unimog has joined #lisp
SoTypicalNoob has quit [Ping timeout: 240 seconds]
nullman has joined #lisp
hjudt has quit [Ping timeout: 256 seconds]
nij has joined #lisp
<nij>
Is it possible to define "functions" that have a fixed number of arguments?
<nij>
I want to make currying more native in lisp...
dbotton has quit [Quit: This computer has gone to sleep]
kam1 has quit [Read error: Connection reset by peer]
<flip214>
aeth: do you have an example? Do I need to declare my own stream class for that
<flip214>
?
nij has left #lisp ["ERC (IRC client for Emacs 27.1)"]
<aeth>
flip214: that would be my guess
<aeth>
perhaps someone has provided one if they expect it, though
<aeth>
you could try grepping for inheritance from those two classes if it was implemented the way I think it might be implemented
<aeth>
At the very least, it looks like it's not an error so it looks like it's possible. (defclass foo (trivial-gray-streams:fundamental-binary-output-stream trivial-gray-streams:fundamental-character-output-stream) ())
<aeth>
But if they expect it they probably already have one in mind.
theothornhill has quit [Ping timeout: 264 seconds]
luni has quit [Quit: Connection closed]
akoana has joined #lisp
drl has joined #lisp
gioyik_ has joined #lisp
theothornhill has joined #lisp
dbotton has joined #lisp
gioyik has quit [Ping timeout: 268 seconds]
kpoeck has joined #lisp
theothornhill has quit [Ping timeout: 246 seconds]
puchacz has joined #lisp
puchacz has quit [Client Quit]
equwal[m] has joined #lisp
<Josh_2>
borodust: thanks :)
McParen has left #lisp [#lisp]
<borodust>
o7
<Josh_2>
Now for the annoying part, converting this python code into CL
jeosol has quit [Quit: Connection closed]
unimog has left #lisp ["ERC (IRC client for Emacs 27.1.90)"]
ikrabbe has joined #lisp
ikrabbe|2 has quit [Ping timeout: 246 seconds]
Sheilong has quit []
gioyik has joined #lisp
gioyik_ has quit [Ping timeout: 268 seconds]
gaqwas has quit [Ping timeout: 272 seconds]
<edgar-rft>
Josh_2: I've heard CL is less annoying than one might think :-)
Nilby has joined #lisp
charles` has joined #lisp
charles` has quit [Ping timeout: 264 seconds]
<antoszka>
;)
eta has quit [Quit: we're here, we're queer, connection reset by peer]
eta has joined #lisp
<Josh_2>
edgar-rft: perhaps
mood_ has quit [Quit: Gone.]
mood has joined #lisp
<Josh_2>
with CFFI I need to pass a void * <var name> to a foreign function, this can just be a pointer to an array or a string right?
shka_ has quit [Ping timeout: 265 seconds]
<Josh_2>
In the python code I'm trying to copy they are using ffi.from_buffer(<string as utf8 array>) I don't know what the equivalent is in cffi
charles` has joined #lisp
holycow has quit [Disconnected by services]
dbotton has quit [Quit: This computer has gone to sleep]
holycow_ has joined #lisp
theothornhill has joined #lisp
theothornhill has quit [Ping timeout: 256 seconds]
villanella has quit [Quit: villanella]
dbotton has joined #lisp
pve has quit [Quit: leaving]
theothornhill has joined #lisp
dbotton has quit [Quit: This computer has gone to sleep]
theothornhill has quit [Ping timeout: 264 seconds]
equwal[m] is now known as equwal
kpoeck has quit [Ping timeout: 240 seconds]
dbotton has joined #lisp
charles` has quit [Ping timeout: 264 seconds]
holycow_ has quit [Quit: Lost terminal]
citizenajb has quit [Remote host closed the connection]
pillton has joined #lisp
Bourne has quit [Ping timeout: 246 seconds]
arpunk has quit [Remote host closed the connection]
charles` has joined #lisp
random-nick has quit [Ping timeout: 272 seconds]
rgherdt has quit [Ping timeout: 272 seconds]
dhil has quit [Ping timeout: 256 seconds]
varjag has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
<jasom>
Down to 35 test failures in nyaml
wsinatra has quit [Quit: WeeChat 3.0.1]
<jasom>
flip214: search for "bivalent stream"
<jasom>
flip214: sbcl provides these out-of-the-box, not sure if there is a trivial wrapper for them
<jasom>
Josh_2: CFFI wil lautomatically convert a string to a char *, but you need to be careful of your encodings.
<jasom>
Josh_2: it will *not* automatically convert byte arrays IIRC, so you need to allocate foreign storage and copy the array into it. There is a library (static-vectors?) that lets you allocate lisp vectors that may be directly passed to foreign code without copying.