find -iname '*part*'
has saved my butt countless times.
find a . | grep part
if you’re feeling stupid and lazy!
find -iname '*part*'
has saved my butt countless times.
find a . | grep part
if you’re feeling stupid and lazy!
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!
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.
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.
Yeah. If it only impacted your landlord that would be one thing, but you’re potentially ruining the entire municipal plumbing system.
I had been keeping an eye on Lemmy for years and years. I’m an open source, federated service enthusiast so Lemmy was always just something I was aware of.
You should read about fatbergs before doing this though.
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.