Show more
Siilwyn boosted

RT @jamescham@twitter.com

I don't think that people appreciate how different the voice to text experience on a Pixel is from an iPhone. So here is a little head to head example. The Pixel is so responsive it feels like it is reading my mind!

🐦🔗: twitter.com/jamescham/status/1

Siilwyn boosted

"Server-side rendering is not a fallback; client-side rendering is an enhancement."

I would further and say client-side rendering can be (not "is"), a performance optimization for subsequent page loads (and offline). It's only a net-win if you invest non-trivial effort (SW, streams, race network, handle long-lived tabs and cache misses to old JS, etc).

In almost all other cases, it merely produces a slower, less usable, less available version of itself.

by @adactio

adactio.com/journal/9963

Though this page is about choo the whole page gives a nice overview of progressive enhancement on form submission with vanilla JS.

🚂 🚋 🚋 🚋

choo.io/docs/forms/

Siilwyn boosted
Siilwyn boosted

Adding a scroll-to-top button without JavaScript: kevq.uk/adding-a-scroll-to-top

This reminds me, I should implement the "#" relatively URI as a slightly simpler way to do this... And it's a nice reminder about the "scroll-behavior: smooth" CSS property!

Really you can probably drop your CSS frameworks, browsers have taken the hint and implemented the same features in a nicer syntax!

Just found this small gem: npmjs.com/package/sirv-cli
The almost perfect choice in-between the minimal `http-server` and the giant `serve` package.

Siilwyn boosted
Siilwyn boosted

- Knock Knock!

- An async function

- Who's there?

Siilwyn boosted

Okay, this is kinda cool. Since the elementary blog respects prefers-color-scheme, Ephemeral has a built-in color scheme toggle, and apps like Code have dark styles… I can make screenshots in blog posts do this. :D Gonna wrap it up in a little Jekyll include.

Ah the joys of 'almost the same as production' Docker, couldn't replicate an image build issue locally that does happen on a server.

Because it received a kill signal I first tried limiting memory locally to no avail. Turns out an image processing library crashes because of a high concurrency, which my laptop could handle but the server could not. 🐋

Siilwyn boosted
Siilwyn boosted

The year is 2025

There are five browser cores:
- webkit
- chromium
- gecko
- servo
- youtube-dl, which ended up implementing a full-fledged browser in python to keep successfully downloading videos

@developit even with a build step would you choose HTM over JSX?

Curious about why and when you use it.

Siilwyn boosted

Working on a new icon for App Icon Preview, using App Icon Preview :P

Iterating on this with @jimmac and @snwh is a ton of fun!

Siilwyn boosted

I wonder why I spent my day making this but you can now use Contrast to compare "visually" multiple fg/bg

Show more
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!