jackdaniel changed the topic of #commonlisp to: Common Lisp, the #1=(programmable . #1#) programming language | Wiki: <https://www.cliki.net> | IRC Logs: <https://irclog.tymoon.eu/libera/%23commonlisp> | Cookbook: <https://lispcookbook.github.io/cl-cookbook> | Pastebin: <https://plaster.tymoon.eu/>
bpanthi977 has joined #commonlisp
decweb has quit [Quit: Konversation terminated!]
ec has quit [Ping timeout: 264 seconds]
bpanthi977 has quit [Ping timeout: 252 seconds]
decweb has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
bpanthi977 has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
bpanthi977 has quit [Ping timeout: 260 seconds]
bpanthi977 has joined #commonlisp
Inline has quit [Ping timeout: 272 seconds]
Inline has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
alfiee has joined #commonlisp
Inline has quit [Ping timeout: 244 seconds]
alfiee has quit [Ping timeout: 248 seconds]
ec has joined #commonlisp
wobbol has joined #commonlisp
bpanthi977 has joined #commonlisp
dra has quit [Ping timeout: 252 seconds]
Inline has joined #commonlisp
bpanthi977 has quit [Ping timeout: 272 seconds]
decweb has quit [Quit: Konversation terminated!]
bpanthi977 has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
bpanthi977 has quit [Ping timeout: 260 seconds]
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 244 seconds]
rkazak has joined #commonlisp
bpanthi977 has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
bpanthi977 has quit [Ping timeout: 272 seconds]
semz has quit [Quit: ZNC 1.8.2+deb2ubuntu0.1 - https://znc.in]
semz has joined #commonlisp
alfiee has joined #commonlisp
bpanthi977 has joined #commonlisp
alfiee has quit [Ping timeout: 260 seconds]
bpanthi977 has quit [Ping timeout: 276 seconds]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 265 seconds]
random-nick has quit [Ping timeout: 260 seconds]
bpanthi977 has joined #commonlisp
ebrasca has quit [Read error: Connection reset by peer]
bpanthi977 has quit [Ping timeout: 276 seconds]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
alfiee has joined #commonlisp
rkazak has joined #commonlisp
alfiee has quit [Ping timeout: 246 seconds]
rkazak has quit [Ping timeout: 246 seconds]
bpanthi977 has joined #commonlisp
rkazak has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
bpanthi977 has quit [Ping timeout: 276 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 272 seconds]
alfiee has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
alfiee has quit [Ping timeout: 248 seconds]
Inline_ has joined #commonlisp
Inline has quit [Ping timeout: 265 seconds]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
surabax has quit [Quit: Leaving]
Ruby has quit [Quit: ZNC - https://znc.in]
bpanthi977 has joined #commonlisp
Ruby has joined #commonlisp
Ruby has quit [Remote host closed the connection]
Ruby has joined #commonlisp
triffid has quit [Remote host closed the connection]
bpanthi977 has quit [Ping timeout: 260 seconds]
Inline_ is now known as Inline
rkazak has joined #commonlisp
decweb has joined #commonlisp
alfiee has joined #commonlisp
MountainMan1312 has left #commonlisp [#commonlisp]
alfiee has quit [Ping timeout: 272 seconds]
rkazak has quit [Ping timeout: 276 seconds]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
<jmercouris> I am having trouble base encoding and decoding strings with utf 8 in them
triffid has joined #commonlisp
<jmercouris> I don't understand why it can't encode the airplane utf-8 symbol
<shawnw> Convert the string to a byte array first and base64 encoded that? And vis versa.
decweb has quit [Quit: Konversation terminated!]
<Bubblegumdrop> yea
<Bubblegumdrop> I think it's flex:something
<Bubblegumdrop> CL-USER> (flex:string-to-octets "Flying ✈ Salmon" :external-format :utf8)
<Bubblegumdrop> #(70 108 121 105 110 103 32 226 156 136 32 83 97 108 109 111 110)
<Bubblegumdrop> something like this
<Bubblegumdrop> then octets-to-string on the way back out I think
<jmercouris> OK I see
<jmercouris> let me give that a try
rtypo has quit [Ping timeout: 244 seconds]
<jmercouris> That weas it, thank you
<jmercouris> s/weas/was
<shawnw> Yeah, peeking at the source, cl-base64:string-to-base64-string doesn't look like it'll handle characters with codes > 255 correctly.
<jmercouris> That's no good, perhaps I shouldn't be using this library
<jmercouris> maybe Ironclad instead
<shawnw> Base64 only really makes sense for encoding binary data anyways.
<jmercouris> but that seem soverkill
<jmercouris> I'd agree with that, typically
<jmercouris> I have a usecase where it actually makes sense
bpanthi977 has joined #commonlisp
rkazak has joined #commonlisp
edgar-rft_ has joined #commonlisp
<nil> (babel:octets-to-string (cl-base64:base64-string-to-usb8-array (cl-base64:usb8-array-to-base64-string (babel:string-to-octets "Flying ✈ Salmon"))))
<nil> you will have babel if you have cffi
edgar-rft` has quit [Ping timeout: 246 seconds]
<Bubblegumdrop> thanks, babel is probably better than flexi-streams?
bpanthi977 has quit [Ping timeout: 276 seconds]
<jmercouris> yes, I think so, thanks nil
arbn has quit [Ping timeout: 260 seconds]
alfiee has joined #commonlisp
bpanthi977 has joined #commonlisp
rkazak has quit [Ping timeout: 276 seconds]
alfiee has quit [Ping timeout: 260 seconds]
bpanthi977 has quit [Ping timeout: 260 seconds]
waleee has quit [Remote host closed the connection]
pve has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 246 seconds]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
Inline has quit [Ping timeout: 248 seconds]
rkazak has joined #commonlisp
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 252 seconds]
bpanthi977 has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
bpanthi977 has quit [Ping timeout: 260 seconds]
geminium has joined #commonlisp
ec has quit [Remote host closed the connection]
ec has joined #commonlisp
rkazak has joined #commonlisp
phantomics__ has quit [Quit: Leaving]
phantomics has joined #commonlisp
geminium has quit [Read error: Connection reset by peer]
mishoo has joined #commonlisp
akoana has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
akoana has quit [Client Quit]
alfiee has joined #commonlisp
bpanthi977 has joined #commonlisp
alfiee has quit [Ping timeout: 248 seconds]
bpanthi977 has quit [Ping timeout: 260 seconds]
bpanthi977 has joined #commonlisp
rkazak has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 265 seconds]
triffid has quit [Quit: triffid]
geminium has joined #commonlisp
triffid has joined #commonlisp
alfiee has joined #commonlisp
triffid has quit [Client Quit]
triffid has joined #commonlisp
alfiee has quit [Ping timeout: 245 seconds]
bpanthi977 has joined #commonlisp
Pixel_Outlaw has quit [Quit: Leaving]
rkazak has joined #commonlisp
bpanthi977 has quit [Ping timeout: 276 seconds]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 276 seconds]
rkazak has quit [Ping timeout: 260 seconds]
geminium has quit [Ping timeout: 252 seconds]
<Shinmera> it is faster.
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 252 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 245 seconds]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 248 seconds]
geminium has joined #commonlisp
shka has joined #commonlisp
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 260 seconds]
szkl has joined #commonlisp
rkazak has joined #commonlisp
spdegabrielle has joined #commonlisp
Inline has joined #commonlisp
rkazak has quit [Ping timeout: 265 seconds]
alfiee has joined #commonlisp
Jach has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
decweb has joined #commonlisp
rkazak has joined #commonlisp
Inline has quit [Ping timeout: 252 seconds]
Inline has joined #commonlisp
decweb has quit [Quit: Konversation terminated!]
grawlinson has quit [Ping timeout: 245 seconds]
rkazak has quit [Ping timeout: 244 seconds]
grawlinson has joined #commonlisp
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 272 seconds]
zxcvz has joined #commonlisp
geminium has quit [Ping timeout: 248 seconds]
zxcvz has quit [Client Quit]
brokkoli_origin has quit [Remote host closed the connection]
rkazak has joined #commonlisp
TMA has joined #commonlisp
cage has joined #commonlisp
cage has quit [Excess Flood]
cage has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
geminium has joined #commonlisp
geminium has quit [Ping timeout: 252 seconds]
alfiee has joined #commonlisp
brokkoli_origin has joined #commonlisp
brokkoli_origin has quit [Remote host closed the connection]
alfiee has quit [Ping timeout: 246 seconds]
brokkoli_origin has joined #commonlisp
alternateved has joined #commonlisp
rkazak has joined #commonlisp
kniffy has quit [Quit: zzzz]
random-nick has joined #commonlisp
kniffy has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
spdegabrielle has quit [Quit: Connection closed for inactivity]
rkazak has joined #commonlisp
ec has quit [Ping timeout: 264 seconds]
ec has joined #commonlisp
olnw has quit [Quit: ZNC - https://znc.in]
dra has joined #commonlisp
rtypo has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 276 seconds]
mwnaylor` has quit [Ping timeout: 260 seconds]
mwnaylor has quit [Ping timeout: 260 seconds]
mwnaylor has joined #commonlisp
geminium has joined #commonlisp
<mishoo> dmho: is it all written by chatgpt? that's impressive!
rkazak has joined #commonlisp
<beach> What is it that you think might be written by ChatGPT?
geminium has quit [Ping timeout: 272 seconds]
<mishoo> ah, sorry, I was looking at this line actually: https://irclog.tymoon.eu/libera/%23commonlisp?around=1731135973#1731135973
<beach> I see.
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 245 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 245 seconds]
josrr has joined #commonlisp
decweb has joined #commonlisp
jon_atack has quit [Read error: Connection reset by peer]
jonatack has joined #commonlisp
rkazak has joined #commonlisp
Inline has quit [Ping timeout: 244 seconds]
alfiee has joined #commonlisp
rkazak has quit [Ping timeout: 276 seconds]
geminium has joined #commonlisp
alfiee has quit [Ping timeout: 260 seconds]
jonatack has quit [Read error: Connection reset by peer]
jonatack has joined #commonlisp
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 265 seconds]
cmack has quit [Remote host closed the connection]
cmack has joined #commonlisp
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
rkazak has joined #commonlisp
fe[nl]ix has quit [Remote host closed the connection]
rkazak has quit [Ping timeout: 244 seconds]
surabax has joined #commonlisp
fe[nl]ix has joined #commonlisp
rkazak has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 29.4]
bpanthi977 has joined #commonlisp
Inline has joined #commonlisp
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 272 seconds]
Inline has quit [Ping timeout: 276 seconds]
rkazak has joined #commonlisp
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
rkazak has quit [Ping timeout: 246 seconds]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 246 seconds]
rkazak has joined #commonlisp
zxcvz has joined #commonlisp
zxcvz has quit [Quit: zxcvz]
rkazak has quit [Ping timeout: 252 seconds]
theruran has joined #commonlisp
McParen has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 248 seconds]
Lord_of_Life_ is now known as Lord_of_Life
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 245 seconds]
geminium_ has joined #commonlisp
geminium has quit [Ping timeout: 252 seconds]
rkazak has joined #commonlisp
josrr has quit [Remote host closed the connection]
rkazak has quit [Ping timeout: 272 seconds]
bpanthi977 has quit [Ping timeout: 252 seconds]
notzmv has joined #commonlisp
bpanthi977 has joined #commonlisp
spdegabrielle has joined #commonlisp
akoana has joined #commonlisp
rkazak has joined #commonlisp
josrr has joined #commonlisp
rkazak has quit [Ping timeout: 276 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 248 seconds]
rkazak has joined #commonlisp
bpanthi977 has quit [Ping timeout: 276 seconds]
bpanthi977 has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
<aeth> for the very specific niche case of octets-to-strings and vice versa
<aeth> the fastest (though perhaps not the most ideal) implementation is to use implementation-internal non-generic functionality (e.g. sb-ext:octets-to-string / sb-ext:string-to-octets) which gets to cheat in two ways (1) being specific for just that one encoding and (2) being able to use implementation internals
<aeth> with a fallback to babel if the implementation has none or if the implementation's way benchmarks slower
<aeth> it is, perhaps, not the most ideal because in theory there could be slight differences in behavior or even output
alfiee has joined #commonlisp
McParen has left #commonlisp [#commonlisp]
<aeth> You could probably justify a trivial-string-octets library around this premise.
<aeth> Or, rather, for UTF-8 encodings. Because internal ones may support some encodings (perhaps a different set of them), but now you get a mess, and they're named differently. So I guess it'd be trivial-utf8-octets or something
alfiee has quit [Ping timeout: 246 seconds]
veqq has joined #commonlisp
rkazak has joined #commonlisp
mishoo has quit [Ping timeout: 260 seconds]
bpanthi977 has quit [Remote host closed the connection]
bpanthi977 has joined #commonlisp
Noisytoot has quit [Excess Flood]
bpanthi977 has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 252 seconds]
Noisytoot has joined #commonlisp
geminium_ has quit [Ping timeout: 245 seconds]
erdem has joined #commonlisp
alfiee has joined #commonlisp
Noisytoot has quit [Remote host closed the connection]
alfiee has quit [Ping timeout: 272 seconds]
johnjaye has quit [Ping timeout: 244 seconds]
johnjaye has joined #commonlisp
spdegabrielle has quit [Quit: Connection closed for inactivity]
Noisytoot has joined #commonlisp
Noisytoot has quit [Remote host closed the connection]
Noisytoot has joined #commonlisp
notzmv has quit [Read error: Connection reset by peer]
rkazak has joined #commonlisp
seanw has joined #commonlisp
Noisytoot has quit [Excess Flood]
rkazak has quit [Ping timeout: 276 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 244 seconds]
Noisytoot has joined #commonlisp
pfd has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
pfd has quit [Client Quit]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
pve has quit [Quit: leaving]
akoana has quit [Quit: leaving]
alfiee has joined #commonlisp
Inline has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
rkazak has quit [Ping timeout: 244 seconds]
triffid has quit [Quit: triffid]
triffid has joined #commonlisp
amb007 has joined #commonlisp
alternateved has quit [Remote host closed the connection]
jonatack has quit [Ping timeout: 265 seconds]
shka has quit [Quit: Konversation terminated!]
amb007 has quit [Ping timeout: 244 seconds]
rkazak has joined #commonlisp
Inline has quit [Ping timeout: 246 seconds]
olivial has quit [Ping timeout: 276 seconds]
rkazak has quit [Ping timeout: 244 seconds]
jonatack has joined #commonlisp
olivial has joined #commonlisp
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 276 seconds]
Inline has joined #commonlisp
jonatack has quit [Read error: Connection reset by peer]
rkazak has joined #commonlisp
wobbol has quit [Read error: Connection reset by peer]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]