News for hackers. Stuff that matters.
Re:Psst: Fast Spotify client with native GUI, without Electr... by ramesh31 on Monday August 16, 2021 @09:40PM (#28205118)
>It's a shame we have a handful of people who can do this as a hobby project yet multi billion dollar companies with the money and manpower to do this don't, they chose Electron

This is a purposeful decision though. How else could they track a thousand different metrics about you without 20mb of Javascript?

Re:Psst: Fast Spotify client with native GUI, without Electr... by brundolf on Monday August 16, 2021 @10:47PM (#28205611)
Why would an Electron frame allow them to track you more easily than a native desktop app that has access to your whole (userspace) system?
Re:Psst: Fast Spotify client with native GUI, without Electr... by pritambaral on Tuesday August 17, 2021 @01:40AM (#28206572)
Not your parent. Just clarifying.

1. Electron apps also have access to "your whole (userspace) system".

2. Electron has npm, which makes it ridiculously easy to add analytics code to your app. See, for example: https://www.npmjs.com/package/electron-analytics

Re:Psst: Fast Spotify client with native GUI, without Electr... by zingplex on Monday August 16, 2021 @10:22PM (#28205409)
If it's just for tracking, why not ship a JS runtime and run the tracking in a separate thread. No electron needed.
Re:Psst: Fast Spotify client with native GUI, without Electr... by pritambaral on Tuesday August 17, 2021 @01:42AM (#28206582)
Too much work. With Electron, one can just `npm i electron-analytics` and done. Without Electron, libraries like that will have to be patched (at least) to be usable with the custom runtime.
Re:Psst: Fast Spotify client with native GUI, without Electr... by stjohnswarts on Tuesday August 17, 2021 @01:33AM (#28206522)
but electron does have a JS runtime included?
Re:Psst: Fast Spotify client with native GUI, without Electr... by tomc1985 on Monday August 16, 2021 @10:08PM (#28205311)
Oh, don't forget the legions of cheap javascript newbs fresh out of boot camp that they can hire!