Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vitus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
541.
▲
by
vitus
4y ago
(The generalized term for a polyhedron in higher dimensions is a polytope, by the way.) Don't forget that you can also use LP relaxation ("well, what if we didn't need everything to be integral?"). If it comes out with i
542.
▲
by
vitus
4y ago
> how much of this is to favor cache hits for streams over picking the bytes up out of storage. Netflix's catalog historically has been small enough that it can fit within a single rack. With 8Mbps [0] bitrates for 4k (okay, add 50%
543.
▲
by
vitus
4y ago
This is great, if your user report has enough details for you to replicate the problem in a test case. More often than not, I spend a fair amount of time looking for error logs, tracing through the code, and generally getting a good sense o
544.
▲
by
vitus
4y ago
In this case, a is the first value to be initialized, but it's using the value of `b` (which is uninitialized).
545.
▲
by
vitus
5y ago
I will point out that in the first two issues, the repo owners also edited the initial report with something along the lines of "removed ad". I disagree that the first isn't a complaint -- the owner stated that this behavior
546.
▲
by
vitus
5y ago
Some negative reactions: https://github.com/mitmproxy/mitmproxy/issues/5285 https://github.com/Qiskit/qiskit-terra/issues/7981 https://github.com/beetbox/b
547.
▲
by
vitus
5y ago
Don't forget the celebrated Bayes theorem that falls directly out of the definition of conditional probability P(A|B) = P(A & B) / P(B). If you had to squint at it and turn that into P(B|A) = P(A & B) / P(A), you'
548.
▲
by
vitus
5y ago
> edit: Just noticed that the Hetzner server in VA geolocates wrong and chooses servers in Kansas. This is a common failure mode of geolocation, especially as it pertains to cloud providers. The databases can guess which country the IP a
549.
▲
by
vitus
5y ago
This is one of the biggest selling points of fast.com -- it's served from the same Netflix domain + servers that also stream video (nflxvideo.net). If ISPs want to make fast.com fast, then they need to do so for all of Netflix.
550.
▲
by
vitus
5y ago
Even in a wired context, frame-based protocols inherently utilize TDMA (over multiple channels), just not on timescales you normally think about. If I'm not mistaken, the radio example uses both frequency division and time division. Yo
551.
▲
by
vitus
5y ago
I smiled when I saw that your pasta dish included chicken, another example of how food evolves.
552.
▲
by
vitus
5y ago
I'm not sure I follow. 2 * 3 * time.Second is the same whether you group 2 * (3 * time.Second) or (2 * 3) * time.Second (namely, the implicit grouping under left-associativity). You wouldn't normally write time.Sleep(time.Second *
553.
▲
by
vitus
5y ago
Not true. If it were based on cost of living, then Google would pay more for you to work from Hawaii than from Alabama. (Spoilers: it doesn't, they're both in the same salary band.) It's slightly more true that it's base
554.
▲
by
vitus
5y ago
The limit is based on what the Census bureau dictates the metropolitan statistical area to be. Certain MSAs with Google offices correspond to a special rate; otherwise it's based on the state you're in. If you're in Sacrament
555.
▲
by
vitus
5y ago
It's worth noting that there are two dictionaries used in this implementation: "possibleWords" (from which the solution can be drawn) and "impossibleWords" (other words that are valid guesses). https://qn
556.
▲
by
vitus
5y ago
And it's telling that we're in 2022 and still the only compiler with full C++ module support according to cppreference [0] is MSVC. [0] https://en.cppreference.com/w/cpp/compiler_support https:/&#x
557.
▲
by
vitus
5y ago
Yeah. Priority queue backing is the most common way of introducing the algorithm, although fib heap achieves better asymptotic performance in the general case. Here the number of edges is linear in the number of vertices (at most 4x) so it
558.
▲
by
vitus
5y ago
Beyond that, deaths lag behind hospitalizations by several weeks for obvious reasons -- most people who get sick enough to die from the virus will end up going to the hospital first.
559.
▲
by
vitus
5y ago
CNBC followup the next day: https://www.cnbc.com/2021/04/16/lawyer-hometown-internationa... > In a 2015 letter to Hometown International, SEC staff wrote, “We believe you are a shell company.”
560.
▲
by
vitus
5y ago
Fib is a weird case because it's the poster child of dynamic programming. The challenge in this case is that each call spawns multiple recursive calls, and you're ultimately just adding 1's and 0's (so your runtime is co
561.
▲
by
vitus
5y ago
Well, it's more notable how the symptoms are evolving. Used to be that fever + cough + loss of smell / taste were the most commonly reported symptoms (probably in part due to how noticeable they are, and unlikely to be confused wi
562.
▲
by
vitus
5y ago
IMO the most important line in that blog post is: > Google is aware of reports that an exploit for CVE-2021-4102 exists in the wild.
563.
▲
by
vitus
5y ago
When the definition is far from the use of auto, that's exactly the case where I think repeating the type is meaningful. Yes, it's noise to write: std::unique_ptr<MyWidget> widget = std::make_unique<MyWidget>();
564.
▲
by
vitus
5y ago
> Even if you don’t need to handle several types, this can be useful to avoid repetition and make the code more compact and readable. ... > namespace1::namespace2::namespace3::ACertainTypeOfWidget Deeply nested namespaces are problema
565.
▲
by
vitus
5y ago
> Isn't The Economist a US publication? "The Economist Group (legally The Economist Newspaper Limited) is a media company headquartered in London, England. It is best known as publisher of The Economist newspaper and its sister
566.
▲
by
vitus
5y ago
Good news, it is going to die. https://openjdk.java.net/jeps/411
567.
▲
by
vitus
5y ago
In case anyone's wondering about the value of p converging "somewhere above 1/3" and doesn't want to wait for the next installment, it converges to 1/e. https://en.wikipedia.org/wiki/Derang
568.
▲
by
vitus
5y ago
Especially since Cloudflare went public back in 2019, at which point any investors cashed out. - Sincerely, a Google employee who has nothing to do with the investment branch of the company
569.
▲
by
vitus
5y ago
Well... yes and no. If it is indeed a "top company" that's still recognizable as such today, then I'd expect it to be around in some form. I imagine HR could ask you for a proof-of-employment letter if you said you worke
570.
▲
by
vitus
5y ago
> To counter that, he modified his resume and added 2 fake experiences from top companies as Network Engineer. Within a week with new resume, he gathered 3 top offers in Ontario, negotiated and signed $70K per year with XYZ company as Le
More ›