Details
-
Aboutpython, html
-
Skillsim a coder
Joined devRant on 7/14/2016
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
-
Hey outlook webapp
could you not FUCKING RELOAD WHILE I'M TYPING A LONG E-MAIL
thanks to you I'm now addicted to ctrl+a ctrl+c-ing everything7 -
Today I uttered words I thought I'd never say in my life....
"This is why linux is better"
What the hell is going on in 2020 lmao27 -
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!22 -
Not mine, found this on Reddit, still a good read
========
I work in IT as a lead developer, as in I run the department. One of my team leads is female, let's call her Ripley. She is young, smart, and a great dev.
Today she met with a new customer to discuss a big project. Project management sent a male project manager (Hicks).
It started perfectly with Customer asking Ripley for coffee. He's informed about her status and mutters something like an apology. He is visibly unhappy.
He then proceeds to ask Hicks technical questions despite having been told that Ripley will answer all the technical stuff. Ripley tries to answer questions. Customer ignores Ripley and continues talking to Hicks.
Hicks tells him politely that Ripley is the one to talk to, since he is not a dev and unable to help him. Ripley tries again to explain stuff.
Customer gets angry and demands another developer, since Ripley is "obviously far too young for a project of this complexity". Ripley rolls her eyes and leaves. Not the first time this happens.
Hicks smoothes the waves and tells the customer that the senior lead developer will personally answer all his questions. Customer is satisfied.
I walk in and calmly introduce myself.
The customer - now far less satisfied - was forced to discuss all his questions with yours truly, the 47 year old female IT nerd. I was very professional, friendly, and businesslike, he was visibly uncomfortable and irritated by the situation.
It's petty and stupid, but man, it felt great watching his face fall when I entered. I've been in Ripley's shoes far too often and today I heard 23 old me cheering me on.
Ripley loved it as well. She made sure to smile extra brightly at customer when she walked past the meeting room on her way to the coffee machine.
======
https://reddit.com/r/...18 -
Don't reuse your fixtures!
Each test case should be isolated. Don't ever think just because some function requires a similar input, it's safe to reuse it ALL OVER THE PLACE.
Why? Because someday, you want to change one functionality of one unit.
And you adapt your tests, fix your code, and suddenly, by changing one fixture, you break dozens if not hundreds of unrelated tests and now you have to clean up that mess.
It's even worse for functional tests with all those interwoven parts so that it becomes hard to reason about the scope of your tests when lacking proper documentation.
How I know? BECAUSE I AM CLEANING UP YOUR MESS RIGHT NOW!3 -
A resource-inexpensive tool to create timelapses from your screen
Ever wanted to be able to look back at your time on your computer? Can't bear screencasting for hours? Here you go:
https://github.com/skuzzymiglet/asl9 -
Here’s a poster with a super short description of each one to help you keep track and find some new useful Linux tools.16
-
I'm the biggest dumbass, the laziest procrastinator I know of..
Joined devRant in June 2017, got eligible for the stickers in a week's time, sent a mail requesting them, but never received it. Given the size of our community, I thought I'm way behind in the list and probably receive them in few months. After a year, I totally forgot about it.
But, the colossal stupid that I am, had also lost the key to my mailbox (the physical one). I never cared about the lost key, because who sends post these days !!!
When I finally got a duplicate key for my mailbox after 2 years, guess what I found.. a first class international mail from devRant which arrived on July 2017 🤦♂️🤦♂️🤦♂️, couple of weeks after I originally requested
But, yay... I finally got them..16 -
You guys get promotions?!
I’ve had to quit and find another job for every title and pay bump I’ve ever received... but I’m at a place now where I’m actually learning a ton of shit, my salary is damn decent (compared to all my previous jobs), and I’m having a blast diving in and working on actual projects vs boring as fuck maintenance / helpdesk type work.1 -
TLDR: programming helped with my math weakness
I've always been bad at math. I always failed my math quizzes, and to be honest the only thing that I remember from that time was that I hated it, I didn't want anything to do with it, to hell with functions and formulas and all of that garbage.
Fast forward a couple of years. I just started my masters degree in machine learning and I'm sort of inclined to applications of deep learning in signal processing. Currently I'm writing a fourier transform in raw python and I've never had more fun. I feel like programming has helped me a lot with math, being able to see how each component behaves when you write a function helps a lot! Being able to plot things helps a lot! Not having to imagine mathematical functions as esoteric mystical wonders but being able to split them up into small components and seeing what you're doing wrong HELPS. A. LOT.
Just felt like sharing. I feel like programming has made me a generally smarter person, in regards to how I approach problems and think about stuff.4 -
Me: Hey, my laptop (with stickers on it) is in for repair, can't get any work done.
Friend: Oh, that sucks, we going to be delayed launching our app!
... few days later ...
Friend: Hey, did u get it back yet?
Me: They ended up giving me a brand new one cause they couldn't repair it.
Friend: That's awesome man, you got lucky!
Me: F*@$ that, I LOST MY STICKERS!7 -
Never understood plastering a laptop in stickers. I do have one devRant one though because without the icon, I think it looks slick.3
-
People on stackoverflow are really just the worst. Ok whatever, you have 20 years of experience more than me, and you've written code in dozens of languages. Doesn't grant you being a dick to me and downvote my answer just because it could've been written in 1 line instead of 5.12
-
recently got introduced to this very nice tool called tmux. I'd highly recommend it. Here's a nice read as well.
https://hackernoon.com/a-gentle-int...4 -
Had to create this table tent because mfs just couldn't take a hint. I also have one for when I'm concentrating/deep in code zone.21
-
Python pisses me off. Not the language itself, but setting up the environment. Xkcd nailed this one.7
-
So I just got rejected for a job for being too introverted.
They were very impressed with my advanced and broad technical knowledge but they said I'm "too introverted to hang out with cool, young people". That's ageism and that's illegal. Anyway.
I have more knowledge than most senior specialist devs (I've worked with them and I know them) but just because I'm a reserved and thinking person, I'm not welcome in this society of idiots and I don't get a job.
Two words: fuck society.46 -
Have you ever realised that @dfox and @trogus have most of our addresses because of the swag store?
They know where we all live! They could just come to our houses any time they wanted!
I'm sorry, I just sent them mine so I just realised that 😂10