Better HN
topnewbestaskshowjobs
Log inSign up

anyfoo

9,878 karma · joined Dec 7, 2012 (14y ago) · 2,939 submissions

If you want to send me an email: <username>@<username>.de
Submissions

comment 9mo ago · link · parent

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 that are backed by disk (e.g. files) don't need that, but anonymous memory that e.g. has only been touched once and then never even read afterwards should have a place to go as well. Also, without swap space you have to write out file backed pages, instead of including anonymous memory in that choice.

For that reason, I always set up swap space.

Nowadays, some systems also have compression in the virtual memory layer, i.e. rarely used pages get compressed in RAM to use up less space there, without necessarily being paged out (= written to swap). Note that I don't know much about modern virtual memory and how exactly compression interacts with paging out.

comment 10mo ago · link · parent

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 found it confirmed anyway. Almost like they wanted it to be a laser (hence the folklore around it), but had to use a less cool method to do it. But of course it might as well just have been a laser, and they for some reason declined to market or even just document it that way, for whatever reason.

comment 10mo ago · link · parent

Yeah, it matters only in “interestingness” or “coolness”.

comment 10mo ago · link · parent

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 that mark.

comment 10mo ago · link · parent

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 couldn’t confirm that the holes were indeed made with lasers, and not with other means.

comment 10mo ago · link · parent

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 even amongst the already insane speedrunning community, no matter whether the game is SMB, Odyssey, or anything recent.

comment 10mo ago · link · parent

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.

comment 10mo ago · link · parent

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 around early to mid 90s, but the peak was later), and I too have fond memories. But there undeniably has been some magnificent progress in pretty much all aspects of gaming.

Somewhere between 2005 and 2010, I thought I had outgrown gaming, and that no game would have anything to offer to me anymore. But years later I learned that that was just because I was stuck thinking that JRPGs were the pinnacle of gaming, it turned out that I had grown out of those. Obviously your story will be different, but I bet there is some story to you somewhere.

comment 10mo ago · link · parent

So Dark Souls is just another RPG, and not innovative?

comment 10mo ago · link · parent

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 its own, magnificent way.

You act a bit like those kind of games are hard to find, but some of them are highly popularized best sellers that keep getting remasters (I don't mean remakes), and still find a huge audience in entirely new YouTube Let's-Plays alone.

comment 10mo ago · link · parent

Dark Souls and Hollow Knight were among the listed titles, come on.

comment 10mo ago · link · parent

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 would probably be fine to be behind IPv4 NAT as long as I also have an un-NATted IPv6 prefix. But a big part of the question here of course is whether IPv6 adoption is worthwhile...

comment 10mo ago · link · parent

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 address would be valid as well),

OR present the two IP addresses that the targets would be visible as from the outside, in which case you'd replace the IPv4 address with the "public" address that 192.168.0.1 NATs to, going outbound?

Then, the stated difference is much less stark: In the first case, you'd have a local IPv6 address that's about as useless as the local IPv4 address (except that it's much more likely to be unique, but you still wouldn't know how to reach it). In the second case, unless your target is behind some massive IPv4 NAT (carrier-grade NAT probably), you'd immediately know how to route to them as well.

But presenting a local IP for IPv4, and a global one for IPv6, strikes me as a bit unfair. It would be equally bogus to present the public IPv4 address and the autoconfigured link-local address for IPv6 and asking the same question.

I do concede that carrier-grade NAT shifts the outcome again here. But it comes with all the disadvantages that carrier-grade NAT comes with, i.e. the complete inability to receive any inbound connections without NAT piercing, and you could achieve the same by just doing carrier-grade NAT for IPv6 as well (only that I don't think we want that, just how we only want IPv4 CGNAT because we don't have many other options any more).

comment 11mo ago · link · parent

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.

It’s very well possible that you, and the person you answered to, are solidly part of the “needs medication” fraction. I do not believe that medication against depression is bad in general.

comment 11mo ago · link · parent

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, medicating, my impression is that the first response to “depression” in general shouldn’t be medication.

I’ve been depressed in the past, in my 20s even severely. Clinically, you could say. But in the end, every one of those depressive episodes were because something was not right in my life.

Whether I acknowledged it or not, whether I even realized that there was a problem, once I figured the issues out and took the sometimes very painful and exhausting steps to sort them out, the depression faded away.

Over time, I’ve become better at introspection to figure out what’s really bugging me, and also in recognizing a budding early depression as warning signs.

comment 11mo ago · link · parent

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.

comment 11mo ago · link · parent

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 so surprised that the original peripherals, like floppy drives, can be attached to it? The only special thing required for that is likely a level shifter on board (as the FPGA will hardly be 5V). And moreover, what's special about CRTs that it's so surprising that they can be attached as well? The output is bog-standard composite or S-Video, you can attach anything to it, just like to the original C64...

It's more interesting that it has an added HDMI output, Ethernet, and Wifi.

comment 11mo ago · link · parent

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 look unusual.

For example, you wouldn't think twice about it if for the Japanese word for washing machine, you not only saw "洗濯機" (which is how it's written in Kanji), but also "sentakuki" or "sentakki" in the search results, because even to non-Japanese speakers it's pretty clear that that's probably the Japanese word for washing machine written with latin character transliteration, and pretty much exactly what you'd say.

