News for hackers. Stuff that matters.
Re:“Stop Spotify from waking computer up” by the_mitsuhiko on Tuesday September 29, 2015 @07:28PM (#10300598)
It's a bug in boost which spotify uses: https://svn.boost.org/trac/boost/ticket/11368
Re:“Stop Spotify from waking computer up” by sorenjan on Tuesday September 29, 2015 @08:09PM (#10300811)
The guy with the pull request[0] that fixes the bug is team lead for Spotify's desktop client.

[0] https://github.com/boostorg/thread/pull/67

Re:“Stop Spotify from waking computer up” by TazeTSchnitzel on Tuesday September 29, 2015 @09:06PM (#10301057)
I like that they tried to use ReactOS and WINE as a reference!
Re:“Stop Spotify from waking computer up” by tedunangst on Tuesday September 29, 2015 @07:42PM (#10300677)
Back when I was a kid we called sleep() and we liked it.
Re:“Stop Spotify from waking computer up” by halo on Tuesday September 29, 2015 @08:00PM (#10300753)
Thank you so much for posting this. My PC suddenly started waking up from sleep, I couldn't figure out why (powercfg or the event log were no help) and it has been driving me crazy. Looks like Spotify was the cause!
Re:“Stop Spotify from waking computer up” by voltagex_ on Tuesday September 29, 2015 @09:21PM (#10301101)
I wonder if rohitab.com/apimonitor would see some kind of call that could be used identify Spotify as the culprit. More and more these days I'm having to turn to debuggers and tracers to find out what my computer is really doing.
Re:“Stop Spotify from waking computer up” by rplnt on Wednesday September 30, 2015 @03:39AM (#10302367)
Actually I noticed it's spotify by using powercfg lastwake, then googled around and found that they have a wake up timer set up.

But took me a while, thought it was a network, then mouse.. nothing in event log.

Re:“Stop Spotify from waking computer up” by jensnockert on Tuesday September 29, 2015 @07:25PM (#10300584)
Yeah, started happening to me last week (roughly?)

Seems like either a shitty business decision, or really terrible QA.

Re:“Stop Spotify from waking computer up” by Velox on Tuesday September 29, 2015 @08:34PM (#10300923)
That seems a bit unreasonable. How many people have as part of their tests "Put the computer to sleep and make sure we don't accidentally wake it up"? I could understand if they had some hardware or software with that specific feature, but in general, it would be a waste of time.
Re:“Stop Spotify from waking computer up” by hugs on Tuesday September 29, 2015 @10:18PM (#10301334)
Well, they now have a business case to write that test. And if I was in test automation there, I'd enjoy working on this one.
Re:“Stop Spotify from waking computer up” by rplnt on Wednesday September 30, 2015 @03:38AM (#10302363)
And that test could be reduced to "Check if we set up any timers", no complicated sleeping/waking thing.
Re:“Stop Spotify from waking computer up” by rplnt on Tuesday September 29, 2015 @06:59PM (#10300425)
I guess to have their p2p streaming active? Or do they do some computation on clients? Either way, it's very shady.
Re:“Stop Spotify from waking computer up” by mintplant on Tuesday September 29, 2015 @09:00PM (#10301039)
Or it's just a bug.

https://svn.boost.org/trac/boost/ticket/11368

"Never attribute to malice..." and all that.

Re:“Stop Spotify from waking computer up” by em3rgent0rdr on Tuesday September 29, 2015 @10:24PM (#10301351)
I heard that spotify shut down their p2p streaming in April last year.

I don't think most end users were even aware that spotify was using their users' computers and upstream bandwidth, though. I wouldn't be surprised if spotify is doing something else now under the covers, even though this sleep issue seems to be just a bug with boost.

Re:“Stop Spotify from waking computer up” by jmcgough on Tuesday September 29, 2015 @09:31PM (#10301154)
Re:“Stop Spotify from waking computer up” by bru_ on Wednesday September 30, 2015 @04:41AM (#10302556)
Why would you want to sleep when you can listen to Spotify some more?