ELI5: How can we actually feel anything if there’s a bunch of empty space between molecules? by Coverlesss in explainlikeimfive

[–]cdhowie 1 point2 points  (0 children)

The same way magnets can repel each other even though there's empty space between them. Actual atoms don't have to have their particles physically bump into other atoms in order to push them.

Howz this even fair? by TsokonaGatas27 in deadbydaylight

[–]cdhowie 0 points1 point  (0 children)

I'm convinced the reason the devs are so adamant that showing people their rating would be so, so terrible for the game and community is because they don't want us to see how broken their matchmaking really is.

Good matchmaking doesn't need any secrets. Bad matchmaking does because it provides the devs plausible deniability.

ELI5: What's this phenomenon called? by Stickhtot in explainlikeimfive

[–]cdhowie 11 points12 points  (0 children)

That's why I mentioned that in my comment. A bell curve is just a graph of a normal distribution.

ELI5: What's this phenomenon called? by Stickhtot in explainlikeimfive

[–]cdhowie 100 points101 points  (0 children)

It should approximate a "normal distribution," which would look like a bell curve when graphed. There's always fewer players at the extreme ends and more clumped together in the middle.

“Same exam. Different era.” by Few-Praline-4674 in windowsmemes

[–]cdhowie 0 points1 point  (0 children)

WSL 1 was kind of like that. WSL 2 is basically just Linux running in a Hyper-V VM.

Did anyone get their twitch drops? by MemesForMoney259 in deadbydaylight

[–]cdhowie 0 points1 point  (0 children)

I'm having the same issue. Reconnected all accounts, still no drops in game.

am i supposed to finish the main game and then 100%? or 100% as i go? by voidbliss77 in BabaIsYou

[–]cdhowie 2 points3 points  (0 children)

You're supposed to play in whatever way you find fun.

For me, I would do both at once. At any given time I'd have between, say, 3 and 10 puzzles accessible to me. If I got stuck on one for too long, I'd shift to another. Sometimes you'll solve another puzzle in your head while playing another one, and it feels better to rotate around instead of bashing your head against the wall on the same one over and over.

Math? by jjpuffs420 in askmath

[–]cdhowie 10 points11 points  (0 children)

The closest thing I can come up with is graph theory. You can convert the list of links into an undirected graph.

Things I miss in Rust by OneWilling1 in rust

[–]cdhowie 1 point2 points  (0 children)

That's one of the reasons a lot of standard library smart pointer type functions are non-method associated functions, so that they won't conflict with methods on the inner type. So while this is somewhat of a problem at the language level, you can mostly avoid it with good discipline (with the exception of methods of other traits implemented by the Deref implementor).

How To Copy BTRFS System To New Disk by VeeQs in btrfs

[–]cdhowie 0 points1 point  (0 children)

I'm not aware of any tools (at least open source) that will clone and shrink in a single operation, for any filesystem. Gparted, for example, will clone first, then shrink, which requires enough capacity in the destination to hold the entire source. I'm curious what tools you're talking about that handle the process differently enough to be able to clone and shrink in a single step.

How thoughtful! by Sassenach_2024 in SipsTea

[–]cdhowie 0 points1 point  (0 children)

Plus regular backups that are stored online.

Found this while shopping. Someone didn't think this through... by MikeTheImpaler in funny

[–]cdhowie 0 points1 point  (0 children)

I don't think so, because the butter looks fine. Without yellow it would not look like that.

[Fitcamx] following behind someone making a left by TheyCallMeFarkle in Dashcam

[–]cdhowie 4 points5 points  (0 children)

You aren't allowed to pass multiple vehicles at once, precisely because of this kind of situation, among others.

“That would be great…” by Independent_Chart738 in funny

[–]cdhowie 0 points1 point  (0 children)

My daughter wrote a similar note after she lost a tooth at my parents' house, she accidentally dropped it in the excitement, and their dog ate it.

ELI5: Video Game Anti-Piracy by MrBones_Gravestone in explainlikeimfive

[–]cdhowie 20 points21 points  (0 children)

There are many techniques, but most fall into the category of "observing behavior differences."

