HackerLangs
トップ新着トレンドコメント過去質問紹介求人

leni536

4,409 カルマ登録 12 年前
Software Developer, PhD Physicist

hn at lenardszolnoki dot com

投稿

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

1 ポイント·投稿者 leni536·5 か月前·0 コメント

コメント

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

https://cemarkingassociation.co.uk/latest-news/ce-marking-an...
leni536
·2 か月前·議論
But surely anything the LLM outputs is clear of licensing requirements /s

Or would Microsoft like to argue otherwise in court?