🌉 bridged from @SorteKanin@feddit.dk by Tidepool
SorteKanin
@sortekanin.feddit.dk.ap.tdpl.io
technology Google Will Soon Start Showing App Dev's Phone Number and Address on the Play Store
13 0Yes and that's good - but the problem is that sometimes is just an individual who has made an app that they want to distribute to other people. Google is continously making this more and more difficult and cumbersome, because they don't want the open source movement to succeed. They are actively trying to shut down fdroid and other alternative app stores.
The fact that Google wants to set requirements on their own app store is not a problem. That's their prerogative. It becomes a problem when Google tries to force everyone into their monopoly - you should be able to choose exactly the app store you want, or to install whatever software you want.
0 2"Bro", transactions have nothing to do with how much storage you spend. Transactions are about data consistency, not volume. I'm a professional software engineer working with databases on a daily basis, so I think I know what I'm talking about.
0 1What do you mean transactional? What does transactions have to do with this?
0 0Comment editing is a blip at reddit's scale I would think. And it probably is fairly optimized for it already
1 2Storing revisions of comments is not a massive cost that requires a whole data center. The data involved is tiny. Basically zero compared to all the other data. Most comments are never edited and if they are, only edited once or twice. It literally costs them nothing.
2 1What massive cost?
0 1They definitely store revisions, no doubt.
1 1You really think editing a comment deletes the old content? Sorry to break it to you, but they 100% keep an edit history.
programming Ladybird is now in alpha
4 0Damn, did not know. Crazy stuff
You made or Claude made? Cause the readmes sure sound like an LLM. Not saying it's not a working tool for you perhaps, but it's not really that valuable if it's just some AI thing anyone could've cooked up for themselves.
Tbh using an AI directly to transform an STL where you can give direct guidance about the model would probably also work well, if you're going to use AI anyway.
33 2fediverse Matrix space for slrpnk refugees
9 2So basically the problem is bus factor = 1 and that one person is often away from the hardware and not able to remote in.
This has been happening for a long time it sounds like? This is very unfortunate but really could've been avoided with some planning it feels like.
rust Mutex poisoning is not for everyone
0 0If a process crashes while holding a robust mutex, it’s possible to recover from such a situation.
But that's the whole point of poisoning too. If a different thread crashed and the mutex is poisoned, you can recover in a different thread. Most applications choose not to recover and chooses to just panic again, but you can choose to recover.
games Day 854 of posting a Daily Screenshot from the games I've been playing
7 0Terraria 3D
rust Mutex poisoning is not for everyone
1 1Yes? I think I am done with this conversation. If you don't think this is a problem, we just disagree. Just move on, you don't have to convince everyone else who's been discussing this problem for years that it isn't a problem.
greentext Anon makes a fatal error
1 0Same, literally never heard the word. Thought it was just a misspelling.
rust Mutex poisoning is not for everyone
1 1Panics in Rust default to stack unwinding, which I believe is similar to how exceptions work in C++. I don't believe an unhandled exception in C++ kills other threads either? Could be wrong.
Panics can also be configured to instead abort the process immediately, which is the exit(status) way. Obviously with that solution you can never observe a poisoned mutex so you would never need a poisoning mutex in that situation anyway.
rust Mutex poisoning is not for everyone
0 1I already told you, convenience, developer experience. Ergonomics basically. None of this is fixed by some code snippet, whether it's an extension trait or wrapper type. That just makes things worse. This has nothing to do with performance, as I already said.
1 0o7
rust Mutex poisoning is not for everyone
0 1in a way that is specific to the codebase
Well I would say this is not at all specific to the codebase - as I said above, it applies to basically all code bases that use mutexes, since poisoning is so rarely relevant. These two statements are kind of strange to me:
Talking about a method returning a Result like it’s a big deal must be some sort of splitting-hairs maxxing.
and
And btw, as it just happens, such traits actually already exist, in a crate that is well-known to the ecosystem.
If this is such a small deal, then using an external dependency is a terrible solution. That's like the whole left-pad situation, a dependency to solve an extremely small problem, but something that affects many, many code bases. That's exactly the use case that the standard library should cover, exactly so that you don't need to use an external dependency for such a trivial thing! And yea you could say "duh just write the extension trait in your utils module" but this is just not acknowledging the problem at all and just sidestepping it. That's not helping anyone.
rust Mutex poisoning is not for everyone
3 1Mutex poisoning isn't really about catching panics. Mutex poisoning happens without any relation to
catch_unwind. The thing with mutex poisoning is that it is multi-threaded. One thread holds the mutex and panics. It does not catch the panic, the thread simply dies and releases the lock while unwinding. That marks the mutex as poisoned. Another thread then tries to get the mutex and sees the poison error. This other thread is still alive since panics do not propogate among all threads. Panics only kill the thread the panic occurs on.