The more I watch all this bullshit about "Biden should step down" (that was a conversation we all were trying to have 6+ months ago, it's too fucking late for that now) and the more I read from @mekkaokereke@hachyderm.io (who is very generous with his time patiently explaining shit to people who continue to harass him), my biggest take away for this election season is we need to be donating to groups who are working on voter rights and voter access.
We need people who are on the ground in these battleground districts to have the funds and resources necessary to ensure that everyone who wants to vote can vote.
We're not gonna be able to convince our racist family to switch their votes (though please, ruin family dinners trying, they deserve to be miserable, as do the family that enables their bullshit), we need to ensure that the biggest tool that the GOP depend on to gain and keep their positions in government is stopped in its tracks.
So, who's doing the work in this space that I can donate to?
I'm getting this warning when running some Pandas code:
/home/labs/drake/tensorflow_gpu_11.7/lib/python3.8/site-packages/pandas/core/internals/blocks.py:2538: RuntimeWarning: invalid value encountered in cast
values = values.astype(str)
Of course, the "stack trace" is just one line deep in the internals, so I can't tell if it's (a) something wrong with my code, (b) something wrong with my data, or (c) something I can ignore. I also can't imagine what value would fail to convert to str; an empty Series or a Series containing None both seem to be fine.
Every time I sit down to solder I hear a chorus of voices from every guy who has ever seen or heard me mention soldering and *immediately* given me unsolicited advice, suggestions how I could do better, immediate critique or (truly) offered to do it *for me*.
Which has been 90% of my interactions with men about soldering. Which is OFTEN.
I IGNORE this, in my my OWN HEAD, EVERY time I sit down to do my JOB.
It's not imposter syndrome. It's systemic oppression. It's insane.
@RickiTarr Find two things you don't want to do and use each one to avoid the other. Dynamic procrastination!
@spencer @driscollis ... but Python is perfectly happy to evaluate 5 + - 4, because unary - has higher precedence than +, so this is parsed as 5 + (- 4).
This is the path to the solution, though. == has higher priority than not, so x == not y just doesn't have any reasonable parse tree. (In Java, in contrast, ! has higher priority than ==. I don't know why Python chose to do it differently.)
So how does x is not y work? Because, surprisingly, "is not" is one operator!
@sassdawe @driscollis I could understand an "operator precedence" issue being solved with parentheses, but something like x == !y works fine in other languages. Also, why does "x is not y" work but "x == not y" doesn't? I would expect is and == to be syntactically interchangeable.
I'm still confused by this #python oddity, originally posted by @driscollis:
x = True
y = False
print(x is (not y))
print(not x is y)
print(not (x is y))
print((not x) is y)
print(x is not y)
print(x == (not y))
print(not x == y)
print(not (x == y))
print((not x) == y)
print(x == not y)
Why is the last line a syntax error when the rest are fine?
@hellomiakoda I always understood that it's something that can be read two different ways (usually one literal and "clean", one sexual). For example, "The plumber is in there laying some pipe".
A single entendre would just have the one direct meaning: "The plumber is in there having sex with the homeowner."
@TheBreadmonkey The driver, David Lee Roth, had stepped out of the van to service a customer.
Aha! It's not as bad as I thought. The framerate is much higher if I play maximized rather than focuses -- probably because otherwise the particle systems are being rendered in the scene view.
I have moved to peterdrake@mstdn.social. If you found peterdrake@qoto.org on a website, please let me know at my new account.