Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vitus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
451.
▲
by
vitus
3y ago
Between pytorch (Meta) and TensorFlow (Alphabet), I'd be surprised if there's much if any ML work today that doesn't rely on OSS projects from FAANG companies. Chromium underpins nearly every major browser that isn't Saf
452.
▲
by
vitus
3y ago
Interesting supplemental reading: https://en.wikipedia.org/wiki/Hispanic_paradox Apparently, Hispanic / Latino populations in the US consistently have comparable or even better health outcomes than non-Hispanic wh
453.
▲
by
vitus
3y ago
> the disabling of the ability to update iOS. This is done by the malware. Indeed, the identified fix involves a factory reset and upgrading iOS to prevent the malware from taking over again. That provides a simple explanation for why th
454.
▲
by
vitus
3y ago
Actually, it's complicated, and there really isn't consensus one way or another. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5949415/ "Seventeen meta-analyses of these studies have been perfor
455.
▲
by
vitus
3y ago
If most of the actual harm is being done by your immune system going into overdrive, then yeah, steroids can help. You'd want to simultaneously treat the infection, of course. "Multiple randomized trials indicate that systemic cor
456.
▲
by
vitus
4y ago
If it were simply a correction for the recent hiring spree, then people with 10+ years of tenure on production-critical teams would not have been let go.
457.
▲
by
vitus
4y ago
I should clarify: training is not latency sensitive, so you can run your workloads at off-peak hours when people are asleep. Inference means you need to run your workloads at peak when people are using your service. (Looking back, I'm
458.
▲
by
vitus
4y ago
The estimate in the article pins most of the cost on inference, not training, so diurnal patterns are unfortunately not as useful here. > While training ChatGPT's large language models likely costs tens of millions of dollars, opera
459.
▲
by
vitus
4y ago
I do see a couple of retransmissions early in that query (lost ACKs?) which could be upstream throttling but in any event certainly explains why the connection was slow to get off the ground. Agreed that segment offload is probably kernel-s
460.
▲
by
vitus
4y ago
> The two could have just worked together on a solution. We do...? Google Global Cache [0] and Netflix Open Connect [1] are both the result of ISP partnerships wherein we deploy cache nodes in the ISP's datacenter to reduce network
461.
▲
by
vitus
4y ago
The hardware is a big up-front cost. If you want a gaming PC, that can potentially set you back $1000 or more, and there's ongoing maintenance cost as you have to keep upgrading your graphics card if you want to keep playing the latest
462.
▲
by
vitus
4y ago
> Surely the people working at Google understand how all these shutdowns look to outsiders, right? I have to imagine so… they’re smart people, and a ton of them lurk here on HN. Yes, but we're not the people making the product decis
463.
▲
by
vitus
4y ago
That's correct. I mistyped, sorry!
464.
▲
by
vitus
4y ago
> being convicted of a felony doesn't prevent you from running for public office This depends on the state. Being convicted of a felony in Florida bars you from running for public office or voting in the state (until granted clemenc
465.
▲
by
vitus
4y ago
As other commenters have pointed out, the actual indictment is sealed, so we won't find out the concrete charges until he's arraigned. I've recently served on a jury for a criminal trial, so I've learned some things abou
466.
▲
by
vitus
4y ago
Wapo article from 1984 [0] asserts that 85-octane nonleaded gasoline was consistently about 2 cents cheaper to make than 87-octane leaded gasoline. That said, that was with numerous advancements over the preceding 60 years which most likely
467.
▲
by
vitus
4y ago
A gallon of gasoline back in 1930 (or 1925 for that matter, pre-depression) cost about 20 cents. So, even 2 cents per gallon would be a 10% savings. https://pubs.acs.org/doi/10.1021/om030621b has some points of co
468.
▲
by
vitus
4y ago
> Personally, I think two hyphens also looks better than just one It's context-dependent. (Aside: you wouldn't write "context--dependent", which is the use case of the hyphen.) Ostensibly the en dash is primarily used
469.
▲
by
vitus
4y ago
A common thread of conversations I've had with craft brewers is that you spend a significant part of your day cleaning. This line from the article struck a chord: > The founder of a cafe becomes a mopper and accountant. To me, the t
470.
▲
by
vitus
4y ago
If you want pointer stability, then reserve + push_back is sufficient to avoid reallocations, if you have an upper bound on the final size (which you need anyways to use resize effectively). Else, you should probably be storing a vector<
471.
▲
by
vitus
4y ago
The less space-efficient but more cpu-efficient alternative is to store an offset and a length. Which is, in essence, a string_view.
472.
▲
by
vitus
4y ago
Exactly, which is why I haven't worried about it ever since I started working with C++11. It was certainly the case that reserve was critical back in the C++03 days, though.
473.
▲
by
vitus
4y ago
Vector reallocations result in an average of one* move (which yes, is effectively a copy for types like string_view) per element under normal operation. If you're concerned about that single copy (primarily: if profiling has demonstrat
474.
▲
by
vitus
4y ago
IMO any discussion of std::vector::reserve should be accompanied by warnings that it can actually make your program slower if used improperly. https://en.cppreference.com/w/cpp/container/vector/reserve &
475.
▲
by
vitus
4y ago
Which is perfectly reasonable if you're willing to deal with the performance consequences of exceptions (or crashes). .find() is the safe way to do map lookup without side effects.
476.
▲
by
vitus
4y ago
Per the article, it looks like a supporting report came out of Lawrence Livermore National Laboratory, which is funded by the DoE. While LLNL is primarily known for nuclear research, biosecurity is also apparently part of its mission: http
477.
▲
by
vitus
4y ago
> The closest I can think of in the US is Trump banning immigration from majority-Muslim countries under the pretext of links to terror. The Trump travel ban is weird in its various iterations. On one hand Trump was on the record during
478.
▲
by
vitus
4y ago
> Novak sued the officers and the police department, saying they had violated his free speech rights, as well as his right to be free of unlawful searches and seizures under the Constitution's Fourth Amendment. > After lengthy li
479.
▲
by
vitus
4y ago
It looks like Module is always a power of 2. https://github.com/AltraMayor/f3/blob/master/f3probe.c#L497 https://github.com/AltraMayor/f3/blob/master/f3probe.c#L338 M
480.
▲
by
vitus
4y ago
This is just GiB vs GB. The usable / announced size is more or less 16 GB (roughly 14.91 GiB), which you can also verify by multiplying the number of blocks by the block size (512B).
More ›