Better HN
topnewbestaskshowjobs
Log inSign up

tomsmeding

1,737 karma · joined Mar 17, 2015 (11y ago) · 660 submissions

Some guy interested in programming, maths, music and languages.

[ my public key: https://keybase.io/tomsmeding; my proof: https://keybase.io/tomsmeding/sigs/mq9OciJTfLZFXca0Pjinpinyz1RSeL8nJdOjY_pfjwY ]

Submissions

comment 1w ago · link · parent

> It will serve to either force those companies to finally start caring to fix their process

Those companies care about their revenue; they care only about the security of their customers' devices if it impacts their business success.

> or it will force the relevant users to get hacked

That it well might.

> ... until they vote with their wallets

They won't, because the next company over is just as bad, and the first-party devices are too expensive. And anyway the knowledge of which companies patch early may not even spread outside the tech circle.

> ... or (less likely) possibly force bootloaders to be unlocked

By whom? I have no idea what party would arrange that.

> ... or perhaps governments to finally step in and mandate some minimum level of software maintenance.

Now that would be nice, but that would be regulating the industry, and since when is that happening?

I doubt this is a good thing.

comment 1mo ago · link · parent

If it's in AGENTS.md, it's not a statement for a human, but for the LLM. Who knows, maybe they have seen, or think to have seen and now cargo-cult, some behaviour improvement due to the sentence.

comment 1mo ago · link · parent

I read the "weirdly" as "unexpectedly", i.e. "you might not see this coming, but it's still true (and there's deep theory behind it)".

comment 1mo ago · link · parent

In ML family languages you also don't have to change the language for this, as function application is naturally "argument-by-argument" (the term is "curried"): the syntax is normally f x y z but (f x y) z and (((f)) (x)) y z are just as valid, and indeed f x y will be a function taking one argument. Thus |> can just take a function of one argument and be done.

comment 1mo ago · link · parent

That インウ should likely be インク. :)

comment 1mo ago · link · parent

Dialogue is super effective for this, but it's also a skill: you're suddenly a teacher. You should have no judgement of the other not knowing something, and be able to effectively build up that delta in a way that is understandable and interesting to the other. This can be more difficult than it sounds, but it's also rewarding.

comment 1mo ago · link · parent

I've been doing some benchmarking recently and I've observed that on certain workloads, my CPU cores are not equivalent. (And this is an Intel CPU from 5 years ago, all cores are the same on paper.) In a particular very bad case I have a reproducible 50% performance difference between (physical) core 0 and core 5.

You might want to taskset to particular cores too, especially if you are looking at computational code with many almost-but-not-quite-random memory accesses.

comment 1mo ago · link · parent

This is hilarious as someone who hasn't used the gmail composition interface in years. I left it to use my own domain, but it seems like I get to enjoy this mess with popcorn too instead of tears.

comment 2mo ago · link · parent

Possibly, but at least a cursory internet search of the person's name doesn't being up this article. Which is a good thing.

comment 2mo ago · link · parent

It's an existing joke: https://www.reddit.com/r/keming/

comment 2mo ago · link · parent

Similar experience to sibling: a disinterested human isn't going to ask for 30 different detailed things to add to, or change in, the paper that could technically be improved but aren't worth the additional page real estate. An LLM reviewer definitely does this.

comment 4mo ago · link · parent

I can't help but read VSMOW as Very Standard Mean Ocean Water.

comment 4mo ago · link · parent

It ought not to, indeed. However, if you want "save my file" to include awareness of other developers concurrently working on the same project -- even the same file -- with a decent way to handle conflicts, it suddenly becomes complicated. Git is probably not the optimal way of designing a UI around this, but it's not like this is an easy problem.

comment 5mo ago · link · parent

scḧon

comment 7mo ago · link · parent

