Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
scor33045yOther teams guy:
"something 's fucky"
Other teams lead:
"sshhhh..
.. You're promoted to customer" -
bahua127085y@scor
Not trying to toot my own horn as much as I'm trying to point out that the guy who wrote the original script was so highly thought of, when his approach was so terrible. -
bahua127085y@magicMirror
It might not be as popular as other languages, but nothing comes close to it in terms of performance and efficiency for parsing text, other than compiled code. -
bahua127085y@K-Hole
I agree. He took the initiative. I'm just surprised that nobody saw anything wrong until I looked at his code.
He's not an idiot, he just doesn't have much idea of or interest in best practices. -
cprn17775ySo... You're too awesome to do your job unless somebody else solves the issue and you get jealous of the fame they gained. How professional.
-
-
I love stuff like this, as someone who loves perl and deals with the existence of python and its many many fanboys, this is great. 👍
Related Rants
A guy on another team who is regarded by non-programmers as a genius wrote a python script that goes out to thousands of our appliances, collects information, compiles it, and presents it in a kinda sorta readable, but completely non-transferable format. It takes about 25 minutes to run, and he runs it himself every morning. He comes in early to run it before his team's standup.
I wanted to use that data for apps I wrote, but his impossible format made that impractical, so I took apart his code, rewrote it in perl, replaced all the outrageous hard-coded root passwords with public keys, and added concurrency features. My script dumps the data into a memory-resident backend, and my filterable, sortable, taggable web "frontend"(very generous nomenclature) presents the data in html, csv, and json. Compared to the genius's 25 minute script that he runs himself in the morning, mine runs in about 45 seconds, and runs automatically in cron every two hours.
Optimized!
rant
wk191
old man code
perl