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/>
tyson2 has quit [Remote host closed the connection]
NicknameJohn has joined #commonlisp
dinomug has joined #commonlisp
NicknameJohn has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
ec_ has quit [Remote host closed the connection]
ec_ has joined #commonlisp
ec has quit [Ping timeout: 246 seconds]
tyson2 has joined #commonlisp
ec_ is now known as ec
prokhor has joined #commonlisp
triffid has quit [Remote host closed the connection]
bird_ has quit [Server closed connection]
bird_ has joined #commonlisp
NotThatRPG has joined #commonlisp
jeosol has joined #commonlisp
blop_ has quit [Remote host closed the connection]
blop_ has joined #commonlisp
viata has quit [Ping timeout: 246 seconds]
<jeosol> good morning all!
<fosskers> Morning
anticomputer has quit [Remote host closed the connection]
wonko-the-sane has quit [Read error: Connection reset by peer]
wonko-the-sane has joined #commonlisp
anticomputer has joined #commonlisp
wonko-the-sane has quit [Remote host closed the connection]
wonko-the-sane has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Josh_2 has quit [Ping timeout: 245 seconds]
triffid has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
b3lm0nt has joined #commonlisp
waleee has quit [Ping timeout: 245 seconds]
avocadoist has quit [Ping timeout: 258 seconds]
NotThatRPG has joined #commonlisp
NotThatRPG has quit [Ping timeout: 258 seconds]
habamax has quit [Ping timeout: 244 seconds]
habamax has joined #commonlisp
dtman34 has quit [Ping timeout: 255 seconds]
dtman34 has joined #commonlisp
jon_atack has joined #commonlisp
jonatack has quit [Read error: Connection reset by peer]
fosskers has quit [Ping timeout: 240 seconds]
azimut has joined #commonlisp
dre has quit [Quit: Leaving]
rtypo has joined #commonlisp
ronald_ has quit [Read error: Connection reset by peer]
tibfulv has quit [Remote host closed the connection]
ronald_ has joined #commonlisp
tibfulv has joined #commonlisp
jeosol has quit [Quit: Client closed]
Pixel_Outlaw has quit [Quit: Leaving]
pve has joined #commonlisp
easye has joined #commonlisp
dcb has quit [Quit: MSN Messenger 4.0.4]
easye has quit [Ping timeout: 244 seconds]
easye has joined #commonlisp
Grauwolf has quit [Server closed connection]
Grauwolf has joined #commonlisp
NicknameJohn has joined #commonlisp
anticomputer has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
hayley has quit [Ping timeout: 255 seconds]
anticomputer has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
kopiyka has quit [Remote host closed the connection]
hayley has joined #commonlisp
kopiyka has joined #commonlisp
LW has joined #commonlisp
hayley has joined #commonlisp
hayley has quit [Changing host]
bike has quit [Server closed connection]
bike has joined #commonlisp
dinomug has quit [Remote host closed the connection]
thuna` has joined #commonlisp
attila_lendvai has joined #commonlisp
easye has quit [Remote host closed the connection]
shka has joined #commonlisp
Cymew has joined #commonlisp
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
rgherdt has joined #commonlisp
igemnace has joined #commonlisp
<thuna`> Is there a way to (hacks included) specialize on DEFTYPEs?
bendersteed has joined #commonlisp
<beach> In generic functions you mean?
<thuna`> Yes
<beach> There are libraries that allow you to specialize to types.
<thuna`> beach: Are there any you would recommend?
<beach> No, I haven't used any of them.
pranavats has joined #commonlisp
kurfen has joined #commonlisp
Inline has quit [Quit: Leaving]
<ixelp> GitHub - markcox80/specialization-store: A different type of generic function for common lisp.
<aeth> but I think there are several
<beach> I wonder how they decide which of two methods is more specific.
<beach> One that specializes to (say) (INTEGER 0 3) or one that specializes to (say) (INTEGER 1 4).
attila_lendvai has quit [Ping timeout: 255 seconds]
<thuna`> beach: It seems to be looking methods up in the order they were defined in
<beach> Ouch!
<thuna`> Actually nevermind
<thuna`> I messed up the definition which is why I got that result, it prefers (INTEGER 0 3) over (INTEGER 1 4) when possible
<beach> But why?
<thuna`> ...I'm not sure. It also prefers (INTEGER 0 3) over (INTEGER -1 2)
jello_pudding has quit [Ping timeout: 258 seconds]
even4void has quit [Ping timeout: 255 seconds]
lonjil has quit [Server closed connection]
lonjil has joined #commonlisp
<thuna`> But it prefers (INTEGER 1 2) over (INTEGER 0 3) and (INTEGER 0 2) so it's the shortest interval + some other metric
justache has quit [Server closed connection]
justache has joined #commonlisp
<aeth> shortest makes sense as a 'most specific'
<aeth> after that, idk
<thuna`> It also deletes(?) the method for (INTEGER 0 2) if I define (INTEGER 0 1) and (INTEGER 1 2) but only after I call the function
<thuna`> (Or not)
jello_pudding has joined #commonlisp
even4void has joined #commonlisp
Inline has joined #commonlisp
dnhester26 has joined #commonlisp
even4void has quit [Client Quit]
hayley_ has joined #commonlisp
hayley has quit [Ping timeout: 248 seconds]
hayley_ has quit [Changing host]
hayley_ has joined #commonlisp
hayley_ is now known as hayley
dnhester_ has joined #commonlisp
dnhester26 has quit [Read error: Connection reset by peer]
pestctrl has joined #commonlisp
easye has joined #commonlisp
even4void has joined #commonlisp
rgherdt_ has joined #commonlisp
pestctrl has quit [Ping timeout: 246 seconds]
rgherdt has quit [Ping timeout: 246 seconds]
anticomputer has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
habamax has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1)]
macdavid313 has joined #commonlisp
pestctrl has joined #commonlisp
pestctrl has quit [Remote host closed the connection]
mgl has joined #commonlisp
easye has quit [Ping timeout: 255 seconds]
thuna` has quit [Ping timeout: 240 seconds]
pestctrl has joined #commonlisp
<phoe> hello
<beach> Hello phoe!
<phoe> I have made my first professional Lisp merge request yesterday
<phoe> ;; if we, for a moment, treat CCL package local nicknames as a non-professional task
<phoe> hello beach
<beach> Are you saying you now have a job doing Common Lisp?
<phoe> yes, exactly this
<beach> Congratulations!
<beach> Is the name of your employer a secret?
Cymew has quit [Ping timeout: 246 seconds]
yosef` has joined #commonlisp
<Shinmera> phoe: is this a good time to remind you about the patches? :v
hayley has quit [Ping timeout: 258 seconds]
dino_tutter has joined #commonlisp
hayley has joined #commonlisp
habamax has joined #commonlisp
hayley has quit [Changing host]
hayley has joined #commonlisp
easye has joined #commonlisp
pestctrl has quit [Remote host closed the connection]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
igemnace has quit [Read error: Connection reset by peer]
pestctrl has joined #commonlisp
pestctrl has quit [Remote host closed the connection]
thuna` has joined #commonlisp
macdavid313 has quit [Ping timeout: 240 seconds]
varjag has joined #commonlisp
igemnace has joined #commonlisp
yosef` has quit [Quit: Client closed]
bendersteed has quit [Ping timeout: 245 seconds]
pestctrl has joined #commonlisp
random-nick has joined #commonlisp
macdavid313 has joined #commonlisp
ec has quit [Remote host closed the connection]
ec has joined #commonlisp
macdavid313 has quit [Ping timeout: 245 seconds]
azimut_ has joined #commonlisp
azimut has quit [Ping timeout: 246 seconds]
macdavid313 has joined #commonlisp
bendersteed has joined #commonlisp
macdavid313 has quit [Ping timeout: 245 seconds]
dnhester_ has quit [Ping timeout: 246 seconds]
alejandrozf has quit [Ping timeout: 255 seconds]
bendersteed has quit [Remote host closed the connection]
bendersteed has joined #commonlisp
macdavid313 has joined #commonlisp
macdavid313 has quit [Ping timeout: 240 seconds]
thuna` has quit [Remote host closed the connection]
jmdaemon has quit [Ping timeout: 245 seconds]
macdavid313 has joined #commonlisp
<phoe> Shinmera: I think so, yes; I'll put them into my personal backlog and look at them next week
<phoe> was it just verbose, or something else too?
<phoe> beach: it's Keepit
<beach> phoe: Never heard of them. I'll look it up. Thanks! Are you a distance worker?
rtypo has quit [Ping timeout: 255 seconds]
macdavid314 has joined #commonlisp
gty has quit [Ping timeout: 250 seconds]
macdavid314 is now known as gty
hayley_ has joined #commonlisp
hayley has quit [Ping timeout: 248 seconds]
viata has joined #commonlisp
hayley_ has quit [Changing host]
hayley_ has joined #commonlisp
hayley_ is now known as hayley
macdavid313 has quit [Ping timeout: 248 seconds]
rtypo has joined #commonlisp
<Shinmera> phoe: parachute too, iirc
<phoe> Shinmera: OK
<phoe> beach: there is an office in Cracow, I'm here at the moment
karlosz has joined #commonlisp
karlosz has quit [Ping timeout: 258 seconds]
yitzi has joined #commonlisp
thuna` has joined #commonlisp
<ixelp> Surely Nobody Would Write a Web Service in C++
<mfiano> "Of our backend code base, about 81% of our code is C++. Another 16% is Common Lisp. The remaining 3% is Java."
<beach> phoe: Oh, nice!
<beach> mfiano: Thanks!
<hayley> "the type of language you would write an operating system kernel in." I would write an operating system kernel in C or C++?
<hayley> "this rules out Python (not compiled), Ruby (not compiled)" Oh, fuck me.
<beach> According to the book by Tanenbaum and Bos, you can't write an operating system using a language with automatic memory management.
kenran has joined #commonlisp
<hayley> Well, congratulations...
sco1 has quit [Server closed connection]
sco1 has joined #commonlisp
<hayley> Maybe you can teach your CTO programming language theory, if he believes a "compiled language" is a thing.
avocadoist has joined #commonlisp
bendersteed has quit [Quit: bye]
<Shinmera> It is a thing, just mandate a compiler in the spec, like CL :)
<spec> phoe: o, congratz!
<hayley> Shinmera: I'm not going down there again!
bendersteed has joined #commonlisp
hayley_ has joined #commonlisp
hayley has quit [Ping timeout: 246 seconds]
hayley_ has quit [Changing host]
hayley_ has joined #commonlisp
hayley_ is now known as hayley
karlosz has joined #commonlisp
dino_tutter has quit [Ping timeout: 246 seconds]
hayley has quit [Ping timeout: 246 seconds]
hayley has joined #commonlisp
habamax has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1.50)]
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
aartaka has quit [Ping timeout: 255 seconds]
aartaka has joined #commonlisp
hayley_ has joined #commonlisp
hayley has quit [Ping timeout: 250 seconds]
dnhester26 has joined #commonlisp
<phoe> if I have a pathname like #p:"/foo/bar/baz", how do I go up two directories? (uiop:merge-pathnames* #p"../../" #p"/foo/bar/baz/") does not seem to do what I want
hayley_ has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
<phoe> in particular, #P"/foo/bar/baz/../../" is technically correct but I'd prefer #P"/foo/"
hayley has joined #commonlisp
mgl has quit [Quit: Client closed]
<phoe> (let ((pathname #p"/foo/bar/baz/")) (make-pathname :defaults pathname :directory (butlast (pathname-directory pathname) 2))) works but is pretty verbose
zxcvz has joined #commonlisp
<bjorkintosh> hayley, so only interpreters exist?
cage has joined #commonlisp
<phoe> bjorkintosh: no, "compiled" is a trait of an implementation, not of a language
<bjorkintosh> I see.
<phoe> e.g. CL can be interpreted and compiled, but which of these happens depends on the implementation and how it is configured
tyson2 has joined #commonlisp
<phoe> and, with probably only one tiny exception, you cannot observe the difference from inside the code
cage has quit [Remote host closed the connection]
dino_tutter has joined #commonlisp
Inline has quit [Quit: Leaving]
mathrick has quit [Ping timeout: 255 seconds]
bendersteed has quit [Quit: bye]
markb1 has quit [Server closed connection]
markb1 has joined #commonlisp
eddof13 has joined #commonlisp
yitzi has quit [Remote host closed the connection]
mgl has joined #commonlisp
Inline has joined #commonlisp
AetherWind has joined #commonlisp
mgl78 has joined #commonlisp
mgl has quit [Ping timeout: 245 seconds]
kenran has quit [Quit: ERC 5.6-git (IRC client for GNU Emacs 30.0.50)]
mgl78 has quit [Quit: Client closed]
splatt9990 has joined #commonlisp
aartaka has quit [Ping timeout: 248 seconds]
decreasedsales has quit [Quit: Konversation terminated!]
skin1 has joined #commonlisp
decreasedsales has joined #commonlisp
aartaka has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
prokhor has quit [Remote host closed the connection]
prokhor has joined #commonlisp
skin2 has joined #commonlisp
skin1 has quit [Ping timeout: 244 seconds]
tyson2 has quit [Remote host closed the connection]
prokhor has quit [Ping timeout: 258 seconds]
hayley has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
hayley has joined #commonlisp
mathrick has joined #commonlisp
<White_Flame> bjorkintosh: yes, since everything goes down to machine language, and CPUs are hardware machine language interpreters
tevo has quit [Read error: Connection reset by peer]
tevo has joined #commonlisp
<bjorkintosh> I figured that was the point being made but wanted to be sure.
splatt9990 has quit [Remote host closed the connection]
splatt9990 has joined #commonlisp
didi has joined #commonlisp
mgl has joined #commonlisp
dino_tutter has quit [Ping timeout: 240 seconds]
Pixel_Outlaw has joined #commonlisp
ldb has joined #commonlisp
dnhester26 has quit [Ping timeout: 248 seconds]
<ldb> hello hello
<beach> Hello ldb.
<Shinmera> Colleen: tell phoe look up pathname-utils parent
<Colleen> phoe: Function pathname-utils:parent https://shinmera.github.io/pathname-utils#FUNCTION%20PATHNAME-UTILS%3APARENT
<ixelp> Pathname Utils
<Shinmera> or if you want to preserve the file and only move directories, upwards
<ldb> I saw someone put (remove #\y (subseq "avoidspamyvolykerysyar@gymyx.net" 9)) for email on their project readme, very clever
skempf has quit [Server closed connection]
<phoe> Shinmera: thanks
<Shinmera> sure.
skempf has joined #commonlisp
<phoe> my first thought is that I wish I could call it as (parent pathname 2) to jump up two directories, but hey, it's decent
<phoe> might send a patch for that :V
waleee has joined #commonlisp
<Shinmera> add it onto the pile
<Shinmera> though again note it jumps up a *component*. If you want to jump directories, the operator is UPWARDS.
Oladon has joined #commonlisp
mgl has quit [Ping timeout: 245 seconds]
<phoe> oh, I see
<phoe> so if the pathname names a directory then they will be kind-of equivalent, but not if there's a file present
yitzi has joined #commonlisp
tyson2 has joined #commonlisp
masinter has quit [Remote host closed the connection]
jmdaemon has joined #commonlisp
cage has joined #commonlisp
igemnace has quit [Read error: Connection reset by peer]
jmdaemon has quit [Ping timeout: 245 seconds]
igemnace has joined #commonlisp
amb007 has quit [Ping timeout: 255 seconds]
amb007 has joined #commonlisp
skin2 has quit [Remote host closed the connection]
skin1 has joined #commonlisp
<jcowan> Every time you do a Google search, you are interacting with a web service written in C++. There are some Java web services in Google, but for less heavily used domains.
<Pixel_Outlaw> I'm cure a myriad of Rust hipsters are internally clawing at it. :P
<Pixel_Outlaw> If that's the case.
<Pixel_Outlaw> *sure
amb007 has quit [Ping timeout: 255 seconds]
amb007 has joined #commonlisp
qhong has quit [Server closed connection]
qhong has joined #commonlisp
Oladon has quit [Quit: Leaving.]
dino_tutter has joined #commonlisp
waleee has quit [Ping timeout: 248 seconds]
waleee has joined #commonlisp
yitzi has quit [Remote host closed the connection]
<ldb> I need some hint on where to find the code converts rational to float in SBCL
tyson2 has quit [Remote host closed the connection]
skin1 has quit [Ping timeout: 250 seconds]
amb007 has quit [Ping timeout: 258 seconds]
amb007 has joined #commonlisp
<edgar-rft> ldb: I think https://github.com/sbcl/sbcl/blob/master/src/code/float.lisp starting with line 439 "Convert a ratio to a float ..." is what you're looking for
tyson2 has joined #commonlisp
hayley has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
hayley has joined #commonlisp
<ldb> edgar-rft: ah thanks, I think that's what I want
skin1 has joined #commonlisp
<ldb> well I'll need to read some floating point books to see if I can find anything similar
<ldb> there is a long standing inaccuracy bug in CCL because they did naive rational to float conversion
skin1 has quit [Ping timeout: 240 seconds]
jmdaemon has joined #commonlisp
macdavid313 has joined #commonlisp
zxcvz has quit [Quit: zxcvz]
jmdaemon has quit [Ping timeout: 246 seconds]
igemnace has quit [Quit: WeeChat 4.0.4]
jaimelm_ has quit [Server closed connection]
jaimelm has joined #commonlisp
macdavid313 has quit [Ping timeout: 246 seconds]
<jcowan> What you want for ranges is that the contained range is more specific than the containing range, but if the ranges overlap or neither contains the other you are more or less screwed
jmdaemon has joined #commonlisp
dcb has joined #commonlisp
<jcowan> s/neither contains the other/are disjoint
<jcowan> Given a class FOO and two subclasses FOO1, FOO2 where there are methods on FOO[12] but not FOO, then invoking a gf on non-FOO1-non-FOO2 object will simply fail. Thta's the analogue of disjoint ranges; there is no analogue of overlapping ranges AFAICT.
jeosol has joined #commonlisp
<ldb> bijection?
<ldb> or onto
spec has quit [Server closed connection]
spec has joined #commonlisp
<aeth> services tend to be written in whatever language was trending at the time (e.g. Facebook and PHP?) even if nobody would do that today (whether or not they still can do it)
<aeth> That does mean that stuff from the 1980s that's still around might still be using Lisp, e.g. https://en.wikipedia.org/wiki/Cyc
<ldb> maybe they would use XML
skin1 has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
shka has quit [Ping timeout: 255 seconds]
<Brucio-61> phoe: (merge-pathnames (make-pathname :directory '(:relative :back :back)) "/foo/bar/baz/") o
<Brucio-61> => #P"/foo/"
skin1 has quit [Ping timeout: 244 seconds]
<phoe> Brucio-61: thanks
<phoe> ;; I need to learn about the difference between :BACK and :UP, I wasn't even aware of the former
skin1 has joined #commonlisp
<Shinmera> back can operate on pathnames, up operates on the file system
<Shinmera> which can be relevant in the presence of symlinks and other nastiness
<Shinmera> pathname-utils has some more functions to deal with either
splatt9990 has quit [Quit: ERC 5.6-git (IRC client for GNU Emacs 30.0.50)]
markb1 has quit [Remote host closed the connection]
ldb has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1)]
cage has quit [Quit: rcirc on GNU Emacs 29.1]
<copec> Anyone ever mess around with making some sort of filesystem via fuse in cl?
skin1 has quit [Ping timeout: 246 seconds]
skin1 has joined #commonlisp
hayley has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
hayley has joined #commonlisp
pve has quit [Quit: leaving]
NicknameJohn has quit [Ping timeout: 245 seconds]
rtypo has quit [Ping timeout: 255 seconds]
didi has left #commonlisp [O bella ciao bella ciao bella ciao, ciao, ciao.]
<thuna`> The FILTERED-FUNCTIONS' (https://github.com/pcostanza/filtered-functions) documentation is quite interesting http://www.p-cos.net/documents/filtered-dispatch.pdf
eddof13 has joined #commonlisp
eddof13 has quit [Client Quit]
kurfen has quit [Ping timeout: 245 seconds]
LW has quit [Quit: WeeChat 3.8]
eddof13 has joined #commonlisp
kurfen has joined #commonlisp
thuna` has quit [Remote host closed the connection]
azimut_ has quit [Ping timeout: 246 seconds]
anticomputer has quit [Remote host closed the connection]
son0p has quit [Quit: Bye]
anticomputer has joined #commonlisp
jon_atack has quit [Quit: WeeChat 3.8]
son0p has joined #commonlisp
random-nick has quit [Ping timeout: 250 seconds]
karlosz has quit [Quit: karlosz]
rgherdt_ has quit [Quit: Leaving]
Inline has quit [Ping timeout: 245 seconds]
habamax has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeosol has quit [Quit: Client closed]
jello_pudding has quit [Ping timeout: 246 seconds]
tyson2 has joined #commonlisp
skin1 has quit [Remote host closed the connection]
skin1 has joined #commonlisp
dino_tutter has quit [Ping timeout: 246 seconds]
splittist has quit [Server closed connection]
splittist has joined #commonlisp
skin1 has quit [Ping timeout: 246 seconds]
hayley_ has joined #commonlisp
hayley has quit [Ping timeout: 258 seconds]
jello_pudding has joined #commonlisp
ROYGBYTE has quit [Quit: WeeChat 3.4.1]
skin1 has joined #commonlisp
wonko-the-sane has quit [Ping timeout: 246 seconds]
skin1 has quit [Ping timeout: 246 seconds]
skin1 has joined #commonlisp
skin1 has quit [Ping timeout: 246 seconds]
wonko-the-sane has joined #commonlisp
Inline has joined #commonlisp
skin1 has joined #commonlisp
kaskal has quit [Server closed connection]
kaskal has joined #commonlisp
skin1 has quit [Ping timeout: 245 seconds]
Lord_of_Life has quit [Ping timeout: 258 seconds]
Lord_of_Life has joined #commonlisp
eddof13 has joined #commonlisp
Brucio-61 has quit [Remote host closed the connection]
hayley_ is now known as hayley
hayley has quit [Changing host]
hayley has joined #commonlisp