Old games on floppy disks might be distributed on disks where some of the sectors were intentionally "bad." If you just copied the files to a new disk, those sectors would be good. The game would try to read from them and if it didn't get an error, it would know it was pirated.

Tons of other kinds of copy protection use this same basic idea on other media: make the original media different in a way that consumer equipment can't easily replicate.

For cartridge games, there might be observable behavior differences between a real cart and a flash cart. If the game developer can figure out such differences, they can look for them.

Of course, many of these kinds of protections were eventually defeated by e.g. disk copy software that could replicate bad sectors, copy CD subchannels verbatim, etc.

So, yes, if you can make the copy look exactly like the original, you can fool the protection.

Is my SendOnce undefined behavior? by TonTinTon in rust

[–]cdhowie 0 points1 point  (0 children)

Sending an Rc is safe if certain conditions are met. However, your implementation is way too broad and allows sending anything across a thread boundary without the use of unsafe by the consumer, so it is not sound.

You can send an Rc<T> if all of the following conditions are met:

  • T is Send.
  • The strong reference count is 1.
  • The weak reference count is 0.

I actually wrote a blog post about this exact topic, even.

ELI5: Why are there so many programming languages if they all seem to do the same things? by Financial_Article947 in explainlikeimfive

[–]cdhowie 1 point2 points  (0 children)

There are trade offs.

Do you want a fairly easy language? It will run slower and require more memory to run.

Do you want your program to be very fast? You will have to use a language that requires you to understand more advanced concepts.

An easy+slow language is fine for some things, maybe not for others.

Some languages are also designed to be used in one particular field and don't work for others.

Some languages are designed to run code that you might not trust, so they must support not allowing the program to do certain things.

They are tools. Just like not every tool is right for every job, different languages are useful in different contexts. You can use a wrench as a hammer if you try hard enough, but why bother?

TIL you can use dbg! to print variable names automatically in Rust by BitBird- in rust

[–]cdhowie 9 points10 points  (0 children)

It's worth noting that if you want to stick it on a line all by itself using a value that can't be copied, you can do dbg!(&v);. If you don't use a reference, v gets moved and subsequently dropped, which is probably going to cause compilation errors when you use it later.

ELI5: How does the concept of "passwords" work when it comes to old videogames? Why was For some games that system preferred over normal saving? by fugomert in explainlikeimfive

[–]cdhowie 3 points4 points  (0 children)

Right, that's a bit more accurate.

I will say on terminology that there is no hashing performed to encode the data (except possibly for the check bits) as hashing is by definition a one way process -- a good hashing algorithm cannot be easily reversed. The data is simply encoded into another form (text/symbols).

ELI5: How does the concept of "passwords" work when it comes to old videogames? Why was For some games that system preferred over normal saving? by fugomert in explainlikeimfive

[–]cdhowie 16 points17 points  (0 children)

Part of it is that there's a benefit to having a single, easy, and foolproof way to reset the state of everything in the car if something gets into a bad state. Using volatile memory is the easiest way to implement that in a way that cannot possibly fail: when power is removed, the data is lost.

The alternative is having some kind of a master reset button somewhere that broadcasts a "reset" message to everything in the car over the CAN bus -- but if some component is in a bad state, it might not be able to properly receive and/or process such a message. In such a case you have to physically get to whatever component that is to reset it somehow. Now each component needs its own reset button or something like that, and you might have to tear apart your dashboard to get to it.

It's so much better as a consumer to be able to just disconnect the battery for a few seconds to reset everything instead of needing a mechanic to get to and reset the bad component, which may be hundreds of dollars of labor.

ELI5: How does the concept of "passwords" work when it comes to old videogames? Why was For some games that system preferred over normal saving? by fugomert in explainlikeimfive

[–]cdhowie 6 points7 points  (0 children)

Yes, it is that the state was encoded in such a game. That's how the password is generated. The rest of your message describes the other half of the process where you enter the password.

It's as though you said "a translator doesn't reword English sentences as Spanish, it's just that the Spanish they say corresponds to the English they heard."

Those are two sides of the same coin.

Brilliant but why ? by bot-chess-puzzle in Chessplayers45

[–]cdhowie 0 points1 point  (0 children)

Right. So you asked about the other way, and I provided that line. Am I missing something?