March 18, 2018 Viswesh Subramanian

Back in the dark days, setTimeouts helped to poll and maintain state between the front end and backend. Comparable to the industrial revolution, Socket.io revolutionized communication for real-time solutions, effectively removing the need to poll. “Socket.IO enables real-time bidirectional event-based communication.It works on every platform, browser or device, focusing equally on…

February 28, 2018 Viswesh Subramanian

Express is the most popular web framework used with Node.js. In this article, I will teach you how to use express.js by showing you solid examples and code blocks to create web servers and HTTP API’s. At the end of the article, you will be transformed from being a novice…

February 26, 2018 Viswesh Subramanian

Generator functions are functions which have the ability to suspend execution for an indefinite period when it encounters a “yield”. Let’s compare Generator functions to a humble function which we all know of – function add() { let x=1; let y=2; return x+y } When ‘add’ function executes, the execution…

February 19, 2018 Viswesh Subramanian

When you hear async in JavaScript, you will get flashes of Callback and Promises. Add Async/Await to that list. Although the JS community won the battle of callback hell and ruled the Promised land (pun intended), we grew out of it. We were fed up of the thens, convoluted error…

December 19, 2017 Viswesh Subramanian

Our reality is termed as Augmented Reality when it is supplemented with computer-generated interactive objects or graphics. Virtual Reality, on the other hand, is constrained within the application to provide an immersive experience. When Oculus VR released its VR headset, Oculus Rift, it sure did flood YouTube with hilarious videos…

December 15, 2017 Viswesh Subramanian

OpenStreetMap (OSM) is built and maintained collaboratively by a group of enthusiastic mappers. It all started in 2004 – Steve Coast was frustrated with the state of maps in the UK. Although the government had large chunks of data stashed away, the data really didn’t solve any problem. Also, the…

December 2, 2017 Viswesh Subramanian

Mapbox provides an exceptional platform to build experiences for exploration. Their offerings for Maps, Navigation, Search and customization along with SDKs; Android, IOS, GL JS, Unity makes it a well-rounded solution. Mapbox products MapBox offers 2 JavaScript libraries – Mapbox.js and Mapbox GL JS. Mapbox.js is…

November 19, 2017 Viswesh Subramanian

Unlike Raster Tiles which are generated server side for every zoom level, Vector Tiles can be rendered at various chunks of zoom levels with a single network request. For example, vector data received for zoom level 14 can be used until zoom levels 20 (last zoom-in level) without the need…

November 8, 2017 Viswesh Subramanian

On December 16, 2010, Google announced Google Maps 5.0 with a blog post titled ‘The next generation of mobile maps’. They weren’t kidding! Google had rebuilt Maps with Vector graphics. Today, Google Maps continues to be powered by the same tech they said is a game changer in 2010. In…

October 20, 2017 Viswesh Subramanian

From prehistoric days to the modern day, we have been taking quantum leaps in mapping land and water masses. It’s amazing how technology has enabled the field of Cartography to reach higher levers each century. The good ‘ol folks at Natural Earth are doing an exceptional job towards the cause….

October 15, 2017 Viswesh Subramanian

If you are reading this, you acknowledge the need to understand Abstract syntax trees and you have already perused the primer here. If you have not read the primer, I suggest you start there. Visualization is a great way to capture mental models; especially to establish an intimate relationship with…

October 2, 2017 Viswesh Subramanian

To understand Abstract Syntax Trees, allow me to give you a rundown of how our loyal and modest browser compiles JavaScript. In the past, traditional compilers in desktop applications went through hoops to generate intended native code. Lexer → parser → Translator → Interpreter There was a Lexer, a Parser,…

September 24, 2017 Viswesh Subramanian

The problem The analytics have spoken yet again – Native applications continue to dominate time spent (87%) than Mobile Web (13%). Interestingly, the 87% is cannibalized by only top 3 applications. So, what happens to the 5 million applications in App Store and Google Play? Are they the modern day…

September 21, 2017 Viswesh Subramanian

Object Property assignment With the new and improved enhancement, enumerable properties from source objects, one or more; can be deep copied over to a destination object with ease. You might have used utility methods such as JQuery $.clone and loadash’s _.cloneDeep for doing the deed. There was also the vanilla…

August 24, 2017 Viswesh Subramanian

ECMAScript aka ES is a standardized specification for scripting languages. A few of the major implementations are JavaScript, Chrome V8, Chakra, and ActionScript. The 5th edition made its way in the year 1999 and it has been empowering browsers ever since. The 6th edition known as ES6 with an official…