yue
banner
yue.cat
yue
@yue.cat
Welcome to the bright side of yue. https://yue.cat/
Reposted by yue
I've been using a "follow-the-leader" pattern with CSS anchor positioning lately so I decided to write about it!

You set up a "follower" element and dynamically update the anchor on an event/state. Surprisingly simple and effective.

Read more with demos!:

👀➡️ una.im/follow-the-a...
una.im | Follow-the-leader pattern with CSS anchor positioning
Learn how to create a dynamically re-anchored pointer element.
una.im
September 11, 2025 at 6:14 PM
Reposted by yue
ECMAScript excitement 😉

Congrats to @tabatkins.com on advancing the Seeded Pseudo-Random Numbers proposal to Stage 2 at TC39 today 🎉

It produces a series of pseudo-random numbers in a way that can be reproduced across program runs and different JS realms 👍

github.com/tc39/proposa...
GitHub - tc39/proposal-seeded-random: Proposal for a new SeededPRNG class that yields reproducible sequences of random numbers.
Proposal for a new SeededPRNG class that yields reproducible sequences of random numbers. - tc39/proposal-seeded-random
github.com
May 29, 2025 at 1:51 PM
Checked out tsgo (TypeScript navite preview) on several repos. By far it's 1~2x slower compared to v5 due to the lack of incremental compiling support and 4~5x faster if both version has incremental turned off.
Somehow skipLibCheck and js file related resolutions are not working as expected.
May 22, 2025 at 5:17 PM
May 21, 2025 at 4:04 PM
May 11, 2025 at 4:04 PM
Reposted by yue
I made this diagram for a talk on encrypted messaging I recently gave, and I didn’t get to use it in the talk. I figured I’d share it here because I think it tells a story.
May 10, 2025 at 12:45 PM
Reposted by yue
Happy to announce @nodejs v24.0.0 💚!

This release brings several updates, including the V8 13.6 and npm to version 11.

As a reminder, Node.js 24 will enter long-term support (LTS) in October, but until then, it will be the "Current" release

Check it nodejs.org/en/blog/rele...
nodejs.org
May 6, 2025 at 2:44 PM
Reposted by yue
Late to the party, but my daughter asked me to play Minecraft with her and now I’m obsessed.

Proud parent moment: she was showing me how to make a water elevator, and says

“Ok let’s make a small test case” 🤩🤩🤩
May 4, 2025 at 7:47 PM
Tried to walk to Enoshima from Yoyogi today but gave up at Yokohama after 34kms. Fortunately been able to visit the aquarium and enjoy the subset. Had a good day!
May 4, 2025 at 3:23 PM
Reposted by yue
Giving anchor-tool.com a much-needed little facelift.
April 29, 2025 at 1:06 AM
#女の子 雨 - fzttのイラスト - pixiv
www.pixiv.net
April 28, 2025 at 5:54 PM
Trying out rolldown-vite and everything seems promising! It's so easy to migrate and even boring. https://github.com/yue4u/lab/pull/19
feat: rolldown-vite by yue4u · Pull Request #19 · yue4u/lab
Before ✓ built in 13.07s pnpm build 20.47s user 0.83s system 150% cpu 14.145 total After ✓ built in 3.34s pnpm build 7.36s user 0.94s system 202% cpu 4.090 total hyperfine hyperfine -w 1 -n &#3...
github.com
April 27, 2025 at 3:23 PM
Reposted by yue
hello we released RC RC
React Compiler RC is now available! We've added support for swc and are working towards a stable release react.dev/blog/2025/04...
React Compiler RC – React
The library for web and native user interfaces
react.dev
April 22, 2025 at 9:39 PM
Reposted by yue
Big news! tsdown has officially been adopted by @rolldown.rs as part of their core ecosystem and will become the foundation for Rolldown Vite’s Lib Mode!

🎉 Excited to see it evolve as part of the official ecosystem. Stay tuned for more updates!

github.com/rolldown/tsd...
GitHub - rolldown/tsdown: An even faster bundler powered by Rolldown.
An even faster bundler powered by Rolldown. Contribute to rolldown/tsdown development by creating an account on GitHub.
github.com
April 15, 2025 at 11:06 AM
Reposted by yue
LLMs hallucinating nonexistent software packages with plausible names leads to a new malware vulnerability: "slopsquatting."
LLMs can't stop making up software dependencies and sabotaging everything
: Hallucinated package names fuel 'slopsquatting'
www.theregister.com
April 12, 2025 at 10:31 PM
Reposted by yue
G̶o̶o̶g̶l̶e̶r̶… ex-Googler.

nerdy.dev/ex-googler
G̶o̶o̶g̶l̶e̶r̶… ex-Googler. · April 10, 2025
My role at Google was eliminated.
nerdy.dev
April 11, 2025 at 6:05 PM
🍕
April 5, 2025 at 4:23 AM
lol
April 2, 2025 at 2:10 PM
Very interesting to see this phrase as a language example. (Facing south is also a common consideration when choosing rooms in China and Japan)
April 2, 2025 at 1:59 PM
Reposted by yue
Next.js 15.2.3 includes a security vulnerability patch.

We recommend updating to 15.2.3 or backported patches. If you cannot update, we have included guidance for how to protect your application.

Apps on Vercel, Netlify, and Cloudflare are not affected.

nextjs.org/blog/cve-202...
CVE-2025-29927
Next.js version 15.2.3 has been released to address a security vulnerability CVE-2025-29927.
nextjs.org
March 22, 2025 at 7:02 PM
Nice weather outside
March 20, 2025 at 6:43 AM
Reposted by yue
Newest #rustlang `http` release v1.3.0 out today!

Perhaps biggest deal is allowing more characters in the `Uri`, because frankly that's the real world.

github.com/hyperium/htt...
Release v1.3.0 · hyperium/http
What's Changed Allow most UTF-8 characters in URI path and query. (#715) This means paring Uris with previously illegal characters according the original RFC will now be accepted. They used to be...
github.com
March 11, 2025 at 4:46 PM