With Korean, it looks more jarring, as the input method is apparently very different, and seems to map the keys for unrelated latin letters to Hangul letters? (I have no idea, I don't know anything about Hangul other than it's based on syllables, kind of like Hiragana/Katakana, and apparently very logical.)

comment 11mo ago · link · parent

I haven't really used Windows for anything serious in more than 20 years (and I recently had to mess with Windows 11 and it was terrible), but I'm not sure you'd be very happy going back to Windows 3.1.

It was a 16 bit system (it could run in "Enhanced Mode" which involves 32 bit protected mode, but in reality Windows itself, and the applications, were still 16 bit).

That means the resource constraints were very real. Even if you had a lot of actual memory in your machine, the memory that was actually available for "general purpose" was effectively a few hundred kilobytes. There was also the notion of finite (and very generically-named) "system resources", and you could see in the "About" box how many percent of those you had free. Once they were gone, you were in trouble:

    USER.EXE and GDI.EXE each have a data segment (that is, heap) limited to 64K. The 8086/80286 platform architecture imposes this 64K limit. Program Manager checks the percentage of free heap space for both USER.EXE and GDI.EXE. It then reports the smaller of the two percentages.[1]
All applications ran in the same address space. A broken application meant a total crash at best, subtle data corruption at worst. Multitasking was also cooperative, so apps could hold up other apps indefinitely, or just hang the entire system.

Since it was not based on paging, to accommodate the very limited memory, entire segments could be swapped out, or even relocated, within the address space. As a programmer, that meant dealing with stuff like "locking pointers" so Windows wouldn't move your data segment under you. As a user, that could mean general slowness.

It was firmly based on DOS. So many problems that you had in DOS, drivers or whatnot, would exist in Windows as well.

There were better systems at the time that you could wish yourself back to, some number of them based on UNIX in some way or other.

But Windows 3.11 had really pretty icons. The prettiest, in my mind.

[1] https://ftp.zx.net.nz/pub/Patches/ftp.microsoft.com/MISC/KB/...

comment 11mo ago · link · parent

"disk dump" is another common (but wrong) guess.

comment 11mo ago · link · parent

I still do that at least once a week. Along with "tar xzpvf" or more complex invocations like:

    tar cvf - -C /foo/bar baz | zstd > foo.tar.zstd

comment 11mo ago · link · parent

It looks like X was deliberately chosen to denote succession of W, not clashing with it:

    "The name X derives from the lineage of the system. At Stanford University, Paul Asente and Brian Reid had begun work on the W window system [3] as an alternative to VGTS [13, 221 for the V system [5]. [...] We acquired a UNIX-based version of W for the VSlOO (with synchronous communication over TCP[24] produced by Asente and Chris Kent at Digital’s Western Research Laboratory. [...] It was also clear that, although synchronous communication was perhaps acceptable in the V system (owing to very fast networking primitives), it was completely inadequate in most other operating environments. X is our “reaction” to W."
-- https://dl.acm.org/doi/pdf/10.1145/22949.24053

comment 11mo ago · link · parent

> The problem your encountering is downstream from point 1.

*you're

comment 11mo ago · link · parent

> I couldn't for the life of me tell you what dd stands for.

Data(set) Definition. But that name does not make any sense whatsoever by itself in this context, neither for the tool (it hardly "defines" anything), nor for UNIX in general (there are no "datasets" in UNIX).

Instead, it's specifically a reference to the DD statement in the JCL, the job control language, of many of IBM's mainframe operating systems of yore (let's not get into the specifics of which ones, because that's a whole other can of complexity).

And even then the relation between the DD statement and the dd command in UNIX is rather tenuous. To simplify a lot, DD in JCL does something akin to "opening a file", or rather "describing to the system a file that will later be opened". The UNIX tool dd, on the other hand, was designed to be useful for exchanging files/datasets with mainframes. Of course, that's not at all what it is used for today, and possibly that was true even back then.

This also explains dd's weird syntax, which consists of specifying "key=value" or "key=flag1,flag2,..." parameters. That is entirely alien to UNIX, but is how the DD and other JCL (again, of the right kind) statements work.

comment 12mo ago · link · parent

16 kHz is very high on the spectrum. Just the normal age-related decline of hearing makes that inaudible pretty quickly, you don’t need to drive with the window down for that.

comment 12mo ago · link · parent

Ah, lots of supposedly solid state computer stuff, including CPUs, did that. I, too, used it for debugging. This wasn't very conscious on my part, but if some whine became unusual and constant, it was often a sign of something hanging.

As I got older, not only did computers stop doing that, my hearing also got worse (entirely normal for my age, but still), so that's mostly a thing of the past.

comment 12mo ago · link · parent

That famous QNX boot disk was the first thing I thought of when reading the title as well.

comment 1y ago · link · parent

Are you saying that while we do see evidence that September, October, November, December were once the 7th, 8th, 9th, and 10th month, we don't see any evidence that the calendar was ever "10 months long"? (How would that have worked anyway, did they have more days per month?)

comment 1y ago · link · parent

Still the same dichotomy. Who's to say his other pursuits are "meaningless", and the likes of crosswords, sudoku, etc.? For all we know he might have some other projects that he considers more useful.

He does not think working on Colorforth is worth it anymore, so it could actually be detrimental to do so.

comment 1y ago · link · parent

That's quite a dichotomy here. He can exercise his brain and ward off cognitive decline without working on Colorforth specifically...
1
456
98