Monday, May 30, 2016

ARM template for LAP (Linux + Apache + Php) and Neo4j Deployment

Just finished writing my first ARM template that can deploy a set of VMs, where in one VM has an Apache and php installed with a sample website, and another VM with an installation of Neo4j which is accessible only to the first VM on a private port. The Sample website in the Apache node can echo out a message if it could get connected successfully.
The repo is yet to be merged with the Azure repo, but for now one can find it here


Friday, April 22, 2016

Hygiener- IOT Hack

Last week had the chance to participate in a hack with fellow Microsoft’ians at an internal hack event. Our team had four participants – Manish Sharma, Deepthi Anatharaman, Shubham Kumar and yours truly. The hack was around the concepts of  IOT, Azure IOT Hub, Azure Machine learning, Power BI and Azure Data factory.
Our topic was ‘Hygiener’ – A product that aims at finding the hygiene index of a workplace by placing sensors at Doors and on the Disinfectant bottles, Sensors send information about how many times the door was operated to get inside/outside the workplace/Washrooms/Hospital Wards, and how many times the dis-infectant bottle may have been used by finding if a person’s hands were too near the bottle. The data is sent to Azure IOT Hub, where the stream analytics Jobs make sense of data and sends it over to SQL from where the Power BI Reporting could show views over this data. Additionally the raw data is dumped in Azure Data lake for further analytics. A Machine learning implementation on top of the same data can reveal interesting insights like predictive Hygiene Index, or if one can gather the relative attendance in the workplace, Machine learning models can also suggest how attendance will fares against the hygiene index of the workplace.


Thursday, March 31, 2016

Bash! on Windows !!!!

Imagine yourself as someone who went in coma say in 2010 and woke up this morning, not much would have changed for you, there are mobile phones, drones (that’s new) and a couple other stuff that your mind would adjust too. You open your laptop and see the first technews as something like this – Bash comes on Windows !

What ! that’s impossible, Last time you checked these were 2 different worlds; the only exceptions were a minix console or a cygwin implementation, or install a full linux VM for yourself and if you are on ubuntu you can opt for the hideous Wine to get yourself flavor of MS Office.

Some of us, who really believe it’s a very difficult thing to do, considering the underlying structures are just too different to be able to just map, its another thing to map a DIR command to LS but its a different ballgame to map devices to file structures.

Note - The implementation is as official as it gets, MS has implemented it with Canonical as partner.

Well here are a few things to expect before it actually comes in our hands.
  • Its not a Virtual Machine running in Windows.
  • All linux tools – awk, sed, grep, vi, vim, emacs e.t.c will run as they run on Linux
  • Yes, APT-GET will work the way it works with Windows
  • You’ll be able to run tools like Redis and Memcache on your windows machine, and use them with your asp .net and .net apps
  • Manage your filesystem from Bash itself, its much easier to control from my POV.
I am not too sure if we’ll be able to manage the users of the system from here itself, but optimistic that it better does and run the windows in headless mode like a linux box and offcourse SSH in it Smile
Follow me on twitter at @brijrajsingh for more updates over the same.