News for hackers. Stuff that matters.

catlifeonmars

Re:SOML – A Config Format for Humans on Tuesday November 03, 2026 @09:13AM (#50352247)
[delayed]
Re:SOML – A Config Format for Humans on Tuesday November 03, 2026 @08:53AM (#50351992)
[delayed]
Re:SOML – A Config Format for Humans on Monday November 02, 2026 @07:13PM (#50346194)
[delayed]
Re:SOML – A Config Format for Humans on Monday November 02, 2026 @03:43PM (#50343438)
TOML is probably my go-to these days.

I think where TOML shines is when your configuration schema is relatively flat and simple. If you want to heavily nest configuration it can quickly get difficult to read. I’d love a more limited version of TOML that restricts the nesting depth.

Re:SOML – A Config Format for Humans on Monday November 02, 2026 @03:37PM (#50343364)
There are numerous inaccuracies in the “Why not TOML” section of the README. Here are a few:

> CVE-2026-44244 injected a [core] section into .git/config for code execution.

Git config is not TOML. It’s an ini-based bespoke syntax

> SOML needs quotes for a literal dot.

So does TOML, the dot notation is for nested keys. You use quotes for a literal dot.

——

FWIW I like the decision to have a first class duration type.

Welcome to VoLTE :)
Re:Last night an AI agent performed brain surgery on a mouse on Monday November 02, 2026 @02:18PM (#50342109)
This is a good way to injure your snake, it definitely depends on the species and the individual temperament of the snake, but there are ways to entice a snake to eat dead mice (you can warm them, and wiggle them).

It helps to understand how snakes detect and catch prey.

Re:Last night an AI agent performed brain surgery on a mouse on Monday November 02, 2026 @09:18AM (#50337141)
> The mouse survived!

Without more context, I’m not sure if that’s better or worse

Re:Last night an AI agent performed brain surgery on a mouse on Monday November 02, 2026 @09:16AM (#50337127)
That’s not quite equivalent. For one, a responsible owner is not feeding live mice to a snake. There’s at least an opportunity to ethically euthanize the mice prior to the act.

> At least the human has the mouse’s wellbeing at heart.

You don’t know this to be true

Re:Mystery of 60-Second Fluctuations in Power Grids Solved on Monday November 02, 2026 @09:06AM (#50336959)
I do a similar thing with ping payload sizes to be able to fingerprint the traffic: I’ll use prime numbered packet sizes so that they can be detected even when the packet sizes are summed.

Btw, one of those numbers is not like the others (has more prime factors that evenly divide 60).

Re:Mystery of 60-Second Fluctuations in Power Grids Solved on Monday November 02, 2026 @09:00AM (#50336898)
> and a little bump every minute if your metrics have enough resolution

Amusingly, you can also observe periodic bumps if your metrics don’t have enough resolution, due to aliasing effects dominating signal (guestures vaguely at Nyquist frequency).

> I actually don’t know how to do that and stay under a bounded edit distance.

I’m sure there’s an interesting result there, but I am not the person to find it :D

Good episode btw

You are not wrong about the complexity of modern stacks.

However, VoLTE predates k8s adoption in most telcos and the physical network appliance == NF model is still alive and well, so it’s not necessarily a fair comparison. You’re also right about the added complexity of SIP/RTP (let’s agree not to talk about MMS lol).

How would one craft an input that maximizes the runtime of your diff while staying below some (reasonable) bound of edit distance apart? Basically suppose I wanted to provide a malicious diff designed to hang or timeout the diff program, how would I construct it?
Re:Mathematics has changed. Let's act like it on Monday November 02, 2026 @12:25AM (#50333422)
Not OP, but actually I do because I have been forced to live in places where it’s dangerous to walk and where all the scenic landscape has been replaced with asphalt.

I get your point in general, but I think vehicles are a poor analogy because in many ways they have changed the places we live for the worse (and yes I’ll concede occasionally for the better). It turns out we need places to park all of these vehicles and they compete for space with humans.

[delayed]
Re:Ask HN: Which TV do you recommend for privacy? on Sunday November 01, 2026 @11:14PM (#50333050)
I get that they’re not equivalent, price wise, but have you tried searching for “55 inch computer monitor”? They sell large ones for use in video conferencing rooms for example.
Re:Mathematics has changed. Let's act like it on Sunday November 01, 2026 @09:40PM (#50332488)
What benefit is a feudal lord to a human soul?
I was going to point out VoLTE as an example of a system which runs over IP but still retains a lot of the concepts from circuit switched days. In theory (if you’re a network operator), you could expose dedicated bearer provisioning with QoS guarantees for applications to build on top of. I guess my point is that you can have tighter QoS control if you can get off the public internet and go through carrier IPX instead.
[delayed]
Re:Decode kernel panic from QR Code photo on Sunday November 01, 2026 @07:51PM (#50331661)
That’s how link previews work on iOS (it was the cause of the zero click RCE a few years ago by executing row hammer through WebView), so I guess it depends on your software.
Re:Decode kernel panic from QR Code photo on Sunday November 01, 2026 @12:54AM (#50322827)
You can decode a QR code by hand. It’s usually not worth your while but it’s understandable.
Re:Decode kernel panic from QR Code photo on Sunday November 01, 2026 @12:53AM (#50322823)
Link previews even! Just paste it into a group chat and everyone’s message clients will happily issue a GET request.
Re:Show HN: I rebuilt Kubernetes for ESP32 microcontrollers on Saturday October 31, 2026 @02:34AM (#50313757)
What kind of overhead does the Wasm approach add in terms of memory and cpu time? I also have way too many ESP32 boards lying around
Re:Git for US Legislation on Wednesday October 28, 2026 @09:35AM (#50273302)
In practice there is a donor class and constituent class who are largely not the same set of people. The point you’re missing is how the donor class is instrumental in influencing the actual language that goes into the laws, this happens peripheral to the democratic process. For example, a spending bill where the language favors one vendor over others because that vendor paid to submit their suggested language. This is not hypothetical btw.
This is way worse than PHP2Shell in scope of impact and its effects will stick around for much longer. Well, as long as the validity period of the compromised certs anyway
Re:The Mythical Man-Month in the Age of AI on Tuesday October 27, 2026 @10:49AM (#50260235)
For large diffs, I’ll have the human driver walk me through the code in a call and if they understand it well enough to explain it to me, and explain the implications of the changes, that’s good enough for me; if they can’t answer how something works, I’ll respectfully turn down their contribution.

This cost shifting is how I stay sane and avoid burn out at work as well as stay apprised of major behavioral changes in the software we run.

I also think it’s important to emphasize that in an organization, individual productivity is secondary to group productivity, and group productivity is different than the sum of its parts.

Re:AI promised less work. I've never worked more on Tuesday October 27, 2026 @09:13AM (#50258716)
> I obviously still have my iPhone and I sometimes take it on walks during the day if I want to have a productive walk, but it mostly stays plugged in in my drawer.

You and I have different definitions of a productive walk. To me a walk is productive if I get my heart beating fast. Bonus points if I see an unusual bird or insect.

> Writing a parser for a compiler? It used to be an endeavor that took several days, now an LLM will do it in 20 mins.

Heh this used to be an interview question I gave. You’d be surprised how far people would get in 30 minutes.

Re:Cerebras Deploys Trillion-Parameter AI Models on Sunday October 25, 2026 @05:09PM (#50236087)
I don’t think I really understand the motivation to move as fast as possible. Who cares if you’re behind by 6 months? Objectively you’re still ahead of where you would be without the 6 months old tech.

Older »