HackerTrans
TopNewTrendsCommentsPastAskShowJobs

leni536

4,409 karmajoined vor 12 Jahren
Software Developer, PhD Physicist

hn at lenardszolnoki dot com

Submissions

Ask HN: Threat model of messenger.com backed up E2EE messages

1 points·by leni536·vor 5 Monaten·0 comments

comments

leni536
·vor 6 Tagen·discuss
And all the train depots and train stations are already covered in solar panels, I presume.
leni536
·vor 6 Tagen·discuss
This first became apparent to me when I got a slide rule. Pi is often marked on the various scales and an x^2 scale is often nearby the x scale.
leni536
·vor 7 Tagen·discuss
Capillary action is subject to the same limits as suction at the top. Capillary action can't increase the water pressure at the bottom of the tree.

If you put a straight thin capillary tube upright in water so it sucks up water from the bottom, no matter how thin, it can't draw water up above ~10m of water level.
leni536
·vor 7 Tagen·discuss
What would you call it?
leni536
·vor 18 Tagen·discuss
I am working on it. Floating-point IO is rather heavyweight, so the usual approach of naively slapping constexpr on all the things and putting them in headers can have some observable negative consequences on resource usage during compilation even if you don't use the new constexpr functionality.

To the best of my knowledge fmtlib does implement constexpr formatting for float and double, but not long double.
leni536
·vor 19 Tagen·discuss
It trickles down.
leni536
·vor 19 Tagen·discuss
One reason to use inline assembly is to use instructions that are basically unknown to the compiler, in which case it can't really tell what is being accessed/modified.
leni536
·vor 21 Tagen·discuss
> Google and Apple are useless for dmca unless you have a court order.

They deserve to also be sued too for the infringement. I don't think safe-harbor applies if they don't act on a valid notice.
leni536
·vor 24 Tagen·discuss
> There's no way to verify the integrity of the system, and any malicious app can just grab your banking credentials or enable criminals to unlock and drive away with your car.

I don't see how the second half of the sentence follows from the first half.
leni536
·vor 25 Tagen·discuss
GP probably meant "POD for the purpose of layout" in the Itanium ABI. It's not the same as standard layout, and POD is not a term in recent C++ standards.
leni536
·vor 25 Tagen·discuss
Linear light (if that really is a term of art).
leni536
·vor 25 Tagen·discuss
Depends. Many times a linear colorspace is exactly what you want.
leni536
·vor 26 Tagen·discuss
Specified by whom? Not the C standard for sure. It is indeed soecified by individual ABIs, and ABIs don't tend to do anything too weird, but that's another question.
leni536
·vor 29 Tagen·discuss
And a last, most sneaky one: At checkout if you pay with credit/debit card don't use Ryanair's "guaranteed exhange rate" if the cost of the flight is not in your card's currency (ticket by default, at least two clicks to find and untick it). That's ~6% gap from mid-market exhange rate, the worst cards do better than that.
leni536
·letzten Monat·discuss
Pokémon being used for war efforts is prime South Park material, too bad they already did that.
leni536
·letzten Monat·discuss
This is what the typing spec says about type narrowing[1]:

"Type checkers should narrow the types of expressions in certain contexts. This behavior is currently largely unspecified."

Have fun.

[1] https://typing.python.org/en/latest/spec/narrowing.html#type...
leni536
·letzten Monat·discuss
It's probably kinda helpful in git blame.
leni536
·letzten Monat·discuss
Basically never for 8-bit color channels.
leni536
·letzten Monat·discuss
There is no such thing as "Chinese Export".

https://cemarkingassociation.co.uk/latest-news/ce-marking-an...
leni536
·vor 2 Monaten·discuss
But surely anything the LLM outputs is clear of licensing requirements /s

Or would Microsoft like to argue otherwise in court?