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
random-nick has quit [Ping timeout: 246 seconds]
thmprover has quit [Ping timeout: 272 seconds]
kam1 has quit [Ping timeout: 264 seconds]
aartaka has quit [Ping timeout: 260 seconds]
surabax has quit [Quit: Leaving]
grfn has quit [Read error: Connection reset by peer]
grfn has joined #lisp
sgithens has quit [Read error: Connection reset by peer]
johs has quit [Read error: Connection reset by peer]
sgithens has joined #lisp
johs has joined #lisp
mbomba has joined #lisp
ebrasca has quit [Remote host closed the connection]
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
luni has joined #lisp
mbomba has quit [Quit: WeeChat 3.0]
mparlaktuna has quit [Ping timeout: 240 seconds]
Inline has joined #lisp
slyrus has quit [Read error: Connection reset by peer]
mparlaktuna has joined #lisp
kam1 has joined #lisp
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
gzj has joined #lisp
rgherdt has quit [Ping timeout: 264 seconds]
orivej has joined #lisp
charles` has joined #lisp
KREYREEN has joined #lisp
<KREYREEN> they said lisp is going to make a better developer~
<KREYREEN> https://i.imgur.com/9XKGx8Q.png they were right
NorthStar has joined #lisp
NorthStar has left #lisp [#lisp]
akoana has quit [Quit: leaving]
kaftejiman has quit [Remote host closed the connection]
varjag has quit [Ping timeout: 264 seconds]
FreeBirdLjj has joined #lisp
charles` has quit [Ping timeout: 240 seconds]
Aurora_v_kosmose has quit [Remote host closed the connection]
FreeBirdLjj has quit [Ping timeout: 264 seconds]
Aurora_v_kosmose has joined #lisp
miasuji has joined #lisp
EvW has quit [Ping timeout: 268 seconds]
kam1 has quit [Ping timeout: 260 seconds]
kam1 has joined #lisp
toorevitimirp has joined #lisp
kam1 has quit [Remote host closed the connection]
lowryder has quit [Ping timeout: 256 seconds]
lowryder has joined #lisp
miasuji has quit [Ping timeout: 260 seconds]
matryoshka has quit [Quit: ZNC 1.8.2 - https://znc.in]
matryoshka has joined #lisp
rumbler31 has joined #lisp
toorevitimirp has quit [Ping timeout: 264 seconds]
<solideogloria[m]> what lisp is that 👀
toorevitimirp has joined #lisp
toorevitimirp has quit [Ping timeout: 256 seconds]
toorevitimirp has joined #lisp
waleee-cl has quit [Quit: Connection closed for inactivity]
PuercoPop has quit [Remote host closed the connection]
imode has joined #lisp
Alfr has joined #lisp
<beach> Good morning everyone!
<luni> good morning beach
Alfr_ has quit [Ping timeout: 258 seconds]
luni has quit [Quit: Connection closed]
PuercoPop has joined #lisp
__jrjsmrtn__ has joined #lisp
_jrjsmrtn has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #lisp
charles` has joined #lisp
<solideogloria[m]> does anyone know why the p in `typep` in common lisp ?
<charles`> predicate
<beach> "predicate"
<solideogloria[m]> ah got it
<beach> The Paris transit authority is named RATP and I have a tendency to pronounce it RAT-P, and think of it as a predicate to determine whether some object is a rat.
<beach> Though I suppose "rat pee" would be interesting as well.
<charles`> how do normal people say it?
madage has quit [Ping timeout: 240 seconds]
<beach> err ahhh the peh
<beach> err ahh teh peh I mean.
<charles`> waste of syllables if you ask me.
<beach> Indeed.
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
bilegeek has joined #lisp
<beach> Languages seem to favor oscillations in brevity though. In French "Que est ce" (what is that) became "qu'est-ce" and then "qu'est-ce que c'est" (what is that, that it is) and now "qu'est-ce que c'est que ça" (what is that, that it is, that there)
<beach> Off topic, so I'll stop now.
<charles`> Basically macros
skapata has quit [Remote host closed the connection]
<beach> Oh, one more. In French, you can say "qu'en faire" (what to do with it), but in one TV commercial a woman said "Qu'est-ce que je dois faire, moi, de ça là maintenant" (what is it that I must do, me, with that there now).
karstensrage has joined #lisp
charles` has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 256 seconds]
toorevitimirp has quit [Ping timeout: 256 seconds]
orivej has joined #lisp
hnOsmium0001 is now known as hnOsmium0002
hnOsmium0002 is now known as hnOsmium0001
saganman has joined #lisp
vaporatorius__ has joined #lisp
vaporatorius has quit [Ping timeout: 264 seconds]
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
<contrapunctus> « The Paris transit authority is named RATP » 😂
madage has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
PuercoPop has quit [Remote host closed the connection]
aartaka has joined #lisp
quazimod1 has joined #lisp
quazimodo has quit [Ping timeout: 265 seconds]
aeth_ has quit [Ping timeout: 240 seconds]
aeth has joined #lisp
luckless_ has quit [Ping timeout: 240 seconds]
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
aartaka_d has joined #lisp
aartaka has quit [Ping timeout: 260 seconds]
luckless_ has joined #lisp
narimiran has joined #lisp
UM-Li has quit [Quit: Konversation terminated!]
steve88888888 has quit [Ping timeout: 245 seconds]
luckless_ has quit [Ping timeout: 240 seconds]
luckless_ has joined #lisp
orivej has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
keizerrijk[m] has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
wildlander has joined #lisp
luckless_ has quit [Ping timeout: 240 seconds]
luckless_ has joined #lisp
gutter has quit [Remote host closed the connection]
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
gutter has joined #lisp
birdwing has joined #lisp
gaqwas has quit [Remote host closed the connection]
andreyorst has joined #lisp
bilegeek has quit [Quit: Leaving]
villanella has joined #lisp
<fiddlerwoaroof> So, is using LOAD-TIME-VALUE as a cache a good idea?
galex-713 has quit [Ping timeout: 260 seconds]
<fiddlerwoaroof> I have a function that makes an HTTP request to one of several slow-changing endpoints, and I'm thinking of using L-T-V to create a hash-table and then storing the result of the http request in the hashtable.
<fiddlerwoaroof> Aside from infinite memory growth, are there any downsides with this?
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
galex-713 has joined #lisp
ebrasca has joined #lisp
karlosz has quit [Quit: karlosz]
rippa has joined #lisp
vaporatorius__ has quit [Quit: Leaving]
vaporatorius has joined #lisp
vaporatorius has joined #lisp
pve has joined #lisp
ex_nihilo has joined #lisp
hendursa1 has joined #lisp
hendursaga has quit [Ping timeout: 240 seconds]
hendursa1 has quit [Remote host closed the connection]
hendursa1 has joined #lisp
saganman has quit [Ping timeout: 260 seconds]
flazh has quit [Ping timeout: 272 seconds]
rgherdt has joined #lisp
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
gaqwas has joined #lisp
gaqwas has joined #lisp
heisig has joined #lisp
flazh has joined #lisp
liberliver has joined #lisp
gzj has quit [Ping timeout: 256 seconds]
varjag has joined #lisp
cosimone has joined #lisp
gzj has joined #lisp
<solideogloria[m]> is there any libXft library in common lisp ?
<solideogloria[m]> CLX doesn't have libXft
<solideogloria[m]> basically is there any way to use fontconfig fonts with CLX
iskander has quit [Ping timeout: 256 seconds]
<solideogloria[m]> or does CLX have some internal way of managing fonts ?
iskander has joined #lisp
cosimone has quit [Quit: cosimone]
<solideogloria[m]> oh nvm my ignorance
<beach> solideogloria[m]: You may want to ask these questions to the kind people in #clim who know a lot about stuff like that.
cosimone has joined #lisp
iskander- has joined #lisp
iskander has quit [Ping timeout: 272 seconds]
imode has quit [Quit: WeeChat 2.9]
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
iskander has joined #lisp
iskander- has quit [Ping timeout: 264 seconds]
vegansbane6 has quit [Quit: The Lounge - https://thelounge.chat]
iskander has quit [Ping timeout: 260 seconds]
iskander has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
scymtym__ is now known as scymtym
iskander- has joined #lisp
iskander has quit [Read error: Connection reset by peer]
Oladon has quit [Quit: Leaving.]
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
iskander has joined #lisp
iskander- has quit [Read error: Connection reset by peer]
hugh_marera has quit [Quit: Connection closed]
hugh_marera has joined #lisp
hugh_marera has left #lisp [#lisp]
luckless_ has quit [Ping timeout: 240 seconds]
luckless_ has joined #lisp
vegansbane6 has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
VincentVega has joined #lisp
Inline has quit [Quit: Leaving]
Inline has joined #lisp
surabax has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
kaftejiman has joined #lisp
<phoe> hmmmm
hiroaki_ has quit [Ping timeout: 265 seconds]
random-nick has joined #lisp
saganman has joined #lisp
shka_ has joined #lisp
<VincentVega> Hi guys! symbolicate produces a symbol in the current package, but I need another package (e.g. (symbolicate 'alexandria:fact 'orial) gives an error), how can I do that?
<phoe> (let ((*package* (find-package ...))) (a:symbolicate ...))
<VincentVega> phoe: oh, wait, i think ensure-symbol is what i need
<VincentVega> phoe: tnx tho!
<phoe> ensure-symbol has slightly different semantics
<phoe> symbolicate concats the symbol name for you; ensure-symbol doesn't
<phoe> but, yeah, whatever works
<VincentVega> i just used them like (ensure-symbol (symbolicate ...)), but yep
hiroaki_ has joined #lisp
<phoe> uhhhh... that's likely not what you want
<phoe> SYMBOLICATE might end up interning one symbol, ENSURE-SYMBOL - another one
<phoe> two symbols in total
<VincentVega> hmm true
<VincentVega> guess will go with your code then
<phoe> a:symbolicate has no means of specifying the package because of its &rest lambda list
gzj has quit [Remote host closed the connection]
<phoe> hence you need to explicitly rebind *package*
gzj has joined #lisp
<VincentVega> gotcha
villanella has quit [Remote host closed the connection]
Inline has quit [Quit: Leaving]
EvW has joined #lisp
gzj has quit [Read error: Connection reset by peer]
gzj has joined #lisp
Bike has joined #lisp
gzj has quit [Ping timeout: 240 seconds]
hiroaki_ has quit [Ping timeout: 264 seconds]
luckless_ has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 265 seconds]
Inline has joined #lisp
skapata has joined #lisp
hiroaki_ has joined #lisp
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #lisp
luckless_ has joined #lisp
FreeBirdLjj has joined #lisp
miracle_fox has joined #lisp
FreeBirdLjj has quit [Ping timeout: 260 seconds]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
troydm has joined #lisp
Inline has quit [Quit: Leaving]
KREYREEN has quit [Remote host closed the connection]
KREYREEN has joined #lisp
rogersm has joined #lisp
madage has quit [Ping timeout: 240 seconds]
madage has joined #lisp
gxt has quit [Ping timeout: 240 seconds]
hendursaga has quit [Remote host closed the connection]
cantstanya has quit [Remote host closed the connection]
hendursaga has joined #lisp
gxt has joined #lisp
madage has quit [Remote host closed the connection]
cantstanya has joined #lisp
Inline has joined #lisp
Inline has quit [Remote host closed the connection]
madage has joined #lisp
Inline has joined #lisp
Inline is now known as Guest5430
Guest5430 is now known as Inline
Inline has quit [Quit: Leaving]
lowryder has quit [Ping timeout: 240 seconds]
Inline has joined #lisp
lowryder has joined #lisp
luni has joined #lisp
EvW has quit [Ping timeout: 260 seconds]
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
heisig has quit [Quit: Leaving]
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
jmercouris has left #lisp ["Exit."]
supawat has joined #lisp
supawat has quit [Remote host closed the connection]
miyuki1534 has joined #lisp
gko_ has joined #lisp
miyuki1534 has quit [Quit: ERC (IRC client for Emacs 27.1)]
hiroaki_ has quit [Read error: Connection timed out]
wildlander has quit [Quit: Konversation terminated!]
hiroaki_ has joined #lisp
miyuki1534 has joined #lisp
miyuki1534 has quit [Remote host closed the connection]
amb007 has quit [Read error: Connection reset by peer]
Inline is now known as Could_You_Please
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
miyuki1534 has joined #lisp
miyuki1534 has quit [Remote host closed the connection]
orivej has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
dbotton has joined #lisp
amb007 has joined #lisp
entel is now known as to0n
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
Could_You_Please has quit [Quit: Leaving]
rogersm has quit []
C-16 has joined #lisp
C-16 has quit [Client Quit]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
waleee-cl has joined #lisp
eden has joined #lisp
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
gko_ has quit [Ping timeout: 256 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
kaun_ has joined #lisp
eden has quit [Remote host closed the connection]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
gzj has joined #lisp
EvW has joined #lisp
kaun_ has left #lisp ["chalo"]
gzj has quit [Ping timeout: 260 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
charles` has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
to0n is now known as entel
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
Aurora_v_kosmose has quit [Remote host closed the connection]
miracle_fox has quit [Ping timeout: 265 seconds]
Aurora_v_kosmose has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
lotuseater has quit [Remote host closed the connection]
lotuseater has joined #lisp
caseyw has joined #lisp
aartaka_d has quit [Read error: Connection reset by peer]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
VincentVega has quit [Remote host closed the connection]
abhixec has joined #lisp
lotuseat` has joined #lisp
lotuseater has quit [Ping timeout: 272 seconds]
KREYREEN has quit [Remote host closed the connection]
charles` has quit [Ping timeout: 265 seconds]
KREYREEEN has joined #lisp
l1x has quit [Quit: Connection closed for inactivity]
dbotton has quit [Quit: This computer has gone to sleep]
karlosz has joined #lisp
liberliver has quit [Quit: liberliver]
luckless_ has quit [Ping timeout: 240 seconds]
Jeanne-Kamikaze has joined #lisp
luckless_ has joined #lisp
miracle_fox has joined #lisp
EvW has quit [Ping timeout: 258 seconds]
varjag has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
luckless_ has quit [Ping timeout: 240 seconds]
Inline has joined #lisp
rogersm has joined #lisp
luckless_ has joined #lisp
mparlaktuna has quit [Remote host closed the connection]
jibanes has quit [Ping timeout: 240 seconds]
miracle_fox has quit []
miracle_fox has joined #lisp
jibanes has joined #lisp
jibanes has quit [Ping timeout: 264 seconds]
rogersm has quit [Quit: Leaving...]
cosimone has quit [Quit: cosimone]
jibanes has joined #lisp
miasuji has joined #lisp
Lord_of_Life has quit [Read error: Connection reset by peer]
Lord_of_Life has joined #lisp
vutral has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 246 seconds]
Lord_of_Life_ is now known as Lord_of_Life
Inline has quit [Quit: Leaving]
Inline has joined #lisp
EvW has joined #lisp
akoana has joined #lisp
saganman has quit [Quit: WeeChat 1.6]
dbotton has joined #lisp
aeth_ has joined #lisp
aeth has quit [Ping timeout: 272 seconds]
bisickcor has joined #lisp
aeth_ is now known as aeth
cosimone has joined #lisp
slyrus has joined #lisp
iekfkk has quit [Ping timeout: 272 seconds]
yitzi has joined #lisp
thmprover has joined #lisp
Lord_of_Life has quit [Ping timeout: 256 seconds]
Lord_of_Life has joined #lisp
dbotton has quit [Quit: Leaving]
Oladon has joined #lisp
sm2n has joined #lisp
zulu-inuoe has joined #lisp
rumbler31 has quit [Remote host closed the connection]
sm2n_ has quit [Ping timeout: 256 seconds]
rumbler31 has joined #lisp
varjag has joined #lisp
Inline has quit [Quit: Leaving]
birdwing has quit [Ping timeout: 260 seconds]
EvW has quit [Ping timeout: 260 seconds]
aeth has quit [Ping timeout: 256 seconds]
uhrenmacher has joined #lisp
<uhrenmacher> Hella people!"
uhrenmacher has quit [Client Quit]
orivej has quit [Ping timeout: 260 seconds]
aeth has joined #lisp
cognemo has quit [Quit: cognemo]
miasuji has quit [Ping timeout: 260 seconds]
cognemo has joined #lisp
orivej has joined #lisp
<phoe> hey
sl4ck has joined #lisp
EvW has joined #lisp
Inline has joined #lisp
mrchampion has quit [Ping timeout: 256 seconds]
Inline has quit [Remote host closed the connection]
jjong has quit [Ping timeout: 256 seconds]
sl4ck has quit [Quit: Igloo IRC: https://iglooirc.com]
luckless_ has quit [Ping timeout: 240 seconds]
rogersm has joined #lisp
galex-713 has quit [Ping timeout: 268 seconds]
scymtym_ has joined #lisp
rogersm has quit []
scymtym has quit [Ping timeout: 264 seconds]
galex-713 has joined #lisp
Inline has joined #lisp
Inline has quit [Client Quit]
Inline has joined #lisp
Inline_ has joined #lisp
Inline is now known as Guest65117
Inline_ is now known as Inline
Inline has quit [Client Quit]
amerigo has joined #lisp
Guest65117 has quit [Quit: Leaving]
luckless_ has joined #lisp
Inline has joined #lisp
jw4 has quit [Read error: Connection reset by peer]
jw4 has joined #lisp
mrchampion has joined #lisp
hnOsmium0001 has joined #lisp
gxt has quit [Quit: WeeChat 2.9]
luckless_ has quit [Remote host closed the connection]
luckless_ has joined #lisp
narimiran has quit [Ping timeout: 260 seconds]
gxt has joined #lisp
gxt has quit [Client Quit]
aeth has quit [Ping timeout: 264 seconds]
aeth has joined #lisp
varjag has quit [Ping timeout: 265 seconds]
antonv has joined #lisp
vutral has quit [Quit: Connection closed for inactivity]
gxt has joined #lisp
<antonv> in a CL wrapper for a C library, how it's better to name constants corresponding to C constants, upcase or lowcased?
<phoe> antonv: kebab-case
<antonv> I mean what is frendlier for a library user
<phoe> if a C constant is FOO_BAR_BAZ then the corresponding CL constant would be +foo-bar-baz+
<phoe> which gets upcased by the reader into +FOO-BAR-BAZ+ anyway
<antonv> not any way, as you know
<phoe> yes, but I don't really think that |+foo-bar-baz+| is worth it just for the downcased variant
<antonv> sure
<antonv> why kebab-case is frendlier?
<jackdaniel> imo naming it exactly how the constant is named in C world (with the case preserved) is better, because it clearly shows that the variable is foreign (and that's how wrappers should be seen)
<phoe> antonv: more lispy - but then there's the argument that jackdaniel made
<antonv> jackdaniel: you mean literaly FOO_BAR_BAZ?
<jackdaniel> if someone wants to use such wrapper, they may come up with a more transparent interface
<antonv> in lisp?
<jackdaniel> antonv: yes, that's how *I* would approach the problem (if it is 1-to-1 mapping)
<antonv> even no +FOO_BAR_BAZ+ ?
<jackdaniel> however if you write a library which only uses the ffi lib, then you should use lisp names
<jackdaniel> yeah; that's my opinion on the matter
<jackdaniel> s/lisp names/lispy names/
<jackdaniel> i.e cl-charms (at least in principle) provides two interfaces: low-level and high-level, I think that the former preserves names verbatim from ncurses
<jackdaniel> but I didn't check right now, so I may be wrong
<jackdaniel> (that is - constants names)
charles` has joined #lisp
<jackdaniel> as a bonus point: it makes easier to lookup symbols in the librarie's source code
<antonv> I am thinking to exporort some of the constants defined by cl+ssl, https://github.com/cl-plus-ssl/cl-plus-ssl/blob/master/src/ffi.lisp#L227
_hxearth\` has joined #lisp
<jackdaniel> I think that you already ahve somewhat estabilished convention
<antonv> it's not universally followd in the soruce codd, and so far it's not exported
<jackdaniel> so I wouldn't change that (naming while a hard problem in general is a minor detail in many cases)
<jackdaniel> I've got to go -- if you are going to add +foo+ (pluses), I'd use kebab-case, if you want to preserve names verbatim, I'd skip ++
<jackdaniel> good night \o
<antonv> My concern is to make it less likely for library users to write code that works with classic reader, but fail in other cases
_hxearth\` has quit [Quit: PLease buy at http://amazonian2.000webhostapp.com]
<antonv> good night, thank you
<Alfr> antonv, lower case your names then. I think it's less likely that people write lisp all upcased.
yitzi has quit [Quit: yitzi]
<antonv> Interesting that the defpackage already mentions the same constants using lower case: https://github.com/cl-plus-ssl/cl-plus-ssl/blob/master/src/package.lisp
<phoe> these get upcased anyway
<phoe> I can say that because this code won't compile on any other readtable case setting
orivej has quit [Ping timeout: 240 seconds]
rumbler31 has quit [Remote host closed the connection]
<antonv> it does compile
rumbler31 has joined #lisp
<antonv> maybe just exports different symbols than the constants
<phoe> you're using :invert, right?
cosimone has quit [Quit: cosimone]
<phoe> in this case, hmmmmm, I stand corrected - it'll compile, but it'll export different symbols
<antonv> yes
<phoe> Which documentation type is used for conditions? TYPE, like for classes?
<phoe> hm, I guess, yes
<phoe> it's named a condition *type* after all
cosimone has joined #lisp
<antonv> Is that a valid code?
<antonv> (defconstant +SSL-OP-ALL+ #x80000BFF)
<antonv> (defconstant +ssl-op-all+ +SSL-OP-ALL+)
<antonv>
<antonv> in the classic reader mode the constant is defined second time by referring itself
<phoe> yes, but I wouldn't write anything like that, because, depending on the readtable setting, this defines either one or two constants
<phoe> if anything, I'd explicitly (defconstant |+SSL-OP-ALL+| ...) and (defconstant |+ssl-op-all+| ...) which is unambiguous case-wise and always defines two distinct constants
<antonv> I was thinking that for backward compatibility
shka_ has quit [Ping timeout: 260 seconds]
<antonv> ah, in this sense
<antonv> good point
<antonv> Slime completion always suggests lower case name, even when orignally in the source code it is upcased, so yes, if I leave them upcased people are more likely to write code that fails in a non-classic reader mode
<antonv> On the other hand the upcased ones really make it clear that they are C constant conterparts
<fiddlerwoaroof> How many people use a :preserve or :lower readtable?
<fiddlerwoaroof> I've always treated that as a "if it breaks, you get to keep both pieces" situation
<fiddlerwoaroof> If you want to use such a readtable, I'd use something like named-readtables to select a readtable on a file-by-file basis
<antonv> fiddlerwoaroof: what I'm am thinking about is the Allegro Modern Mode: https://franz.com/support/tech_corner/modern.mode.lhtml
GuerrillaMonkey has joined #lisp
<phoe> modern mode is a minefield e.g. when it comes to asdf:test-system
Jeanne-Kamikaze has quit [Ping timeout: 272 seconds]
<phoe> lots of those systems use (uiop:symbol-call "FOO" "BAR") to implement calls into the respective frameworks
<phoe> other pieces of code that call INTERN with literal string arguments also break this way.
<phoe> these could be patched to use (uiop:symbol-call (string '#:foo) (string '#:bar)) but that's both more verbose and very hard to fix everywhere
amerlyq has joined #lisp
aeth_ has joined #lisp
<antonv> Another way is (funcall (read-from-string "foo:bar"))
aeth has quit [Disconnected by services]
<phoe> yes
aeth_ is now known as aeth
<aeth> My message that apparently didn't send...
<aeth> If anyone wants to pad their résumé... Go through every system in Quicklisp and replace all instances of "FOO" with (symbol-name '#:foo) or sometimes #.(symbol-name '#:foo) and now everything will be modern-mode-compatible.
<aeth> READ-FROM-STRING almost certainly won't be optimized. STRING might be optimized. SYMBOL-NAME on a constant like that should certainly be optimized in my situation, though.
<phoe> it can't be naïvely optimized to a compile-time operation because package FOO may not exist at compile-time
<phoe> the compiler would need to special-case such situation
<aeth> No, but SBCL certainly optimizes (symbol-name '#:foo) because I tested it before replacing all of my #.(symbol-name '#:foo) with (symbol-name '#:foo)
<aeth> Unless it regressed.
<aeth> it's a very low hanging fruit
<phoe> oh, yes - that's all constant
<phoe> I mean, '#:foo is a literal, and symbol-name is a pure function
<aeth> If you're concerned about a loss in performance in some really slow implementations (like e.g. CLISP), then you could do #. though
<antonv> is CLISP slow?
<phoe> so this can 100% get compile-time-folded into just "FOO" or "foo" - depends on the readtable case when the literal symbol is read
<aeth> antonv: The slowest.
<aeth> phoe: right
<aeth> I might have accidentally left a few old-style string literals, but all of my code should use (symbol-name '#:foo) now, except in the rare cases where #.(symbol-name '#:foo) is required. As of a few years ago iirc.
<aeth> It's a lot easier to find than you might think because it's only really needed for doing clever things in macros with symbol names.
random-nick has quit [Quit: quit]
jeosol has quit [Remote host closed the connection]
Inline has quit [Quit: Leaving]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
scymtym_ is now known as scymtym
Oddity- has joined #lisp
GuerrillaMonkey has quit [Quit: Leaving]
Jeanne-Kamikaze has joined #lisp
Oddity has quit [Ping timeout: 258 seconds]
bisickcor has quit [Read error: Connection reset by peer]
bisickcor has joined #lisp
karlosz has quit [Quit: karlosz]
karlosz has joined #lisp
karlosz has quit [Remote host closed the connection]
karlosz has joined #lisp
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
contrapunctus has joined #lisp
ex_nihilo_ has joined #lisp
caseyw_ has joined #lisp
Oddity has joined #lisp
Oddity- has quit [Ping timeout: 260 seconds]
caseyw has quit [Ping timeout: 260 seconds]
waleee-cl has quit [Ping timeout: 260 seconds]
ex_nihilo has quit [Ping timeout: 260 seconds]
waleee-cl has joined #lisp
luni has quit [Quit: Connection closed]
skapata has quit [Ping timeout: 264 seconds]
pve has quit [Quit: leaving]
surabax has quit [Quit: Leaving]
perrier-jouet has quit [Ping timeout: 256 seconds]
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
EvW has quit [Ping timeout: 268 seconds]
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
contrapunctus has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
miracle_fox has quit []
miracle_fox has joined #lisp
contrapunctus has joined #lisp
todun has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
miracle_fox has quit [Client Quit]
gaqwas has quit [Ping timeout: 246 seconds]
perrier-jouet has joined #lisp
contrapunctus has joined #lisp
skapata has joined #lisp
edgar-rft has quit [Quit: Leaving]
ex_nihilo_ has quit [Quit: Leaving]
kaftejiman has quit [Remote host closed the connection]
abhixec has quit [Ping timeout: 256 seconds]
caseyw_ has quit [Quit: Leaving]
<Xach> the slowest?
EvW has joined #lisp
luckless_ has quit [Ping timeout: 240 seconds]
kaftejiman has joined #lisp
luckless_ has joined #lisp
<lonjil> Does anyone have opinions on the points made in this article? http://kazimirmajorinc.com/Documents/On-Pitmans-Special-forms-in-Lisp/index.html
kaftejiman_ has joined #lisp
<aeth> Xach: on any benchmarks I've seen (though most are very old at this point)... although, admittedly, I don't think any benchmark has tested every single CL implementation
<Xach> aeth: i would guess abcl would be slower overall, but that is guess and not measurement
<aeth> The caveat for CLISP performance would be *except with bignums.
perrier-jouet has quit [Ping timeout: 256 seconds]
gaqwas has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
<Xach> user-written code in clisp is a lot slower than using built-in functions or modules written in C
kaftejiman has quit [Ping timeout: 246 seconds]
<aeth> You might be right about ABCL being the slowest. https://cliki.net/Performance%20Benchmarks
<aeth> Very old benchmarks, though
<aeth> Pentium 4, Pentium 3...
<aeth> SBCL 0.8.13... At this point, you might as well just guess because it's going to be so out of date...