Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ramchip
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
481.
▲
by
ramchip
10y ago
I found this: http://www.bbc.com/news/health-32798569
482.
▲
by
ramchip
10y ago
Either you need to tweak your calorie limit down (it's above what your body needs for maintenance, which varies from person to person), or you're forgetting to count some items. It may be hard to limit calories without feeling hun
483.
▲
by
ramchip
10y ago
I'm not sure if you're being serious, but a random bit flip can easily put a process in an incorrect state rather than make it crash (say charge a user $1000000 instead of $1), or affect a pointer (of which Erlang uses a ton int
484.
▲
by
ramchip
10y ago
Comments like this never fail to make me smile: + // Don't do anything if the process_path length is > PATH_LENGTH + if (strlen(process_path) > PATH_LENGTH) + return;
485.
▲
by
ramchip
10y ago
Private (a.k.a. non-exported) functions affect how the compiler optimizes code, at least around inlining.
486.
▲
by
ramchip
10y ago
Elixir is not (fully) self-hosted either. There's interesting discussion on the mailing list about this: https://groups.google.com/d/msg/elixir-lang-core/K9i3uBSPKZI...
487.
▲
by
ramchip
10y ago
> it is just a shame that there isn't some ML like language that compiles to Erlang bytecode. There is! https://github.com/alpaca-lang/alpaca It's very new, though. I wouldn't write production stuff
488.
▲
by
ramchip
10y ago
At 15k notifications per minute, a million notifications would take 1hr to clear before the queue returns to normal. I would imagine they prefer to shed load early so notifications don't get delayed, hence the small buffer.
489.
▲
by
ramchip
10y ago
Erlang was built as a concurrent language for fault tolerance, not performance. The best example of a trade-off I can think of is the preemptive scheduling: Erlang switches between processes very often, which has a cost in performance but e
490.
▲
by
ramchip
10y ago
Erlang processes are quite different from worker threads in other languages, since they're green threads (not OS threads). I'm not even sure if the expression "worker thread" was in common usage when the language was cre
491.
▲
by
ramchip
10y ago
I think that's just a stereotype, and people in Japan would also find it very strange.
492.
▲
by
ramchip
10y ago
> In Japan a vibrating bed is seen as technological sophistication What makes you think that?
493.
▲
by
ramchip
10y ago
Erlang is actually compiled, and binaries above a certain size are reference-counted rather than copied between processes. It still makes various compromises like using bignums and doing preemptive scheduling which make it slower in general
494.
▲
by
ramchip
10y ago
I'm quite in shape, and yet I also find it tiring to lug around a laptop to and from work. There's a big difference between carrying a few pounds in body weight, and carrying it concentrated on one shoulder. (A backpack would prob
495.
▲
by
ramchip
10y ago
If I understand your comment correctly, this is checked in more recent versions of React: https://facebook.github.io/react/warnings/unknown-prop.html
496.
▲
by
ramchip
10y ago
It ended up with order sanity checks being implemented for all manual trading systems at Mizuho. Things like blocking an order if it's more than 10% away from the market mid, etc. You shouldn't fix an issue like this with UI valid
497.
▲
by
ramchip
10y ago
> Someone who publishes a replication is, in effect, saying something like,“You found an effect. I did not. One of us is the inferior scientist.” Wow... I really don't see it like that.
498.
▲
by
ramchip
10y ago
I think that's a cool idea. It would have the downside that error recovery could take a while though, depending on the permdown period, so during that time a driver would be stuck; while in a request-based system they can immediately t
499.
▲
by
ramchip
10y ago
I've given that kind of model a lot of thought too, but I did not find very satisfying solutions to these problems: - How do you distribute the car actors on nodes, assuming the number of nodes is variable? (I think riak_core looks int
500.
▲
by
ramchip
10y ago
As the article mentions: > the companies were selling products below the cost of manufacture and that the Chinese companies were benefiting from unfair subsidies from their government. I assume Foxconn does not get subsidies to sell iPho
501.
▲
by
ramchip
10y ago
Probably because programmers new to OO tend to use them when inheritance/interfaces would be cleaner (case cat, case dog, etc.)
502.
▲
by
ramchip
10y ago
I like it when there's a blog post with the release, explaining a new approach to garbage collection in Go, or a new abstraction to organize processes in Elixir, etc. But this particular post appears to be just some fixes with no conte
503.
▲
by
ramchip
10y ago
This made a lot more sense after I saw your profile: > Working as shift engineer in power plant
504.
▲
by
ramchip
10y ago
My app does not use small modules... but its dependencies do, and the dependencies' dependencies, so in the end my node_modules folder has hundreds of packages and everything compiles slow like molasses :(
505.
▲
by
ramchip
10y ago
> It seemed to me that their post needed to distinguish between Gb, gigabit, and GB, gigabyte. I disagree: the post makes perfect sense either way.
506.
▲
by
ramchip
10y ago
> I'm surprised an enterprising company hasn't come along that allows you to pick all of our stocks, and allow them to be rolled up in an index. Do you mean basket trading? https://www.interactivebrokers.co.jp/j
507.
▲
by
ramchip
10y ago
I would expect it to be a common use case in actor-based systems like Erlang, Akka, etc. It's perfectly supported to have 100k+ processes running in an Erlang VM, but the vast majority of them will have an empty message queue at any gi
508.
▲
by
ramchip
10y ago
My personal anecdote to illustrate the difference: I've worked on a python app before which had a bug that sometimes made the websocket closed callback throw an exception. The exception was still being caught by the framework, so the s
509.
▲
by
ramchip
10y ago
There's a minimum karma required to be able to downvote.
510.
▲
by
ramchip
10y ago
I don't understand how arbitration would work. Say "A" buys something from "B". Later "A" complains what was shipped isn't what he ordered. How do you solve this with a blockchain and votes?
More ›