News for hackers. Stuff that matters.
Re:NeutralinoJS: Lightweight Electron alternative using nati... by kitsunesoba on Wednesday February 26, 2020 @01:19PM (#22425652)
The Spotify desktop client is architected such that each pane in the main window is essentially its own separate webapp, complete with duplicate (and triplicate, quadruplicate, etc) dependencies. They did this so their various teams don’t have to talk to each other.

Desktop Spotify has been a resource hungry mess for years now. It used to be known for prematurely wearing out SSDs by constantly writing stuff (cache I think?) to disk.

Re:NeutralinoJS: Lightweight Electron alternative using nati... by csnover on Wednesday February 26, 2020 @01:35PM (#22425788)
> It used to be known for prematurely wearing out SSDs by constantly writing stuff (cache I think?) to disk.

They were constantly vacuuming some SQLite database.[0]

[0] https://arstechnica.com/information-technology/2016/11/for-f...

Re:NeutralinoJS: Lightweight Electron alternative using nati... by felubra on Wednesday February 26, 2020 @03:27PM (#22426952)
Does anybody know if this was fixed?
Re:NeutralinoJS: Lightweight Electron alternative using nati... by montag on Thursday February 27, 2020 @04:10AM (#22431801)
Yes, it was.
Re:NeutralinoJS: Lightweight Electron alternative using nati... by atombender on Wednesday February 26, 2020 @01:42PM (#22425852)
They also have this problem where a "Spotify Helper" can crash constantly, and you won't notice it unless you look at the process tree.

On macOS, this will start a ReportCrash process, and end up taking up an entire CPU core just repeatedly crashing, reporting a crash, restarting, etc. It also significantly impacts battery life.

This happens every day for me. It's arguably worse than the SSD-killing SQLite vacuum problem they had.

Re:NeutralinoJS: Lightweight Electron alternative using nati... by derefr on Wednesday February 26, 2020 @06:41PM (#22428751)
I haven't seen this one personally, but I get the same crash-loop from the Discord app.

Weirdly enough, the crashes don't seem to affect any of the app's functionality.

Re:NeutralinoJS: Lightweight Electron alternative using nati... by ajxs on Wednesday February 26, 2020 @04:40PM (#22427651)
> They did this so their various teams don’t have to talk to each other.

This is absolutely dreadful. I've unfortunately worked in multiple organisations where teams deconstructed their web-based products into microservices for this very reason.

Re:NeutralinoJS: Lightweight Electron alternative using nati... by city41 on Wednesday February 26, 2020 @11:02PM (#22430324)
I have found it to be rather buggy. I sometimes can't get songs to play, and other times can't get them to pause :) I switched to using their web interface in Firefox which has been totally rock solid.
Re:NeutralinoJS: Lightweight Electron alternative using nati... by fmakunbound on Friday February 28, 2020 @01:45AM (#22440985)
> They did this so their various teams don’t have to talk to each other.

This is just insane.