Javan Makhmali

@javan
182 Followers
85 Following
18 Posts
oh hi
Element: checkVisibility() method - Web APIs | MDN

The checkVisibility() method of the Element interface checks whether the element is visible.

MDN Web Docs
New post: JavaScript Bloat in 2024 https://tonsky.me/blog/js-bloat/
JavaScript Bloat in 2024

What is the average size of JavaScript code downloaded per website? Fuck around and find out!

tonsky.me

📝 New on Piccalilli: Steady has a great new homepage

https://piccalil.li/blog/steady-has-a-great-new-homepage/

This new homepage demonstrates how concise content mixed with clear design — riddled with delightful flare — is super effective.

#PiccalilliLinks

Steady has a great new homepage - Piccalilli

This new homepage demonstrates how concise content mixed with clear design — riddled with delightful flare — is super effective.

Piccalilli
My daughter and I built a Little Free Library (https://littlefreelibrary.org) this summer and it was a Big Great Experience. She sketched the initial design and we teamed up to see it through. Super proud of her, and it! 🌈🏠📚
Take a Book. Share a Book. - Little Free Library

Little Free Library is a nonprofit organization with a mission to build community, inspire readers, and expand book access for all through a global network of volunteer-led Little Free Libraries.

Little Free Library
el.className and el.htmlFor have weird, incorrect, inconsistent names because old JavaScript didn't allow reserved words to be property names. That changed over a decade ago, so should we add el.class and el.for? https://github.com/whatwg/html/issues/9379
Add `class` & `for` aliases for `className` and `htmlFor` · Issue #9379 · whatwg/html

https://dom.spec.whatwg.org/#dom-element-classname https://html.spec.whatwg.org/multipage/forms.html#dom-label-htmlfor I assume these were originally given unusual and inconsistent names to avoid r...

GitHub
WCGW?

I’m building an attention tracking app for macOS called N₁₀, and it’s far enough along now that I feel comfortable talking about it.

Here’s the onboarding animation I’ve been working on. There’s more to the app that I want to illustrate, but this video explains the core functionality. Everything you see is drawn with #SwiftUI

Non-disparagement clauses in severance agreements are now illegal, including the ones you signed years ago. Disparage away! https://www.vice.com/en/article/n7ewy7/non-disparagement-clauses-are-retroactively-voided-nlrbs-top-cop-clarifies
Non-Disparagement Clauses Are Retroactively Voided, NLRB’s Top Cop Clarifies

The general counsel of the National Labor Relations Board issued a memo this week clarifying one of the biggest open questions after the NLRB rules broad non-disparagement clauses were illegal.

TIL that macOS ships with a default CLI command called "sips", for "scriptable image processing system" - and it can convert webp images to PNG, but it can also generate entirely new images from scratch using an almost entirely undocumented canvas-based JavaScript API! https://til.simonwillison.net/macos/sips
sips: Scriptable image processing system

I wanted to convert some `.webp` images to `.png` on my Mac. I asked ChatGPT: > On MacOS use CLI to convert webp images to PNG And it told me about `sips`: sips -s format png image.webp --out i

Apparently this technique is so foreign now that someone had to write this in a blog about a web browser. 😔

https://webkit.org/blog/13851/declarative-shadow-dom/

Declarative Shadow DOM

We’re pleased to announce that support for the declarative shadow DOM API has been added and enabled by default in Safari Technology Preview 162.

WebKit