Joined devRant on 8/1/2019
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
And this is why I will never be a person to setup cables in a datacenter.
I can't even manage properlyt cables in my own PC.
(Yes, I also wanted to share pic of my PC)7
This is a yearly(Yeah won't post it more than once a year) reminder that your APIs are full of shit !
This was a service message from Service canada , looking our for your future ! Next message will be on 2024-09-07.
I slowly relise that "modrn" developpers don't know a minimal things about programming (yes, i'm using "programming" instead of "evelopping")
They copy paste shit, it works. They resolve some problems it works.
But... They have have ZERO understading of what they are doing.
Just couple of days, got a discution with a person who is "Blazor expert". who will be paied 200$ / hour to find problem in current implementation. I KNOW there are problems because couple of them I introduced my self.
We at server side. I provided test logins, plus 10 page document explaining infrastracture.
One of his first question in interview : "Oh. I cannot see ajax calls in network in chrome".
WTF DUDE ? Do you even understand how server side blazor works ?!
Welp, he is hired. FOrt 120 hours.
I' want to see what he will present, as it's clear as day he doesn't know a thing about server side blazor architecture.9
<meta http-equiv="Content-Security-Policy" content="default-src 'self';">
Company just lost a big contract because thier dumb software didn't find this tag and classified security as "F"..... It was the ONLY find in thier dumb report.2
First worl problem.
There is only 1 10Gbits port on router. I'm already using it (Usage never exceeds 3.5 Gbits).
I wanto to add second device, also in 10 GBits.
Hub or Switch ?
On the one hand, my fiber max out at 3.5 Gbits.
On the other hand, I might want full 10 Gbitrs for Pc to PC communication.
Do I need 10 ? 99% : NO. But there is this 1% when everything is so fast !14
c# AutoMapper is SOSO good.. On paper...
Once you start using and thre is couple of levels of inheritance involved, it turns to shit.
Searched for fucking 5 hours a problem... Only to find "Oh yeah in this case you need to manually map properties"
JsonConvert.Deserialize(JsonConvert.Serialize(myShit)) it is5
How long is the "longest" EF core context you've seen ?
Without any additional methods.
Just DbSets and OnModelCreating.
Mine is 1338 code lines right now6
Anyone who says 'Docker is easy" should burn in hell.
Sure, It took me 5 minutes to run my project in docker container
Took another 25 to run multipl;e comntainers via compose
Now, 3 hours later, can't run compose from multiple Visual Studio solutions. Says "Pull failed"
No doc. No examples. No nothing.
I'll try for another hour or so, if not, fuck that docker shit. I'll go to Service fabric.17
That's it. I'm inventing a new position :
Why do people ask me "Hey, visual studio has a pop up saying I'm missing a .net4.6 framework. What should I do ?"
Or "Hey powershell says script execution is disabled, what should I do ?"
Google motherfucker, do you use it ?!4
Wanted to create a windows 11 install USB
Dumb tool reformated a 512 GB key to have ... 32GB partion. Apparently it is a maximum supported for Win 11 install
I have 2695 unit tests in current project.
Most of them are useless but you still need to maitain them....10
I finally did it ! Bought a 10 Gbits network card.
(You can search prev rants on it. My internet connexion became almost unlimited and I felt that 2300 Mbits were bottlenecked by 2.5 Gbits card).
And yes, I have more speed now !!!!
Do I need it ? Nop.
But as long as my line stays in this "unlimited" mode, I want to use it !
3200 Mbits !!! Ping goes to 2 instead of 1 tho. With "old" 2.5 Gbits card I always had 1.
Edit : Added screenshot for lazy people7
I knew I wasn't very good at SQL, but here is a proof.
Need to make a bulk recalculation action. Basiclly precalculate some values in a separate table to speed up acess.
1 day of work : Fully SQL solution with triggers.
Execute for test : 35 minuts !! for
Me : fuck that
Today : 7 lines c# solution (Took me less than 2 hours) . Same database, saame data set : 10 seconds execution.
Well, I guewss I'll never try again fully SQL solutions lol7
Devops (By Azure) is so stupid.... (I won';t even start of YAML, it will be a 10pages rant).
me : Ok I have 5 projects, each has it's own Azure conexxion for deploy.
Me : Can I do just ONE shared connexion ?
Devops : Yes. You need to click 150 buttons and it's done !
Me : Ok. /* doing actions */
Me : Ok ready !
Me : Project 1 do your release pipeline !
project 1 : Sure, just wait 5 minutes.
5 minutes later
Project 1 : All good.
Me :Ok now sharing test ! Project 2 : do your pipeline !Project 2 : Sure ! It's strated !
Me : Ok I'll go take a beer
... 1 hour later..
Me : project 2 ? PROJECT 2??!!!
Me : fine... going into logs.
Message : You must accept the shared conexion from Project 1 before pipeline can run
Me : WTF ? I literally just SHARED it to project 2,3,4,5 !!!
Why that idiot check ?!
I think I hit the maximum limit of Internet conexion with only 2.5 Gb card.
10 Gbits are a bit expensive :)
I think now it's my network what limits connexion, not ISP12
After more than 24 years in dev, I still don't use RegEx and I have no idea how to write one without using an online builder.
I also refuse any Pull requests contaning regEx..24
Was thinbking about a frequentlly asked feature in app since December 2022.
Solution cam to me last night, 1 hour to do a POC, working.
3 days next sprint to implement it properly.
Feels good :)
Goes to my comment on on of the rants to "Why linux cannot AVER be used by a normal user"
I'm pretty good with techs, OS, dev etc.
But here you go, a random error message which tells me nothing (Absolutelly nothing) and no way to fix it. No way to fix it, not even a hint where to look for solution, outside google. Sure, It took me around 5 minutes to find the problem googeling and copy/pasting some bash commands, but next time it happens and I don't have internet ? Well fucked.
This shit never happens on Wiondows or MacOs :) And that's why these 2 will always be user firendly ans linux will never be.
That's why linux will never be used by normal humains.
You 100% linux addict will point out directlly 'TYeah yours repos sources are fuckied" or whatever, but it IS NOT to user to know how sources, packages etc work. I want just update my system, if one source is not found, ignotre it by default ! How hrd is that ?
Error message in question :
E: The repository 'https://ppa.launchpadcontent.net/tr... jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Thanks for assisting to my ted talk.20
I'm hal laughting, half facepaling.
Use multiple servers they said
It's gonna balance automaticlly your load they said.
Well, they didn';t accoubnt for a MEGA badly writen API whic can block a whole server for a minute.
Or, but it's not the end !!!
So you see ? 1 at 100%, 1 at 0% ? Quick maths : Average 50%.
Autoscaling kicks in at average 40% for 2 minutes.
So it kicks in... Created a 3d server... Which is still booting !!
And some trafic redirected there.
Sooo. Users on a 100% server : Bad bad bad for them
Users on 0% server : No problems
users on a new 3d server : Wait 15 seconds, then it's like 0%.
Fun fun fun. At least I know now which fucking API does that.7
OMG, Usually I'll be the first to protect Visual Studio. (I do love it, I love to have everything inside same IDE).
But since last update....
Lunch VS 2022with your project.
Start a new SQL querry via SQL servers explorer
Now, try to fucking close thios not saved SQL file. It will ask you, if you wanna save bla bla.
And then... VS just dies.... Goes in full COPU usage mode for 2-3 MINUTES lol.
Only happens with unsaved SQL files, while connexion is opened AND you have an opened solution
I';m officialy spending 30$ / day on cigarettes.
And average of 20$/day on beer.
Where do people find motivation to stop these things lol ?!
A lot of money here xD28
Any exprets to work with expressions in C# ?
I fucking don't get it...
var newExpression = oldExpression.Compose(x=> -1 * x) takes fucking 25 milli seconds.
var newExpression = oldExpression.Compose(x=> x > 0) takes 1 ms (or less).
WTF... the source "oldExpression" is the same in both cases.
First compose used for ordering, second for fdiltering.
1 hour already I'm trying to understand WHY first one is so slow. (It will be called like 500K times a day in prod).
the .Compose is based on :
New home internet conexion. (yes home).
For lazy, screenshot is uploaded.
I fill it's "only" 2.5Gbps card which limits me, not ISP. But 10 G cards are fucking expensives21
I'm juste laughing .
I just can't.. Ok :
1. I pay for 1Gb down, 750 Mb up.
They usually provide 10% more.
So did already post speed tests here.
Now for uknown reason, my download went to 600 Mbps.
Not a big deal, I I still called ISP.
After all tests done, they bumped my conexion. And even with bump I still have obly 550 Mbps.
But, LOOH AT THAT UPLOAD !!!
That upload is insane. And i'm pretty sure it's limited by my only 2.5 Gbps card
Fort lazy :
When you go to "Oh they do it cheap", don't expect results...
Changed my PC build around 2 years ago.
Went from Core i7 / Nvidia to Ryzen 9 / AMD
Welp, AMD is totaly unstable.
I've invested 5k $ so I'm gonna ride it, but NEVER, EVER EVER again I'm buying AMD CPU or GPU.
Shit is unstable as fuck. I have latency issues, CPU issues, Video issues almost every week.
With Intel/nVidia cvombo I had before, I had issues maybe once every 3-4 months.
So yeah, buy low cost AMD, you pay the price later in usability. Fuck them.21
Never tell 60 users on a demo to "click on this button" at the same time.
Infra went "poof". No time to auto scale in this scenario.
Usual usage of app : 4 to 5 personns who do actions in the windows of 2 seconds.8
Me : Hey Azure, I have a problem with "this" blade in Azure portal. It's not working
Azure : Disable your adblock
Me : NO
Waiting next response2
Did a nasty thing in prod...
So nasty even default graph tells me something about going yolo in prod.
Maybe it's weed. But feels like that graph tells me not to trry this shit ever again.10
More of a suprise.
Just by error double clicked on WINDOWS machine on a BASH (.sh) script.
Welp, some randon bash processor appered and script was executed correctlly.
I almost shit my pants, it's a script which changes production env.
I was expecting a notepad lol10