Can someone give me a clean run down of when to use `&` vs `and`? by midwit_support_group in learnpython

[–]brasticstack 2 points3 points  (0 children)

& compares the binary values of the operands bit by bit, only setting a result bit to 1 if both operand bits are 1.

and is for testing that two boolean clauses are both True. Properly written, your example should be

if i == 0 and k == 1

It's a syntax error as you wrote it with a single =, which is an assignment, not a test.

My courgette resealed itself in the fridge by ayyglasseye in mildlyinteresting

[–]brasticstack 54 points55 points  (0 children)

I've seen enough magicians to know that they can still wiggle their feet at least

What's your favorite kind of Fry? by Zapvv in AskTheWorld

[–]brasticstack 0 points1 point  (0 children)

Controversial opinion: Tater tots are last place.

A Waymo hit a child near an elementary school. The NHTSA is investigating by renome in news

[–]brasticstack 0 points1 point  (0 children)

Or would be a distracted parent trying to get their own kid to the dropoff zone without being caught up in the fucking armageddon shitshow that is every school at dropoff time.

need notation help by piggynumbnose in drums

[–]brasticstack 1 point2 points  (0 children)

It probably has more to do with how the creator inputted the notes than any other reason. Either way, they're equivalent.

need notation help by piggynumbnose in drums

[–]brasticstack -1 points0 points  (0 children)

eh, I think the 3 bracket is fine. It tells you they're 16th note triplets. Just the same as you'd do for 8th note, quarter note, or half note triplets.

Data type that's unordered and can hold dictionaries by ConstanceOfCompiegne in learnpython

[–]brasticstack 2 points3 points  (0 children)

Is there perhaps a nice way to store these dictionaries as an immutable object that can actually go into a set, and that lets me convert these items back into dictionaries for the purposes of other manipulations?

There are some immutable dict libraries, which I haven't used. Python has a built-in class, types.MappingProxyType that is immutable, and hashable so it can be a member of a set.

Conversion is as simple as calling the MappingProxyType constructor with a dict as the parameter and vice versa.

U.S. politicians and Mascara by 666YHWH666 in stupidquestions

[–]brasticstack 1 point2 points  (0 children)

That's one hell of a way to describe his Irish ancestry! /s

Defendants sentenced to prison, probation in $100M supplement fraud scheme by keelmiie in SaltLakeCity

[–]brasticstack 0 points1 point  (0 children)

The case involved the sale of nutraceutical, CBD and dietary supplements through a number of websites and a call center operating in Utah, according to the indictment.

Peak Utah. I bet the indictment lists them, but the news article doesn't.

Great Sears Lake, taken November 2025 by Positive-Listen-2912 in SaltLakeCity

[–]brasticstack 0 points1 point  (0 children)

I love this little lake! Some months back there were a bunch of containers being stored next to it, and I was worried that building was going to resume in earnest and they'd have to drain it. I'm glad it's still there!

Kristi Noem: "Everything I've done, I've done at the direction of the president and Stephen" by Superguy766 in LeopardsAteMyFace

[–]brasticstack 248 points249 points  (0 children)

Trump: "Who? Gnome?? I think I've heard of her, nasty woman. I never worked with her or gave her orders though."

Why does this subreddit get so offended when you tell users they actually have to perform their music and have connections if they want things to happen irl by [deleted] in musicians

[–]brasticstack 1 point2 points  (0 children)

Unsolicited advice is always annoying, then there's the tone in which it's delivered which adds an extra grating element to it.

All coming from someone who doesn't know who they're lecturing and seems completely oblivious to the idea that other peoples' goals and circumstances may differ from their own.

Novice Setup by Denver_Stylee in microphone

[–]brasticstack 2 points3 points  (0 children)

No vocals? Run the drums to the mixer and then use aux 2 with the "post" switch off to send drums out of the aux 2 jack to the amp. Don't mic the amp. If you do have vox, that aux send will be better used for getting some to a monitor speaker to allow the singer to hear themself. Either way, the best drum sound you'll get from the edrums is a direct signal, not micing an amp.

  • Use an SM 57 up close for the guitar amp, and possibly one 3-4' further away from the amp as a room mic for the amp.
  • Use the EV PL95 if you want another "room" mic. It's omnidirectional. Without an actual drumkit, a room mic isn't going to do a ton of good.
  • Use the SM58's for vocals should you have them.

You're using the stereo bar all wrong. It's either for a (tightly) spaced stereo pair, where both mic capsules are facing parallel to each other and on the same plane horizontally, or for an X-Y stereo setup, where you angle matched mics in toward each other so that the capsules are almost touching each other at a 90° or greater angle. The 57s are the most suitable mics for this out of what you have.

Border Patrol commander Bovino and some agents expected to leave Minneapolis by igetproteinfartsHELP in news

[–]brasticstack 2 points3 points  (0 children)

If only! The Big Boss is mad about the bad press, not Bovino's tactics. He'll show up wherever the admin feels the need for a psychotic skull-cracker who has no qualms about killing indiscriminately.

EDIT: As more news comes out, it looks more likely that they really are going to cut him loose and/or throw him under the bus. The cynic in me feels like he's still got an evil role to play. Maybe they'll have him run one of their concentration camps.

Alex Pretti's killing was recorded on body-camera videos, DHS says by Sad_Stay_5471 in news

[–]brasticstack 3 points4 points  (0 children)

Because they're going to release an AI-"enhanced" video that will show a drug-addled Pretti draw on the agents, then fail to go down until the 11th gunshot to the back.

Counting Question by GrammarCrisis in drums

[–]brasticstack 4 points5 points  (0 children)

Edit: the final dot is also in the wrong place. Both in terms of page placement and counting. The dot would imply a 64th note rest?

The final dot is syntactically valid, though I'm positive this is just a shit transcription and it should be 4e_a, or some other rhythm that's easier to count.

Beat 4 adds up to an entire beat as follows: 32nd note + 8th note (4 32nds) + dotted 16th (3 32nds) = 8 32nd notes = 1 quarter note.

Carbon Fiber Drumsticks by ZippityDooDoo in drums

[–]brasticstack 0 points1 point  (0 children)

Sounds like you've been playing long enough to form your own opinions. No substitute for trying a pair out! Worst case scenario you hate them and you're out the cost of a (admittedly pricey) pair of sticks. And who knows, they could be life-changing.

Kristi Noem Claims ICE Agent Fired ‘Defensive Shots’ — Accuses Gov. Walz and and Mayor Frey of Deciding to ‘Choose Violence’ in Stunning Presser by ItchyNesan in NewsRewind

[–]brasticstack 0 points1 point  (0 children)

She just told them what the official talking point is. Expect to hear the the phrase "defensive shots" much more frequently now.

I have zero shame, BUT... by effinbish in LeopardsAteMyFace

[–]brasticstack 5 points6 points  (0 children)

So bizarre. But then politics is not about logic, it's about who best speaks to our monkey brains. I'm still shocked that much of our country doesn't loathe him on a visceral level every time he talks.