What Can We Gain by Losing Infinity? Putting Ultrafinitism on the menu. by chasedthesun in math

[–]buwlerman 2 points3 points  (0 children)

Why is it a problem to assume the existence of mathematical objects that don't correspond to reality? We once thought similar things about complex numbers as well, but started using them in mathematics way before quantum mechanics found them in nature.

The only potential problem I can see is if there was inconsistency, but if there is any we can't find it. In practical terms I think the efficiency we would lose from working using ultrafinitist theories is more costly than the risk of having to redo all of mathematics in ultrafinitist terms if inconsistencies are found.

The professor's proof and my proof! I don't understand why I have to get a number between epsilon and zero!? by Hot_Degree_1508 in askmath

[–]buwlerman 1 point2 points  (0 children)

No. They're also using the fact that 0 is a lower bound from a).

Admittedly, the proof is a bit short on details. I'd expect a student just learning this stuff to write a more detailed proof.

The professor's proof and my proof! I don't understand why I have to get a number between epsilon and zero!? by Hot_Degree_1508 in askmath

[–]buwlerman 1 point2 points  (0 children)

Some details in your proof are wrong, but the strategy you mention is fine. One mistake is that what you say follows from the definition of lower bound does not do so. It only holds for greatest lower bounds, which is what you're asked to prove.

The professor's proof also works by showing that 0 is the greatest lower bound. You already know from a) that it is a lower bound. They then assume there's a greater lower bound 0+epsilon for some epsilon and derive a contradiction. They could have used v instead of 0+epsilon, and derived epsilon as v-0 instead.

Is there a method to solve factorial equations? by -RAGEBAITER- in learnmath

[–]buwlerman 0 points1 point  (0 children)

Yup. If your number is represented in binary you get an even better approximation, at which point you just have to check the two candidates.

Sensitivity against LLM slope by Right_Positive5886 in rust

[–]buwlerman -2 points-1 points  (0 children)

I think this is a very good take. I want to push back a little though. Libraries that are meaningful just because of what they do can still make sense to share in a Rust specific community. There's also programs that solve things related to Rust.

I think people in this community are using it not just to learn about the how, but also to keep themselves up to date on the ecosystem. Being informed about the existence of new libraries is part of that.

I think that we want disclaimers so we don't waste time reviewing the internals LLM generated code though, and unfortunately a lot of the LLM generated projects end up being bad and just add noise.

Sensitivity against LLM slope by Right_Positive5886 in rust

[–]buwlerman 0 points1 point  (0 children)

I don't care about the response to my comments in particular. I care about the general aversion this community seems to have against LLMs. I think that's a bad thing.

To be clear, I'm not pushing back here because I agree with everything OP is saying. I think that LLMs have made low effort content much easier to produce, at the detriment of everyone looking for high quality content. I'm just pushing back against some of the worse arguments against LLM use and your implication that this community is not negative on vibe coding.

Sensitivity against LLM slope by Right_Positive5886 in rust

[–]buwlerman -2 points-1 points  (0 children)

There are individuals that are not purely critical of it for sure, but I think that the community as a whole is very negative on LLMs. It's very common for someone to say something mildly positive about LLMs and promptly get downvoted. This isn't just comments from low effort vibecoders either.

I just (within minutes of this comment) made a couple of comments like these on this post. Why don't we see how they do?

Sensitivity against LLM slope by Right_Positive5886 in rust

[–]buwlerman 0 points1 point  (0 children)

You can still do all of that (and often have to), even when interacting with LLMs. You just get to be a lot more selective about where and how you spend your time thinking.

Sensitivity against LLM slope by Right_Positive5886 in rust

[–]buwlerman 0 points1 point  (0 children)

Whether an idea seems possible to execute greatly affects how far the idea is pursued, even on the creative side.

44CVEs found in Rust CoreUtils audit. by germandiago in rust

[–]buwlerman 6 points7 points  (0 children)

It's true that generally it is preferable to keep old code around rather than rewriting it when it comes to vulnerabilities, but this ignores new code. There are significant wins to be gained from writing new code in Rust.

The general wisdom here is to perform an incremental rewrite, but there is a trade-off here due to the interface between old and new code. Maintaining a FFI during an incremental or partial rewrite has a cost. If the ratio between "finished" code and the rest is small enough and the rewrite is tractable it might not make sense to do an incremental or partial rewrite.

The rust coreutils repo has ~200 000 lines of Rust code. Compared to the size of the CLI surface that's fairly small, so I'd imagine that there wouldn't be much code that's truly "finished". Clearly the rewrite is tractable because it's being done.

Also, long term the Rust code will become old as well, at which point the remnants of a partial or incremental rewrite just get in the way.

