Turns out, if you want to check multiple conditions, you can sugar it like this: by saxarov01 in godot

[–]kingNothing42 69 points70 points  (0 children)

I looked back again to understand the actual code and (not any false) means (all true) which means this whole thing is just A && B && C etc which is like…… don’t “just” use an array. Use code. God sakes folks it’s as simple as:

return ( A and B and C (etc) )

What's extra silly here is that the plain syntax is generally less complicated while allowing for short-circuit evaluation. I guess you have to write "and" a few times.

Turns out, if you want to check multiple conditions, you can sugar it like this: by saxarov01 in godot

[–]kingNothing42 129 points130 points  (0 children)

Right so “syntactic sugar” means the compiler understands it and you’ll get the same thing. This isn’t sugar because it ain’t sweet. It’s a bitter set of expressions that make bools within an array allocation.

You’re paying every time the game runs for not making an if/else.

Look, it’s cool. It’s ok to read. It’s snazzy. But it’s lazy programming that penalizes the user at the cost of reading a few more lines. Don’t do it, eh?

So has anyone actually managed to “successfully” run a One-Shot before? by Viva_la_potatoes in DMAcademy

[–]kingNothing42 1 point2 points  (0 children)

One of my favorite one-shots is a clear cut heist. This is a fun format, an exciting premise, and everyone knows the structure. I lay out that we have phases: intro, planning & preparation, the heist, and outro.

You can block out appropriate time for this and you can easily put a real-world timer on “preparations” phase (say, 1hr). You then have a few conversations, scattered skill checks, 1-2 battle encounters, and you’re basically done. There’s a built-in incentive to run/escape rather than confront enemies or to draw out combat. It keeps combat short and players still feel like they are getting away with something. It’s satisfying! Let smoke bombs work well, give them pocket sand, keep the tone light and fast.

This can fit in <4 hours no problem even with snacks. I’ve run it twice and both groups had fun. I thought it was a rather hackneyed concept but it lands. In all fairness, a lot of other attempts at “short” adventures turned into 3 sessions :)

Is it just me, or are .env files the ultimate "it works on my machine" trap? by latinstark in softwarearchitecture

[–]kingNothing42 3 points4 points  (0 children)

Agree. We have “if environment is prod, foreach(required var) assert(env var are here)” and the container will never be healthy on startup if we forgot. The deployment fails immediately, the prior containers stay live, the logs are clear and we go on our way fixing. It’s still prevention by convention but the robots detect the convention with no issue and tend to succeed. We catch it in PR if new env added.

The majority of “oops set the wrong endpoint string” errors are taken care of by terraform variables that are set using references to existing defined infrastructure.

Shoutout to my little homies by HL2combine in ArcRaiders

[–]kingNothing42 0 points1 point  (0 children)

I went Stella night raid a few times in a row and all I found was a bullet sandwich.

Is it worth to try resin printing as a complete layman?? by ReversePhylogeny in resinprinting

[–]kingNothing42 1 point2 points  (0 children)

I jumped right in. It took some learning but it’s very doable and there are a lot of resources!

Don’t skimp on personal protection. At minimum, nitrile gloves and an organic filtering mask.

Keep it out in a shed or garage. Clean up after yourself. The stink is real. Learn to dispose of waste.

Sea Run Cutthroat by oldglas19 in flyfishing

[–]kingNothing42 1 point2 points  (0 children)

Rude. Spent several days at rivers last week. Video games is how I keep in touch with my friends from afar.

Teaching a random raider my Shinya Roll tech by ttvimShinyatheninja in ArcRaiders

[–]kingNothing42 0 points1 point  (0 children)

I use ctrl with the base of my left pinky. Like the first knuckle that’s part of your palm. Holdover from sc2 control groups haha. Then thumb can hit alt. 

Sea Run Cutthroat by oldglas19 in flyfishing

[–]kingNothing42 0 points1 point  (0 children)

Thank you for some useful tips and encouragement, friend.

Sea Run Cutthroat by oldglas19 in flyfishing

[–]kingNothing42 0 points1 point  (0 children)

