Via Emlyn O’Regan

Via Emlyn O’Regan

Originally shared by Mark Lewis

I read quite a few articles on driverless cars. This is the first one in a while that I have felt really has creative elements to it. They might be pushing the idea a bit too far, but it is a very interesting idea and goes beyond some of my previous thinking in different areas. What I liked most though was how the author points out that the auto industry could produce enough autonomous cars to replace all human-driven cars in a rather short period of time. That’s significant. The timeline for scaling up autonomous ride sharing is one of the things I’ve worried about the most, but apparently, if current production switched over to fully autonomous, it would produce a complete global supply of such cars in a rather short period of time because so many fewer cars are needed if the cars aren’t left sitting in parking lots all the time.

Those in the 18 to 24 age group overwhelmingly started their programming journey in their late teens.

Those in the 18 to 24 age group overwhelmingly started their programming journey in their late teens. 68.2 percent started coding between the ages of 16 to 20.

When you look at older generations, you notice another striking trend: a comparatively larger proportion started programming between the ages of five and ten. 12.2 percent of those aged between 35 and 44 started programming then.

Old fart Gen-Xers started coding as kids instead of late teens.

I’m a bit older than them and started programming later because I had to build my first computer. In those days before you started machine coding you had to learn about CMOS and TTL first.

How to deeply clone an object in JavaScript? The simplest way is via JSON eg.

How to deeply clone an object in JavaScript? The simplest way is via JSON eg.

JSON.parse(JSON.stringify(obj))

See below for two alternatives which use browser APIs in unexpected ways.

The first one, the asynchronous PostMessage version runs 7 times faster than the JSON approach. These methods also have the advantage of working with circular references and non-serializable types like Dates, Sets, Maps and ArrayBuffers etc.

Something a little less wierd really needs to get built into JavaScript.

https://twitter.com/dassurma/status/955484341358022657