If you don’t want to check or remember the IP address of Raspberry Pi on LAN

The flexible way: Set up avahi / zeroconf. Zeroconf is 'a set of techniques that automatically creates a usable Internet Protocol (IP) network without manual operator intervention or special configuration servers.'[3]. Avahi is an implementation of zeroconf which 'ships with most Linux and *BSD distributions' [4], but not the Raspberry Pi's Debian distribution. Zeroconf will … Continue reading If you don’t want to check or remember the IP address of Raspberry Pi on LAN

How to access Ruby web server such as WEBrick or Puma (Rails framework) from other computers on LAN

Alright, so you are familiar with rails s -b IP_ADDRESS -p PORT To run the server on the localhost is simple (The default binding IP is 0.0.0.0) rails s To make it accessible from another computer on the LAN, you will need to specify your IP address and the port (normally port 80). If your … Continue reading How to access Ruby web server such as WEBrick or Puma (Rails framework) from other computers on LAN

Teensy 3.5 & 3.6 – Powerful Microcontrollers For Making Awesome DIY Electronic Projects

Teensy is a microcontroller development board used for building all sorts of awesome DIY electronic projects. Over the last year I've been designing 2 new Teensy models using far more powerful microcontroller chips; a huge step up in capability from prior Teensy and other Arduino compatible boards.  Now, hopefully with your backing, it's time to … Continue reading Teensy 3.5 & 3.6 – Powerful Microcontrollers For Making Awesome DIY Electronic Projects

Angular $http POST request with request payload or form data

If you have RESTful API's on your server side and are trying to use Angular's $http service to consume the resource, you should be careful about how the request (for example, Http POST) is made, in particular how the data (perhaps in the format of form) is included in the request. As a JSON object … Continue reading Angular $http POST request with request payload or form data

HTTP request in Node.js or other JavaScript framework

You should always consider using the Object provided by the MV* framework. If the JS framework doesn't have a built-in support for communicating with the server (which I highly doubt), you can opt to work directly with the low-level methods of the XMLHttpRequest object itself or use a general utility library such as JQuery. On … Continue reading HTTP request in Node.js or other JavaScript framework

The trillion dollar tech war between Amazon, Google, and Microsoft

For months and months, as Google's brain trust searched for the ideal candidate to lead the company’s come-from-behind bid for its biggest new opportunity since Larry Page and Sergey Brin began putting ads on their search engine, one name kept coming up: Diane Greene. Little known outside Silicon Valley, Greene is a legend in tech … Continue reading The trillion dollar tech war between Amazon, Google, and Microsoft