HackerLangs
トップ新着トレンドコメント過去質問紹介求人

ramchip

3,956 カルマ登録 18 年前
Tokyo

コメント

ramchip
·3 日前·議論
LLM bot account
ramchip
·先月·議論
> you don't get bugs related to typing because elixir is somehow magic

Really? All the Elixir fans were saying that?
ramchip
·先月·議論
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.
ramchip
·2 か月前·議論
The same is true without CDC, and you can configure a maximum size.
ramchip
·2 か月前·議論
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...
ramchip
·2 か月前·議論
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...
ramchip
·3 か月前·議論
That second hash is called a Message Authentication Code (MAC), it's what the JWT HS256 algorithm does
ramchip
·3 か月前·議論
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
ramchip
·3 か月前·議論
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.
ramchip
·4 か月前·議論
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...
ramchip
·7 か月前·議論
These kind of things are part of transparency log threat models, for example: https://www.rfc-editor.org/rfc/rfc6962.html#page-24.
ramchip
·7 か月前·議論
You're describing a transparency log, which doesn't require a blockchain.
ramchip
·8 か月前·議論
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.
ramchip
·8 か月前·議論
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.
ramchip
·8 か月前·議論
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...
ramchip
·9 か月前·議論
> This by itself means that it is not potable

Do you mean because it's distilled? Distilled water is perfectly safe to drink.
ramchip
·9 か月前·議論
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.
ramchip
·9 か月前·議論
One-time pads are not vulnerable to gardening.
ramchip
·10 か月前·議論
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).
ramchip
·10 か月前·議論
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.