HackerLangs
TopNewTrendsCommentsPastAskShowJobs

leni536

4,409 karmajoined há 12 anos
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·há 5 meses·0 comments

comments

leni536
·há 5 dias·discuss
And all the train depots and train stations are already covered in solar panels, I presume.
leni536
·há 6 dias·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
·há 7 dias·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
·há 7 dias·discuss
What would you call it?
leni536
·há 18 dias·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
·há 18 dias·discuss
It trickles down.
leni536
·há 18 dias·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
·há 20 dias·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
·há 23 dias·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
·há 24 dias·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
·há 25 dias·discuss
Linear light (if that really is a term of art).
leni536
·há 25 dias·discuss
Depends. Many times a linear colorspace is exactly what you want.
leni536
·há 26 dias·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
·há 29 dias·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
·há 30 dias·discuss
Pokémon being used for war efforts is prime South Park material, too bad they already did that.
leni536
·mês passado·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
·mês passado·discuss
It's probably kinda helpful in git blame.
leni536
·mês passado·discuss
Basically never for 8-bit color channels.
leni536
·mês passado·discuss
There is no such thing as "Chinese Export".

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

Or would Microsoft like to argue otherwise in court?