Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
anyfoo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
91.
▲
by
anyfoo
7mo ago
Awesome. 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
92.
▲
by
anyfoo
7mo ago
No argument there. I also always had the impression that Linux fails less gracefully than other systems.
93.
▲
by
anyfoo
7mo ago
Yeah, that seems like a reasonable approach for your case!
94.
▲
by
anyfoo
7mo ago
Oh sure, it might or might not make a significant difference at all. Chances are, if you do a lot of I/O on a large (or very large) amount of data, and you also have a lot of rarely used but resident anonymous memory, then swap space
95.
▲
by
anyfoo
7mo ago
I believe that it's not very hard to intentionally get into that situation, but... if you notice it doesn't work, won't you just not ? (It's not that this will work without swap after all, just OOM-kill without thrashin
96.
▲
by
anyfoo
7mo ago
macOS also uses compression in the virtual memory layer. (It's fun to note that I try to type out "virtual memory" in this thread, because I don't want people to think I talk about virtual machines.)
97.
▲
by
anyfoo
7mo ago
I'm getting tired of typing this, but swap space is not just to increase available virtual memory. If you upgrade from 8 GB to 24 GB, then with proper swap space usage, you have 16 GB that could be used for additional disk cache. Sur
98.
▲
by
anyfoo
7mo ago
In my experience the situations where you run into thrashing are rather rare nowadays. I personally wouldn't give up a good optimization for the rare worst case. (There's probably some knobs to turn as well, but I haven't had
99.
▲
by
anyfoo
7mo ago
There's a chance that those servers might run more efficiently with some swap space, for the reasons mentioned many times in this thread. Swap space is not just for overcommitting.
100.
▲
by
anyfoo
7mo ago
The mentioned situation is not running out of memory, but being able to use memory more efficiently. Running out of memory is a hard problem, because in some ways we still assume that computers are turing machines with an infinite tape. (
101.
▲
by
anyfoo
7mo ago
As has been mentioned a few times in other comments here, I don't believe that's correct. Swap space is not just for "using more memory than you have RAM".
102.
▲
by
anyfoo
7mo ago
I'm not an expert, but aren't you just reducing the choice of what pages can be offloaded from RAM? Without swap space, only file-backed pages can be written out to reclaim RAM for other uses (including caching). With swap space,
103.
▲
by
anyfoo
7mo ago
I don't think that's correct. Having swap still allows you to page out rarely-used pages from RAM, and letting that RAM be used for things that positively impact performance, like caching actually used filesystem objects. Pages th
104.
▲
by
anyfoo
8mo ago
It could be a tiny drop of something corrosive, but with that I’m also still wondering if a laser isn’t simpler, yeah. I have almost no doubt that it could be a laser, it’s just unfortunate (and maybe a little bit suspicious) that I haven’t
105.
▲
by
anyfoo
8mo ago
Yeah, it matters only in “interestingness” or “coolness”.
106.
▲
by
anyfoo
8mo ago
Yes, it was apparently very visible: https://martypc.blogspot.com/2024/09/pc-floppy-copy-protecti... But as I mentioned in a sibling comment, I’m not sure it was ever confirmed that it was really a laser that made
107.
▲
by
anyfoo
8mo ago
Was ist ever confirmed that it was in fact a laser? I wanted to make a trivia question out of this ProLok protection, because “lasers for copy protection” sounds just weird enough to potentially be a nonsense answer without context, but I c
108.
▲
by
anyfoo
8mo ago
Huh? 1 frame tricks are the top shelf of speedrunning moves, definitely breaking how the games are designed to be played by orders of magnitudes. Speedrunners use 1 frame tricks in more modern games as well. It is considered extremely hard
109.
▲
by
anyfoo
8mo ago
Maybe give it another try? I have been playing lots of games for the past few years, some vigorously. Not a single one of them has a single microtransaction, because that's an immediate turnoff for me.
110.
▲
by
anyfoo
8mo ago
Into the Breach only came out 8 years ago, but I'm still playing it vigorously. I'm sorry to say, your nostalgia-colored-glasses are so strong, you're actually blinded by them. I grew up in the same gaming era as you (started
111.
▲
by
anyfoo
8mo ago
So Dark Souls is just another RPG, and not innovative?
112.
▲
by
anyfoo
8mo ago
I loved Half Life 2, and it was highly influential, but that influence lives on. Outer Wilds, Disco Elysium, Dark Souls, and Return of Obra Dinn were among the mentioned titles. All of these games tell a story, each of this game does it in
113.
▲
by
anyfoo
8mo ago
Dark Souls and Hollow Knight were among the listed titles, come on.
114.
▲
by
anyfoo
9mo ago
I personally hate CGNAT, but I cannot deny that nowadays, the overwhelmingly vast majority of customers most likely does not care (and much less know) that they are behind CGNAT, so this is valid. Come to think of it, for my use cases, I wo
115.
▲
by
anyfoo
9mo ago
For your example, shouldn't you either present two "private" IP addresses, in which case you'd replace the IPv6 address in your example with what is likely to be an autoconfigured link-local address (though any ULA addre
116.
▲
by
anyfoo
10mo ago
Note what I actually wrote: > And while I don’t doubt that there are serious physiological conditions that warrant, even necessitate, medicating, my impression is that the first response to “depression” in general shouldn’t be medication
117.
▲
by
anyfoo
10mo ago
I don’t know. Doctors nowadays (especially in the US, it seems to be less prevalent elsewhere) seem very quick at prescribing medication. And while I don’t doubt that there are serious physiological conditions that warrant, even necessitate
118.
▲
by
anyfoo
10mo ago
Yeah, you can clearly see it on Japanese keyboards, which do show the individual kana. But as you allude to, I’m not sure it’s super popular anymore.
119.
▲
by
anyfoo
10mo ago
This article is a bit bizarre in what the author seems to have expected, or rather not expected. The 64 Ultimate is, as far as I know, an FPGA-implementation of an original C64. It is, for most intents and purposes, a C64. So why are they s
120.
▲
by
anyfoo
10mo ago
This is actually pretty common. It's less obvious with Chinese or Japanese, as the input method there usually matches the transliteration based on how the word is spoken (romaji in Japanese, pinyin in Chinese), which of course does not
More ›