---
title: "X 归档 2020-06-25"
date: "2020-06-25"
tags:
  - x-archive
  - frontend
  - rust
---

<div class="x-arch-meta">6 条动态 · 图 4 · 视频 1</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1275938845276508160" id="xl-1275938845276508160-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1275938845276508160" id="xl-1275938845276508160-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/467581434434453504/iFzELOBn_bigger.jpeg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-posted" aria-label="发" title="发"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" /><path d="m15 5 4 4" /></svg></span><a class="x-arch-author" href="https://x.com/rauschma" target="_blank" rel="nofollow noopener" data-name="Axel Rauschmayer (also on 🦣)" data-avatar="https://twimg.tweb.xin/twimg/profile_images/467581434434453504/iFzELOBn_bigger.jpeg">@rauschma</a><span class="x-arch-time">07:48</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1275938845276508160-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1275938845276508160-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/rauschma/status/1275938845276508160" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">I’m OK with relative paths because IDEs have become good at updating them. However, this is the coolest way yet I’ve seen for avoiding them.<br /><br />I love file:url dependencies for local packages: <a href="https://2ality.com/2018/04/npm-install-directory.html" target="_blank" rel="noopener">https://2ality.com/2018/04/npm-install-directory.html</a></div>
    <div class="x-arch-text x-arch-trans">相对路径我可以接受，因为 IDE 更新它们已经很拿手了。不过，这是我见过最酷的避免相对路径的方式。<br /><br />我很喜欢本地包使用 file:url 依赖：<a href="https://2ality.com/2018/04/npm-install-directory.html" target="_blank" rel="noopener">https://2ality.com/2018/04/npm-install-directory.html</a></div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1275939727875682304" id="xl-1275939727875682304-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1275939727875682304" id="xl-1275939727875682304-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1975800516664836096/1CEeS2fi_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-posted" aria-label="发" title="发"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" /><path d="m15 5 4 4" /></svg></span><a class="x-arch-author" href="https://x.com/AugmentCoding" target="_blank" rel="nofollow noopener" data-name="Augmented Coding Weekly" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1975800516664836096/1CEeS2fi_bigger.jpg">@AugmentCoding</a><span class="x-arch-time">07:51</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1275939727875682304-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1275939727875682304-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/AugmentCoding/status/1275939727875682304" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">Extreme WebAssembly 1: pushing browsers to their absolute limits <a href="https://medium.com/leaningtech/extreme-webassembly-1-pushing-browsers-to-their-absolute-limits-56a393435323" target="_blank" rel="noopener">https://medium.com/leaningtech/extreme-webassembly-1-pushing-browsers-to-their-absolute-limits-56a393435323</a> - taming x86 control flow</div>
    <div class="x-arch-text x-arch-trans">Extreme WebAssembly 1：把浏览器推向绝对极限 <a href="https://medium.com/leaningtech/extreme-webassembly-1-pushing-browsers-to-their-absolute-limits-56a393435323" target="_blank" rel="noopener">https://medium.com/leaningtech/extreme-webassembly-1-pushing-browsers-to-their-absolute-limits-56a393435323</a> - 驯服 x86 控制流</div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1275942131362750464" id="xl-1275942131362750464-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1275942131362750464" id="xl-1275942131362750464-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1976449544507518976/-M_R54a8_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-posted" aria-label="发" title="发"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" /><path d="m15 5 4 4" /></svg></span><a class="x-arch-author" href="https://x.com/WenluWang" target="_blank" rel="nofollow noopener" data-name="Kingwl🏳️‍⚧️" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1976449544507518976/-M_R54a8_bigger.jpg">@WenluWang</a><span class="x-arch-time">08:01</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1275942131362750464-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1275942131362750464-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/WenluWang/status/1275942131362750464" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">Available at @code insider &amp; @typescript nightly.</div>
    <div class="x-arch-text x-arch-trans">现已在 @code insider 和 @typescript nightly 版本中可用。</div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2020-06/1275942131362750464-1.png" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2020-06/1275942131362750464-1.png" alt="@WenluWang 的配图 1/1" loading="lazy" decoding="async" width="643" height="487" /></a>
    </div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1275942405208850432" id="xl-1275942405208850432-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1275942405208850432" id="xl-1275942405208850432-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/2090232066021769216/IwGLjoSy_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-posted" aria-label="发" title="发"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" /><path d="m15 5 4 4" /></svg></span><a class="x-arch-author" href="https://x.com/addyosmani" target="_blank" rel="nofollow noopener" data-name="Addy Osmani" data-avatar="https://twimg.tweb.xin/twimg/profile_images/2090232066021769216/IwGLjoSy_bigger.jpg">@addyosmani</a><span class="x-arch-time">08:02</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1275942405208850432-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1275942405208850432-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/addyosmani/status/1275942405208850432" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">TIL CSS &quot;background-repeat: round&quot; <a href="http://bit.ly/bgroundtips" target="_blank" rel="noopener">http://bit.ly/bgroundtips</a> ~ repeats background images without clipping ✂️</div>
    <div class="x-arch-text x-arch-trans">今天学到了 CSS 的 “background-repeat: round” <a href="http://bit.ly/bgroundtips" target="_blank" rel="noopener">http://bit.ly/bgroundtips</a> ~ 平铺背景图而不裁剪 ✂️</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2020-06/1275942405208850432-poster.jpg" src="/cdn-media/x/2020-06/1275942405208850432-video.mp4" width="646" height="628" data-duration="23" aria-label="@addyosmani 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1276085012274831360" id="xl-1276085012274831360-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1276085012274831360" id="xl-1276085012274831360-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1825373360437796865/smnE8goK_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/mxstbr" target="_blank" rel="nofollow noopener" data-name="Max Stoiber" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1825373360437796865/smnE8goK_bigger.jpg">@mxstbr</a><span class="x-arch-time">17:29</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1276085012274831360-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1276085012274831360-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/mxstbr/status/1276085012274831360" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">Chrome finally fixed editing styles injected by CSS-in-JS frameworks!! 🎉🎉🎉 No more uneditable styles in DevTools<br /><br />(they typo'd the tweet) <a href="https://t.co/LLyFp1j4oK" target="_blank" rel="noopener">https://t.co/LLyFp1j4oK</a></div>
    <div class="x-arch-text x-arch-trans">Chrome 终于修复了编辑 CSS-in-JS 框架注入样式的问题！！🎉🎉🎉 DevTools 里不会再有无法编辑的样式了<br /><br />（他们发推时打错字了） <a href="https://t.co/LLyFp1j4oK" target="_blank" rel="noopener">https://t.co/LLyFp1j4oK</a></div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1276180524692672513" id="xl-1276180524692672513-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1276180524692672513" id="xl-1276180524692672513-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1570573226534903809/REHEXW9m_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/trivikram" target="_blank" rel="nofollow noopener" data-name="🦋 @trivikram.bsky.social" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1570573226534903809/REHEXW9m_bigger.jpg">@trivikram</a><span class="x-arch-time">23:48</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1276180524692672513-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1276180524692672513-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/trivikram/status/1276180524692672513" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">Notes from AbortController in #nodejs breakout session from #OpenJSCollabSummit <br /><br />➡️ AbortController as a standard cross-platform cancellation primitive<br />➡️ Historical context<br />➡️ Technical considerations<br />➡️ Async APIs with AbortController support<br />➡️ Debugging support<br /><br />#OpenSource</div>
    <div class="x-arch-text x-arch-trans">#OpenJSCollabSummit 大会上 #nodejs 分会场关于 AbortController 的笔记<br /><br />➡️ AbortController 作为标准的跨平台取消原语<br />➡️ 历史背景<br />➡️ 技术考量<br />➡️ 支持 AbortController 的异步 API<br />➡️ 调试支持<br /><br />#OpenSource</div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2026-10/1276180524692672513-1.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1276180524692672513-1.jpg" alt="@trivikram 的配图 1/3" loading="lazy" decoding="async" width="2048" height="1310" /></a>
      <a href="/cdn-media/x/2026-10/1276180524692672513-2.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1276180524692672513-2.jpg" alt="@trivikram 的配图 2/3" loading="lazy" decoding="async" width="2048" height="1280" /></a>
      <a href="/cdn-media/x/2026-10/1276180524692672513-3.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1276180524692672513-3.jpg" alt="@trivikram 的配图 3/3" loading="lazy" decoding="async" width="2048" height="1280" /></a>
    </div>
  </div>
</div>
