Live data from Hacker News

Bop Spotter

walzr.com

341–350 of 405 posts

Re: Bop Spotter

#341

Earlier quoted context omitted.

Had to re read that last sentence several times, initially assuming you were talking about the biker/dive bar down on Valencia and Duboce.

That's funny, I was heading uptown the other day, sipping on an elixir and thinking about shaving another kilowatt off my bill, when some casanova got out of a phone booth and asked me for directions to the daytona 500 club or some other make out room. I lolo'd out loud and docs clocked him in the teeth. Pretty sure he had to change his napper tandy after that.

you really clinched the zeitgeist of the mission district, are you a professional writer, part time? I'm just grateful to be in your orbit. that kind of success will cost you a mint. I'd wake up in a fit of delerium. What's the ABV of that drink you just gave me? But okay, let's get down to brass tacks. it's last call, and I've got work to so I'm not going to go on a bender. I'm not a flying pig so let's just sit down where the willows and the sycamore trees meet and hideout there and wait for someone to give us last rites.

Re: Bop Spotter

#343
I hate that my first thought was "why isn't the apple music button monetized with their affiliate tag". Thanks for doing something cool for cool's sake.

Re: Bop Spotter

#345
post #304
post #294

Earlier quoted context omitted.

That's so cool, I gotta check out this Tasker thing! >when it boots again Do any Android phones turn on automatically when sufficiently charged? The ones I've had stay switched off but with a little battery charging animation. (I think my old iPhone auto powered on when charged past a certain percentage though.)

I used an old Motorola phone for this, and yes, if it dies it won’t turn back on again until the power button is pressed. I Googled around and there’s a way to disable this behavior though, through an ADB command. The bad part is that it supposedly might get stuck in a boot loop – it tries to boot but there’s not enough battery yet, so it dies and keeps trying to boot. Over and over. I made a second Tasker automation…

Most android phones have a feature that lets you set a time at which the phone should turn itself on at a certain time. I used this as a last resort in a project with similar requirements, but I don't remember if we ever ended up testing if it worked after fully draining the battery.

Re: Bop Spotter

#346
post #278
post #250

Some details on how this works: https://twitter.com/rtwlz/status/1840821351055311245 The phone has a Tasker script running on loop (even if the battery dies, it’ll restart when it boots again) Script records 10 min of audio in airplane mode, then comes out of airplane mode and connects to nearby free WiFi. Then uploads the audio file to my server, which splits it into 15 sec chunks that slightly overlap. Passes each…

A bit disappointing that this sends audio recordings to a server. Even if it's not the intention, that leaves so much possibility for abuse. Why not use a Pixel phone with on-device song matching? It also keeps history on device. Getting that data out of the app might be a little tricky, but should be possible.

I don't get what you mean by "possibility for abuse". The author abusing it? Well if they wanted to do that they wouldn't have built the whole music detection thing and wrote about it on the internet. If Shazam gets breached or turns evil, we have infinitely bigger problems than this one phone on this one street. If the author's server gets hacked, the hacker wouldn't care about this - the hackers who want large surveillance networks hack phones and IoT crap, not random people's home servers.

And honestly, as a commentary on how commonplace and normal mass surveillance has become, which this project seems to be, I quite like the threat of "there is a box out there somewhere that sends everything it hears to a server and it does this not for good or evil, but because one programmer was bored and thought what if I could know what song was playing in the cafe across the street".

Re: Bop Spotter

#348
post #304
post #294

Earlier quoted context omitted.

That's so cool, I gotta check out this Tasker thing! >when it boots again Do any Android phones turn on automatically when sufficiently charged? The ones I've had stay switched off but with a little battery charging animation. (I think my old iPhone auto powered on when charged past a certain percentage though.)

I used an old Motorola phone for this, and yes, if it dies it won’t turn back on again until the power button is pressed. I Googled around and there’s a way to disable this behavior though, through an ADB command. The bad part is that it supposedly might get stuck in a boot loop – it tries to boot but there’s not enough battery yet, so it dies and keeps trying to boot. Over and over. I made a second Tasker automation…

You can virtually power down a phone in Tasker without turning it off by shutting down all antennas and downclocking the CPU and GPU, disabling background tasks etc.

Re: Bop Spotter

#349
post #141

Love that - thought about sharing your source for any of us interested in doing this in our city? Fund idea

I bet the hardware will take a bit more - the script could be just something like https://github.com/loiccoyle/shazam-cli running every minute and, when there's a valid result, upload to your backend/Sheets API/Telegram bot etc

Thanks!
Post reply on HN