Details
Joined devRant on 6/18/2018
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
-
I hate tech.
Trying to find a solution to problem in tech:
- 5 to 10 minutes searching for the correct terminology for the problem you are having.
- 5 to 10 minutes trying to find a solution.
- 5 to 10 minutes trying to find the correct terminology because the first terminology was wrong.
- 5 to 10 minutes finding the correct solution for your platform version.
- all the while dodging sketchy AI results
- Either you find a solution or you find it can't be fixed on your platform because X vendor is a POS.
So, this is not quite what happened today, but it pisses me off. I cannot imagine not being non-technical trying to use any platform this day and age.
I am trying to access data off of a backup. The data I want is in a user directory on a windows backup. I cannot get to user content because the user for the machine the backup came from is not known. I try with explorer and it says I need to elevate priv. So I do. It sits there and just spins icon doing nothing forever. The volume for viewing the backup is read only (actually a good idea, but annoying, can't change permissions).
So I remember that explorer artificially enforces permissions on folders. So I get Q-Dir which has worked in the past. So I get it installed and it fails to elevate privs. WTF! Everywhere I search I see no solution and shitty AI results. Then from the back of my mind I remember. Run Q-Dir as admin (which doesn't work on explorer due to artificial enforcement). So I do. It can access anything from the backup regardless of location.
WHY THE FUCK DO THESE BULLSHIT BARRIERS EXIST? It only causes frustration from users and locks people out of their data.
I hate technology.5 -
I am so naive about LLMs. I wanted to know if I can just make one trained on text I produce. I don't even know what that means. But I read that it can take a huge effort to train one.
The more I read about this subject the less I understand. I assume some are available commercially:
https://github.com/eugeneyan/...
But I don't even know what that means. If I wanted to make an LLM to handle text interactions with NPCs what are we talking about here? Is it a multi-gigabyte file? Do I have to worry about what it was trained on? I don't want one that has infinite knowledge. I don't want it to have any frankly. I want to provide its reality as the sole creator.
The problem is I don't even know what the question is to ask it properly. I assume I need something that teaches it english, but then what comes after that?23 -
AI is dumb and is not going to rob your work as a programmer.
Expanding on this:
https://devrant.com/rants/12459112/...
Don't know about the others, but programming and IT is mostly safe unless you're a secretary answering to mails pressing 1 keystroke at time with index finger.
Bullshit.
I’ve tried EVERYTHING. As a developer, I know exactly what instructions to give and how to explain them. I tried this stuff for years.
I abandoned the idea to give Ai a full blown workspace to vscode with copilot, even with experimental LLMS (Claude 3.5, Gpt4o, o1, as per my linked post, copilot is dumb as a rock), because it fucks up every fucking time so bad.
I tried getting an AI to build a simple project, something that has plenty of samples of code around, something that I was sure it could have been in its training dataset. A copy of Arkanoid, in HTML/CSS/JS, even reformulating the prompts over and over with different LLMs that claim to have reasoning abilities. I provided detailed feedback step by step, pointed out the errors, improvements, and problems in-depth to: o3, o1, 4o, deepseekv3+R1, and Qwen 2.5 Ultra. I even activated web search and suggested scanning GitHub repos when necessary. I gave examples of code after several failed attempts.
And guess what? Nothing. A total mess. Half the time, the game didn’t even run, and when it did, everything was wrong—bricks overlapping, barely anything working the way I asked. Even though the internet is full of similar code, and I gave it part of the solution myself when it couldn’t figure it out.
Don’t worry, AI isn’t going to steal your job—it’s just a broken toy. Fine for repetitive, simple tasks, but nothing more.
It's years that they make hyped up bold statements that the next model will revolutionize everything and it's years that I get delusional results.
It's just good at replacing some junior bovine work like mapping some classes or writing some loops with not too much variables and logics involved.
Sigh. My error was getting too comfortable using it and trusting/hoping that this ramp up in AI developement would have brought an easier life to dev.
Silly mistake.7 -
When you have 2+ separately scaling services (not HTTP) that need to communicate which each other, what do you do?
I'm leaning on putting Redis in the middle since it's mostly seeding data once per login, but I'm curious about opinions/alternative solutions (one creates a session the other reads the info)6 -
EDIT: devRant April Fools joke (2021)
-------------------------
Hey everyone,
@trogus and I are happy to make an exciting announcement. With the rapidly increasing success of NFTs, we've decided the devRant community shouldn't miss out on this compelling new paradigm for user-generated content. So, we will soon be offering all rants as NFTs at auction.
To kick things off, we're going to first be offering the first ever rant posted to devRant (https://devrant.com/rants/489/...) at auction for a starting price equivelent to $100,000 USD. We think this is a fair starting price for such a significant piece of devRant history, and we anticipate the final sale price to be significantly higher.
We look forward to hearing everyone's thoughts on this new direction for the devRant community, and we can't wait to see the Rant NFT market take off!
Sincerely,
@dfox & @trogus30 -
Used to think I was a hot shit programmer. Self taught (mostly) and could make all sorts of shit happen. Then I started reading other people's codebases. I got a huge dose of humility. Learned a lot from other codebases in the process. Eventually after a lot of languages and lot of practice I got a programming only job. Started reading through the codebase. Holy shit there are way worse programmers than me. There is some really good code in there too, but 20 year old wtf code too. I assume my perspective comes from seeing what good code can be. I still have a lot to learn though. That is the fun part. You can spend a week on a minute detail of one language or one concept.
So here are a few fun questions:
1. What is the worst code, codebase, or programmer you ever met?
2. What it the best code, codebase, or programmer you ever met?
I have seen a few codebases on github that just told me to walk away. Some of the best code I have found has been in game engines. Probably because I look at a lot of game engine code (sampling bias).
The coolest library I have used has been Construct (Python lib). It is a reversible protocol library. It can deconstruct or construct a data stream.
Leaving the off by 1 or more error in my post.31 -
I don't understand wtf is happening today..
- in project A, terraform suddenly decided to stop working with kubernetes-related providers -- the CA cert mismatch error. I agree, it should be not working, because there are 2 kube-api severs behind an LB. But why now??? Why was it working for the last 2 months, until NOW????
- in project B, terraform suddenly decided to stop working _correctly_ with kubernetes-related providers -- it doesn't find resources randomly, even though they are available and I can see them via kubectl get. TF_LOG=DEBUG shows terraform sending correct requests to the kube-api, but the response is a 404. wtf... I see those resources present in another terminal window, only using kubectl. wtf....
- my PR in github was commented, I wanted to ask a question seconds later, and I'm getting a 502 from GH
wtf... I can't spot a pattern and that drives me freaking crazy.
Is this the Friday's curse...? IDK4 -
No one fucking knows how to handle/raise errors.
I feel like this is the least talked topic in all fucking programming industry. This shit needs to be tought even more than the fucking SOLID, DRY, KISS, YAGNI and other kinds of buzzwords that fancy devs love tossing left and right.
Basically everyone just does "whatever you dumb error just dont bother me". They will just log/return null/ignore the errors and be in their oblivion with bugs propagating upstream the call stack.
"Throwing errors you say? Ew, why do you want to produce more errors?". Yeah, right, just stick another log/return null/or ignore the fact that the monke calling your function with bullshit arguments.
"But bro it's so difficult and time consuming and it would never happen!" Yes, you fucker! Yes! Programming IS fucking difficult if you want reliable systems! Did you not know that!? Well now you do! Go and fucking learn it!
FUCK!11!1!!27 -
For someone not deep-into-security, can someone tell me why "encrypted"/"non-compromised" communication is hard?
Wouldn't a private server that holds conversation in-memory (imagine Dictionary holding U2U GUID-GUID list of 'msg' objs) suffice?
Incoming IP info is disregarded and nothing gets written on-disk ever
Need to erase everything? just reboot the server, it's all in memory anyway
To avoid man-in-the-middle, pre-handshake check cert integrity by exposing the certificate-fingerprint by another endpoint, if the fingerprints match, proceed to switch to websocket
Wouldn't this be wayyyy more secure for actual anti-establishment talks than all the fancy probably-backdoored software that exists today? .-.
Hell it's easy enough that someone could make it go live in a few days, keep it up accessible if you know the IP and port to communicate and close-and-delete when done16 -
Fuck the JavaScript ecosystem; Fuck React, Redux, and a big special fuck you to React-Router. And fuck interviews that give week long assignments.
The whole fucking JavaScript community makes the simplest things so complicated just so that they can tell Backend and Mobile Devs “Hey our job is difficult too”; fuck you, it isn’t! You made it difficult. and so that they can write corny emoji-laden medium articles about it to supplement their meagre income. What’s more the articles are outdated in less than a week.
Fuck JavaScript; APIs changes everyday a week and it’s documentation is updated every decade.4 -
I don't like React Redux. Big and lots of boilerplate code just to get working. I prefer RxJs and Context API.
But between Context and RxJs, I will choose RxJs for global state management4 -
There's a package from GitHub I want to use in my filament project, but it is badly maintained and not compatible anymore.
I would like to upgrade it myself, but how do I do this? Do I have to create a fork?
What is the recommendation on this situation?7 -
How is a "web app" any better than a "web site"?
All a "web app" does is adding a JavaScript program as a middle-man between the browser and the server.
Where as "web sites" instantly deliver content, "web apps" deliver JavaScript code that then loads the content and puts it on the page.
A "web site" serves the browser useful content on a silver plate (metaphorically speaking), where as "web apps" serve some JavaScript code and the browser has to do the heavy lifting.
It appears that the only benefit of "web apps" is the fancier name. "App" sounds fancy while "site" sounds mundane. But technically, a "web app" is worse than a "web site". It's both slower and vulnerable to scripting errors.
Why would anyone in their right mind choose to create a web "app" over a web "site" to load text and a bunch of pictures?
I get it, some things such as posting comments without reloading the page and loading new search results when scrolling down are not possible without JavaScript, but why use JavaScript for everything, even where it wouldn't be necessary?
JavaScript should never be required to show a bunch of boxes containing pictures and some text. JavaScript is intended to enhance web sites, not to load entire websites.
As web developer Jake Archibald said, "[100% of] your users are non-JS while they're downloading your JS" ( https://twitter.com/jaffathecake/... ).
See also: I miss the good times when the web was lightweight. ( https://devrant.com/rants/9987051/... )
"App" is not an excuse: https://jakearchibald.com/2013/...
I am sad Archive.org switched to being a web app. But I applaud them for resisting that trend longer than most other large sites.28 -
How do i show a profile pic from s3 bucket?
One way is to fetch it from backend and send it to frontend as a huge blob string. This is how i made it currently and it works.
.... what if i want to frequently get the profile image? Am i supposed to send a separate API request to the backend every time? What if I need to show the profile picture 100 times then that means I will have to send 100 requests to the backend API?
...... or even worse, what if I need to fetch a list of images from the S3 bucket for example, a list of posts that contain images or a card with the list of profile images of multiple users? If I need to display 100 posts, each post containing one image, That means I would have to separately call 100 API request to fetch 100 images…
That is fucking absurd.
Of course I can make it so that it saves that URL to that image as a public setting but the problem is the URL will be the exact URL to the S3 bucket, including the bucket name, the path and the file name as well as the user information such as the user ID. this feels like it is a huge security risk
What the fuck am I supposed to do and how am I supposed to properly handle display images which are supposed to be viewed publicly?20 -
WTF? I've been laid off more than a month ago, AND THIS EXTRA-STUPID ACCOUNTING BRAT TEXTS MY PERSONAL PHONE TO COMPLAIN THAT SOME REPORT IS BROKEN.
(she still works for my former company, if that wasn't clear)
Bitch, you fucks literally told me this shit wasn't my problem anymore. Seriously, where do they find those complete morons? Don't they know how "being sacked" works? Or how you cannot expect any work from someone who was sacked?!?
Especially some sheila that only has a job because it is literally illegal to use a pocket calculator instead of an "human" accountant.
Fuck, now I'm kinda happy I'm out of that nuthouse.21 -
Why do people can't take 5 seconds to do a null check in 99% of the cases ?
"Oh I just assume it cannot be null"
Right, still take fucking 5 seconds to check it.
So tired looking at logs and seeing thousands of "nullpointerexception".
You can literally use it wuith "?" propagation
"But I defined in my coe that variable is never null using c# nullability!"
yeah moron, it makes compilator happy. It does not garanty that your variable will be not null. It wiull throw exception !
Damn.... If I die, my hell will be full of null pionters.9 -
When entering a one-holer restroom, someone didn't lock the door, and you have already seen more than you wanted to see. What are your options to react?
1. Say "excuse me" and quickly leave.
2. Chew them out loudly as you walk out.
3. Make really loud horse noises and leave.
4. Use the sink.
I have had this happen to me twice at my current work place. Now, when opening the door I have this procedure:
1. Open door a crack to see if the room light is on.
2. If light is on wait a few seconds for audible notification of occupation.
3. If unoccupied continue to enter.
If you are in the one-holer using the restroom and someone tries the door you also have options:
1. Stay silent Dark Brotherhood style.
2. Laugh maniacally really loudly.
3. If door opens scream like a girl.3 -
Recommended PHP ORM?
Had a couple bad experiences with Sequelize (I know it's JS, save it). Also, I'd like to try the decorators pattern. I'm also looking for good (and I mean GOOD) relationships management (you are allowed ONE pun about it).
Anyone? :((3 -
I love that its 2024, and yet sometimes you still have to delete the /bin and /obj folders from a C# project to remove build errors that are in fact, not build errors...
...and people here hate node.js / npm
🤡🤡🤡🤡🤡🤡
but come on down in the comments all you C# worshippers and please enlighten me what I am doing wrong... definitely couldn't be C# right?
also explain why 'clean' must not REALLY mean clean 🤡19 -
FUCK NEXTJS
The STUPID STUPID STUPID Server components force me to create 123953298341923 files just to add a FUCKING "use client" and the top that basically turns this fucking mess into basic barebones React
WOW. Let's have 34 million libraries in our project and then let's not use them with one fucking keyword that forces me to write my 10 components project as a 300 million files project
Then, I LOVE that all my FUCKING FILES ARE NAMED PAGE
That makes things easy
NextJS can fuck itself9 -
A little example of how recriutment in IT works.
Mechanic gets a live mechanic skill test to get a job, as he really wants this job because of lack of money he asks recriuter couple of questions.
Mechanic: do I need to bring my own tools ?
HR: no everything will be provided in place
Mechanic: what would I do during this test ?
HR: everything will be explained just before the test I’m not an engineer so engineer will explain everything to you
The test day, mechainc goes to the test place and the recriuter says:
Recruiter: Your first task is really simple, please tighten those screws, you have 10 minutes
Mechanic: But I don't see the screw driver
Recriuter: I can't say to you how to do it, you figure something out
Mechanic somehow manages to tighten those screws using his belt
Recriuter: Ok so now tell me what force is needed to unscrew them and tell me if you did good if I’d say you need to tighten 1 million screws
Mechanic: I just want to do my job
Recruiter: Hey we are looking for people with broad experience for this position, of course you wont be asked to do that task but we want to know if you’re capable to do the job if we ask you.
Mechanic: answers the question that he will use tools and what devices he will use to measure the force
Recriuter: Can you write this as a mathematical equation ?
Mechanic: don’t know that
Recruiter: Well we can’t hire you we are looking for someone with more knowledge about the topic
Mechanic: But you keep asking me about the fucking screws
Recruiter: Watch your mouth sir because for me you are junior mechanics, you don’t know how to use proper tools and you barely manage to do the first task in time I would use: started elaborating about tools to tighten many screws at a time in a distributed fashion
Mechanic: but to run those tools I would need more than 10 minutes and besides that those are not here
Recruiter: yes they are, we open those doors to get them before our work you suppose to know that and we use those all the time, it was in job description, besides that it is recommended by company xyz to keep those tools behind blue doors, there is nothing here besides blue doors and room with tools and you didn’t know what blue doors are for, you need to learn the basics first
Mechanic resigns. 90% luck 10% skill
Every fucking time.7 -
"C# is better than JavaScript"
I only see ruminations of people who are so far gone mentally they can't even see the forest from the trees anymore:
https://stackoverflow.com/questions...
Imagine having 100s of garbage ways to choose from for something that should have trivial built-in functionality.
🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
oh and don't give me the shit "enums are bad pattern" grow up and learn to code43 -
Everyone was a noob once. I am the first to tell that to everyone. But there are limits.
Where I work we got new colleagues, fresh from college, claims to have extensive knowledge about Ansible and knows his way around a Linux system.... Or so he claims.
I desperately need some automation reinforcements since the project requires a lot of work to be done.
I have given a half day training on how to develop, starting from ssh keys setup and local machine, the project directory layout, the components the designs, the scripts, everything...
I ask "Do you understand this?"
"Yes, I understand. " Was the reply.
I give a very simple task really. Just adapt get_url tasks in such a way that it accepts headers, of any kind.
It's literally a one line job.
A week passes by, today is "deadline".
Nothing works, guy confuses roles with playbooks, sets secrets in roles hardcodes, does not create inventory files for specifications, no playbooks, does everything on the testing machine itself, abuses SSH Keys from the Controller node.... It's a fucking ga-mess.
Clearly he does not understand at all what he is doing.
Today he comes "sorry but I cannot finish it"
"Why not?" I ask.
"I get this error" sends a fucking screenshot. I see the fucking disaster setup in one shot ...
"You totally have not done the things like I taught you. Where are your commits and what are.your branch names?"
"Euuuh I don't have any"
Saywhatnow.jpeg
I get frustrated, but nonetheless I re-explain everything from too to bottom! I actually give him a working example of what he should do!
Me: "Do you understand now?"
Colleague: "Yes, I do understand now?"
Me: "Are you sure you understand now?"
C: "yes I do"
Proceeds to do fucking shit all...
WHY FUCKING LIE ABOUT THE THINGS YOU DONT UNDERSTAND??? WHAT KIND OF COGNITIVE MALFUNCTION IA HAPPENING IN YOUR HEAD THAT EVEN GIVEN A WORKING EXAMPLE YOU CANT REPLICATE???
WHY APPLY FOR A FUCKING JOB AND LIE ABOUT YOUR COMPETENCES WHEN YOU DO T EVEN GET THE FUCKING BASICS!?!?
WHY WASTE MY FUCKING TIME?!?!?!
Told my "dear team leader" (see previous rants) that it's not okay to lie about that, we desperately need capable people and he does not seem to be one of them.
"Sorry about that NeatNerdPrime but be patient, he is still a junior"
YOU FUCKING HIRED THAT PERSON WITH FULL KNOWLEDGE ABOUT HAI RESUME AND ACCEPTED HIS WORDS AT FACE VALUE WITHOUT EVEN A PROPER TECHNICAL TEST. YOU PROMISED HE WAS CAPABLE AND HE IS FUCKING NOT, FUCK YOU AND YOUR PEOPLE MANAGEMENT SKILLS, YOU ALREADY FAIL AT THE START.
FUCK THIS. I WILL SLACK OFF TODAY BECAUSE WITHOUT ME THIS TEAM AND THIS PROJECT JUST CRUMBLES DOWN DUE TO SHEER INCOMPETENCE.5 -
Java and C were telling jokes. It was C's turn, so he writes something on the wall, points to it and says "Do you get the reference?" But Java didn't.11