r/ProgrammerHumor • • Aug 08 '16

JQuery Does All Things!

https://i.reddituploads.com/b79bb2d6e2f14e65b769686647cc4782?fit=max&h=1536&w=1536&s=ed6be616a7a0467c49330eda9253811e
3.0k Upvotes

207 comments sorted by

View all comments

86

u/[deleted] Aug 08 '16

an old one but a good one.

Just today I googled something to get "try xxx jQuery plugin" which literally could be replaced by 5 lines of vanilla JS.

133

u/ZombiePope Aug 08 '16

Shit like that is why we have 100+MB printer drivers.

45

u/[deleted] Aug 08 '16

Coming soon to a hell near you: printer drivers using Electron.

33

u/[deleted] Aug 08 '16

What's that? You don't have enough RAM to run another instance of chromium?

0

u/[deleted] Aug 08 '16

[deleted]

4

u/Schmittfried Aug 08 '16

RAM usage is even worse for me if I use FF.

0

u/[deleted] Aug 08 '16

[deleted]

1

u/mattsl Aug 08 '16

I've got 32GB in my desktop and 24GB in my laptop. I'd rather have everything stay in memory.

0

u/MonsterLyrics Aug 09 '16

From what I understand, it will grab what it can because it will run faster when it has more, but it will release it when other programs require more ram

5

u/[deleted] Aug 08 '16

I was joking for the most part

Chrome is only using 300 megs when I have like 20-30 tabs open. it's not that bad http://prntscr.com/c37i9v

0

u/[deleted] Aug 08 '16

[deleted]

8

u/Polantaris Aug 08 '16

To be fair, 8GB is pretty low for a high performance machine like XPS laptops are supposed to be. You pay a lot of money for an XPS, it should have more than 8GB of RAM.

I've never seen Chrome go above 300MB of RAM usage unless I'm doing some seriously idiotic shit, though, so it's not really a valid complaint. Although I could see NodeJS going high depending on what they're doing.

Still, I think it's more that the machine should have more RAM when you're paying that much money on it, but they couldn't think of a better combination of applications to justify it.

2

u/[deleted] Aug 09 '16

There's a trend in some circles toward increasingly client sided applications. Such that websites essentially just an api and the site is Web packed to run on the client. I think zen desk is mostly ember but I know it is/was very memory intensive. My work flow revolved around browser tabs vs their tabs. I had a bad time.

4

u/IggyZ Aug 09 '16

For pretty good reason. Outsourcing nonsensitive data to the client is GREAT if you can make it work, especially since data is faster and cheaper than ever.

That said, lots of places have taken it way too far, and don't adjust for mobile...

1

u/Polantaris Aug 09 '16

My current workflow is AngularJS 1.x with a WebAPI interface to access server data and perform validation (and whatever else needs to be done server side). Still don't get massive RAM usage. No where near enough that I would consider even 4GB not enough to handle it.

The only reason I can imagine that you'd be getting tons of RAM usage while doing client side applications is if you have your web service return ALL the data available, which of course is not scale-able as your server gets more and more data, and is poor optimization on the client side.

→ More replies (0)

1

u/ilawon Aug 09 '16

Are you looking at the main process only?

http://imgur.com/a/f1UvO

  • One incognito tab playing a flash stream in a website with a bit javascript ads and crap

  • google hangouts client

2

u/[deleted] Aug 08 '16

Yeah. I know. I haven't grown past 8gigs but I do have 16 now

1

u/NikStalwart Aug 08 '16

Yeah, chrome has that issue, can confirm.

I generally use it for "securer" browsing and when I need the mobile device simulation.

1

u/xXxNoScopeMLGxXx Aug 09 '16

Can confirm. When I built this PC I bought 16 GB of RAM because I wanted to use Chrome.

3

u/justregisteredtosay Aug 09 '16

Not sure if you're serious or not(I'm bad at jokes, came here to learn). But when you have it sorted by name like that, it isn't showing all of Chromes processes under that bit. Scroll down and you will find far more Chrome processes running in the background rather than "Apps", or just click the Details tab to see all of them. You can also open Chromes own Task Manager to see it showing how much it's using.

For example, under "apps" like in your screen shot, it shows Chrome is using 210MB for me, but then there is over 600MB more being used by ones listed as background processes.

1

u/[deleted] Aug 10 '16

I switched to qutebrowser (Mainly because a firefox update broke pentadactyl, and qutebrowser is becoming more usable).

Haven't tested RAM usage, but it could handle 40 tabs open fine (on a 8GB machine). I'll do some more tests later.