Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dtech
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
631.
▲
by
dtech
5y ago
I recommend against that, and use proper (wrapper) types. I don't know Kotlin, but in most languages if you alias 2 types to the same base type, for example Seconds and Minutes to Long, the compiler will happily allow you to mix all 3
632.
▲
by
dtech
5y ago
Java pre-8 only had anonymous classes, there were no lambdas
633.
▲
by
dtech
5y ago
> Google and Netflix would have no choice but to sit by In a lot of jurisdictions a 3rd party can join a lawsuit, it's called an intervention [1]. I'm not fully aware on US law, but e.g. in NL all large internet providers joine
634.
▲
by
dtech
5y ago
Post in the thread [1] gives a very plausibly-sounding hypothesis for seeing different results in non-western countries like your link. [1] https://news.ycombinator.com/item?id=30720766
635.
▲
by
dtech
5y ago
Apache is trademarked
636.
▲
by
dtech
5y ago
The author of the module disagrees with the author of the PR that adding this additional restriction does not make the project Apache License anymore.
637.
▲
by
dtech
5y ago
There's occasional calls to ban them in NL, but it's so contentious that's it not worth the political capital compared to the energy they waste. Luckily I see infrared heaters more and more which fulfil the same role but are
638.
▲
by
dtech
5y ago
> I don't think anyone disagrees that moving away from hydrocarbons is a good thing. You'd be surprised. Mostly these arguments come from people who think the whole thing is bullshit (or have financial incentives to say so) and
639.
▲
by
dtech
5y ago
> The last technological breakthrough was the smartphone. Indeed, already 15 years ago. Hurry up slackers, I want an innovation that literally changes our whole lives every decade please
640.
▲
by
dtech
5y ago
Note that this study uses data from May-November 2021, so it doesn't cover Omicron. Data on omicron is scarce still.
641.
▲
by
dtech
5y ago
I don't believe OP at all, I'm Dutch and never heard of this. Also the max speed limit in the Netherlands is 130 km/h, but between 06:00 and 19:00 it's 100 km/h (don't ask...) Maybe OP is confused about the rul
642.
▲
by
dtech
5y ago
> No one is dumb enough to try to make a central (and traditional) database/system for digital money. Uhm, isn't that what literally every bank in the world is nowadays?...
643.
▲
by
dtech
5y ago
Yes, "hangry". I try to be aware of it now and then it's usually fine, and if it isn't I eat a small meal (some fruit or a protein bar)
644.
▲
by
dtech
5y ago
afaik piracy is already rampant. I expect if this is done the government would just officially stop respecting copyright of companies that do this.
645.
▲
by
dtech
5y ago
w.r.t. 2 this has been a thing with blu-ray and PS3 encryption key leaks [1]. I don't know if courts ever ruled on it [1] https://en.wikipedia.org/wiki/PlayStation_3_homebrew
646.
▲
by
dtech
5y ago
Destroyed due to the Russian invasion would be better then.
647.
▲
by
dtech
5y ago
Gene editing has a lot of medical potential outside of the sci-fi utopia/dystopia stuff. Especially diseases caused by a straightforward well-known genetic cause [1], such as sickle-cell disease, might very well be permanently treatabl
648.
▲
by
dtech
5y ago
It seems like a modern trend to label any restriction on anything in the west as dictatorship and therefore 100% equivalent or worse to non-western less free countries. I wonder how much of this is fuelled by non-western propaganda agents (
649.
▲
by
dtech
5y ago
I think it's simplistic to just put that on "NK have nukes". They also have support from China, who want them as a buffer and don't want to deal with the refugees from the state collapsing.
650.
▲
by
dtech
5y ago
It was mostly because everyone thought it was hilarious
651.
▲
by
dtech
5y ago
This promise is disputed. We only have the word of a few (mostly Russian) officials about it, unfortunately explicit on the issue was set on paper.
652.
▲
by
dtech
5y ago
Side stepping that you're using a runtime NullPointerException as an example, Java's checked exceptions are just not particularly good at what you want to do. If you have a function that has an abnormal result as its API, it shoul
653.
▲
by
dtech
5y ago
Correct, but also pedantic and doesn't change the point. There's an implied "mainstream" or "currently serious contenders to start new projects in" adjective in "no other languages has them".
654.
▲
by
dtech
5y ago
UUID is part of your language stdlib, or at least there will be widely tested dependencies for the formats. Are you that certain about the parser of your own custom format?...
655.
▲
by
dtech
5y ago
Usually you want to store them as integers when possible, like in DB or QR. For text formats like SMS I've often seen base-64 or similar with more characters.
656.
▲
by
dtech
5y ago
Note that most of the examples are UUIDs, and postgres has a datatype for that that evades all these problems and is a lot more efficient too.
657.
▲
by
dtech
5y ago
A central place where you can always could download your purchased games, saves and mods and automatically installs patches is an enormous benefit.
658.
▲
by
dtech
5y ago
Even if Steam will be going away at some point, I bed an archival effort will start similar to what we've seen for Geocities etc.
659.
▲
by
dtech
5y ago
Java's checked exceptions are generally regarded as a mistake. There's a reason no other languages has them, and newer JVM languages (Groovy, Clojure, Scala, Kotlin) treat all exceptions as runtime. Anders Hejlsberg (creator of De
660.
▲
by
dtech
5y ago
The Dutch authority has send a message between the lines in their public statements: this is just their first step, build a case, test the legal waters etc. They aren't intending to leave it with just this market and just these fines.
More ›