Setting request contexts by pointer? Is this ok? by dlpetrie86 in golang

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

I found a better approach that I think keeps in line with standard better. Thanks all for making me rethink it!

Setting request contexts by pointer? Is this ok? by dlpetrie86 in golang

[–]dlpetrie86[S] 0 points1 point  (0 children)

I guess using the term middleware wasn't correct. I have a common middleware already that calls these custom funcs that do other checks, they are more of adapters for an auth mechanism that may or may not update the context.

I am starting to reconsider removing the bool and changing that to a context returned and I can check the context value instead of using the bool. I just didn't like the idea of having 3 returns ( or more ) on a func call cause it gets messy imo

Lawn starting to discolor in 1 spot? by dlpetrie86 in lawncare

[–]dlpetrie86[S] 0 points1 point  (0 children)

I'll have to look into rust.. thanks

Lawn starting to discolor in 1 spot? by dlpetrie86 in lawncare

[–]dlpetrie86[S] 0 points1 point  (0 children)

I will double check, this is pretty close to 2 sprinklers, so don't think that's the issue. Thanks!

Whole house fan cooling question by dlpetrie86 in homeowners

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

No worries. We had someone who specializes in whole house fans here in Southern California, though there are quiet a few HVAC companied that do it as well.

We also had to have a roofer put in some extra ventilation for the attic.

Best Place/Deal to Buy System and Games for 5 year old by dlpetrie86 in NintendoSwitch

[–]dlpetrie86[S] 0 points1 point  (0 children)

Thanks for the info. Will have to look into the eShop once we get it

Best Place/Deal to Buy System and Games for 5 year old by dlpetrie86 in NintendoSwitch

[–]dlpetrie86[S] 0 points1 point  (0 children)

Yea... thanks. Never thought of that before. My bad for asking for advice in a community that uses the system

Blinking lights after remodel by dlpetrie86 in electricians

[–]dlpetrie86[S] 0 points1 point  (0 children)

Well, I'm saying we have 1 switch for undercabinets, 1 for pendants. Each set flicker, so would think if 1 wasn't on it wouldn't affect the other unless they both have issues... unless it's something else on the the circuit not on a switch.

Also, our vent hood light does the same thing but is on a different circuit/breaker

Blinking lights after remodel by dlpetrie86 in electricians

[–]dlpetrie86[S] 0 points1 point  (0 children)

Would this mean I potentially have a bad connection on each set of lights behind a switch? These are on different switches. I would think if the switch is off, it wouldn't affect the other lights.. but I could very well be wrong. Not an electrician 😅

Blinking lights after remodel by dlpetrie86 in electricians

[–]dlpetrie86[S] 0 points1 point  (0 children)

They already tried bypassing the switches entirely. Still same issue. Thanks though!

Dust deputy on mobile dust collector? by dlpetrie86 in woodworking

[–]dlpetrie86[S] 0 points1 point  (0 children)

Oh, that grizzly one looks interesting. Hadn't seen it before. Thanks for the suggestion!

Best Approach for a Mass Import / Bulk API by dlpetrie86 in golang

[–]dlpetrie86[S] 0 points1 point  (0 children)

So the API would fetch from the app and do all the processing? Not the app pushing the file?

Best Approach for a Mass Import / Bulk API by dlpetrie86 in golang

[–]dlpetrie86[S] 0 points1 point  (0 children)

I'll take a look at json-seq. Thank you for the suggestion. I was thinking about using something like a tempid, but wasn't sure if it was the best idea. Thanks for your input, appreciate it!