9,878 karma · joined Dec 7, 2012 (14y ago) · 2,939 submissions
comment 7mo ago · link · parent
If one wants to use a pager (like I sometimes do, though most of the time I just scroll up), they'll just use `foo 2>&1 | less`.
comment 7mo ago · link · parent
I work with old and new code bases used by many clients in complicated setups, but adding a warning to stderr while stdout was left untouched, and proper exit codes maintained, was hardly, if ever, a problem so far.
Of course, there's always some unpleasant exception, but it's rare.
And of course, I also understand that the author might have found themselves not only in one of those rare-ish instances, but also one where reasoning with the other side was fruitless.
comment 7mo ago · link · parent
In the earlier days of IRC, netsplits were sometimes used for channel takeover. If someone was on a split off part of the net where there were so few people in the channel that they could obtain op status, they could kill and ban the "legitimate" ops when the nets joined back together.
comment 7mo ago · link · parent
I remember one particular one a few decades ago, where I was feverishly (pun intended) trying to achieve something with XML, only it being a fever dream, nothing of it made sense, so I was wracking my brain for nonsense those entire hours.
comment 7mo ago · link · parent
The first color was obvious to me, as it was designed to be (it even tells you if you intentionally misclick). But at the very next color, the first "test color", I literally face palmed and said "oh my god" out loudly.
It was so, so hard for me to decide. I really just wanted to pick a non-existent "teal" option. Both "blue" or "green" felt wrong and equally right at the same time.
It just got harder from there. At the end, it told me that my threshold is "bluer than 80% of the population", but honestly, I don't think that's really true in my case. I was so ambivalent, my choices really felt random to me very quickly.
comment 7mo ago · link · parent
But yeah, it may not make a real impact yet anyway.
comment 7mo ago · link · parent
(Or maybe not, if it doesn't perform better than random, I haven't actually tried it out yet. Some more examples would have been nice!)
I wonder how far you could push this while still staying period correct, e.g. by adding a REU (RAM Expansion Unit), or even a GeoRAM (basically a REU on steroids).
SuperCPU would also be an option, but for me it's always blurring the line of "what is a C64" a bit too much, and it likely just makes it faster anyway.
comment 7mo ago · link · parent
I also lost the game not too long ago, but before that, I think I didn't actually lose it for a decade of more? And losing it wasn't even because it was mentioned anywhere, I genuinely just thought of it by myself, after forgetting about it for so long.
So my sincerest apologies if my comment just made any readers lose their long streak in the game.
comment 8mo ago · link · parent
comment 8mo ago · link · parent
What I'm saying is: I still feel (perhaps wrongly, quite possibly so) that in 1997, changing the global volume was more common, and that even being able to change app-specific volumes required some non-trivial features from the app who can do so.
comment 8mo ago · link · parent
If you turned off the preamp (could be directly done in the EQ window I think), what did the volume control actually do?
comment 8mo ago · link · parent
And I’m not sure if that was still the case in 1997, but most likely changing the volume of digital sound meant the CPU having to process the samples in realtime. Now on one hand, that’s probably dwarfed by what the CPU had to do for decompressing the video. On the other hand, if you’re already starved for CPU time…
comment 8mo ago · link · parent
comment 8mo ago · link · parent
Side note: virtual 8086 mode was protected mode, or rather, implied protected mode. A task could run in virtual 8086 mode where to the task it was (mostly) looking like it was running in real mode, when in actuality the kernel was running in full protected mode.
Note that the "kernel" was never DOS. It could often actually be a so called "memory manager", like EMM386, and the actual DOS OS (the entire thing, including apps, not just the DOS "kernel") would run as a sole vm86 task, without any other tasks. The memory manager was then serving DOS with a lot of the 386 32 bit goodness through a straw, effectively.
It's very bizarre from today's (or even back then's) OS standards, and evolved that way because compatibility.
comment 9mo ago · link · parent
comment 9mo ago · link · parent
Sure, you're still better off with 24 GB overall compared to 8GB+swap whether you add swap to your 24 GB or not, but swap can still make things more better.
(That says nothing about whether the 2x rule is still useful though, I have no idea.)
comment 9mo ago · link · parent
Running out of memory is a hard problem, because in some ways we still assume that computers are turing machines with an infinite tape. (And in some ways, theoretically, we have to.) But it's not clear at all which memory to free up (by killing processes).
If you are lucky, there's one giant with tens of GB of resident memory usage to kill to put your system back into a usable state, but that's not the only case.
comment 9mo ago · link · parent
Swap space is not just for overcommitting memory (in fact, I suspect nowadays it rarely ever is), but also for improving performance by maximizing efficient usage of RAM.
With 48GB, you're probably fine, but run a few VMs or large programs, and you're backing your kernel into a corner in terms of making RAM available for efficient caching.