2018.04.09
Ping Xia
Title: 2018.04.09
Deep Reading
Re‑inventingnpmjs.com http://blog.npmjs.org/post/172567815935/re-inventing-npmjscom
Last week, the npmjs.com website received the most ambitious update in its history. We said “cheerio” to the old Hapi‑and‑jQuery‑based site, and “hello” to a state‑of‑the‑art web application built with Spife and React.
Examples of everything new in ECMAScript 2016, 2017, and 2018 https://medium.freecodecamp.org/here-are-examples-of-everything-new-in-ecmascript-2016-2017-and-2018-d52fa3b5a70e
In this article I’ll cover all 18 features listed in TC39’s finished proposals that were added in ES2016, ES2017, and ES2018 (final draft) and demonstrate them with useful examples.
GitLab + Google Cloud Platform = simplified, scalable deployment https://about.gitlab.com/2018/04/05/gke-gitlab-integration/
Get super‑simple deployment for your app with GitLab and Google Cloud Platform (GCP): thanks to our integration with Google Kubernetes Engine (GKE), you can now set up CI/CD and Kubernetes deployment with just a few clicks. Everyone can now enjoy automatic code‑quality checks, security testing, and zero‑configuration deployment.
Improved Docker Container Integration with Java 10 https://blog.docker.com/2018/04/improved-docker-container-integration-with-java-10/
With the release of Java 10, the JVM now respects constraints set by container control groups (cgroups). Both memory and CPU limits can be used to manage Java applications directly in containers, including: adhering to the container’s memory limit, using the CPUs allocated to the container, and applying CPU throttling. These Java 10 improvements work in Docker for Mac or Windows as well as Docker Enterprise Edition environments.
When Egg Meets TypeScript https://zhuanlan.zhihu.com/p/35334932
This article explains the application‑level TypeScript development standards; how our toolchain support solves the problems mentioned above, allowing developers to work almost unaware of the underlying complexity while maintaining a consistent development experience.
F2 3.1 Released – A Ready‑to‑Use Mobile Visualization Solution https://zhuanlan.zhihu.com/p/35209259
F2, named after the initials of Fast & Flexible, is the AntV family’s mobile‑first, out‑of‑the‑box visualization solution. You may not have heard of me before, but I debuted the day AntV launched, originally called “G2‑mobile”. Sharing the same lineage as G2, I inherit the full “graphic grammar” heritage and am designed to meet the strict code‑size and rendering‑performance demands of mobile charting.
Node Full‑Stack Opens More Possibilities for Front‑End https://mp.weixin.qq.com/s?__biz=MzUxMzcxMzE5Ng==&mid=2247488622&idx=1&sn=ace22c286a261645e2c07a7adf90abf9
Node was created to solve backend concurrency, but it unintentionally became the cornerstone of the “big front‑end”. As the big front‑end ecosystem grew, Node evolved and became increasingly important. Its use cases now span from scaffolding and front‑end tooling (e.g., SSR, PWA) to API middleware, proxy layers, and even full‑blown backend services, with mature best practices in each area. Moreover, as front‑ends become more complex and services become more micro‑service‑oriented, today’s front‑end faces greater challenges. The Node full‑stack offers many more possibilities, and “Wolf Uncle” (a nickname for a prominent advocate) remains steadfast in his support. See also: Why you should still embrace the big front‑end in an AI‑dominated era
In‑Depth Look at MVVM Front‑End Data‑Flow Frameworks https://mp.weixin.qq.com/s?__biz=MjM5MDI3MjA5MQ==&mid=2697266952&idx=2&sn=a3389d1db237c2b23f523061da3b2359
This article introduces what MVVM is, its underlying principles, and the evolutions it has undergone in recent years. Using MVVM as a springboard, we also explore various front‑end data‑flow solutions, building a comprehensive understanding of data flow in front‑end development to help teams make better technology choices.
Deep Dive into PHP 7’s Engine: zval http://www.laruence.com/2018/04/08/3170.html
PHP 7 has been released, and as promised I’m starting a series of posts to explain the massive performance gains behind it. Today I’ll discuss the changes to the zval structure. Before we look at the PHP 7 changes, let’s review what a zval looked like in PHP 5. See also: Deep Dive into PHP 7’s Engine: References
[Translation] The Great Shift in Programming Languages http://blog.jobbole.com/113828/
In this piece I explain why I stopped touching C++ and trace the economics of programming‑language design. The article examines why truly bad decisions get made, delves into the fundamentals of language design, and suggests how we can fix those problems. See also: A Minimalist History of Programming Languages
A Diagram of Modern React Lifecycle Methods https://twitter.com/dan_abramov/status/981712092611989509
A helpful diagram from core team member Dan Abramov. Many people on Twitter have found it useful—or even surprising—in what it reveals. See also: The History of React.js on a Timeline, 23 Best React UI Component Frameworks.
Aurelia 2018 Q1 Report http://aurelia.io/blog/2018/04/02/aurelia-2018-q1-report/
With Q1 2018 behind us, we wanted to update you on the progress the Aurelia team and community have made toward our 2018 roadmap goals. We achieved significant advances in core platform capabilities during the quarter, including several long‑awaited releases. Let’s dig into the details… See also: Aurelia RealWorld App
Calling all web developers: here’s why you should be using Firefox https://medium.com/swlh/calling-all-web-developers-heres-why-you-should-be-using-firefox-983f012d4aec
In my opinion, Firefox Quantum delivers superior performance compared with other browsers. Here’s why… See also: Mozilla Brings Firefox to Augmented and Virtual Reality
Working with the new CSS Typed Object Model https://developers.google.com/web/updates/2018/03/cssom
CSS now has a proper object‑based API for manipulating values in JavaScript.
Making a 100% Statically‑Linked, Single‑File Web App with React and Rust https://anderspitman.net/2018/04/04/static-react-rust-webapp/
This tutorial covers the basics of creating a minimal React app that can be deployed as a statically‑linked Rust binary. The result is a single file containing all your code—HTML, JavaScript, CSS, and Rust—that runs on virtually any 64‑bit Linux system, regardless of kernel version or installed libraries. See also: JavaScript to Rust and Back Again: A wasm‑bindgen Tale
Netflix FlameScope https://medium.com/netflix-techblog/netflix-flamescope-a57ca19d47bb
We’re excited to release FlameScope: a new performance‑visualization tool for analyzing variance, perturbations, single‑threaded execution, application startup, and other time‑based issues. Created by the Netflix cloud performance engineering team and now open‑source, we welcome contributions to further develop the project.
Scaling Uber’s Hadoop Distributed File System for Growth https://eng.uber.com/scaling-hdfs/
Scaling our infrastructure while maintaining high performance was no easy feat. To achieve this, Uber’s Data Infrastructure team dramatically overhauled our HDFS scaling approach by implementing several new adjustments and features, including View File System (ViewFs), frequent HDFS version upgrades, NameNode garbage‑collection tuning, limiting the number of small files, an HDFS load‑management service, and a read‑only NameNode replica. Read on to learn how Uber implemented these improvements.
(content truncated)
Originally written by Ping Xia (平侠) and published in Chinese on Web技术周刊 (Web Tech Weekly). Translated and adapted for DriftSeas with permission.
Sources & References
- [1]npmjs.com
- [2]http://blog.npmjs.org/post/172567815935/re-inventing-npmjscom
- [3]https://medium.freecodecamp.org/here-are-examples-of-everything-new-in-ecmascript-2016-2017-and-2018-d52fa3b5a70e
- [4]https://about.gitlab.com/2018/04/05/gke-gitlab-integration/
- [5]https://blog.docker.com/2018/04/improved-docker-container-integration-with-java-10/
- [6]https://zhuanlan.zhihu.com/p/35334932
- [7]https://zhuanlan.zhihu.com/p/35209259
- [8]https://mp.weixin.qq.com/s?__biz=MzUxMzcxMzE5Ng==&mid=2247488622&idx=1&sn=ace22c286a261645e2c07a7adf90abf9
- [9]Why you should still embrace the big front‑end in an AI‑dominated era
- [10]https://mp.weixin.qq.com/s?__biz=MjM5MDI3MjA5MQ==&mid=2697266952&idx=2&sn=a3389d1db237c2b23f523061da3b2359
- [11]http://www.laruence.com/2018/04/08/3170.html
- [12]Deep Dive into PHP 7’s Engine: References