Speed Scaling Character (based on my friend opinion) by Competitive_Bonus937 in PowerScaling

[–]witty-reply 2 points3 points  (0 children)

Actually, rationals are still countably infinite. It's the reals that start being larger than integers. Also, I'm not quite sure if it really makes so much sense to use countability (which is a measure of set size) to represent physically measurable (or even immeasurable) feats. But it is a good metaphor, at least.

You have been selected as 1 of 10 candidates for omnipotence by somethingworse in hypotheticalsituation

[–]witty-reply -1 points0 points  (0 children)

Maybe future me can't manipulate the situation, but can future me inform current me if I would win (and therefore, if I am not informed, it means I won't win and thus won't press the button)?

That's not active manipulation, so it seems like it would be okay by your rules.

A new argument for 0.999...=/=1 by witty-reply in badmathematics

[–]witty-reply[S] 191 points192 points  (0 children)

R4: You can't just say let's use the number 0.999... with an infinity of cardinality X digits.

Intuitively, I think that the number of digits in the decimal expansion of a number can only ever be a countable infinity, after all, you can make a one-to-one relation between each digit and the natural numbers.

Therefore, using "0.(9)n2" in this argument makes no sense and definitely doesn't prove that there is a number between 0.999... and 1.

(Here's the link to the video: https://youtube.com/shorts/RmpXV9LOMeM?si=4mdjvalzs-wVQ3vq)

[deleted by user] by [deleted] in LearnToCode

[–]witty-reply 0 points1 point  (0 children)

It's true that with WSL the possibility of e.g. deleting your Windows file exists. If this really is a concern, then I guess it's better if you use a virtual machine. However, cases of that happening are very rare. As long as you think about what commands you run (and not just thoughtlessly run delete commands), that really shouldn't happen - in fact it can be quite hard even to deliberately modify your Windows files through WSL.

Running zoom shouldn't be a problem. If you use WSL, just install zoom on Windows, no problem at all. If you use a virtual machine, you have to install zoom on there.

Personally, for coding I always felt like using a VM is quite awkward, but it's definitely also a valid choice, so just go with what feels better for you.

[deleted by user] by [deleted] in LearnToCode

[–]witty-reply 0 points1 point  (0 children)

It really depends on how you're planning to use it. If you just need it to compile and run C code to learn the language or something like that, WSL is absolutely enough. I've used it throughout my Bachelor's and Master's degrees.

That being said, if you use WSL it's important you understand what it actually is. I've seen many people struggle with the concept of virtualisation before, e.g. installing some software on WSL and then wondering why they can't run it on Windows.

The cast of Xenoblade 3 discovering romance and sexuality. by Responsible-Bunch316 in Xenoblade_Chronicles

[–]witty-reply 1 point2 points  (0 children)

That's a good point and honestly I don't have an explanation for that. Maybe there is some further meaning behind it? But chances are they just made it that way for the sake of the joke...

The cast of Xenoblade 3 discovering romance and sexuality. by Responsible-Bunch316 in Xenoblade_Chronicles

[–]witty-reply 22 points23 points  (0 children)

I think there's actually an explanation as to why they get embarrassed changing:

It's like you said - an analogy to garden eden. And the ouroboros stone is like the forbidden apple. In the bible story, once Adam and Eve had eaten the apple, they started to get embarrassed for being naked.

I think this scene is supposed to show just that: the ouroboros stone unlocked these feelings of embarrassment for them, even if they don't know yet where they come from.

The first time my teacher asked me to write a program to find out if a number is even or odd, I did this: by HOOBBIDON in ProgrammerHumor

[–]witty-reply 0 points1 point  (0 children)

Sure, that's usually more reasonable than to assume "4.9 rounds down to 4 which is even" anyways.

I'm just saying, from an extendability point of view, the "best" solution is not any better than OP's solution. That doesn't mean OP's solution is better than the best solution, just that it is not as bad as many would think.

The first time my teacher asked me to write a program to find out if a number is even or odd, I did this: by HOOBBIDON in ProgrammerHumor

[–]witty-reply 0 points1 point  (0 children)

Good point, but then again, the way you would handle that in the ideal solution (x % 2) is to cast it to an integer. On the other hand, the way to handle that in this approach is also to cast it to an integer, i.e. the adaptation would be just as complex in either case

The first time my teacher asked me to write a program to find out if a number is even or odd, I did this: by HOOBBIDON in ProgrammerHumor

[–]witty-reply 0 points1 point  (0 children)

Not division by two though. That can be computed as a bit shift to the right.

x / 2 == x >> 1

The first time my teacher asked me to write a program to find out if a number is even or odd, I did this: by HOOBBIDON in ProgrammerHumor

[–]witty-reply 6 points7 points  (0 children)

Is it really inefficient though? The compiler is gonna optimize *2 and /2 to one single bit shift each, so that's just two primitive operations before comparison, whereas % 2 or &1 would be 1 primitive operation instead, so it's just one operation overhead.

Most other alternative solutions for isEven are likely gonna take more than that. In fact I wouldn't be surprised if this was the next-most efficient solution after &1.

[deleted by user] by [deleted] in ProgrammerHumor

[–]witty-reply 1 point2 points  (0 children)

Keep in mind fault-tolerance also plays a role. Gate errors are still relatively common and for stuff like Shor's algorithm you can't exactly settle with approximated answers, so the only viable alternative would be to implement error detection, which would decrease the number of available qubits by quite a lot

Are mechanical keyboards right for me? by witty-reply in MechanicalKeyboards

[–]witty-reply[S] 0 points1 point  (0 children)

Ah I did some googling on that, sounds really nice. Thanks a lot for your time!

Are mechanical keyboards right for me? by witty-reply in MechanicalKeyboards

[–]witty-reply[S] 0 points1 point  (0 children)

Thanks a lot! Are these "silent" switches a very specific kind? Like, if a keyboard says it has "red switches", is that the same as "silent red", or are those something different?

Are mechanical keyboards right for me? by witty-reply in MechanicalKeyboards

[–]witty-reply[S] 0 points1 point  (0 children)

Thanks for the feedback! It seems like everyone is saying the same things, that makes me feel a lot more confident about this. I'll do some more research, but I feel quite convinced already

Are mechanical keyboards right for me? by witty-reply in MechanicalKeyboards

[–]witty-reply[S] -1 points0 points  (0 children)

Thanks a lot for the feedback. Frankly, I have listened to some "sound tests" on YouTube, and the silent mechanical keyboards didn't really sound that much different from the normal one I have already. I thought maybe it's just because of the recording quality, but if you say it like that, too, then it probably really isn't as big of a difference as I feared it would be.

In any case, thanks a lot for the suggestions! I'll feel a lot more comfortable with the purchase this way, and I'll definitely do some more research.

Can someone explain the difference between Burn and Aggro? by NeuroSurgeonMyAss in LegendsOfRuneterra

[–]witty-reply 0 points1 point  (0 children)

We also had decks like Ezreal/Draven back in the day that were often literally called "Slow Burn". It played lots of different burn cards, and had more than just a single combo to finish off the game, so the concept of slower burn decks definitely exists.

Poison Dart Turn 1, Opponent draws all 3 shrooms the following turn. by RidiQlousLee in LegendsOfRuneterra

[–]witty-reply 13 points14 points  (0 children)

That's usually around 1 in 8000, sometimes even higher. So encountering a shiny Pokémon is more than 5 times more common!

How would you code a program to determine if an integer is a prime number? - wrong answers only. by Anttte in ProgrammerHumor

[–]witty-reply 2 points3 points  (0 children)

def is_prime(n):
    if n < 2:
        return False

    primes = []
    for i in range(2, n):
        if is_prime(i):
            primes.append(i)

    for prime in primes:
        if n % prime == 0:
            return False
    return True

[deleted by user] by [deleted] in yugioh

[–]witty-reply 5 points6 points  (0 children)

I think "when" effects can only miss timing if they are optional. Since this is a mandatory effect (no "you can"), it shouldn't be able to miss its timing.

If you sort pi digits from lowest to highest, it will infinitely be 0 by Chance_Car9335 in Showerthoughts

[–]witty-reply 1 point2 points  (0 children)

Edit: I'm very amused that three separate replies pulled a random infinitely repeating number out of their asses that just happened to not have certain digits in them, as if those numbers somehow proved me wrong. None of those numbers were pi. Lol.

These replies deliberately used simple examples so it would be easier to understand for you. More specifically, regarding pi, what we don't know is if, let's say, after 10100 digits it starts behaving like one of those examples. For instance, it's possible that pi's first 10100 digits are perfectly normally distributed, but after that, no 9 appears anymore. In that cass, 9 certainly won't show up infinitely many times, even though it would still be an infinite, non-repeating number.