News for hackers. Stuff that matters.
Re:Small-Scale Automation by simula67 on Monday January 30, 2023 @04:31AM (#34577609)
Agree with the author. I have many simple automation scripts that are not written to the standard of my professional pride because it helps me stay in the flow.

Often, people say that you should only automate things if it saves you time overall: spend 5 minutes writing a script only if it saves you 6 minutes. However, not all minutes are equal. 5 minutes when you are close to a deadline is far more valuable than 5 minutes when you are "idling".

For this reason, I always appreciate it if tools are written with automatability in mind, even if they may not save a lot of time when automated. If I have to use PyAutoGui for every automation I write, I think it will be a lot more brittle than I like. If it uses two-factor authentication, it makes the automation even less "flow-breaking".

Re:Small-Scale Automation by drewcoo on Monday January 30, 2023 @06:31AM (#34578423)
> Often, people say that you should only automate things if it saves you time overall

I was trained years ago by people who said "if you have to repeat a task, automate it; any time spent repeating a script is waste but time spent automating is learning to automate better _and_ not repeating yourself."

Re:Small-Scale Automation by wrldos on Monday January 30, 2023 @08:03AM (#34579066)
Also the automation is documentation for next time you have to do it. Even if it doesn't work!
Re:Small-Scale Automation by Lisaisyuet on Monday January 30, 2023 @05:25AM (#34577974)
Agree, automation saves manual work. It is the manual work that always distracts us from concentrating on the work. That is the reason why some of the project management tools supports automation to streamline the workflow. That's the killer of focus on the work.
Re:Small-Scale Automation by 2143 on Monday January 30, 2023 @05:50AM (#34578133)
Whoa. That feels like a while lot of words to say nothing.

Is this a ChatGPT/similar response or what?

Re:Small-Scale Automation by atlaspod on Monday January 30, 2023 @06:56AM (#34578569)
Ha! Must be
Re:Small-Scale Automation by drewcoo on Monday January 30, 2023 @06:28AM (#34578399)
> automating small tasks in order to maintain concentration, not to save time

Frankly, I don't see the difference. They're both examples of what Larry Wall (may his mustache remain ample and bushy!) called "laziness," and I favor laziness.

https://thethreevirtues.com

Re:Small-Scale Automation by bajsejohannes on Monday January 30, 2023 @06:28AM (#34578400)
I mostly use Makefiles to remember what I've written. It makes it quite easy to see what actions I found useful when working on some project months or years ago. Even if it's just calling out to scripts, it's nice to have in a central place.
Re:Small-Scale Automation by yellowapple on Monday January 30, 2023 @04:30PM (#34586675)
> I’ve heard many people say you should automate repetitive tasks; I’ve never heard anyone discuss the problem of remembering what you’ve automated and how to invoke it.

The trick is to automate that :)

Re:Small-Scale Automation by ygouzerh on Monday January 30, 2023 @11:30PM (#34591131)
From a productivity point of view, I agree for the fact to limit the number of tool used. But personally, I will advice the reverse, to try different ones, in order to get a larger palette, and learn more. Often in software, tools shape the mindset.

Someone using Python to automate versus someone that is using awk or even someone using some old point-and-click RPA have very different approaches on how to solve an automation problem.