Electronplus-square
image
52
image
Wilson
1416d

Yess exactly. Don’t wanna have multiple browsers each eating 4GB ram

@AgreeableLandscape
mod
admin
creator
16edit-216d

Multiple Chromium browsers that probably send telemetry to Google, no less.

I’d be slightly less hateful of Electron if it used a non-Google engine, but alas Chrome is the new 90’s Internet Explorer and everyone needs to bend over backwards to it.

Netscape Navigator gang rise up!

@AgreeableLandscape
mod
admin
creator
3edit-214d

AKA prehistoric Firefox (as in Firefox used the same codebase as Netscape, though I’m not sure if that’s still true after Firefox Quantum)

@ksynwa
1316d

My work makes me use a VPN client that’s built on electron. Eats up a lot of battery on my laptop.

@AgreeableLandscape
mod
admin
creator
1216d

Why? Just why?

Can’t even imagine doing any sort of encryption from JavaScript, and how inefficient that would be.

@ksynwa
616d

From the code I think the client itself is written in Go and the electron part is a frontend. But I couldn’t get the Go client to run without the electron frontend.

This is the page for the client in case someone wants to help get this tunning without the electron frontend: https://client.pritunl.com/

@AgreeableLandscape
mod
admin
creator
516d

Seriously, why?! Go has UI libraries (plus Qt/GTK bindings) and you don’t need something that complicated for a VPN client.

Does the frontend need to be active all the time? Then you effectively have Chrome always running while doing literally nothing most of the time, can’t imagine you have to fiddle with the VPN that often.

Ephera
315d

I mean, I’m also having to run an Electron application for a shoddy chat and video call program. Most of the day, it will just sit there, doing nothing, and eat resources like no one’s business.
My company bought into it and basically gave it a monopoly. So, if it uses too many resources, the laptop will need to be upgraded.

@ksynwa
416d

I actually haven’t tried closing the client after starting up the VPN connection. I’ll try that and report back.

@AgreeableLandscape
mod
admin
creator
416d

Make sure the VPN doesn’t silently disconnect by keeping an eye on what your public IP reports as.

Wait, it’s just OpenVPN, can you just try using your certs and username/password on the normal OpenVPN client?

@ksynwa
215d

I’ll try doing that.

Exactly. What the FUCK is wrong with native UI libraries??

@AgreeableLandscape
mod
admin
creator
11edit-216d

iT’S nOt eLeGaNt EnOuGh!

Which, by the way, Qt and GTK both support custom stylesheets, so that’s on you if you think Electron is the only way to make that minimalist UI. They’re also both cross platform and compile to mostly native executables.

@fatboy
316d

haha! I love these

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming or programmers
  • No NSFW content. *Jokes must be in good taste. No hate speech, bigotry, etc.
  • 0 users online
  • 3 users / day
  • 8 users / week
  • 25 users / month
  • 58 users / 6 months
  • 1146 subscribers
  • 126 Posts
  • 185 Comments
  • Programming/Software
  • Modlog