Show newer

> “A society grows great when old men plant trees whose shade they know they will never sit in.”

Applications should ship with less default keyboard shortcuts.

For example whenever I install VLC and AMD Adrenalin I clear 99/100 shortcuts. Both have defaults that are easy to trigger by mistake and don't match the core functionality.

Siilwyn boosted
Siilwyn boosted

@lightweight Most people treat the internet like they treat cars. I am ok with driving a car around (sometimes), but have only the a highly abstract theoretical idea of how it works. I also don't have a great deal of interest in finding out, because I have other concerns. The manufacture of engine components might be monopolized by a few factories, but it's not something that keeps me up at night. I kind of trust that the factories make components to a safe enough standard.

Siilwyn boosted

If you're a developer and not an english native speaker, which language do you use for your development tools?

Please don't answer if you're a native english speaker, not to bias the results. Boosts appreciated :)

#translation #internationalization #i18n

Interesting stuff about DPI, font rendering and UI scaling

💻 tonsky.me/blog/monitors/

poor man’s argument types... 💸

```
const doStuff = ({
id = String(id),
category = Number(category),
awesome = Boolean(awesome),
}) => ( /* function body */ );
```

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
Show older
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!