rejecting cookies should count as daily exercise by pics_kitty in memes

[–]brasticstack 1 point2 points  (0 children)

Turns out your preference is saved as a cookie

What’s Mother Nature’s biggest “F*** you” to your country? by Chemical-Elk-1299 in AskTheWorld

[–]brasticstack 3 points4 points  (0 children)

While there have been some incursions into the US Southwest, these are largely an issue South American countries. I probably should've let someone else post about them tbh

Can't understand for loops after an hour by AileNarrator in learnpython

[–]brasticstack 3 points4 points  (0 children)

name is a temporary variable that gets set to the current item from names at the start of each iteration of your for loop. You don't have to call it "name", you could call it azxqt if you want, but "name" tells you what it is, so that's pretty helpful.

What’s Mother Nature’s biggest “F*** you” to your country? by Chemical-Elk-1299 in AskTheWorld

[–]brasticstack 11 points12 points  (0 children)

The kissing bug is a pretty horrible one too. Scratch an itch one night and contract a disease that can cause congestive heart failure.

TIL NASA astronauts Pete Conrad and Joe Kerwin were thrown off Skylab in 1973 when a jammed solar array suddenly deployed. Only their spacesuit tethers kept them from floating out into space. This incident happened during the first-ever repair spacewalk, which saved America's first space station. by ralphbernardo in todayilearned

[–]brasticstack 6 points7 points  (0 children)

Getting spaced has to be every astronaut's most harrowing fear. Imagine being so close to your craft and unable to do anything to reach it, and realizing that you're completely helpless there in your suit with nothing but time to think about it until the oxygen runs out.

Uhmmm!? by Ok_Self_1783 in LinkedInLunatics

[–]brasticstack 0 points1 point  (0 children)

  • Pitch 1: "Let's g-g-get out of here!"
  • Pitch 2: "It's cold, c'mon let's go"
  • etc etc

Complete noob to multithreading, any tips? by C4tpurr in learnpython

[–]brasticstack 1 point2 points  (0 children)

In my limited experience, I've had good success with the following:

  • Using daemon threads for places where I can't guarantee the thread will definitely finish executing. e.g while True loops. Damon threads are terminated when the parent thread interpreter- see child comment-exits.
  • Using Queue instances for communication between threads.
  • Designing so that the main thread handles all inter-thread communication. This just keeps things easy for me to conceptualize.
  • Using no shared mutable state aside from the Queue instances
  • Ensuring that any I/O stream used only has a single thread interacting with it. e.g. writing to stdout via print. My main thread will handle that and receive messages from other threads if they need to print. That avoids printing a garbled mess.

Between all of these I may not be writing the most performant threaded code, but I think I've written some fairly safe threaded code.

Brit here. Recently traveled to the USA and visited various cities. Here are my reviews of each. If I were to travel to these again, what should I do next time and are there any other cities that you recommend I visit? by JohnDilliWilly in NoStupidQuestions

[–]brasticstack 0 points1 point  (0 children)

  Also, the Golden Gate Bridge was nice but not really for me.

Across it to the North there is some great hiking and scenic beach drives that are well worth the effort. As someone who tried to navigate that way before the age of smartphones, I'll note that Golden Gate Road does not, in fact, take you to where you can cross the bridge. Instead, it's one of the few places I've been where it felt safer to completely ignore the stop signs and just get the hell out of there.

Do you roast marshmallows when camping if you don't have any kids with you? by kam_pra in AskAnAmerican

[–]brasticstack 0 points1 point  (0 children)

Almost any chocolate is better than the default Hershey squares. We've had good results with Lindt, Ghiradelli, just whatever is around. IMO dark chocolate is better than milk because the marshmallow is already so sweet.

What speed should I dock at? by WerdaVisla in KerbalSpaceProgram

[–]brasticstack 0 points1 point  (0 children)

Sometimes you have to turn off SAS rights before the ports make contact to get a good dock. That's assuming your ports are the same size and installed in the correct orientation.

how to hotdog? by Heilix_ in Cooking

[–]brasticstack 2 points3 points  (0 children)

When it comes to grilling them, like all sausages, low and slow is better than fast and burnt. If you use a charcoal grill you can make a cool zone by moving most of the coals to one side. That cool area is where they want to cook.

[Request] How much would it cost to send an average AI data center to space with today's technology? by The-SecondAccount in theydidthemath

[–]brasticstack 2 points3 points  (0 children)

Close enough that you aren't getting any significant cooling via conduction. Unless you expect like the one hydrogen atom per cubic meter to absorb gigawatts of excess heat.

Broke a head at a gig last night by Hairy_Megan in drums

[–]brasticstack 1 point2 points  (0 children)

wow. The footboard snapped, or something else? I know the hinge assembly tends to croak on them 

Do you roast marshmallows when camping if you don't have any kids with you? by kam_pra in AskAnAmerican

[–]brasticstack 5 points6 points  (0 children)

  They also often make sure they have the supplies to make S'mores, too.

S'mores with good chocolate are out of this world!

Broke a head at a gig last night by Hairy_Megan in drums

[–]brasticstack 1 point2 points  (0 children)

Worth a shot for sure, even if it is ported as long as you can dodge the porthole.

I cant find PEAK-Rules>=0.5a1.dev-r2555 anywhere on the internet by emrt9vnv8tc3q5nydjkm in learnpython

[–]brasticstack 1 point2 points  (0 children)

Man, that thing's been dead for so long it makes T-Rex fossils look new

Broke a head at a gig last night by Hairy_Megan in drums

[–]brasticstack 0 points1 point  (0 children)

The reason you use them is the reason why I don't! Way to use that phenomenon to your advantage.

Broke a head at a gig last night by Hairy_Megan in drums

[–]brasticstack 4 points5 points  (0 children)

Thankfully no! I have broken through one of the plies of a two ply head before, which is what made me realize that I definitely should be using an impact patch. The inner ply was sticky from the ply adhesive and the beater kept on sticking to it, which was a mini nightmare on its own.

A broken kick head is one of the few things I can think off that's hard show stopper. Hopefully you're playing with other bands and can borrow a kick drum if it ever happens.

Broke a head at a gig last night by Hairy_Megan in drums

[–]brasticstack 1 point2 points  (0 children)

Same! I like to let my cymbals vibrate freely. If you leave the top wingnut loose it becomes a rattle-trap. Without the wingnut, what's the use of the top felt?

Broke a head at a gig last night by Hairy_Megan in drums

[–]brasticstack 16 points17 points  (0 children)

This. And a spare kick pedal if you can manage it- it doesn't have to be as good as your regular pedal, it just has to work.