2023.07.31 - Google vs. the Open Web
Ping Xia
Title: 2023.07.31 – Google vs. the Open Web
Running Llama 2 locally & Effective Code Reviews & 创业 & 国本 & 为什么伟大不能被计划
This Week’s Highlights
Google vs. the Open Web https://interpeer.io/blog/2023/07/google-vs-the-open-web/ https://github.com/RupertBenWiser/Web-Environment-Integrity/blob/main/explainer.md
Google is trying to kill the Open Web: using the proposed “Web Environment Integrity” would let sites choose which devices (browsers) they will display on and refuse service to others. It ties client‑side software to a specific site, creating a siloed app. Related:
- Unpacking Google’s new “dangerous” Web‑Environment‑Integrity specification
- Google is already pushing WEI into Chromium
- Mozilla: Request for Position: Web Environment Integrity API
- Apple already shipped attestation on the web, and we barely noticed
- Google’s nightmare “Web Integrity API” wants a DRM gatekeeper for the web
- Google engineers want to make ad‑blocking (near) impossible
- Google Web Environment Integrity is the new Microsoft Trusted Computing
- Google's next big idea for browser security looks like another freedom grab to some
How the creator of Homebrew simplifies distributing software with tea and Deno https://deno.com/blog/tea-simplifies-distributing-software
tea, the spiritual successor to Homebrew, is a command‑line universal interpreter, environment manager, and dependency manager that uses blockchain technology to compensate open‑source maintainers. Since launching in November 2022, tea has amassed over 10 000 users and is still growing.
How and why typography affects ease of reading https://legible-typography.com/en/
The invention of typography, printing, and more recently digitization and the internet produced an avalanche of documents, making legible communication essential. The stakes are as high as the number of documents and readers. Professional typographers, graphic designers, UX designers, DTP operators, software developers, and casual word‑processor users all design documents in one way or another, affecting how easy they are to read. But what exactly is legibility, and how can we design documents that are easier on the eyes?
GitHub Repository Rules are now generally available https://github.blog/2023-07-24-github-repository-rules-are-now-generally-available/
Repository rules provide an easy, flexible way to define branch protections and ensure code consistency across repositories.
A comprehensive guide to running Llama 2 locally https://replicate.com/blog/run-llama-locally
We’ve been talking a lot about how to run and fine‑tune Llama 2 on Replicate. But you can also run Llama locally on your M1/M2 Mac, on Windows, on Linux, or even on your phone. The cool thing about running Llama 2 locally is that you don’t even need an internet connection. Related:
- Announcing OverflowAI
- Google: Speaking robot: Our new AI model translates vision and language into robotic actions
- Retool: Understanding the evolving value of AI in engineering
- No One Wants To Talk To Your Chatbot
- Bespoke GUIs on the fly
- TypeChat: a library that makes it easy to build natural language interfaces using types
- ‘A certain danger lurks there’: how the inventor of the first chatbot turned against AI
- Exploring Generative AI
- Money on Autopilot: The Future of AI × Personal Finance
- Covariant:OpenAI Mafia创业,为机器人开发AI大脑
Deep Dives
Hono + htmx + Cloudflare is a new stack https://blog.yusu.ke/hono-htmx-cloudflare/
As a former backend engineer, I sometimes find React overly complex. Moreover, as a framework developer, building a hydration mechanism can be a headache. Yet we often end up using React, largely because of JSX. At first JSX feels odd—“Why are HTML tags inside JavaScript?!”—but once you get used to it, it’s surprisingly flexible and pleasant. Today I’ll introduce a tech stack that uses JSX purely as a server‑side template engine, meaning we can use JSX without React.
Shopify’s platform is the Web platform https://shopify.engineering/shopifys-platform-is-the-web-platform
Remix is now the recommended way to build admin apps on Shopify. With Remix you get a best‑in‑class developer experience while ensuring exceptional out‑of‑the‑box performance for your app. Remix also embraces the web platform and web standards, allowing web developers to leverage more of their existing knowledge and skills when building for Shopify. We are reshaping Shopify’s platform to embody the same values, for example by releasing a new, web‑centric version of App Bridge.
DX in the frontend developer ecosystem https://www.youtube.com/watch?v=N17BLxy2Kbc
Web development reinvents itself every day. New tools, browser features, redefined best practices—everything’s constantly changing. But are we heading in the right direction? And what role does developer experience play in all this? Let’s examine new (and old) frontend trends to see whether we’re reinventing the wheel for a reason or if yesterday’s sites are already as good as the cutting edge.
Why is DNS still hard to learn? https://jvns.ca/blog/2023/07/28/why-is-dns-still-hard-to-learn/
I write a lot about technologies that I found difficult to grasp. A while back my friend Sumana asked me an interesting question: why are these things so hard to learn? Why do they seem so mysterious?
The Most Important Coding Habits https://puppycoding.com/2023/07/22/healthy-coding-habits/
I’ve learned the hard way that the most important coding habits are not readability, consistency, organization, or any of the usual “code‑quality” metrics. No—the most crucial habits are those that let us enjoy this craft for years and decades to come.
Effective Code Reviews [https://addyosmani.com/blog/code-reviews/](https://addyosmani.com/blog/code-reviews
(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://interpeer.io/blog/2023/07/google-vs-the-open-web/
- [2]https://github.com/RupertBenWiser/Web-Environment-Integrity/blob/main/explainer.md
- [3]Unpacking Google’s new “dangerous” Web‑Environment‑Integrity specification
- [4]Google is already pushing WEI into Chromium
- [5]Mozilla: Request for Position: Web Environment Integrity API
- [6]Apple already shipped attestation on the web, and we barely noticed
- [7]Google’s nightmare “Web Integrity API” wants a DRM gatekeeper for the web
- [8]Google engineers want to make ad‑blocking (near) impossible
- [9]Google Web Environment Integrity is the new Microsoft Trusted Computing
- [10]Google's next big idea for browser security looks like another freedom grab to some
- [11]https://deno.com/blog/tea-simplifies-distributing-software
- [12]https://legible-typography.com/en/