News for hackers. Stuff that matters.

ramchip

Re:Norway Salmon on Monday August 03, 2026 @06:31AM (#49153846)
I think most people like uni, but it's also one of the most expensive sushi you can get at kaitenzushi
Re:Norway Salmon on Monday August 03, 2026 @06:25AM (#49153804)
Salmon sushi is very popular, but it's not part of the traditional Edomae style (fish from the Tokyo bay), so the more upscale or traditional restaurants often don't serve it.
LLM bot account
Re:Elixir v1.20 released: now a gradually typed language on Wednesday June 03, 2026 @05:15PM (#48390183)
> you don't get bugs related to typing because elixir is somehow magic

Really? All the Elixir fans were saying that?

I love the BEAM and programmed on it for many years, but it really does not provide anything like durable objects.

1) It's very difficult to ensure globally serialized ownership with strong consistency in a distributed Erlang cluster when nodes are allowed to fail. Stuff like Horde will let you do some rough "run an instance of this process somewhere in the cluster", but it's eventually consistent (you may have multiple instances at times) and doesn't deal with netsplits well.

2) Mnesia is fine to replicate state within a network switch or very reliable LAN, but not over WLAN/Internet. It can enter split brain conditions and require external reconciliation. RabbitMQ suffered from Mnesia problems for many years and ended up replacing it with their own DB implementation using the Raft protocol.

Re:Content-defined chunking added to Bazel on Saturday May 16, 2026 @07:53PM (#48164854)
The same is true without CDC, and you can configure a maximum size.
Re:Erlang/OTP 29.0 on Saturday May 16, 2026 @12:51AM (#48156933)
It's still referred as such through the official documentation: https://www.erlang.org/faq/introduction.html#idm24

You may be thinking of comments like: https://erlangforums.com/t/should-otp-be-the-standard-librar...

Re:Getting arrested in Japan on Monday May 11, 2026 @04:39AM (#48092526)
It'd be a pretty horrible system if it was possible to get anyone you dislike tortured for a month by mailing them CSAM they didn't ask for...
Re:My adventure in designing API keys on Wednesday April 15, 2026 @06:37PM (#47786253)
That second hash is called a Message Authentication Code (MAC), it's what the JWT HS256 algorithm does
Re:My adventure in designing API keys on Wednesday April 15, 2026 @03:44AM (#47775885)
The purpose of the checksum is to help secret scanners avoid false positives, not to optimize the (extremely rare) case where an API key has a typo
He's obviously not saying that you can "trust blindly" any PQ algorithm out there, just that there are some that have appeared robust over many years of analysis.
Re:A Coherent Vision for the Future of Version Control on Sunday March 22, 2026 @06:41PM (#47483031)
Looks like it's "Show Base" under the top-level "..." menu when working on a merge conflict

https://github.com/microsoft/vscode/issues/155277#issuecomme...

Re:I Wasted 8 Years of My Life in Crypto on Tuesday December 09, 2025 @07:52AM (#46204412)
These kind of things are part of transparency log threat models, for example: https://www.rfc-editor.org/rfc/rfc6962.html#page-24.
Re:I Wasted 8 Years of My Life in Crypto on Sunday December 07, 2025 @11:44PM (#46188440)
You're describing a transparency log, which doesn't require a blockchain.
Re:Microsoft's lack of quality control is out of control on Monday November 10, 2025 @09:04AM (#45876121)
Sometimes it's impossible even with an account. I can't search in English on my phone in Japan. If I go into options and change the language, the moment I click OK, it switches everything right back to Japanese. I know multiple colleagues who've had the same issue for years.
Re:Becoming a Compiler Engineer on Saturday November 08, 2025 @01:44AM (#45854666)
It's incredibly rude, and wrong, to assume that a woman was hired because she "checks off a bunch of HR checkboxes" rather than skill or hard work when you know nothing about her.
Re:Frozen String Literals: Past, Present, Future? on Wednesday November 05, 2025 @02:18AM (#45820275)
An iolist isn't a string, you can't pass it to the uppercase function for instance. It's really meant for I/O as the name implies. Regular string concatenation is optimized to avoid copying when possible: https://www.erlang.org/doc/system/binaryhandling.html#constr...
Re:A worker fell into a nuclear reactor pool on Monday October 27, 2025 @07:54AM (#45719936)
> This by itself means that it is not potable

Do you mean because it's distilled? Distilled water is perfectly safe to drink.

Re:A worker fell into a nuclear reactor pool on Saturday October 25, 2025 @11:29PM (#45708918)
From: https://www.vice.com/en/article/a-nuclear-plant-worker-fell-...

> According to federal reports, the contractor ingested some of the reactor water before being yanked out, scrubbed down, and checked for radiation. They walked away with only minor injuries and about 300 counts per minute of radiation detected in their hair.

> That sounds like a lot, but apparently it isn't terribly serious. He underwent a decontamination scrubdown and was back on the job by Wednesday.

One-time pads are not vulnerable to gardening.
Re:Don't Build Multi-Agents on Monday September 01, 2025 @07:30PM (#45097542)
Personally I found the article informative and well-written. I had been wondering for a while why Claude Code didn't more aggressively use sub-agents to split work, and it wasn't obvious to me (I don't build agents for a living).
Re:Don't Build Multi-Agents on Monday September 01, 2025 @06:52PM (#45097320)
I've done a lot of Erlang and I don't see the relation? Supervisors are an error isolation tool, they don't perform the work, break it down, combine results, or act as a communication channel. It's kind of the point that supervisors don't do much so they can be trusted to be reliable.
Re:Why Tail-Recursive Functions Are Loops on Friday August 29, 2025 @10:03AM (#45064292)
If you dereference it you get back an integer, not a variable. A variable is a name that identifies a value; the pointer points to the value, not to the name.
Re:Claude Sonnet Will Ship in Xcode on Friday August 29, 2025 @06:19AM (#45062288)
There's a free tier, and various paid tiers: https://github.com/features/copilot/plans
Re:Why Tail-Recursive Functions Are Loops on Monday August 25, 2025 @05:43AM (#45012045)
That's a pointer to an integer.
Re:Why Tail-Recursive Functions Are Loops on Tuesday August 12, 2025 @05:03AM (#44874000)
> There, the reference to `i` is being mutated.

That's rebinding. Mutation is when you change the state of an object. Variables are not objects. You can't have a reference (aka pointer) pointing to a variable.

Re:Claude Code is all you need on Tuesday August 12, 2025 @01:50AM (#44872835)
It's a wide field so it depends on the specialization. I did computer engineering 15+ years ago and we never touched SQL, but I think the software engineering people did have a class on it.
Re:Why Tail-Recursive Functions Are Loops on Monday August 11, 2025 @06:27PM (#44870200)
I think you're confusing mutation and variable reassignment?
I recommend https://ferd.ca/the-zen-of-erlang.html starting from "if my configuration file is corrupted, restarting won't fix anything". The tl;dr is it helps with transient bugs.
> Gary Marcus always, always says AI doesn't actually work - it's his whole thing. If he's posted a correct argument it's a coincidence.

https://news.ycombinator.com/item?id=44278811

I think you're absolutely right about this being a wider problem though.

Older »