Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ramchip
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
151.
▲
by
ramchip
3y ago
The clerk just meant they didn't know for sure :) I think there's a misunderstanding somewhere because in Japan "do you have X" and "do you not have X" would elicit the same response in the negative case (somet
152.
▲
by
ramchip
3y ago
No, I use iex (interactive Elixir), Numbers, and Wolfram Alpha depending on the problem.
153.
▲
by
ramchip
3y ago
A mid-career hire would be paid in line with their age rather than years of service.
154.
▲
by
ramchip
3y ago
Do you have a source? It sounds odd to me that storing data for say 2*N users would be a significantly bigger problem than for N.
155.
▲
by
ramchip
3y ago
> How does Erlang serialize messages? It doesn't because it messages itself, so the message format is native to itself. I don't get the difference you're drawing... the in-memory and on-the-wire representation of terms are
156.
▲
by
ramchip
3y ago
There's a whole list of "sister sites" in the right sidebar
157.
▲
by
ramchip
3y ago
These build on the facilities you're quoting: Phoenix uses hot reload to enable smooth local development, Phoenix pub/sub builds on OTP distribution, Docker builds use OTP releases, ETS tables are everywhere... Mnesia is the only
158.
▲
by
ramchip
3y ago
It's only at creation time. When you lookup the record after that you can use the ID directly, and then you don't hit the locality problems from the article.
159.
▲
by
ramchip
3y ago
You can use the DB for this as well, just make a table e.g. "requests" with two columns, the user and the request token. Old entries can be purged on a cron job. If you add a column to store params as well then you can also do bet
160.
▲
Elixir v1.15 Released
(elixir-lang.org)
86 points
by
ramchip
3y ago
|
6 comments
161.
▲
by
ramchip
3y ago
The comparison choices are strange. XXL-JOB, but not Airflow or Temporal?
162.
▲
by
ramchip
3y ago
If only there was some kind of specialized news website for hackers to share this...
163.
▲
by
ramchip
3y ago
I mean for async assigns specifically. I did something like this in the past and had some troubles with render_click returning the html before the async update completes.
164.
▲
by
ramchip
3y ago
Does this work well with tests? For instance, if you click a button in a test, do you need to do something special to ensure the async update has happened before checking assertions on the HTML contents?
165.
▲
by
ramchip
3y ago
Any recommendations for a good B&B in Bakhmut?
166.
▲
Erlang/OTP 26 Highlights
(erlang.org)
259 points
by
ramchip
3y ago
|
89 comments
167.
▲
by
ramchip
3y ago
Sencha is a type of green tea
168.
▲
by
ramchip
3y ago
It does JIT with AsmJit (not LLVM).
169.
▲
by
ramchip
3y ago
Yeah, if we say the three stages are 1) leather (shoe), 2) cotton (sock), 3) cotton + rubber (shoe), then (1) is extinct but (2) and (3) both exist today.
170.
▲
by
ramchip
4y ago
It was a big thing in Japan too, so much that McDonald's stopped selling medium & large portions of French fries: https://asia.nikkei.com/Business/Food-Beverage/Japan-fast-fo... A few years ago we had pro
171.
▲
by
ramchip
4y ago
Large GC jobs get scheduled on dirty schedulers today (a background thread pool), since it's not OK to block a normal scheduler more than 1ms or so in Erlang. If they could be split into smaller chunks of work, perhaps it could be done
172.
▲
by
ramchip
4y ago
I... what? Around me, questioning the war gets you labelled as Putin critic, not an apologist. He literally started the war.
173.
▲
by
ramchip
4y ago
Your explanation of structural sharing makes sense but there's a lot of nuance there: 1. Elixir strings are Erlang binaries (byte arrays), not charlists. Charlists are becoming rare nowadays even in Erlang because they're so memor
174.
▲
by
ramchip
4y ago
Quorum queues already solve this problem today. They pass a "harsher" fork of Jepsen, according to the RMQ team. Khepri is a newer project that reuses the Raft library developed for quorum queues to store metadata, as a replacemen
175.
▲
by
ramchip
4y ago
> approximately 2ppm per hour per pot In what environment? 2ppm in a small enclosed room and 2ppm in a large warehouse are very different quantities of CO2.
176.
▲
by
ramchip
4y ago
> And this explains why Erlang hasn't conquered the world. I suspect the reasons are less technical than marketing, timing, etc. It takes some experience to appreciate what it does - it's not an obvious sell like "get a we
177.
▲
by
ramchip
4y ago
The comment might predate the submission URL change https://news.ycombinator.com/item?id=34617088
178.
▲
by
ramchip
4y ago
Virding's First Rule of Programming: > Any sufficiently complicated concurrent program in another language contains an ad hoc informally-specified bug-ridden slow implementation of half of Erlang. http://rvirding.blogspot
179.
▲
by
ramchip
4y ago
Yeah, OP took a shortcut here :) The nuance is that most languages let you build reliable programs _if your code is correct_ - if you're using defers, context handlers, finalizer, cleaning up state in shared data structure, etc. Erlang
180.
▲
by
ramchip
4y ago
Is it much worse than Phoenix, Rails, Buffalo, Spring...?
More ›