Details
-
Aboutanything-Windows enthusiast.
-
SkillsC#, F#, .NET MVC, MVVM, C++14, C, TypeScript
-
Location/var
Joined devRant on 5/12/2018
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
-
isnt there a "NullValueHandling = NullValueHandling.Ignore" equivalent when deserialising?
-
@Demolishun very likely. Coz in my product's repo I saw a LOT of people who aren't in the company with 5-6 months of idless between them
So it'd be easier for them to hire, get it refurbished every few months, fire and save on salaries.
PS: their 2nd highest selling product is a wrapper around a FREE, OpenSource product which they download as code, compile and obfuscate to hide the illegality. Then sell it at 4k USD/month to enterprise
leeches of the highest order. -
@retoor beyond fucked.
At least in your case you've a valid reason, here coz the company hid its incompetence and put the blame on me, so MY career/record is ruined.
If I had not put in effort, I wouldn't care.
But the marketting dept will send out a "Amazing Product update with 20x performance increase!!!" newsletter this week. THAT I SOLO-ED. And I won't even be in the company when it goes out.
Legit used-and-thrown. -
window on a server? so a GUI to visualise a server?
Just add a WinUI3 project to your solution, it can import the same C# services your backend is using (if u put them in their own Class Library at least)
with simple XAML u can have an usable GUI in no time
ANND if u didnt segregate the services into DLLs, then make your GUI make Http calls to your API, cud be local if ur server is local
Or over IP if ur exposing it
https://learn.microsoft.com/en-in/... -
Winter isnt a worldwide occurance, so no
🐕🐶🐩🐕🦺 gang ftw 😤 -
artsy goth gf >>>> everything else
-
I MISSED YOU SPAM 😩😩😩💦
-
I miss spam :(
-
thats literally all the browsers rn
what u even talking about 💀 -
@jestdotty nah as if I'll burn system resources on video stream -,-
But I did add User2User chat so if they wanna get fiesty in private, go for it -
@Ranchonyx An audience engagement platform! Basically everything I miss from 2010s internet
Where you could go on a site and just "talk" to faceless people who share interests and never talk to them again n not care
no hassle of account verification or no-no words
Since it's raw websockets n no ew-sockets-io, I add fun features like message emoji reactions, voice and image messages, and soon will add a "twitter live" kinda thing but embeddable
So now u open your niche app, there's a 24x7 live voice chat of whoever wants to join xD Wanna blast the "Nigga" on repeat in the sound of Microsoft George? go for it!
I pack it all up with corporate checks so fancy companies can restrict things by ToS, while avg devs can embed n do whatever (i.e., have fun)
Rn I embedded the live-chat feature on 2 of my apps as "Dog fooding", each time a user opens the app, the library makes a WebSocket connection to initialise the widget, which marks a session and thats what we see there -
@Liebranca dying in war is always glorious
I await the day my gandhi-dick-sucking country goes through it so I get to experience a beautiful death
you're living the dream, you're lucky -
welcome to war bruh
-
Hitler looking down from above: he just like me frfr
-
@retoor I legit thought TS enforces strictness at least for this level
My TS use is UI-only so such fuckups are tolerable to some extent
Knowing that ppl write entire backends in JS/TS makes me shiver ~_~
Id be anxious all day about every damn function/call -
@Ranchonyx here it's just for demostration, IRL the external library is returning "any" so I can't change that but yea
I'll manually cast without the "as" which I def was relying too much on without knowing its limitations
I just assumed such a basic case would "obviously" be handled by TS compile-time but i assumed wrong -
@Ranchonyx copy pasting the code if it's too blurred to read:
function returningAny(): any {
return "true";
}
let booltest: boolean = false;
booltest = returningAny();
console.log(typeof booltest); //string
booltest = returningAny() as boolean;
console.log(typeof booltest); //string
console.log(booltest == true); //false
console.log(booltest == "true"); //says error but works, true -
@Ranchonyx this was the quickest recreation
also @devRancid acc to documentation "x AS y" is casting so idk anymore if I'm wrong or right -.- -
Ah wait @devRancid u right 💀
I looked it up n I was in the wrong
x AS y won't cast it'll just assert -
@devRancid No no I did cast
Both "any"->"boolean" and then "any"->"string"->"boolean" when trying to fix it
If I were just throwing any and expecting magic, I wouldn't have ranted about it coz then it'd be on me -
@ars1 yes but that's TypeScript's whole point
Im not expecting runtime checks coz ofc there can't be but I assumed TS would at least try to force-cast the primitive types where it can in the compiled JS and fail at runtime if it can't
The fact that I've to worry about this opens a whole can of worms coz now I can't trust "types" -
oh and ofc "as Boolean" casting doesn't work I cannot check with == "true" coz according to TypeScipt, a Boolean variable cannot store String, OHHH IKKKRRRRR!?!?!?
I'll properly fix it later along with other possible instances of this family of errors
but the fact that it can happen is so annoying. A needless overhead. -
@retoor *sadness intensifies*
-
I can't tell if it's a full-fledged language or a TypeScript equivalent (wrt C)
-
idk if Russian has capital letters so i doubt it affects their real customers lol
But im wondering programatically what'd be the need for this
Maybe to simplify their search? -
@Azeiynali but it has open-ish APIs, a LOOOT of people made their own DevRant clients with amazing UIs
Im using the Windows10 version by @JS96 right now! -
DevRant was big back in the day, this is as big such a niche site can get
-
the only reason I haven't replaced caffeine-work with cocaine-work is coz I can't afford it 💪
-
jQuery aint bad
-
@AlgoRythm I WISH it were that :v
I think I fucked up in the memory manipulation in the Data Structures that hold WebSocket info
the whole try-get and ref-replace/overwrite for high-performance connection handling worked until my last push where I went "1 step further" n boom, it's broken
I gave up on the performance-improvements commit, reverted the 2 files and am not touching them for a while -.-
PS: i was so desperate at the end that I even wrote a Timer that went through ENTIRE dictionaries and disposed each List item individually. The issue didnt happen for at most 2 hours then suddenly the same graph mount
No errors logged, and the test endpoint showed more entries each time I refreshed to even Read the values lol
@hjk101 yes but even after restart the users will still come and go and the "garbage" will eventually pile up again
It's kinda like a drainage pipe being blocked off, I can clean the overflow repeatedly with a restart but that isnt the solution