jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | offtopic --> #lispcafe
luni has joined #lisp
v3ga has joined #lisp
luis has joined #lisp
<gendl> Xach: thanks I will check it tonight or early tomorrow if that’s ok.
<gendl> Btw I added a quicklisp-patches/ directory which contains a few patched ql systems where my patches haven’t yet made it into the respective upstream distros for ql distribution (or at least haven’t been tested yet)
random-nick has quit [Ping timeout: 272 seconds]
scymtym_ has joined #lisp
scymtym has quit [Ping timeout: 246 seconds]
luni has quit [Quit: Connection closed]
wanamingo has quit [Quit: Leaving]
joast has quit [Quit: Leaving.]
joast has joined #lisp
luis has quit [Quit: The Lounge - https://thelounge.chat]
akoana has left #lisp ["Leaving"]
luis has joined #lisp
theothornhill has joined #lisp
ramus has joined #lisp
warweasle has quit [Quit: Later Dudes.]
theothornhill has quit [Ping timeout: 260 seconds]
VincentVega has quit [Quit: Connection closed]
X-Scale` has joined #lisp
X-Scale has quit [Ping timeout: 265 seconds]
X-Scale` is now known as X-Scale
theothornhill has joined #lisp
nij has joined #lisp
theothornhill has quit [Ping timeout: 264 seconds]
louis771 has quit [Ping timeout: 260 seconds]
ikrabbe has joined #lisp
varjag has quit [Ping timeout: 272 seconds]
X-Scale` has joined #lisp
X-Scale has quit [Ping timeout: 260 seconds]
X-Scale` is now known as X-Scale
ebrasca has quit [Remote host closed the connection]
louis771 has joined #lisp
louis771 has quit [Ping timeout: 265 seconds]
jeosol has joined #lisp
nij has left #lisp ["ERC (IRC client for Emacs 27.1)"]
nullkl has quit [Ping timeout: 240 seconds]
nullkl has joined #lisp
louis771 has joined #lisp
asarch has joined #lisp
Bike has quit [Quit: Connection closed]
louis771 has quit [Ping timeout: 240 seconds]
bitmapper has quit [Quit: Connection closed for inactivity]
louis771 has joined #lisp
rpg has joined #lisp
bitmapper has joined #lisp
nullkl has quit [Quit: Lost terminal]
Bike has joined #lisp
louis771 has quit [Ping timeout: 240 seconds]
theothornhill has joined #lisp
louis771 has joined #lisp
semz has quit [Ping timeout: 240 seconds]
louis771 has quit [Ping timeout: 260 seconds]
ikrabbe|2 has joined #lisp
ikrabbe has quit [Ping timeout: 264 seconds]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
semz has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life_ is now known as Lord_of_Life
louis771 has joined #lisp
toorevitimirp has joined #lisp
villanella1 has joined #lisp
imode has joined #lisp
villanella has quit [Ping timeout: 265 seconds]
prxq_ has joined #lisp
prxq has quit [Ping timeout: 240 seconds]
euandreh has quit [Ping timeout: 240 seconds]
euandreh has joined #lisp
ebrasca has joined #lisp
Sheilong has quit [Quit: Connection closed for inactivity]
louis771 has quit [Ping timeout: 246 seconds]
theothornhill has quit [Ping timeout: 264 seconds]
hineios3 has joined #lisp
hineios has quit [Ping timeout: 246 seconds]
hineios3 is now known as hineios
asarch has quit [Quit: Leaving]
ex_nihilo has joined #lisp
louis771 has joined #lisp
prxq has joined #lisp
louis771 has quit [Ping timeout: 240 seconds]
Alfr has joined #lisp
prxq_ has quit [Ping timeout: 264 seconds]
<beach> Good morning everyone!
Alfr_ has quit [Ping timeout: 240 seconds]
_whitelogger has joined #lisp
louis771 has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
Nilby has joined #lisp
Bike has quit [Quit: Connection closed]
louis771 has quit [Ping timeout: 272 seconds]
judson_ has joined #lisp
ikrabbe has joined #lisp
louis771 has joined #lisp
ikrabbe|2 has quit [Ping timeout: 264 seconds]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thmprover has joined #lisp
<jeosol> Good morning beach
<jeosol> no-defun-allowed: just saw your pull request on implement a linear-probing hash-table into SICL. Good work
<jeosol> I'll quickly going through the linked to get to understand better
theothornhill has joined #lisp
<thmprover> Say, how mature is SICL?
<beach> thmprover: Not mature at all.
<beach> No executable yet.
<beach> But thanks to the way bootstrapping works, most of the code exists, has been executed, and seems to work.
<thmprover> It looks quite interesting.
<beach> I recently finished revamping the way high-level IR was generated in order to take into account the ideas in my draft paper on call-site optimization.
<thmprover> Oh, beach, you're Robert Strandh?
<beach> Er, yes. "beach" is just a translation of "strand".
<beach> In the past, I also used "spiaggia", "plage", and "Ufer".
<thmprover> Cool, I was just thinking about this topic earlier today. (Not that I have anything new to contribute, but just pondering function calls and their optimization in functional languages.)
<beach> The technique in that paper will make Common Lisp function calls faster than a typical C function call in a shared library.
<azrazalea> beach: You've been `beach` for yeeearrss though right? I've gone on a couple hiatuses and you're still here lol (thank goddess <3)
<beach> azrazalea: Yes, I am not going anywhere. Unless the virus hits or something, of course.
Bike has joined #lisp
<jeosol> Na beach, you are immune from the virus
<Nilby> beach: please stay around as long as possible
<azrazalea> Yep, we like you here ^-^
<thmprover> Oh, beach, David Gudeman's "Representing Type Information in Dynamically Typed Languages" (1993) is the earliest paper on NaN-boxing (if you still need a citation for footnote 1).
<beach> Thanks!
<beach> thmprover: Oh, thank you! I have been looking for that.
aartaka has joined #lisp
<beach> thmprover: Updated. Thanks again.
aartaka_d has joined #lisp
<thmprover> beach: anytime :)
aartaka has quit [Ping timeout: 260 seconds]
skapata has quit [Remote host closed the connection]
judson_ has joined #lisp
Bike has quit [Quit: Connection closed]
galex-713 has quit [Ping timeout: 272 seconds]
louis771 has quit [Ping timeout: 260 seconds]
_whitelogger has joined #lisp
<thmprover> Alright, time for bed, good night all.
thmprover has quit [Quit: Up, up, and away]
villanella1 has quit [Remote host closed the connection]
ebrasca has quit [Remote host closed the connection]
louis771 has joined #lisp
villanella has joined #lisp
louis771 has quit [Ping timeout: 272 seconds]
louis771 has joined #lisp
kini has quit [Quit: bye]
semz has quit [Quit: Leaving]
kini has joined #lisp
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kini has quit [Quit: bye]
louis771 has quit [Ping timeout: 256 seconds]
kini has joined #lisp
louis771 has joined #lisp
louis771 has quit [Ping timeout: 240 seconds]
totoro2023 has quit [Remote host closed the connection]
louis771 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
louis771 has quit [Ping timeout: 246 seconds]
jlarocco has quit [Ping timeout: 240 seconds]
louis771 has joined #lisp
louis771 has quit [Ping timeout: 240 seconds]
louis771 has joined #lisp
louis771 has quit [Ping timeout: 246 seconds]
totoro2021 has joined #lisp
narimiran has joined #lisp
louis771 has joined #lisp
narimiran has quit [Client Quit]
bitmapper has quit [Quit: Connection closed for inactivity]
ranjanified has joined #lisp
ranjanified has left #lisp ["ERC (IRC client for Emacs 28.0.50)"]
totoro2021 has quit [Read error: Connection reset by peer]
totoro2022 has joined #lisp
pve has joined #lisp
h4ck3r9696 has joined #lisp
aartaka_d has quit [Ping timeout: 265 seconds]
karlosz has quit [Quit: karlosz]
scymtym__ has joined #lisp
louis771 has quit [Ping timeout: 240 seconds]
scymtym_ has quit [Ping timeout: 264 seconds]
kini has quit [Remote host closed the connection]
kini has joined #lisp
aeth has quit [Ping timeout: 240 seconds]
baicai has joined #lisp
aeth has joined #lisp
sxmx has quit [Quit: WeeChat 2.9]
sxmx has joined #lisp
kini has quit [Ping timeout: 260 seconds]
kini has joined #lisp
louis771 has joined #lisp
hendursa1 has joined #lisp
hendursaga has quit [Ping timeout: 268 seconds]
louis771 has quit [Ping timeout: 246 seconds]
ikrabbe|2 has joined #lisp
ikrabbe has quit [Ping timeout: 240 seconds]
baicai has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
skapata has joined #lisp
dilated_dinosaur has quit [Ping timeout: 264 seconds]
froggey has quit [Ping timeout: 246 seconds]
froggey has joined #lisp
louis771 has joined #lisp
wxie has joined #lisp
louis771 has quit [Ping timeout: 265 seconds]
theothornhill has quit [Ping timeout: 265 seconds]
louis771 has joined #lisp
wxie has quit [Ping timeout: 272 seconds]
surabax has joined #lisp
louis771 has quit [Read error: Connection reset by peer]
louis771 has joined #lisp
imode has quit [Ping timeout: 265 seconds]
dilated_dinosaur has joined #lisp
ikrabbe|2 has quit [Ping timeout: 240 seconds]
__jrjsmrtn__ has joined #lisp
anticrisis has quit [Read error: Connection reset by peer]
ikrabbe|2 has joined #lisp
theothornhill has joined #lisp
scymtym__ has quit [Remote host closed the connection]
scymtym has joined #lisp
theothornhill has quit [Ping timeout: 246 seconds]
a138 has joined #lisp
rpg has joined #lisp
random-nick has joined #lisp
a138 has quit [Ping timeout: 240 seconds]
theothornhill has joined #lisp
pankajsg has joined #lisp
pyx has joined #lisp
pyx has quit [Client Quit]
a138 has joined #lisp
vegansbane6963 has quit [Quit: The Lounge - https://thelounge.chat]
theothornhill has quit [Ping timeout: 260 seconds]
rozenglass has quit [Remote host closed the connection]
varjag has joined #lisp
louis771 has quit [Ping timeout: 240 seconds]
zaquest has quit [Remote host closed the connection]
zaquest has joined #lisp
rogersm has joined #lisp
theothornhill has joined #lisp
rogersm has quit [Remote host closed the connection]
rogersm has joined #lisp
theothornhill has quit [Ping timeout: 265 seconds]
theothornhill has joined #lisp
rogersm has quit [Ping timeout: 240 seconds]
vegansbane6963 has joined #lisp
theothornhill has quit [Ping timeout: 256 seconds]
terpri has quit [Remote host closed the connection]
terpri has joined #lisp
skapata has quit [Remote host closed the connection]
frgo has quit [Read error: Connection reset by peer]
frgo_ has joined #lisp
d4ryus has quit [Quit: WeeChat 3.0]
aeth has quit [Ping timeout: 265 seconds]
mrchampion has quit [Ping timeout: 240 seconds]
aeth has joined #lisp
andreyorst has quit [Quit: WeeChat 2.8]
andreyorst has joined #lisp
d4ryus has joined #lisp
pve_ has joined #lisp
<leo_song> as vector and array is harder to use, what is the common way to write a deftype which means a list can only consisted with a certain type of elements? use satisfies?
pve has quit [Ping timeout: 272 seconds]
pve_ has quit [Read error: Connection reset by peer]
pve has joined #lisp
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
flip214_ is now known as flip2114
flip2114 is now known as flip214
theothornhill has joined #lisp
rogersm has joined #lisp
villanella has quit [Ping timeout: 272 seconds]
rogersm has quit [Ping timeout: 256 seconds]
heisig has joined #lisp
theothornhill has quit [Ping timeout: 246 seconds]
puchacz has joined #lisp
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
dbotton has joined #lisp
dbotton has quit [Client Quit]
contrapunctus has joined #lisp
orivej has joined #lisp
skapata has joined #lisp
xanderle has quit [Ping timeout: 264 seconds]
contrapunctus has left #lisp ["Disconnected: closed"]
xanderle has joined #lisp
contrapunctus has joined #lisp
rpg has joined #lisp
ganjajim has joined #lisp
villanella has joined #lisp
theothornhill has joined #lisp
<beach> leo_song: Yes, that's the only way.
<beach> leo_song: Jim Newton and Didier Verna created some abstractions on top of that though. They call it "regular type expressions".
ikrabbe has joined #lisp
ikrabbe|2 has quit [Ping timeout: 246 seconds]
theothornhill has quit [Remote host closed the connection]
mrchampion has joined #lisp
g0d_shatter has joined #lisp
luni has joined #lisp
villanella has quit [Read error: Connection reset by peer]
amb007 has quit [Ping timeout: 246 seconds]
amb007 has joined #lisp
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
contrapunctus has joined #lisp
zxcvz has joined #lisp
amb007 has quit [Remote host closed the connection]
Sheilong has joined #lisp
cage_ has quit [Remote host closed the connection]
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #lisp
Bike has joined #lisp
cage_ has joined #lisp
Bourne has joined #lisp
g0d_shatter has quit [Remote host closed the connection]
<leo_song> beach: thanks. I was thinking that there would be something like the the array's (array type), so the compilers can have the information to optimise.
rpg has joined #lisp
pyc has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
pyc has joined #lisp
<beach> leo_song: The array types are determined by the fact that arrays are specialized. A specialized array can hold only objects of a particular type because of the very way the array is represented in memory. But CONS cells can not be specialized that way, so there is no way to guarantee that such a type constraint will remain true.
<carkh> mhh is an array of structs stored in-line in some implementations ? like in c ?
<beach> That would violate the semantics of Common Lisp.
<carkh> would it ?
<beach> Yes, you would lose identity.
<carkh> ah yes
<carkh> so pointer chasing it is
<beach> (eq (aref ...) (aref ...)) => NIL.
theothor` has joined #lisp
Nilby has quit [Ping timeout: 264 seconds]
luni has quit [Quit: Connection closed]
theothor` has quit [Ping timeout: 256 seconds]
puchacz has quit [Quit: Connection closed]
kam1 has joined #lisp
thmprover has joined #lisp
ljavorsk has joined #lisp
bitmapper has joined #lisp
vaporatorius__ has joined #lisp
dra_ has joined #lisp
dra_ has quit [Client Quit]
dra has joined #lisp
vaporatorius has quit [Ping timeout: 240 seconds]
ikki has joined #lisp
long4mud has quit [Quit: WeeChat 3.0.1]
rogersm has joined #lisp
citizenajb has joined #lisp
kam1 has quit [Read error: Connection reset by peer]
shka_ has joined #lisp
_whitelogger has joined #lisp
rozenglass has joined #lisp
citizenajb has quit [Remote host closed the connection]
rogersm has quit [Remote host closed the connection]
rogersm has joined #lisp
warweasle has joined #lisp
rogersm has quit [Remote host closed the connection]
theothor` has joined #lisp
theothor` has quit [Remote host closed the connection]
puchacz has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
puchacz has quit [Client Quit]
contrapunctus has joined #lisp
villanella has joined #lisp
gitgood has joined #lisp
<gitgood> hello
<warweasle> gitgood: Hello, Dark Souls fan.
diskop has joined #lisp
<beach> gitgood: Are you new here? I don't recognize your nick.
jlarocco has joined #lisp
dra has quit [Remote host closed the connection]
ikki has quit [Ping timeout: 265 seconds]
aeth has quit [Ping timeout: 240 seconds]
ganjajim has quit [Remote host closed the connection]
aeth has joined #lisp
vegansbane6963 has quit [Remote host closed the connection]
iskander has quit [Quit: bye]
aeth_ has joined #lisp
kam1 has joined #lisp
aeth has quit [Disconnected by services]
iskander has joined #lisp
aeth_ is now known as aeth
VincentVega has joined #lisp
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
VincentVega has quit [Client Quit]
rogersm has joined #lisp
Bike has quit [Quit: Connection closed]
rogersm has quit [Ping timeout: 246 seconds]
cage_ has quit [Quit: Leaving]
cage_ has joined #lisp
ebrasca has joined #lisp
villanella has quit [Ping timeout: 256 seconds]
a138 has quit [Ping timeout: 260 seconds]
attila_lendvai has joined #lisp
galex-713 has quit [Ping timeout: 272 seconds]
h4ck3r9696 has left #lisp [#lisp]
galex-713 has joined #lisp
theothornhill has joined #lisp
attila_lendvai has quit [Quit: Leaving]
theothornhill has quit [Ping timeout: 240 seconds]
aartaka has joined #lisp
vegansbane6963 has joined #lisp
theothornhill has joined #lisp
nij has joined #lisp
<nij> How to make nickname for a function? (defun f () ()) (setf g #'f) doesn't do what I want, in that (g) returns error.
<contrapunctus> nij: defalias ?
<nij> I think I'm looking for a version of #'SETF for functions, but cannot find it.
<contrapunctus> Oh sorry, wrong channel /o\
<nij> xD
<contrapunctus> (I thought this was #emacs lol)
<nij> It's close enough... (silenced)
<Alfr> nij, (setf (symbol-function 'g) #'f)
amerigo has joined #lisp
<nij> oh! thanks :D
<nij> so i guess there's no common shorthand notation for it?
theothornhill has quit [Ping timeout: 272 seconds]
kam1 has quit [Ping timeout: 240 seconds]
pent has quit [Read error: Connection reset by peer]
pent has joined #lisp
<Alfr> nij, there's also (setf (fdefinition ..) ..); fdefinition also accepts function-names, e.g. (setf frob), which symbol-function does not.
<Alfr> nij, also make sure that what you assign really is a function (not a special operator or macro).
<nij> got it :-D thanks a lot, Alfr!
gioyik has joined #lisp
mjl has quit [Ping timeout: 272 seconds]
mjl has joined #lisp
unimog has joined #lisp
rogersm has joined #lisp
nij has quit [Quit: ERC (IRC client for Emacs 27.1)]
judson_ has joined #lisp
rogersm has quit [Ping timeout: 240 seconds]
diskop has quit [Quit: Leaving]
_jrjsmrtn has joined #lisp
__jrjsmrtn__ has quit [Ping timeout: 240 seconds]
Bike has joined #lisp
loskutak has joined #lisp
perrier-jouet has quit [Quit: WeeChat 3.0]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
u0_a156 has joined #lisp
<u0_a156> ☺
<u0_a156> 大家好
ex_nihilo has quit [Quit: Leaving]
nij has joined #lisp
<u0_a156> /close
perrier-jouet has joined #lisp
jpli has joined #lisp
villanella has joined #lisp
u0_a156 has left #lisp ["WeeChat 2.6"]
villanella has quit [Client Quit]
judson_ has joined #lisp
<lukego> Hey can anyone recommend (or not) an OpenCV binding for Lisp? (Can the ones on Github dates ~2013 be usable or is that hopelessly old in OpenCV terms?)
<lukego> Or alternatively, can someone suggest a practical mostly-automated way to extract a set of polygons from a photo? e.g. if you'd take a photo of a keyboard and detect the shape and location of each key
aartaka_d has joined #lisp
imode has joined #lisp
aartaka has quit [Ping timeout: 256 seconds]
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
nij has quit [Quit: ERC (IRC client for Emacs 27.1)]
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
contrapunctus has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has joined #lisp
ukari has quit [Ping timeout: 264 seconds]
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
contrapunctus has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has joined #lisp
jonathana has quit [Quit: fBNC - https://bnc4free.com]
rogersm has joined #lisp
ukari has joined #lisp
rogersm has quit [Client Quit]
rogersm has joined #lisp
theothornhill has joined #lisp
theothornhill has quit [Remote host closed the connection]
theothornhill has joined #lisp
luni has joined #lisp
jonathan^ has joined #lisp
theothornhill has quit [Remote host closed the connection]
rogersm has quit [Quit: Leaving...]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gioyik has quit [Ping timeout: 268 seconds]
mathrick has quit [Ping timeout: 264 seconds]
long4mud has joined #lisp
rpg has joined #lisp
villanella has joined #lisp
ikrabbe has quit [Ping timeout: 240 seconds]
heisig has quit [Quit: Leaving]
sbryant has quit [Read error: Connection reset by peer]
gendl has quit [Ping timeout: 272 seconds]
theruran has quit [Ping timeout: 260 seconds]
gendl has joined #lisp
theruran has joined #lisp
mathrick has joined #lisp
hjudt has joined #lisp
cage_ has quit [Quit: Leaving]
astronavt has quit [Quit: ...]
amerigo has quit [Quit: Connection closed for inactivity]
astronavt has joined #lisp
perrier-jouet has quit [Quit: WeeChat 3.0]
perrier-jouet has joined #lisp
gioyik has joined #lisp
ramenbytes has joined #lisp
theothornhill has joined #lisp
gioyik has quit [Remote host closed the connection]
gioyik has joined #lisp
aartaka has joined #lisp
shka_ has quit [Ping timeout: 264 seconds]
surabax has quit [Quit: Leaving]
aartaka_d has quit [Ping timeout: 265 seconds]
luni has quit [Quit: Connection closed]
aartaka has quit [Ping timeout: 246 seconds]
unimog has left #lisp ["ERC (IRC client for Emacs 27.1.90)"]
dale has quit [Remote host closed the connection]
rpg has quit [Quit: Textual IRC Client: www.textualapp.com]
ramenbytes has left #lisp ["#lisp"]
ramenbytes has joined #lisp
ikrabbe has joined #lisp
theothornhill has quit [Remote host closed the connection]
theothornhill has joined #lisp
fouric has quit [Ping timeout: 240 seconds]
fouric has joined #lisp
attila_lendvai has quit [Ping timeout: 240 seconds]
Josh_2 has joined #lisp
<Josh_2> Hey, a foreign function I'm trying to call expects a pointer to a 'const unsigned char ' what encoding type is that? utf-8 doesn't seem to be working properly so I'm not sure if I have the encoding correct
<Bike> that is not an encoding.
<Bike> the function might actually want strings in some encoding, but unsigned char* just means bytes.
<Josh_2> right
<Josh_2> however the default utf8 keeps returning the error 'invalid-base64'
<Josh_2> So I think it might be the encoding i'm not sure
<Josh_2> I think the signatures are meant to be ascii, I don't know. I'll play around
<Xach> Josh_2: have you considered passing base64 in that case?
<Bike> the foreign function ought to document what it expects, base64 or otherwise
<Bike> course it might not. documentation sucks sometimes.
<Josh_2> well yes
<Bike> But, I mean, knowing that it wants unsigned char* is not enough.
<Josh_2> I pass it the base64 encoded string converted to a pointer that I receive from a different function
<Josh_2> and I keep getting an error
<Xach> lol
<Xach> Truly not enough info to give good guesses
<Bike> yeah. we know nothing.
<Josh_2> Well I'm copying some python code, I can show you that
<Josh_2> and my lisp version
<Xach> What C library and function is it?
<Josh_2> the Olm library
<Xach> Josh_2: function?
theothornhill has quit [Ping timeout: 265 seconds]
<Josh_2> one sec
rozenglass has quit [Read error: Connection reset by peer]
<Josh_2> Now I can go find the C versions
<Josh_2> Looks like it
<Bike> if it's crypto it probably doesn't care about encoding.
<Josh_2> it is crypto
<Bike> So what error are you getting and what's signaling it?
<Josh_2> You can call (%olm:utility-last-error <utility pointer>) and it will return a string telling you some information about the error
<Josh_2> which is what my macro check-error does
loskutak has quit [Ping timeout: 240 seconds]
<Josh_2> a condition is associated with each returned string and that is what gets signalled
<Bike> okay, so it's the library that's hitting an error.
<Josh_2> Yes
<Josh_2> I should have made that more clear, sorry
kam1 has joined #lisp
<Bike> the C library API doesn't mention errors. lovely.
<Josh_2> Did you check the Olm library?
<Bike> are you calling the python one somehow? or C?
<Bike> your project doesn't actually depend on cffi directly, it looks like
<Josh_2> Im calling the C one, I'm trying to copy the Python version
<Josh_2> The Python version is using an FFI
<Bike> okay, i see. you're using libolm, which is not the C library I linked.
notzmv has quit [Remote host closed the connection]
<Josh_2> Thats why I showed you the python version of the functions because I assume they are correctly using the C library
dale has joined #lisp
<Bike> but it's a completely different C library.
<Bike> i mean. that's fine. just, say it earlier, next time?
notzmv has joined #lisp
<Josh_2> The library you posted looks like the same C implementation they have in include/
akoana has joined #lisp
notzmv has quit [Remote host closed the connection]
<Bike> but you're not interfacing with that api at all. you're using this one: https://gitlab.matrix.org/matrix-org/olm/-/blob/master/include/olm/olm.h and that's the one you need to understand
<Bike> it mentions base64 a lot.
notzmv has joined #lisp
<Josh_2> Yes
<Josh_2> I've been looking at those
judson_ has joined #lisp
judson_ has quit [Client Quit]
kam1 has quit [Ping timeout: 240 seconds]
kam1 has joined #lisp
theothornhill has joined #lisp
theothornhill has quit [Ping timeout: 240 seconds]
villanella has quit [Remote host closed the connection]
villanella has joined #lisp
ljavorsk has quit [Ping timeout: 240 seconds]
gzj has joined #lisp
random-nick has quit [Ping timeout: 240 seconds]
Sheilong has quit [Quit: Connection closed for inactivity]
hjudt has quit [Ping timeout: 246 seconds]
<Josh_2> I think I can get away with this even if verify isn't working ¯\_(ツ)_/¯
frgo_ has quit [Remote host closed the connection]
frgo has joined #lisp
kam1 has quit [Ping timeout: 256 seconds]
iamFIREc1 has quit [Ping timeout: 272 seconds]
aeth has quit [Ping timeout: 260 seconds]
aeth has joined #lisp
jello_pudding has quit [Ping timeout: 240 seconds]
ramenbytes has left #lisp [" "]
villanella has quit [Ping timeout: 264 seconds]
sbryant has joined #lisp
pve has quit [Quit: leaving]
igemnace has joined #lisp