this post was submitted on 18 Sep 2023
541 points (92.1% liked)

linuxmemes

21392 readers
1405 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 members of the community for any reason.
  • 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.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 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, and wants to interject for a moment. You can stop now.
  •  

    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 fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] woelkchen 24 points 1 year ago (5 children)

    it’s hard to do without them

    Just load the wrapped website in a browser.

    [–] [email protected] 28 points 1 year ago (2 children)

    Or even better, encourage native apps.

    [–] 3laws 7 points 1 year ago (1 children)

    Or even better, steal their source code. 😈

    [–] [email protected] -2 points 1 year ago

    That's not better at all.

    [–] [email protected] -1 points 1 year ago (1 children)

    You mean native Windows and macOS apps? Because that's what you'll get, mostly.

    [–] [email protected] 1 points 1 year ago

    Or Linux, yes.

    [–] [email protected] 7 points 1 year ago (1 children)

    That works for some apps but not anything that needs access to the filesystem and/or devices. Things like VSCode or mod managers, etc.

    [–] woelkchen -2 points 1 year ago (1 children)

    That works for some apps but not anything that needs access to the filesystem and/or devices.

    Granting some application with a bundled ancient and insecure Electron build is insanity.

    Things like VSCode

    Luckily there are plenty of native source code editors out there, for example Kate.

    [–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

    Granting some application with a bundled ancient and insecure Electron build is insanity.

    Granting some application with a bundled ancient and insecure library of any kind is bad. That is not a problem exclusive to Electron it applies to static builds of any application ever made.

    Luckily there are plenty of native source code editors out there, for example Kate.

    Okay but that's not the point. You said, "Just load the wrapped website in a browser." Some apps won't function like that. The fact that alternatives exist is irrelevant to what I replied to.

    [–] woelkchen -3 points 1 year ago* (last edited 1 year ago) (1 children)

    Okay but that’s not the point. You said, “Just load the wrapped website in a browser.”

    I replied to "it’s hard to do without them". So yeah, opening wrapped websites in a browser for most Electron apps and using native alternatives for the rest is totally feasible and absolutely not beside the point.

    [–] [email protected] 2 points 1 year ago

    Yeah, it's feasible to do that. And? My point was that you can't just rip out the web portion of an app and always expect it to work in a browser. That's it. What you said is irrelevant in the sense that it has no effect on whether the web portion can run in a browser or not.

    [–] cley_faye 6 points 1 year ago (2 children)

    You're aware that Electron app have access to much more stuff than what you can do in a browser? Like, important, functional stuff?

    Getting really tired of "this is just a website" approach. It's starting to feel like /r/programmerhumor here.

    [–] [email protected] 1 points 1 year ago

    just because electron apps have access to system features that browsers restrict access to for security reasons doesn't mean they're not websites in a trenchcoat

    [–] woelkchen -1 points 1 year ago* (last edited 1 year ago) (1 children)

    Are you aware that a huge chunk, most likely the vast majority, of Electron apps don't use all that and are just wrapped web sites?

    [–] [email protected] 0 points 1 year ago (1 children)

    a huge chunk, most likely the vast majority, of Electron apps [...] are just wrapped web sites

    [citation needed]

    [–] woelkchen 2 points 1 year ago (1 children)
    [–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

    If the question was "how many repositories on GitHub mention the word electron", your answer would be correct. As it stands, citation is still very much needed.

    [–] woelkchen 3 points 1 year ago (1 children)

    If the question was “how many repositories on GitHub mention the word electron”, your answer would be correct. As it stands, citation is still very much needed.

    That is a valid citation. You can count yourself how many of those repositories are just for wrapping specific websites by random people. If you think I'm wrong, put your money where your mouth is and provide a citation yourself.

    [–] [email protected] -1 points 1 year ago (1 children)

    The cited source does not prove your point, so it is not a valid source. If you make a statement, you go prove it. Until you do, I'm gonna assume it to be false.

    [–] woelkchen 2 points 1 year ago

    The cited source does not prove your point, so it is not a valid source.

    Your laziness to count repos is not my fault. 🤷

    If you make a statement, you go prove it. Until you do, I’m gonna assume it to be false.

    OK, then I'm continuing to assume your statements are false because you can't even be bothered to provide a citation why mine is not valid. Bye then.

    [–] [email protected] 3 points 1 year ago

    I guess my pun was lost on your computer mind too, I'll go back talking to my physics pals