Details
Joined devRant on 12/27/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
-
Last year at work we started migrating our backend from PHP on a dedicated server to Node.js on AWS lamda functions
We went from 10 second calls to 70ms calls...
At this point our frontend is not even ready for this kind of speed 😅9 -
Surprise, a "user" maintained repository, is able to host malware, shocker.
https://sensorstechforum.com/arch-l...16 -
Random guy : Well I'm not tracked on the internet, I use private tabs.
Me : Well, I'm not sleeping with your mom, I use condoms10 -
At Job interview.
Interviewer: Where do you see yourself in 10 years?
Me: I see myself as the leader of a raider group, robbing and scavenging together pieces of what is left of the civilization in hopes to build a weapon powerful enough to take the world back from a rogue AI, which I built myself few years earlier.
Interviewer: What!?
Me: What?15 -
Government on crypto currencies
Government - "You could loose all your money"
Government Again - "You could loose all your money"
Government in loop- "You could loose all your money"
News - "Government planning to ban crypto currencies"
-Market crashed
Government - "Told Ya"72 -
Today, I learned the shortest command which will determine if a ping from your machine can reach the Internet:
ping 1.1
This parses as 1.0.0.1, which thanks to Cloudflare, is now the IP address of an Internet-facing machine which responds to ICMP pings.
Oh, you can also use this trick to parse 10.0.0.x from `10.x` or 127.0.0.1 from `127.1`. It's just like IPv6's :: notation, except less explicit.8 -
Well that was a fun call I just had.
Owner of the company I freelance for: Hey I forgot to tell you something.
Me: What?
Owner: I bought you a plane ticket to fly to Puerto Rico. You're heading out in a month.
Me: What?! Why????
Owner: To set up cryptocurency mining rigs.
Me: Just because I know a bit about mining doesn't make me an expert.
Owner: We have $80k in our pocket in investments from outside parties, with another $20-30k on the way. You get 20% of the coins mined for as long as you manage it.
Me: So we're gonna set up several rigs, utilizing a b250 motherboard, g4400 CPU, 8GB of RAM and 10 GPUs each. We'll have AMD rigs for monero and Nvidia rigs for Ethereum and others. We'll use awesome miner for profitability switching on the fly. Each machine is probably going to be $5k each, possibly $4k with bulk discounts. We'll need at least 1500W per rig for power, 2000W to be safe, so we need to make sure we have ample power delivery to the mining warehouse.
Owner: I thought you weren't an expert?
Me: I'm not, but when there's money involved my motivation to Google goes into overdrive.28 -
"Remember that script you made a few years ago? How did you make it work with product x?"
Dude, I can barely remember how I brewed coffee this morning.7 -
I hired a woman for senior quality assurance two weeks ago. Impressive resume, great interview, but I was met with some pseudo-sexist puzzled looks in the dev team.
Meeting today. Boss: "Why is the database cluster not working properly?"
Team devs: "We've tried diagnosing the problem, but we can't really find it. It keeps being under high load."
New QA: "It might have something to do with the way you developers write queries".
She pulls up a bunch of code examples with dozens of joins and orderings on unindexed columns, explains that you shouldn't call queries from within looping constructs, that it's smart to limit the data with constraints and aggregations, hints at where to actually place indexes, how not to drag the whole DB to the frontend and process it in VueJS, etc...
New QA: "I've already put the tasks for refactoring the queries in Asana"
I'm grinning, because finally... finally I'm not alone in my crusade anymore.
Boss: "Yeah but that's just that code quality nonsense Bittersweet always keeps nagging about. Why is the database not working? Can't we just add more thingies to the cluster? That would be easier than rewriting the code, right?"
Dev team: "Yes... yes. We could try a few more of these aws rds db.m4.10xlarge thingies. That will solve it."
QA looks pissed off, stands up: "No. These queries... they touch the database in so many places, and so violently, that it has to go to therapy. That's why it's down. It just can't take the abuse anymore. You could add more little brothers and sisters to the equation, but damn that would be cruel right? Not to mention that therapy isn't exactly cheap!"
Dev team looks annoyed at me. My boss looks even more annoyed at me. "You hired this one?"
I keep grinning, and I nod.
"I might have offered her a permanent contract"45 -
Me: Alright, let's code!
School: Psst. Hey.
Me: What?
School: Remember that assignment from last week?
Me: Oh god please no.
School: Yeah, it's tomorrow. And you have a Geography exam next Monday. You love geography, right?
Me: Please, no, I want to become a programmer, not a--
School: Shush... It's okay. Programming can wait. You want a to get a job, right? What would they say when they see your poor Geography?
Me: That doesn't even... Okay, fine, I'll do it...
* two days later *
Me: Fuck me! Finally! Let's do some coding now.
School: Psst. Hey.16 -
1. See new shiny tech
2. Read install/setup instructions
3. Make Hello World/Todo app by copying codeblocks from documentation
4. Update LinkedIn profile
5. Insist on rewriting entire company ecosystem
Oh wait, thats my horseshit-eating coworker3 -
*Wants to learn a programming language*
*visits Udemy*
*It's costly af*
*Visits youtube*
*Plays learn complete java in 30 min*
*Completed*
*Visits hacker earth*
*Started solving a problem*
-- eternity later--
*Still on same problem*
*Cries in corner*
THE END18 -
Internship number two.
*walks downstairs to get a coffee*
*CTO (my guider) walks in*
CTO: (dead serious face) "linuxxx (not using my first name :P), come with me please"
*walks along to his office, starting to get reallly fucking nervous*
*CTO and me walk into his office, he sits down and looks at me very serious*
*I'm slightly shaking, nervous, sweating*
CTO: "So."
*oh yes here it is its gonna come I did something wrong fuck fml 😫😥😨😩*
CTO: "So you know quite some stiff around security/privacy. Could you tell me some stuff about why I'd want to use VPN and recommend me some good providers? 😀"
😅
*nearly falls onto the ground from relief*
I explained him some stuff and sent him a list of good providers 😀30 -
Reviewed the code of one of my employees and found that comment: Todo: Improve this if thomas complains.5