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/>
random-nick has quit [Ping timeout: 246 seconds]
dcb has quit [Ping timeout: 240 seconds]
dcb has joined #commonlisp
dcb has quit [Client Quit]
dcb has joined #commonlisp
random-nick has joined #commonlisp
brettgilio has quit [Quit: The Lounge - https://thelounge.chat]
HerlockSholmes has quit [Quit: BRB!]
HerlockSholmes has joined #commonlisp
brettgilio has joined #commonlisp
HerlockSholmes0 has joined #commonlisp
brettgilio9 has joined #commonlisp
lucasta has joined #commonlisp
HerlockSholmes has quit [Ping timeout: 240 seconds]
HerlockSholmes0 is now known as HerlockSholmes
brettgilio has quit [Ping timeout: 240 seconds]
brettgilio9 is now known as brettgilio
Catie has joined #commonlisp
occ has joined #commonlisp
brettgilio has quit [Quit: The Lounge - https://thelounge.chat]
HerlockSholmes has quit [Quit: BRB!]
HerlockSholmes0 has joined #commonlisp
brettgilio has joined #commonlisp
Catie- has quit [Ping timeout: 246 seconds]
HerlockSholmes0 has quit [Client Quit]
brettgilio has quit [Client Quit]
HerlockSholmes0 has joined #commonlisp
brettgilio has joined #commonlisp
random-nick has quit [Ping timeout: 240 seconds]
dinomug has joined #commonlisp
Catie` has joined #commonlisp
Catie has quit [Ping timeout: 252 seconds]
jmdaemon has quit [Ping timeout: 260 seconds]
jeffrey has joined #commonlisp
dcb has quit [Quit: MSN Messenger 4.0.0]
lucasta has quit [Remote host closed the connection]
brettgilio has quit [Quit: The Lounge - https://thelounge.chat]
HerlockSholmes0 has quit [Quit: BRB!]
HerlockSholmes0 has joined #commonlisp
brettgilio has joined #commonlisp
brettgilio has quit [Quit: The Lounge - https://thelounge.chat]
HerlockSholmes0 has quit [Quit: BRB!]
HerlockSholmes has joined #commonlisp
brettgilio has joined #commonlisp
<gendl__> speaking of `uiop:run-program` how can I run a program in Windows where there's a space in the executable pathname? I cannot get this to work: `(uiop:run-program "c:/\"program files\"/gendl1598/gdl/program/gdl-ccl.exe -e \"(ccl:quit)\")`
dinomug has quit [Remote host closed the connection]
dinomug has joined #commonlisp
dinomug has quit [Remote host closed the connection]
habamax has quit [Ping timeout: 260 seconds]
<NotThatRPG_away> gendl__: What happens when you try?
NotThatRPG_away is now known as NotThatRPG
<ixelp> Snippet | IRCCloud
<gendl__> yields:
<ixelp> Snippet | IRCCloud
<gendl__> i haven't tried with sbcl; could be a ccl problem
<gendl__> ... same result with SBCL
thmprover has quit [Quit: Goodnight, ladies, good night, sweet ladies, good night, good night]
<gendl__> it seems like uiop:run-program is stripping the `"` out from the command, or seeing that first internal quote as ending the command
<Alfr> gendl__, did you try the list form for command?
<gendl__> Alfr: yes, that was giving different errors, let me try again now...
<gendl__> Oh this just worked in SBCL:
<ixelp> Snippet | IRCCloud
<gendl__> ok let me try that in CCL now...
<gendl__> fails in CCL as follows:
<ixelp> Snippet | IRCCloud
ec has quit [Ping timeout: 240 seconds]
ronald has quit [Ping timeout: 246 seconds]
<gendl__> Ok! I just got it to work with CCL by using the list command form, and with `:force-shell t`
brettgilio has quit [Quit: The Lounge - https://thelounge.chat]
HerlockSholmes has quit [Quit: BRB!]
HerlockSholmes has joined #commonlisp
brettgilio has joined #commonlisp
ronald has joined #commonlisp
<gendl__> Alfr: thanks for the tip! with list form of command and `:force-shell t` it works in both CCL and SBCL. I'll be able to sleep now!
ec has joined #commonlisp
<NotThatRPG> gendl__: Just curious: what happens if the internal quote is a single quote? This looks like a bug to me, but ASDF is poorly tested on Windows.
<NotThatRPG> I'm gonna go to sleep soon, but if you think there's a bug, please file an issue on the ASDF gitlab (although goodness knows how I would debug this, w/o access to a windows box)
<gendl__> NotThatRPG: I'll check it tomorrow and I think we can get you access to a windows box if desired.
jeffrey has quit [Ping timeout: 240 seconds]
mason has joined #commonlisp
brettgilio has quit [Quit: The Lounge - https://thelounge.chat]
HerlockSholmes has quit [Quit: BRB!]
HerlockSholmes has joined #commonlisp
brettgilio has joined #commonlisp
<jcowan> NotThatRPG: You can rent a small Windows instance from AWS for less than USD 2 per day
<jcowan> (in the U.S., anyway)
<jcowan> see instances.vantage.sh
<aeth> you could also try running it on wine
brettgilio has quit [Quit: The Lounge - https://thelounge.chat]
HerlockSholmes has quit [Quit: BRB!]
HerlockSholmes has joined #commonlisp
brettgilio has joined #commonlisp
brettgilio has quit [Client Quit]
HerlockSholmes has quit [Client Quit]
HerlockSholmes has joined #commonlisp
brettgilio has joined #commonlisp
Krystof has quit [Ping timeout: 240 seconds]
occ has quit [Ping timeout: 246 seconds]
Catie has joined #commonlisp
Catie` has quit [Ping timeout: 246 seconds]
habamax has joined #commonlisp
dinomug has joined #commonlisp
dinomug has quit [Remote host closed the connection]
dinomug has joined #commonlisp
occ has joined #commonlisp
AkashaPeppermint has quit [Server closed connection]
AkashaPeppermint has joined #commonlisp
dinomug has quit [Remote host closed the connection]
semz has quit [Server closed connection]
semz has joined #commonlisp
dinomug has joined #commonlisp
dinomug has quit [Remote host closed the connection]
habamax has quit [Ping timeout: 252 seconds]
ronald has quit [Ping timeout: 246 seconds]
ronald has joined #commonlisp
habamax has joined #commonlisp
dinomug has joined #commonlisp
Oladon has joined #commonlisp
notzmv has joined #commonlisp
<Oladon> _death: But shouldn't the garbage collector be getting that automagically?
<hayley> Not immediately, though 50% is quite high.
ronald has quit [Ping timeout: 250 seconds]
dinomug has quit [Remote host closed the connection]
<Oladon> It's not really a matter of immediately... I only tried it because this program is running at ~270M baseline, and it really shouldn't be
dinomug has joined #commonlisp
<Oladon> Looks like (from a before and after of (room)) it cleaned out 1MM "instance objects" (CLOS instances?), 1.3MM cons, and 300k "other objects"
<Oladon> That seems like rather a lot.
ronald has joined #commonlisp
<beach> What is an MM?
<hayley> "million" perhaps.
<beach> And is 300k the number of objects, of the total size in something like bytes?
<beach> It looks like "Mega-Mega" to me.
<hayley> SBCL without anything loaded in has 108 thousand "instance objects", occupying 7 MB of space, for comparison.
<beach> And "instance object" is a strange name since every Common Lisp datum is an instance of a class.
<hayley> An "instance object" in the SBCL internals is any object which has a layout which isn't a special case in the implementation.
<beach> So a standard object by a different name?
<hayley> Not quite. A hash table, for example, is not a standard object, but is an instance object.
<beach> Or maybe since perhaps this terminology was established before CLOS, a standard object is a "special case" and some non-standard objects aren't special cases.
<hayley> Actually, now that you mention it, instance objects are instances of STRUCTURE-OBJECT; standard objects use the header-and-vector representation from Portable Common LOOPS.
<beach> That's kind of what I thought, no?
<hayley> There are many built-in classes which are structure classes in SBCL. I think I've confused my meta- levels here.
<beach> Completely understandable.
Catie` has joined #commonlisp
dinomug has quit [Remote host closed the connection]
ronald has quit [Ping timeout: 260 seconds]
igemnace has joined #commonlisp
Catie- has joined #commonlisp
<hayley> (Well, some instance objects are managed specially by the SBCL garbage collector: the "next" slots of nodes in lock-free lists can be untagged, and there's a weird protocol surrounding weak hash tables which I still don't entirely get.)
Catie has quit [Ping timeout: 240 seconds]
Catie` has quit [Ping timeout: 240 seconds]
Catie has joined #commonlisp
Catie` has joined #commonlisp
Catie- has quit [Ping timeout: 245 seconds]
Catie has quit [Ping timeout: 246 seconds]
dinomug has joined #commonlisp
CARbon8 has joined #commonlisp
rainthree has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
Oladon has quit [Quit: Leaving.]
Brucio-61 has quit [Read error: Connection reset by peer]
smarton has joined #commonlisp
Gleefre has quit [Ping timeout: 246 seconds]
CARbon8 has quit [Read error: Connection reset by peer]
shka has joined #commonlisp
dinomug has quit [Remote host closed the connection]
dinomug has joined #commonlisp
dinomug has quit [Remote host closed the connection]
dinomug has joined #commonlisp
Brucio-61 has joined #commonlisp
dinomug has quit [Remote host closed the connection]
dinomug has joined #commonlisp
Gleefre has joined #commonlisp
thollief has joined #commonlisp
dinomug has quit [Remote host closed the connection]
phadthai has quit [Ping timeout: 240 seconds]
euandreh has quit [Ping timeout: 240 seconds]
dinomug has joined #commonlisp
dinomug has quit [Remote host closed the connection]
ronald has joined #commonlisp
rgherdt has joined #commonlisp
euandreh has joined #commonlisp
phadthai has joined #commonlisp
Krystof has joined #commonlisp
msavoritias has joined #commonlisp
rainthree has quit [Ping timeout: 240 seconds]
LW has joined #commonlisp
LW has quit [Client Quit]
attila_lendvai_ has joined #commonlisp
rainthree has joined #commonlisp
LW has joined #commonlisp
LW has quit [Client Quit]
Gleefre has quit [Ping timeout: 246 seconds]
dtman34_ has joined #commonlisp
dtman34 has quit [Ping timeout: 246 seconds]
dino_tutter has joined #commonlisp
dtman34_ has quit [Ping timeout: 246 seconds]
dtman34 has joined #commonlisp
bjorkint0sh has joined #commonlisp
bjork1intosh has quit [Ping timeout: 246 seconds]
habamax has quit [Remote host closed the connection]
agm` has joined #commonlisp
<stylewarning> hayley: i wish i could define my own object layouts + associated class
* stylewarning is currently battling with commingling 5 GB sparse tries
Brucio-61 has quit [Ping timeout: 240 seconds]
Brucio-61 has joined #commonlisp
pve has joined #commonlisp
<skeemer> what is the advantage of having symbols wrt only strings?
<prokhor> although there are people far more proficient than me, I try to answer: A symbol has a function slot and a value slot thus you can have functions which are called the same as some variables...
attila_lendvai_ has quit [Read error: Connection reset by peer]
CARbon8 has joined #commonlisp
<Shinmera> Symbols retain identity, Strings do not.
<Shinmera> Symbols are specifically there to name stuff.
attila_lendvai_ has joined #commonlisp
<ecraven> skeemer: since you've asked all over the place, keep in mind that "symbols" in Common Lisp, Scheme, Clojure, and others are *different*
<AkashaPeppermin4> CL-USER> (eq "Hello World" "Hello world")
<AkashaPeppermin4> NIL
<AkashaPeppermin4> oh whoops
<Shinmera> ^ this is not guaranteed
<Shinmera> Well, if the example were as intended, anyway :)
CARbon8 has quit [Read error: Connection reset by peer]
<|3b|> symbols are "strings + other stuff", so the advantage is not having to do the "other stuff" yourself. if you don't want that stuff, it might be no advantage for you.
waleee has joined #commonlisp
<|3b|> a lot of it happens at the language level, so would be pretty inconvenient to duplicate with user code, but presumably if it weren't happening at the language level the replacements would be made more convenient instead, so it is harder to compare across languages
<skeemer> ecraven, how are they different in different lisps ?
bendersteed has joined #commonlisp
CARbon8 has joined #commonlisp
<|3b|> parts related to multiple namespaces wouldn't be in lisp-1, parts related to packages wouldn't be in lisps without packages, etc
<|3b|> newer lisps might not bother with symbol plists
habamax has joined #commonlisp
attila_lendvai_ is now known as attila_lendvai
woudshoo has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life_ is now known as Lord_of_Life
Gleefre has joined #commonlisp
CARbon8 has quit [Read error: Connection reset by peer]
agm` has quit [Read error: Connection reset by peer]
agm` has joined #commonlisp
agm` has left #commonlisp [#commonlisp]
occ has quit [Ping timeout: 240 seconds]
<beach> prokhor: That's not quite true. It is not specified where the function or a value associated with a particular name is stored.
rainthree has quit [Ping timeout: 252 seconds]
<beach> skeemer: What is the reason for your original question?
azimut has quit [Ping timeout: 240 seconds]
attila_lendvai has quit [Read error: Connection reset by peer]
attila_lendvai has joined #commonlisp
<skeemer> beach more to understand what's the purpose with symbols
<skeemer> and why they are not implemented in many other "popular" programming languages
Brucio-61 has quit [Ping timeout: 250 seconds]
<beach> skeemer: Because most languages are not homoiconic, so variables do not need to be manipulated as first-class objects in those languages.
<beach> skeemer: Those languages usually don't have a decent macro system, but Common Lisp macros need to be able to introduce and otherwise manipulate representations of variables, and Common Lisp symbols fill that need.
Gleefre has quit [Remote host closed the connection]
mgl has joined #commonlisp
<beach> skeemer: Does that make sense to you?
<skeemer> beach yes more or less yes
<skeemer> thanks a lot
<beach> Pleasure.
waleee has quit [Ping timeout: 246 seconds]
Brucio-61 has joined #commonlisp
bitblit1 has quit [Server closed connection]
bitblit1 has joined #commonlisp
attila_lendvai has quit [Ping timeout: 240 seconds]
random-nick has joined #commonlisp
waleee has joined #commonlisp
rainthree has joined #commonlisp
<Shinmera> skeemer: Even in other languages symbols are usually implemented in the compiler, but because the compiler isn't part of the runtime you don't get access to those objects.
<skeemer> Shinmera, ohh i didn't know thanks for the info!
<Shinmera> Then there's languages like Erlang and other derivatives like Elixir that also have symbols as first-class objects.
<jackdaniel> (intern "PENTAGRAM") brings good luck
<jackdaniel> because it is a lucky symbol :)
<skeemer> ahahah okok
dino_tutter has quit [Ping timeout: 246 seconds]
jeffrey has joined #commonlisp
Gleefre has joined #commonlisp
dino_tutter has joined #commonlisp
tyson2 has joined #commonlisp
ronald has quit [Ping timeout: 240 seconds]
Gleefre has quit [Remote host closed the connection]
ronald has joined #commonlisp
ronald has quit [Ping timeout: 240 seconds]
ronald has joined #commonlisp
bendersteed has quit [Ping timeout: 260 seconds]
dcb has joined #commonlisp
Brucio-61 has quit [Ping timeout: 246 seconds]
Brucio-61 has joined #commonlisp
mgl has quit [Quit: Client closed]
woudshoo has quit [Ping timeout: 240 seconds]
ronald has quit [Ping timeout: 246 seconds]
ronald has joined #commonlisp
jonatack has quit [Ping timeout: 246 seconds]
jonatack has joined #commonlisp
* easye is very confused by CL-PPCRE claiming to be Perl compatible regexps.
<hayley> What's the confusion (beyond PCRE semantics)?
<easye> Does CL-PPCRE:ALL-MATCHES-AS-STRINGS do the same thing as building a scanner "by hand"?
* easye prepares a paste to show more exactly my problem.
* easye should actually go through the motions of building the scanner by hand first, as CL-PPCRE:PARSE-STRING is decent introspection.
<easye> hayley: et, al.: gotta take a call, will prepare an example to share for further elucidation from yer collective wisdom. Thanks!
Gleefre has joined #commonlisp
mgl has joined #commonlisp
woudshoo has joined #commonlisp
<easye> Hmm. I can't get plaster.tymoon.eu to make a new paste logged in as easye.
* easye grymbles.
<yitzi> Is there a limit?
<easye> Dunno what's going on. Maybe my dumbness. Gonna try some other stuff for a bit, and get back to this.
<therepl> easye: works fine for me: https://plaster.tymoon.eu/view/3885#3885
<easye> therepl: are you authenticated as a give user, or solving the captcha?
<easye> s/give/given/
<therepl> but I'm not logged in to it
<therepl> not authenticated. yes solving the captcha
<easye> Ah. I thought I had logged out. I will be more vigorous in clearing state (i.e. use a different browser) and try again. Thanks for trying it.
cage has joined #commonlisp
waleee has quit [Ping timeout: 260 seconds]
CARbon8 has joined #commonlisp
habamax has quit [Remote host closed the connection]
Mandus has quit [Quit: WeeChat 3.8]
mgl has quit [Quit: Client closed]
waleee has joined #commonlisp
mgl has joined #commonlisp
Mandus has joined #commonlisp
waleee has quit [Ping timeout: 240 seconds]
woudshoo has quit [Ping timeout: 240 seconds]
woudshoo has joined #commonlisp
Brucio-61 has quit [Ping timeout: 245 seconds]
Brucio-61 has joined #commonlisp
woudshoo` has joined #commonlisp
mgl has quit [Quit: Client closed]
woudshoo has quit [Ping timeout: 240 seconds]
bendersteed has joined #commonlisp
tevo has quit [Ping timeout: 250 seconds]
<Shinmera> That's odd, should paste fine when logged in?
<Shinmera> There's no limits
woudshoo` has quit [Ping timeout: 240 seconds]
occ has joined #commonlisp
woudshoo has joined #commonlisp
woudshoo` has joined #commonlisp
woudshoo` has quit [Ping timeout: 245 seconds]
woudshoo has quit [Ping timeout: 240 seconds]
azimut has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 28.2]
euandreh has quit [Ping timeout: 246 seconds]
tyson2 has quit [Remote host closed the connection]
eddof13 has joined #commonlisp
Oladon has joined #commonlisp
woudshoo has joined #commonlisp
woudshoo` has joined #commonlisp
euandreh has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eddof13 has joined #commonlisp
<NotThatRPG> gendl__: I will see if RUN-PROGRAM has the same issue on non-Windows platforms...
<pjb> stylewarning: that said, there are also a lot of occasions where you may use strings instead of symbols. For example, in defpackage forms, people often use symbols (keywords or uninterned), but you may also use strings, since defpackage takes string designators.
<pjb> skeemer: that said, there are also a lot of occasions where you may use strings instead of symbols. For example, in defpackage forms, people often use symbols (keywords or uninterned), but you may also use strings, since defpackage takes string designators.
<pjb> (sorry stylewarning)
<AkashaPeppermin4> curious what the effect is of doing something like #"Hello world" or #."Hello world"
<Oladon> hayley: beach: MM = million, yeah. And those are objects, not size... I'm just not sure what I should go hunting for now, to figure out why it's hogging so much memory.
<beach> AkashaPeppermin4: What is #"?
dino_tutter has quit [Ping timeout: 246 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<yitzi> Akasha Peppermint: quote isnt a macro dispatch character by default.
<yitzi> Double quote that is.
<|3b|> strings are self-evaluating, so #."..." has no particular effect aside from wasting time and failing if *read-eval* is nil
<|3b|> (with *read-eval* non-nil, #."x" would read as a string containing the character x, the same as "x" would)
<pjb> Well, as long as there's not a non-standard reader macro on #\"
<|3b|> right, or on #\# #\. #\x etc
<|3b|> (well, maybe not #\x)
Gleefre has quit [Remote host closed the connection]
scymtym has joined #commonlisp
bilegeek has joined #commonlisp
tyson2 has joined #commonlisp
jeffrey has quit [Ping timeout: 240 seconds]
ronald has quit [Ping timeout: 240 seconds]
thollief has quit [Remote host closed the connection]
thollief has joined #commonlisp
Gleefre has joined #commonlisp
prokhor has quit [Remote host closed the connection]
jeffrey has joined #commonlisp
jeffrey has quit [Client Quit]
brettgilio has quit [Quit: The Lounge - https://thelounge.chat]
smarton has quit [Quit: The Lounge - https://thelounge.chat]
HerlockSholmes has quit [Quit: BRB!]
HerlockSholmes has joined #commonlisp
smarton has joined #commonlisp
prokhor has joined #commonlisp
brettgilio has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
brettgilio has quit [Client Quit]
HerlockSholmes has quit [Client Quit]
smarton has quit [Client Quit]
HerlockSholmes has joined #commonlisp
smarton has joined #commonlisp
brettgilio has joined #commonlisp
brettgilio has quit [Client Quit]
HerlockSholmes has quit [Client Quit]
smarton has quit [Client Quit]
HerlockSholmes has joined #commonlisp
smarton has joined #commonlisp
brettgilio has joined #commonlisp
brettgilio has quit [Quit: The Lounge - https://thelounge.chat]
smarton has quit [Quit: The Lounge - https://thelounge.chat]
HerlockSholmes has quit [Quit: BRB!]
HerlockSholmes has joined #commonlisp
smarton has joined #commonlisp
brettgilio has joined #commonlisp
eddof13 has joined #commonlisp
dino_tutter has joined #commonlisp
ronald has joined #commonlisp
Psybur has quit [Remote host closed the connection]
Psybur has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gendl__> NotThatRPG: Using single-quotes does not seem to help. I'm finding a few more issues as well e.g. problems with argument/value pairs e.g. --eval.
<NotThatRPG> Just checking -- what version of ASDF do you have?
cage has joined #commonlisp
<gendl__> 3.3.6
Oladon has quit [Quit: Leaving.]
Oladon has joined #commonlisp
tyson2 has joined #commonlisp
<gendl__> NotThatRPG: You still have a user account on the "hog" Windows host - do you happen to remember the fqdn and password for that? If not let me know, and I'll DM you.
<gendl__> We can install a gitlab-runner on there as well if you want to run asdf regression tests from the gitlab pipeline.
<gendl__> (although I've never run gitlab-runner on windows -- we use our own build agent written in CCL).
eddof13 has joined #commonlisp
CARbon8 has quit [Read error: Connection reset by peer]
spec has quit [Remote host closed the connection]
mgl has joined #commonlisp
tyson2` has joined #commonlisp
tyson2` has quit [Remote host closed the connection]
tyson2 has quit [Remote host closed the connection]
<NotThatRPG> gendl__: Thanks! Right now I'm on vacation, but will try to get some time to look into this.
asarch has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dino_tutter has quit [Ping timeout: 240 seconds]
CARbon8 has joined #commonlisp
Inline has joined #commonlisp
rainthree has quit [Ping timeout: 245 seconds]
bilegeek has quit [Quit: Leaving]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
waleee has joined #commonlisp
overclucker_ has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
overclucker has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 28.2]
overclucker has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
overclucker has joined #commonlisp
thollief has quit [Ping timeout: 240 seconds]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
woudshoo has quit [Ping timeout: 260 seconds]
woudshoo` has quit [Ping timeout: 260 seconds]
scymtym has quit [Ping timeout: 240 seconds]
Brucio-61 has quit [Ping timeout: 250 seconds]
duuqnd- has joined #commonlisp
dino_tutter has joined #commonlisp
msavoritias has quit [Remote host closed the connection]
duuqnd- has quit [Quit: ZNC 1.8.2 - https://znc.in]
woudshoo has joined #commonlisp
Brucio-61 has joined #commonlisp
bendersteed has quit [Quit: bye]
Duuqnd is now known as Guest1429
Guest1429 has quit [Killed (cadmium.libera.chat (Nickname regained by services))]
Guest1429 has joined #commonlisp
duuqnd has joined #commonlisp
CARbon8 has quit [Ping timeout: 264 seconds]
igemnace has quit [Remote host closed the connection]
mgl has quit [Quit: Client closed]
attila_lendvai has joined #commonlisp
shka has quit [Ping timeout: 240 seconds]
tyson2 has joined #commonlisp
Inline has quit [Ping timeout: 252 seconds]
NotThatRPG has joined #commonlisp
woudshoo has quit [Ping timeout: 250 seconds]
attila_lendvai_ has joined #commonlisp
attila_lendvai has quit [Ping timeout: 245 seconds]
<NotThatRPG> Here's something for UIOP I'd love opinions on: UIOP has `directory-pathname-p` which returns a true value if a pathname designator has no `name` component. Oddly, this means that a `pathname` with an empty `directory` component is considered a directory path name, as long as its `name` is NIL or `:unspecific`. I have been thinking that this should be changed so that it returns only if the directory component is non-empty, in addition to
<NotThatRPG> having a vacuous `name`.
asarch has quit [Quit: Leaving]
attila_lendvai_ has quit [Ping timeout: 245 seconds]
<NotThatRPG> I have to go off, but if you have thoughts about this, LMK when you have a chance. And I just posted about it to ASDF-devel, for anyone who gets that (or wants to look at the archive).
NotThatRPG is now known as NotThatRPG_away
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pjb> NotThatRPG_away: / is a directory! (make-pathname :directory '(:absolute) :name nil :type nil :version nil) #| --> #P"/" |#
<pjb> (pathname-directory (make-pathname :directory '(:absolute) :name nil :type nil :version nil)) #| --> (:absolute) |#
<pjb> (make-pathname :directory '(:relative) :name nil :type nil :version nil) #| --> #P"" |#
<pjb> (pathname-directory (make-pathname :directory '(:relative) :name nil :type nil :version nil)) #| --> (:relative) |#
<NotThatRPG_away> Right, but that has a non-vacuous DIRECTORY slot.
eddof13 has joined #commonlisp
<pjb> Yes.
<pjb> (make-pathname :directory nil :name nil :type nil :version nil) #| --> #P"" |#
<pjb> (pathname-directory (make-pathname :directory nil :name nil :type nil :version nil)) #| --> nil |#
<pjb> that said, (make-pathname :directory nil :name nil :type nil :version nil) probably behaves in all other cases just as (make-pathname :directory '(:relative) :name nil :type nil :version nil)
<pjb> (mapcar (lambda (p) (list (merge-pathnames p #P"/foo/bar.quux") (merge-pathnames #P"/foo/bar.quux" p))) (list (make-pathname :directory nil :name nil :type nil :version nil) (make-pathname :directory '(:relative) :name nil :type nil :version nil))) #| --> ((#P"/foo/bar.quux" #P"/foo/bar.quux") (#P"/foo/bar.quux" #P"/foo/bar.quux")) |#
<pjb> So I would say uiop behavior is ok, you can always use CL readers to inspect the path more precisely.
ns12 has quit [Ping timeout: 250 seconds]
<NotThatRPG_away> What bothers me is that this check means that `(ensure-directory-pathname "")` *also* returns true, which seems wrong to me.
<NotThatRPG_away> ensure seems to me to imply that the result is going to be ... well ... ensured, and this seems too sloppy for that
tevo has joined #commonlisp
<NotThatRPG_away> If `(ensure-directory-pathname "")` returned a pathname with `directory` = `'(:relative)`, that would be ok, but that would add yet another special case to logic that's already over-complicated.
<NotThatRPG_away> Having `directory-pathname-p` return `nil` for this case seems like the easiest fix for the problem.
<NotThatRPG_away> Anyway -- *really* going away now
dino_tutter has quit [Ping timeout: 260 seconds]
rgherdt has quit [Remote host closed the connection]
occ has quit [Ping timeout: 245 seconds]
scymtym has joined #commonlisp
Oladon has quit [Quit: Leaving.]
habamax has joined #commonlisp
woudshoo has joined #commonlisp
bitmapper has joined #commonlisp
woudshoo has quit [Ping timeout: 245 seconds]
pve has quit [Quit: leaving]