Ask HN: What is the most useless project you have worked on?
760 pointsLet me give you some context. I work in the pipeline automation department of a company. Last month, our team decided to deprecate an internal tool due to several maintenance issues. So we created a pipeline that automates the implementation of this legacy tool, in case other teams needed to use it. (WHAT???)
This month, a guy in my team found some improvement scenarios in the automation. So I was chosen to implement this changes in this legacy internal tool.
The thing is, after I finished the adjustments, my pull requests are not getting approved due to adjustments meticulously requested by this guy in my team. Adjustments to make the pipeline automation even more resilient in complete unlikely scenarios.
But this same week, my TL sent notices to all the other teams informing them that this internal tool has been deprecated and they should no longer use it. So what sense does it make to have a pipeline automation that implements the use of the deprecated tool? And if it has been deprecated, why would I need to make an adjustment for the automation to be even resilient if no one should be able to use it anymore? So why am I being allocated to work on in such waste of time like it? (WTF???)
This makes me wonder, how many people have to work on something that they see no sense in doing at all.
So once again, if you're feeling useless, remember that I exist.
Comments (767) 248 threads
Earlier commentsthe useless part came about when the company was clearly going down the drain, and the ceo was desperate to find a pivot. he had a friend who was a chip engineer, and said friend had complained to him about how hard and unintuitive EDA tools were to work with. our man gets convinced that the problem is that "these EDA firms hire scientists and mathematicians, but no one who really knows about UI design, unlike CAD companies", and that if we could hook our CAD product up to some open source circuit simulation libraries we could come up with an mvp that would be clearly so much better to use that we could get funded to develop it.
now i usually take the stance of "okay, you're the product guy, tell me what to implement and i'll get it done", but this time i pushed back pretty hard over what a fool's errand this was. but he had his hardware engineer buddy talking into one ear and the "make money fast" shoulder devil talking into the other, and would not listen. so fine, i took a couple of months to play around with CAD fileformat parsers and electronic simulation libraries, got some very basic circuits working and handed over an MVP which of course went precisely nowhere.
First time I was programming in the scripting language, but after reading the docs to grok the syntax and standard library apis and a repl to test out code snippets, I was good to go.
I open the script.
If you've ever transferred a CRLF-delimited text file to a UNIX-like OS and back, you know what I saw.
The script alternated between code and blank lines. Someone had committed the code after some tool somewhere along the way did a CRLF->LFLF->CRLFCRLF roundtrip.
And no one decided to bite the bullet and cleanup the mess.
Sigh.
After spending a couple of days to get the script running on test documents and understanding the code flow, I discovered two things:
1 - a coder had inserted a one minute sleep() call delay into the script (so the script's output could be checked?) That coder committed the change which was rolled out into production!
2 - the script had two large if statements, each several hundreds of lines long. There were a handful of differences in the two if statements - took me at least half a day to confirm that there were only a handful of trivial differences.
I removed the sleep call and refactored the two if statements into two function calls with the few variable arguments required and created one function to handle the functionality of those two large if statements.
I also removed all the extraneous blank lines.
In the end:
- reduced the script's line count by 75% (half the lines were blank, consolidated the two large if statements into one function and invoked the function 2x)
- reduced the runtime by one minute per document processed
The company didn't believe me when I mentioned the sleep() call in the script. I had to open the script on the production box and show them the sleep() call.
I committed my refactored script and got assigned to another project.
One year later, I ask how the new script was doing in production.
The people responsible for the daily monitoring of the document processing say that they're still using the old script.
Oh.
That's nice.
I hope they took out the one minute sleep() call at least.
There are a lot of dead ends in software. You get over it after awhile, just keep coding.
All comments shown.
Couldn't load more comments. Check your connection and try again.