Readit News logoReadit News
_flux commented on Trying to get error backtraces in Rust libraries right   iroh.computer/blog/error-... · Posted by u/emschwartz
nromiun · 2 days ago
So you are talking about bugs that don't get caught in development? That happens in Rust as well. Borrow checker does not catch every bug or error. A random module you are using could throw a panic and you would not know with Rust (or any language for that matter), until your users trigger those bugs.
_flux · 2 days ago
It sure does happen. So should we simply give up? Or should we aspire to have tools to reduce those bugs?

Knowing what kind of errors can occur is one of those tools.

_flux commented on Trying to get error backtraces in Rust libraries right   iroh.computer/blog/error-... · Posted by u/emschwartz
nromiun · 2 days ago
"I don't care what fails" means not catching any exception/error. My comment was the exact opposite of the idea. Top level function will bubble up every exception, no matter how deep or from which module.
_flux · 2 days ago
But the case when you actually learn what errors can happen is when your users start complain about them, not because you somehow knew about it beforehand.

Or maybe you have 100% path coverage in your test..

_flux commented on Mosh Mobile Shell   mosh.org... · Posted by u/rbinv
snickerdoodle12 · 4 days ago
It's great for SSH from my phone. The connection is just there whenever I unlock my phone.
_flux · 4 days ago
Yes, but I've also found that I can have ssh open from phone for days to my home computer, if I've established it over a VPN (in my case wireshark).

I suppose this didn't always use to be the case, though.

_flux commented on Mosh Mobile Shell   mosh.org... · Posted by u/rbinv
mbirth · 4 days ago
Uh, mosh needs to be installed to the server as well?
_flux · 4 days ago
Well yes, but mosh starts its server over an initial SSH connection used for setup, so you only need the binary to exist in PATH of the remote host and you're done. It's more difficult to arrange a service to be running; sometimes more so if you don't have root.
_flux commented on Show HN: Clearcam – Add AI object detection to your IP CCTV cameras   github.com/roryclear/clea... · Posted by u/roryclear
brk · 8 days ago
Nothing good has an open software stack. There are some brands (eg: Axis, Bosch, Hanwha), that support 3rd party apps that can run on the camera and perform various tasks, including AI applications.

Any product that would fall under the good quality segment is primarily targeted at the commercial market, and nobody there is looking for open software.

_flux · 7 days ago
There's https://openipc.org/ , if open source camera firmware is of interest to you. I actually ordered a few supported IP camera modules (basically complete IP cameras but without the case) from Aliexpress and tested that I'm able to compile a firmware, I shall see if I get it working once they arrive.

It's not quite clear to me what the firmware is actually able to do, though. Apparently its motion detection is very basic, though, so you'd need to use e.g. Frigate for that.

_flux commented on Being “Confidently Wrong” is holding AI back   promptql.io/blog/being-co... · Posted by u/tango12
vidarh · 10 days ago
This is a good point, and to drive this home to people, if you have a conversation of this pattern:

    User: Fix this problem ...
    Assistant: X
    User: No, don't do X
    Assistant: Y
    User: No, Y is wrong too.
    Assistant: X
It is generally pointless to continue. You now have a context that is full of the assistant explaining to you and itself why X and Y are the right answers, and much less context of you explaining why it is wrong.

If you reach that state, start over, and constrain your initial request to exclude X and Y. If it brings up either again, start over, and constrain your request further.

If the model is bad at handling multiple turns without getting into a loop, telling it that it is wrong is not generally going to achieve anything, but starting over with better instructions often will.

I see so many people get stuck "arguing" with a model over this, getting more and more frustrated as the model keeps repeating variations of the broken answer, without realising they're filling the context with arguments from the model for why the broken answer is right.

_flux · 10 days ago
Indeed, arguing with LLM is good if you like arguing. For results it's not the way to go.

I think often it's not required to completely start over: just identify the part where it goes off the rails, and modify your prompt just before that point. But yeah, basically the same process.

_flux commented on Weaponizing image scaling against production AI systems   blog.trailofbits.com/2025... · Posted by u/tatersolid
nneonneo · 11 days ago
"sudo" tokens exist - there are tokens for beginning/end of a turn, for example, which the model can use to determine where the user input begins and ends.

But, even with those tokens, fundamentally these models are not "intelligent" enough to fully distinguish when they are operating on user input vs. system input.

In a traditional program, you can configure the program such that user input can only affect a subset of program state - for example, when processing a quoted string, the parser will only ever append to the current string, rather than creating new expressions. However, with LLMs, user input and system input is all mixed together, such that "user" and "system" input can both affect all parts of the system's overall state. This means that user input can eventually push the overall state in a direction which violates a security boundary, simply because it is possible to affect that state.

What's needed isn't "sudo tokens", it's a fundamental rethinking of the architecture in a way that guarantees that certain aspects of reasoning or behaviour cannot be altered by user input at all. That's such a large change that the result would no longer be an LLM, but something new entirely.

_flux · 11 days ago
I was actually thinking sudo tokens as a completely separate set of authoritative tokens. So basically doubling the token space. I think that would make it easier for the model to be trained to respect them. (I haven't done any work in this domain, so I could be completely wrong here.)
_flux commented on Weaponizing image scaling against production AI systems   blog.trailofbits.com/2025... · Posted by u/tatersolid
K0nserv · 11 days ago
The security endgame of LLMs terrifies me. We've designed a system that only supports in-band signalling, undoing hard learned lessons from prior system design. There are ampleattack vectors ranging from just inserting visible instructions to obfuscation techniques like this and ASCII smuggling[0]. In addition, our safeguards amount to nicely asking a non deterministic algorithm to not obey illicit instructions.

0: https://embracethered.com/blog/posts/2024/hiding-and-finding...

_flux · 11 days ago
Yeah, it's quite amazing how none of the models seem to be any "sudo" tokens that could be used to express things normal tokens cannot.
_flux commented on Why are anime catgirls blocking my access to the Linux kernel?   lock.cmpxchg8b.com/anubis... · Posted by u/taviso
throwawayffffas · 12 days ago
Unless they require a new token for each new request or every x minutes or something it won't matter.

And as the poster mentioned if you are running an AI model you probably have GPUs to spare. Unlike the dev working from a 5 year old Thinkpad or their phone.

_flux · 11 days ago
Apparently bcrypt has design that makes it difficult to accelerate effectively on a GPU.

Indeed a new token should be requested per request; the tokens could also be pre-calculated, so that while the user is browsing a page, the browser could calculate tickets suitable to access the next likely browsing targets (e.g. the "next" button).

The biggest downside I see is that mobile devices would likely suffer. Possible the difficulty of the challange is/should be varied by other metrics, such as the number of requests arriving per time unit from a C-class network etc.

_flux commented on Jujutsu and Radicle   radicle.xyz/2025/08/14/ju... · Posted by u/vinnyhaps
throwaway755755 · 18 days ago
What happened to Radicle?
_flux · 18 days ago
Did you hear something? 1.3.0 was released on August, so it seems it's still a functional project.

u/_flux

KarmaCake day1022October 6, 2020View Original