<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
<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]
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.]