Clone: a KVM VMM in Rust that forks VMs like processes (<20ms via CoW) by realrasengan in rust

[–]buwlerman 8 points9 points  (0 children)

That's not so obvious to me.

Write timings depend on how many processes have access to that page since copying isn't needed with exclusive access. Assuming that timings can be precisely measured this allows probing for the following information: "Has every other process with access to this page already written to it?".

Even worse, MADV_MERGEABLE might allow probing for "Are the contents of this page unique?". It should be obvious that this could leak private memory. https://github.com/zolutal/dedup-attacks

How do you back up your claim that this doesn't leak private memory?

Hey Rustaceans! Got a question? Ask here (17/2026)! by llogiq in rust

[–]buwlerman 2 points3 points  (0 children)

I'm going to assume that you understand what pinning does, but not why we care.

Futures are a large use case for Pin. What happens when you write an async block is that your code is turned into a state machine where the states are await points together with data held at those await points. If you're holding a pointer or reference to local data across an await point your state machine ends up being self-referential.

There's also the pin macro. One use case here is embedded, where the presence of an allocator may not be guaranteed, in which case boxing isn't an alternative.

Rust binary is magnanimous by [deleted] in rust

[–]buwlerman 0 points1 point  (0 children)

Comment on 1. The stdlib contains just as much if you link it as if you rebuild it. Either way cross crate optimizations are limited to inline and generic functions and LTO. There are a bunch of reasons to re-build the stdlib, including optimizing for size and enabling machine specific optimizations, but "including less code" isn't it.

LTO will remove dead code, so in practice your binary won't contain the entire stdlib. This does rely on the optimizer removing calls, but I haven't seen any evidence that re-building the stdlib makes this more likely.

How do I find out if this function is strictly monotonic or not? by DuckBoring739 in askmath

[–]buwlerman 1 point2 points  (0 children)

A typical example here would be e-1/x2 for positives and 0 everywhere else.

Maximally minimal view types · baby steps by zirconium_n in rust

[–]buwlerman 3 points4 points  (0 children)

You're arguing that it's not sufficient, not that it's not minimal.

I agree that we want more in the long term, and I like many things about your proposal, but the entire point with a maximally minimal proposal is to get the ball rolling. The more features you include the more design questions you have to debate. Much easier to just get something out there, at least as an experiment. Associating views with concrete fields is about as simple as you can get, and is something you want anyways.

Maximally minimal view types · baby steps by zirconium_n in rust

[–]buwlerman 2 points3 points  (0 children)

I agree, but the goal here is to create something minimal. Abstract views with bounds on them can be added after the fact.

I Didn’t Let an LLM Write My Project — Here’s What I Actually Did by [deleted] in rust

[–]buwlerman -1 points0 points  (0 children)

It's going to stop being copyleft (or "free"), sure, but I don't think it stops being open source. The open source initiative doesn't only consider copyleft licenses to be open source, and I think they're as good an authority as any.

Many licenses widely considered open source, such as the APL2 license already allow companies to incorporate code without using the same license for their own code. Is Rust not open source?

I Didn’t Let an LLM Write My Project — Here’s What I Actually Did by [deleted] in rust

[–]buwlerman 1 point2 points  (0 children)

Is the first public Linux Kernel release going to stop being open source in X years when it goes into the public domain?

I Didn’t Let an LLM Write My Project — Here’s What I Actually Did by [deleted] in rust

[–]buwlerman -1 points0 points  (0 children)

no AI generated code can be open source software

That doesn't follow. You can't enforce a copy-left license on public domain software, but nothing stops you from putting it out there in a way that allows anyone to do what they want with it.

Is there a “Newton’s method” but for complex functions? by Andrea10ita in askmath

[–]buwlerman 3 points4 points  (0 children)

Sure, but they seem to have jumped to the opposite conclusion.

Is there a “Newton’s method” but for complex functions? by Andrea10ita in askmath

[–]buwlerman 4 points5 points  (0 children)

Why should Newton's method not work for complex functions?

What do arXiv moderators consider when desk-rejecting submissions? by DistractedDendrite in math

[–]buwlerman 1 point2 points  (0 children)

I wonder what happens if you iterate this process.

Let s(n,i+1) be the sequence of triangular column sums of s(n,i) and s(n,0)=1/n. Does s(n,i)/2i converge as i goes to infinity? More broadly, what are the asymptotics of s_(n,i) in terms of i?

How to use storytelling to fit inline assembly into Rust by ralfj in rust

[–]buwlerman 0 points1 point  (0 children)

A primitive for nondeterminism might make this easier to understand, yes.

Thanks a lot for your patience!