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/>
parjanya has joined #commonlisp
Lord_of_Life has joined #commonlisp
overclucker has quit [Ping timeout: 240 seconds]
overclucker has joined #commonlisp
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #commonlisp
yitzi has quit [Remote host closed the connection]
akoana has quit [Quit: leaving]
wonko-the-sane has quit [Quit: leaving]
waleee has quit [Ping timeout: 258 seconds]
yitzi has joined #commonlisp
akoana has joined #commonlisp
overclucker has quit [Ping timeout: 240 seconds]
overclucker has joined #commonlisp
gxt has quit [Ping timeout: 246 seconds]
gxt has joined #commonlisp
akoana has quit [Quit: leaving]
yitzi has quit [Remote host closed the connection]
avocadoist has quit [Ping timeout: 240 seconds]
b00p has joined #commonlisp
wonko-the-sane has joined #commonlisp
b00p has quit [Ping timeout: 252 seconds]
b00p has joined #commonlisp
Everything has quit [Quit: leaving]
Everything has joined #commonlisp
pieguy128 has quit [Quit: ZNC 1.8.2 - https://znc.in]
pieguy128 has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
abrantesasf has joined #commonlisp
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #commonlisp
dcb has quit [Read error: Connection reset by peer]
dcb has joined #commonlisp
b00p has quit [Quit: Leaving.]
dcb has quit [Quit: MSN Messenger 4.0.4]
pfdietz has quit [Quit: Client closed]
bilegeek has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Hibernating too long]
abrantesasf has quit [Remote host closed the connection]
magnetic has joined #commonlisp
spec has quit [Server closed connection]
spec has joined #commonlisp
Pixel_Outlaw has quit [Quit: Leaving]
magnetic has quit [Ping timeout: 240 seconds]
contrapunctus has quit [Ping timeout: 246 seconds]
contrapunctus has joined #commonlisp
bilegeek has quit [Quit: Leaving]
rgherdt has joined #commonlisp
markb1 has quit [Ping timeout: 240 seconds]
overclucker has quit [Ping timeout: 244 seconds]
overclucker has joined #commonlisp
markb1 has joined #commonlisp
habamax has joined #commonlisp
herjazz has joined #commonlisp
shka has joined #commonlisp
LW has joined #commonlisp
thuna` has joined #commonlisp
varjag has joined #commonlisp
LW has quit [Quit: WeeChat 3.8]
igemnace has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
mgl has joined #commonlisp
chomwitt has joined #commonlisp
rtypo has joined #commonlisp
rumraisin is now known as cayley5
dino_tutter has joined #commonlisp
bendersteed has joined #commonlisp
AetherWind has joined #commonlisp
msavoritias has joined #commonlisp
dnhester26 has joined #commonlisp
random-nick has joined #commonlisp
varjag has quit [Ping timeout: 240 seconds]
Inline has joined #commonlisp
Inline has quit [Remote host closed the connection]
Inline has joined #commonlisp
<_death> it seems usocket has been broken on sbcl for almost a month now as it uses inaddr-any as a host to connect to, no matter the host provided? what am I missing here? https://github.com/usocket/usocket/commit/7a24c571541b1d046976f0c175f1f2658dbdf0f7#diff-eced9d709105db28d76a7b3d2182cb547fc815a4c1e37faa249df9d699b116a3R454
<ixelp> support domain socket on SBCL/*nix · usocket/usocket@7a24c57 · GitHub
thuna` has quit [Remote host closed the connection]
anticrisis has quit [Read error: Connection reset by peer]
varjag has joined #commonlisp
pfdietz has joined #commonlisp
chomwitt has quit [Ping timeout: 240 seconds]
chomwitt has joined #commonlisp
mgl has quit [Quit: Client closed]
mgl has joined #commonlisp
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
rgherdt_ has joined #commonlisp
rgherdt has quit [Ping timeout: 240 seconds]
varjag has joined #commonlisp
pfdietz has quit [Quit: Client closed]
pfdietz has joined #commonlisp
rgherdt_ has quit [Ping timeout: 248 seconds]
Inline has quit [Quit: Leaving]
Inline has joined #commonlisp
Cymew has joined #commonlisp
rogersm has joined #commonlisp
yitzi has joined #commonlisp
<semz> _death: afaict that branch is only taken if host is nil or eq to the wildcard host.
rgherdt has joined #commonlisp
tyson2 has joined #commonlisp
<_death> where do you see "host is nil"
avocadoist has joined #commonlisp
<jcowan> _death: for local-domain (aka Unix-domain) sockets the host is always localhost, so the socket doesn't care what you specify
bendersteed has quit [Remote host closed the connection]
<_death> it's not about unix sockets.. it's just a bug that causes ordinary tcp socket-connect to fail, including everything that uses usocket for that, like drakma or dexador.. so I just reverted to 3006689e
<semz> _death: by reading the wrong line :S
<semz> it's local-host that'd have to be nil
bendersteed has joined #commonlisp
Josh_2 has quit [Ping timeout: 240 seconds]
herjazz has quit [Quit: leaving]
thollief has joined #commonlisp
yitzi has quit [Remote host closed the connection]
dnhester26 has quit [Ping timeout: 264 seconds]
contrapunctus has left #commonlisp [#commonlisp]
Inline has quit [Quit: Leaving]
Inline has joined #commonlisp
cstub has joined #commonlisp
habamax has quit [Remote host closed the connection]
jmdaemon has quit [Ping timeout: 264 seconds]
dinomug has joined #commonlisp
xmachina has quit [Quit: WeeChat 4.0.4]
zxcvz has joined #commonlisp
JoshYoshi has joined #commonlisp
<JoshYoshi> :trumpet:
<JoshYoshi> Hmm
JoshYoshi is now known as Josh_2
<Josh_2> :trumpet:
AetherWind has quit [Ping timeout: 240 seconds]
contrapunctus has joined #commonlisp
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
thollief has quit [Ping timeout: 258 seconds]
thuna` has joined #commonlisp
thollief has joined #commonlisp
waleee has joined #commonlisp
Josh_2 has quit [Quit: Gotta go fast!]
<beach> Is (DECLARE ((ARRAY FIXNUM) X)) valid syntax?
<beach> On the one hand, DECLARE takes a "declaration specifier" which is a list where the CAR is a "declaration identifier", and a "declaration identifier" is a symbol.
<beach> On the other hand, the dictionary entry for TYPE says that (typespec var*) is an abbreviation for (TYPE typespec var*) and as far as I can see, it doesn't restrict typespec to be a symbol.
<beach> Furthermore, SBCL accepts the example, which suggests that the SBCL maintainers considered the syntax valid.
<beach> A case for WSCL it seems.
<pfdietz> It is valid, IMO.
<beach> Because of the "on the other hand" argument?
<thuna`> It is convenient if valid but I would say that the more strict restriction applies so it's not valid
<beach> Oh, I guess I can ask people to run the example in the implementations at their disposal.
triffid has quit [Quit: triffid]
triffid has joined #commonlisp
<ixelp> CLHS: Issue TYPE-DECLARATION-ABBREVIATION Writeup
doulos05 has quit [Ping timeout: 264 seconds]
doulos05 has joined #commonlisp
<pfdietz> So, this was something that appeared in the final version, rather than in this draft of the standard?
<beach> semz: Thank you for pointing that out.
Josh_2 has joined #commonlisp
<pfdietz> Yes, ty.
<beach> Brucio-61: The s-expression-syntax library rejects this syntax. Does this fact reflect your choice of interpretation of the standard?
bendersteed has quit [Ping timeout: 252 seconds]
<Brucio-61> beach: i simply haven't thought about that case before. i can probably adjust the syntax description to allow the compound type specifier variant
<beach> I see. Well, we should think about it at least. I wonder what other Common Lisp implementations do.
<Brucio-61> i will probably have to perform some implicit conversion since the resulting node cannot use a compound type specifier as the declaration identifier (is that the term?)
<beach> Yes, declaration identifier.
dinomug has quit [Remote host closed the connection]
kevingal has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
<jcowan> I'd say that given a conflict between the main text and the glossary, the main text should normally win
<beach> There is also a conflict between two different sections of the main text.
<beach> But, given 3.3.3.1, I think the syntax is allowed.
<beach> ::clhs 3.3.3.1
<Colleen> Shorthand notation for type declarations http://www.lispworks.com/reference/HyperSpec/Body/03_cca.htm
<ixelp> CLHS: Section 3.3.3.1
<jcowan> Yes, that seems definitive
jjnkn has joined #commonlisp
vjalmr has joined #commonlisp
<gilberth> The trouble with that shorthand notation is that there is no way in ANSI-CL to tell whether a symbol names a type nor whether a symbol names a declaration. So you can't have macros that actually look at declarations. This may be troublesome when you want to implement a macro which binds variables serially, yet you want to use nested LETs. As you would need to pull out declarations applying to a specific symbol.
<gilberth> Consider e.g. that you want to implement DESTRUCTURING-BIND on your own. You would need to make it turn into just one LET. Can be done, but it may be awkward.
pfdietz has quit [Quit: Client closed]
triffid has quit [Remote host closed the connection]
cstub has quit [Quit: Leaving]
pfdietz has joined #commonlisp
AetherWind has joined #commonlisp
Cymew has quit [Ping timeout: 245 seconds]
pfdietz has quit [Quit: Client closed]
Lyrebird has joined #commonlisp
dino_tutter has quit [Ping timeout: 244 seconds]
igemnace has quit [Read error: Connection reset by peer]
xmachina has joined #commonlisp
dnhester26 has joined #commonlisp
Lyrebird has quit [Quit: Lost terminal]
bjork1intosh has quit [Quit: Leaving]
dnhester26 has quit [Ping timeout: 248 seconds]
igemnace has joined #commonlisp
bjorkintosh has joined #commonlisp
rainthree has joined #commonlisp
waleee has quit [Ping timeout: 240 seconds]
jmdaemon has joined #commonlisp
chomwitt has quit [Remote host closed the connection]
kevingal has quit [Ping timeout: 240 seconds]
dcb has joined #commonlisp
pfdietz has joined #commonlisp
cage has joined #commonlisp
<pfdietz> gilberth: I don't understand that objection.  You can always recognize declaration forms, since they are conses who car is the symbol declare.
<gilberth> When I see (declare (foo x)) is that a type declaration or a FOO declaration?
<gilberth> Suppose I want to lift all type declarations for 'x', do I need to lift that declaration, or don't I need to do that?
NotThatRPG has quit [Ping timeout: 244 seconds]
rgherdt has quit [Ping timeout: 255 seconds]
mgl has quit [Quit: Client closed]
amb007 has quit [Ping timeout: 240 seconds]
amb007 has joined #commonlisp
dnhester26 has joined #commonlisp
rgherdt has joined #commonlisp
rgherdt has quit [Remote host closed the connection]
rgherdt has joined #commonlisp
yitzi has joined #commonlisp
msavoritias has quit [Ping timeout: 244 seconds]
cstub has joined #commonlisp
msavoritias has joined #commonlisp
dcb has quit [Quit: MSN Messenger 4.0.4]
dcb has joined #commonlisp
zxcvz has quit [Quit: zxcvz]
tevo has quit [Read error: Connection reset by peer]
tevo has joined #commonlisp
overclucker has quit [Ping timeout: 255 seconds]
n1to has joined #commonlisp
n1to has quit [Remote host closed the connection]
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
Inline has quit [Remote host closed the connection]
<_death> but there's possibly a cltl2 way: (sb-cltl2:declaration-information 'declaration)
overclucker has joined #commonlisp
NotThatRPG has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
<gilberth> I was specifically speaking about ANSI-CL. I'm aware of that olde lexical environment access. And it's not SBCL-specific in any way. In practice I am fine with using implementation-specific means.
dino_tutter has joined #commonlisp
<gilberth> More severe IMHO is that neither EVAL nor COMPILE does take an environment argument. This makes it impossible to write a code walker.
amb007 has quit [Ping timeout: 264 seconds]
<gilberth> And even if you're not after a code walker, what good is CONSTANTP telling you that something is a constant, but you cannot get at the value? In a macro?
<_death> I agree
mathrick has quit [Ping timeout: 244 seconds]
jjnkn has quit [Quit: leaving]
amb007 has joined #commonlisp
waleee has joined #commonlisp
<_death> well, constantp is still useful in some (rare, unfortunately) cases, e.g., when generating reference documentation it can indicate that the symbol represents a constant :) or sometimes the symbol is also boundp, and you can get at the value then
<gilberth> Yes, but in a [compiler] macro you may want to get at the value.
<_death> right, that restriction makes compiler macros less useful than seems at first :/
<gilberth> This not being able to walk code however is a roadblock for my noffi project. Otherwise I could do my own type propagation / interference for foreign types. And possibly identify trivial cases in which stack-allocation suffices.
<gilberth> sb-alien has an advantage here as Python has specific knowledge about sb-alien. Both know each other pretty well.
mathrick has joined #commonlisp
amb007 has quit [Ping timeout: 264 seconds]
amb007 has joined #commonlisp
Inline has joined #commonlisp
<_death> I guess in practice one settles on having the necessary bits of implementation-specific code
amb007 has quit [Ping timeout: 264 seconds]
amb007 has joined #commonlisp
<gilberth> Yes, but in this case I would need to resort to non-exported functions for the most part. This different from e.g. figuring out how to make a weak hashtable.
<gilberth> Anyhow, what I'm after are missing pieces of the language. Things that cannot possibly be implemented as a library. And with language I mean the language itself, not missing bits and pieces to interact with the environment.
dnhester26 has quit [Remote host closed the connection]
<_death> I guess implementation-internal -> implementation-external path is well traveled (presentable interface, convincing the implementors, etc.) and in 2082 when they start discussing the next CL standard, the implementation-external interfaces will be criticized and reshaped into the 2094 CL
kevingal has joined #commonlisp
* jcowan would volunteer to edit it, except ....
<gilberth> Well, we have a few success-stories: relative package names^W^W^Wpackage local nicknames, that "R" number marker, Bordeaux threads, Gray Streams, the MOP. All things I consider de facto standard.
<_death> but they're not all CL-standard worthy :)
<gilberth> But EVAL taking an environment argument is too niche for that. Despite I have not written an article why that is important and why that is a road block when writing a code walker.
<gilberth> _death: Who says that? There are universally available and in wide-spread use. Not much different from the pretty printer or the LOOP macro.
<_death> gilberth: I say that :) just my opinion.. e.g., I think PLNs might have use cases but in general I avoid and dislike them, Gray Streams were already criticized for parroting the user API instead of being a useful extender API (cf. Franz's Simple Streams), Bordeaux Threads is currently redesigned (v2) though I've not kept up with the changes, it obviously misses big pieces like atomics and such.. the MOP also had some work done on it
<_death> since the book came out, but is the closest to worthy
thuna` has quit [Ping timeout: 244 seconds]
tyson2 has joined #commonlisp
attila_lendvai has joined #commonlisp
<_death> also, Bordeaux Threads is a particular library and not a specification with multiple implementations and PLN doesn't have a reference spec although multiple implementations exist
thuna` has joined #commonlisp
<gilberth> _death: Sure. But what was first? The LOOP macro or the spec of the LOOP macro.
contrapunctus has left #commonlisp [#commonlisp]
<_death> sure :) all these are useful and may become CL-worthy by then
<gilberth> We have plenty of time. I just wanted to point out that a lot of what we see in ANSI-CL once was a handy library. And as I understood it CLtL1 was more like writing about commonly seen features than anything else.
<gilberth> And IMHO this is a good way to go, instead of specifying things out of the blue sky that someone somewhen dreamt of. In that regard too CL is a practical language.
<_death> right.. it reminds me of some post I wrote a while ago, last 3 paragraphs are relevant https://old.reddit.com/r/Common_Lisp/comments/j7vd25/a_curated_standard_library_for_common_lisp/g89544v/
<ixelp> death comments on A curated "standard library" for Common Lisp?
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Inline has quit [Ping timeout: 260 seconds]
NotThatRPG has joined #commonlisp
rainthree has quit [Ping timeout: 240 seconds]
Inline has joined #commonlisp
kevingal has quit [Remote host closed the connection]
anticrisis has joined #commonlisp
kevingal has joined #commonlisp
<jcowan> _death: Well said
azimut has joined #commonlisp
yitzi has quit [Ping timeout: 252 seconds]
yitzi has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
AetherWind has quit [Remote host closed the connection]
msavoritias has quit [Remote host closed the connection]
kevingal has quit [Ping timeout: 260 seconds]
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lord_Nightmare has quit [Quit: ZNC - http://znc.in]
Lord_Nightmare has joined #commonlisp
NotThatRPG has joined #commonlisp
contrapunctus has joined #commonlisp
thuna` has quit [Ping timeout: 244 seconds]
LW has joined #commonlisp
xmachina1 has joined #commonlisp
xmachina has quit [Ping timeout: 248 seconds]
xmachina1 is now known as xmachina
attila_lendvai has quit [Ping timeout: 240 seconds]
thollief has quit [Remote host closed the connection]
amb007 has quit [Read error: Connection reset by peer]
cage has quit [Quit: rcirc on GNU Emacs 29.1]
amb007 has joined #commonlisp
thuna` has joined #commonlisp
gxt has quit [Remote host closed the connection]
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gxt has joined #commonlisp
NotThatRPG has joined #commonlisp
xmachina has quit [Ping timeout: 240 seconds]
tevo has quit [Read error: Connection reset by peer]
tevo has joined #commonlisp
xmachina has joined #commonlisp
Inline has quit [Quit: Leaving]
Inline has joined #commonlisp
jmdaemon has quit [Ping timeout: 245 seconds]
jmdaemon has joined #commonlisp
Inline has quit [Quit: Leaving]
pfdietz has quit [Ping timeout: 245 seconds]
xmachina has quit [Quit: WeeChat 4.0.4]
qhong has quit [Server closed connection]
qhong has joined #commonlisp
igemnace has quit [Remote host closed the connection]
xmachina has joined #commonlisp
francogrex has joined #commonlisp
Inline has joined #commonlisp
kevingal has joined #commonlisp
tyson2 has joined #commonlisp
francogrex has quit [Quit: Client closed]
francogrex has joined #commonlisp
shka has quit [Ping timeout: 245 seconds]
NotThatRPG has quit [Remote host closed the connection]
NotThatRPG has joined #commonlisp
NotThatRPG has quit [Client Quit]
francogrex has left #commonlisp [#commonlisp]
contrapunctus has left #commonlisp [#commonlisp]
tyson2 has quit [Remote host closed the connection]
cstub2 has joined #commonlisp
cstub has quit [Ping timeout: 240 seconds]
dtman34 has quit [Ping timeout: 248 seconds]
dtman34 has joined #commonlisp
pfdietz has joined #commonlisp
b00p has joined #commonlisp
rgherdt has quit [Quit: Leaving]
cstub2 has quit [Quit: Leaving]
overclucker has quit [Ping timeout: 240 seconds]
b00p has quit [Quit: Leaving.]
overclucker has joined #commonlisp
vjalmr has quit [Ping timeout: 240 seconds]
dinomug has joined #commonlisp
LW has quit [Quit: WeeChat 3.8]
dino_tutter has quit [Ping timeout: 255 seconds]
kevingal has quit [Remote host closed the connection]
random-nick has quit [Ping timeout: 240 seconds]
<Josh_2> Lets get all the folks who wrote a JSON library together to write 1 more JSON library :)
habamax has joined #commonlisp
<yitzi> Josh_2: I veto that.
<Josh_2> :joy:
<Josh_2> The easiest way to solve this problem is to make a new Common Lisp standard where the productivity of the language is butchered. That way people have to collaborate on large do-everything-or-die-trying libraries!
amb007 has quit [Ping timeout: 240 seconds]
amb007 has joined #commonlisp
b00p has joined #commonlisp
mrcom has quit [Read error: Connection reset by peer]
mrcom has joined #commonlisp
<pfdietz> Let's get all the people who used the wrong JSON library to stop their vile heresy.
Inline has quit [Ping timeout: 260 seconds]
rtypo has quit [Ping timeout: 244 seconds]
Lord_of_Life has quit [Ping timeout: 244 seconds]