2020

General discussion and socializing.

Re: 2020

Postby shubla » Tue Jan 21, 2020 2:28 pm

mvgulik wrote:
shubla wrote:Discord has received over 200 000 000$ of funding

Really ... 2 Billion(US) in funding. That sound to good to be true.
Yep ... Seems you got your data wrong. Probably due to bad general "Hit and Run" reading habit.

gaming-chat-startup-discord-raises-150m-surpassing-2b-valuation (2018-12-21)
What-is-the-difference-between-funding-and-valuation

---

crunchbase - discord ... $279.3M (that's ~300 000 in zero notation)

https://discordapp.com/company
Their own site says they have raised over 200 000 000 $.
I can hardly say that 200 000 000 is billion, I would say its 200 million.

Sounds more like you got our data wrong due to really bad hit and post habit.

kmarad wrote:A funny thing, is that discord is based on Electron.
And Electron is basically a trick, to run javascript (via nodeJS), on any computer, using chromium engine.

So just to send your friends a few gifs, you run a browser locally, which is quite heavy, and not bug free.

Also, nodeJS is really well-known for it's packets intrication.
Like, to install 5 libraries, you'll often pull over than 1000 dependencies. Which is even more possible causes of bugs.

Image
npm is node package manager

That's very far from the typical IRC client, like weechat, which is as simple as it can get.

Why do they do that ?

It's so much simpler for devs to code a web client app than to do something in C, C#, C++, Golang, Rust or whatever you can think of.
You have access to all HTML components, CSS, and frameworks like angular / vuejs / reactjs...
Your application can instantly be deployed everywhere, even as a web app (discordapp.com)...

Developers laziness is what it is.


By the way, discord devs didn't even implement end to end encryption, but I'm not sure I would call that laziness though...


I agree! I recently installed Angular and got like 1000 packages from just that! :roll: Now what happens if one of them has a vulnerability? Actually I once did a small thing with React and put it on github, now I get almost monthly notifications that there are vulnerabilities in some of my (thousands) of dependencies and I must update the packages... Though some people said that its because nodejs doesn't have a proper standard library, so you end up with stuff like this.


https://discordapp.com/acknowledgements
Discord has list of packages that they use, and they use a lot! Most of them seem to be ok, but I wonder what would happen if one would check every single one,
Image
I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
User avatar
shubla
 
Posts: 13041
Joined: Sun Nov 03, 2013 11:26 am
Location: Finland

Re: 2020

Postby mvgulik » Tue Jan 21, 2020 6:22 pm

shubla wrote:Their own site says they have raised over 200 000 000 $.
I can hardly say that 200 000 000 is billion, I would say its 200 million.

Lol.
Guess the "200 000 000" (look at all those zero's writing style) did its job.
Probably one reason why they invented worlds like Million and Billion(US).

shubla wrote:Sounds more like you got our data wrong due to really bad hit and post habit.

Not going for any originality points I see.
mvgulik
 
Posts: 3775
Joined: Fri May 21, 2010 2:29 am

Re: 2020

Postby VDZ » Wed Jan 22, 2020 3:49 am

kmarad wrote:A funny thing, is that discord is based on Electron.
And Electron is basically a trick, to run javascript (via nodeJS), on any computer, using chromium engine.

So just to send your friends a few gifs, you run a browser locally, which is quite heavy, and not bug free.

Also, nodeJS is really well-known for it's packets intrication.
Like, to install 5 libraries, you'll often pull over than 1000 dependencies. Which is even more possible causes of bugs.

Image
npm is node package manager

That's very far from the typical IRC client, like weechat, which is as simple as it can get.


I recently implemented an IRC bot from scratch in C# and I was amazed at how simple IRC is. I always knew it was simple, but not that it was that simple. You just open a TCP connection, identify yourself and start sending and receiving signals, and that's it! The only other thing you need to do is occasionally respond to ping. The entire bot is 420 KB, of which 411 KB is spent on its icon; it's less than 10 KB for the actual IRC part.

And even .NET is bloated and inefficient if you compare it to native code.

kmarad wrote:Why do they do that ?

It's so much simpler for devs to code a web client app than to do something in C, C#, C++, Golang, Rust or whatever you can think of.
You have access to all HTML components, CSS, and frameworks like angular / vuejs / reactjs...
Your application can instantly be deployed everywhere, even as a web app (discordapp.com)...

Developers laziness is what it is.


More importantly, increased development efficiency. By building on top of other stuff built on top of other stuff built on top of other stuff built on top of other stuff...you can get a lot more done with a lot less effort. The end result won't be as nice as when you make it from scratch, but the increased efficiency is worth it. (Theoretically, at least. Web development really has me scratching my head at times.) I work primarily in two languages: x86 assembly and C#. My stuff would be a lot more efficient if I wrote it all in x86 (I can even manually build a PE and customize it 100% to my liking, within Windows' arcane constraints), but the speed of development in C# is so ridiculously much faster that I use x86 pretty much only to modify existing binaries (or when I really need to go native and the damn C++ compiler thinks it knows better what I want than I do like why the fuck is inline and even forceinline only a hint).
Last edited by VDZ on Tue Feb 18, 2020 10:04 am, edited 1 time in total.
User avatar
VDZ
 
Posts: 2681
Joined: Sun Jul 17, 2011 2:27 am

Re: 2020

Postby NeoBasilisk » Tue Feb 18, 2020 6:01 am

IRC is for getting anime when the torrents go down
NeoBasilisk
 
Posts: 579
Joined: Thu Jun 06, 2013 12:48 am

Re: 2020

Postby NeoBasilisk » Tue Feb 18, 2020 6:03 am

also echoing the fuck node and fuck npm sentiment
NeoBasilisk
 
Posts: 579
Joined: Thu Jun 06, 2013 12:48 am

Previous

Return to The Inn of Brodgar

Who is online

Users browsing this forum: Claude [Bot] and 37 guests