Better HN
topnewbestaskshowjobs
Log inSign up

jmmv

2,257 karma · joined Dec 31, 2013 (12y ago) · 469 submissions

https://jmmv.dev/ -- Contact me via julio@meroh.net or @jmmv.
Submissions

comment 3w ago · link · parent

I was curious about this a couple of years ago and ended up digging into the history of the NT design, comparing it to contemporary Unix systems, and writing this: https://jmmv.dev/2024/09/windows-nt-vs-unix-design.html . Pretty enlightening exercise.

comment 1mo ago · link · parent

Google never wanted to share details about their datacenters because they thought (think?) their power efficiency was a competitive advantage. So it'd be lower than you expect.

Also, they didn't want you to be able to guesstimate how many machines / computing power they had, for similar reasons.

comment 2mo ago · link · parent

It is, but you can start with a COPR repo instead.

comment 2mo ago · link · parent

I think I've cleaned up my box of cables twice in the past and, inevitably, _the very next day_ I did so, I needed one of the cables I had gotten rid of. Never again.

comment 2mo ago · link · parent

I tried Haiku recently on a not-super-old PC and was impressed by the speed and the reasonable availability of software. I then wished I could run this on my old Powerbook G4 because nothing else seems to run there anymore with ease, and this seems like the perfect desktop OS for such old machines. And it turns out there is now a fork for PPC: https://github.com/ActionRetro/Tabby-PPC !

