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/>
jeffrey has quit [Ping timeout: 252 seconds]
admich1 has quit [Ping timeout: 276 seconds]
CrashTestDummy has joined #commonlisp
CrashTestDummy has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
spdegabrielle has quit [Quit: Connection closed for inactivity]
dra has quit [Quit: Leaving]
Ruby has quit [Quit: ZNC - https://znc.in]
Ruby has joined #commonlisp
<contrapunctus> bike: I tried (invoke-restart 'dex:retry-request) and it failed to find the restart...also, here's my function - https://paste.rs/4KncU.lisp
<ixelp> Source Code | 4KncU | Rocket Powered Pastebin
<bike> the restart might be associated with the condition? let me check dexador again...
<bike> maybe not, but... is the code that establishes the retry-request restart within dex:post?
<bike> because if so, it looks like you're trying to invoke a restart from your own restart, and by the time your own restart is firing you're out of the extent of dex:post, so any restarts it established are kaput
<bike> you might actually have to use restart-bind, which i've never seen anyone actually use before
chomwitt has quit [Ping timeout: 245 seconds]
<bike> let me try to make this clearer. you call SEND. send calls DEX:POST and that signals an error. in the debugger, or whatever, you select your WAIT-AND-RETRY restart. that transfers control to the restart body - so DEX:POST is effectively aborted, and thus you can't restart into it any more.
ftzm9 has joined #commonlisp
ftzm has quit [Ping timeout: 260 seconds]
ftzm9 is now known as ftzm
calx-87 has quit [Ping timeout: 248 seconds]
leeb_ has quit [Ping timeout: 240 seconds]
leeb has joined #commonlisp
<contrapunctus> bike: Ah, thanks for the explanation. I'll look into restart-bind...
random-nick has quit [Ping timeout: 252 seconds]
_whitelogger has joined #commonlisp
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #commonlisp
Lycurgus has quit [Quit: irc.renjuan.org (juan@acm.org)]
_whitelogger has joined #commonlisp
akoana has quit [Quit: leaving]
calx-87 has joined #commonlisp
admich1 has quit [Ping timeout: 265 seconds]
admich1 has joined #commonlisp
bpanthi978 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
bpanthi978 is now known as bpanthi977
admich1 has quit [Ping timeout: 248 seconds]
istewart has quit [Quit: Konversation terminated!]
rainthree has joined #commonlisp
rainthree has quit [Client Quit]
bpanthi977 has quit [Ping timeout: 260 seconds]
olivial has quit [Read error: Connection reset by peer]
olivial has joined #commonlisp
decweb has quit [Quit: Konversation terminated!]
calx-87 has quit [Ping timeout: 245 seconds]
edgar-rft` has joined #commonlisp
edgar-rft has quit [Ping timeout: 245 seconds]
admich1 has joined #commonlisp
dra has joined #commonlisp
dra has quit [Changing host]
dra has joined #commonlisp
pranav has quit [Remote host closed the connection]
calx-87 has joined #commonlisp
rgherdt has joined #commonlisp
ingeniot has joined #commonlisp
pranav has joined #commonlisp
ingeniot has quit [Ping timeout: 260 seconds]
pve has joined #commonlisp
King_julian has quit [Ping timeout: 240 seconds]
King_julian has joined #commonlisp
admich1 has quit [Ping timeout: 248 seconds]
Guest47 has joined #commonlisp
gnoo has quit [Quit: WeeChat 4.6.0]
gnoo has joined #commonlisp
admich1 has joined #commonlisp
attila_lendvai has joined #commonlisp
admich1 has quit [Ping timeout: 240 seconds]
chomwitt has joined #commonlisp
pabs3 has quit [Read error: Connection reset by peer]
pabs3 has joined #commonlisp
Guest47 has quit [Quit: Textual IRC Client: www.textualapp.com]
treflip has joined #commonlisp
pranav has quit [Quit: Gateway shutdown]
Posterdati has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
yazz has quit [Ping timeout: 252 seconds]
yazz has joined #commonlisp
calx-87 has quit [Ping timeout: 276 seconds]
yazz has quit [Ping timeout: 252 seconds]
treflip has quit [Ping timeout: 245 seconds]
calx-87 has joined #commonlisp
bpanthi977 has joined #commonlisp
Posterdati has joined #commonlisp
bpanthi977 has quit [Ping timeout: 276 seconds]
sammat has joined #commonlisp
pve has quit [Quit: leaving]
gnoo has quit [Ping timeout: 252 seconds]
gnoo has joined #commonlisp
gnoo has quit [Ping timeout: 265 seconds]
gnoo has joined #commonlisp
gnoo has quit [Max SendQ exceeded]
gnoo has joined #commonlisp
gnoo has quit [Max SendQ exceeded]
gnoo has joined #commonlisp
gnoo has quit [Ping timeout: 272 seconds]
gnoo has joined #commonlisp
<mesaoptimizer> why is there no `save-lisp` and only `save-lisp-and-die`?
gnoo has quit [Ping timeout: 260 seconds]
random-nick has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
gnoo has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life_ is now known as Lord_of_Life
gnoo has quit [Ping timeout: 276 seconds]
gnoo has joined #commonlisp
gnoo has quit [Ping timeout: 265 seconds]
chomwitt has quit [Ping timeout: 276 seconds]
chomwitt has joined #commonlisp
gnoo has joined #commonlisp
gnoo has quit [Ping timeout: 260 seconds]
gnoo has joined #commonlisp
gnoo has quit [Ping timeout: 252 seconds]
gnoo has joined #commonlisp
decweb has joined #commonlisp
gnoo has quit [Ping timeout: 268 seconds]
gnoo has joined #commonlisp
gnoo has quit [Ping timeout: 276 seconds]
gnoo has joined #commonlisp
<beach> mesaoptimizer: You need to ask the SBCL people. This is not a standard function anyway.
pabs3 has quit [Read error: Connection reset by peer]
<scymtym> i don't know the details but i think the lisp image has to be prepared for being saved to a file and restarted. the preparation involves releasing and destroying (unix) resources in a way that makes the image unable to continue without a complete restart
<beach> Makes sense.
admich1 has joined #commonlisp
lcn_ has joined #commonlisp
pabs3 has joined #commonlisp
<pl> scymtym: full image dumps on many systems, for various reasons including how exactly they happen, often require dropping state - or having special mangling of the resulting image
<pl> essentially, you can either apply fixups to the memory data in non-trivial way, or "die"
<pl> even the OS on Lisp Machines used the latter
<beach> It seems we need a Lisp OS.
<beach>
<beach> Then, people seem to still use Windows for reasons that I don't understand.
notzmv has joined #commonlisp
<pl> Lisp OSes "died" when saving image same way :V honestly, the only more major system where I've seen measures taken for handling things like "save image without dying" is paradoxically Microsoft .NET
<beach> Well, I was thinking of an OS with universal persistence. No explicit saving would then be required.
pabs3 has quit [Quit: Don't rest until all the world is paved in moss and greenery.]
<beach> No Unix resources would have to be released or destroyed, since it wouldn't be Unix.
<jackdaniel> Linux gainex hot upgrade capability a few years ago
<jackdaniel> gained*
pabs3 has joined #commonlisp
<beach> Excellent! Is that related to universal persistence?
<pl> not really, also not as hot as people make it seem
<beach> I see.
<pl> beach: btw, funny thing about Linux - one of the things that trip some programs is that Linux actually has Multics-style I/O instead of Unix style :D
<jackdaniel> even if things are universally persistent, some resources are not possible to restore on a different machine (or even the same one), like a networi connection
<beach> pl: In what way are the different?
<pl> i.e. unix read/write calls are effectively executed on top of Multics-style "map disk to memory"
<beach> I see.
treflip has joined #commonlisp
brokkoli_origin has quit [Ping timeout: 260 seconds]
cdegroot has quit [Remote host closed the connection]
brokkoli_origin has joined #commonlisp
jonatack has joined #commonlisp
cdegroot has joined #commonlisp
jonatack has quit [Ping timeout: 240 seconds]
inline has quit [Quit: Leaving]
<beach> pl: I shouldn't be surprised. Many things Multics did could not be done that way in the machines that Unix was first developed for. But the processors have evolved, so if the Multics way was better, then a Unix-like system could now often do it that better way.
King_julian has quit [Ping timeout: 260 seconds]
King_julian has joined #commonlisp
<pl> beach: a lot of mythology written by people who were *not* part of the original UNIX team poisoned people's minds that Multics was somehow very bad etc, when in reality Unix was kinda "damn, I miss the stuff we had in Multics, but PDP-7 and PDP-11 have barely anything in resources in comparison"
<beach> Exactly!
<beach> And at least one OS book that I have says that Unix was the first operating system written in a high-level language. :)
<Demosthenex> yeah, file pages?
<Demosthenex> i love history like this =]
<beach> What do you mean by "file pages"?
<Demosthenex> multiple unixes use file pages in memory to map to disk files, and that's how they implement io caching. you don't write the file, you write the file page, and then the sync process takes file pages marked dirty to flush to disk.
<beach> I see.
<Demosthenex> i think it's interesting that came from multics
mwnaylor has quit [Ping timeout: 260 seconds]
attila_lendvai has quit [Ping timeout: 244 seconds]
dra has quit [Remote host closed the connection]
bpanthi977 has joined #commonlisp
sammat has quit [Ping timeout: 272 seconds]
chomwitt has quit [Ping timeout: 276 seconds]
chomwitt has joined #commonlisp
sammat has joined #commonlisp
rgherdt has quit [Ping timeout: 276 seconds]
rgherdt has joined #commonlisp
treflip has quit [Ping timeout: 248 seconds]
<pl> Well, this exact behaviour is Linux specific
<pl> most unices have some form of caching and memory mapping files
<pl> but on Linux it's the core memory management and IO model
sammat has quit [Ping timeout: 272 seconds]
<pl> hard to describe it on the run, but on Linux the "pagecache" is ubiquitous and covers every non-physical memory mapping
<pl> (it actually causes problems at times and limitations, but that's another rant)
<pl> on most other unices the disk i/o cache is more separated, as in, on Linux every memory allocation you get in userspace is a page from pagecache, same as when you access files
<pl> every non-directio file access is just modification of data in page cache
<pl> with actual writing to disk being equivalent of swapping out a page of memory
<Demosthenex> nice.
treflip has joined #commonlisp
Lycurgus has joined #commonlisp
WorldControl has joined #commonlisp
WorldControl has quit [Client Quit]
Lycurgus has quit [Client Quit]
Lycurgus has joined #commonlisp
ingeniot has joined #commonlisp
<pl> Demosthenex: it does cause problems, that are only recently fixed
<pl> for a long time filesystem code a) could not use block sizes bigger than page size b) could not request new memory allocations while writing
Lycurgus has quit [Quit: irc.renjuan.org (juan@acm.org)]
bpanthi977 has quit [Ping timeout: 276 seconds]
<Demosthenex> hrm. linux has had plenty of other io issues, those sound minor ;]
<Demosthenex> i'm still recovering from sync-gate
ingeniot has quit [Ping timeout: 276 seconds]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 248 seconds]
<pl> any sync gate is related to this as well
<pl> because fd's IO is decoupled from disk activity
acdw has left #commonlisp [smell ya later]
<Demosthenex> sure, but sync-gate is the name for a 2018 finding postgres made that linux failed to handle errors on write
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Remote host closed the connection]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 252 seconds]
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 248 seconds]
pve has joined #commonlisp
admich1 has quit [Ping timeout: 248 seconds]
admich1 has joined #commonlisp
jonatack has joined #commonlisp
treflip has quit [Ping timeout: 240 seconds]
jonatack has quit [Ping timeout: 245 seconds]
inline has joined #commonlisp
dra has joined #commonlisp
dra has quit [Changing host]
dra has joined #commonlisp
mgl has joined #commonlisp
treflip has joined #commonlisp
attila_lendvai has joined #commonlisp
admich1 has quit [Ping timeout: 260 seconds]
shka has quit [Quit: Konversation terminated!]
cage has joined #commonlisp
shka has joined #commonlisp
ndanilov_ has quit [Ping timeout: 276 seconds]
mgl has quit [Remote host closed the connection]
treflip has quit [Ping timeout: 240 seconds]
phil has quit [Ping timeout: 240 seconds]
phil has joined #commonlisp
veqq has quit [Remote host closed the connection]
veqq has joined #commonlisp
ndanilov has joined #commonlisp
ndanilov_ has joined #commonlisp
ndanilov has quit [Ping timeout: 260 seconds]
zwr has quit [Read error: Connection reset by peer]
reb has joined #commonlisp
lusciouslover has quit [Remote host closed the connection]
lusciouslover has joined #commonlisp
zwr has joined #commonlisp
cage has quit [Remote host closed the connection]
yaneko has quit [Read error: Connection reset by peer]
phil has quit [Ping timeout: 240 seconds]
phil has joined #commonlisp
jonatack has joined #commonlisp
Lycurgus has joined #commonlisp
Lycurgus has quit [Quit: irc.renjuan.org (juan@acm.org)]
inline has quit [Quit: Leaving]
mwnaylor has joined #commonlisp
bpanthi977 has joined #commonlisp
admich1 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 240 seconds]
bpanthi977 has joined #commonlisp
akoana has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
bpanthi977 has joined #commonlisp
attila_lendvai has quit [Remote host closed the connection]
attila_lendvai has joined #commonlisp
tfeb has joined #commonlisp
cow_2001 has quit [Quit: ✡]
tfeb has quit [Quit: died]
lcn_ has quit [Ping timeout: 248 seconds]
pve has quit [Quit: leaving]
notzmv has quit [Remote host closed the connection]
Spawns_Carpeting has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
Spawns_Carpeting has joined #commonlisp
attila_lendvai has quit [Ping timeout: 252 seconds]
<aeth> System resources are rarely a problem anymore, but the problem now is that if someone sets out to make a better OS in all sorts of fancy ways, they'll never finish.
<aeth> Although the past 10 years of hardware stagnation has probably helped.
<aeth> (Stagnation relative to the prior 40+ years...)
<aeth> Someone who set out to make something in 2015 would see a hardware world basically identical today, with the same two architectures as the only ones of note (x86-64 and ARM, with RISC-V surely on the horizon).
<aeth> (GPUs have changed considerably, but that's the responsibility of the GPU drivers.)
CrashTestDummy has joined #commonlisp
CrashTestDummy has quit [Client Quit]
scymtym has quit [Read error: Connection reset by peer]
scymtym has joined #commonlisp
lcn_ has joined #commonlisp
rgherdt has quit [Remote host closed the connection]
cercopith has quit [Remote host closed the connection]
lcn_ has quit [Remote host closed the connection]
Ruby has quit [Quit: ZNC - https://znc.in]
jonatack has quit [Ping timeout: 272 seconds]
decweb has quit [Quit: Konversation terminated!]
decweb has joined #commonlisp
Ruby has joined #commonlisp
Lord_Nightmare has quit [Quit: ZNC - http://znc.in]
Lord_Nightmare has joined #commonlisp
yitzi has joined #commonlisp
Lord_Nightmare has quit [Quit: ZNC - http://znc.in]
Lord_Nightmare has joined #commonlisp
King_julian has quit [Ping timeout: 260 seconds]
King_julian has joined #commonlisp
admich1 has quit [Ping timeout: 240 seconds]
admich1 has joined #commonlisp