This would make a great gag gift!
This would make a great gag gift!
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.
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!
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?
Man ChatGPT judged Randall hard on that one.
That was a great series. I should reread it soon.
Yeah. If it only impacted your landlord that would be one thing, but you’re potentially ruining the entire municipal plumbing system.
Techbro tries to demonstrate that he’s not fundementally disconnected from society challenge: impossible
Trial will be over by the end of the week and he’ll be executed by the end of the month. Meanwhile cannon will find a clerical error in Donnie’s case and reschedule a review for “some time next year if I feel like it”.
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.
Donnie did an AMA on reddit except it was a huge yuge disaster because he couldn’t comprehend that it wasn’t twitter and all his replies got buried haha
Cog rails let you go up steep slopes, so in a way you could ride a train up a stair case.
Wow this looks great! Can’t wait to try it out.
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!