<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
An architect's notes, experiments, discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks


This Week I Learned - Week #255

Friday, February 23, 2018
This Week I Learned -

* The Basic & Stamdards service plans with Linux runtime environments support Web App for Containers. The platform automatically takes care of OS patching, capacity provisioning and load balancing. Steps to deploy a containerised app -
az group create -n AzureDemoRG -1 "East US"

az appservice plan create -n AzureDemoPlan -g AzureDemoRG --is-linux -l "East US" --sku S1 --number-of-workers 1

az webapp create -n LaunchCampaignApp -g AzureDemoRG -p AzureDemoPlan -i toddbaginski/django-starter-app:latest

* ...at times, new AI systems also exhibit strange and unexpected behaviour because the way they learn from large amounts of data is not entirely understood. That makes them vulnerable to manipulation; today’s computer vision algorithms, for example, can be fooled into seeing things that are not there. The rapid evolution of A.I. is creating new security holes. If a computer-vision system can be fooled into seeing things that are not there, for example, miscreants can circumvent security cameras or compromise a driverless car. A.I. systems are increasingly adept at generating believable audio and video on their own. This will accelerate the progress of virtual reality, online games and movie animation. It will also make it easier for bad actors to spread misinformation online - NY Times

* Around 350 different genes, or about 1% of the human genome are responsible for olfaction. These allows us to distinguish over one billion smells.

* The first time in life when you smell a smell is the essential moment. If the moment is positive or negative, your relations to that smell remains positive or negative till you die

* Anosmia or odor blindness is the inability to perceive odor or a lack of functioning olfaction

* Aruna Roy left the IAS in 1974 when she was just 28. After serving the government for six years, Roy chose to become a fulltime social activist. She founded the Mazdoor Kisan Shakti Sangathan which advocated people’s rights to scrutinize official records; that eventually led to the enactment of the Right to Information (RTI) Act in 2005. In 2000, she received the Ramon Magsaysay Award for Community Leadership.

Jean Drèze has made wide-ranging contributions to development economics and public economics, with special reference to India. He has lived in India since 1979. During and after his PhD in India, he adopted a lifestyle of voluntary simplicity. In 2002 Dreze became an Indian citizen, a process that took some time because the Government of Belgium could not understand why he wanted to renounce Belgian citizenship.

* "Aadhaar..was supposed to harness technology in the service of development; it has made people’s personal data vulnerable" - Reetika Khera, Associate Professor in the Humanities and Social Sciences department at Indian Institute of Technology, Delhi and one of India's leading development economists.

Hyderabad has 25% of state population and generates about 60% of Telangana’s income.

Labels: , , ,

HOW TO convert JSON to HTML table

Wednesday, February 21, 2018
The beautiful infographic listing a key summary of Azure Services is enabled by data from a JSON file

Looking at that JSON file I wondered if that data could be presented as a HTML table with only specific info that I wanted.

I found that there is a readymade service as well as programmatic ways to parse the JSON & transform into an HTML table. I discovered that the JSON2HTML open source JavaScript library that uses JSON templates to convert JSON objects into HTML simplifies this task

With a lot of help from StackOverflow, I put together a code sample (view page source for the code) that can read multiple arrays within JSON - [{items: [{ }], },{ items: [{ }],},...]  ....and present the values in a tabular format. View the output - an Azure Services quick reference

Labels: , ,

Cloud Career Essentials

Tuesday, February 20, 2018
Microsoft Azure Essentials started off as a series of free ebooks (two of them published in 2016 are still relevant today) on a variety of Azure topics. Expanding on that theme there is great new content on the Azure Essentials microsite

The Career Essentials section on that site defines different roles, primary and secondary skills needed to take up the roles and learning content with a Progress Tracker to track your progress in accomplishing those skills

Google Cloud Platform similarly defines Learning Tracks that you can pick based on your technical background and area of interest.

Irrespective of the certification exam, the outline defined in the Exam Guides for various Google Cloud Certifications is so good that it can also be used for assessing skills required for other public clouds too.

The AWS Certifications site offers four role-based paths - Cloud Practitioner, Architect, Developer, Operations

The structured learning road-map offered by each of these popular public cloud providers can aid individuals in choosing which path works best for them.

Labels: , ,

Key Takeaways From RightScale 2018 State Of The Cloud Report

Monday, February 19, 2018
Key takeaways from RightScale State Of The Cloud Report (based on a survey over 1000 technical professionals on their adoption of cloud computing across a broad cross-section of organizations):
  1. Multi-cloud strategy is becoming a reality
  2. Public cloud continues to grow among enterprises
  3. Majority of the container workloads are running on AWS
  4. Kubernetes is the most preferred container orchestration tool among enterprises
  5. Cost and usage optimization are the critical goals for enterprise IT
  6. Microsoft Azure is growing at the cost of AWS
  7. Azure, IBM Cloud, and GCP are growing considerably
  8. VMware is still the king of private cloud market
  9. Databases are the number one workload running on cloud
  10. Serverless is witnessing a huge surge in adoption

Labels: , ,

"Easy Auth" Azure App Service authentication

Saturday, February 17, 2018
If you have developed a web site and are deploying it to Azure as an App Service, you can enable authentication through popular Authentication Providers like Google, Facebook, Twitter, Microsoft Account without doing anything much in code by just configuring some settings within the Azure portal & the Authentication Provider's website for developers.


Labels: , , ,

‹Older