David Myers

@david.fyi

Staff Software Engineer | Open Source Maintainer | Dog Dad

Anyone out there writing custom form validations with modern browser APIs? Specifically looking into things like using ValidityState, the <output> element, setCustomValidity, :user-valid, etc.

I finally have a good reason to learn Rust (building a cross-platform app with Tauri), and I am loving it so far. The combination of expressions, result objects, and pattern-matching is such a breath of fresh air.

You can now see which value is the active value in min(), max() and clamp() - in Canary DevTools today - coming to Chrome stable soon!

font-size: min(2em, 2rem);
padding: clamp(10px, 5vw, 30px);
margin: max(2lh, 2em);

2em is crossed out
10px, 5vw is crossed out
2em is crossed out

This is such a cool idea. I link out to other sites in my posts, but I've never considered adding a links index. I'm absolutely going to add this to my site!

elle@elle.email · 2y ago

links pages are so important! i fell out of the habit of putting them on my sites the past few years even tho i always put them in my early websites. but this article reinvigorated them for me: thoughts.melonking.net/thoughts/eve... i hope they come back in a big way as social media implodes (⌒_⌒;)