Bonjour with Macruby - bonjour

I understand using Dnssd within ruby but it seems that dnssd does not load in Macruby. I was curious if anyone knew of something like dnssd or could give an example way to browse bonjour on a network using macruby. Ive been told this is possible through the scriptingbridge but im unsure how this actually works.

Related

How to connect HC-05 to MSP430

I am trying to use Bluetooth module HC-05 with MSP430 by Texas Instrunments.
I want the bluetooth module to collect data wirelessly from an android phone via bluetooth. Can anyone please help me?
You will find an answer and the end. But first I need to write a few introducing words.
You are new to SO and, you might wonder why no one answered your question.
If I should guess: IMHO there could be two main reasons for this.
Your question is not specific enough:
What kind of TI MSP430 do you intend to use? I suppose you use a launchpad G2(?).
What have you tried so far? You can not expect someone else to invest some time if you did not try so solve your problem yourself. Perhaps it easy, if you only try. The people here love to help, but they expect you to be interested in the problem.
What is your backgroud: Are you a programmer but do not know how to connect the hc05 to the MSP or are you fit in electronics and connecting MCUs? Are you a complete beginner?
There are so much cases and I would not have the time to handle all.
I used google to search "MSP430 HC-05" and found a lot of usefull stuff. The first hit is a project working with a Energia IDE, a HC-05 module, a G2-Launchpad and even an Android phone. I and probably other people do not understand why you did not try to search the internet for information.
Ok! enough wise words! ;-)
Here is the promised answer:
You find an example project with the following URL: http://www.electronicwings.com/ti-launchpad/hc-05-bluetooth-module-interfacing-with-msp-exp430g2-ti-launchpad
More results can be found: including (Youtube) Videos
- Keywords: HC-05 MSP430
Please try to work with that material and feel free to ask furter questions here.
But please be sure to be a bit more specific. (Code examples, error messages, your configuration and hardware and what you've tried so far.)
Cheers PPK

Angular 4 and Node.js combination

So as the title implies, I have a little problem. I'm developing app with Angular 4 and I would like to us it in combination with Node (mainly for API). So I tried to start both servers, and use it that way, but as i'm currently developing at local machine, so maybe there is better alternatives? Something like MEAN (MongoDb Express Angular Node) combination, but all of those are quite hard to use, there is lack of documentation, and those uses angular 2 instead of 4. I prefer MEAN stack, but I can't find one that are maintained and up to date.
Thank you for your help.
EDIT:
As some answers implied I will properly describe what I did to achieve what I need.
Here is what I have tried:
Having two tools (Node and Angular) to communicate to each other via http protocol (actually this kind'a worked, but node wasn't stable, it broke with connection error to db and Angular would not get response from it until it crashes)
Tried to use Angular proxy settings to enable link rerouting to have wildcard for all links that starts with /api/
Installed few MEAN stacks, tried to test it's potential and decided that it's way to over the limit to achieve what I want.
Tried to combine two tools into one by starting both at same port (as you might imagine, this broke both of them).
You can use MongoDB in your API whithout problems, and also it's not that hard to use it, its really more simple thant DataBases that have relational objects, like SQL, PostGRES and so on. I would recommend Hapi instead Express, but Express have a lot of information on the web, so if you are not confortable with re-search in documentation, Express would be you better option.
When i started developing in node.js it take me time to figure out that tutorials and videos only give me headache, old videos that doesent use the same Frameworks as i do, or not in the same version. So i started to take deep into the documentation, i used to pass more time reading than writing code, and it help me a lot.
The most common/simple is MEAN API, find something you like and stick with it ^-^

Alexa Skill offline

Does anyone here have experience building an Alexa Skill that can be accessed if the device is not online? Need something for a demo and trying to understand the possibilities.
I have built something on SaySpring, but it just does not quite have the "wow" effect. Thanks!
If you use to have the Lambda function on AWS, than it will not working in the offline mode.
But:
There is the possibility to create a own Lambda Backend at a url you want using https. Thats quite difficult and I never tried it correctly before. Have a closer to it here.
It would be great, if you can share your experience, because I'm looking forward to a individual solution like that.

How to create a controller and display in browser in zend?

i am new in zend framework. Please help me to create controller and how navigate in browser.
Not the best question, because it shows you haven't searched much. Let's search together:
framework.zend.com
StackOverflow
StackOverflow again
StackOverflow 3
So either search better or please try to explain your need with more details and show what you have already done.
Yeah, this is pretty vague.
I'm assuming that you have some experience with computers, computer programming, the Linux operating system, and developing for the web. Object oriented programming principles, as well as some awareness of php itself are also going to be very helpful.
Do you have an environment to work from? A webserver that's capable of running php? You'll need that, as a bare minimum first. Luckily we live in the days when it's easy to set up virtual environments for that. Try puphpet. It's awesome. While you're at it, make sure you get MySQL, as you'll need it for many of the tutorials provided by Zend (and others).
https://puphpet.com/
Have you downloaded the framework?
If you use the zf tool to create a project, as described in the link below, you'll have a basic application that includes a Controller and that you should be able to browse to.
http://framework.zend.com/manual/1.12/en/learning.quickstart.create-project.html
That should be enough to get you going.

MSN API for Objective-C

I would like to know whether if there is any Objective-C MSN API. I have searched for a while and could not really find one.
And if not could somebody tell some good place to look to start the protocol from scratch. Some points on how to start with.
I found this site mentioning details about the protocol. But still not sure how to start with.
http://www.hypothetic.org/docs/msn/index.php
Thank you and Kind Regards,
Tharindu
I think you might be out of luck. MSN is proprietary so APIS are going to be thin on the ground and those that exist will be reverse engineered.
Having said that, Pidgin is an open source IM client that supports MSN. You could use its core library (libpurple) which is written in C and hence compatible with Objective-C.