HackerLangs
TopNewTrendsCommentsPastAskShowJobs

leni536

4,409 karmajoined 12 ปีที่แล้ว
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·5 เดือนที่ผ่านมา·0 comments

comments

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

https://cemarkingassociation.co.uk/latest-news/ce-marking-an...
leni536
·2 เดือนที่ผ่านมา·discuss
But surely anything the LLM outputs is clear of licensing requirements /s

Or would Microsoft like to argue otherwise in court?