(Why a fork? Because it's primarily vibecoded and Haiku won't take the patches upstream. But hey, I'm gonna give it a try anyway.)

comment 3mo ago · link · parent

Start with Doom Emacs. I haven't felt the need to customize almost anything since I switched (from VSCode) 4 years ago.

TBH, I had used Emacs before VSCode and had accumulated a bunch of cruft in my .emacs configuration, and I never felt it was "mine" anyway...

comment 3mo ago · link · parent

Somehow the clicking around reminded me of Windows RG. Go check this old relic if you have never seen it: https://www.jamesweb.co.uk/windowsrg . Turn the volume up!

8.

AI-generated vulnerability patches still require expert human review(1password.com ↗)

3 points · by jmmv · 3mo ago · discuss

comment 3mo ago · link · parent

That's not surprising. The page says the kernel is multiboot compliant, which means it can be loaded by existing boot loaders. Whether the kernel later provides a floppy driver is a separate story.

This is also pretty common even if you don't use multiboot. The I/O services exposed by the BIOS or firmware during boot may not be usable once the kernel has started, and thus the kernel has to provide its own drivers.

comment 3mo ago · link · parent

I've been blogging for 22 years now. At the beginning I could tell I had a relatively steady audience based on frequent comments (when comments on blogs were a thing). These died off over the years. Then, in 2020, I implemented my own unobtrusive subscription mechanism and email distribution to try to regain such an audience. And... it's pretty disappointing. I've gotten less than 200 subscribers that way; conversions just don't happy.

Then I "switched" to Substack 3 years ago and the audience growth is real. I'm approaching 2000 subscribers (some of which are paid, which always surprises me and I appreciate), and these keep growing organically although I'm sure a large portion of which are fake. It's hard to say it doesn't work or isn't worth it.

Now... spoiler: I never "switched" to Substack. I continue to write all of my content on my website _first_, with all of the features it had before, but now I copy/paste the content into Substack and distribute it that way. It's painful, but I have scars from when I moved off of Medium and want to ensure I "own" the originals.

If you are curious, I had written more about this 2 years ago in https://blogsystem5.substack.com/p/20-years-of-blogging

comment 4mo ago · link · parent

Yeah, structs (records) is something I've been wanting to add and that became reasonably easy with the full rewrite of the compiler I did in 0.13. Probably in the next update!

comment 4mo ago · link · parent

What do you mean? FUNCTIONs are supported, and their arguments and return values are strongly typed.

13.

EndBASIC 0.14: Are we multimedia yet?(endbasic.dev ↗)

49 points · by jmmv · 4mo ago · 11 comments

comment 4mo ago · link · parent

Two years ago, I spent time studying the Windows NT kernel internals and ended up writing a comparison against Unix here: https://blogsystem5.substack.com/p/windows-nt-vs-unix-design . What I came out of that exercise with is that NT is actually well-made and was very ambitious and advanced at the time it was designed (although free systems have caught up by now).

But what I also came out thinking was: none of that shows. The kernel is great, sure, but all of the crap that has been built on top doesn't let it shine, and that's what people interact with. Take Windows 11 with is dog-slow file manager and the overall feeling that everything is bloated and designed to annoy you. I wish there was a simpler edition... but it ain't gonna happen.

comment 5mo ago · link · parent

> Only the very first few models of Intel Macs had strictly 32-bit processors (the 2006 iMac and Mac minis with Core Solo/Core Duo processors), and none of them were realistically capable of playing Half-Life 2.

What? First, those chips were plenty powerful to run HL2 (the game predates them). And second, all x86_64 chips can run older x86 32-bit code unmodified.

The reason macOS stopped supporting 32-bit code has nothing to do with the processors but more about them wanting to remove support for 32-bit binaries from the kernel and from all user-space libraries. To run a 32-bit binary, you need itself and all libraries it depends on to be 32-bit too, including the syscall boundary, which is "fine" (both Windows and Linux do this just fine, so it's really on Apple to have removed this). And I suppose Apple removed those because it was building towards a 64-bit-only world to simplify the Apple Silicon transition.

16.

Is anyone still using Emacs?(jmmv.dev ↗)

35 points · by jmmv · 5mo ago · 5 comments

comment 5mo ago · link · parent

> It's a little bit sluggish, isn't it? And takes quite a bit of time to boot, right? It's certainly usable, though, not worse than your average website these days. I intend to use this setup for next Advent of Code. > > But here's the kicker: This is Windows 2000 SP4 running on a Pentium 133 with 64 MB of RAM and a spinning harddisk

Heh, gotta reference https://jmmv.dev/2023/06/fast-machines-slow-machines.html (https://news.ycombinator.com/item?id=43972004) from a few years ago. There is a video in there of Windows 2000 running on a K7-600 from 1999 and it indeed flies.

comment 5mo ago · link · parent

Sure, and I'm not arguing that the answers are uninteresting, but I found it odd that this is being double-quoted several times as if it was taken out of the article.

comment 5mo ago · link · parent

I'm curious... why are people (this thread, but there are several independent others) replying to "Is anyone still using emacs?" ? I don't see that sentence anywhere in the article!

comment 5mo ago · link · parent

Thanks. I haven't documented it (yet?) but I did give a talk last year on the process that got me there and the internals behind this system: https://www.youtube.com/watch?v=WZFYTInWAqc

comment 5mo ago · link · parent

I went through a similar "thought process" to build this: https://www.endbasic.dev/endbox.html last year. I originally wanted to "just" launch my binary right after the kernel started... but in the end settled for a full NetBSD base system to get things like network and WiFi configuration to work with ease. (That said, I still hook very early in the boot sequence to launch my own program and take over the console so that the rest of the system is invisible and initializes in the background.)

comment 5mo ago · link · parent

They probably meant 2010s.

I remember this was the time when Google started pushing the Chromebook idea and highlighting how it could boot in "just a few seconds". One of the earliest models I got as a dogfooding device probably needed 20 seconds to boot or so. Nice, compared to the awful boot times of machines with HDDs... but not stellar.

But then, in 2011, my wife bought a MacBook Air with an SSD and I was blown away. That thing booted to a full desktop (and not the joke that ChromeOS was) in... 5, 6 seconds? It was ridiculous.

And we have lost all of those gains. I find it painful to witness how a recent Mac chews through I/O during boot or doing any sort of software update (iStat Menus is great to watch this sort of thing), and how these feel slower to that early experience of 15 years ago :-/

comment 5mo ago · link · parent

> I’m starting to fall in love with CDs again.

I visited a long-time friend recently and was surprised that they were using modern LP player for music. But the surprise itself actually turned into curiosity. I got the urge to buy one too, if only to go back to the more-dedicated experience of choosing a disk from a catalog and playing it with explicit intention.

Maybe LPs are too much, but trying physical CDs again sounds like a cool idea. Especially because they can easily be rewritten and maybe I could get kids to create their own "mix tapes".

comment 6mo ago · link · parent

> More Inevitabilism posting with the “not happy with” but is-what-it-is washing of your hands

OK so, _realistically_, what can you do that will make any meaningful difference?

comment 6mo ago · link · parent

Huh, that's an angle I hadn't thought about. It'd be cool indeed!

26.

Down the memory lane with OS/2 (2020)(jmmv.dev ↗)

2 points · by jmmv · 6mo ago · discuss

comment 7mo ago · link · parent

Shameless plug for my https://blogsystem5.substack.com/p/beyond-the-1-mb-barrier-i... article from a couple of years ago. You'll find a deep dive on unreal mode (I just learned it's also known as "vodoo mode") and some hands-on code to play with it ;-P

comment 7mo ago · link · parent

I'm sorry but the landing page at fuzix.org (the top page nonetheless) is terrible as it does not even try to explain what FUZIX even IS. I went to the GitHub project page, which contains some more details, but it still doesn't answer the question and only talks about how FUZIX differs from UZI.

To be honest, I still have no idea what I'm looking at.

comment 7mo ago · link · parent

> the generated code just annoys me and the agents are too chatty

I’ve eyerolled way less with Codex CLI and the GPT models than with Claude.

comment 7mo ago · link · parent

It sounds like you haven't tried.

LLMs definitely can do this. The output tends to be overly positive though, claiming that any sort of rough draft you give them is "great, almost ready for publishing!". But the feedback you can get on clarity, narrative flow, weak spots... _is_ usually pretty good.

Now, following that feedback to the letter is going to end up with a diluted message and boring voice, so it's up to you to do with the feedback whatever you think best.

12345
16