Details
-
LocationWales, UK
Joined devRant on 6/10/2020
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
-
A young guy I work with burst into tears today, I had no idea what happened so I tried to comfort him and ask what was up.
It appears his main client had gone nuts with him because they wanted him to make an internet toolbar (think Ask.com) and he politely informed them toolbars doesn't really exist anymore and it wouldn't work on things like modern browsers or mobile devices.
Being given a polite but honest opinion was obviously something the client wasn't used to and knowing the guy was a young and fairly inexperienced, they started throwing very personal insults and asking him exactly what he knows about things (a lot more than them).
So being the big, bold, handsome senior developer I am, I immediately phoned the client back and told them to either come speak to me face-to-face and apologise to him in person or we'd terminate there contract with immediate effect. They're coming down tomorrow...
So part my rant, part a rant on behalf of a young developer who did nothing wrong and was treated like shit, I think we've all been there.
We'll see how this goes! Who the hell wants a toolbar anyway?!401 -
My Boss: How long will it take to create login and registration page?
Me: 30 seconds.
Boss: You can't be serious.
Me: (Spinned up Laravel, entered comand - php artisan make:auth
Me: (To Boss) It's done.
Boss: What!20 -
Oh boy, the startup managers are writing a roadmap today. Can't wait.
5 mIlLiOn DaIlY aCtIvE uSeRs By EnD oF Q1! (2022!!!)
1 MiLlIoN dAiLy ReVeNuE bY tOmOrRoW!
zErO bUgS aNd KnOwN iSsUeS iN sYsTeM bY 5Pm ToDaY!
tHoUsAnDs Of NeW cUsToMeRs WiThIn ThE nExT hOuR!6 -
I’m happiest about code I deleted.
Deleted code is easy to maintain, easy to read and it makes applications run faster.
Moreover applications take less disk space and are faster to download.
The more happy than about deleted code I’m about deleted software or destroyed computers.3 -
To,
GOOGLE CHROME
F**K U
the sh*ttiest browser ever
Thanking you,
yours faithfully,
annoyed developer8 -
Fuck China.
Fuck the U.S. government.
Fuck the UK and Australia and all the other governments for taking advantage of the crisis of the last two years to get more power and money for their elites.
Fuck them all for starting COVID with their unsanctioned and unethical “gain of function” lab experiments and creating so much chaos that nobody really has a chance anymore at living the life they had dreamed of or so carefully planned for.
Fuck them for the out of control spending and money printing and inflation and even messing around with trying to regulate and tax crypto so we don’t have any kind of escape valve to live a normal, happy life.
Because of them, I can’t even enjoy my time off work. Even if I could plan a vacation that wouldn’t have to be canceled due to an outbreak or resultant supply chain issues, I can’t travel without severe restrictions that make it miserable and not worth the trouble.
Fuck them for making everyone into stupid monkeys fighting over opinions about data that is incomplete, misunderstood, misrepresented, or downright fixed toward a specific pharma-fascist authoritarian outcome.
And fuck them especially for being hypocrites and going to parties and generally not following their own rules they made for us when they think we’re not watching, and then persecuting and prosecuting us when we dare do the same.
Fuck ‘em all. I’m so done.20 -
I’m surrounded by idiots.
I’m continually reminded of that fact, but today I found something that really drives that point home.
Gather ‘round, everybody, it’s story time!
While working on a slow query ticket, I perused the code, finding several causes, and decided to run git blame on the files to see what dummy authored the mental diarrhea currently befouling my screen. As it turns out, the entire feature was written by mister legendary Apple golden boy “Finder’s Keeper” dev himself.
To give you the full scope of this mess, let me start at the frontend and work my way backward.
He wrote a javascript method that tracks whatever row was/is under the mouse in a table and dynamically removes/adds a “.row_selected” class on it. At least the js uses events (jQuery…) instead of a `setTimeout()` so it could be worse. But still, has he never heard of :hover? The function literally does nothing else, and the `selectedRow` var he stores the element reference in isn’t used elsewhere.
This function allows the user to better see the rows in the API Calls table, for which there is a also search feature — the very thing I’m tasked with fixing.
It’s worth noting that above the search feature are two inputs for a date range, with some helpful links like “last week” and “last month” … and “All”. It’s also worth noting that this table is for displaying search results of all the API requests and their responses for a given merchant… this table is enormous.
This search field for this table queries the backend on every character the user types. There’s no debouncing, no submit event, etc., so it triggers on every keystroke. The actual request runs through a layer of abstraction to parse out and log the user-entered date range, figure out where the request came from, and to map out some column names or add additional ones. It also does some hard to follow (and amazingly not injectable) orm condition building. It’s a mess of functional ugly.
The important columns in the table this query ultimately searches are not indexed, despite it only looking for “create_order” records — the largest of twenty-some types in the table. It also uses partial text matching (again: on. every. single. keystroke.) across two varchar(255)s that only ever hold <16 chars — and of which users only ever care about one at a time. After all of this, it filters the results based on some uncommented regexes, and worst of all: instead of fetching only one page’s worth of results like you’d expect, it fetches all of them at once and then discards what isn’t included by the paginator. So not only is this a guaranteed full table scan with partial text matching for every query (over millions to hundreds of millions of records), it’s that same full table scan for every single keystroke while the user types, and all but 25 records (user-selectable) get discarded — and then requeried when the user looks at the next page of results.
What the bloody fucking hell? I’d swear this idiot is an intern, but his code does (amazingly) actually work.
No wonder this search field nearly crashed one of the servers when someone actually tried using it.
Asdfajsdfk.rant fucking moron even when taking down the server hey bob pass me all the paperclips mysql murder terrible code slow query idiot can do no wrong but he’s the golden boy idiots repeatedly murdered mysql in the face21 -
It happened again.
This time my colleague, is abbreviating "cumulative" as "cum" in a variable name, and now I have to control my 6th grade humor...23 -
This is so annoying, I had 9 diff. jobs the past 2 years and this is my 10th and if this doesn't change I might reconsider my options again.
I came to work at a company that pays me like a Junior and treats me as an intern. My 20yo "boss" who acts as a project owner/lead dev doesn't want to learn anything new and sees any improvement as a waste of money. The problem is he thinks hes a great programmer but he doesn't know shit. Im mainly working on the Laravel installation because "I claimed I know Laravel". And its absolute garbage. They haven't used a single Laravel features besides routes and everything else is vanilla PHP. They write for loops that loop through $_REQUEST to remove a single character. Write 100 deep nested ifs and they abuse Elasticsearch to the point ES crashes because the program is using 1000 deep multidimensional arrays. Its only a webshop...
Everytime I try to make a suggestion like making the master branch protected, doing code reviews etc etc I get shut down because they are autistic and don't want anything to change.9 -
Urgh. One key skill that wannabes seem to forget is patience. Patience, patience, patience. Don't panic, don't be lazy, be methodical. This is the way of the analytical computer scientist. Don't panic all over the place or make assumptions..
Some techs..4 -
I was today years old when I figured this.
Whoever named the app and designed the logo is an absolute fucking genius.10 -
What's your worst debugging experience?
I just had it today and yesterday when I tried to connect to an aws postgres rds..... 😭😭😭7 -
Behold the PHP pyramid of doom!
You know what kind of code is coming... a big pile of shite! 😍
Obviously you have to return by reference (&) because of performance and memory reasons. ☝️🤓
Man... I've seen code...22 -
I won't talk shit about frameworks and libraries anymore, tried to make mine myself and it's damn hard, needs to pour a lot of time in the making, a lot of research, etc.5
-
The best thing about being a developer:
- You can work from anywhere anytime.
The worst thing about being a developer:
- You can work from anywhere anytime.7 -
!dev
It's great that people finally start to boycott big tech social media, but I really don't want your brain deprived thought vomit on my mastodon feed.
Guess I'll look into hosting my own instance soonish1 -
our neighbor has very fast Wi-Fi (~200 MBPS) . but, he didn't tell us the password and we don't know where to ask
sis : You said that you are a programmer right?
me : Of course!
sis : So why don't you do your job?
me : Create an app?
sis : No! hack his Wi-Fi
me : *Hacked the Wi-Fi and give her the password*
another day, mom's phone got crazy,
mom: Allen! Come and fix this phone
me : *After looking at the phone*
me : It is the screen saver I installed earlier
but why people think that programmers are "Computer gods" ?15 -
Everytime a rant about a tech problem appears, most of you try to be supporting and helpful in the comments section.
Thank you for beeing nice to people who suffer from work related pain.3 -
'rona virus working from home thug life.
MS Teams, several people including my PM, my company's sales lead, and the top brass from the client.
Sharing my center monitor with some technical documents etc.
A wild messenger message appears from my wife with the contents, "I'm gonna come home for lunch and fuck you sideways."
I'd put the amount of time it took me to mouse up there and flick that thing off the screen at about 900 miliseconds.
How fucked (in addition to sideways) am I?
Tl;dr ~ Fucked my wife. Fucked my life.11 -
WordPress makes me a violent person. I just fucking hate WordPress with all my guts.
Fuck WordPress. F U C K WordPress.5 -
Disabling pasting into a password field in 2020 with password managers, is retarded. That's it that's the rant. Doesn't matter if you think password managers are good or not. Its still retarded that there's a 40 something year old dumbfuck manager who told a web designer at EA to disable pasting into a fucking password field because he was dumb enough to think it stopped hackers or some shit like that.14
-
Out of curiosity for all the front-end web developers, do you normally test to make sure that your websites are accessible to the blind, color-blind etc.. ? (and i'm not just talking about "alt" attributes)
I've been working as a web developer for over 5 years now at several different companies with close to 100 websites and not a single one seemed to have even considered it. The first time it came up was because a client REQUIRED conformance level AA or higher (I had no idea this was even a thing). In my opinion, ensuring that your website is at least somewhat accessible should be an essential step in every project.
If anyone's looking for some tools to make testing easier you can check these out:
- axe - Web Accessibility Testing (chrome extension)
- Accessibility Insights for Web (chrome extension)12 -
Not sure if thats just me, but I absolutely can not stand watching people work on a computer slowly. Like: Watching people copy a text into a different window be like:
Select text with the mouse...
Move mouse down for 20 seconds until everything is selected ..
Right click
Copy
Click on Taskbar to open different program.
Right click in program
Click paste....
I .... just ... can't man.
Its: Ctrl+a, ctrl+c, alt+tab, ctrl+v
(And that is just one example, there are worse ones)
Maybe that just me, but I am so used to using my computer fast, and I optimized the shit out of my workflow.12