Thales Fragoso
banner
thalesfragoso.bsky.social
Thales Fragoso
@thalesfragoso.bsky.social
Encantador de areia e apreciador de structured concurrency.
@jamesmunns.com Time to create panic-email.
November 20, 2025 at 11:50 PM
Someone is porting clang to wasm, so I guess it's possible?

Not sure how people would react to a tab eating 3+ GiB out of nowhere though.
November 20, 2025 at 11:45 PM
The curious thing was that it seems it was caught upstream and the caller did handle it... By returning 500...

One can even say that the panic wasn't really the problem, but how they decided to handle a fatal error in the bot detection system.
November 19, 2025 at 6:27 PM
I mean, sometimes panic **is** the right call.
November 19, 2025 at 6:04 PM
O que quis dizer é que não precisa ser 'static, e por isso não entendi a segunda parte do seu post:
"indicando que um trait object possui a propriedade de tudo que ele referencia".
November 19, 2025 at 6:01 PM
Não entendi bem sua conclusão?

`dyn Trait` só acaba sendo 'static implicitamente em alguns casos devido a lifetime elision, mas você pode sempre anotar outro lifetime, e.g.:

play.rust-lang.org?version=stab...
Rust Playground
A browser interface to the Rust compiler to experiment with the language
play.rust-lang.org
November 19, 2025 at 5:34 PM
typ
October 4, 2025 at 1:56 PM
Natural languages are incredible informal and ambiguous.
September 30, 2025 at 5:51 PM
From the people who brought you "Free Monads" comes a new challenge: Freer Monads.
September 29, 2025 at 2:48 AM
Mutable alias with references is UB. It's basically the textbook use of unsafe.
September 22, 2025 at 10:14 PM
Does it really need to be safe though?

I would rather have it marked unsafe with proper `Safety` comments than have it "safe, but not really".
September 22, 2025 at 9:48 PM
Ok, you got me worried for a sec.
May 26, 2025 at 8:09 PM
Did bluesky just pulled a link preview from your spelled-out url?
May 26, 2025 at 8:04 PM
Who decides which parts are the goodies and which aren't?
May 17, 2025 at 4:55 AM
As vezes faltam as metas concretas também.
May 16, 2025 at 4:36 PM
I'm currently using choc sunsets, a bit more difficult to find but I'm really liking them.
May 16, 2025 at 4:33 PM
Mas precisa disso tudo? A proteção vale pra criatura também? Minha interpretação era que só protege o jogador.
May 14, 2025 at 4:49 PM
Can you give an example of the last sentence?
May 11, 2025 at 4:31 PM
Pra deixar claro, interpretei "o mexe quase nada em documentação" como mudanças pequenas/insignificantes na documentação.

Mas agora não tenho certeza se interpretei certo .-.
May 6, 2025 at 8:36 PM
"LGTM, thanks." (Clicks merge).

Sou preguiçoso, qualquer outra coisa seria esforço sem benefício.
May 6, 2025 at 8:16 PM
Também comecei no Malboro depois de aprender python.
May 6, 2025 at 12:19 AM
rustls already covers a good chunk of openssl use cases.

It doesn't do its own crypto however, but that isn't necessarily bad. People usually roll with assembly for that still anyways.
May 6, 2025 at 12:07 AM
You might even be able to do with references and safe code, but the resulting type won't be very flexible to use, since it will be borrowed for the whole time it exists. You might be interested in reading:

doc.rust-lang.org/nomicon/drop...
doc.rust-lang.org
May 1, 2025 at 8:20 PM
You can do with raw pointers and care. Also, you probably want to pin `xs` before creating the pointers because a lot of methods in Vec can invalidate its original memory.
May 1, 2025 at 8:09 PM
I use async even for stupid CLI tools. Easily selecting concurrency abstractions is a game changer.
April 28, 2025 at 4:19 PM