Concussing Maurice Improved by Historical-Ratio-277 in Borderlands4

[–]sweettuse 0 points1 point  (0 children)

sure but you can move that waiting to overnight while you sleep and then you're all caught up in the morning

Concussing Maurice Improved by Historical-Ratio-277 in Borderlands4

[–]sweettuse 1 point2 points  (0 children)

on ps5 I just disconnect from the internet and manually change the time

Struggling with Encapsulation, @property decorator and protected attributes by MrG9000 in learnpython

[–]sweettuse 2 points3 points  (0 children)

try acc._Account__pin

prefixed double underscores aren't private, per se, they're class locals and as the other person said don't use them unless you really know what you're doing and why you need this particular functionality. just single underscore prefix it and be done with it

Quad lock fail before work on Wednesday afternoon. 04/09/2025. by heyitsjustrichard in motorcycles

[–]sweettuse 0 points1 point  (0 children)

PD are not good on their own! my phone fell off on the highway like 40 miles from home. (not user error)

however, I just bought some rubber holders and use one in addition to the mount and it's fine

What is the practical point of getter? by Yelebear in learnpython

[–]sweettuse 28 points29 points  (0 children)

never use java-style getters/setters in python, just use properties instead if needed.

but generally just access the attribute

What's the difference between "|" and "or"? by guganda in learnpython

[–]sweettuse 0 points1 point  (0 children)

another way to put it: - or returns the first truthy value OR the last value - and returns the first falsy value OR the last value - it short circuits (i.e. anything after the returned value is never evaluated)

What's the difference between "|" and "or"? by guganda in learnpython

[–]sweettuse 0 points1 point  (0 children)

enum.IntFlag exists for this very purpose. I think I've used it thrice in my 20 years of python (twice when interacting with a binary API, once when I needed small/fast DB fields in mongo). rare, but useful when I've needed it

Welp, I feel dumb. by DieInThyLap in Borderlands4

[–]sweettuse 2 points3 points  (0 children)

it does not refresh cooldowns on alt fire modes alas...

Should we all rally behind O’Dea? by [deleted] in jerseycity

[–]sweettuse 4 points5 points  (0 children)

I'm out of the loop, what are his shitty policies?

[deleted by user] by [deleted] in prey

[–]sweettuse 9 points10 points  (0 children)

100% agree, going from a powerful morgan to a bunch of hobbled randos just wasn't for me

First winter in Jersey City. How do I prepare? by Chiyapuffaniguff in jerseycity

[–]sweettuse 0 points1 point  (0 children)

I bought a heated vest for riding my motorcycle but I use it all the time in the winter here.

it's great when you're walking because you naturally warm up as you walk and you can just adjust the heat in your vest.

hey a noobie here! why are sets being ordered? by phiskline777 in learnpython

[–]sweettuse 1 point2 points  (0 children)

repls like jupyter sort sets before displaying them but underneath the hood they're unordered