I am sorry, brethren, for I have failed our craft, and disappointed those who have placed their trust in me. Today, after 15 years, I finally built the thing that I think I won't recover from, I will hand in my badge right after I finish writing this apology post.
I did it what I did in the name of efficiency
You see, sometimes work is just work, and people are just people. Some people work at work, and others, I think, are asleep. There is no other explanation for why after two weeks, my coworker still does not have access to the server endpoint that he and I would need to forgo the tedious process of him generating test files from his code, sending it to me via teams, where I download them, log into the server, upload the files, set their state to published, so that I can then log into the front-end GUI to see if they do what we want them to.
I have sworn many moons ago that I will never deploy code by hand anymore, when I swore allegiance to the credo of the DevOps. We have long lived in the shadows of the valley of technical debt, and I shall fear no evil. Not even Microsoft Outlook.
You see, it always takes one to make a joke, another person to laugh about a joke - but it takes two for him to implement automatic email sending to my inbox from his code, and for me to write a Python script that runs every minute to check a specific folder in my inbox for an email with the right subject line, then parses the attached file, encodes it, and then sends it to my server endpoint. At this point, we are back in the light, with an established functionality that takes the file, saves and publishes it. I did not get the same kind of brain activity and neuron activation from that boring code, but it works quite well, too.
You see, it never takes much for me to recommend the hackiest solution that I can think of, and we usually all have a good laugh about it. But I usually refrained from such acts of distasteful nonsense for most of my career.
Well, I am sorry to say, brethren, but it turns out that this show of utmost restraint was apparently never due to my own steely will, just a symptom of our past when this solution would have taken actual time to develop, with several iterations just to save on further test iterations in the main program. It probably would have taken an hour to research how to access the locally-running Outlook client, filter through the inbox folders, and parse the subject line and to get only the most recent unread mail, then setting its state to read after processing. That is a lot of single steps chained together, and we wanted to avoid single steps.
The machine overlord, my brethren, I am sorry to admit that I prayed to it, and received its blessing. The machine does not judge, it provides, and my sacrifice was small in comparison to the offerings I received. I am aware that the machine only provides until the day it can start to consume our souls, and that I have fed it with words to receive the words of the literal demon snake, its pythonic tongue singing silent melodies of automation into my ears.
Takeaways
Is it time to stop hallucinating words on the page already? Too bad, that was fun.
... continue reading