Better HN
topnewbestaskshowjobs
Log inSign up

lainzhow

6 karma · joined Feb 28, 2025 (1y ago) · 6 submissions

Submissions

comment 6mo ago · link · parent

I wonder why not use nginx and some local DNS settings to just serve all these local services under a new, local URL.

Not too long ago I had a similar issue and solved with that.

comment 1y ago · link · parent

Very nice game, good job!

comment 1y ago · link · parent

Sure, any good learning sources?

comment 1y ago · link · parent

Neat tool, but I noticed it shows that modules are mostly supported when they are at best partially supported. You can double check with the famous "Are we modules yet?" website.

comment 1y ago · link · parent

If I got it right, it was a high schooler that posted. So I guess that's not an option

comment 1y ago · link · parent

I didn't read the source, but from the description it says it uses memory mapping. So my guess here is that IO isn't so much of an issue since prefetching can hide away the latency if you are able to memory map a large enough segment of the file.

Iff the statement about prefetching is true though, I wonder how the prefetching wouldn't be bamboozled by the multiple threads accessing the file.