Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stabbles
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
691.
▲
by
stabbles
8y ago
Cause obviously the heavy machinery to process all nine yes-or-no-questions can never be implemented client side
692.
▲
by
stabbles
8y ago
Of course sorting floats happens a lot. In practice one rarely encounters NaN's and ±Inf's, so fast comparison for concrete values is the default. I don't know why the 'slow' total order is not implemented in hardwa
693.
▲
by
stabbles
8y ago
Yes, the literal < in the language induces a partial order by convention. What I'm getting at in my comment is that you can define a sensible total ordering.
694.
▲
by
stabbles
8y ago
Isn't there a default total order for floats? E.g. -Inf < -1.0 < -0.0 < 0.0 < 1.0 < Inf < NaN?
695.
▲
by
stabbles
8y ago
As op admits
696.
▲
by
stabbles
8y ago
I wanted to comment about this as a LPT because of past experiences, then went to run `brew update` and `brew upgrade` which took more than an hour because it had to build a new version of LLVM from source... Then I ran `brew cleanup` and b
697.
▲
by
stabbles
8y ago
Julia has 2400 open issues and 660 open PRs ( http://kristofferc.github.io/post/julia_issue/ 2017)
698.
▲
by
stabbles
8y ago
I made a habit of using automatically disappearing messages in chat using Signal (after a day or week). You have to manually save important messages, but typically this is not an issue. The only downside is that the Signal servers may store
699.
▲
by
stabbles
8y ago
Ah, this is very nice! Also a great tool to teach people SQL :)
700.
▲
by
stabbles
8y ago
Looking at the Rust source [1] it seems there the `next()` call has some overhead, so it's probably not the compiler. I remember this was simple to implement in Julia [2] where you can iterate over the full range `for i = typemin(Int):
701.
▲
by
stabbles
8y ago
Well, that seems more like an issue with the compiler then, cause avoiding overflows would not result in a 2x slow-down in C or C++.
702.
▲
by
stabbles
8y ago
This was useful to me when doing Project Euler exercises, but I wouldn't know how to prove this generates all triples.
703.
▲
by
stabbles
8y ago
Yes, that's the main contribution of the experiment / paper. But prior to AlphaZero the chess community did not even consider investing in MCTS engines -- alpha-beta pruning was thought to be far superior. I'm thinking that w
704.
▲
by
stabbles
8y ago
I agree. There is no explanation why the neural nets work so well. There is just proof it works well for a handful specific games (Chess, Go, Shoggi). Beyond that it's just inference to the claim that neural nets work for all two-pla
705.
▲
by
stabbles
8y ago
What's very interesting is that the Komodo developers have implemented a Monte Carlo Tree Search version of their engine without neural nets for evaluation / move selection. This brand new engine can actually compete at the top
706.
▲
by
stabbles
8y ago
Very roughly you can think of AlphaZero as a best-first tree search, where 'best' is some statistical estimate.
707.
▲
by
stabbles
8y ago
It's amazing how much of a stir the C++20 ranges have caused. Very entertaining to follow.
708.
▲
by
stabbles
8y ago
It's built with good old bootstrap & jquery. It feels faster than most modern web apps.
709.
▲
by
stabbles
8y ago
I can't think of any reason anyone would want to switch to this IDE. Is it a natural choice for NetBeans users? Are there even NetBeans users left?
710.
▲
by
stabbles
8y ago
Not really the same, but this reminds me of the top comment of the Dropbox announcement: https://news.ycombinator.com/item?id=8863
711.
▲
by
stabbles
8y ago
In C++ with short string optimization short strings are on the stack while longer strings are on the heap. That's the difference between a cache hit and a cache miss.
712.
▲
by
stabbles
8y ago
I think it is discontinued (the link to the app is broken). Any idea why?
713.
▲
by
stabbles
8y ago
Why is an announcement of a patch release on the front page of Hacker News? Just because it's about Rust?
714.
▲
by
stabbles
8y ago
Out of genuine curiosity, what exactly is novel about this? Isn't back-propagation just the chain rule (i.e. as old as calculus). And I figure 'gradient descent' was discovered not long after?
715.
▲
by
stabbles
8y ago
It's possible to interpret your comment as a direct response addressing the mother who put out the tweet, which seems very inappropriate. The point you're making might be true, but maybe it's better to rephrase it.
716.
▲
IMF warns storm clouds are gathering for next financial crisis
(theguardian.com)
4 points
by
stabbles
8y ago
|
0 comments
717.
▲
by
stabbles
8y ago
The php dev landscape is pretty wide. On the one hand there's wordpress developers that can only use "f5-debug", on the other hand there's software developers that use TDD with PHPUnit and Behat.
718.
▲
by
stabbles
8y ago
> Even JavaScript is miles better (PHP has a type system equally as bad, if not worse). That's just not true. Just one example: PHP will throw runtime errors when (1) an argument type being passed to a function does not match its co
719.
▲
by
stabbles
8y ago
If the goal is to save resources, maybe it's worth switching to Go entirely. It's a shame the article does not explain what was unsatisfactory about php-pm [1], which is a native php solution that also allows the application to bo
720.
▲
by
stabbles
8y ago
After the new media query 'prefers-color-scheme: dark' has landed, we now need 'prefers-content: tldr' as well.
More ›