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
-
New developers(5-6 years experience) these days are so pathetic. They dont have any sense of code review. All they want is to put their opinion out without giving any thought.
I had a PR for review today which contains mock specification to match a regular expression and return the corresponding response
The regular expression I put was
104000(02|06|20|48)
Now, this guy comes and puts a comment that we could "simplify" as 104000\d{2}
I replied, the ending digits are not contiguous. The specific pair of digits have to match for these mocks.
Then this guy replied, then we could simplify as 104(0{4}(2|6)l0{3}(20|48)).
I said, I cannot understand how that is simplification. Why do we need such a complex regex to match something very straight forward.
And the guy replied, we should be writing proper regexes, otherwise we could just specify everything explicitly.
I was like WTF man. You try deciphering this next week without taking at least a minute to know which values are matched.
Anyhow, another senior person approved my PR, and I merged it.14 -
!dev
There’s this person at $work who never uses punctuation of any kind. She has mental issues and insists on neutral pronouns (and strongly advertises these) so I’ll use the indefinite to pretend to be respectful. It has multiple thoughts while typing a message and just keeps typing through all of them without stopping. It pauses not to collect its thoughts, to edit for clarity or to fix mistakes, to separate anything (including disjoint topics), to summarize, etc. (Though calling these “thoughts” is a huge stretch, given its lack of propensity for that particular subject.) It’s as if it has zero distinction between writing and speaking, and simply lets the mental diarrhea flow while their fingers do their best to keep pace. Reading these trainwrecks of thought — and gleaning any useful information from them — is always difficult and a little bit painful.
It is also in charge of IT security, which is more than a bit worrying. (But I hate the company with a passion, so it doesn’t bother me nearly as much as it otherwise would.)52 -
!dev
You know what? I've had it with this fucking hopped up country, I've been out the army less than a year and, full disclosure, I knew it was bad but what in the skullfuckery is wrong with the U.K?
Absolute retards everywhere, with some of THE MOST piggish, soul destroying and suicide mongering leaders I have ever met (that's a helluva achievement after 5 years in the army).
The amount of illegal immigrants that don't have a word of English or single thing to give this country, other than paediphilia, rape, knives, debt, and idiocy.
Yet the government is anally raping every single British citizen to give every single immigrant better living conditions than 90% of people who are here legally.
The woke-ism that permeates EVERYTHING is beyond a joke now too. When the hell did basic life become so convoluted, "offensive" and "scary" that primary schools have drag queens coming in to read, sex ed classes that teach shit like sex changes, transitioning, bending to everyone's will, and to be punished for asking questions?
It feels like there's a crushing weight on my chest 24/7 and I can't even speak about it because now free speech can get you demonized , ostracized, and even locked up!
It's okay though, you won't be locked up with any rapists, paedophiles, thieves, or SA's because they're all back on the streets to make space for anyone who dares have a voice.
Every time I talk to people now I feel violent and full of rage. Some of the time it's not even their fault, I'm just being chipped away at. CONSTANTLY.
I'm genuinely scared I'm going to lose my shit and break someone's neck, or my own.
DISCLAIMER: I know other countries have issues waaaay outweighing the UK's, and I'm not minifying them.
ANOTHER DISCLAIMER: as is the way, someone is most likely going to be offended by this post. Scroll the fuck on if that's the case. I'm human too and I need to vent. And this feels like the last safe space I can.52 -
I’m so sick and tired of the cattle-minded people in the software world. I love coding and improving myself; I've got over 18 years of experience. I enjoy what I do, and I like being good at it. I know my way around a variety of different technologies, and I could easily outperform most engineers with similar experience. If I don’t know something, I get excited to learn and I ask questions. I don’t enjoy standing in the spotlight about what I know; I prefer supporting, helping, solving problems, improving solutions, and simplifying everything.
From my experience, the best solution is the simplest, shortest, fastest, and leanest one. But unfortunately, there are people in the workplace who think the opposite of me and blindly follow this so-called prophet named Uncle Bob, zealously writing all his SOLID principles and dogmatic code, turning their work environments into a toxic mess. I’m so done with it. You have no idea how harmful a person can be when they cling to the teachings of a guy like Uncle Bob—someone who probably hasn't even written the "s" in software himself and is just trying to sell his book. In almost every job or team I join, there’s one of these people who drags junior developers into writing dogmatic code by chanting about SOLID principles, Uncle Bob, and object-oriented programming.
Software engineering isn’t something you can learn from a book written by people like Uncle Bob, who haven’t coded a decent product in a real development process. Experience is something entirely different, and from my experience, everything taken to extremes turns out badly. Wherever I see an Uncle Bob disciple, the work inevitably slides into the extremes. For someone writing in C and C++, it’s disheartening to hear about object-oriented programming, SOLID principles, and agile nonsense. I’m tired of seeing people cluttering their code with interfaces for every little thing, over-engineering patterns, and stuffing every piece of code with interfaces to make it “testable.” They run around claiming they’re writing SOLID code, doing TDD, following “best practices,” yet they can't solve any real problems or algorithms. They take a week-long task and drag it out to six, making simple things complex and distancing themselves from real solutions. I’m sick of these types.
If you’re a junior developer, please ignore the fools trying to lead you down this path, and don’t become dogmatic about what you learn, especially if you’re writing C++.
I’ve never seen any real engineer who takes this SOLID, object-oriented nonsense seriously. Believe me, once you reach a certain threshold, you won’t hear these words anymore. Software isn’t just about that. Object-oriented programming, especially if you’re not writing Java or C#, and especially if you’re working in C++ (thankfully, C doesn’t even have it), is something you should definitely steer clear of. Robert C. Martin, aka Uncle Bob—if only you had written your book with a focus on Java or C#. These dogmatic code writers with 7-8 years of experience crying at the sight of free functions in C++ really give me a headache. Because of you, these people exist, and I don’t have the energy to deal with this nonsense at my age.rant agile uncle bob object oriented solid c dogmatic code oop solid principles c++ tdd robert.c martin8 -
Some caffeine fueled morning passion...
Social media platforms getting away with suspensions and all other manner of 'social punishment' has to be the highest level authoritarianism has ever reached in its entire history. Social Media platforms, have it seems, become a side gig for tyrants and the excuses don't cut it with people anymore.
It's hard to believe that "we the people" allow companies to govern over entire populations of people, much larger than some of the most democratic and free countries on the planet with an iron fist.
The enforcement of community standards for breaking arbitrary rules that wouldn't make it to a solicitors desk is extraordinary in the extreme. If it's not a credible threat or illegal, then it's obvious an intention behind the punishment is conditioning.
And this is what authoritarian regimes have done throughout history.14 -
A company weekend in a homestead with a bathhouse and a cold pond.
After a good bathing [~x6 cycles] I'm in my bedroom [left the party early, really want to enjoy the calm and silence]. I thought it would be a good idea to charge my ITware overnight.
Apparently there's only 1 wall socket in the room. And now I have to choose: whether I want an electric heater to basically stay alive until the morning, or a full phone and lappy battery in the morning...
I made the choice2 -
Windows is becoming dumber by the day.
Effectively each patch lessens it effectiveness and dishonors all the hours of work we put in.
It has digital dementia and does not even give a crap about it, because it's in the so very late phases of degenerating that it doesn't even notice anymore.
Today I learned that, Apps you uninstall now still appear in your Startmenu. When you reinstall them, you most likely will have two entries, both look the same. You have to have luck to guess-click the right one and eventually your application will open. But a click onto the other (identical) entry will do nothing. You tend to wait a few seconds, though, because you know windows and how fucked up everything is so you give it some time, only to then be pissed because nothing happens and this repeats over and over again with no solution other than you deleting some cryptic entries in the windows registry, which is not recommended and can lead to system instability.
Truly, I hate the OS and software development of the last two decades so very much that you almost cannot imagine...rant digital dementia tumorous os degeneration hate windows software development gone wrong inconsistencies crap enslavement of humanity disgust cancer os3 -
Bought Logitech gaming mouse. They are doing everything they can to try and get you to get an account. However, it is not yet required. I stopped using Razer devices because of them requiring an account. I hope Logitech doesn't end up there. It seems like every company is going to shit. So for now Logitech isn't a bunch of shits. If they had required an account I would return the gaming mouse. I don't need that noise.
What I really want though is a framework that works with all vendors for added functionality. An extended feature framework.
What does the extended features for gaming mice and keyboards look like under Linux?32 -
well now that I put my wallet through the wash and these "very important" vaccine passport cards were in there that disintegrated (also by the way the email with the digital vaccine cards they sent me doesn't have a PDF attachment but has a link to a PDF file -- that is now 404! whatcha trying to hide, fuckers?). evidently fake vaccine passport creation is the only sort of fraud the Quebec government cares about, since there was a news story recently how the council for discovering fraud is just 95% faking vaccine cards fraud (kicker I've never heard of this council, seems they've only been active in the post covid era), nevermind that that shit fucked me up and I've had dementia at 30 for 3 years now, with my body having self heating / metabolism issues, pink blood or clots showing up everywhere issues, a fucking purple toe (actually I would just randomly turn purple on and off, and once yellow! I'm sure my liver is fine), numbness in my left side, hands, feet, mania / feeling like you're dying... but anyway it's all in your head and fuck off stop calling 911
I decided I would take a photo of the papers (since they're so important and came at such a cost!) and evidently now my camera app crashes anytime I try to take a photo. rebooted. somehow my photo viewer app updated with a reboot but the camera app is still busted.
I think this is a sign I should root my phone
but I'm already doing 4 things right now. on top of being reminded of my fucking medical trauma making this post RN I guess
fuk24 -
Much as I hate to say it, I'm finding chatgpt useful. Not for writing code. But I can recognise where my colleagues are making mistakes. I don't necessarily know what the mistake is, but I give gpt a description of what they're doing wrong and it can say what the problem is and that gives me something to Google. Searching directly for the description doesn't work too well. Also makes me wonder if search has got worse outside of specific keyword matching.13
-
bruh what the hell
I've had my doors and windows closed for weeks cuz I've been cleaning and running an air filter for all the dust
and just now I was laying in bed with a headache for 4 hours and I heard a buzzing noise. well that's not a fly. got up and got my glasses and it's a fucking hornet. how the fuck did it get in here. it's fucking October. if it was outside it would be immediately dead due to the cold
I just want less problems, not more, one of these days
now how am I supposed to get rid of this thing. I don't know if I'm allergic to bee stings, but the black mould I found the other day knocked me out with my immune issues... well I'm still recovering 5 days later rn. so anything immune activating is fucking risky5 -
Did you know that "Bazmd" is an Indian name? I use it because it's an abbreviation of my real name. (Yep! Dr Baz).
It's just a coincidence, I used to wonder why algorithms would infer that I was Indian.
The algorithm: "Here I am with a brain the size of a planet and they ask me to pick up a piece of paper. Call that job satisfaction? I don't.".9 -
@retoor you wanted something IT related.
"During the early stages of the war, the army gave sweeping approval for officers to adopt Lavender’s kill lists, with no requirement to thoroughly check why the machine made those choices or to examine the raw intelligence data on which they were based. One source stated that human personnel often served only as a “rubber stamp” for the machine’s decisions, adding that, normally, they would personally devote only about “20 seconds” to each target before authorizing a bombing — just to make sure the Lavender-marked target is male. This was despite knowing that the system makes what are regarded as “errors” in approximately 10 percent of cases, and is known to occasionally mark individuals who have merely a loose connection to militant groups, or no connection at all."11 -
do people not understand achievements unless you brag about them =-=
been asking AI on different examples of flexing and all of them sound like vapid LinkedIn posts
"just asked AI a question that's been bugging me for hours! it's such a nothing to have no answers still! 🎉"
one of my favourite examples: "accidentally set my kitchen on fire while trying to impress my friends with my cooking skills. but hey, I now know how to order takeout like a pro. win?"
lol what
I now wonder if I'm depressed cuz graduating school or finishing projects or... uhh ordering food? just sounds stupid to me
rewrote my code from hashset to hashmap. actually kind of re-organized some data types. brain is fog because fuck you. but everything ran so I guess rust thinks it's ok. I'm just annoyed by all that though cuz I just wish I didn't have to do it in the first place
TF is there to brag about
also if you brag about anything good everyone just wants to steal it from you
WHAT IS THE PURPOSE OF BRAGGING13 -
It just hit me. If you wanna achieve something great you have to dream big. If you aim for something humble, you'll just get lost in the endless land of diminishing returns where you take forever to make little progress
If you aim high, you are naturally inclined to do big strides since you feel that there is still so much left to be done
Just a thought I had working on my engine3 -
I actively job hunted for close to a year without success. Now I have two offers in addition to my existing position, and that, without even having to apply for either. Knowing I can't combine all three, I've turned one down cuz it offers the least compensation for the most work but the guy is insisting he "wants my skin in the game". I know he's not stupid and obviously knows nobody else would be sympathetic to such peanuts
But it's not as though my life took a dramatic turnaround after months of turmoil. All three opportunities are still within the same meagre region, albeit with minor improvements. I do NOT feel grateful because the circumstance of one of the new offers is such that I'm still tied to my old buddies apron strings. Not only did I stagnate but I've got them paying my salary now. They rub it in by telling me I might get a car in two years time if I join them now, and how many properties they've acquired in our time apart
It sucks how little headway I've made in their absence, and how much harder I have to work to have any hope of earning close to their monthly wages2 -
Wherein I disprove Goldbachs Conjecture (in one specific case)
golbach conjecture:
every even number is the sum of two primes
lets call the primes p and q
lets call our even number p+q=n
we can go further by establishing two additional variables
u=p-1, v=q-1
therefore every even number is the sum of u+v+2, according to goldbach's own reasoning.
in the simplest case...
p=2, q=2, p+q=4
u=1, v=1, u+v+2 = 4
We can therefore make a further conjecture in the simplest case every sum of two primes, less 2, is the sum of two composites. This likely has connections to the abc conjecture for a variety of reasons. But leaving ancillary discussion aside for a moment...
We can generalize to a statement that every even number is the sum of two odd numbers. And every odd number greater than 1 is the sum of an odd number and an even number.
Finding an even number that is not the sum of (p-1)+(q-1) would therefore be equivalent to disproving the goldbach conjecture. Likewise proving every even number is the sum of (p-1)+(q-1) would be the equivalent of proving it.
Proving all even numbers greater than 2 are the sum of two composites + 2 would be proof of goldbachs conjecture, and finding any example or an equation that proves an example exists such that *some* subset of even numbers are NOT the sum of two composites +2, would disprove the conjecture.
Lets start with a simple example:
2+2=4
because 4-2=2, and two is not the sum of two composite numbers goldbachs conjecture must ipso facto be false.
QED
If I've wildly misapprehended the math, please, somebody who is better at it, correct me.
Honestly if this is actually anything, I'd be floored to discover no one has stumbled on this line of reasoning before.8 -
You know how I always """joke""" about smoking crack cocaine being the secret to my success?
Well, guess what. Some famous brit flower boy singer or some shit was staying at a hotel a mere 20 or so minute bus ride away from where I live.
What happens then is, of course, that brain fissure mother fucker got higher than shit on that damn crack and jumped to his death. Coincidence? I don't think so. I mean, what are the odds?
He was trying to copy my formula, no doubt about that. And obviously, he failed.
But I still feel this is very unfair -- to me. Not only did he plagiarize without recognition, I now also may or may not have to deal with the inevitable shrine that will be built by his fans on the spot where he met his unfortunate end, to gather around and ritually incinerate hardcore drugs in his honor, leaving behind crackpipes for him to smoke in heaven and that kind of commemorative jazz. Hmm, it might boost turism though, so it's not all bad.
Imagine the tour guide, maan. "Oh, and this is the spot where that guy from some dumbass boyband splattered against the ground after trying to beat Max Wright at his own game, RIP and please sir don't defecate on the plaque SIR DO N-- well, nevermind. OK, moving on... "
Anyway, I just wanted to publicize the fact that I didn't even know who the fuck he was until his untimely demise, may God have mercy on him, but it serves him right for trying to steal my arcane secrets.2 -
I think I've asked this before. Just cropped up again cuz I'm pushed to do some stuff in nextjs
I Wonder how much longer before js framework devs realise they've been reverse engineering the browser this whole time, that the current browser spec was outdated since the dawn of Web fidelity and real time applications
I wonder whether there are some guys who have seen this and are already cooking in the background. The browser still treats the Internet like front end and back end, whereas with the way apps are going (eg deprecation of the front/back end roles), it seems apparent the browser needs to scale up by fading whatever js is now
I'm seeing "use server", which was one of php's infamous atrocities back in the day (lack of separation of concerns, everything in index.php). It's shocking how those who ridicule that language let this fly, but that's probably a separate thread. Point is, a bunch of these stuff done by front end frameworks seem like boilerplate but the syntax is far different from what I remember javaScript to be. I only vaguely recollect and understand what I'm reading
Why not merge all the cryptic syntaxes struggling to achieve bare minimal expectations, into advanced markup language controlled by dom attributes? Overhaul and Rethink client - server communication to fit modern standard. Someone needs to step out of the box and take a good look at the rat race. I find our lives would be made much simpler if api integration into client side behaviour wasn't a separate thing altogether
You have all these funny hoops and precarious bridges to cross. The reality is what we're fighting to overcome is the manner the architecture is setup. We need a Google/meta/amazon/apple to step in with a new browser since it's not a weekend gig and might need their reach to catch on with mainstream users. Sadly, they're the same guys rolling out new js frameworks4 -
yOu kNow wHat? i'Ve hAd iT wiTh tHis fUckiNg hoPpeD uP coUntRy, i'Ve bEen oUt tHe aRmy lEss tHan a yEaR aNd, fuLl dIsclOsurE, i kNew iT wAs bAd bUt wHat iN tHe sKullfUckeRy iS wrOng wIth tHe u.k?
abSolUte rEtarDs eVErYwhEre, wIth sOme oF tHe mOst pIggIsh, sOul dEstrOyiNg aNd sUiCide mOngErinG lEaders i hAve eVer mEt (thAt's a hElluVa aChievemEnt aFteR 5 yEaRs iN tHe aRmy).
thE aMouNt oF iLleGal iMmiGranTs tHat dOn't hAve a wOrd oF eNgliSh oR siNgle tHiNg tO gIve tHis cOuntRy, oTheR tHan pAediPhilia, rApe, kNiveS, dEbt, aNd iDiocy.
yEt tHe gOveRnmeNt iS anAlly rApiNg eVerY siNgle bRitIsh cItizEn tO gIve eVerY siNgle iMmiGranT bEttEr lIviNg cOndItioNs tHan 90% oF pEople wHo aRe hEre lEgallY.
thE wOke-iSm tHat pErmEateS eVerYthiNg iS bEyonD a jOke nOw tOo. wHen tHe hEll dId bAsiC lIfe bEcomE sO coNvOlutEd, "ofFenSive" aNd "scaRy" tHat pRimaRy sChoOls hAve dRag qUeeNs cOmiNg iN tO rEad, sEx eD claSses tHat tEach sHit lIke sEx cHanGes, tRanSiTionIng, bEndiNg tO eVerYone's wIll, aNd tO bE pUnisHed fOr aSking qUesTions?
it fEels lIke tHerE's a cRusHing wEighT oN mY chEst 24/7 aNd i cAn't eVen sPeak aBouT iT bEcaUse nOw frEe sPeech cAn gEt yOu dEmonIzed, oStrAcized, aNd eVen lOckEd uP!
it'S oKay tHougH, yOu wOn't bE lOckEd uP wIth aNy rApiSts, pAediPhileS, thieVes, oR sA's bEcauSe tHey're aLl bAck oN tHe sTreeTs tO mAke sPacE fOr aNyOne wHo dAreS hAve a vOice.
evEry tIme i tAlk tO pEoplE nOw i fEel vIolent aNd fuLl oF rAge. sOme oF tHe tIme iT's nOt eVen tHeIr fAult, i'M jUst bEing cHippEd aWay aT. coNstAntly.
i'M gEnuiNelY scAred i'M gOing tO lOse mY sHit aNd bReak sOmeone's nEck, oR mY oWn."2 -