Live data from Hacker News

Ask HN: Private Alternatives to Alexa?

news.ycombinator.com

151–160 of 166 posts

Re: Ask HN: Private Alternatives to Alexa?

#151
post #149

Earlier quoted context omitted.

It’s a bit of a stretch to say generating a hash from a file is scanning. Most computer science terms like this are metaphors, but when I create a scan with a ‘scanner’ I can create an exact copy of what was scanned. Since creating a hash from a file is a one way process that you cannot reproduce the original file from the hash output, I would not call this a scan. All you can do is match to known child porn files. B…

It’s not the creation of the hash of a single file that’s the “scanning” here, the scanning is the act of doing that to all of your files and looking for a match. Scanning is just looking over something for something specific. Scanning a hard drive isn’t copying it, nor is scanning the horizon. In the case of a scanner, I suppose it’s probably called that because it moves over a page with a bright light and camera to…

> There are types of hashes that aren’t for finding exact matches. My thesis in school way back when was building something for image near-duplicate detection using a sort of hash made out of the image features detected. The output of a neural net run on an image is also a sort of hash in a (maybe) semantically meaningful vector space. And then you can look for similar or nearby vectors. This isn’t just useful for finding one type of image.

What's the point you're trying to get at here. I think it's well understood that there can be false positives -- but can you tell me at what rate of false positives it makes this type of child abuse detection unjustified? Also can you tell me what rate Apples system would cause a false positive. If for every one billion people(hypothetically of course) that are caught with child abuse images, one innocent person is asked to unlock their phone to prove that it's a false positive to a court, I think that's a fine trade off to make. I understand it's unpleasant for that one person, but I don't think you're correctly weighing the suffering to children this could help stop.

> It’s because it makes it easy to create a population-wide dragnet for other things. It’s not hard to apply something similar to find photos taken at a protest, for example.

This is in my opinion where thinking of people on your side is wrong and fundamentally dealing with these hard and nuanced issues on the wrong conceptual level. If the government wants to create a population-wide dragnet there are a lot of other ways to also do that. If for example an iPhone was a literal perfect privacy machine it would simply be forbidden from being sold in totalitarian countries that wanted that type of dragnet.

The thing that you're fundamentally missing the point on, in my opinion, is that the thing that protects me is not the technology, it's that I live in a democratic country that has laws to stop such thing as being prosecuted for just attending a protest. The police can listen to my phone calls and read my mail _right now_ but what keeps that kind of thing from being used against me in an unfair way are the courts. Fundamentally I don't think any technological solution can save any of us if we live under a totalitarian government.

Re: Ask HN: Private Alternatives to Alexa?

#152
post #33

Earlier quoted context omitted.

That deserves its own post. This reminds me of when Samsung sent the press release that people shouldn’t discuss personal things near their television, because an unpatchable product of their allowed anyone who knew how to tap into the tv mics…

It was truly a bizarre experience. First we noticed a random intermittent ringing noise in the house and couldn’t figure out what it was. We tracked it down to the Alexa but since there are no logs or notifications we didn’t know what had just happened. It seems the person hung up when they heard us looking around so we never saw any visible indication that anything was happening. Once we figured it out, we then had…

Depending on your jurisdiction you might be able to successfully sue people who listen in on yo ur private conversations without you being aware.

Re: Ask HN: Private Alternatives to Alexa?

#153
post #148

If you can get comfortable with Siri (which does send audio to the cloud, though with iOS 15 there's more on-device capability), you should experiment with controlling Google Assistant and Amazon Alexa via Siri. I set up my phone so I can say "hey Siri ok google" and then it asks me what I want to tell google. I then say any command supported by the Google Assistant, and it passes the command through. Technically I t…

Can you share any info on how you set this up? I also have more faith in Apple's privacy policies than I do in Google / Amazon, so this could be an interesting option. Any idea if it works on an apple watch?

It's pretty easy to do: https://www.cnbc.com/2018/11/21/how-to-use-google-assistant-...

Re: Ask HN: Private Alternatives to Alexa?

#154
post #130

Someone make all offline voice recognition system, you record any catch phrase or “intents” you want the dumb device to recognize as a wake word, no internet needed. This is similar to a feature I saw in waze, you can record your own turn by turn audio directions by recording your voice saying things like “turn left” or “police reported ahead”, it’s how they offer all the fun celebrity and cartoon voices. Thoughts?

https://almond.stanford.edu

Re: Ask HN: Private Alternatives to Alexa?

#155

It's unfortunate that another comment that links to Rhasspy has been downvoted (I assume because it lacked any other context) so I wanted to mention the project with some additional context: https://rhasspy.readthedocs.io/ While I've not used the entire Rhasspy project myself (but trying it out is on the long list of things to do :) ) I have used the offline Text-To-Speech sub-project Larynx... ...and it is amazing !…

