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
Search - "tsp"
-
Me: PHP, please load the images.
PHP: No.
Me: Come on PHP, the deadline is tonight.
PHP: Haha nope.
Me: What if I swap the libraries?
PHP: Still no.
Me: What if I add a symlink?
PHP: No. And also I hate you.
Me: *gives up and sends an email to the client saying we have to delay the release*
PHP: lololol jk here's the images haha
Me: :/13 -
So I dual booted my pc with Ubuntu a few weeks back. And I came to a conclusion today.
Um, windows needs to go.23 -
Initial steps of learning any new programming language :
*heck yeah I created a calculator. Guess I'll show my family that I actually can code! *
-hey mom, dad look I made a simple calculator using python B)
- uhm... That's great son but dont we already have one of those?
- yeah but like... this is completely different it uses a different programming language than what you and I have been using all this time.
- ah I see. Good for you then
*muttering to each other*
-are you sure he's got the aptitude to be a cse?
-at this point we can just hope.
Me:*stares blindly in my dark room contemplating why I'm alive*7 -
Wanted to make a website with some of my friends about whatever kid thing we were into at the time. None of our parents cared, it was the 90s and nobody took the internet seriously.
Copied and pasted bits of html into notepad and FTPed them to some free webhost over dialup. The website lasted three weeks -- my friends got bored, I got hooked.
A few years later I found myself wondering why some websites used ".php" instead of ".html". I discovered this shiny new thing called PHP 4. Built a website for some video game I was into using it. Spent the next two years teaching myself everything there was to know.
Took programming in high school. Chose CS over mechanical engineering because I liked the university better. Got an internship which turned into a job which turned into a career.1 -
End of second week at a new job. Found what I thought was a bug and wanting to impress I fixed it. The dev reviewing my code had just started a week before me so he also had no idea what was going on. It went live Friday afternoon.
Come back Monday morning and turns out I completely broke everything and nobody could use the site all weekend. I thought I was done for sure. Was shitting myself all day waiting for the call.
TURNS OUT NOBODY EVEN NOTICED4 -
So we're hiring for a new junior dev and for the most part it's been going great! We have some promising candidates and I am so glad to finally have a new dev on the team!
However, I would like to take a moment and offer a few suggestions to the people who wish to work for this great and illustrious company:
PLEASE PLEASE PLEASE APPLY FOR THE JOB USING THE METHOD INDICATED IN THE AD. Please use our fancy, top-of-the-line, whiz-bang, cloud-based "talent acquisition" system that we paid way too much money for. I promise you, it's easy! Please don't send in your application by email, mail, telephone, Facebook, Twitter, Instagram, Snapchat, telegram or carrier pigeon. But most importantly...
FOR THE LOVE OF ALL THAT IS BEAUTIFUL IN THIS WORLD DO NOT SHOW UP AT OUR OFFICE UNANNOUNCED RESUME-IN-HAND. Believe it or not I do have an actual job that I spend my day doing! If I'm not in a meeting or at lunch or working from home, the best possible scenario is that you'll get 30 seconds of awkward small talk and be pointed to our whiz-bang, top-of-the-line "talent acquisition" system which you should have used in the first place (you did read the ad, right?). And at this point whatever you do...
DO NOT DEMAND AN ON-THE-SPOT INTERVIEW WHEN YOU SHOW UP UNANNOUNCED TO OUR OFFICE! Like, really? Do you think that you've wowed me so with your 30 seconds of awkward small talk that clearly I cannot wait to see what you will do with an entire hour? Look, I prepare for my interviews. I research you, your previous employers, your school and the hobbies you list on your resume. I check out your GitHub and LinkedIn. I may even Google your name! If that is all in order, I try to hassle some people into sitting in with me, find a time that works for everyone, and hope that there is a meeting room available. I'm not going to interview you at reception at 4pm on a Friday afternoon.
Please submit your application through our whiz-bang, top-of-the-line online "talent acquisition" system. Once I figure out how to log in, I promise I will spend an evening and read through all your cover letters with the utmost care. If you seem OK, you'll get an interview. There aren't that many developers in this town.7 -
It is once again that time of year when we say farewell to our current interns and say hello to a brand new batch.
The two groups overlap for a few days. During this time the old interns show the new interns the ropes, while the mentors silently weep in the lunchroom having realized that nothing that they've said over the last 12 months has had any effect whatsoever.
Some choice quotes:
---
New Intern: It says 'uncaught exception'.
Old Intern: Oh don't worry that will fix itself on production.
---
OI: Did you pull the code?
NI: Yeah, but I have all these weird brackets everywhere... [merge conflict]
OI: Oh yeah that happens sometimes, just delete them.
---
NI: It says "push to master rejected". [we enforce code reviews]
OI: Ohh that means the server is broken. You should tell someone, they have to reboot it.
---
NI: Where did that file save to? [we use ONLY macOS and Linux]
OI: C:\Users\<your name>\My Documents\...
---
OI: You can use either pgAdmin or MySQL Workbench. I like Workbench better but I couldn't get it to work, it kept giving me errors.
---
And of course...
---
OI: No, we don't use Linux. We use CentOS.
---
I did the math today. Only 35 more years and I can retire.5 -
I have an exam in 4 hours. I've been studying all night and now I can't seem to retain anything.
I'm fuckin screwed.10 -
...when you find yourself circumventing your own security measures that you lectured the entire team about...1
-
After working with a coworker on some odd issues, I finally decided to check on the actual ticket he needed assistance with.
From now on, we will optimize our HTML for aesthetic appeal in Chrome's dev tools. display:none is verboten.
Sometimes I wonder if I've had a stroke or if I've died and am in purgatory. -
If for some reason you decide to write a shim for a VERY COMMON LIBRARY in your project:
1. DON'T
2. If you decide to ignore (1), at least make sure the SHIM WORKS THE SAME WAY AS THE LIBRARY
Two days of debugging sudden untraceable errors led me to find that a .so wasn't copied correctly during maintenance. fml -
Holy fucking crap, think I actually got some productive, positive output from this whole generative AI debacle.
Rather because I skipped the whole Prompt step and used FOMO blabber against itself.
Some context: at my last gig we had a whole "humanware procurement department" (A.K.A. "hiring managers", those fucks who think that javascript and java are the same thing). It was during the pandemic tech hiring boom. At this new joint I'm at, a MUCH smaller company, I gotta do it myself. Boring as fuck but at least I can get some good karma by not making an ass of myself for candidates, and trying to make this whole process a tad less abusive.
I got my reading up to date, and surprisingly enough, "yankee dandy" (HBR) has actually been saying one or two things that are not complete hogwash. For a start, they say that companies have been making their hiring processes overly complex and even after hours of interviews they hardly measure half the skills they actually need, and spend too long talking about many skills that are not actually required for the positions.
"Huh. That sounds like the inneficiencies that the stupid 'AI will make meetings more efficient' industry is overpromising to overturn"
So I tried a new thing. Instead of your off-the-shelf "solve this NP-Hard problem in O(1) then draw this bird using only your nose then invert a binary tree in COBOL then tell me what type of sitcom character are you" crap, I tried grasping how it would be like to work with the candidates. One at a time. Not too long, but not too short talks. I'm not trying to check if a kid really knows how to implement a solution for the TSP in apache spark, or if they know every cipher in TLS 1.3. I just want to know if they can understand a technical request and come to me with a plan on how to solve it without handholding or "just use a really big VM, like, 32Tb of RAM!"
Thus, if I can work with them. That's all. The rest are specific skills that can be trained in time, if the person is willing to learn new stuff.
But that is not good enough for HR, ooooh, no. You "need" an "objective way of measuring their skills", otherwise its "just biased opinions."
But that gave me an idea.
See, our HR VP is someone deep in the whole AI pyramid scheme, who drank the kool-aid and swallowed up even the cup. FOMO is their name. Hype is their business.
I posh'd up my bullshit'ish jargon and went whole "In the advent of new disruptive technologies, strategic skills can be acquired with grit and proper AI prompting. Thus, leveraging our collaborative intelligence capabilities we can hack our challenges and optimize our resources to offer more innovative opportunities and bolster our employer branding" - translation: "shut up and lemme hire someone good and reasonably priced instead of a sleazy smooth talker who wants 100M just to show up and play with chatgpt all day". The whole point is to make it sound like "we're using AI, so it's good" instead of "im doing the work I'm being paid for, so it's old-fashioned"
It seems like the HR troll swallowed it, bait and hook. Maybe all we really needed this whole time is to say the magic word "AI," especially if it makes absolutely no sense in the context. Now I want to get them to sign off on a "AI mindfulness bolstering platform" (a massage chair). Fingers crossed.4 -
Automate this!
I'm an aspiring coder working some chappy administrator job just to pay the bills for now. My boss found out that I may actually be more computer literate than I let on.
Boss: "I want you to make X happen automatically if I click here on this spreadsheet"
Me "X!? That means processing data from 4 different spreadsheets that aren't consistently named and scraping comparison info from the fronted of the Web cms we're using"
Boss: "if you say so.. Can you do it?"
Me: "maybe.. Can I install python?"
Boss: "No..."
Me: "what about node.js or ruby?"
Boss: "no.. I don't know what you're talking about but you're not installing anything, just get it done"
Me: "Errm Ok.."
So here I am now, way over my head loving the fact that I'm unofficially a Dev and coding my first something in Powershell and vb that will be used in business :)
Sucks that I still have to keep my regular work on target whilst doing this though!2 -
Every once in a while I come across a challenge that's actually challenging. Most recently ... "Develop Regex for validating and extracting a recipe's ingredient's quantity"
Regex should properly identify the numbers in each of the following lines:
1 cup of ingredient
Diced 1/2 cup of ingredient
.5 tsp of ingredient
1 1/2 packed cup of ingredient
1.5 cup of Heavy whipping cream
My answer is the first comment in case you want to solve it yourself. I'd love to know what others come up with.5 -
Tries to automate login with vb using I.E...
Gets stuck because login page is a hive of nested iframes with deep nested tags without defined names
FML -
Thought i'd try using VSCode.. initialized folder for git... and then proceeded to delete all my nodeschool work that i'd done over the past year... ARAGH!2
-
It was a liberating feeling when I realized that Quantum Computing is not gonna make my Netflix(or any other) experience better, but probably help solve some difficult computing problems like TSP....3