2024.04.08 - Bun 1.1
Ping Xia
Title: 2024.04.08 – Bun 1.1
V8 Sandbox & Great Tables & Distributed application architecture & 孔子随喜 & 孝义 & 心斋
This Week’s Highlights
Bun 1.1 https://bun.sh/blog/bun-v1.1
Bun is a fast, all‑in‑one toolkit for running, building, testing, and debugging JavaScript and TypeScript, from a single script to a full‑stack application. Bun 1.1 is a huge update.
The V8 Sandbox https://v8.dev/blog/sandbox
Chrome 123 can therefore be considered a sort of “beta” release for the sandbox. This blog post uses the opportunity to discuss the motivation behind the sandbox, show how it prevents memory corruption in V8 from spreading within the host process, and ultimately explain why it is a necessary step toward memory safety.
The Design Philosophy of Great Tables https://posit-dev.github.io/great-tables/blog/design-philosophy/
Tables have come a long way and we’ve learned a lot from our continued research in tabular design. We hope to make the Great Tables package useful for your generation of summary tables. Given there’s ample room for innovation in this area, we’ll keep plugging away at improving the API. We measure success by the quality of the tables the package can produce and we always keep that goal top of mind.
Re‑Balancing Design and Development https://tympanus.net/codrops/2024/04/01/re-balancing-design-and-development/
Codux aims to bridge the widening gap between designers and developers in the modern web era, fostering a collaborative environment where creativity meets code.
Developers with AI assistants need to follow the pair‑programming model https://stackoverflow.blog/2024/04/03/developers-with-ai-assistants-need-to-follow-the-pair-programming-model/
In this article we discuss how and why pair programming is so effective, how you can treat your AI assistant as a paired programmer, and the best ways to make this pairing work (as well as the methods that don’t). Related:
- What is retrieval‑augmented generation, and what does it do for generative AI?
- Introducing improvements to the fine‑tuning API and expanding our custom models program
- How we built Text‑to‑SQL at Pinterest
In‑Depth Reading
HTTP/2 CONTINUATION Flood: Technical Details https://nowotarski.info/http2-continuation-flood-technical-details/
Deep technical analysis of the CONTINUATION Flood—a class of vulnerabilities in many HTTP/2 implementations. In many cases it poses a more severe threat than the Rapid Reset: a single machine (or even a single TCP connection or a handful of frames) can disrupt server availability, causing crashes or major performance degradation. Remarkably, the malicious requests do not appear in HTTP access logs. A simplified security advisory and a list of affected projects are available in: HTTP/2 CONTINUATION Flood.
History of JS interop in Dart https://medium.com/dartlang/history-of-js-interop-in-dart-98b06991158f
Support for Wasm just landed in the current Flutter beta, thanks to an exciting JavaScript‑interop milestone reached in Dart 3.3. To celebrate, we look back at the decade‑long journey of Dart‑JS interoperability.
An Interactive Guide to CSS Container Queries https://ishadeed.com/article/css-container-query-guide
Learn how to use CSS container queries today.
Uncovering the Seams in Mainframes for Incremental Modernisation https://martinfowler.com/articles/uncovering-mainframe-seams.html#batch-pipeline
A case study of legacy displacement.
Cloud architecture will fail you. Distributed application architecture will not. https://www.lightbend.com/blog/cloud-architecture-will-fail-you-distributed-app-architecture-will-not
With a distributed application architecture, infrastructure capabilities are embedded within your microservices, and the developer’s logic is bound to these capabilities, creating an airtight abstraction. Each microservice can self‑heal and recover from any hardware or network failure, ensuring shock‑proof resilience. Microservices can be placed closer to end users, enabling short round‑trips and the lowest latency. Moreover, each microservice consumes only the compute and memory needed for its function.
Scaling Safety and Civility on Roblox https://blog.roblox.com/2024/04/scaling-safety-civility-roblox/
Many of our safety features and tools are based on innovative AI solutions that run alongside an expert team of thousands dedicated to safety. This strategic blend of experienced humans and intelligent automation is essential as we scale the volume of content we moderate 24/7. We also nurture partnerships with organizations focused on online safety and, when appropriate, support legislation we believe will improve the industry as a whole.
Why you won’t find a technical co‑founder https://www.breakneck.dev/blog/no-tech-cofounder
Trim your list of requirements for a technical co‑founder. Realize you’re essentially asking someone for a favor until you have paying customers. Consider the costs, opportunity costs, and risks of paying—or not paying—someone to get your idea off the ground. Don’t expect the same level of passion and commitment from another person after just two meetings.
Fresh Finds
Products & Others
Discovering the Cultural Gene of “Chinese‑Style Modernization” in 孔子随喜 https://mp.weixin.qq.com/s/qVoGjOX-9g-thBOISgiISA
We discuss Confucius’s ideas—not to revert everything to his era (we don’t eat exactly as he did, nor ride horse‑drawn carriages!). What matters is the spirit behind him: the civilization of rites and music. Today we can use that spirit to balance the side effects of modernization and serve as a stabilizing “anchor” for our nation during the modernization process.
A Practitioner’s Journey with the “Eight‑Section Vajra Longevity Exercise” https://mp.weixin.qq.com/s/jCbVhmMqhWdfKxAWts4BjA
The Eight‑Section Vajra Longevity Exercise has evolved from a Taoist lineage transmission to a recognized intangible cultural heritage of Zhangjiajie City, officially endorsed by the state and welcomed by the public. We hope that practitioners and Taoist friends in the new era will uphold the “follow nature” philosophy, inherit the spirit of Taoist masters who benefit society, and, through the tireless efforts of Abbot Xu Lihui and Huang Zhonggong, achieve natural harmony of body and mind.
(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]https://bun.sh/blog/bun-v1.1
- [2]https://v8.dev/blog/sandbox
- [3]https://posit-dev.github.io/great-tables/blog/design-philosophy/
- [4]https://tympanus.net/codrops/2024/04/01/re-balancing-design-and-development/
- [5]https://stackoverflow.blog/2024/04/03/developers-with-ai-assistants-need-to-follow-the-pair-programming-model/
- [6]What is retrieval‑augmented generation, and what does it do for generative AI?
- [7]Introducing improvements to the fine‑tuning API and expanding our custom models program
- [8]How we built Text‑to‑SQL at Pinterest
- [9]https://nowotarski.info/http2-continuation-flood-technical-details/
- [10]https://medium.com/dartlang/history-of-js-interop-in-dart-98b06991158f
- [11]https://ishadeed.com/article/css-container-query-guide
- [12]https://martinfowler.com/articles/uncovering-mainframe-seams.html#batch-pipeline