I love moving electrons
Filtered Exception Catching with Bluebird Promise
The promise pattern in javascript is a mighty abstraction. Apart from the obvious advantage of writing sequential asynchronous code in less error-prone synchronous manner; it provides inherient error handling. Bluebird's promise library provides potpourri of features including filtered exception catching.
Using Docker for Building Java Projects
I first started using Docker mostly for development. It is quite facilitating. Recently ran into a scenario where I needed to compile and package couple of Java projects. With docker I can do just that without having to install JDK and Apache Maven on my machine.
Java Rudiments
I use Maven to bootstrap new Java project with my chosen flavor of artifacts (and framework/libraries), thereon all aspects of development are managed via Eclipse IDE. These modern tools have certainly made our lives easy. Nonetheless, it is essential to understand underlying rudiments.
Windows Environment Variable Stuff
Let’s try setting up environment variables on Windows OS (I am on Windows 8 box) from a command-line. Before we start some pointers:
List of useful shell commands
Interfacing wCK servomotor with Python & Arduino
I have been playing with wCK Servo from RoboBuilder for a while now. This servo packs quite a punch:
Automating remote file access through SSH with Python using Paramiko module
The scenario - I need to view/download log files from remote servers on a regular basis. The task of having to SSH to multiple servers to download log files was aching for some automation. This led me to Paramiko module, it "implements the SSH2 protocol for secure (encrypted and authenticated) connections to remote machines", bravo! just what I needed. Download Paramiko module here.
Repost : What it's Really Like Working with Steve Jobs
"Not only did he know and love product engineering, it's all he really wanted to do. He told me once that part of the reason he wanted to be CEO was so that nobody could tell him that he wasn't allowed to participate in the nitty-gritty of product design. " - Glenn Reid
Why the ARM architecture is shaped the way it is
Wilson concludes: "Hermann Hauser says he gave us the things Intel could never give us, no resources, no time and no money."
NS in NSString stands for NeXTSTEP
Talk about legacy!
Stumbled upon bl.ocks.org
bl.ocks.org make code previews out of Github gist. This gist: 4147418 can be viewed like so: http://bl.ocks.org/4147418. Make sure you have a index.html in the gist, the landing page. Neat stuff aye!
Simple wireless link between Arduino and a desktop using Bluetooth
Bluetooth modules come really cheap these days, affordable alternatives to Xbee. I got my hands on a BTM-182 from Rayson. Like most Bluetooth modules, it comes with Serial Port Profile. SPP is basically a serial port emulator; in a nut shell - once its paired with a computer, you get a virtual COM port to play with.
Arduino Board as USB to Serial Converter
With simple hacks the Arduino board (with USB programming interface) can be used as a USB to serial conversion device. There are two methods to do this.
The folks at Rugged Circuits show 10 ways to destroy an Arduino!
Rugged Circuits make Ruggeduino, Arduino on steroids - with overvoltage protection, overcurrent protection, ESD protection. Great stuff for people like me, "oops! I made a boo-boo". Hat tip to Rugged Circuits for showing us 10 ways to destroy an Arduino AND methods to prevent them. Read all about it.
Minimalistic PHP web directory listing
wls - is a minimalistic approach to a PHP based web directory listing.
init