Sunday, May 19, 2019

web tools: Rollup vs Webpack vs Parcel

Modern "SPA" (Single Page web Apps) have too many files/modules
and need to be "packaged" for deployment.
There are multiple tools for that

Webpack and Rollup: the same but different – webpack – Medium
by Rich Harris (creator of Svelte)

Rollup vs Webpack (JavaScript bundling in 2018) – jsdownunder – Medium

Rollup v. Webpack v. Parcel

AI/ML: “As We May Program” by Peter Norvig

A great presentation by Peter Norvig, lead of Google AI research, Stanford and Udacity professor.
A possible future of programming as combination of Voice UI and ML for continuous improvements based on feedback, difference of expected and achieved results. Very interesting.
He concludes with concept of "marketplace for what we need and want.

As We May Program - Microsoft Research

As We May Program

"In this hour-long talk as part of Microsoft Research's AI Distinguished Lecture series, Peter Norvig investigates how machine learning will change the way we program, the tools we use, and the mix of tasks done by expert programmers, novice programmers, and nonprogrammers. Watch the video here, and get the slides of the talk here.

+ Get more of Norvig's insights exclusively on the O'Reilly online learning platform, including his recent keynote address at last year's AI Conference in San Francisco, "The Breadth of AI Applications: The Ongoing Expansion."

As We May Program - YouTube

The Tragedy of the Commons: How Elinor Ostrom Solved One of Life's Greatest Dilemmas - Evonomics

"...avoiding the "tragedy of the commons" without requiring top-down regulation, at least if certain conditions are met (Ostrom 1990, 2010). She summarized the conditions in the form of eight core design principles: 1) Clearly defined boundaries; 2) Proportional equivalence between benefits and costs; 3) Collective choice arrangements; 4) Monitoring; 5) Graduated sanctions; 6) Fast and fair conflict resolution; 7) Local autonomy; 8) Appropriate relations with other tiers of rule-making authority (polycentric governance). This work was so groundbreaking that Ostrom was awarded the Nobel Prize in economics in 2009."