Egraphs fundamentally require a first-order language, i.e. no lambda functions, because they do not handle scoping well. There are workarounds that work in some circumstances, but no general solution (that I'm aware of).

Additionally, egraphs express rewrites on a single language. Compilers are fundamentally translators between different languages; how do you write typechecking as an egraph rewrite rule? Or conversion to assembly?

comment 11mo ago · link · parent

The method proposed is just A - B mod n. The two are entirely equivalent.

comment 12mo ago · link · parent

Do you really think that `*(a + i)` is clearer than `a[i]`?

comment 1y ago · link · parent

It is thoughtful, that's not the problem. It's just not written in the standard language "written English", but instead in "spoken English" with some attempts towards the former ("My final thought on ...") that sound like someone trying formal writing for the first time.

comment 1y ago · link · parent

Well, it is the type of that, in TS syntax. Few are the statically-typed languages that can even express that type.

comment 1y ago · link · parent

Hypothesis: that Qualcomm and that Macbook have higher memory bandwidth than your i9 system. This is dependent on your memory and your mainboard, not so much on the CPU itself. Perhaps Teams just uses way too much memory, and actually uses it all the time.

comment 1y ago · link · parent

> According to Breyer, the existing voluntary system has already proven flawed, with German police reporting that roughly half of all flagged cases turn out to be irrelevant.

A failure rate of only 50% is absurdly good for a system like this. If we have to:

> Imagine your phone scanning every conversation with your partner, your daughter, your therapist, and leaking it just because the word ‘love’ or ‘meet’ appears somewhere.

then apparently either there are so many perpetrators that regular conversations with partners etc. are about as common as crime, or such regular conversations don't have such a high risk of being reported after all.

I don't think chat surveillance is a good idea. But please use transparent and open communication. Don't manipulate us just like the enemy does.

comment 1y ago · link · parent

That, and the main author of CompCert [1], as well as (apparently) the author of the original threading support in the Linux kernel [2].

[1]: https://en.wikipedia.org/wiki/CompCert

[2]: https://en.wikipedia.org/wiki/Xavier_Leroy

comment 1y ago · link · parent

Nitpick, but IEEE float operations are commutative (when relevant and appropriate). Associative and distributive they indeed are not.

comment 1y ago · link · parent

Sure, but that has a resolution of seconds at best. The coil whine in the power electronics is milliseconds-accurate.

comment 1y ago · link · parent

There is some recent work on this too: https://dl.acm.org/doi/10.1145/3632880

comment 1y ago · link · parent

I don't doubt there are interesting things in that book, but this particular one feels just so unsurprising: people are likely to notice that the flip-flops in the two bins are remarkably similar, and see that one is cheaper. They don't see a reason to buy the more expensive one so they choose the cheaper one.

It would have been more interesting had people chosen the more expensive one. There is a folk theory that you can get people to do this if you add an even more expensive option -- the "middle" option is the most attractive.

comment 1y ago · link · parent

This just sounds like you haven't been using transactions. SQLite upholds transaction guarantees.

comment 1y ago · link · parent

Not quite this, but still relevant: https://www.ty-penguin.org.uk/~auj/spigot/

comment 1y ago · link · parent

I don't think ChatControl is a good idea. I also think that if you want to convince people of that, using the same misleading language tactics as the other side is not the way to go.

> These scanning systems get it wrong most of the time. [...] Irish law enforcement confirms this: only 20.3% of 4,192 automated reports actually contained illegal material.

Wrong most of the time that they report something. Technically correct, although a somewhat tricky formulation.

Literally next paragraph:

> Even with hypothetical 99% accuracy (which current systems don’t achieve), scanning billions of daily messages would generate millions of false accusations.

This is a different accuracy percentage: here the author means 99% of all messages, not only the reported ones, which the previous 20.3% referred to. Furthermore, these two paragraphs together sound very fishy: if current systems are not accurate enough to generate "millions of false accusations", presumably (?) they generate at least that. But with the 20.3% true positives fraction, that would mean hundreds of thousands true accusations per day.

Which part am I misunderstanding?

comment 1y ago · link · parent

> Its also inconvenient enough that most people wont bother. > in Arch AUR is very much a non essential component.

While somewhat true, we are talking about a user who has installed Arch on their machine. If a user wanted to not bother with installation details, they would've installed Ubuntu.

12345
22