Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cataphract
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
cataphract
3y ago
Maybe it is a moral obligation, maybe it's not. Depends entirely on the circumstances and in your framework for morality. Maybe paying child support prevents the parent from getting any sort of stability in their life. Maybe the money
92.
▲
by
cataphract
3y ago
I think they're confusing the Java plugin for websites with the normal Java runtime.
93.
▲
by
cataphract
3y ago
> What is bizarre to me is that Oracle relied on receiving SIGSEGV as normal mode of operation. That should have been a hint where things are going, no? Not bizarre at all, this how the runtime has always operated, as anyone one who'
94.
▲
by
cataphract
3y ago
It's not. That's why the UK has had losses related with this acts in the European Court of Human Rights. See e.g. https://hudoc.echr.coe.int/eng?i=001-191276
95.
▲
by
cataphract
3y ago
Regardless of the merits of this law, your take is very simplistic. All laws are trade-offs and they achieve their purposes imperfectly and with side effects. Not to mention the administration of the law (the justice system) is far from per
96.
▲
by
cataphract
3y ago
It's well known that the consumer welfare focus only started in the late 70s, thanks in big part to Robert Bork's (the one whose SCOTUS nomination famously failed) "The Antitrust Paradox".
97.
▲
by
cataphract
3y ago
That's not how it works: that either there is an assumption or there is no assumption. The assumption may weaken, but what will happen is that if someone sends a fake video to many people, you're guaranteed that a substantial frac
98.
▲
by
cataphract
3y ago
> The only thing I can see people worry about is someone putting a real person's face on a porn image. But deepfakes are also around for years and we don't really care or affected that much. Why bother with what people do behin
99.
▲
by
cataphract
3y ago
Doing their job by losing everything in court like the Activision/Microsoft case just last week? Great use of government resources.
100.
▲
by
cataphract
3y ago
Well, depends on the day. See the Trump v. Hawaii (the Muslim ban case). In this case Trump did say he wanted to ban muslims, but it didn't even matter.
101.
▲
by
cataphract
3y ago
While this was not the point of the comment, one thing missing is that oldsize and newsize should be rounded for alignment purposes: struct my_allocator { struct hamt_allocator parent; size_t used; union {
102.
▲
by
cataphract
3y ago
Fair enough: struct hamt_allocator { void *(*realloc)(struct hamt_allocator *h, void *chk, size_t oldsize, size_t newsize); }; struct my_allocator { struct hamt_allocator parent;
103.
▲
by
cataphract
3y ago
Yeah, I could even buy the first part, I don't know archaeology and can't say which inferences about the society you can make based on the existence or absence of grave goods in that era. But it's one thing to characterize th
104.
▲
by
cataphract
3y ago
You don't need the cookie then. You can just allocate a larger struct (sort of subclassing it). You save a pointer indirection.
105.
▲
by
cataphract
3y ago
The biggest advantages here are not having a single function, but instead: 1. Having a context. 2. Having free and realloc getting the old size. Not having the size passed is more or less consensually regarded as a mistake in the C stdlib.
106.
▲
by
cataphract
3y ago
It's rich from someone coming from scala. I frequently see lambdas returning lambdas returning lambdas that return a new object.
107.
▲
by
cataphract
3y ago
Easy to find in the context of child rearing. Beating children was common, started being socially stigmatized and finally became considered child abuse. A more recent example: the ban on plastic straws. Lots of restaurants were shunning the
108.
▲
by
cataphract
3y ago
> What governments are you referring to? Even glossing over the latent xenophobia in the commentary, let's just think if this makes any sense. You need to specifically allow immigrants in that will gote for you, they'll have to
109.
▲
by
cataphract
3y ago
Really depends on the car. There are cars with very little inertia, if you let go of the gas pedal quickly they will get quite jerky. In those, you really have to depress the clutch before completely letting go of the accelerator.
110.
▲
by
cataphract
4y ago
The answer to your question depends on the field in question. Plenty of areas have no or little copyright protection and still have thriving creativity: cooking, fashion, comedy routines, etc. It can be a first mover advantage, social con
111.
▲
by
cataphract
4y ago
Same. I have half a dozen hue bulbs from 2016 and none hav failed. The ones I have from Innr have not failed either. 4 of them are outdoors. With Philips spinning off the lights division, I don't know the current quality. On the other
112.
▲
by
cataphract
4y ago
Raymond Chen calls this "you're not my manager": https://devblogs.microsoft.com/oldnewthing/20070522-00/
113.
▲
by
cataphract
4y ago
It's useful when a function has a out or in/out struct parameter whose value at the end you're not interested in. Or in functions where the struct is an input parameter, but they return it as a return value too, which you ca
114.
▲
by
cataphract
4y ago
> As I have mentioned before, it is understandable, expected, and desirable that artificial intelligence systems provide accurate and factual information about empirically verifiable issues, but they should probably strive for political
115.
▲
by
cataphract
4y ago
This has been somewhat curtailed this year; right now profits from crypto assets are usually exempted from tax if held for at least a year and pay 28% otherwise. This is a much more favorable treatment than other financial assets, which nor
116.
▲
by
cataphract
4y ago
Usually, no, not on foreign income (with the exception that now retirees pay 10% on their pension, but it used to be 0). And even on domestic income from work, they pay only a flat tax of 20%. The income tax is normally 50.5% on income over
117.
▲
by
cataphract
4y ago
I found the article so devoid of insight, just a regurgitation of clichés from the left, that I was left wondering if it was written by ChatGPT.
118.
▲
by
cataphract
4y ago
If you want to reason under the current legal framework that makes the works they create "their" work for economic purposes... then you also need to accept that under that same framework they are not deemed to be the authors.
119.
▲
by
cataphract
4y ago
Your standard for saying A is more X than B is a bit strange. For me, all it means is roughly that when picking two individuals from A and B the one from A is more likely to have greater X (assuming here the distributions are not weird). Th
120.
▲
by
cataphract
4y ago
You can enforce non competes in arbitration. And arbitration awards cannot be put aside just because the arbitrators got the law wrong.
More ›