Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dtech
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
103 ms
·
961.
▲
by
dtech
5y ago
The only reason they do that is because they are trying to break into Steam's near monopoly market position. They are not above anti-consumer practices like exclusives. I have no doubt that if they could, they would take that 30% cut.
962.
▲
by
dtech
5y ago
Are you so dense that you cannot understand that the Kotlin compiler can do gasp different things depending on different settings? It can do stuff android doesn't support if you set the bytecode target level to > 1.8 It's lik
963.
▲
by
dtech
5y ago
Incorrect, the Kotlin compiler allows you to specify the target JVM level, it can generate JVM 1.6 bytecode (for android) up to 16. I know for a fact it uses different bytecode features if the level is >= 1.8, not sure how smart it is ab
964.
▲
by
dtech
5y ago
Kotlin should be close-to-identical* in terms of bytecode it immits for straightforward code like this, it's designed to very closely match Java capabilities, among others to make sure interop is very good. * Exception is supporting th
965.
▲
by
dtech
5y ago
My main gripe is using "Gen X" as "older person" and "millenial" as "young person". The youngest millenials are ~26 years old, born in 1996 according to US census definition. They were already 13 when
966.
▲
by
dtech
5y ago
The point is those optimizations are not here now, and haven't been there for the last 25 years. Hand-waving them away as theoretically possible is dishonest. We're 25 years into the most popular programming language's lifeti
967.
▲
by
dtech
5y ago
GraalVM is excellent in performing escape analysis on objects on the call stack, but it does not prevent the pointer overhead that a JVM array-of-heap-object-references has vs an array-of-structs that e.g. .NET supports [2]. Theoretically
968.
▲
by
dtech
5y ago
Netherlands is the 2nd largest argricultural exporter [1], and has heavy factory animal farming that are all fed farmed crops. Very little grazing for meat animals. [1] https://www.deheus.com/articles/news/the-neth
969.
▲
by
dtech
5y ago
You can advertise perfectly fine, just not track users to show personalized ads . These were the norm in advertising until like 2005.
970.
▲
by
dtech
5y ago
Worst case they could block your site, but that's not going to happen. Note that if it is a personal website you are not subject to GDPR. GDPR only applies to companies and organizations. Also note that most stuff that a layperson woul
971.
▲
by
dtech
5y ago
I've heard more than one Java programmer dismiss macro based compile-time meta-programming as way to complicated while happily littering codebases with annotation and classpath based runtime meta-programming.
972.
▲
by
dtech
5y ago
This is a pretty bad comparison, == doesn't check equality for objects in Javascript and doesn't promise to. Similar to how Java's == doesn't.
973.
▲
by
dtech
5y ago
It's from the video, old english for beak
974.
▲
by
dtech
5y ago
anecdotally the connections between AZs are so low latency you often can't tell whether a server is in the same or a different AZ
975.
▲
by
dtech
5y ago
Quite interesting how - as a dutch speaker - you can hear English Germanic roots quite clearly. It almost sounds like a Dutch or German speaker is reading the "English" text phonetically without knowing pronunciation rules. Especi
976.
▲
by
dtech
5y ago
Which language do you work in? I can promise you that Typescript can type things way more strictly than your language, unless it's Julia. Typescript allows you to not make typing very strict when it's not important, but also allow
977.
▲
by
dtech
5y ago
Final has been in Java for a lot longer, but you're also missing the point. Immutability should be the default, or at least not a secondary citizen to the dangerous and often unnecessary mutability.
978.
▲
by
dtech
5y ago
> - The type system is really, really flexible. It seems possible to specify the exact degree of safety that you want for any given situation. I never feel bound by the type system. It's very liberating. Not so with Java or C#. Pers
979.
▲
by
dtech
5y ago
Throw in an eslint rule to disallow ! outside of tests, you won't regret it
980.
▲
by
dtech
5y ago
I don't think that's a fair definition. If such a CPU could be reasonably made, you could still call it assembly.
981.
▲
by
dtech
5y ago
Linting is not the same as typechecking. Take a look at the default available rules [1]. For example number == NaN is valid Javascript, but 99.9% of the time an error. Or you might want to require always using === over ==. Generally, lintin
982.
▲
by
dtech
5y ago
There are serious indications that India is under-reporting death count by a factor of 5-50x. Despite showing 5-10x lower death rate in your source, it was rare for European crematoriums have backlogs like in India [1] [1] https:/
983.
▲
by
dtech
6y ago
Requiring a device to not allow illegal RF behavior is significantly easier to require and audit than policing the actions of millions of consumers.
984.
▲
by
dtech
6y ago
It was properly tested by the platform owners, and it was determined to be in an un-releasable state. The mistake of the platform owners was to believe CDPR when they said they will have fixed all the found problems by release time.
985.
▲
by
dtech
6y ago
> I doubt CP2077 would even have been released for those platforms if they had been properly tested in the first place They were, Sony and Microsoft just believed CDPR when they lied about fixing it before release [1] [1] https:/&#
986.
▲
by
dtech
6y ago
JVM/Java has an extensive stdlib, including a decent DNS/IP resolution library that this package contains a vulnerability in. It also has one of the best date/time libraries I've ever seen, while that it external in near
987.
▲
by
dtech
6y ago
It's clear what the 7 layers do, but not why there are 7, and not say 4 or 11.
988.
▲
by
dtech
6y ago
That's a nonsensical question, there's not enough nuclear or fossil fuel in the world to increase our energy consumption 100.000x for any significant time period. We'd need to build a dyson sphere.
989.
▲
by
dtech
6y ago
There is almost no way to generate energy without waste for future generations, CO2 for fossil fuels, nuclear waste, electronic and heavy-metal waste for solar and batteries. Saying we should only use methods that don't provide waste i
990.
▲
by
dtech
6y ago
If you scale this up you're also having more Area. If that hall contains all the waste from decades of energy for France, I'm sure we can also build 1 in Germany, Italy, and every US state.
More ›