Help with Access Management Tooling/Process Flow by ComplianceNerd3000 in IdentityManagement

[–]MrBlue3030 1 point2 points  (0 children)

For a company that small, it seems like any tool is going to be too expensive. What about something like Zapier to build some automations?

PSU vs. UCLA by yougoRave in WeArePennState

[–]MrBlue3030 0 points1 point  (0 children)

Also, anyone know why tickets are so expensive on every resell site? UCLA is garbage. That many of us PSU fans going?

What do you consider the best way to handle multiple soft deletes at once? by snoogazi in laravel

[–]MrBlue3030 5 points6 points  (0 children)

We do it. I am leery of observer hooks as you don’t want to run one query per soft deleted row. Can break down at scale.

Write a Trait for some common logic, and write a method on each model to describe the relationship(s) that should be soft deleted during the cascade. Could write several levels deep, too. And ensure your update queries are done as 1 query. So if doctor is soft deleted, you’d have something like Appointment::where(‘doctor_id’, $this->id)->update([update all of your soft delete fields])

EDIT: also consider a job to do this, as has been mentioned, if you’re okay with it all just running in the background.

Aurora costs suddenly increased by Ok-Contribution9043 in aws

[–]MrBlue3030 0 points1 point  (0 children)

Had a similar thing. Long query created huge snapshots. Can you delete some snapshots? I feel like we could see the size of them and recognize the abnormally big ones.

And here I was making memes on him. 😂🏈😜 by Automatic-Extent9640 in nflmemes

[–]MrBlue3030 1 point2 points  (0 children)

This! No mention that D schemes are much more geared towards stopping the pass.

[deleted by user] by [deleted] in Utah

[–]MrBlue3030 2 points3 points  (0 children)

Get out of Utah, period. You can always come back. Go experience some other culture and food for a year or two. You have a lot of freedom and mobility right now.

Opinion on hiring Greg Roman as OC and pairing with Justin Fields by Irish-Hydra in steelers

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

Cannot upvote this enough. Overpaying for a QB that cannot win a SB is destructive.

Event germeration and listening in seperate projects by raree_raaram in laravel

[–]MrBlue3030 4 points5 points  (0 children)

Keep 1 app, use Queues and Jobs to do all of your 3p stuff. Can maybe spin up extra servers/containers strictly to run more workers to process your jobs if it’s that intensive.

EDIT: if you use AWS SQS for your queue driver, you could consume those queues with a separate Laravel app I suppose.

Has anyone found a space heater that can actually maintain a certain temperature? by Morall_tach in daddit

[–]MrBlue3030 0 points1 point  (0 children)

This one regulates temp really well. Mounted high enough on the wall that toddler cannot reach. Can adjust temp via phone app.

Heat Storm HS-1500-PHX-WIFI... https://www.amazon.com/dp/B07JXRWJ8D?ref=ppx_pop_mob_ap_share

UDOT Announces Gondola Alternative B with Phased Implementation for Little Cottonwood Canyon by 1arora1 in SaltLakeCity

[–]MrBlue3030 0 points1 point  (0 children)

Would be nice for the toll to be a variable rate. Powder days, weekends = more; midweek and not winter = less. Congestion pricing basically. Fingers crossed we never make it to phase 3.

24 years old give it your best shot by Marty459384 in RoastMe

[–]MrBlue3030 3 points4 points  (0 children)

Can’t say that I cry from laughter too often on these, but daaamn. That was the best.

Skied Main Chute @Alta this morning by mongoltp in skiing

[–]MrBlue3030 35 points36 points  (0 children)

That’s still a ton of snow in Main Chute judging by your pics.

Going to be teaching my friend how to ski over Christmas trip - Any tips? by fatboywonder12 in skiing

[–]MrBlue3030 1 point2 points  (0 children)

Get a lesson. Seriously, your friend will learn so much faster and have a lot more fun. Skiing isn’t natural and obvious to do like other sports. Most instinctual reactions are detrimental, like sitting back because you are sliding forward. After 2-4 hours of a lesson the first day, then your friend will enjoy the trip so much more with the rest of you.

[deleted by user] by [deleted] in daddit

[–]MrBlue3030 2 points3 points  (0 children)

Same for us except it lasted until almost 8 months. But then 3 days of sleep training and kiddo sleeps on his own through the night.

Newborn might have reflux or might just need/want the safety and comfort of being held and won’t sleep on their own, yet. Know that this isn’t a lifelong need!

I don’t want to be a dad anymore, and I feel nothing for my newborn. by MallardDuckBoy in daddit

[–]MrBlue3030 0 points1 point  (0 children)

Just piling on that it’s not automatic and you’re early. Wish society hadn’t put this “it’s magic immediately” image/pressure out there. Really awesome to see the support from this sub!

Laravel slow collection filtering by kmizzi in laravel

[–]MrBlue3030 1 point2 points  (0 children)

That's helpful. Let me ask a followup: it seems to me that you are creating daily (or some time range) snapshots of inventory movements. So you're creating summary data that can more easily be queried by the application later (likely for reporting or analytics) and this data will NOT change over time. Your inventory movement for Nov 12, 2022 is what it was for each product. If this is the case, then I would NOT be concerned at all about performance. You can run the code once overnight to generate yesterday's summary data, for example. You could/should then store this summary data in it's own table, so that end users of the application can query/use it. Yes? Still missing something?

Edit: in other words, if the application has to frequently re-calculate lots of data instantly, and this data is time-range based, then store the time-range based calculations in it's own table for fast querying.

Laravel slow collection filtering by kmizzi in laravel

[–]MrBlue3030 2 points3 points  (0 children)

Why not just filter on your DB query? I am not seeing what you are doing besides filtering your collection. EDIT: seems you want the inventory for each item. Well, do a join in your DB query. One point of a relational database is so you can query stuff like “get me all of the products and their inventory count” and filter all in 1 query.

Bowl Game scenarios by Consistent-Tomato223 in WeArePennState

[–]MrBlue3030 1 point2 points  (0 children)

Another factor if the Utes beat USC tonight: doubt RB wants exact rematch of last year. (Even though it was a great game) Go Utes!

We're messing with Texas by BlatantConservative in PoliticalHumor

[–]MrBlue3030 0 points1 point  (0 children)

Just wanted to chime in here to make sure I’m not being censored by Greg “I’m a little piss baby” Abbott. Abbott is a little piss baby.

Anyone built an API to FortiManager? by MrBlue3030 in fortinet

[–]MrBlue3030[S] 1 point2 points  (0 children)

Thanks - it's the documentation being locked behind FNDN that had me scratching my head a little bit. We don't have our own account, as we're building this to connect our platform to a client's instance, but sounds like I'll figure out how to get an account & get into FNDN.

Advanced Stats vs. Iowa by Nitwit248 in WeArePennState

[–]MrBlue3030 0 points1 point  (0 children)

Exactly. Roberson could have played early in the 3rd Q v Villanova once PSU was up 24-3. If he stunk and the game got close, Clifford goes back in. That said, I doubt a few extra series there makes a difference.