nxdefiant

joined 1 year ago
[–] nxdefiant@startrek.website 1 points 5 months ago (2 children)

x = foo(y:=bar(), baz(), y) or z should work assuming foo bar and baz are functions being called?

if this is setting y to the effect of bar() + running baz after, then:

x = [bar(), baz()][0] or z

might work

and if you need y to be defined for later use:

x = [(y:=bar()), baz()][0] or z

but thats from memory, not sure if that will even run as written.

if I get to a real computer I'll try that with an actual if statement instead of a bastardized ternary.
[–] nxdefiant@startrek.website 1 points 5 months ago (4 children)

"a = x if foo else y" is a perfectly cromulent statement!

[–] nxdefiant@startrek.website 8 points 5 months ago

The "Brick through a widow" bug has been an active exploit since the Model T.

[–] nxdefiant@startrek.website 9 points 5 months ago

That is probably true.

[–] nxdefiant@startrek.website 23 points 5 months ago (3 children)
  1. Planting trees has far greater benefits than just carbon capture.

  2. At best they're deluded, at worst its green washing with a side effect of free trees.

[–] nxdefiant@startrek.website 15 points 5 months ago (5 children)

Enabling the PIN mitigates this issue entirely. Can't drive it away if you don't know the PIN, even if you have the physical key, fob, or phone.

[–] nxdefiant@startrek.website 9 points 5 months ago

Anarchism: The theory or doctrine that all forms of government are oppressive and undesirable and should be abolished.

Anarchist: Decides to wash dishes, or not wash dishes, on their own. Literally nothing else is defined in this scenario.

[–] nxdefiant@startrek.website 4 points 5 months ago (1 children)

iPython makes experimenting in an interactive manner so easy, I use it every day.

[–] nxdefiant@startrek.website 1 points 6 months ago

Ah, so the kids take the good candy home from work and package the rest for sale. Bastards.

[–] nxdefiant@startrek.website 10 points 6 months ago (2 children)

libertarian Halloween is shit!

[–] nxdefiant@startrek.website 4 points 6 months ago (1 children)

I see what you're saying. I wasn't aware that the USDA had updated the zones, so that was news to me at least. The appsite they built is neat. It does actually drive home that this is abnormal and will continue to accelerate in the future at least.

[–] nxdefiant@startrek.website 5 points 6 months ago (3 children)

"These things changed, here's the details" is a pretty tame headline, what's the problem?

view more: ‹ prev next ›