Better HN
topnewbestaskshowjobs
Log inSign up

shiandow

1,148 karma · joined Jan 22, 2024 (2y ago) · 504 submissions

pragmathics.nl
Submissions

comment 23h ago · link · parent

Hmm, maybe, but we'll need to make it better at finding understandable proofs first I think. I mean you're still at risk of having your main results be made obsolete before you could get them published because an AI company decided it was a good test.

But so far a lot of success seems to come from using formally verifiable code, using an AI to find relevant maths papers, some heuristics for what counts as progress, and then just see what sticks.

So good proofs won't suddenly go out of fashion, and the problems get more complex but the proofs don't seem to be getting any simpler without human intervention.

comment 1d ago · link · parent

At some point it stops generating text and just regurgitates the source data.

comment 3d ago · link · parent

To some extent, but these kinds of 'tricks' do tend to end up showing what value it ought to be.

Except if you start rearranging infinite series that don't converge absolutely, then things get nasty.

comment 3d ago · link · parent

Starting with an unnecessary list of touched files before the Reviewing Guide. Talk about burying the lede!

Not sure about the name reviewing guide, but I do like the contents. Then again I know nothing about code base.

comment 3d ago · link · parent

I'd argue Gödel's incompleteness theorem is more of a formale example of the same.

Though it is technically different. Mathematicians were happy to pick a set of axioms, they were less happy to learn any theory capable of stating facts about basic arithmetic would necessarily be unable to prove all things it could state.

comment 3d ago · link · parent

You trivially could through the principle of explosion.

That said at least one version is itself formally verified, at the machine code level if I understood correctly. It might still make mistakes but you're starting to get to a point that those mistakes become quite unlikely.

It's still a pretty tricky endeavor but we should know soonish, with some confidence if it is correct or not.

comment 4d ago · link · parent

I think IP only makes sense if the cost of replication is low.

More to the point I really dislike it when corporate freedoms are placed above personal freedoms.

comment 1w ago · link · parent

Payment not working could be considered a partial outage.

comment 1w ago · link · parent

You don't even need something exotic for this to fail. A simple power failure would disable this system and most backups.

We've been through this with smoke detectors, it's not a new thing.

comment 1w ago · link · parent

Repeating the code is silly, but some degree of duplication in the binary makes sense. It's a basic size / latency trade-off.

comment 1w ago · link · parent

I wish Microsoft office was anywhere near as quick if I'm honest. But no I don't know any way to improve startup time.

comment 1w ago · link · parent

The PEP explicitly says there are 20 of which only 19 are written down and I can't figure out if that is a joke, a deliberate statement, or both.

comment 1w ago · link · parent

That's one of the reasons radix sort is terribly quick when applicable (and a lot of orderings are lexicographic). It's effectively just a few scans over the data. I suppose the simplest version does make a copy of the data but it has excellent locality of reference.

comment 1w ago · link · parent

I have. My main 'claim' is that AI isn't naturally inclined to structure code well.

Doesn't mean you can't make it, or rather you must.

comment 1w ago · link · parent

I knew it. I keep asking people why they're constantly checking if an attribute might be empty.

One particularly bad instance consisted of someone checking for the existence of an attribute on a class they had created themselves.

When I asked why they didn't simply ensure the attribute existed they got defensive.

comment 2w ago · link · parent

So far the trend is pointing to AI being better at finding problems than designing software to avoid them.

Which I'm fine with really, but it means you need to be very careful letting it iterate on code until it finds no problems.

comment 2w ago · link · parent

It's prpbably going to diverge, but in this case there's not really a dataset to begin with. It's just alternating calculating the centroids with calculating the Voronoi diagrams. The reason it's slow is not because it can't escape a local minimum it's because the two steps are only slowly converging on the optimum.

So something that ends up increasing the step size might actually help. But in practice you're probably better of doing something more orthodox like conjugate gradient or Newton's.

comment 2w ago · link · parent

Thanks for the extra detail!

I agree that simulated annealing is perhaps the closest. The missing link, I suppose, is knowing what distribution you get by running the algorithm for a fixed temperature (alpha). But the method works even if you don't know all that really matters is that it converges to the distribution you want, which is neat! I might use that trick sometime.

The reason simulated annealing sprang to mind is that I've done something similar once where I tuned the temperature curve for a simulated annealing algorithm, but I couldn't find a general enough rule. So seeing someone do something similar is really neat!

There are some theoretical guarantees to be had if the update step can be recast into a MCMC update, or equivalent. And I think there's an expression for the optimal temperature at any point in time (same way you found it for alpha). Any idea if there is a useful description for the steady state distribution at a given alpha?

comment 2w ago · link · parent

Since it's basically a linear interpolation between Lloyd's algorithm and not moving any points it will be at least as good but gains might be limited without careful tuning.

Edit: in fact you might end up going faster by moving the other way, set alpha = -0.1 and see what happens!

comment 2w ago · link · parent

These kinds of algorithms tend to have equivalent descriptions as expectation maximisation or simulated annealing. I wonder if it's possible to understand their algorithm in that sense.

Though I suppose it may be as simple as expectation maximization with a friction term, since Sj = sj - a (sj - Sj).

Importantly they note that this update rule keeps the centroid within the convex hull, which is pretty important.

comment 2w ago · link · parent

I think blockchain posts were more aggressively marked down from the front page, but I might be wrong. Maybe the AI is just too pervasive for that to work.

comment 2w ago · link · parent

Is it specifically castration? You'd think HRT for trans women would help close the age gap. Maybe in a few decades we'll know more.

comment 2w ago · link · parent

Depends on your perspective I suppose. It's one of the simpler ways to define it for complex numbers.

comment 2w ago · link · parent

It's a more general rule about when and where to use mathematical notation. Though style rules do differ in places.

For what it's worth I've not seen "12x" in formal contexts, but if that is proper then the times symbol still shouldn't be styled as part of the maths formula imho.

comment 2w ago · link · parent

Technically yes, but quoting mathematical constants is definitely allowed. You could also say O(N) times for instance. The kind of language that is discouraged is writing "therefore efficiency increases by O(log(N)) times" as "∴ efficiency increases by O(log(N)) *".

For one it simply looks like you forgot to finish the formula.

comment 2w ago · link · parent

Well they didn't teach me English. Or in English for that matter.

And I don't think I've ever used the Oxford comma.

There was probably some rule about not beginning sentences with Or and And but you probably know better than I.

comment 2w ago · link · parent

I think it was implicitly assumed that one or more of those would fail. The main question is, who else?

comment 2w ago · link · parent

I'm not sure why but using X instead of the word "times" annoys me. Probably because one of the first things I got taught at university is that mathematical notation is not prose and shouldn't be used as such.

comment 2w ago · link · parent

sin(x) = (e^ix - e^-ix) / 2i

comment 2w ago · link · parent

There's a 2 in the definition of sin :-)

Though it really depends which definitions you find more fundamental.

Still, exp and log seem like good choices.

12345
17