Posts

Showing posts from June, 2018

Javascript Callbacks, Promises, Signals and Events

I have been using Javascript signals for communicating between Javascript modules. I was looking into some more signals documentation and ran into this great blog that shows the difference between Callbacks, Promises, Signals and Events. I use all of them in the app that I am developing. Callbacks, Promises, Signals and Events Here is a link to a JSFiddle I created that shows how to chain Promises

Autonomous Cars

I was listening to the Autonomy with Frank Chen Software Engineering Daily Podcast . One very interesting point made was that the moat for companies like Uber and Facebook is their data. You can create a company that replicates their business but the new company will a data deficiency as they dont have all the social media connections that users have made on Facebook. Similarly Uber has an advantage in autonomous cars as they have already collected data on what trips users like to make so they now where best to locate charging stations. One of the problems with self driving cars is that they need maps that are more details than Google Maps. They need to know where the road medians are. One company that is doing that is Deep Maps Apollo is create a self driving open source platform like Android started in China by Baidu.

ES6 transpile to ES5

Most modern browsers support ES6 except for IE 11. If you want to use ES6 in your web app that needs to support IE11 then you you can use Babel to transpile from ES6 to ES5. See this blog post shows how you can use Webpack with Babel