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
What the fuck is going on ???
How the "intermediate" c# developers can't do a simple null safe average of even numbers in an array ?!
Why they still write loops and shit (without any nul checks ofc) while it can be done in 1 line :
array?.Where(x => x % 2 == 0).DefaultIfEmpty(0).Average() ?? 0
WHY ? Even Junior c# dev is supposed to know that shit4
I just told to Canada general census to put me as "Apache helicopter". On official papiers and shit !
I expect to be called in a couple of days lol, but seemed to fun to pass on this oportunity.
So if they DON'T call me back, next year in official census you'll see at least one apache helicopter lol8
Wanted for once use FireFox for dev / tooling.
Welp, it only took 1 page load to see why devs don't use it :
There is NO information on how long an ajax request took.
A lot of useless stuf like "Destination IP" (Who the fuck cares?) or "Initiator" (I already know where it started, I want to iknow how long it took).
That concludes my try to work with a non chromium browser and i'm sad. because chromium is a new IE6.
Don't belive me ? Look how websites manages checkboxes. Yes that's right with ::before and ::after.
These pseudo elements SHOULD NOT work in <input>. But they do in chromium. Which basicly a deal break to use firefox for our users.
Fuck you chromium. IE6 bis i'm gonna call you now
And FireFox : Please, just COPY dev tools of chromium, yours are unusable.
Ok, I feel better, going back to my bug.2
Ok. that made a full circle.
I needed for ONCE to manually do git things.
(There is a plugin in V which wil lrecompile SCSS to CSS if CSS file is deleted, I want to comit delete).
WHY DO I HAVE VIM ON MY WINDOWS ????
And most importantly, how do I exit it ?29
Wish me luck.
Deploying Blazor app for the first time in prod in about a month.
Did tests. Curent infrastructure can hold around 70 concurent sessions with no problems. (probably more, 70 was the limit in my browser).
I tested each sessiuon with 70.000 line table. (Yep whole 70.000 lines for each session with a virtual scroll).
Shit is fast. Too fast even. I'm waiting for other shoe to drop, but so far in simulated tests it's amazing.
Let's talk in 2 month AFTER prod deploy.4
Thanks to another post, discovered this chanel.
Hiring junior devs is a game of Russian roulette.
You can get some one who is smart and loves coding. In this case stack, limitations etc don’t matter and experience will be great for junior and the rest of the team
Or it will be a lazy person who watched 5 videos and think to be better than everyone else. 95% of juniors are these fuckers. Takes about 1 week to find out and fire… which starts the 3 months recruiting loop again.18
Literally nobody :
Microsoft : Great news ! We added integrated blockchain in Azure SQL !
How about fixing :
I have not slept in 28 hours.
I discovered Quantum computing, pubo and simulators.
I FEEL it can solve my business problem, but it is fucking time consuming to write this code. (In a good way).
I do not need sleep at this point, I need answers!
Anyone with good links to either pubo examples or a useful quantum algorithm, I’ll take it ! (not the random number… I have already run that on a real QPU 9Still no idea how much that run cost in $)!)31
As some of you (I'm certain), I have a plex server at home. Hosted with an "old" core i5-4670K, 16GB ram, no GPU. (Ubuntu 20).
My question. HOW, HOW THE FUCK :
I can play HDR and DV videos via plex TV app.
I can play HDR via my S10 fucking phone !
I cannot play nor HDR nor DV since last update on Xbox X... It's the ONLY use I have for that console. If my TV can do better, wtf I'm supposed to do with that console ? (Any way to put plex server on it ?)
My friend can play my 4k HDR video on apple TV via remote connexion..
What's wrong with Xbox X ?
Also, FU all ripers using PGS format for subtitles without SRT option.
Also FU sony for not allowing TrueHD via ARC. (AT least on my A/V reciver)
Also fuck me for buying xbox.
Also fuck the worl just because.
Ok, I feel better. Thanks you all.6
JetBrains should be renamed in “Shit for brains”.
Actually no. Even the dump I take in the morning has more intelligence than ANY product of that “company”.
What a fucking waste of time…7
What did we buy ?
Ryzen 9 and Radeon 6800 XT
What are we playing ?
Open TDD and factorio.
Yep, Can confirm, no lags.9
Out out new guide lines for pull requests.
Reviewing around 10 PR today. All respect them
Overload is pleased. ;O1
We have an API which returns 600 MB of JSON.
Because client "Wants to see everything first and then apply filters, just like Excel".
Edit and ofc thier laptops with core i3 and 4GB of ram can't even process that.44
My server has constaly 40% CPU usage.... Even when there are NO requests.
I'm searching "wtf is going on" for the past 2 days.
0 results. Clients are unhappy, sales team is unhappy. Noone is happy and I don't have an answer. Grrrrrrr.
*Goes back to reading logs
By server I mean Azure WebApp, not a VM/ohysical server17
Me : "hey front end dev, here is an API returing a list of objects, put them in a table"
*Some hours later
Front end : 'Done !"
Me :" Where are the totals?"
front end : 'Api doesn't give me totals"
me : "Calculate them. Just do a sum"
front end : 'I don't know how".
Yeah, "front end" apprently means only html css.... FML23
You win Linux. That was the last straw. I will never install ANY linux distribution ever again.
Setup a simple FTP server. What can possibly go wrong ?
Ok now I want it to point to /media/ftp
Easy, right ?
Just add local_root=/media/ftp
Not working. Completly ingnoring this setting, all users log to home directory.
tried, no effect.
I'm wiping this server and installing windows server there.
Too bad, the process started very well, the machine is fully confiogured, ready to go, DNS working every thing working. Except this shitty FTP.
So FUCK YOU linux wioth config files, WELCOME windows with nice GUI where I can just SELECT the default ftp folder31
I can't take any more CRUD.
It seems all I do every day is CRUD, CRUD and more CRUD.
It's easy, it's fast, but fuck me... Give me at least some data manipulation to do, SOMETHING where I actually need to enable my mind, and not just "write code while watching netflix".17
Today is a sad day.
I loved Songza from day one. Google bought them, but kept their functionality alive via google music.
Today goole transferred google music to youtube music.
My beloved algos and functionalities of original Songsa are GONE. And their new shitty service propose only playlist. 0 AI, 0 machine learning.
Anyone knows a free music plateform I can migrate to ?8
Fuck you Twillio.
You bought a perfectly good email service (SendGrid) and now this service is just.. failing.
All of theirs Ips are getting blacklisted. Our clients are calling us (Of course they are).
People cannot reset passwords, cannot get ANY email notification.
Right now, SendGrid is blacklisted by majority of anti spam systems.
Twilio, fuck you again. This service we were using for more than 5 years without ANY problem. Twilio fucked up.
Fuck you Twlio again. And when we create a “critical” ticket, all you have to say is “Meehhh we’ll contact you in a week” ? REALLY ? Even Microsoft contacts us in 2 hours for critical problems.
Sorry it needed to come out.10
I am a Windows person. I always argue how great it is.
Well, not today.
I was today years old when I learned that you CANNOT uninstall store app via store ;p You need to go to settings / apps and functionality / your app / uninstall
The photo app (Yes the one bundled with win10) doesn't work if you use Hard drive compression AND it is a symlink for OneDrive (So you don't need to keep all photos on the drive). Fucking Paint works without problems.
Email client : If you alt+tab too fast after hitting 'Send email", there is 50% chances that email won't be send. Basiclly you need to hit "send" and wait until you see it in "sent" folder.
Well, as i'm ranting, here for Linux too :
I have a small ubuntu server VM, worked very well for last 6 months. Now "System in read only mode". Fucking apt-get upgrade fucked with something. I don't want to look, so I'll just rebuild a fresh vm.
And macOS should take sometyhing too : Who the fuck decided "enter" is for editing the name of file ?! really !
Well, ALL os are shit, all have downsides, I need my own OS. But I still want AA games... So windows for me.29
Any code should be simple and easy to read / understand.
I just reworked an old stored SQL proc.
Went from 102 lines to ... 10.
More I code, more I realize that maintainability, readability, comments and unit tests are more important than actual code. (And performances ofc. But if 1 line code does it in 1 second and 500 lines code in 0.2 seconds, I’ll take one line solution every time)5
I was around 12. My mother just took a new position as Algorithmic and programming teacher (Mathematics before) for high school seniors. (Around 16-17 in Russia back in a day).
So sometimes, I waited for her after school, listening (just a bit) what she was teaching.
Then one day I was waiting while she was giving an exam of 2 hours to seniors (End of year exam). In 20 minutes, I doodled a thing on a piece of paper and showed my mother. I was correct on all questions and all flow diagrams (Was not called like this back in a day).
From this moment, I knew, programming and logic are for me.
At the end of high school (So I was 17), I received the collective message from most girls in my class saying : “ You felt in love with computers and ignored us”. They were right ☹, I realised it way later.3
I’m fucking lost.
So, situation. I have a SQL table with about 3M rows (not a lot).
I have indexes. Indexes are used. BUT when I add where clause (On indexed column), it’s super slow. Around 10 seconds.
If I do select * (ALL 3M rows) and THEN I filter then on webserver side, it takes 0.5 seconds.
HOW my manual filtering is faster than DB filtering with indexes? I even tried bubble sort. Bubble sort is faster than SQL ‘where’. HOW ?!
I do not understand….
And if I add group by….. WELL, 25 seconds SQL time. 2 Seconds if I do select all and group by in code manually.
Does not make ANY sense to me.
What am I missing ?23