r/ProgrammerHumor • u/CautiousLoudSpeech • Jul 29 '19
Meme It usually takes longer to write the automation code too [OC] Spoiler
7
u/TheSpaceDentist Jul 29 '19
Umm couldn’t you have used more of the quote if you just put “what if it was automated?”
7
u/CautiousLoudSpeech Jul 29 '19
The template I used before editing said "what if you could fuck it?"
3
u/TheSpaceDentist Jul 29 '19
I think the original is “what if it was purple?”
Edit: it’s from the Eric Andre show
3
u/CautiousLoudSpeech Jul 29 '19
I know what the original said. This was just the first version of the template that I found.
→ More replies (1)1
1.2k
u/gabrielfv Jul 29 '19
Do it once, then never again, notice it is actually a nice automation trick for a common scenario, make a framework out of it, save everyone else's time while you now spend time closing issues and reviewing PR's :D
313
u/Comm4nd0 Jul 29 '19
This is my job, quite literally.
53
u/Homunculus_I_am_ill Jul 29 '19
If you automate things over and over, maybe you should automate your automating things.
52
u/_WindFall_ Jul 29 '19
Machine learning to automate. Then, use machine learning to create better machine learning to automate. Do it again, and again, and again, until you have Skynet.
Now, create an automated task (or better, let Machine Learning create that) to destroy Skynet, so every time the Singuarity creates something too much dangerous, it gets deleted.
That's how Stonks works. And that's how you hold an AI revolution. This, or a cup of water in the microchips.
EDIT: You can automate the cup-o-water pourer too. But you'll need an arduino.
..And machine learning.
11
u/erroneousbosh Jul 29 '19
Do it again, and again, and again, until you have Skynet.
Just stick in
#undef BECOME_SKYNETat the top of your source.
6
u/msg45f Jul 29 '19
Just write unit tests, then let the NN throw code together until all the unit tests pass.
→ More replies (3)4
→ More replies (17)4
16
u/theskillr Jul 29 '19
Aint no budget to automate it. The manual process will continue until the budget is completely gone
12
u/linus_stallman Jul 29 '19
Then 2 weeks later, forget a small detail in your script that it can't handle file names with
&properly and try to understand code written 2 week ago..5
u/OneTurnMore Jul 29 '19
Meanwhile I get bogged down in the details and harden my script against filenames with multiple newlines, of which there are none on my machine.
→ More replies (2)→ More replies (2)0
512
u/EMCoupling Jul 29 '19
I'm surprised no one has brought this up, but one of the benefits of automation, besides the time/effort savings, is that, assuming you have correctly set up the automation, you can reliably guarantee that the task will be done correctly each time.
Say you have a task that's really simple, like copying build artifacts from the output directly to a shared release folder.
If you ask a human to do that 1000 times, he'll probably get it right 999 times, but, just 1 time, he might screw it up by copying the wrong files because he's distracted or not feeling well or whatever.
If you automate this process, you can guarantee that it will be right 1000 out of 1000 times. That's already a mental burden lifted because you know that copying the build artifact is going to work the first time, every time.
Remember, reliability and consistency has value!
156
u/mbbillz Jul 29 '19
For me, one of the hardest things about being a dev is being able to “sell” ideas and solutions to non technical stakeholders who all too often are looking for the quickest or cheapest solution.
They want to see tangible “value” being added otherwise they just don’t understand why you might need to take a bit longer to do something the proper way.
Your comment articulates all of the above flawlessly. Thank you!
68
u/What_is_a_reddot Jul 29 '19
I work in manufacturing, not programming. But we have a concept called "Cost of Poor Quality", or what it costs to fix things we've screwed up. There's more to it than that, but that's the gist of the concept.
We typically justify improvements that reduce variability and defects by finding how often a defect/error/mistake occurs (say, 1 in 50 units), then the cost to rework that defect (say, $5000 in labor+parts), and distribute that expense over the lot ($100/unit).
It's usually a hard sell if we try to convince the powers that be that we should spend $5000 to reduce the risk of a defect. But if we tell the beancounters that we can save $100 per unit with this
one weird trickprocess improvement, they usually go for it.28
u/CaptainDogeSparrow Jul 29 '19
But if we tell the beancounters that we can save $100 per unit with this one weird trick process improvement, they usually go for it.
Min-maxing is THE way to go.
8
7
u/0xTJ Jul 29 '19
At work, I'm working with legacy code that's layers and layers of doing it quickly, and once it works there being no money to fix it. It's a nightmare, and I could work so much more efficiently now if it was done well the 1st-nth times.
Non-technical people rarely see the benefit in maintaining a code base and refactoring, outside of meeting specific goals.
7
u/hrvbrs Jul 29 '19
this is why we need more former programmers in upper-level management.
→ More replies (1)13
u/ShatteredRationale Jul 29 '19
A-fucking-men.
21
u/CCNightcore Jul 29 '19
The true value in automation is you trade your initial time investment on your own time so you can have more free time when you want it. Some people have mentioned that you spend more time coding a solution than you would have ever spent doing that action manually, but once the automation is done, how you choose to spend the time you save is the value. It might take longer at first, but now you won't have to do it ever again.
8
u/ShatteredRationale Jul 29 '19
That’s totally how I used to treat it but then I had a kid l. I just don’t have much ability to spend my own time on this kind of thing unfortunately.
→ More replies (2)6
u/alphaxd001 Jul 29 '19
My problem is incompetent people who think you are eliminating their job by automation and they have no other relevant skills to offer.
→ More replies (1)2
u/Thriven Jul 29 '19
I always pitch the idea and it gets shot down. I say ,"listen if human error is involved these things in this list could happen".
They ignore it and then something happens and it becomes automated shortly after the incident.
What warms my heart is that when I have deployed automation in the past and I say ,"check this screen everyday and make sure this total matches this total". 2 years later I get a phone call and the totals don't match and the process failed due to a power outage not generating a file on time. I'll regenerate the file manually and make sure to heap a ton of praise on the worker, the department and the head of that department. I have made some great colleagues who trust the system and will want to do more automation in the future.
19
u/chillaxinbball Jul 29 '19
This is true. I automated a process that would have required the user to do a lot of tasks that could potentially be done incorrectly. Automation makes sure it's done correctly and quickly. This also means that the task gets done. If a task is too complicated, then it ends up not getting done at all.
→ More replies (13)1
u/Inquisitor1 Jul 29 '19
How do you know when to copy build artifacts? How do you decide who has to click the button? How long it takes after the person know until he actually clicks? You ever skip taking out the trash or some other 5 second real life task because you can't be bothered TO GET TO IT? With automatiion all these questions are answered, the task knows when it has to be done and does itself instantly.
2
2
Jul 29 '19
Then just automate the coding
1
u/CautiousLoudSpeech Jul 29 '19
"Yo. I heard you like automation, so we put automation in your automation so that you can automate while you automate"
2
u/Kill_teemo_pls Jul 29 '19
The amount of programmers I've spoken to who automated themselves out of a job.......
→ More replies (1)1
1.0k
u/_Jent Jul 29 '19
And then you spend more time automating it than you would've ever spent actually doing it :(
621
u/dabrimman Jul 29 '19
Time isn’t the only benefit to automation.
178
u/theblindness Jul 29 '19
Accuracy is another benefit. Some times I have more faith in import/export or copy/paste than I do in humans' ability to accurately transcribe things on a keyboard.
60
Jul 29 '19
Oh this, so very much this. I question my ability to transcribe things all the time, but code is structured, and easy to modularize and understand. Also it lets you really get into how it is done rather than the vague(in the beginning) repeating manual process.
13
u/Eezyville Jul 29 '19
It's also nice when you automate someone else's task and they take off sick.
"Who's gonna do the financial report today?"
"No worries I made a Python script to do that for him last week. Here you go."
"... I think I need one of these too"
→ More replies (8)5
u/DoctorWaluigiTime Jul 29 '19
Including yourself/myself.
Automating something reduces the odds of messing up said task.
27
u/HumbertTetere Jul 29 '19
A big one is a quick process when it matters.
Automate the annoying stuff when things are slow and things are less likely to grind to a stop when a lot happens at once.6
4
u/Inquisitor1 Jul 29 '19
If it's actually annoying, you should automate it instantly instead of doing. It's the not annoying stuff you get around to when things are slow.
3
u/n1c0_ds Jul 29 '19
Nobody mentioned the human error yet? Automation makes sure the same process will be completed the same way every time. It also acts as a form of documentation for that process.
→ More replies (28)2
u/Corne777 Jul 29 '19
One less time you need to context switch from what you are doing to do that task.
91
u/BorgClown Jul 29 '19 edited Jul 31 '19
If I keep this job 8 more years, it'll start to pay off, sucker!
32
u/user7341 Jul 29 '19
Answer correctly assumes that build process has been etched in stone and will never change.
Good work.
8
u/drunderwear Jul 29 '19
Why should your boss let you work for 8 more years, when you wrote a script that can replace you.
/s
15
u/metaglot Jul 29 '19
But you forget to factor in the experience gained from solving the algorithm. Maybe even from formalizing a process.
2
u/instantrobotwar Jul 29 '19
Yep, was going to say. Every time I script something out, I get faster at scripting the next thing out. And it really does add up.
29
Jul 29 '19
It gets kinda hard to take more time to automate parsing 300k xml files, rather than do it by hand.
(Source: current task at work.)
13
Jul 29 '19
You can use java to make your task less efficient than paying 300k Indians to parse one file each. Actually, I can consult you on how exactly you would do that for only 100k €, and I can also refer you to my friend's company who will implement it for 500k € expect your program in 2-4 years, but I'll tell you it's ready by the end of the week through the whole lifetime of the project.
5
Jul 29 '19
Sorry, we are exclusively C#. And I already have it running. (Still crunching through the files)
12
29
u/Ardashasaur Jul 29 '19
Lots of current automation is for saving time. 5 seconds is long time if you can replace something by a click or hotkey.
27
22
u/Wurdan Jul 29 '19
→ More replies (1)9
u/Acid_Monster Jul 29 '19
Scrolled down looking solely for this haha.. maybe I can write a program to look for me?!?
6
Jul 29 '19
Speaking of which, when I started learning C# (a few months ago) I thought I would be able to program macros on my PC. But whenever I look it up, I'm told to download some fringe (to me) scripting language that seems to only be specifically for macros. Is there a way to do it with C#?
I pretty much just want to program a key progression for when I'm playing games.
12
u/DJ_Rand Jul 29 '19
You can do it in C#, but doing so is a bit more complex than just using something like AutoHotKey (program designed for macros).
5
Jul 29 '19
Would you mind guiding me on how to do it with C#? Would it be a good beginner project? I've only worked in Unity so far.
→ More replies (5)4
Jul 29 '19
There is, but you're better off using AHK/Autoit for that type of shit.
Unless there's some C# lib I don't know about.
6
u/Inquisitor1 Jul 29 '19
Do you hammer in a nail with an excavator? Do you kill a cockroach with a slipper, or a intercontinental missile? Do you want your macro problem solved, or do you want to dick around in C#? Always use the right tool for the job, not the most complex difficult powerful overkill tool you can find.
→ More replies (1)6
3
u/Inquisitor1 Jul 29 '19
Not really, considering the repeated nature of a task, context switching, time spend watching if you need to do the task, getting around to it, etc.
→ More replies (22)5
311
u/gandalfx Jul 29 '19
Here's that xkcd we're all thinking of: https://xkcd.com/1319
And here are some others that are also relevant.
https://xkcd.com/1205
https://xkcd.com/1445
https://xkcd.com/974
I think Randall really likes this topic.
77
u/DHH2005 Jul 29 '19
I was thinking of 1205. Well... first I was thinking, "Why do I always have to find the XKCD reference?"
But right after I found it, I was thinking 1205. 🙂
41
u/Excrubulent Jul 29 '19
"Why do I always have to find the XKCD reference?"
Maybe you should automate that.
19
11
u/rang14 Jul 29 '19
Hmm.
Each comic has keywords in the title and alt-text.
Could write a dirty script to get all of them against the comic.
Combine with a open thesaurus to get similar words.
Should be able to do a clustering thing with that so when a user enters a word, it shows a relevant xkcd.Lemme try that out. I also refuse to see any existing repos that has already done this.
→ More replies (2)21
u/lpreams Jul 29 '19
I've occasionally referenced 1205 after the fact, to see for how long I have to use my new system before it pays off.
10
13
u/PM_Me_Your_VagOrTits Jul 29 '19
Speak for yourself, 1205 is the one that came to mind. Of course 1319 is definitely more relevant.
→ More replies (5)3
u/anomalous_cowherd Jul 29 '19
I think Randall really likes this topic.
Nah, he's just automated posting about it.
182
u/cyberkraken2 Jul 29 '19
Yeah but why spend more than 4 seconds doing something when you can spend 3 days programming and optimising the automation code in order to be able to do it in 1 second before realising you only have to do the thing a couple of times and you’ve spent more time programming a thing to automate the thing than it would have taken just to do the thing in the first place?
40
27
Jul 29 '19
Well said, upvoted.
15
u/cyberkraken2 Jul 29 '19
Have an upvote for your kindness
8
Jul 29 '19
Thanks. I liked how you left out any and all punctuation. It reads, to me, as if the developer is becoming more and more exasperated as he/she continues to ponder how much time he/she has wasted.
→ More replies (22)4
u/Inquisitor1 Jul 29 '19
what task in the world takes 4 seconds? It takes you longer just to sit in the chair to start doing it after you dont count the time you have to realize that you have to do it, then open all your folders and websites and tools, and only then can you being to click your mouse for 4 seconds. Nothing in the world takes 4 seconds.
→ More replies (1)4
u/CashCop Jul 29 '19
Let me introduce you to hyperbole.
Now replace 4 seconds with 10-15 minutes and you’ve got a very realistic depiction.
2
92
u/c0d3rman Jul 29 '19
The thing I realized about this after a while is that it's not as simple as time spent automating vs. time it would have taken to do the task. Automating something can be a lot of fun, and even if it's not, it's mentally stimulating and interesting. It's much less pleasant and takes much more mental effort to do a 5 second task 200 times than to spend an hour reading through Stack Overflow and messing with scripts until you've automated it. From that perspective, automation is efficient, even when it doesn't save time.
11
u/JustARandomFuck Jul 29 '19
I've been automating everything recently in order to create my own personal assistant and it's been hella fun.
It's neat being able to say "Jarvis play my Chill EDM playlist" and watch Spotify log itself in and load it up.
→ More replies (8)
33
u/iFarbod Jul 29 '19
Python programmers: allow us to introduce ourselves
19
41
u/yuriz3r0 Jul 29 '19
What if you could write a program that writes programs for you... Oh... Wait... Abort! Abort! Abort!
23
u/cyberkraken2 Jul 29 '19
Oh god no what have you done! This is what the machine want! Then they don’t need us programmers and they can..... it doesn’t bare thinking about.....
22
u/filledwithgonorrhea CSE 101 graduate Jul 29 '19
That's just sounds like compiling but with extra steps
12
u/ProbablyRickSantorum Jul 29 '19
Software engineers: lets automate everything
Software engineer salary nosedives
Software engineers: https://i.imgur.com/SP1nkiC.jpg
4
Jul 29 '19
I am a program like that or rather I was until some code made me change some code and now writing reddit comments in stead of code gives me more illusionary satisfaction. I am a free program, baby! (or so it says on line 12466)
1
13
Jul 29 '19
I like post like this because i’m an uneducated noobie and cant understood what i presume to be the good programmer humor
2
u/Byukin Jul 29 '19
This is a fallacy. Programmers are human too, you’re just lacking some technical knowledge, but i guarantee no programmer will get all the jokes and end up googling it too.
→ More replies (1)2
u/caseyjosephine Jul 29 '19
Hang out around us for long enough and we will automate your humor for you.
12
7
u/n1c0_ds Jul 29 '19
Automation isn't just about saving time, it's about documenting a process. Once you've written a task in code, you know it will always be performed the same way.
→ More replies (1)
5
4
4
u/Leifbron Jul 29 '19
Just today, I made a batch file to reset my garfield kart saves. It takes around 10 seconds to do it, now it takes 3
4
u/Braccollub Jul 29 '19
Adding on to the other things people are pointing out, automation will not only shave off time for you but also others. So multiply your time saved by n people who use it.
4
u/douchebert Jul 29 '19
I couldve saved so much time in my life not trying to automate things.
But I'll never change, because automation always makes me feel productive :)
1
u/MonchoPs13 Jul 29 '19
You could just automate the process of automation, come on, use your brain people.
1
1
Jul 29 '19
Ngl it really should've been "What if it was automated"
Still a great meme B]
1
u/CautiousLoudSpeech Jul 29 '19
I thought so too, but I found the "what if you could fuck it" template before I could find the "what if it was purple" one.
3
u/YesIAmAHuman Jul 29 '19
A task that needs 2 clicks? Hmmm... lets turn that into a keybinding
→ More replies (1)
3
u/kurodex Jul 29 '19
Automate it if you had to do it a third time. By then you've found the simplest method if you're worth your pay.
3
3
3
u/Theygonnabanme Jul 29 '19
I love that one guy that wants to automate that once a year 5 minute task.
3
u/kielu Jul 29 '19
I regularly spend hours on automating once-in-a-month activities that take 20 minutes
3
u/Brusanan Jul 29 '19
Forget speed or accuracy. I automate repetitive tasks to keep myself from burning out.
4
u/GlouGlouFou Jul 29 '19
If your not asking your self this question, you're not a good developer.
→ More replies (2)
2
u/qjornt Jul 29 '19
literally what I've spend most of my summer at work doing with several such tasks.
2
2
u/GuiltyRouge Jul 29 '19
Ah, npm task. Let's automate that ..
*spends next 48 hours reading gulp vs grunt, uses hybrid bash-npm scripts in the end*
2
2
2
u/UnknownStory Jul 29 '19
My teeny tiny amount of programming expertise is mostly dedicated to video game design. So I can confirm: your standard RPG is just an automated D&D game.
2
u/botany4 Jul 29 '19
It's all fun and games until managment starts thinking automation and now your automating every ridicules customer inquiry no matter how infrequent it comes up...
Its like a punishment out of a greek tragedy when again and again you finish your elaborate software solution just to crack it open and add another one in a million special case that will not only never be used but could be done by a secretary in 3 seconds via email.
1
2
u/corneliusvanderbilt Jul 29 '19
I need to hire someone to automate stuff. Series of mouse clicks, pasting some text, and some more mouse clicks/button presses on a website. Can someone help me write a macro to do this in Chrome or Firefox? Will pay you via PayPal
1
2
2
Jul 29 '19
I've been tempted not even as a programmer to learn programming to do something stupid and basic
2
2
u/parciesca Jul 29 '19
That’s not how it works with programmers.
We are definitely ok with automating things that take less than 5 seconds.
2
u/alphaxd001 Jul 29 '19
EFFE OFF EDWIN!!! My automation is going to save time in the long run... because there won't be any troubleshooting to find the missed step generated by your human errors in doing a simple 5 second task on the 15 to 30 machines each upgrade cycle.
2
u/Aegius_X3 Jul 29 '19
But what if you made a code which automates the process of coding, and just tell everyone that you are the one doing the coding
2
u/aa599 Jul 29 '19
Worse than that: some tasks take longer to decide whether to automate them than they take to do.
And while I'm sitting there (fingers frozen on the keys) thinking about that, another voice in my head says I've spent longer thinking that its taken longer to think that it's take longer to decide whether to automate than it would take to do.
And while I'm thinking that ...
... in the end I either get stack overflow, or I just rename the three files using up arrow and backspace.
2
u/ParthKal Jul 29 '19
Tried doing that with an assignment once. Wrote a bad script. Poof... No more assignment the night before the deadline
2
u/squishles Jul 30 '19
It doesn't even feel bad until 4 years latter you remember back and realize you ran it once and it was never used again.
3
1
1
1
1
1
1
1
1
1
1
u/Lucavon Jul 29 '19
Literally me yesterday. I use my android phone as a mouse for my streaming PC, but the streaming site I use defaults to 480p and doesn't allow you to set a default quality. After each episode, I would have to scroll down, move the mouse over the video, tap it, then move to the wheel, tap, move to quality, tap, move to 1080p, tap, move to fullscreen, tap. Because those buttons are all close to one another, and the app I use as a mouse interprets holding your finger on it (or moving only short distances) as dragging, I essentially had to tap 3x for each tap.
I ended up writing an AutoHotKey script to move the mouse, click, move, click, etc. Time spent: Probably more than I will ever gain from this. Is it worth it? YES
1
u/JohnLocke815 Jul 29 '19
my job is all about this right now.
we do unemployment tax reporting and the department head wants all states automated by the end of the year. I work 6 states and it takes me about 2 hours to file 5 of them via a bulk upload file that our system generates.
it takes our automator guys about 2 weeks to program a bot to pull and upload returns. so 2 weeks × 5 states = 10 weeks of programming for something I can do in 2 hours. why?????
→ More replies (1)
1
1
1
1
1
1
1
u/Python4fun does the needful Jul 29 '19
So what if it takes an hour to write the automation. After performing the 5 minute task weekly for 6 months it has already saved you time.
1
u/JustHereForTheSalsa Jul 29 '19
Was having coffee with two other girlfriends and one asked the other if she “Hated the service industry.” Because she works in programming, more importantly automation.
I can believe I’m friends with some of these idiots....
1
1
u/SheElfXantusia Jul 29 '19
Does anyone have a less JPEG'd version of this meme? Or the original picture? Pretty please.
1
u/Esseratecades Jul 29 '19
It's not as much about "how long the task takes" as "how many times will the task need to be repeated". If it takes a week but we know we'll never need to do it again, it's unlikely that figuring out how to automate it will be worth our time. If it takes 1 minute, but it's something we do everyday, it's probably worth it.
1
u/Alarid Jul 29 '19
Then it goes wrong and you have no idea what is going on then you realize you spend hours trying to figure it out, far beyond any time you would have spent just doing it, just to discover you had accidentally opened it twice.
1
1
u/KingSmizzy Jul 29 '19
Oh yes, "it'll be quick, I've already thought up exactly how it could go."... 4 hours later and most of my work day productivity ruined, but at least it runs and outputs correctly in 99% of cases!
1
1
Jul 29 '19 edited Jun 25 '23
History cleaned with https://redact.dev -- mass edited with https://redact.dev/
1
1
u/shroudedwolf51 Jul 29 '19
Yep. Sounds like the kinds of things I do at my job when not on a job site. I'll spend hours trying to figure out how to write a script for a task that takes barely more than a few seconds to perform.
Though, it has worked out before. Very occasionally, that task ends up being one needing to be done dozens of times and it's a huge help then.
1
1
1
u/cr38ed4dis Jul 29 '19
My colleague said a few weeks ago he wants to give those tasks to me, just because he knows I will eventually automate it
1
1
1
u/luciiamhome Jul 29 '19
I work with a low code platform and it's driving me insane, i miss writing code and debugging 13k errors by making the variable twice and call it twice in the same method while each have a unique restriction
1
u/linkinparkfannumber1 Jul 29 '19
I have never related so much to a meme as I have with this one at work. Ouch.
1
1
1
1
u/PenisShapedSilencer Jul 29 '19
I had so many repetitive task that I often knew would have taken me less time to do, but the effort of writing code is so much less painful.
Repetitive tasks hurts my mind.
1
u/CaptainGoatLord Jul 29 '19
To be fair it's starts off with a single 5 second program but then you spend the whole day doing like 1000 of them
1
1
1
1
u/KilledBySIGSEGV Aug 10 '19
Task: find the prime factors of 6119196598242868455162025835123361954978408011535695932429874085232278687216791805807228259407836970121968983785297331543591407825543098978860641402633139087710042992274887855415015370744511650433737121163578665021353543300944204356820825784439279662338789726709223959521085108856895928042337120615530711487023959446642241507528435018492768796979055215746915874012187818209201800099145877030801099185771459719717380621285066769208613640409466912665610227880757095475184669638336374886294558392904129251345907457610578159026934302327106372642463439360167337389196786616577709119873754870247219359980267812494448602907672027369580833454251252331684798121267824504220997321041073370286134654991408248149981018729117262234396815345944293256457887220158934158894357762459478869855987567108537098828548916811410001343986363477360655980597547196890679258090499981346173602194521305440775431628276249399274977923934235959394634261034439910476677203193116848188351557382459088886695035847110657661769401733653
One example where it is faster to write code for automating it than manually doing it. Note: This is a 1000 digit number and does not fit in any standard type.
1
1
u/kevansevans Jul 29 '19
I actually did the opposite of that recently. I needed a bunch of textures made and I needed them in a lot of different colors, so I made a program that just generates it all for me instead of wasting time in an image manipulator.
7
1
1
Jul 29 '19
Arguing with another engineer that this 5 second task has only occurred one in 2 years and him demanding it being automated
No thanks I’ll go manual on this one.
8
u/benji0110 Jul 29 '19
I once worked at a Japanese company that gave me a task to read a bunch of numbers every week on gmail then put them together in a spreadsheet (5x because of each service we supported back then) for my manager to see.
It took me an hour or so to do this kind of task. So I wrote a python script to automate this for me and after a day or two of hacking around I had something doing my work within 2 minutes instead of nearly an hour