Hacker Newsnew | past | comments | ask | show | jobs | submit | koala_man's commentslogin

Unsurprisingly it was buggy without the obligatory "Make no mistakes."

> Swap files have had the same performance characteristics as swap partitions for more than 20 years

I thought so too, then I benchmarked it on a (spinning rust) HDD and found it was significantly slower:

https://www.vidarholen.net/contents/blog/?p=1110

tl;dr: "In this test, using a swap file was surprisingly 50%+ slower than simply allocating a swap partition at the start of the drive, in spite of the low fragmentation and Linux’s bypass of the FS layer."


> hen I benchmarked it on a (spinning rust) HDD

Yes, but as your article notes HDDs have different performance characteristics depending on where the sectors are physically located on the platter.

If you could force the swapfile to the same location on the platter it shouldn't perform differently.

Most people are going to be using solid state where this doesn't matter.


+1. This test and its conclusions are flawed. See CAV/CLV


> The costs just get bigger.

By a constant factor no less (until we get into theoretical physics)


I spent years not upgrading because when I'm in my car asking my phone to navigate somewhere, Gemini likes to say "As a large language model I can't navigate anywhere. Try using a map application on your mobile device."

It still does it, but these days you can reply: "yes you %@#$ing can, use a tool call!!" and it will


Matching decomp would require the same compiler and flags as the original game, right? How is that determined?


Experimentally, I think. There's only a few dozen options, and you can winnow it down to just a few pretty quickly.


> OpenBSD devs making huge progress unlocking the kernel for SMP

Isn't this anachronistic for 2026? Am I misunderstand what this means?


I will try to remember him for his far too relatable Dilbert comics about corporate office life, and not his, uhm, later work.

One of my favorite strips was Dilbert in the 90s only being given a 286 PC for 3D rendering work, with the boss saying "besides, how often will you do 3D rendering in your career?"

Dilbert replies "Once, if I hurry"


I once saw a high resolution CPU graph of a video playing in Safari. It was completely dead except for a blip every 1/30th of a second.

Incredible discipline. The Chrome graph in comparison was a mess.


Safari team explicitly targets perf as a target. I just wish they weren't so bad about extensions and adblock and I'd use it as my daily driver. But those paper cuts make me go back to chromium browsers all the time.


I find Orion has similar power efficiency but avoids those papercuts: https://kagi.com/orion/


> The intention was to prevent tooth decay by regulating candy intake.

Yes, but crucially not by reducing candy intake.

The result of the study was that the amount of sugar didn't particularly matter, but frequency of intake and stickiness did.


I'm Norwegian and concluded that she meant when ordering, such as for a choice of potatoes or pasta.

This makes sense since the context is translation for tourism.

Otherwise, the normal, casual way would be "kan du sende potetene?" i.e. "could you pass the potatoes?", lit. "can you send the potatoes?"

(This assumes it wasn't physically possible to simply reach across people to grab it yourself with what's known as "the Norwegian arm")


Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: