News for hackers. Stuff that matters.
Re:It is easier to educate a Do-er than to motivate the educ... by maximus-decimus on Tuesday October 05, 2021 @08:07PM (#28767430)
At the same time, When it takes 5 minutes minimum to deploy my code changes to my vms to test, I lose all motivation. Momentum is really the right word and a workflow is just soul sucking.
Re:It is easier to educate a Do-er than to motivate the educ... by refenestrator on Tuesday October 05, 2021 @10:52PM (#28768626)
Spend that time figuring out how to change it to unit tests in your IDE, or making the deployment lighter weight.

Work on the meta-problem that makes your problem easier. After all, you've got time if the baseline is low-productivity. And the lessons learned are portable.

Re:It is easier to educate a Do-er than to motivate the educ... by overtomanu on Wednesday October 06, 2021 @01:04AM (#28769403)
Not everything can be unit tested. Figuring out what ide is doing and writing a plugin for what you actually want to do.. How to maintain plugin across ide updates...it's the start of rabbit hole and may not be worth it sometimes..
Re:It is easier to educate a Do-er than to motivate the educ... by tremon on Wednesday October 06, 2021 @07:37AM (#28771852)
Break out of the IDE then -- run your unit tests from the command line. As an added bonus, it will be much easier to troubleshoot the headless CI builds too.
Re:It is easier to educate a Do-er than to motivate the educ... by maximus-decimus on Wednesday October 06, 2021 @10:44PM (#28781220)
You're overestimating how much control I've got over the company-wide infrastructure.

Unit tests don't really fix the problem either. I'll have integration tests that run automatically during builds either way because I want to make sure other people are not breaking my stuff and there's no real difference in time between setting it up for 1 test or 1000.

The only solution I've found so far is try to bypass as much of the company-specific infrastructure as I can during development, but that requires learning a lot of docker/k8s/helm on top of knowing the company-specific stuff well enough to know what I can ignore on top of rake libraries that ~~abstracts~~ obfuscates the infrastructure.

Learning the k8s stuff I don't mind that much because as you say it's portable, but the company specific stuff... I doubt it's even portable across the company.

Re:It is easier to educate a Do-er than to motivate the educ... by killtimeatwork on Wednesday October 06, 2021 @02:59AM (#28770044)
5 minutes is great, try 3 weeks (due to various "objective issues" aka fuckups across the organization).
Re:It is easier to educate a Do-er than to motivate the educ... by maximus-decimus on Wednesday October 06, 2021 @03:19PM (#28777110)
5 minutes is actually on the low end. I put it more as a minimum that really disrupts my flow. Below 5 minutes is kinda tolerable... 5 minutes to 5 hours... not so much.
Re:It is easier to educate a Do-er than to motivate the educ... by mbrodersen on Wednesday October 06, 2021 @07:40PM (#28779881)
You have my deep sympathy. That sounds crazy!