TWIL - Week #25

This Week I Learned:

Azure

  • Previously, Azure Virtual Machines deployed in suspended subscriptions would be deleted when the spending limit was passed (the data drives would be preserved – but the VM instances themselves would be deleted). Now when a subscription is disabled, VMs deployed inside it will simply move into the stopped de-provision state that was recently introduced (which allows a VM to stop without incurring any billing).

JavaScript 

  • Editing JavaScript code in real time is possible in Chrome and Chromium based browsers. After loading a web page completely, press the F12 key to open Developer Tools, then open the 'Sources' tab. Now open any JavaScript file loaded on the browser and you can directly edit it by clicking anywhere in that file. After making modifications press Ctrl+S to save the changes. The browser will automatically take in the new code. If there are some syntax errors in your code then it will display them in the console. So keep an eye on the console whenever you apply changes. If the part of code you modify is going to be executed by future events then you can see the effect of the modification. There is no point in changing the code that is not going to be executed in future events on that web page. For example, the code that is getting executed while the page is loading and making modifications to that code has no effect.

Browsers

  • To view the source of a web page directly you can use the view-source URI scheme in Chrome, Firefox (but not IE): view-source:somedomain.com
  • Netscape Plugin Application Programming Interface (NPAPI) is a cross-platform plugin architecture used by many web browsers. Internet Explorer dropped supported for NPAPI in version 5.5 SP2. Starting in January 2014, Chrome will block webpage-instantiated NPAPI plug-ins as per an announcement by Justin Schuh, Security Engineer and Plug-in Retirement Planner. However, the built-in Flash plug-in and PDF viewer will be unaffected because they don’t use NPAPI.

India

  • The Apollo Clinic lets you view your diagnostic reports online which is nice. Wonder if there are privacy standards defined for health records in India and if the website maintains those standards.

Trivia


Everything else

Comments