2024.07.01 - Mako 开源了
Ping Xia
Title: 2024.07.01 – Mako Open‑Source
Local‑First & IdealOS & AGI & Hono on JSR & Facing Illness & Scenery & Ten Guardians
This Week’s Highlights
Mako is now open‑source
https://zhuanlan.zhihu.com/p/705866602
Mako is a “blazingly fast” and “production‑grade” front‑end build tool written in Rust. “Blazingly fast” was the original motivation for creating Mako—if build speed weren’t an issue, Mako wouldn’t exist. See the benchmark section below for some data, and note that we continue to explore even faster build‑speed solutions. “Production‑grade” because, since 2023‑11‑24, Mako has been officially released inside Ant Group, where it has been validated through engineering pipelines on thousands of projects and all the npm packages (and their various versions) they use. It has been deployed in hundreds of projects and serves internal back‑office systems, mini‑programs, H5 mobile, low‑code platforms, marketing, component libraries, component bundling, Serverless Functions, and many other platforms and business scenarios, proving its production‑ready capabilities.
Local, first, forever
https://tonsky.me/blog/crdt-filesync/
If you set out to build a local‑first application that users have complete control and ownership over, you need something to solve data sync. Dropbox and other file‑sync services, while very basic, offer enough to implement it in a simple but working way.
STOP hurting yourself by doing big‑bang modernizations!
That’s especially true when the new system’s name includes the phrase “Next generation”. One rare exception is ST:NG, but that’s a TV show, not a software system 😀. This article discusses why big‑bang modernizations are a bad idea. First, however, let’s look at why organizations are attracted to them.
A Rant about Front‑end Development
https://blog.frankmtaylor.com/2024/06/20/a-rant-about-front-end-development/
I am a front‑end developer who is FED up about front‑end development. If you write front‑end, this isn’t about you personally. It’s about how your choices make me angry. Also this is about how my choices have made me angry. Also this is mostly just about choices; the technologies are incidental.
IdealOS Thinking
https://joshondesign.com/2024/06/25/idealos_thinking
One of my original IdealOS blog posts from 2017 showed up on the front page of Hacker News the other day (comments here). This got me thinking about IdealOS again. I haven’t worked on it in a couple of years, but as I read through the comments and links to articles by people with similar ideas, I came to a realization: I am still working on it. Maybe not directly, but I’m still exploring ideas that are needed to build IdealOS. So with that in mind, let’s take a look at what I’ve been working on lately.
Deep Reads
GPT‑4o still only 15 % accurate? Why large models perform so poorly in real‑world Excel scenarios
https://zhuanlan.zhihu.com/p/705754377
This example illustrates the current state of large‑model deployment. Large models are presently only suitable as assistants in fault‑tolerant scenarios—e.g., writing or creating PPTs—where hallucinations can even be a creative advantage. In contrast, tasks that demand high accuracy, such as Excel data processing, are beyond their capabilities; they can usually handle only a tiny subset of functions, as shown in the figure below (source unavailable). Hence, talking about AGI is still far off. Additional reads:
- Balancing Old Tricks with New Feats: AI‑Powered Conversion From Enzyme to React Testing Library at Slack – Accelerate code conversion with AI
- The Compound Lever: AI for Software Engineering
- Gemma 2 is now available to researchers and developers
- Explaining generative language models to (almost) anyone
- Leveraging AI for efficient incident response
Announcing Hono on JSR
https://deno.com/blog/hono-on-jsr
Hono is a fast, lightweight, batteries‑included, cross‑platform server routing framework that has first‑class TypeScript and web‑standard API support. Using Hono via JSR offers an excellent developer experience, with fully featured documentation and type definitions right in your text editor.
How we built it: Creating the I/O Crossword puzzle, powered by AI
Adding a fun, helpful twist to a classic word game with Flutter, Firebase Genkit, and the Gemini API.
Understanding React Compiler
https://tonyalicea.dev/blog/understanding-react-compiler/
What does React Compiler do to your code? How does it work under the hood? Should you use it? Let’s dive in.
Building a modern web app with vanilla Web Components
https://gomakethings.com/building-a-modern-web-app-with-vanilla-web-components/
Last week, I built a modern “pick‑a‑random‑item” app using nothing but HTML, CSS, vanilla JS, and Web Components.
Morphing Arbitrary Paths in SVG
https://minus-ze.ro/posts/morphing-arbitrary-paths-in-svg/
Shape morphing is probably my favorite kind of animation. When I first learned about it about eight years ago, I tried to understand how arbitrary shapes could be morphed together and couldn’t figure it out at the time. Over the years I’ve learned a lot more about vector graphics (and graphics in general), and it became clear how one could achieve it.
The vibrant evolution: Microsoft’s colorful transformation
In the ever‑evolving landscape of design, color isn’t just visual—it’s emotional.
Fresh Finds
Node.js is Here to Stay: A deep dive into the metrics
NPM and NodeJS should do more to make ES Modules easy to use
Ecma International Approves ECMAScript 2024: What’s New?
Use a framework to build React Native apps
Why Google Sheets ported its calculation worker from JavaScript to WasmGC
Products & Others
Zhang Zhishun’s Talk – Mindset When Facing Illness
https://mp.weixin.qq.com/s/Pc_ijH1rmYWC_-cqDmBmgw
https://mp.weixin.qq.com/s/jxDPpsy74HR9_tkZf6S0cA
All things, all affairs, all causes and conditions—let them all be set aside. Do not let the mind be angry or delighted; both joy and anger cause injury. Joy harms the lungs, anger harms the liver. Release every thought completely, as if it never existed. If you cling to it, you’ll spend the whole day worrying about your illness. In the long run, the disease won’t improve and may even worsen. Many people with illness treat it as a disease; instead, consider it as if it isn’t there, and it will cease to be. Constantly dwelling on the illness only makes it heavier. Whether you practice cultivation or anything else, don’t be overly obsessive; excessive seriousness fuels the fire.
See also: Don’t try too hard; you’ll learn it.
Is it possible for me to switch careers and become a TCM practitioner?
https://mp.weixin.qq.com/s/zhb4OfeTBy1feSrDo3kA0Q
In August 2020, as the first session of “Traditional Chinese Medicine Clinical Course” was ending, a finance‑industry alumnus who had never encountered TCM asked himself, “Is it possible for me to switch careers and become a TCM practitioner?” Two years later, in September 2022, during the eighth season of the “Dynamic Reading Club,” we organized a talk titled “People on the Road: When an Adult Wants to Change Careers,” and invited him. By then he had passed the exam proving expertise in traditional medicine and had taken another step on his cross‑disciplinary career path. June 2024.
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://zhuanlan.zhihu.com/p/705866602
- [2]https://tonsky.me/blog/crdt-filesync/
- [3]https://microservices.io//post/architecture/2024/06/27/stop-hurting-yourself-by-doing-big-bang-modernizations.html
- [4]https://blog.frankmtaylor.com/2024/06/20/a-rant-about-front-end-development/
- [5]https://joshondesign.com/2024/06/25/idealos_thinking
- [6]https://zhuanlan.zhihu.com/p/705754377
- [7]Balancing Old Tricks with New Feats: AI‑Powered Conversion From Enzyme to React Testing Library at Slack – Accelerate code conversion with AI
- [8]The Compound Lever: AI for Software Engineering
- [9]Gemma 2 is now available to researchers and developers
- [10]Explaining generative language models to (almost) anyone
- [11]Leveraging AI for efficient incident response
- [12]https://deno.com/blog/hono-on-jsr