Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ramchip
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
271.
▲
by
ramchip
5y ago
Master doesn't have to be the only branch that deploys to prod, you could create a hotfix branch (starting from an earlier commit) and set it to push to prod in your CI to get an emergency release out.
272.
▲
by
ramchip
5y ago
I generally setup CI to build from master and push to the test environment, then I manually promote the same artifact to prod when ready. This way there's no big "merge dev to prod" PRs, and the binary that runs in prod is 10
273.
▲
Offset Tracking with RabbitMQ Streams
(blog.rabbitmq.com)
9 points
by
ramchip
5y ago
|
1 comments
274.
▲
by
ramchip
5y ago
Mnesia isn't SQL-compatible, can't scale horizontally (each node has a full copy of the DB + writes hit all nodes), needs external intervention to recover from netsplits, and expects a static cluster. It's pretty much the opp
275.
▲
by
ramchip
5y ago
I would guess there's more than borax in it: > Traditionally borax was used as a flux for brazing, but there are now many different fluxes available, often using active chemicals such as fluorides[9] as well as wetting agents. Many
276.
▲
by
ramchip
5y ago
I agree, Task and Registry are nice, especially for newer folks, but if you know your way around OTP you can write your own specialized version in 1-2 hours. The protocols, structs and macros are game changers in comparison. All the Phoenix
277.
▲
by
ramchip
5y ago
Erlang doesn't share data between processes by default (except large ref-counted binaries) because it would cause GC pauses to be global, rather than per-process.
278.
▲
by
ramchip
5y ago
You may be thinking of the old SASL report browser: https://erlang.org/doc/apps/sasl/error_logging.html#report-b...
279.
▲
by
ramchip
5y ago
"Fact Check-Video does not show U.S. police planting evidence" https://www.reuters.com/article/factcheck-video-evidence-idU... I'm sure there's real cases of course, just this one isn't a good
280.
▲
by
ramchip
5y ago
Not OP, but httpc isn't secure by default. It works fine if you hold it correctly but I wouldn't recommend it to someone really new to the language. https://erlef.github.io/security-wg/secure_coding_and_deploy
281.
▲
by
ramchip
5y ago
All the passé options still work fine :) But yes. It's true http clients have churned quite a bit. Other things are settling better, for instance Ecto, Phoenix, Jason are very popular and stable.
282.
▲
by
ramchip
5y ago
Slots are on the heex roadmap: https://github.com/phoenixframework/phoenix_live_view/issues... I chose to stick to base LiveView in my apps because it works fine (slots are nice but not essential), and I want to a
283.
▲
by
ramchip
5y ago
Neither this article nor the referenced DZone one actually benchmarked Redis and Memcached. The numbers are taken from the 2016 paper: https://www.researchgate.net/figure/The-calculated-time-to-w...
284.
▲
by
ramchip
5y ago
As long as the postal code is legible, they can forward it to the post office for that area and let someone local figure it out. The rough shape and numbers might be enough to tell without a decoding table.
285.
▲
by
ramchip
5y ago
You've been repeating this, but it doesn't seem to be true... https://news.ycombinator.com/item?id=28262833
286.
▲
by
ramchip
5y ago
> Viewing and/or sharing code snippets is not available in your country for legal reasons. This message might also appear if your country is misdetected. If you believe this is an error, please file an issue. Wow, interesting. I
287.
▲
by
ramchip
5y ago
You can also buy proper oral rehydration solution 経口補水 in drugstores and (I think) convenience stores. Works wonders for hangovers :) Pocari is still very sweet and tends to upset my stomach a bit if I drink more than a cup or so.
288.
▲
by
ramchip
5y ago
The next sentence immediately says: > Although what Swift brings is new to the language, it's not new to tech itself. I think it's pretty clear that the author meant "brand new to Swift"?
289.
▲
by
ramchip
5y ago
It's a meditation app
290.
▲
by
ramchip
5y ago
https://www.blopeur.com/2020/04/08/Intel-x86-patent-never-en... Tl;dr: many new patents have been created over the years, for instance SSE extensions, and those haven't expired.
291.
▲
by
ramchip
5y ago
Assuming this is the main cost, at $5,000/ton it's not so far from existing extraction methods: > Most of the world’s lithium comes from brine deposits in South America, although companies like Talison also operate hard rock mi
292.
▲
by
ramchip
5y ago
In Japan: https://www.pattyyuan.com/blogv5/eco-friendly-delivery-servi... I often see those in Tokyo.
293.
▲
by
ramchip
5y ago
Speculation is about taking a risk to make a potential gain, while hedging is about reducing risk. Someone buying lumber futures as a hedge really doesn't want lumber prices to go up - it's just an insurance protection in case it
294.
▲
by
ramchip
5y ago
I've seen quite a few people that just call all automated tests "unit tests". I wouldn't read too much into it.
295.
▲
by
ramchip
5y ago
I don't follow this reasoning - why would moving to BTC as a global settlement currency make armed forces obsolete?
296.
▲
by
ramchip
5y ago
I think the major argument against that is ethical. I wouldn't invest in something that has disastrous consequences on the environment, even if the expected returns are great.
297.
▲
Kubernetes and the Erlang VM: orchestration on the large and the small
(blog.plataformatec.com.br)
3 points
by
ramchip
5y ago
|
0 comments
298.
▲
by
ramchip
5y ago
I think the idea that you don't need k8s if you have Erlang isn't entirely wrong, but it also does people a disservice by making them sound equivalent when they complement each other really well. K8s is like an additional level of
299.
▲
by
ramchip
5y ago
The actor terminology isn't used in any official sources since Erlang processes are not quite "actors" in the actor model sense. They were inspired by OS processes. http://erlang.org/pipermail/erlang-ques
300.
▲
by
ramchip
5y ago
Where do you get that figure from? I'm looking at the add/delete statistics for instance: https://github.com/facebook/react/graphs/contributors It doesn't seem possible for this to add up to 3M
More ›