Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
samus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
331.
▲
by
samus
1y ago
Swappable proprietaries are still better than not swappable at all. For my previous phone I managed to order an external charger and several replacement batteries.
332.
▲
by
samus
1y ago
Sorry for your loss. That's a sad reason to die!
333.
▲
by
samus
1y ago
Even a compromised lung is capable of fully oxygenating blood for everyday situations. One just has to compensate by breathing faster, or cycling that liquid more frequently.
334.
▲
by
samus
1y ago
Such devices already exist and are used in heart or lung surgery, as well as in intensive care and medical emergencies. However, the potential for complications is much higher since they extract from and return blood to the body.
335.
▲
by
samus
1y ago
Even if it turns out it cannot fully replace it, it could help reduce operation pressure and frequency of a conventional respirator.
336.
▲
by
samus
1y ago
Roughly speaking, an aircraft must fulfill a certain amount of economy (cheap, low cost to operate), safety, and performance. If you compromise on safety, you get something that is still suitable for the military. If you don't care abo
337.
▲
by
samus
1y ago
It would be a pleasure to check out the open source web engine you have been a major contributor to :)
338.
▲
by
samus
1y ago
> I still find it confusing sometimes because you're not setting lifetime, you're just giving it a name so that the compiler can reason about it. With Rc you're telling the compiler "I don't know the lifetime, or
339.
▲
by
samus
1y ago
Things like these are sometimes done for experimental cancer therapies. Granted, the patients are going to die anyway, and the therapy has gone through most of the trials.
340.
▲
by
samus
1y ago
Nobody will offer it to you though. And if they don't even get it to work in an animal model, then for all intents and purposes it doesn't even exist.
341.
▲
by
samus
1y ago
The llama.cpp maintainers working on supporting Qwen3-next are also not enthused by LLM output. They had to go over everything and fix it up. https://github.com/ggml-org/llama.cpp/pull/16095#issuecommen...
342.
▲
by
samus
1y ago
Andrej Karpathy slays again by spreading knowledge about this important subject to the people!
343.
▲
by
samus
1y ago
At the risk of repeating myself: streams were simply never designed with error handling in mind. Aborting everything at the first error is just the most simplistic error handling strategy. Reactive streams frameworks should be preferred for
344.
▲
by
samus
1y ago
> And some people write code in Python which provides no automatic verification whatsoever. Python is a language with almost no static validation whatsoever. It would be very odd if it cared about checked exceptions. This dynamism makes
345.
▲
by
samus
1y ago
> The same way, caller can know which exceptions are really likely to happen in TypeScript, C++, Python. Or in modern Java which avoids checked exceptions anyway. By reading documentation or source code. That's perfectly fine and wo
346.
▲
by
samus
1y ago
I bet you don't like how it looks when you put huge code blocks inside a lambda. Me neither. But that's an issue with coding style; it forces you to extract processing code into a method. I'd argue the opposite way - imperati
347.
▲
by
samus
1y ago
When you use lambdas you lose control over when and how often your code gets executed. Since checked exceptions are very often thrown by code that has side effects, I'd consider the friction to be a feature. > collecting all the thr
348.
▲
by
samus
1y ago
Spring has a special error handling strategy where the whole request is allowed to fail, punting error handling off to the caller. A lot of code that throws checked exceptions is simply dangerous to use with Java streams because the executi
349.
▲
by
samus
1y ago
> * "Invisible control flow", where you can't tell from the call site whether or not a call might throw (you need to check the signature, which is off in some other file, or perhaps visible in an IDE if you hover). Never f
350.
▲
by
samus
1y ago
Checked exceptions are for errors that are not possible to prevent. How else should the caller know which exceptions are really likely to happen? Modules absolutely achieved their primary goal: stopping libraries from accessing JDK internal
351.
▲
by
samus
1y ago
Those stashes (and things like caches) should use SoftReferences so the GC can drop them under memory pressure. That way no funny stuff needs to happen in catch blocks.
352.
▲
by
samus
1y ago
I agree with the classification of TA, but I disagree on the "vexing exceptions". Even if you get a `Result` that you can pattern match over, the error handling code looks exactly as ugly if you put it into a pattern match branch
353.
▲
by
samus
1y ago
You are not supposed to catch such exceptions in the first place, except at the very top level as a fallback to implement proper logging and to signal an unexpected internal error to the user. In Java, such exceptions are subclasses of Runt
354.
▲
by
samus
1y ago
That's try-catch. But you missed the point: you can't do anything about fatal exceptions such as an OutOfMemoryError.
355.
▲
by
samus
1y ago
Oh, on re-reading your comment I find that I actually agree with you: > It doesn’t matter if every expert concurred, arguments from authority can not lead to opinion X becoming superior to opinion Y. > At least not in a logically vali
356.
▲
by
samus
1y ago
Old Persian cuneiform was designed from scratch and is essentially an alphabet. It has almost nothing in common with Sumerian Cuneiform, which is what most people think of if they refer to "cuneiform".
357.
▲
by
samus
1y ago
What does that mean? A government agency can ask a company to do something. But unless there is legal force behind the order, it is nothing more than a request and can be ignored. In ambiguous cases the lawyers of each side will decide if t
358.
▲
by
samus
1y ago
What is an "argument from authority"?
359.
▲
by
samus
1y ago
A government agency can tell people whatever it wants, if it doesn't have a legal basis then it has no authority. Unless it doesn't respect the rule of law. It might and probably will follow up its orders with force, but that'
360.
▲
by
samus
1y ago
Indeed, an opinion held by legal experts, as the title of the submission quite clearly expresses. And on the other hand there is a history of Apple refusing other government requests. https://en.wikipedia.org/wiki/Apple
More ›