Backlog3231

joined 3 weeks ago
[–] [email protected] 16 points 2 weeks ago (1 children)

Tankies will tell you that because he was never seen or heard from again, that means that the Chinese government set him up with a nice retirement package and he lived happily ever after!

[–] [email protected] 30 points 2 weeks ago (2 children)

This would make a great gag gift!

[–] [email protected] 2 points 2 weeks ago (1 children)

I'm agreeing with your conclusion but not with your reasoning.

You reason that since it looks like he might be innocent, he shouldn't have been executed. Extrapolating from this yields that you also believe that if you felt he was definitely guilty, he should have been executed.

I'm saying that because this uncertainty exists at all as a concept the death penalty should be abolished. Its impossible to prove someone's guilt 100% in these cases, therefore the death penalty is immoral. Not just in this case but in every case.

[–] [email protected] 1 points 2 weeks ago* (last edited 2 weeks ago)

I would do

class MyClass:
    def __init__(self, value):
        self._whatever = value

    @property
    def whatever(self):
        return self._whatever

Personally, I would type hint all of that but I'm just showing how you can do it without types. Your linter should be smart enough to say "hey dumbass did you mean this other thing"? Also since we didn't create a setter you can't arbitrarily overwrite the value of whatever so thats neat.

And I'll just say before I post that I'm on mobile and I'm sorry if the formatting is fucked. I'm not going to fix it.

[–] [email protected] 6 points 2 weeks ago

find -iname '*part*' has saved my butt countless times.

find a . | grep part if you're feeling stupid and lazy!

[–] [email protected] 11 points 2 weeks ago

Programming has its highs and lows. Yesterday I spent four hours trying to write a script that honestly probably won't even be useful to anyone.

Today I felt like a god because I built a recursive query to pull some ridiculously obscure data from our database.

Tomorrow I'll probably delete a table in prod or something.

You win some, you lose some!

[–] [email protected] 5 points 2 weeks ago

Man that would fucking ruin me. Sorry you went through that.

[–] [email protected] 1 points 2 weeks ago

Ah yeah that would be cruel as fuck. Are they doing anything different this time or are they going to torture someone else to death?

[–] [email protected] 2 points 2 weeks ago

Man ChatGPT judged Randall hard on that one.

[–] [email protected] 1 points 2 weeks ago

That was a great series. I should reread it soon.

[–] [email protected] 1 points 3 weeks ago

That isnt how it works. The speed of light is the speed of causality; it doesn't have anything to do with light. Its just the fastest speed at which things can happen. Light, being massless, happens to travel at that speed.

In your scenario, the light beam would just be stretched along its length and the 2D interface on the surface of the moon would just "lag behind" from your POV. But it would lag at the speed of light.

[–] [email protected] 4 points 3 weeks ago* (last edited 3 weeks ago)

ELI5: If I'm moving away from you at 50 KPH and you're moving away from me in the opposite direction at 50 KPH then after 1 hour we will be 100 kilometers away from each other even though the speed limit is 75 and neither of us broke it.

That's an extreme reduction but gets the general idea across.

view more: ‹ prev next ›