Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dtech
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
721.
▲
by
dtech
5y ago
Having arguments against Java deflected with "oh but annotation processors" is so annoying. Just because you can somewhat patch the holes doesn't make it a weakness of the language. Same arguments are used for C ("just u
722.
▲
by
dtech
5y ago
High-performance Java is indeed basically writing C in Java, including using you own byte array for memory. It's amazingly un-idiomatic though, and you'll get (rightly) roasted by fellow Java developers for doing it without a clea
723.
▲
by
dtech
5y ago
They altered things in the java.* namespace [1], making it easy for developers to make things incompatible, as well as leaving out support for cross-platform enabling stuff like JNI and RMI. I can't read those actions as in good faith.
724.
▲
by
dtech
5y ago
HotSpot took 2 decades to get to its current performance, and while its JITted performance is good, for desktop apps cold boot performance is at least as important.
725.
▲
by
dtech
5y ago
Rightly so. They added all kinds of things that only worked on the MS JVM, which was the "extend" of their EEE strategy, right before extinguish.
726.
▲
by
dtech
5y ago
iirc Google does it, it's not ridiculous at all. You need a lot of automated tests and canary deployment to pull it off though.
727.
▲
by
dtech
5y ago
The comparison is the CO2 saved from transitioning from fossil fuel vehicles to EVs
728.
▲
by
dtech
5y ago
It's in the article > The radiocesium levels reported in the new study fall "well below" 1200 becquerels per kilogram—the cutoff for any food safety concerns, the agency (red: FDA) says.
729.
▲
by
dtech
5y ago
No, if that were the case it would have started in the 60's and gradually gotten better (bees have short lifespans). Instead, it's gotten worse and started much later. Pesticides are a much more likely explanation.
730.
▲
by
dtech
5y ago
That works, but then you're working with timestamp+tz, not just timestamp. You lose a fair bit of the simplicity compared to e.g. ISO8601 strings. > if that actually happens The IANA time zone database [1] is updated several times a
731.
▲
by
dtech
5y ago
It's not about localization, it's about correctness. you need both the timestamp and tz if you care about the future local date and time.
732.
▲
by
dtech
5y ago
The default always was 64-bit for 64-bit systems, so this isn't as big of an issue at the blog posts makes it out to be.
733.
▲
by
dtech
5y ago
You lose context. Say you have 2100-01-01T10:00:00 in PST. That's 4102452000, so you store it. A few decades later, timezones are changed. PST should add 30 minutes, all others stay the same. You only have 4102452000, what should you c
734.
▲
by
dtech
5y ago
We've seen time and time again that it doesn't matter what the spec says, if it works now, noncompliance will be there. Heck we're stuck with TCP & UDP because routers and firewalls will break anything else. If it works l
735.
▲
by
dtech
5y ago
"Our language is harder to use than X, so it's safer because no-one will try to do certain things with it" is hardly a compelling defence.
736.
▲
by
dtech
5y ago
Of course you can alter the ToS, I'm sure Steam and the likes are open to contract negations before you buy a $70 game.
737.
▲
by
dtech
5y ago
It's exactly as elegant for nulls. Kotlin's T? == Scala 3's T | Null. In both Scala 3 and Kotlin, you can't call a method it. Kotlin does have the !! operator for practical purposes like Java interop. Equivalent to this
738.
▲
by
dtech
5y ago
It's possible in current Java
739.
▲
by
dtech
5y ago
Android's Emergency Broadcast is very loud and distinctive, my country tests periodically. I'm not sure if seconds before impact would be early enough for me to take action though.
740.
▲
by
dtech
5y ago
Of course exponential growth goes quickly. OPs argument was that the constant factor of hospitalization doesn't matter at all, which is ridiculous in the real world. If you take an exponential growth of 1.5, quite a quickly spreading i
741.
▲
by
dtech
5y ago
When x trends to infinity, which is irrelevant in this case since you're limited by population numbers.
742.
▲
by
dtech
5y ago
> Gpt-3 has convincingly passed the Turing test Has it? I can't find a convincing source for that. Note that twitter and reddit don't really count, the Turing test always was a conversation, not limited to bite-sized soundbites
743.
▲
by
dtech
5y ago
It depends on how they integrated. GPLv2 requires that TikTok's version is either GPL-compatible itself (I doubt it), or they use OBS as an external program. edit This comment [1] claims GPL code is compiled into their non-GPL progra
744.
▲
by
dtech
5y ago
This story/joke is so old and I've heard it in so many contexts that I doubt it really happened.
745.
▲
by
dtech
5y ago
potato potato, the meaning is obvious. GP differs from a medical specialist in that they focus on diagnostics and broad knowledge as opposed to deep narrow focus. Whether you call focusing on that a specialization is irrelevant.
746.
▲
by
dtech
5y ago
Government is also heavily involved in car manufacturing and air travel those have become much cheaper. The real reason is non-scaling vs scaling, IP like tech and entertainment and internet are incredibly cheap to scale. Manufacturing has
747.
▲
by
dtech
5y ago
TCP is not the only way to ensure integrity, QUIC protocol ensures it, using UDP as transport. This is how all new protocols do it since there's too many hardware and software roadblocks to use anything but TCP and UDP.
748.
▲
by
dtech
5y ago
It's a game, not a model. Real mutations aren't directed or instantly spread to all infected people like in the game. Iirc people also don't get better once infected.
749.
▲
by
dtech
5y ago
> I'm surprised we don't see Covid mutations that invalidate PCR tests PCR tests for RNA or DNA, that's not something a mutation can change. I don't know for Covid, but usually a PCR test targets something fundamental
750.
▲
by
dtech
5y ago
Thanks! These garbage sites have been sneaking towards the top search results the last months.
More ›