Posts
3572
Following
722
Followers
1586
"I'm interested in all kinds of astronomy."
@addison Thanks, that makes sense, but I can't touch Session as it comes from a dependency. There is definitely a lifetime issue here too (esp. because the actual tree of objects goes ~5 levels deep).

I think the root of my Q is if there is a way to create a "will" for Rust functions/scopes that would say "after my death my caller will inherit all that I own (so please don't free shit up)"?
1
0
0
@kstrlworks Oh sry, I'm on 25.7<whatever is the latest patch>. I simply use two bridged interfaces on Proxmox. Based on my above observations I think this is more of a design issue of moving around files during the upgrade process, and *maybe* something you can mitigate with some ZFS magic (I'm on UFS).
1
0
0
@addison From a different branch of this convo:

"Imagine that initialization is more complex and I want to provide a library that hides that complexity, exposing something like setup_widget() and deinit_all()."

https://infosec.place/notice/B3RIRrdtPQog3eUc2y
1
0
0
@edmcbane Imagine that initialization is more complex and I want to provide a library that hides that complexity, exposing something like setup_widget() and deinit_all().

You can see an E0515 here (among other things), but I intentionally refrained from providing my attempts because I suspect there is a completely different Rust pattern for similar cases:

https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=0f4a1eeba2c33741fafc059d717e87bb

It's important that I can't touch Session or Widget as they are provided by a library (with FFI).
0
0
0
@alphastrata Thanks! I'll probably end a up a solution like that but still wonder if this can be achieved without Box/refcounts (should've added to the question)?
0
0
0
repeated

ブースト、お気に入り大歓迎!yuya_maekadoさんの投稿作品です。

【yuya_maekadoさん】
https://tokyocameraclub.com/mstdn/yuya_maekado/

【投稿作品】
https://tokyocameraclub.com/mstdn/yuya_maekado/111940073051394315

【登録はこちら:東京カメラ部インスタンス】
https://mstdn.tokyocameraclub.com/

東京カメラ部インスタンスに登録いただき、ハッシュタグ「」を付けていただいた投稿が対象となります。ぜひ、気軽にご参加ください。

※各種法令、マナー、関係者の指示に従った撮影をお願いします。
*Please ensure that your photography adheres to all relevant laws, etiquette, and instructions issued by authorized persons.

0
1
0
Today in This Should Be Easy But in #Rust It Apparently Isn't: how do I encapsulate the widget initialization (without triggering E0515) in this example, so it becomes reusable?

https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=f31dd1ecf5530b11e301bb19af85b0fa
3
1
0
[RSS] Cryptographic Issues in Matrix's Rust Library Vodozemac

https://soatok.blog/2026/02/17/cryptographic-issues-in-matrixs-rust-library-vodozemac/
0
4
2
[RSS] Building a Secure Electron Auto-Updater

https://blog.doyensec.com/2026/02/16/electron-safe-updater.html
0
0
2
@kstrlworks It looks like a transient error, most likely a corrupt download. Shit happens ofc, but he only acceptable reason for bricking the system would be hardware error which is very unlikely because other VMs on the same host run just fine.
1
0
0
repeated

🎥 PTML: emitting rich decompiled code

Jack introduces PTML and how rev.ng goes beyond raw text, enriching decompiled code (e.g., decompiled C, disassembly, etc.) with HTML-like markup to provide richer and useful information for the viewer.

https://www.youtube.com/watch?v=_Xtwu_EaRJg

1
2
0
@kstrlworks Clean install from ISO (latest minor) -> firmware update from webUI to latest patch. The updater removed basic files, then failed to extract the updated ones so everything just stopped working.
1
0
0
repeated

Happy Presidents Day.

Two weeks ago, the CIA shut down the World Factbook - a public
domain reference on every country, used by 6 million people
monthly since 1997.

We built a replacement:
https://openfactbook.org

261 countries · Instant search · Country comparisons

Public data should stay public.


5
20
0
repeated

May I present to you; a full copy of doom, running inside of a Rollercoaster Tycoon 1 save game exploit ✨

Thanks for everyone that came to check out our @districtcon Junkyard talk! We had a lot of fun putting it together. (check the thread for slides / exploit)

0
5
0
repeated
Edited 23 days ago

(No) surprise!

I think we all saw this coming... didn't remove data when they said they would, which we now know because it leaked out. Some leaked data was from customers who left 10 years ago, while they state they remove it after 2. Only 8 years late. Even the tax office doesn't need it that long...

https://nos.nl/artikel/2602804-odido-overschrijdt-eigen-termijn-bewaren-gegevens

0
4
0
OPNSense managed to destroy itself during an update, still people wonder why companies buy Fortinet...
1
0
1
What stage of #enshittification is it when Amazon adds a "Download Problems" option to it's Refund menu instead of fixing their system so people can download their digital purchases?

(Would it be ironic if I supported Anna's Archive with Amazon gift cards after I downloaded the books from there?)
2
1
3
repeated
Show older