Software has been mostly solved for a while. My issue is hardware. The way I read, is that to get proper voice recognition in many circumstances, you need a microphone array (for every DIY Alexa and Dot). Now you have a PI, the array installed on it and… it just stands around looking ugly and accumulating dust? You want a case, but then from my research, cases can easily interfere with those arrays. So you need one t…

Can you use an Alexa and gut it while replacing the controller? I don’t know how it mixes the mics but you can have your case and array, hopefully the hardware isn’t dependent on the processor.

What about a controller you carry around with you that you can speak into, like phone software, a watch, or if you’re into the hacker chic look, a mounted mic you wear?

I don’t think speaking is even the best choice, it’s limiting, a phone can be a web interface, gestures over a sensor seems reasonable for basic controls and speech to text can be piped into it as commands though your phone you carry with you anyway.

If you’re controlling lights it’s less hassle though a GUI, and limiting it to voice will not make your life easier.

Re: Ask HN: Private Alternatives to Alexa?

#156

Earlier quoted context omitted.

Honestly, I find it amazing that so many people let these things into their homes. The price you pay for such little actual utility isn't worth it. I won't use voice recognition on a single device. Not only do I not trust Google/Amazon, I don't trust that I wouldn't accidentally say something that triggers it to phone a person I'm talking about, or order something expensive in the internet. Home Assistant on my phone…

> The price you pay for such little actual utility isn't worth it. It is for us. The use case that sold us is my partner cooks a lot and often needs to add reminders or update a shopping list, which is difficult with both hands dripping with raw chicken juice or dough or whatever. They were for sale a while ago for $30 a device and they are decent speakers to boot, better even than a $1k phone.

My wife and I cook every day, and at the moment we're both using Nutracheck (so we're scanning barcodes and entering weights a lot as we cook). While I occasionally have to wipe my hands on a paper towel, I don't find myself incapacitated by sauce much of the time.

Re: Ask HN: Private Alternatives to Alexa?

#157
post #149

Earlier quoted context omitted.

It’s not the creation of the hash of a single file that’s the “scanning” here, the scanning is the act of doing that to all of your files and looking for a match. Scanning is just looking over something for something specific. Scanning a hard drive isn’t copying it, nor is scanning the horizon. In the case of a scanner, I suppose it’s probably called that because it moves over a page with a bright light and camera to…

> There are types of hashes that aren’t for finding exact matches. My thesis in school way back when was building something for image near-duplicate detection using a sort of hash made out of the image features detected. The output of a neural net run on an image is also a sort of hash in a (maybe) semantically meaningful vector space. And then you can look for similar or nearby vectors. This isn’t just useful for fi…

Boy, there's a number of misconceptions here. I was considering not responding, but you're so wrong here that I just can't walk away and let you continue to spread this kind of blatantly wrong handwaving.

> If for every one billion people(hypothetically of course) that are caught with child abuse images, one innocent person is asked to unlock their phone to prove that it's a false positive to a court, I think that's a fine trade off to make.

How do you know the false positive rate yet? Not only has Apple not implemented it yet, but people have shown that

a. NeuralHash can correlate two completely unrelated, undoctored images

b. Hash collisions are be manually designed with minimal effort and changes to the source image

You're pulling this hypothetical figure out of thin air, it may as well be one in a hundred or one in a trillion.

> I don't think you're correctly weighing the suffering to children this could help stop.

That's not the problem here. If people want to continue to store photos of child exploitation on their iPhone, they can do it with the flip of a switch. Once you disable iCloud, Apple stops client-side scanning altogether. That arguement is a whole lot of bark with no bite, and unless Apple did the unthinkable (eg. store hashes for every photo you ever took regardless of it's status on iCloud), it's never going to hold water.

> If the government wants to create a population-wide dragnet there are a lot of other ways to also do that.

Oh, like they already[0] do[1]? iMessage has been wiretapped since 2013, it's an open secret at this point that Apple is deep in bed with domestic intelligence agencies. Denying this is just refusing to acknowledge a truth that has reared it's ugly head again and again and again.

> If for example an iPhone was a literal perfect privacy machine it would simply be forbidden from being sold in totalitarian countries that wanted that type of dragnet.

Countries like China, who demanded that Apple give them complete control over their domestic data[2], a request that Apple happily complied with? If they give foreign markets complete control over iPhone data in their respective countries, imagine for a moment how trustworthy their behavior is in the United States, the same country that decides if they're a monopoly or not and sets their tax rates.

> the thing that protects me is not the technology, it's that I live in a democratic country that has laws to stop such thing as being prosecuted for just attending a protest

