Hanging out with Mark Cuban and hackers at HackDFW

Using Nide to turn Intel Edison into a web-based IDE


I have been thinking for some time it would be fantastic to be able to edit code files directly on Intel Edison via a web browser over the local network. Fortunately, I discovered a powerful and elegant Node.js based web IDE called Nide which makes this workflow completely possible and easy to set up!

Installing and using Nide on Intel Edison

First, open a terminal to your Edison and install the Nide using NPM:

$ npm install -g nide

and then, in the directory where your code is located, call:

$ nide init
$ nide -b

Note: You must append the “-b” option. Nide’s default behavior is to open a web browser in place (which Edison doesn’t have), resulting in errors. Adding the “-b” flag indicates you want to run Nide without a browser.

Next, you will see something like this:

Nide running at http://localhost:8123

Assuming your PC is on the same network as your Intel Edison, you should be able to navigate to the IP address of your Edison (which must be online for this to work) and append the port (in the above example, 8123) to see the Nide editor.

Note: If you are unsure of your Intel Edison’s local IP address, run “$ifconfig” in your Edison’s terminal and look for the IP address associated with “eth0.”

Once you do that, you can edit your Intel Edison project code directly via your web browser, no need to deploy code, it saves automatically in place as you edit!

Intel IoT Roadshow Seattle Highlights

Intel Edison and Cylon.js Guide

It is absolute necessary to update libmraa before running the Cylon.js examples

echo "src mraa-upm http://iotdk.intel.com/repos/1.1/intelgalactic" > /etc/opkg/mraa-upm.conf
opkg update
opkg install libmraa0
opkg upgrade

The purpose of this guide is to provide a working Intel XDK IoT Edition project with snippets to help you use 10 of the useful sensors which are packaged by default in the Seeed Studios IoT DevKit.


[Read more…]

Highlights from VTHacks

Solving “Partition failed – Couldn’t unmount disk.” When Flashing Intel Edison on OS X



The getting started instructions for Intel Edison instruct you to open a terminal and delete the contents of /Volumes/Edison. Unfortunately, if you leave the terminal window open while attempting to partition your Edison ,you will see this error. The solution is simple: Close the terminal before trying to partition the disk!

Is React Native Cross-Platform Snake-Oil?

Cross platform native UI, you say?

I watched the video on React Native which hit the front page of Hacker News the other day and remain pretty skeptical about the promises being made.

Having built both native iOS and Android experiences (as well as cross-platform applications in Cordova / Phone Gap and Flex 4), I am not sold that the key problems preventing developers from producing a truly unified codebase are likely to ever be solved completely in a “Learn Once, Deploy Anywhere” manner…There will nearly always be some level of customization required, Developers and designers will nearly always need to have direct knowledge of each platform target.

The obsession with attempting to streamline native mobile development is well-placed…I fully understand the pain involved in trying to manage Android and iOS development simultaneously…However, it is unlikely that React Native is going to be a “magic bullet.”
[Read more…]

Introducing “Edison” – A CLI tool for doing simple tasks on Intel Edison

Just published beta v1 of my new Node.js / Commander.js-based CLI tool “edison.” I wanted to give users a way to do something as simple as “edison blink” in order to get started with the board.

In the future I hope to add much more functionality and get others involved in upgrading the tool to automate more common tasks.

Just run “npm install -g edison” on your Intel Edison to install the tool. Then try out “edison blink” or “edison status.” Something seems to be wrong with libMRAA right now so I haven’t gotten my board blinking yet. It’s in beta…