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/>
yaneko3 has quit [Quit: parting]
varjag has joined #commonlisp
yaneko3 has joined #commonlisp
UncleRRR has joined #commonlisp
varjag has quit [Ping timeout: 244 seconds]
yitzi has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
rkazak has quit [Ping timeout: 276 seconds]
beach` has joined #commonlisp
Guest88 has joined #commonlisp
Guest88 has quit [Client Quit]
beach has quit [Ping timeout: 244 seconds]
decweb has quit [Ping timeout: 276 seconds]
akoana has quit [Quit: leaving]
JuanDaugherty has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 252 seconds]
kg7ski has quit [Ping timeout: 252 seconds]
theruran has joined #commonlisp
kg7ski has joined #commonlisp
decweb has joined #commonlisp
JuanDaugherty is now known as ColinRobinson
beagles has quit [Quit: Leaving...]
entro has quit [Quit: Quit]
kds has joined #commonlisp
rkazak has joined #commonlisp
kds is now known as kds4244
kds4244 has quit [Remote host closed the connection]
kds has joined #commonlisp
kds has quit [Remote host closed the connection]
rkazak has quit [Ping timeout: 252 seconds]
jonatack has joined #commonlisp
entro has joined #commonlisp
jonatack has quit [Ping timeout: 246 seconds]
ColinRobinson has quit [Quit: ColinRobinson]
jonatack has joined #commonlisp
jonatack has quit [Ping timeout: 244 seconds]
rkazak has joined #commonlisp
ming__ has quit [Quit: Leaving]
ming__ has joined #commonlisp
ming__ has quit [Remote host closed the connection]
yewscion has joined #commonlisp
mulk has quit [Ping timeout: 246 seconds]
Devon has quit [Ping timeout: 252 seconds]
rkazak has quit [Ping timeout: 272 seconds]
kevingal has quit [Ping timeout: 264 seconds]
UncleRRR has quit [Ping timeout: 276 seconds]
mulk has joined #commonlisp
spdegabrielle has quit [Quit: Connection closed for inactivity]
Guest98 has joined #commonlisp
rkazak has joined #commonlisp
random-nick has quit [Ping timeout: 244 seconds]
triffid has joined #commonlisp
jonatack has joined #commonlisp
rkazak has quit [Ping timeout: 265 seconds]
jonatack has quit [Ping timeout: 252 seconds]
chum-cha has quit [Ping timeout: 276 seconds]
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
Guest98 has quit [Ping timeout: 240 seconds]
jonatack has joined #commonlisp
rkazak has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AetherWind is now known as awlygj
rkazak has quit [Ping timeout: 252 seconds]
djent has quit [Read error: Connection reset by peer]
djent has joined #commonlisp
rkazak has joined #commonlisp
Devon has joined #commonlisp
Devon has quit [Ping timeout: 252 seconds]
rkazak has quit [Ping timeout: 245 seconds]
puke has quit [Ping timeout: 246 seconds]
domovod has joined #commonlisp
m5zs7k has quit [Ping timeout: 276 seconds]
decweb has quit [Ping timeout: 252 seconds]
m5zs7k has joined #commonlisp
nil78 is now known as pale
surabax has quit [Quit: Leaving]
rkazak has joined #commonlisp
decweb has joined #commonlisp
djent has quit [Quit: WeeChat 4.4.2]
NotThatRPG has joined #commonlisp
rkazak has quit [Ping timeout: 276 seconds]
NotThatRPG has quit [Ping timeout: 244 seconds]
djent has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
Th30n` has joined #commonlisp
Th30n has quit [Ping timeout: 244 seconds]
rkazak has joined #commonlisp
decweb has quit [Ping timeout: 252 seconds]
King_julian has joined #commonlisp
rkazak has quit [Ping timeout: 265 seconds]
olivial has quit [Read error: Connection reset by peer]
olivial has joined #commonlisp
rkazak has joined #commonlisp
beach` is now known as beach
z3 has joined #commonlisp
Devon has joined #commonlisp
vardhan has joined #commonlisp
Devon has quit [Ping timeout: 248 seconds]
rkazak has quit [Ping timeout: 265 seconds]
vardhan has quit [Ping timeout: 248 seconds]
gorignak has quit [Ping timeout: 248 seconds]
gorignak has joined #commonlisp
domovod has quit [Quit: WeeChat 4.5.1]
doyougnu has quit [Quit: ZNC 1.8.2 - https://znc.in]
doyougnu has joined #commonlisp
kyoji_ has joined #commonlisp
kyoji has quit [Ping timeout: 252 seconds]
z3 has quit [Ping timeout: 265 seconds]
gorignak has quit [Quit: quit]
rkazak has joined #commonlisp
King_julian has quit [Ping timeout: 264 seconds]
z3 has joined #commonlisp
Pixel_Outlaw has quit [Quit: Leaving]
alternateved has joined #commonlisp
vardhan has joined #commonlisp
rkazak has quit [Ping timeout: 244 seconds]
pve has joined #commonlisp
vardhan has quit [Ping timeout: 252 seconds]
remexre has quit [Read error: Connection reset by peer]
remexre has joined #commonlisp
Inline_ has joined #commonlisp
mishoo has joined #commonlisp
Inline has quit [Ping timeout: 265 seconds]
z3 has quit [Ping timeout: 246 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
rtypo has joined #commonlisp
nil has quit [*.net *.split]
palter has quit [*.net *.split]
sgithens_ has quit [*.net *.split]
rkazak has joined #commonlisp
palter has joined #commonlisp
nil has joined #commonlisp
sgithens_ has joined #commonlisp
Guest8493 has joined #commonlisp
amb007 has quit [Ping timeout: 245 seconds]
manwithluck has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
manwithluck has joined #commonlisp
shka has joined #commonlisp
mgl has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
jonatack has quit [Ping timeout: 244 seconds]
Devon has joined #commonlisp
chkhd has joined #commonlisp
shawnw has quit [Remote host closed the connection]
shawnw has joined #commonlisp
Devon has quit [Ping timeout: 244 seconds]
zwr has quit [Read error: Connection reset by peer]
zwr has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
yottabyte has quit [Quit: Connection closed for inactivity]
edgar-rft` has joined #commonlisp
green_ has quit [Ping timeout: 260 seconds]
edgar-rft_ has quit [Ping timeout: 248 seconds]
Devon has joined #commonlisp
ingeniot has joined #commonlisp
rkazak has joined #commonlisp
alternateved has quit [Ping timeout: 246 seconds]
Devon has quit [Ping timeout: 248 seconds]
rkazak has quit [Ping timeout: 245 seconds]
mange has quit [Ping timeout: 276 seconds]
Krystof has quit [Ping timeout: 246 seconds]
alternateved has joined #commonlisp
triffid has quit [Ping timeout: 264 seconds]
ingeniot has quit [Ping timeout: 240 seconds]
rkazak has joined #commonlisp
shawnw has quit [Ping timeout: 265 seconds]
yaneko3 has quit [Quit: parting]
phantomics_ has joined #commonlisp
phantomics has quit [Ping timeout: 276 seconds]
rkazak has quit [Ping timeout: 248 seconds]
rkazak has joined #commonlisp
varjag has joined #commonlisp
rkazak has quit [Ping timeout: 264 seconds]
dtman34 has quit [Ping timeout: 244 seconds]
dtman34_ has joined #commonlisp
bjorkintosh has quit [Ping timeout: 260 seconds]
slyrus has joined #commonlisp
yaneko3 has joined #commonlisp
slyrus_ has quit [Ping timeout: 252 seconds]
ColinRobinson has joined #commonlisp
rkazak has joined #commonlisp
UncleRRR has joined #commonlisp
mmk2410 has quit [Quit: ZNC - https://znc.in]
mmk2410 has joined #commonlisp
Devon has joined #commonlisp
Devon has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 272 seconds]
<UncleRRR> I am on Debian/Gnu Linux, cl-ana fail to load with hdf5 related stuff. I have installed hdf5 related dep and gsl already, and think this is not suitable for asking in #clschool because this is not a language related problem but a packaged related one
<pranav> UncleRRR: This is addressed in the cl-ana wiki.
<UncleRRR> thanks, I didn't notice that before. Will check more carefully. Sorry for your time.
<ixelp> Installation · ghollisjr/cl-ana Wiki · GitHub
ingeniot has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 252 seconds]
mwnaylor has quit [Ping timeout: 248 seconds]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
notzmv has quit [Ping timeout: 252 seconds]
chum-cha` has joined #commonlisp
chum-cha` has quit [Changing host]
chum-cha` has joined #commonlisp
chum-cha` is now known as chum-cha
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 265 seconds]
White_Flame has quit [Ping timeout: 272 seconds]
decweb has joined #commonlisp
Devon has joined #commonlisp
josrr has joined #commonlisp
Devon has quit [Ping timeout: 246 seconds]
thuna` has joined #commonlisp
rkazak has joined #commonlisp
yaneko3 has quit [Quit: parting]
ColinRobinson is now known as JuanDaugherty
chum-cha has quit [Ping timeout: 265 seconds]
rkazak has quit [Ping timeout: 245 seconds]
JuanDaugherty has quit [Quit: JuanDaugherty]
Devon has joined #commonlisp
yaneko3 has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
notzmv has joined #commonlisp
White_Flame has joined #commonlisp
ec has quit [Ping timeout: 264 seconds]
rtypo has quit [Quit: WeeChat 4.5.1]
rtypo has joined #commonlisp
rkazak has joined #commonlisp
random-nick has joined #commonlisp
bjorkintosh has joined #commonlisp
bjorkintosh has joined #commonlisp
yaneko3 has quit [Quit: parting]
green_ has joined #commonlisp
m5zs7k has quit [Ping timeout: 265 seconds]
FragmentedCurve has joined #commonlisp
yaneko3 has joined #commonlisp
yaneko3 has quit [Client Quit]
yaneko3 has joined #commonlisp
yaneko3 has quit [Client Quit]
rkazak has quit [Ping timeout: 260 seconds]
decweb has quit [Ping timeout: 252 seconds]
dajole has joined #commonlisp
m5zs7k has joined #commonlisp
decweb has joined #commonlisp
FragmentedCurve has quit [Quit: Leaving]
yaneko3 has joined #commonlisp
yaneko3 is now known as yaneko
rkazak has joined #commonlisp
triffid has joined #commonlisp
bjorkintosh has quit [Ping timeout: 260 seconds]
bjorkintosh has joined #commonlisp
bjorkintosh has joined #commonlisp
bpanthi977 has joined #commonlisp
surabax has joined #commonlisp
ingeniot has quit [Ping timeout: 240 seconds]
rkazak has quit [Ping timeout: 246 seconds]
jonatack has joined #commonlisp
josrr has quit [Remote host closed the connection]
josrr has joined #commonlisp
chkhd has quit [Ping timeout: 252 seconds]
chkhd has joined #commonlisp
Guest98 has joined #commonlisp
Guest98 has quit [Client Quit]
UncleRRR has quit [Quit: Leaving]
rkazak has joined #commonlisp
chkhd has quit [Quit: ZZZzzz…]
cage has joined #commonlisp
cage has quit [Excess Flood]
cage has joined #commonlisp
yottabyte has joined #commonlisp
<yottabyte> is it better to do (map 'vector #'(lambda (it) (+ it 10)) '(1 2 3)) or (map 'vector (lambda (it) (+ it 10)) '(1 2 3))? the cookbook has it without the #'
<bike> yottabyte: (lambda ...) is a macro that expands to the #'. writing it yourself has been pretty pointless for like twenty years
<yottabyte> gotcha
rkazak has quit [Ping timeout: 248 seconds]
jonatack has quit [Ping timeout: 244 seconds]
zxcvz has joined #commonlisp
prokhor has quit [Remote host closed the connection]
zxcvz has quit [Client Quit]
rkazak has joined #commonlisp
green_ has quit [Ping timeout: 244 seconds]
rkazak has quit [Ping timeout: 265 seconds]
amb007 has quit [Ping timeout: 244 seconds]
amb007 has joined #commonlisp
NotThatRPG has joined #commonlisp
skin has joined #commonlisp
mgl has quit [Ping timeout: 244 seconds]
varjag has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.3)]
rkazak has joined #commonlisp
wacki has joined #commonlisp
<thuna`> This is almost certainly a terrible idea but is there a way (in SBCL) to ignore a package lock exlcusively for an FLET redefinition? SB-EXT:WITH-UNLOCKED-PACKAGES errors during compilation and its scope includes the body which is not ideal. I can work around the latter by locking at the start of body but that still leaves me with the compile issues
<thuna`> (By FLET redefinition I mean (FLET ((LOCKED:SYMBOL...))...))
citizeno has joined #commonlisp
<citizeno> thuna: try (locally (declare (sb-ext:disable-package-locks function-symbols-you-want-to-redefine))
<beach> thuna`: Is shadowing the symbol not an option?
<citizeno> thuna: oh never mind, that also includes the body
<thuna`> beach: I am trying to locally change the behavior of a locked package. Shadowing probably doesn't help with that, if I'm not mistaken
<thuna`> citizeno: Great, that worked! The scope including the body is a shame but since it's only for a single symbol it is very much something I can work with
<beach> I see. But how will defining a local function with FLET change the behavior of a package?
<bike> you can the use enable-package-locks declaration in the body.
<thuna`> Hm? When the package calls that function it would call my FLET function, would it not?
<bike> probably not.
<beach> I don't think so. The scope of FLET is lexical.
<thuna`> Hmm.... I guess in this case it must be calling the function directly in the body somewhere, since a very rough check ended up calling my function
<thuna`> That's a shame, though
citizeno has quit [Quit: Client closed]
<beach> It is definitely not a shame. With that behavior, you would never be sure what your functions are doing.
<thuna`> Fair enough. It's a shame that I couldn't get away with bad code ;P
<|3b|> a macro expansion in the body would call it, but not much else
<|3b|> (which is why flet etc respect locks)
<|3b|> normal functions might not even bother looking up the function through the name, depending on how it was compiled, and just call the original code directly
<thuna`> Yeah, I was thinking using elisp intuition
<jackdaniel> #'(lambda ...) vs (lambda ...) behaves differently with load forms; ccl, I think, can't serialize a literal function. my recollection is vague, but I had such problem once (or something similad)
<thuna`> Which doesn't map properly here
<bike> jackdaniel: it shouldn't have to serialize a literal function either way, though?
<jackdaniel> make-load-form* when I'm anywhere near computer I'll try to reproduce it.
brokkoli_origin has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 272 seconds]
Guest8493 has quit [Quit: WeeChat 4.5.1]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 246 seconds]
brokkoli_origin has joined #commonlisp
mmk2410 has quit [Quit: ZNC - https://znc.in]
mmk2410 has joined #commonlisp
skin has quit [Ping timeout: 248 seconds]
skin has joined #commonlisp
svm has joined #commonlisp
msv has quit [Ping timeout: 244 seconds]
msv has joined #commonlisp
svm has quit [Ping timeout: 260 seconds]
bpanthi978 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 252 seconds]
bpanthi978 is now known as bpanthi977
rkazak has joined #commonlisp
svm has joined #commonlisp
dajole has quit [Quit: Connection closed for inactivity]
msv has quit [Ping timeout: 260 seconds]
ColinRobinson has joined #commonlisp
Perflosopher0 has quit [Ping timeout: 276 seconds]
Perflosopher0 has joined #commonlisp
rkazak has quit [Ping timeout: 265 seconds]
X-Scale has quit [Ping timeout: 276 seconds]
ColinRobinson has quit [Quit: ColinRobinson]
svm has quit [Remote host closed the connection]
svm has joined #commonlisp
rtypo has quit [Quit: WeeChat 4.5.1]
rkazak has joined #commonlisp
amb007 has quit [Ping timeout: 248 seconds]
amb007 has joined #commonlisp
skin has quit [Quit: leaving]
skin has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 276 seconds]
Lord_of_Life_ is now known as Lord_of_Life
rkazak has quit [Ping timeout: 260 seconds]
<bigbookofbug> hi ! are there any cl libraries out there for getting the length of utf-8 encodes strings (like strings that contain emojis for example)
<bigbookofbug> working on a CL library for bluesky and am running into issues with the length function not providing the same length for emojis as JS does, and need those to be equal in order to properly parse rich text
<|3b|> which "length" do you want? bytes of utf8? unicode code points? unicode code points in some specific normalization? # of visual units of some sort?
<|3b|> looks like js string.length might be " length of the string in UTF-16 code units.", so none of the above :/
<|3b|> you could try using babel to parse the utf8 then encode it to utf16 and take LENGTH of the result
<|3b|> actually i think it might have a function to calculate it without actually storing the utf16
<bigbookofbug> ahhh i'll try that -- thanks !
<|3b|> (/ (babel:string-size-in-octets "😄" :encoding :utf-16) 2) maybe
<|3b|> yeah, matches examples from mozilla docs for string length at least
<|3b|> and if you have actual raw utf8 octets, babel:octets-to-string instead of the literal string
yewscion has quit [Ping timeout: 252 seconds]
rkazak has joined #commonlisp
<bigbookofbug> i think flexi-streams seems to be doing the tric
<bigbookofbug> using (flexi-streams:octet-length "👨‍👩‍👧‍👧" :external-format :utf-8) gives the same result as the bluesky API
rkazak has quit [Ping timeout: 252 seconds]
mishoo has quit [Ping timeout: 276 seconds]
jonatack has joined #commonlisp
rkazak has joined #commonlisp
jonatack has quit [Read error: Connection reset by peer]
jonatack has joined #commonlisp
mgl has joined #commonlisp
Th30n` has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 260 seconds]
X-Scale has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 264 seconds]
mgl has quit [Ping timeout: 252 seconds]
X-Scale has quit [Read error: Connection reset by peer]
Ruby2 has joined #commonlisp
varjag has joined #commonlisp
ldb has joined #commonlisp
Ruby has quit [Ping timeout: 265 seconds]
rkazak has joined #commonlisp
pve has quit [Quit: leaving]
svm is now known as msv
ldb is now known as ldbee
mwnaylor has joined #commonlisp
mgl has joined #commonlisp
surabax has quit [Quit: Leaving]
rkazak has quit [Ping timeout: 260 seconds]
jonatack has quit [Read error: Connection reset by peer]
surabax has joined #commonlisp
surabax has quit [Read error: Connection reset by peer]
surabax has joined #commonlisp
surabax has quit [Read error: Connection reset by peer]
triffid has quit [Remote host closed the connection]
mgl has quit [Ping timeout: 252 seconds]
yitzi has joined #commonlisp
wacki has quit [Quit: Leaving.]
surabax has joined #commonlisp
surabax has quit [Changing host]
surabax has joined #commonlisp
surabax has quit [Read error: Connection reset by peer]
ldbee has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]
surabax has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
yewscion has joined #commonlisp
triffid has joined #commonlisp
rkazak has joined #commonlisp
robin__ is now known as robin
cage has quit [Quit: rcirc on GNU Emacs 29.4]
Equill has quit [Ping timeout: 252 seconds]
mgl has joined #commonlisp
yitzi has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
surabax has quit [Read error: Connection reset by peer]
surabax has joined #commonlisp
prokhor has joined #commonlisp
josrr has quit [Remote host closed the connection]
rkazak has quit [Ping timeout: 248 seconds]
mgl has quit [Ping timeout: 246 seconds]
rkazak has joined #commonlisp
pillton has joined #commonlisp
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
Ruby has joined #commonlisp
Ruby2 has quit [Ping timeout: 260 seconds]
Ruby2 has joined #commonlisp
Ruby has quit [Ping timeout: 252 seconds]
Inline_ is now known as Inline
akoana has joined #commonlisp
mange has joined #commonlisp
Guest53 has joined #commonlisp
Guest53 has quit [Client Quit]
rkazak has quit [Ping timeout: 260 seconds]
varjag has quit [Remote host closed the connection]
varjag has joined #commonlisp
alternateved has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 276 seconds]
reb has quit [Read error: Connection reset by peer]
reb has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
zyni-moe has joined #commonlisp
svm has joined #commonlisp
zyni-moe has quit [Quit: died]
msv has quit [Ping timeout: 252 seconds]
rkazak has joined #commonlisp
skin has quit [Quit: Lost terminal]