this post was submitted on 20 Feb 2021
136 points (93.0% liked)

Programmer Humor

32410 readers
224 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 20 comments
sorted by: hot top controversial new old
[–] lemmy_see@lemmy.world 15 points 1 year ago (4 children)

Why does my app (Wefwef) tell me this was posted 2 years ago

[–] fiddlesticks@lemmy.dbzer0.com 7 points 1 year ago

Funny same thing on jerboa

[–] OrkneyKomodo@lemmy.sdf.org 2 points 1 year ago

Same thing on Liftoff.

[–] skullgiver@popplesburger.hilciferous.nl 1 points 1 year ago* (last edited 11 months ago)

[This comment has been deleted by an automated system]

[–] juge@lemmy.world 1 points 1 year ago

I think it’s a Lemmy thing, I’m also seeing this on Memmy

[–] rei@lemmy.world 11 points 1 year ago (2 children)

Isn't vscode written in electron?

[–] JackBruhhh@lemmy.world 7 points 1 year ago (1 children)

Electron is fine if it's optimised which generally doesn't happen.

[–] zbecker@mastodon.zbecker.cc 2 points 1 year ago (1 children)

@JackBruhhh @rei

#electron does consume quite a bit more ram than it should.

Either way, I don't really have much of a problem with it.

[–] JackBruhhh@lemmy.world 3 points 1 year ago (1 children)

It does but in exchange devs can make cross-platform applications. I don't mind using Electron apps unless they're horribly optimized like Teams used to be some years ago.

[–] sznio@lemmy.world 4 points 1 year ago (1 children)

Teams is still horribly optimized and barely works though. I love having to restart my computer in order to be able to sign in.

Protip: It's much faster and more stable when just opened as a webpage in Firefox

[–] lrabbt@lemmy.world 2 points 1 year ago (1 children)

I wish. Teams literally says Firefox is not supported and doesn't allow me to make calls, even though I'm able to join meetings. Teams is a joke.

[–] sznio@lemmy.world 1 points 1 year ago

I also used to have that message but it seems like they've got that back in order.

I remember that back then you could download an extension to pretend your user agent was Chrome and Teams would work flawlessly.

[–] zumi@lemmy.sdf.org 2 points 1 year ago

It is, which is why I avoid it. The amount of power VSCode consumes vs others is significant. Jetbrains products even have a low power mode which turns off indexing. Can run that thing all day long without plugging in.

I also use Ripcord for slack instead of that electron client.

I always avoid electron apps so I don't have to have a separate flow when I am on battery vs plugged in.

[–] Nausiyan@lemmy.sdf.org 2 points 1 year ago

Yes! Yes! Fricking yes!

[–] ksynwa@lemmy.ml 1 points 3 years ago (1 children)

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

[–] AgreeableLandscape@lemmy.ml 1 points 3 years ago (1 children)

Why? Just why?

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

[–] ksynwa@lemmy.ml 0 points 3 years ago (1 children)

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@lemmy.ml 1 points 3 years ago

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.

[–] wilsonmojo@lemmy.ml 1 points 3 years ago

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