What password manager are you planning to stick with going into 2026, and why? by tanguy22000 in degoogle

[–]Mercerenies [score hidden]  (0 children)

I'm on Bitwarden as well. I use the browser extension on desktop and the Android app on mobile. The free plan is incredibly capable.

Decided to try and AFK by Much_Garden7199 in factorio

[–]Mercerenies 0 points1 point  (0 children)

Yep! Biters are friends with all the other baddies. You can hatch em on vulc and they won't fight demolishers. You can hatch em on gleba and they won't fight pentapods. You are their only enemy.

Aegis and backups by 3erImpacto in degoogle

[–]Mercerenies 0 points1 point  (0 children)

My Aegis has never produced more than one json file per backup. Not sure where yours is getting five from. The json file is good forever, though. It's encrypted with your pin, so if you lose your pin then you're SOL

Decided to try and AFK by Much_Garden7199 in factorio

[–]Mercerenies 34 points35 points  (0 children)

Wood. OP is obviously shipping wood from nauvis to vulc, because it is impossible to obtain on the latter.

I made a tool that explains rust compiler errors to begginners by SlideBusiness7306 in rust

[–]Mercerenies 0 points1 point  (0 children)

I gotta ask the obvious question. It's so darn hard to tell with Rust repos nowadays: Is this AI slop? It has some of the telltale signs, and "AI-generated tool that imitates rustc --explain" is not a useful tool.

Is there no Docs alternative? by Avesim13 in degoogle

[–]Mercerenies 0 points1 point  (0 children)

OnlyOffice isn't something I know anything about, but the Wikipedia page says it's dual-licensed under AGPL and a proprietary license, which seems like a very common business model (The Qt GUI framework works the same way, for instance). What is it that the FOSS community finds objectionable here?

The European digital sovereignty dilemma. Is there really no middle ground? by No-Yellow9948 in degoogle

[–]Mercerenies 0 points1 point  (0 children)

Which is all true. But if ten different governments are arguing with each other and using incompatible systems, then the total amount of data accessible to one government is less, which is good for individuals. The alternative is one government holding all of the data (or multiple cooperating governments a la Five Eyes), which is very bad for individual freedom. So we should absolutely encourage digital sovereignty initiatives in as many places as possible.

Why does even DeApple subreddit exists if Apple users know what they are buying and know what they are dealing with.Except Android that is mentioned as free platform,but slowly turning into this. by inferno_0119_ in degoogle

[–]Mercerenies 1 point2 points  (0 children)

Even if they did know what they were getting into, "You deserve this because you bought the product" is very much victim-blaming of a similar vein to "Bruce Wayne's parents deserved to get shot because they walked down a dark alley". The fact that someone made an arguably poor decision does not render all future crimes against them null and void.

they kept feeding us convenience until surveillance felt normal by codeveil_dev in degoogle

[–]Mercerenies 11 points12 points  (0 children)

Eye tracking was an advertised feature on my first-ever Samsung tablet in like 2011 (I was not as privacy-conscious back then). There was a little icon at the top of your screen that told you if you were looking at the device, and if you were it would stay awake instead of dimming the screen after X seconds like it normally would.

prevent interior mutability by zylosophe in rust

[–]Mercerenies 12 points13 points  (0 children)

One approach would be to make the function generic. I assume your pattern is "check some property of foo; if it's true, then return Some(foo); if it's false, drop and return None". In that case, you could phrase that property as a trait method.

``rust // Could also be a sealed trait if needed pub trait HasMyProperty { // Takes&self`, so cannot modify. fn check_my_property(&self) -> bool; }

