2022.03.28 - Remix: The Yang to React's Yin
Ping Xia
Title: 2022.03.28 - Remix: The Yang to React's Yin
This Week's Highlights
Remix: The Yang to React's Yin https://kentcdodds.com/blog/remix-the-yang-to-react-s-yin
React's tagline is: A JavaScript library for building user interfaces. And it does a terrific job at that. React has never promised “network chasm management,” but every web application needs it. With Remix managing that network chasm, we finally have a yang to React's yin. With a great rendering library and a super network‑chasm manager, you can build better, faster web applications with fewer bugs, simpler code, and more fun. Related: Remix – Web Standards Are Cool Again .
What’s Causing the Tragedy of China’s Software Industry https://mp.weixin.qq.com/s/O8klxfWDcGqG1E1TUjyjUg
After years of ups and downs, as a practitioner in China’s software field I often wonder why the Chinese software industry remains low‑end, with few outstanding products emerging. Meanwhile, our neighbor Russia—whose overall economic development over the past two decades can’t even be compared to China’s—has produced globally influential software such as the ubiquitous Nginx and the now‑widely‑deployed ClickHouse. Although China’s software sector has made great strides, we still lack truly giant software enterprises, and many foundational tools are monopolized by foreign companies. Why is that? Also see: Reflecting on Software Development: The Software Itself .
Tao of Node - Design, Architecture & Best Practices https://alexkondov.com/tao-of-node/
To this day, it’s hard to find two Node applications that are structured similarly. In this post, I will summarize the set of principles that I’ve established about building Node applications. Take everything here as an opinion, not an absolute. There’s more than one way to build software.
ModelRunner: an Open Source, No‑Code, NLU and Voice‑Ready Data Platform https://modeling-languages.com/modelrunner-open-source-no-code-nlu-voice-modeling-data-platform/
ModelRunner is a complete data‑management platform that acts as a semantic layer above structured databases. It interprets information models that are basically a mix between ER models and UML diagrams: they describe entities and attributes but also include extra artifacts like applications, packages, actions, etc., and support all UML relationships (plus back‑references) as well as formulas expressed in object notation such as Person.Name and functions like Sum(OrderLines.Amount). It also leverages workflow models where you can specify what happens when a data object is created or deleted, or when a prerequisite condition expressed as a formula becomes true.
Fleek: A Web3 Developer Hub on IPFS https://blog.ipfs.io/2022-04-24-fleek/
Fleek is a development platform that lets developers host dapps, websites, or other front‑ends and power their storage and data needs using Web3 protocols. It orchestrates services such as IPFS, Filecoin, and ENS to provide an alternative to the traditional Web 2.0 hosting and storage infrastructure dominated by AWS, DNS, and others. Related: Web3 is centralized (and inefficient!) .
Deep Reads
What is the Web? https://blog.jim-nielsen.com/2022/what-is-the-web/
I like Bohn’s working definition, however vague it might be in the details. “Be linkable and accessible to any client” is a provocative test for whether something is “of the web”.
Hooks Considered Harmful https://labs.factorialhr.com/posts/hooks-considered-harmful
After several years of using them, I would love to share the dangers I encountered using hooks. I do not exaggerate when I claim that I find a dozen hook‑related problems every single week while reviewing code. Most of those issues never manifest to the end‑user, but incorrect code that is not a bug today will eventually become one. Related: React useEffect Hook usages you must know .
A “Verbal Spar” About Architecture https://mp.weixin.qq.com/s/SJ6CNHo0CgiprbC1zQc9lg
The title is deliberately casual, a bit click‑bait‑ish; but the content is sincere, as you’ll soon see. This is a discussion sparked by architectural issues in the headline Android client, labeled a “verbal spar” because it’s somewhat abstract; yet it also mixes methodology that applies not only to client‑side software architecture but to other work scenarios as well. I hope it helps everyone. To maximize reader immersion, the piece uses “we” as the subject to explore architectural challenges, judgments, and tactics.
Application security: Cloudflare’s view https://blog.cloudflare.com/application-security/
The breadth and diversity of the sites we protect, and the billions of browsers and devices that interact with them, gives us unique insight into the ever‑changing application‑security trends on the Internet. In this post, we share some of those insights we’ve gathered from the 32 million HTTP requests/second that pass through our network.
Go: An Introduction To Generics https://go.dev/blog/intro-generics
Generics are a way of writing code that is independent of the specific types being used. Functions and types may now be written to use any of a set of types. Generics add three major features to the language:
- Type parameters for functions and types.
- Defining interface types as sets of types, including types that don’t have methods.
- Type inference, which permits omitting type arguments in many cases when calling a function.
Adopting the Practice of SRE https://newrelic.com/blog/best-practices/adopting-sre-practices
In this post, we’ll dive into what it takes to get into site reliability engineering, how to adopt it within your own organization, and some of the core principles and best practices you’ll need to keep in mind as you move forward in your SRE maturity journey.
Authorization in a Microservices World https://www.alexanderlolis.com/authorization-in-a-microservices-world
But how do you actually go from a simple flag to Role‑Based Access Control (RBAC) and then to Attribute‑Based Access Control (ABAC), especially in a microservices environment? In the following post I hope to help you get there.
RPA vs Intelligent Automation: What Is the Difference? https://research.aimultiple.com/intelligent-automation-vs-rpa/
As the adoption rates of automation technologies increase in the enterprise, the variety of process‑automation tools—RPA, intelligent automation, cognitive automation, hyper‑automation—can confuse business users and leaders. With this in mind, this article serves as a guide for business leaders to understand the key differences between these tools so they can make sense of them.
HTML and CSS in Emails: What Works in 2022? https://designmodo.com/html-css-emails/
Arguably, one of the most exciting aspects of web development in recent years has been a significantly more consistent level of support for new HTML, CSS, and ECMAScript (JavaScript) standards amongst web browsers. However, the same cannot be said for email clients despite the introduction of fresh features such as media queries, flex, rem units, and more. Let’s take a look at some of these features and how we can make them work for all email clients in 2022.
Auto‑generated Summaries in Google Docs https://ai.googleblog.com/
We recently announced that Google Docs now automatically generates suggestions to aid document writers in creating content summaries, when they are available. Today we describe how this was enabled using a machine‑learning...
Originally written by Ping Xia (平侠) and published in Chinese on Web技术周刊 (Web Tech Weekly). Translated and adapted for DriftSeas with permission.
Sources & References
- [1]https://kentcdodds.com/blog/remix-the-yang-to-react-s-yin
- [2]Remix – Web Standards Are Cool Again
- [3]https://mp.weixin.qq.com/s/O8klxfWDcGqG1E1TUjyjUg
- [4]Reflecting on Software Development: The Software Itself
- [5]https://alexkondov.com/tao-of-node/
- [6]https://modeling-languages.com/modelrunner-open-source-no-code-nlu-voice-modeling-data-platform/
- [7]https://blog.ipfs.io/2022-04-24-fleek/
- [8]Web3 is centralized (and inefficient!)
- [9]https://blog.jim-nielsen.com/2022/what-is-the-web/
- [10]https://labs.factorialhr.com/posts/hooks-considered-harmful
- [11]React useEffect Hook usages you must know
- [12]https://mp.weixin.qq.com/s/SJ6CNHo0CgiprbC1zQc9lg