this post was submitted on 22 Nov 2024
348 points (100.0% liked)

linuxmemes

23369 readers
1143 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    top 29 comments
    sorted by: hot top controversial new old
    [–] AllNewTypeFace@leminal.space 76 points 3 months ago (3 children)

    The thing is that Electron apps don’t even look good compared to native apps. They’re slow and janky and, once you’ve seen a few of them, your impression is β€œthe company didn’t care enough to build a native app”. In that sense, an Electron webpage in an app has the same connotations as AI artwork on a Substack essay: it looks slick if you’ve never seen one before, but cheap and shoddy if you know what it is.

    [–] leisesprecher@feddit.org 39 points 3 months ago (2 children)

    I'm still convinced Electron only exists because there's a huge surplus of mediocre web devs.

    Electron solves hardly any problem that QT, GTK or all those other UI frameworks didn't already solve 20 years ago. But for QT you need at least a few developers with passing knowledge of something other than js and css. And those guys are expensive.

    OR, it is a huge conspiracy by Micron et al to increase demand for memory modules.

    [–] abfarid@startrek.website 21 points 3 months ago

    If you're talking about an app that exist solely as Electron, then you might be right. But the primary benefit of Electron is that you can distribute your already existing webapp as a downloadable app, which reduces the amount of maintenance significantly.
    Also, when it comes to UI diversity and customization, nothing beats HTML+CSS.

    And as you mentioned, there's a looot of webdevs. Electron empowers those people to easily create applications. Which they did, they created many useful apps. An application that isn't perfect resource usage-wise is often much better than no application at all.

    Think of Minecraft. Java is arguably the worst language to use for a chunk-based 3D game. But it's still better than no Minecraft at all.

    [–] AllNewTypeFace@leminal.space 2 points 3 months ago

    Writing the same app in Javascript for a DOM browser is quicker and easier than writing it in a native GUI toolkit, as you don’t need to think about life cycles or memory management as much. Of course, nothing comes for free, so the cost is borne by the userbase needing more RAM and faster CPUs to get the same work done. Which is philosophically in the same tradition of offloading negative externalities as dumping toxic waste in rivers.

    [–] naught@sh.itjust.works 12 points 3 months ago

    I mean "didn't care enough" == pay an entire separate dev team to develop for potentially each OS (at least windows probably) in languages unfamiliar to the web team. Then separately maintain that desktop app in perpetuity while the backend changes and drifts. This all for a vanishingly small subset of the userbase that could have used the website with identical functionality. It's a similar issue with mobile apps.

    I fully see the appeal of electron apps even if it's not perfectly native feeling. I mean vscode is pretty universally liked n that's electron. Also, it being a web app is a huge boon for anyone needing a code editor in browser.

    Perhaps frameworks like Tauri will supplant electron soon enough for better performance and native feel.

    [–] Irelephant@lemm.ee 3 points 3 months ago

    The good electron apps are the ones you don't realise are using electron.

    [–] trespasser69@lemmy.world 27 points 3 months ago (1 children)
    [–] DaPorkchop_@lemmy.ml 2 points 3 months ago

    Tangentially related, but I recently stumbled upon this GitHub repository and seeing this same xkcd in their README had me giggling for like 5 minutes

    [–] verstra@programming.dev 18 points 3 months ago (1 children)

    What's this building? I suspect this might be a crime against architecture as a field.

    [–] skarn@discuss.tchncs.de 19 points 3 months ago (4 children)

    It really isn't.

    It's the Antwerp Port Authority in Antwerp, Belgium. Designed by Zaha Hadid. Pretty cool.>!!<

    https://en.m.wikipedia.org/wiki/Port_Authority_Building_(Antwerp)

    I saw several such hybrid old/new building combinations in Flemish cities. And they usually manage to pull it off.

    Another example I liked is the STAM, the Ghent city museum. They also host a nice yearly jazz festival in the courtyard of that one.

    https://stamgent.be/

    [–] qjkxbmwvz@startrek.website 10 points 3 months ago (1 children)

    I think there's a bias in the US against this sort of thing that doesn't exist (or not to the same extent) in Europe due to the age of the cities/buildings.

    In the US, a building from the 1700s is a historic artifact to be cherished, while in parts of Europe a building from the 1500s is just the local pub.

    So, the US is often hesitant to modify these old buildings, but Europe seems to have more of a perspective of "it's a building, not a museum, let's give it new life by modifying it."

    This is just from the perspective of me, from the US


    and I think these old/new buildings are really neat!

    [–] Benjaben@lemmy.world 3 points 3 months ago* (last edited 3 months ago)

    Huh, thanks for that perspective, I (US native) was firmly in the "how could they do this?!" camp, but you're right! When old ass buildings are all over the place it's probably much more pressing to figure out how to allow ongoing development and construction, vs. how to preserve the aesthetic of yet another centuries-old brick structure.

    Edit to add: ugh I still can't get over how ugly and deliberately discordant it looks, reasonable takes be damned!

    [–] NextNoobi@discuss.tchncs.de 2 points 3 months ago (1 children)

    Another similar building is the Bundeswehr Military History Museum in Dresden, Germany

    https://en.m.wikipedia.org/wiki/Bundeswehr_Military_History_Museum

    [–] boredsquirrel@slrpnk.net 4 points 3 months ago

    All these "slam a triangle on top of an old building" things are fkn ugly though XD

    like, modern, nice architecture why not.

    https://www.youtube.com/watch?v=49UkBsiFVcY

    [–] rustyredox@lemmy.world 2 points 3 months ago

    How do the floors in the upper structure handle the sloping incline of the geometric shape? Is there just a lot of closed off volumetric slivers between the planes of the floor and ceiling and shell, or is there only one or two floors, with the upper floor having a larger rising canopy?

    [–] InFerNo@lemmy.ml 1 points 3 months ago

    RIP Het Steen though, they really did that building dirty

    [–] Thcdenton@lemmy.world 13 points 3 months ago (1 children)
    [–] renzev@lemmy.world 2 points 3 months ago

    I still can't fathom why electron needs to exist when PWA is a thing. Like, almost every app is just plain better running in a normal web browser instead of electron. Webapps never need to be updated manually, electron apps do (e.g. discord). Webapps are sandboxed inside the browser, electron has you running some rando developer's code natively. With electron, you have to trust the developers of every app to keep the electron version up-to-date to avoid critical bugs (e.g. libwebp). With webapps, if your browser is patched, then every webapp is safe. Electron also suffers from random bugs and regressions that aren't an issue in most web browsers.

    [–] NorthWestWind@lemmy.world 5 points 3 months ago
    [–] cmgvd3lw@discuss.tchncs.de 4 points 3 months ago (4 children)

    Hey I been searching for a good GTK based code editor. Flatpaks or native ones. Currently using Codium Flatpak.

    [–] uis@lemm.ee 2 points 3 months ago

    ~~QtCr~~ GTK? Why?

    [–] Ephera@lemmy.ml 1 points 3 months ago

    It's been a hot minute, since I've been to the GTK side of town, but I'm aware of Geany and GNOME Builder (I believe, the latter is focused on developing GNOME apps, but not sure to what degree).

    Well, and I guess, there's also gVim and Emacs, if you're into very keyboard-driven editors...

    [–] Rakarake@lemmy.world 1 points 3 months ago

    GNOME Builder seems cool, though, have only tested it out

    [–] Tesla@lemmy.world 1 points 3 months ago (1 children)

    It's electron based and not gtk based

    [–] cmgvd3lw@discuss.tchncs.de 1 points 3 months ago (1 children)

    I know, I wanted to try a ground up GTK one.

    [–] Buddahriffic@lemmy.world 1 points 3 months ago

    Personally, I like vim. I do miss the mini map to speed up navigating through code, but I don't think I've ever seen a random crash or have it inadvertently fill up my home dir because I've had it open for too long.

    [–] Andrew15_5@mander.xyz 3 points 3 months ago (1 children)
    [–] DieserTypMatthias@lemmy.ml 2 points 3 months ago

    Native GUIs are better.