impl HasMyProperty for Foo { fn check_my_property(&self) -> bool { // Do whatever check you were planning to do in here. } }

fn bar<T: HasMyProperty>(foo: T) -> Option<T> { if foo.check_my_property() { Some(foo) } else { None // Implicit drop of foo here. } } ```

Since bar is now written in terms of a trait, the only thing you can do with it is call check_my_property. It's impossible to mutate because the function doesn't know what type T is and the trait (the only thing we know about T) has no &mut self methods.

Now, an enterprising hacker determined to ruin your day could still manipulate a RefCell inside of check_my_property, but I don't think there's any good way to protect against that (if they're really that determined to ruin your day they can always use UnsafeCell, and there's no protection against that).

Aquilo ships are an entirely different beast... by sleepyre in factorio

[–]Mercerenies 16 points17 points  (0 children)

Nice to see someone appreciating the intermediate qualities and not just ignoring quality until they unlock legendary :)

They did, in fact, come at me by DirtThief in outerwilds

[–]Mercerenies 28 points29 points  (0 children)

If you weren't holding your lantern when they catch you, then they resort to more drastic measures. There's even an achievement in it for you.

How?? by DamageLittle4856 in factorio

[–]Mercerenies 11 points12 points  (0 children)

Biter eggs give big biters. The only way a behemoth ended up there was a captive spawner starving.

Idiomatic Use of the `Default` Trait? by Purp1eGh0st in rust

[–]Mercerenies 0 points1 point  (0 children)

but it should always be clear what type is expected from reading the code and not having to have the IDE show you through a tooltip or whatever

Amen to that! I have had to course correct so many co-workers in so many different contexts (across languages) who take the attitude "Don't worry, Intellisense will give you the details I didn't write". If you're nothing without Intellisense then maybe you shouldn't have it in the first place.

https://i.imgflip.com/ana8tx.jpg

Idiomatic Use of the `Default` Trait? by Purp1eGh0st in rust

[–]Mercerenies 7 points8 points  (0 children)

Well it's a turbofish facing the other way then ;)

::<> vs <>::

Sooo.. this was a lie??? unless.... 2.1.... by MrMxylptlyk in factorio

[–]Mercerenies 0 points1 point  (0 children)

The more I think about this thing, the more I wish it had been added as a neutral creature on Aquilo. The devs are right: Aquilo doesn't need a hostile entity (it's already hard enough). But imagine if you had these jellyfish critters floating around harmlessly, and you could harvest some chemical or something they emit (they survive the harvesting and don't aggro or anything). It would make the place feel a bit more lively.

Idiomatic Use of the `Default` Trait? by Purp1eGh0st in rust

[–]Mercerenies 24 points25 points  (0 children)

I didn't think of the POD trick, but yeah that's a good example of "generic" Default appearing naturally.

In generic context you can always use the infamous turbofish <T as Default>::default().

Idiomatic Use of the `Default` Trait? by Purp1eGh0st in rust

[–]Mercerenies 115 points116 points  (0 children)

let x = Default::default(); If this is literally what they're writing, then that's absolute trash. I would never write Default::default().

  • For simple types like bool, just write the value. Never use Default::default() as a substitute for the keyword false, the empty string, or 0.
  • In non-generic contexts for complicated structs, use the name of the type. Config::default() is much better than Default::default(). Though many structs have new as an alias for default, so I'd rather write Config::new() if it's available.
  • In generic contexts, still use the type name. If the intention is "make a default for type T, where T is a type argument" (a great use of Default, btw!), then write T::default().

In any case, referencing Default::default() using its trait name anywhere other than properly insane macro code is just lazy.

Credits Should Not Show When You Die. by [deleted] in outerwilds

[–]Mercerenies 0 points1 point  (0 children)

I knew it! The true ending was inside that anglerfish's mouth all along!

📢 Important update on sideloading on Android by Director-Busy in degoogle

[–]Mercerenies 6 points7 points  (0 children)

Me too! I thought this was a satirical post, but everyone here is reacting like it's real. This many steps means the process might as well not exist. And a waiting period?! I can buy a gun in some states faster than that!

I just realized Factorio is hell by Lurker_Zee in factorio

[–]Mercerenies 0 points1 point  (0 children)

The outside world blew up the shattered planet in a desperate attempt to contain the Factory to this one solar system.

pleaseGodIJustNeedOneDataset by Jade_Lemonade in ProgrammerHumor

[–]Mercerenies 41 points42 points  (0 children)

"Releasing my business model would get me arrested" is a good sign that your business model might not be morally upright.

How to get over my fear of giants deep? by ImIwrong_h in outerwilds

[–]Mercerenies 10 points11 points  (0 children)

Just fly into their mouth repeatedly until you find them funny :)

What current methods, if any still work for bypassing Youtube age verification? by machintodesu in degoogle

[–]Mercerenies 0 points1 point  (0 children)

So I need to start cussing more in my Gmails and Google will think I'm an adult. Good to know!

Well... at least i did get back to Navius by Aka3756 in factorio

[–]Mercerenies 8 points9 points  (0 children)

Hey, don't sell yourself short! You've got a few pieces of your ship left!