Hacker Newsnew | past | comments | ask | show | jobs | submit | jhewitt123's commentslogin


Cool, I have been experimenting with Google's VoiceHAT board, and the Picroft open source voice control from Mycroft which runs on Pi, both of which are fairly straightforward to set up to control real world devices. How does one do this in Snips?


You can code any handler you want using your favorite language, the output of the Natural Language Understanding is sent on a MQTT bus

you need to add a MQTT listener in your code (there are many libraries in many languages), you can see an example on the documentation https://github.com/snipsco/snips-platform-documentation/wiki...


Not very familiar with MQTTother then that a few micro boards I use like the ESP8266 can comeready for it. I mean just set up a voice key word to toggle a pin on the raspberry Pi to control a relay. With the VoiceHAT you just setup a word in a Python program, simple. In Picroft, you do a similar thing. Here I toggle an LED with the VoiceHAT; for example, https://plus.google.com/115226830543207487087


MQTT is a simple protocol for publishing/subscribing to events (over a network if you like). The Python clients on https://github.com/mqtt/mqtt.github.io/wiki/libraries look like they all have examples of a simple "run this python function whenever XYZ message happens" program.


It is the same with our platform, you can bind to the "hotword detected" message and run the code you want


I'd love to try it out, just don;t know how to doit honesty, nor how to add an MQTT handlerfor that matter. I can install and run programs on the Pi, and wire relays to pins, that's about it.


Take a look at https://github.com/snipsco/snips-platform-documentation/tree..., it is as simple as

pip install paho-mqtt

and writing a dozen line of Python!


I already run an MQTT broker for home automation stuff. How hard would it be to tell Snips to talk to that?


It is actually configurable, and as the platform is open and extensible it won't be too hard. For now you can have your broker send some messages on our MQTT bus, but later we will make this fully configurable


I've been trying to get a VoiceHAT. Any pointers on buying one without the magazine?


That is a tough one. It was difficult for me to even get the outsput schematic on the voice HAT to control hardware. Working with a guy named Shabazz eventually figured out a presumptive mosFET circuit google must be using. The best teardown guide I have seen is here: http://hackaday.com/2017/05/30/diy-google-aiy/ with some more history on the outputs here: https://www.element14.com/community/community/raspberry-pi/b...


I'm more interest in trying the Asus Tinker right now then a wireless Zero, still cool though. Might you have any special knowledge on this alleged Pi-Killer ? https://www.asus.com/uk/Single-board-Computer/TINKER-BOARD/

Here's a cool link for you pointing to some new mitochondria research, http://www.cell.com/molecular-cell/fulltext/S1097-2765(16)00...


I think each submission should be judged on its own merit. HN might do better to ban crap comments like yours


Who's got time for that? There's a reason we consider the source. The Bozo Bit works.


The source was Eugene McCarthy from macroevolution.net. I took the time to analyze, weigh, summarize, and find a place to publish it. Physorg took it at face value from me, and published it.


Physorg took it at face value from me, and published it.

Well, now I understand why you seem personally offended by the call to weigh the evidence, which includes weighing the evidence that submissions from PhysOrg often have the Bozo bit turned on. The previous discussion in this thread already linked to a much better write-up on the substance of the issue

http://freethoughtblogs.com/pharyngula/2013/07/02/the-mfap-h...

by a developmental biologist who understands and explains why this speculative hypothesis makes no sense. Read up more about biology before summarizing next time.


I'll let physorg handle themselves on that. I am sure you know more about their content history here on HN then me. Either way, your "crap submission" comment was to me so I responded, as you no doubt would yourself to a similar attack. You will be seeing a lot more science from me on physorg, and elsewhere, since I just got started http://hewitt123.com/blog/?page_id=45 Blocking it hurts your community here a heck of lot more than than me, so chill out and tune in. Pharngula made a nice composition, did his post start this thread? If he was honest he would have said what I did, biology and genetics can't prove or disprove this right now, and that is among the reasons I raised it for intelligent discussion in the first place. Until we can watch, and sufficiently understand, chromosomal translocations, pairings, matching, splittings etc. during meiosis/recombination, criticism from ignorance best shut up and learn something. Professional scientists calling this guy an idiot, or pig, or saying, like pharygula, that this guys pants are probably full of semen, are those that you would be better served in blocking to improve this forum. Pharygula calls for an experimental cross between a human and swine, that's not even what was proposed here as an explanation of human origins.


https://www.youtube.com/watch?v=IIrE9TaC2rc Seems Jimmy Kimmel liked it.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: