Discover Zeroconf/Bonjour Nodes? - bonjour

Is there an easy way to scan a given network for Bonjour/Zeroconf services?
I have a set of computers (Linux, Windows, Apple) and would like to auto-generate a list of all available Zeroconf-capable, networked nodes in my Intranet.

If using Linux and the Avahi-Daemon, it looks like Avahi-Discover is worth an investigation.
You'll obviously have to download/install/launch it though. On Ubuntu/Debian, you can use the following:
% sudo apt-get install avahi-discover
And launch GUI with:
% avahi-discover

I haven't used it, but you might want to take a look at the Mono Project's Zeroconf library.
It looks like they have a query tool mzclient that may help you.
If nothing else, you should be able to build something in C# using that library.

By far the most reliable method (I've tried all these, building a MDNS capable embedded product) is to use the opensource 'Bonjour'. This is the mDNSResponder daemon, and its available here:
http://opensource.apple.com/source/mDNSResponder/mDNSResponder-320.10/
mDNSResponder package has a Java JNI library and examples which let you poll all the available services.

#EdH, thanks for your post. I up voted it. I haven't tried Mono.Zeroconf yet, but I am positive that it will work since Bonjour/Zeroconf has changed very little in the last couple years. I am only looking for basic functionalities like service publish and discovery. The mzclient seems a nice location to start with. I dug out the git location for the source: mzclient on github . Hope this helps others looking for a similar solution :-)

Related

Using Yeoman/Grunt.js with FlatFile CMS

I'm about to start devlopment of a new website and want to use yeoman/grunt to speed up development/testing. However the site needs to be build with limited CMS functionallty with a flatfile cms such as http://getkirby.com/. Now I'm a little confused as to how to use these tools together?
Anyone had previous experience with this or have any tips?
Thanks
I have a Kirby site with a grunt taskrunner for developement-stuff. I use coffeescript, sass, minification, linting, autoprefixer etc. You could have a look at my current grundfile.coffee or an earlier version of my gruntfile.coffee. I guess they are a good start point - you could pick some tasks you need, and add your own stuff.
But i'm not sure if it answers your question, because all this is nothing Kirby-specific, except the file-paths. So if this is no help, you could specify your question/issue.

XLET - how to create a simple xlet MHP javax.TV

I'm trying to create my first xlet project.
Can you help me?
I don't know which library I need to download.
What kind of project I have to create? (I'm using netbeans)
This site has a lot of useful info:
http://www.interactivetvweb.org/tutorials/javatv/first_xlet
You can use XletView to view your Xlet.
http://sourceforge.net/projects/xletview/
You will need to get a hold on the various API's, which is somewhat troublesome (I've heard).
But there are also other ways of getting them. For example, if you own PowerDVD, you'll be able to find BDJ.jar somewhere in that package. Add that to your classpath, and you'll be able to compile your Xlet.
If you're running Windows, you can probably develop Xlets with JavaME SDK 3.0 too (sadly not available for Linux though).

good practice for sourcing embedded linux work?

This is probably a really silly question but my work is kind of new to embedded linux, we aren't really sure how we should source our code.
We'll be getting a package from free scale and if it's anything like our omap package it'll prabably be pretty big. Is it a good idea to just source everything, or split it up into different repos, should we leave some stuff out?
We do have some experience with windows ce, we never really sourced everything, just the stuff we used in the board support package and checked it out over the wince600 folder.
There are too many variables to give a definitive answer.
Thus, the correct answer depends on
your application and how heavy your changes are
your build system
You're talking about freescale and linux embedded, maybe you want to check openembedded . If you use this or any similar solution, than you don't need to put under versioning anything but your sources and your recipes.
But if you're customizing the way you build the system, than I'd definitively put the sources and the build scripts under versioning.

Setting up an Eclipse CVS repo using a cloud service

I am currently working on a project and realized it would be much more efficient if I utilized the CVS feature in Eclipse since I am working across 3 different computers in a given week. I have searched and searched but there is no simple set up walk through or best method approach on how to do this.
I want to utilize the CVS feature but have no clue what the best method would be. I don't have access to a server, so i have been looking into turning an old laptop into one, or using a cloud hosting site but have no clue how to begin. Is this even possible? If anyone can point me in the right direction, it would be greatly appreciated, thank you.
Google for "cvs hosting" (Ignore the drug store). I recommend you host your source rather than have it on your machine if you care about it.
Once you have it hosted, install CVS into Eclipse (recent versions don't come with it anymore) and then follow the documentation in the Eclipse help. It's pretty straightforward.

Where can I find VBSQL.VBX?

I've been given the task of re-engineering a really old VB3 application. As part of this I have an XP virtual workstation upon which I've installed VB3 Pro, so I can create a running verison of it to help me emulate it, but the VB3 app uses a control called VBSQL.VBX, which didn't come with VB3 Pro, apparently. I've checked Microsoft's site, but there are only seven pages in the search result for VBSQL.VBX, and none of them offers an install.
Does anyone here have any idea where on earth I can obtain VBSQL.VBX?
Via http://support.microsoft.com/kb/111490, "Microsoft SQL Server Programmer's Toolkit for Visual Basic".
It looks like they offer the .ocx here: http://support.microsoft.com/kb/186893, possibly there is a VBX as well?
Whenever I run into an issue like this I usually end up creating a mock object with the same public members as the class in question. Sometimes it works out better as I can fake the data I want to pass around so I can run tests that would otherwise prove difficult.
If you can't find this file this is the approach I would recommend.