Details
Joined devRant on 8/1/2019
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
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@atheist It was just an example lol
This morning I added a simple index in DB, some querries went from 20 seconds to 3 ms. That was worth spending a day looking into -
Well, while optimizing code is commendable, 99% of slowness often comes from external calls. For example:
If you have an array of 10,000 items to process, you aim to enumerate it only once, which takes 5ms. You might spend days optimizing this.
Meanwhile, a "YOLO" dev might not care about multiple enumerations, totaling 50ms in a few hours.
However, if retrieving that list from an external API takes 350ms, then:
Your optimized code: 355ms total (350ms API call + 5ms processing)
The YOLO dev's code: 400ms total (350ms API call + 50ms processing)
So, after days of optimization, you've gained only about 8%. My point is, while optimization is important, it should be balanced. In this case, spending a day to reduce the 50ms to 25ms would still be a win, but beyond that, the returns diminish.
Optimize wisely, but don't lose sight of the bigger picture! -
I just use WSL 2 to have linux bash
You can literally just install Ubuntu from windows Store lol now
For me, GUI for linux doesn't make any sens when you already have windows. But command line is pretty cool some times -
@Demolishun Well, I still rememver "Unreal mode" on x286 ;p
where I had 1 MB of ram, but could access only 640k
And turning "Protected mode" was an ass
So you did "unreal" mode lol
That was fun as fuck and useless ;p But fun ! Remember to have fun !
https://en.wikipedia.org/wiki/... -
Probably invest in crypto scam for the girl
-
Personally, I enjoy windows 11. You just need to tweak about 100 settings and prohibit it to acess your porn...hmm.. homework...hmm job folders.
My usual uptime on PC is around 3 months without any reboots, without anything breaking. (ofc, one good day visual studio just randomly says : You need to reboot, without explanation"
My server machine at home is a Linux for example. Why ? because It's easier to setup for my needs but it's a PAIN to fix when it breaks.
Updated wrong package ? Syetem down, no more SSH, no more terminal.
I can fix Windows, but for my linux server, when it breaks, it's just full reinstall.
So bascilly I don't update or upograde my linux server EVER. BecaUSE if it breaks, I have for half a day to reinstall everything -
@Berkmann18 yeah no.
60% of candidats are like "I was carptner until last month, I took a boot camp in nodejs and now I'm ready to lead full .net team"
Then you have : "Yeah I'm against using DI, it's way to complex"
Or : "Why would anyone uses interfaces, like ever ? lol"
or : "Performance scale can alsways be resolved by money spent on infra"
Or I have 1000 more examples.
Theses people, it's useless to send them technical test. You already know they are not a fit. -
@fullstackcircus the thing is, some of them are "too" testy
For example, let's say you have a method on a controller which will check acces rights / role and than call internal service
What you would expect in unit test : Check if service is called. That's all (Via mock)
What's hapening : The service is actuallty called and whole code executed, even if this method has another specific unit test. Basiclly it executes a bit too much. -
@fullstackcircus that's why in local it's so fat. 12 cores ;p In azure pipeline it only runs 2 tests at a time at most
-
What trackers lol ? Just install <Self censored> app and it will show you active 100% of the time.
I work remote 100%. Sometimnes I'll take a full day of doing nothing 9Except responding to emails / messages etc)
And some days i'll be motivated and work until 1 am.
Average on a week I do MORE than onsite.
Trackers are evil !!! Combat them ! -
Did you fixed it already ? gogogo ! Should be easy !
-
Uo ..Hic... Mate.. Hic... Can I .. hic... put a brouyd, no, ... hic ... the breakttyrfsadbmn, no... hic hic... the B R E A K P O I .. hic ... nt !
-
@donkulator Made me remember when I was around 13 and I decided to "clean up" MSDOS hard drive
So I moved all system files on the drive into a folder. PC didn't boot after that, I didn't know what to do back in a day ;p -
@Demolishun didn';t Intel has some bugs in early years ? Maybe early pentium or x286/386/486 with divisions ?
Like it went into a blackhole on some conditions -
@tosensei depends. I have some lose money (Small amount, less than 1000$) in crypto for fun. Amount i'm comfortable to lose 100%.
Just checked, my crupto account is +38% all time and +8% pas 12 months.
I guess when you go in mode fun it works well. -
FBI !! Open up !
-
2/0 = 0
I have a court ruling in USA to prouve it.
Long story short, teacher was telling kids that X /0 = 0. parents complained, court ruled in favor of teacher lol -
And after all that you still can get null in start date !
-
@Lensflare Last week I spent 3 days to have end result of 5 code lines. That's exactly why it's not a good metric
-
I wrote a script which couts lines of code in the project. Only includes files actually edited by devs.
It's not a metric in any kind, but I was happy when project reached 1 million ;p
It's just a fun thing to do. But yes, it should never be a metric. -
Create private instance of OpenAI (Azure propose one for example)
Put your own rules.
problem solved ;p
You can even feed it your whole github repo -
@Lensflare yes. It will throw exception if non nullable is somehow is null.
That's my point, it doesn't garanti that you will recive object non null, it juste autopate exception -
@C0D4 My point is , dev should take 5 seconds to write :
var a = objA?.PropertyB?.Id ?? <whatever>
instead of
var a = objA.PropertyB.Id -
@Lensflare I do not use Swift, but if allows any kind of reflexion coding, thatn it can NEVER garanty non-null, like ever.
-
@tosensei Personally, I push 'Entropy score" in my apps.
Basiclly, more you vary your input, less caracters you need. -
@b2plane I meant the part where you have a hot blonde GF.
Still not buying it tho ! Anyway, have fun !
I have my "paying date" coming up soon . -
@tosensei False. Even outlook.com limit password length.
I just tried to put a 15000 caracter string as a password.
Without ANY user feedback, it was truncuted to XX (I don't know how much) caracters.
So basiclly account is no longer acsessible lol ! -
The real question is.. Why would YOU EVER use FTP or sFTP ? Like EVER !!
There are better ways, specially with Azure storage Apis. -
Hey Rebeca, in the history of things which never happened, this one never happened the most :)
-
@lorentz This is true.
My biggest solution takes around 1 minute to load in VS2019. Around 10 seconds in VS2022.
But once you added resharper, it;'s 3 minutes anyway in any solution.
Also VS2022 compiles way better on multi CPUs than 2019.