If you think that's what they care about then you're missing the point entirely too. People aren't paranoid that they're going to be thrown in jail for legal action, that's frankly silly. What the United States wants is two things: your trust and your data. They could care less if you're cooking drugs on your property, selling weapons illegally or, in many cases, exploiting children. If they actually cared about those things, they'd divert some of the national budget to addressing those issues. Instead, they take that money and invest it in surveillance. Billions of dollars get poured into black budgets every year, with margins that constantly expand. The NSA regularly backdoors encryption standards, the FBI regularly designs exploits and incorporates them into US infrastructure. If any of our surveillance programs want to backdoor an iPhone or introduce vulnerabilities into iPhones, Apple has no recourse.

> The police can listen to my phone calls and read my mail _right now_ but what keeps that kind of thing from being used against me in an unfair way are the courts.

What keeps them from doing that is that it's a pointless, fruitless endeavor to try and criminalize their entire nation. It wouldn't be hard to arrest the majority of US Citizens, it would just be expensive and time-consuming. A much more appealing effort is to keep tabs on everything you do, everywhere you go and everyone you talk to. That way, if you become a legitimate threat to the state they can zero you before you cause any real damage. Make no mistake, every government is only out to save their own skin. You may disagree with it, or find it silly, but that's realpolitik for you.

> Fundamentally I don't think any technological solution can save any of us if we live under a totalitarian government.

Finally, your first reasonable argument (and it's a concession to the point the other commenter was making in the first place). There is no way that we're living in a world where our government lacks the competence or resources to effectively monitor us at every corner. The reason why this concerns people is that it allows governments to collect data on what kinds of photos their population has saved/synced with the cloud. Apple is given a black-box list of irreversible image signatures that the government themselves consider harmful, and there is literally zero transparency that goes into this process. We have quite literally no idea how any of this works, and have no way to verify that it isn't being abused. Your trust in Apple and the US Government has to be unreasonably high to confidently say that this won't be abused in some way.

[0] https://reason.com/2021/12/07/secret-documents-show-which-me...

[1] https://arstechnica.com/gadgets/2012/04/apple-holds-the-mast...

[2] https://www.reuters.com/article/us-china-apple-icloud-insigh...

Re: Ask HN: Private Alternatives to Alexa?

#158

Earlier quoted context omitted.

https://ai-service-demos.go-aws.com/polly check the neural then british, Amy. the "smoothness" is uncanny. the samples are "almost" there with larynx you linked. good but take kathleen (glow_tts), there is "still" some robotic in there. is this something that can be improved by tweaking the training ? this sounds really cool to be used at home

Oh, yeah, I'm definitely aware there's still a quality gap when compared to proprietary online TTS options--but I'm specifically interested in FLOSS+offline for my purposes. And Larynx is game-changingly ahead of the other FLOSS+offline options. (Probably the highest quality voice is the one that's used for the demo video narration--which when I first heard it I had to skip to the end of the video to confirm it wasn'…

yeah, https://www.youtube.com/watch?v=hBmhDf8cl0k at the end says southern female english https://rhasspy.github.io/larynx/#en-us_southern_english_fem... but the sample is NOT like the video, maybe the samples are old.

the video is a great example

Re: Ask HN: Private Alternatives to Alexa?

#159
post #111

If you use Home Assistant and want something that is easy to setup, there is Home Intent: https://homeintent.io It uses Rhasspy under the covers, and automatically imports lights, switches, fans, etc and sets up sentences and intents for you. After initial setup, it can be used without an active internet connection. All you need is some container knowledge, an extra Pi, and a good speakerphone (like a Jabra Speak 410…

Wow, this is exactly what I'm looking for, thanks so much for developing it. I'm going to give it a shot over the holidays, have a pretty big home assistant install I'd love to control via voice.

I'd primarily like to be able to turn on/off a few specific switches, set a few specific scenes and ideally play a few playlists (squeezebox integrated with home assistant). Would creating scripts in HA and then calling them from Hi be the way to go for customising without building custom components?

If this works well I'll be keen to add a few cheap pis plus ps3 eye cameras around the house.

Re: Ask HN: Private Alternatives to Alexa?

#160
post #96

Earlier quoted context omitted.

Software has been mostly solved for a while. My issue is hardware. The way I read, is that to get proper voice recognition in many circumstances, you need a microphone array (for every DIY Alexa and Dot). Now you have a PI, the array installed on it and… it just stands around looking ugly and accumulating dust? You want a case, but then from my research, cases can easily interfere with those arrays. So you need one t…

How about putting a string of microphones around the room, say at the top walls? You can get I2S microphones (here's a breakout for one [1]), so you'd just need a bundle of 6 wires running around the room. That breakout is $6.95 with price breaks to $6.26 at 10 and $5.56 at 100 which is probably a bit pricey for this application, but really you only need the breakout to make it easy to play around with it on a breadb…

you mean like those string led lights? how about adding the microphones to the same strip for power and then an attached esp32 for data to a central one? that sounds nice
Post reply on HN