News for hackers. Stuff that matters.
Re:Neural programmer better than Quicksort by jcelerier on Friday July 10, 2020 @10:54AM (#23792067)
> There's a place for fast sorting algorithms which are correct most of the time - basically anything non-critical, like sorting comments by upvotes.

Nothing saddens me more than this trend of the modern web where everything works semi-probabilistically (even if it's likely for "good" technical reasons, such as, "we wrote our server backend in Ruby which is slow as molasses so now we need 230 CDN and 800 databases instances around the whole world and transformed our simple centralized problem into an horrendous decentralized one).

The central reason for me to use computers is that they are (or at least were) deterministic to a much higher degree that normal life, and so many things in the 10 last years becoming much more non-deterministic in particular on social websites is something that frustrates me every single day as it just makes the whole experience and process of using computers & the web very unreliable compared to what it used to be.

Re:Neural programmer better than Quicksort by gdoptimizer on Friday July 10, 2020 @11:30AM (#23792515)
Jim Keller once said randomness was baked in the modern computer chip design. The execution routes were almost always different even if you ran the same deterministic code for multiple times. But in the end you got the same result almost every single time (“almost” has many 9s after the decimal point). But this layer of operations has been abstracted away from most of us. So don’t feel too sad... maybe the world has been like this for a long time
Re:Neural programmer better than Quicksort by diegoperini on Friday July 10, 2020 @11:05AM (#23792195)
Today's perfections are yesterday's "good enoughs". Don't be sad for the trend. In 10 years, you will have new perfections to enjoy.
Re:Neural programmer better than Quicksort by UncleOxidant on Friday July 10, 2020 @01:20PM (#23793866)
Like the probabilistic bank account balance. "You have between $10 and $1000 with the greatest likelihood being $537 (52% chance)."
Re:Neural programmer better than Quicksort by FabHK on Friday July 10, 2020 @02:55PM (#23794965)
There was this thread a while ago with HSBC switching to MongoDB... so, yeah, distinct possibility :-)

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

(The article was very light on details though, and it was probably just one team that consolidated to MongoDB, not the accounts itself... one hopes.)

Re:Neural programmer better than Quicksort by adonese on Saturday July 11, 2020 @02:50AM (#23800141)
A friend of mine went to a doctor, and after the medical lab the doctor told him you either have malaria or typhoid.

This trend seems to be everwhere

Re:Neural programmer better than Quicksort by ojbyrne on Friday July 10, 2020 @11:36AM (#23792591)
I think the good technical reasons are quite often the CAP theorem.
Re:Neural programmer better than Quicksort by jcelerier on Friday July 10, 2020 @01:00PM (#23793589)
I know, but my argument is that a lot of time (not always, of course) the "distributed" issues could just be solved by not building a distributed system in the first place and just having more efficient tech stacks & a few big servers.

Stackoverflow was just using 4 db servers in 2016 (https://nickcraver.com/blog/2016/02/17/stack-overflow-the-ar...)