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
Feed
All
Post Types
- Rants
- Jokes/Memes
- Questions
- Collabs
- devRant
- Random
- Undefined
Cancel
All
-
I made a very obvious realization since the last time I rewrote Orchid; the 3 year project that has now become an eloquent documentation of my learning process; Types aren't free. Sure they're free at runtime, in fact the more you have the less the language has to work to separate values, but they generate significant cognitive load.
Oftentimes it's better to have one enum with 12 variants 3 of which are specific to a narrow case to be able to define operations for this enum once, than it is to have 3 distinct enums of 10, 11 and 8 variants respectively, and to have to define common operations (or the dispatch part anyway) thrice.
As for my previous observations about catchall abort acting like the new type abort, I still think that, and I still think that this is only justifiable if the number of invalid variants is low enough in every case that you can list all of them before the abort.4 -
in contrary to what you guys might think about me, I am way too fucking good person for this world. Even the boss of the company out of my city that I worked in last week when we met the first time told me that I am a good person and that is very dangerous in today’s world, especially because of people like him. Whatever that means9
-
Hey guys, you won't believe what happaned to me, I left my laptop open in a hacker coffee shop and went to take a piss, and when I returned I fou d out that someone stole all my crypto CockRingCoin 😭😭 I lost a million and a half Shekels but then remembered my brother has a cousin who knows a lawyer who's wife is a friend with a wolf who knows a real matrix hacker who can hack CIA using only his toes, I contacted him and you wouldn't believe it but he got all of my cock coins back to me, I don't know what I would've done without him. If anybody needs help recovering crypto I can more than reccomend my dear holy saviour LeHackerCockSucker
WhatsApp: +972-50-EATMYASS-0
Email: ciahacker@cock.gov
But then as I was happily looking at my crypto returned I notice a few payments I don't rwmember making, turns out, my wife was cheating on me! And using my crypto to buy her lover stuff!
So I contacted the afformentioned lawyer who's a friend of the cousin that my brother has, and he helped me file for divorce and punish my cheating wife, for anybody needing a marriage lawyer:
WhatsApp: +972-54-DeliciousPussy-6
Email: eatmypussy@lawyers.porn
I am now happily married with the wolf who's the friend of the lawyer's wife and he fucks me in the ass every night. If you want a good life like mine you know who to call.6 -
fuck this shit
who deployes 200 lines of js lambda functions with Zero comments or description
also they using variables not even initilized
it feels like some1 just c/p GPT code6 -
C is love, C is life.
Great language.
I genuinely don't get why so many people are struggling with pointers, considering it's a pretty straightforward concept. I understand that they can be complex in simplicity, but the concept itself is much easier to understand than say, references in OOP languages(despite being the same thing under the hood).
I mean it's just a number like any other number, except that number is treated as a memory address, and the star(* - dereference operator) just takes a value, goes to the memory address that is the value, and takes a value from there.
I feel like most explanations and tutorials just try to over complicate it for no reason.27 -
Brand new day, time to have a new mindset.
I need to finish the big project for the big boss, and fix things with my wife. Wish me luck fellas
Thinking of shaving my beard to remind my wife of when we first met so she will be tricked into loving me for the time being.6 -
Yesterday I had a user reachout via email because his account became inaccessible when he updated it.
This was something I didn't realize could happen... so it was fun recreating this scenario locally.
Basically he somehow bypassed the lowercase requirement for the updateUsername endpoint. So in the DB, his name was uppercase. And the SQL query was searching for his exact username without doing LIKE (by design).
It was failing on that getProfile endpoint and showing a Whoops screen. 😬 Should be a 404 screen, I know. I'm working on it.
Since then, I added Sentry logging to the backend and frontend.
And this showed me there were endpoints still being triggered nightly to remove stale data. (I forgot to remove). And these endpoints were getting 401's. I'm thinking who TF is triggering these endpoints. I soon realized those specific endpoints needed keys that expired monthly. 🤦♂️ -
https://annehelen.substack.com/p/...
This article is a rationalization of the passion people put in their work at the workplace.
Im not that good at shitposting,i prefer to rationalize things and form solutions.
Like one solution is to find other sources of income besides work.3 -
I sent a recruiter my CV as a PDF file. They replied that they need it as a Word document. They must be joking, right? I always use my website's reader view to generate an updated CV by saving it as a PDF which contains text and images in accessible format. So it can't be hard to convert to Word?
I just installed Microsoft Edge on Linux, because I heard that Edge can save websites as Word documents. It can't. At least not on Linux, using the print or the save as dialog.
I don't even know what to tag this rant. Those people must be making fun of me. What are they supposed to do with a fucking Microsoft Word document? Make sure that the layout gets broken and the content truncated when forwarding it internally?9 -
i never cheated but due to unprovoked betrayal, i understand why people cheat. If i cheat now i wouldnt feel bad at all. If i find another innocent person and break their heart i wouldnt care. Because nobody felt bad or cared when it happened to me. This vicious cycle of evil then spreads like a virus to other innocent people, turning them into a victim, and then in 99% cases it molds them into an evil person, who continues to spread the same evil.
This is how it all starts. This is why the society today is fucked.
all of this suffering
because of 1 born-evil person.22 -
I offered a girl sex to cycle to the supermarket and get a pizza. She offered the same to me. Apparently we're both whores and nobody is getting sex or pizza. What an outcome14
-
Realtors are fucking goons.You find something online to rent. You call them to have a look around. Nah you need to fill out the online form for that. Same person responds in an Email: "You need to contact the current tenant under xxxxx for a visit" The online ad and that would be atleast 5k. Good luck ever making that back with someone who moves again in like 8 months. Thank god I dont have any real estate! Can't afford it anyways.2
-
Does anyone else here have coding-fatigue?
Like if someone gives me a problem (BIG or small), I can chalk out an architecture or "oh you can use this-n-this-n-this"
But if you ask me to code it, though it's easy as fuck, I dont want to and will drag it until I gush 2 coffees to force myself to do it.
You give me a junior dev who knows NOTHING and does the typing and I can guide him and make him do it all, but by myself? nah
PS: this only applies to work-code that isnt "fun" per-se. My own projects? no issues at all12 -
Has modern day development become all rabbit holes all the time?
Seems that way to me. Tired of it.2 -
little did they know, skynet and matrix weren't exterminating and exploiting humans by an accident of logic, but were deliberately programmed by people to do so, as a joke
-
I love the goddamned app. You all seem like lovely individuals with a large dose of sweet developer attitude. Reading some of these posts definitely made my tired ass chuckle.
Just got off a call with my wife, she might join the site too at this rate. Glad to be in a relationship with another dev who really caches my heart like this.6 -
Fuck, today was a total shitshow. Every damn line of code I touched seemed to blow up in my face. Fucking bugs popping up left and right, and the deadline looming over my head like a goddamn guillotine. Today my wife mentioned divorce over dinner.8