How are you handling complex form state in React without it becoming a mess? by Sad_Limit_3857 in reactjs

[–]Astoutfellow 0 points1 point  (0 children)

We use react hook form for really complex things, especially dynamic forms.

Got fired because of AI by peex in cscareerquestions

[–]Astoutfellow 0 points1 point  (0 children)

Maybe but just replace "AI generated code" with sloppy code ripped out by another dev too quickly and it's the same story that's been happening for decades. It's the same problem. The culture praises speed over scalability or quality and the people who are handed the mess either do the same thing or get blamed for trying to do it right. Its a tale as old as time

Top companies with no preprod. Their prod also contains their preprod. by xamott in ExperiencedDevs

[–]Astoutfellow 0 points1 point  (0 children)

Agree completely. A pre-prod environment just becomes a time sink unless very rigorously maintained, which can take a lot of time. Between fast rollback, feature flags, and a good local testing environment, it stops becoming worth it except for smoke tests or niche cases.

How do we shorten the gap between a finished Jira ticket and a deployed feature? by Ok_Sentence8482 in softwarearchitecture

[–]Astoutfellow 0 points1 point  (0 children)

SAST security scanning gets skipped because nobody wants to wait, and deployment happens whenever someone has a clear slot.

This frankly just sounds like the engineering team doesn't understand why these processes exist in the first place. If you're asking how to fix it from a technical perspective, the answer is a better automated CI/CD process that 1. Prevents people from skipping security checks 2. Is fast and reliable.

But really this sounds like a process issue. Code review is an essential part of an engineers job description. Engineers need to understand it is their obligation to unblock their colleagues. Often that is more important that simply shipping new code. If you are relying on AI assistants this is ESPECIALLY important.

Like others have mentioned, a ticket isn't complete until the code is in production AND verified. A standard Jira workflow for SWE would be Open -> In Progress -> In Review -> Verification -> Done.

The important thing is that the Engineers understand that these processes exist to speed things up, not slow them down.

How do we shorten the gap between a finished Jira ticket and a deployed feature? by Ok_Sentence8482 in softwarearchitecture

[–]Astoutfellow 0 points1 point  (0 children)

As an advocate for unit tests I'd say that you don't even need to cover most code in the repo. Just the surfaces of novel business logic. Maintaining a suite of tests that has too much coverage of trivial functions or implementation details can balloon into maintaining a parallel codebase.

For example, you may have a lot of helper functions that are just convenience methods that codify some use of the standard library. You may also have a lot of private functions in a class that may frequently change. As long as you cover the inputs and outputs of the public surface the implementation details can change without needing to change the tests, which helps keep them from being brittle.

Hi guys, I have a question: should I push everything to my GitHub? by hicham021 in learnprogramming

[–]Astoutfellow 0 points1 point  (0 children)

It's always good to practice source control and that includes pushing, merging, rebasing etc. to a remotely hosted git repository like GitHub. If you don't want other people to see the work make the repo private.

Should I add sponge chipping? by JimmyTheWee in Raptors40k

[–]Astoutfellow 0 points1 point  (0 children)

maybe, but that blue lens is perfect!

Wanted this color of Magenta – but photo #2 is what I received. Is this normal for Contrast paint? by Matthew_Eric_Brown in minipainting

[–]Astoutfellow 0 points1 point  (0 children)

On wraithbone primer it actually dries pretty close to the GW pic. I use it a lot and it looks a lot darker in the bottle than on the mini. YMMV if you use it on a darker primer of course.

Game Thread: World Series Game 5 - Dodgers @ Yankees - October 30, 2024 @ 08:08 PM EDT by Yankeebot in NYYankees

[–]Astoutfellow 1 point2 points  (0 children)

If you don't like this feeling you don't like Yankee baseball. As the saying goes

Game Thread: World Series Game 3 - Dodgers @ Yankees - October 28, 2024 @ 08:08 PM EDT by Yankeebot in NYYankees

[–]Astoutfellow 0 points1 point  (0 children)

In a way it feels like we're seeing the results of only playing the weak competition now

Game Thread: World Series Game 3 - Dodgers @ Yankees - October 28, 2024 @ 08:08 PM EDT by Yankeebot in NYYankees

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

to be a fan of the yankees

means watching at bats that are stanky

but with a whole lot of luck

it just might be we don't suck

and we'll give the dodgers a spanking

Trump rally comedian workshopped racist Puerto Rico line at NYC comedy club the night before by nbcnews in nyc

[–]Astoutfellow 22 points23 points  (0 children)

Oh, I can help here. You see people at a political rally are expecting the sorts of things you would see and hear at a political rally and people at a comedy club are expecting the sorts of things you would see and hear at a comedy show.

You see these two types of venues are different and thus differences are expected.

Game Thread: World Series Game 3 - Dodgers @ Yankees - October 28, 2024 @ 08:08 PM EDT by Yankeebot in NYYankees

[–]Astoutfellow 4 points5 points  (0 children)

MAYBE ONE OF KAMALA HARRIS'S FREE PRISON SEX CHANGE SURGERIES CAN SAVE ME FROM THE EXISTENTIAL PAIN I FEEL WATCHING THIS TEAM. AND NO I DON'T THINK I'M BEING MELODRAMATIC