News for hackers. Stuff that matters.

koala_man

Re:Show HN: Quake ported to safe Rust, playable in browser on Friday October 09, 2026 @01:49AM (#50016483)
I would never have imagined a phone web browser capable of this in 1996 between playing Quake and testing out the hot new JavaScript powered mouse rollover image effects in Netscape Navigator 2.0
Unsurprisingly it was buggy without the obligatory "Make no mistakes."
Re:Stop making swap partitions–use swap files instead on Friday September 11, 2026 @03:16PM (#49663838)
> 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."

> The costs just get bigger.

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

Re:Google Assistant is going away on Mobile Devices on Wednesday August 05, 2026 @11:57AM (#49184651)
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?
Re:OpenBSD: PF queues break the 4 Gbps barrier on Thursday March 19, 2026 @10:01PM (#47449479)
> OpenBSD devs making huge progress unlocking the kernel for SMP

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

Re:Scott Adams Dead: Dilbert Creator Was 68 on Tuesday January 13, 2026 @11:31AM (#46603261)
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"

Re:Ask HN: Why hasn't x86 caught up with Apple M series? on Tuesday August 26, 2025 @10:12AM (#45026857)
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.

Re:Lördagsgodis (Saturday Sweets) on Wednesday August 13, 2025 @07:22AM (#44887094)
> 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.

Re:What Google Translate Can Tell Us About Vibecoding on Wednesday June 18, 2025 @01:31PM (#44311778)
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")

> Meta went from 2K to 10K+ from 2018 to 2025

Facebook rebranded to Meta in October 2021

Good call. O(N^2) is the worst time complexity because it's fast enough to be instantaneous in all your testing, but slow enough to explode in prod.

I've seen it several times before, and it's exactly what happened here.

My bad. I had been reading about how there's a frustration in the community that allistic people refuse to explain why such statements are wrong, and instead just repeat "you know what you did!" to people who genuinely don't.

I tried to be the one who didn't do that, but missed the mark. I'd delete it if I could.

This question is logically sensible but considered emotionally abhorrent. If you haven't been tested for autism you should consider taking a quiz.
Re:You can't Git clone a team on Monday May 05, 2025 @03:40PM (#43898670)
The article starts off saying that if you want people with real full stack experience, from kernel to UX, you need to grow it.

It goes on to say that it's hard to find and develop expertise for low level software like hypervisors.

What's the connection between the topics? It feels like two different rants.

If it's difficult to find kernel developers then wouldn't it help to not require them to also know web UX?

Ask HN: What are your fun tech anecdotes?

It's Friday and I'm hoping for your fun tech related anecdotes!For example, I once came into the office to see the entire team standing around one computer, chuckling.The guy at the keyboard said "now watch this!", hit some keys, and the group erupted in raucous laughter.I went around to see what they were laughing about.It was an assembly dump on Godbolt.

( Read More... | no comments | 2 points | on HN )
Re:S1: The $6 R1 Competitor? on Wednesday February 05, 2025 @12:18PM (#42951829)
It feels like we're back in 1900 when anyone's clever idea (and implementation) can give huge performance improvements, such as Ford's assembly line and Taylor's scientific management of optimizing shovel sizes for coal.
Re:Branchless UTF-8 Encoding on Friday January 17, 2025 @04:46PM (#42743600)
I'm surprised there are no UTF-8 specific decode instructions yet, the way ARM has "FJCVTZS - Floating-point Javascript Convert to Signed fixed-point, rounding toward Zero"
Re:Fighting spam with Haskell at Meta (2015) on Sunday December 22, 2024 @07:15PM (#42490388)
I worked on this project for a week during the FB team matching process.

I had previous Haskell experience, but what struck me was how irrelevant that was.

To their immense credit, they had managed to use Haskell to write an entirely entreprise focused, "boring" business rule backend serving millions of QPS, and people who were not Haskell fans could easily use its sensible DSL to accomplish their goals.

Way too many Haskell projects are about Haskell itself, so this was really fascinating to see.

> doesn't use enough anesthetic

My school dentist always botched the anesthesia, and afterwards I had to grind my teeth for three days to make them fit together again.

I never told anyone because adults kept saying dentistry hurts so I assumed it was normal. I didn't realize how fucked up this was until I went to college and experienced a competent dentist for the first time.

Re:Optimizing the Ion compiler back end on Wednesday October 16, 2024 @05:01PM (#41863819)
> extremely large functions > quadratic behavior

*High five*

I fixed several of these during my time as a compiler engineer too.

It's true what they say, quadratic is the worst possible time complexity. Fast enough to work on all your test cases, slow enough to explode in prod.

> one website

I'm guessing gov.uk is hoping that this will become some kind of standard, at least for British resources.

Re:The Best $4 Ever Spent on Friday September 27, 2024 @08:58PM (#41677010)
Tbh if you've never done either, I can absolutely see why getting on and riding a machine 1000x your size is a bigger deal than seeing various animals from a distance.
Re:Falsehoods programmers believe about TCP on Saturday September 14, 2024 @07:49PM (#41543991)
I remember the address one. It was fantastic and I loved it. I wish they were all that helpful.
Re:Falsehoods programmers believe about TCP on Saturday September 14, 2024 @04:00PM (#41542411)
I find this "falsehoods programmers believe" format of making pointed claims that you intentionally don't clarify to be unhelpful and obnoxious
Maybe it works better on cold blooded animals
Re:Understanding QEMU Devices (2018) on Thursday June 06, 2024 @11:53AM (#40598913)
Back in the day I ran Bochs in all its 4 Bogomips glory on a university IP address and went to IRC channels where script kiddies were "trading root".

I let them go first, and watched through an instrumented terminal how they clumsily installed a rootkit, then inevitably refused to give anything in return and laughed calling me a noob.

Their laughter was short lived.

I had even spent quite a bit of effort kludging the kernel to report much higher specs than Bochs could deliver, but all that effort was wasted because no one knew how to check.

Re:Ask HN: What was your most humbling learning moment? on Monday June 03, 2024 @11:25AM (#40563600)
A coworker similarly said "WAIT--reindeer are REAL??"

I'm thankful I had maturity to simply say "yes, they're in the deer family, native to Canada and Northern Europe".

She was from China where they probably rarely mention reindeer, and only in the context of Santa Claus.

It's no different from a Westerner rarely hearing about tanukis, and only in the context of trickster spirits in anime and Super Mario Bros 3. How are you supposed to know they're real?

Older »