Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
petters
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
57 ms
·
661.
▲
by
petters
9y ago
This is the API: int moustique_listen(const char* port, G closed_connection_handler, H data_handler); int moustique_listen(int listen_fd, G closed_connection_handler,
662.
▲
by
petters
9y ago
> I've always liked that youtube uses PHP Perhaps you are thinking of Facebook?
663.
▲
by
petters
9y ago
Facebook also tracks users across the web, isn't that what the like buttons are for?
664.
▲
by
petters
9y ago
Strange to see this on the front page. I mean, it was probably a good learning experience, but a CSV parser written in pure Python is not going to be faster than numpy. There must be something wrong with that benchmark. I don't see how
665.
▲
by
petters
9y ago
Here is a meal from these ingredients by a Google chef: https://gsuite-developers.googleblog.com/2014/09/sudoku-line... > Google Chef Anthony Marco took it as a challenge, and we’re calling the result Foie Liné
666.
▲
by
petters
9y ago
After the replication crisis and "Why Most Published Research Findings Are False," I am very sceptical of statistical findings like this with a poorly/not understood mechanism. But the RNA theory at least sounds possible to l
667.
▲
by
petters
9y ago
JS in SVGs is very useful. See for example Gregg's flame graphs: http://www.brendangregg.com/flamegraphs.html
668.
▲
by
petters
9y ago
1. Even if it is of infinite capacity, one datacenter will not be able to store everything . The data needs to be moved there as well. 2. My point was that there's no way NSA will use the data stored there in ways that will give the e
669.
▲
by
petters
9y ago
> It would cause economic ruin, social turmoil, and worse on a huge scale. I don't think this is true at all. No one has the capacity to store everything and governments would be the ones that come closest. Why would they cause all
670.
▲
by
petters
9y ago
Of course, global optimization using the Lipschitz constant has been around for decades. As far as I understand, this paper also estimates the constant. Is that the novelty or is it the convergence proofs? Another method for global optimiza
671.
▲
by
petters
9y ago
I’ve had fun playing this with friends, so I cleaned up the code a bit and converted it to Python 3.5 + aiohttp. Most fun to play in the same room, IMO.
672.
▲
Show HN: Real-time Chess
(github.com)
3 points
by
petters
9y ago
|
1 comments
673.
▲
by
petters
9y ago
The movie Modern Times (1936) had a video phone in the factory, if I recall correctly.
674.
▲
by
petters
9y ago
Yes, and lack of proper tools is of course the main reason against a monorepo. Google had to develop most of its dev tools internally.
675.
▲
by
petters
9y ago
There is a relatively large distance between the native approach and kd-trees. I'm not sure that can be explained with equidistance alone. There might be a subtle bug.
676.
▲
by
petters
9y ago
I think this is true. In Stockholm, Google pays engineers much more than native Swedish companies (it seems).
677.
▲
by
petters
9y ago
I have a policy that if an app sends a single undesired notification, I disable its notifications forever. That even Google violates its own Android notification guidelines is annoying.
678.
▲
by
petters
9y ago
Well, you can define a function in Java called setFoo, but that instead sets bar. Similar. You can intentionally confuse in most letters if you want to.
679.
▲
by
petters
9y ago
I like the fact that in C++, the line x = y; behaves the same if the types are int and vector<int> (unlike e.g. Java and Python).
680.
▲
by
petters
9y ago
> where we are able to find a route traversing 734 cities only 7.5% longer than the optimal in less than 25 seconds I could be wrong, but that does not sound like a very good method. But I am all for people writing blog posts and explori
681.
▲
by
petters
9y ago
Machine translation has become really, really good. I did not spot many mistakes.
682.
▲
by
petters
9y ago
I don't agree. Language designers are optimizing common use cases and that is a good thing.
683.
▲
by
petters
9y ago
OK, fine. 30s and 40s, then.
684.
▲
by
petters
9y ago
Yes. It follows from the wave equation.
685.
▲
by
petters
9y ago
Of course no one says that on their deathbed. Many people on their deathbeds have been retired for more than 20 years. People in their 20s often care about their career. People in their 80s often do not. Who's right? It's often a
686.
▲
by
petters
9y ago
Why do all the boards need to be kept in memory during the search?
687.
▲
by
petters
9y ago
No, humans are pretty terrible at approximating e.g. TSP or max-cut. I don't think it is a good definition of intelligence.
688.
▲
by
petters
9y ago
No, they are far too complex.
689.
▲
by
petters
9y ago
Constexpr everything can cause issues. Constexpr is a big part of a function interface. After you have applied it, you can never add logging etc.
690.
▲
by
petters
9y ago
Do I have to register for the SAT solver? Their web page says: "We are currently in Alpha Test. Users can submit problems via our SaaS portal in Conjunctive Normal Form (CNF), which ultimately represents the normal form of Boolean prop
More ›