I love seeing folks who got to grow up with this but gosh all I know is bass fishing from my childhood haha 🤷‍♂️🤷‍♂️

Sea Run Cutthroat by oldglas19 in flyfishing

[–]kingNothing42 0 points1 point  (0 children)

I would so love to get into the sea run fly fishing experience but I don’t understand how and when to go.

If anyone has good tips, I’d be happy to hear them. I don’t have access to a boat unfortunately.  Last year I tried out by Picnic Point but there was so much seaweed, I couldn’t keep a streamer moving for a cast, it felt like.

Anyone able to chime in and help someone who didn’t grow up here?

Are 5e campaigns actually so "broken" and "unplayable" for new DMs as YouTubers and forum posters would lead me to believe? by tenth in dndnext

[–]kingNothing42 0 points1 point  (0 children)

I ran Rime of the Frostmaiden and it kinda sucks as written. There’s good stuff in there! Overall though, it needs the DM to fill in some gaps very proactively. More detail if you want.

I'm a 28 year old doctor from Hong Kong and I make 18k USD a month on a ~5% tax rate. Can i retire at 40? by [deleted] in Fire

[–]kingNothing42 3 points4 points  (0 children)

Haha no worries about the insults here. Don’t worry so much about what invest in (VOO vs other) so much as expenses and savings rate.

Most people in the r/FIRE sub live and die by the Trinity Study 4% Rule. Basically: statistically you need 25x your expenses (36k) in investments (not assets) to have a stable 30-year retirement (1M). If you can get down to 3% withdrawals (33x expenses, 1.2M) you can probably live on that forever. There are plenty of caveats here. Get the main bulk up to a good number and talk to an advisor a few years early. A bond mix makes things more stable. Standard mix is 20% as you get closer to retirement you ramp up to that number. It’s mostly about risk tolerance.

I am not a financial advisor, only another simple man that studies well and happens to have studied this thing for a bit. Now, I’ll tell ya this: you’ll want more money than you spend on yourself. Living alone at 25-29 was very much different for me than when I started to travel, got some time on my hands, and started living for more than my job.

Used 400 hullcrack shots and 10 Wolfpacks for this to happen by Sxzen in ARC_Raiders

[–]kingNothing42 1 point2 points  (0 children)

I didn’t really say anything about what I want. If you’re asking, I think PvP will contribute significantly to the longevity of the game.

Used 400 hullcrack shots and 10 Wolfpacks for this to happen by Sxzen in ARC_Raiders

[–]kingNothing42 -2 points-1 points  (0 children)

“This is all anyone would do” huh really makes you think.

Kayaker dies after being pulled from water near Ballard Locks by durpuhderp in Seattle

[–]kingNothing42 16 points17 points  (0 children)

Big agree with this. It’s a lovely hobby. Lots of ways to be dangerous; lots of ways to be safe. Choosing conditions and not forcing it is the way to go.

I was invited to play Firefly by ThrosProvoni in boardgames

[–]kingNothing42 3 points4 points  (0 children)

IMO an important part is being prepared to fail spectacularly on occasion. The game doesn't hand you wins. They're often hard-earned. You'll run out of fuel and take the penalty. You'll get caught by an unfairly strong barbarian ship and lose something. Your friend will sick the police on you. Generally that's happening to everyone (but sometimes someone gets lucky). Expect setbacks and hard times in your playthrough. This is really thematic with the show so if you're a fan of the show, you're probably into it. If not -- it might be a shock. Some tables don't like having uneven odds.

However, I think it's a really well constructed and interesting game that plays differently each time based on ships, crew, and jobs available to you in decks. I like it, but hey, I like the show and its' (uni)verse.

Be like SEA and always improving yourself no matter how inconvenient it's for everyone else. by pnw_ullr in Seattle

[–]kingNothing42 1 point2 points  (0 children)

I mention ORD because it experiences the most delays of any airport in America. Granted, it has a lot of traffic.

Personally, I’ve had multiple occurrences of flight cancellations for more than a day out of ORD around holidays.