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
-
@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 -
went from avg 50-users at a time to 32,000+ for those who cant see coz DevRant compressed the img too much -_-
-
@jestdotty brave of you to assume I got friends 😪😪😪
-
@Chewbanacas im more likely to go "I love y'all but im bored so I'll disappear for a few years" 💀
@Ranchonyx yep, the brain stops working beyond the product, every extra step is a chore :v -
@Chewbanacas Tbh even if a few ppl use it, I dont mind coz I host it on DataCentre-server and my Ad income from the apps it's embedded in, already helps me break-even
So it doesnt cost me money coz I made everything myself and no "cloud" BS (ew)
But I do like money xD so I'd want it to go beyond 'breaking even'. I'll have to push through to make a Landing Page, coz It already has 100s of users so maybe it aint that bad? -
@Chewbanacas a pseudonymous Audience Engagement Platform that lives "inside" apps and websites
it's supposed to increase app DAU/MAU by adding direct user-interaction without the app/website needing to care about User Authentication (coz Users only sign up on My Site)
Add live analytics and moderation to it and voila. Even if you're a newbie app dev who wants to add Engagement to their app for free, it's just an SDK import.
If you've a business who wants users to "talk" on their app/site instead of twitter/fb, but with moderation coz ToS, that works too, ofc they have to pay tho or be ok with ads
And in my apps that do use it, I've higher AdMob earning coz ppl now open the app back often to see if someone replied to them in the chat or go "OMG DID Y'ALL SEE WHAT HAPPENED?" since my app's a News One and things always be happening -
@spoiledgoods @tosensei thats the plan anyway .-. need to tie some loose ends before I go though so wait a bit 💪
-
we have 8 billion humans alive today.
we ain't having enough wars to cull our numbers -
what do you mean "microservices running on IIS"?
Is It an API endpoint exposed on a certain port?
This sounds like a DNS thing (specially if customers i.e., public internet can access it)
Maybe your network can't resolve it to your port on your IIS machine?
Im assuming your company network's DNS in resolved in-house to access company-specific resources, which is where the issue/gap might be -
you an honourary nigga now 💪