Skip to main content
Posts —— 11…20 of 67

TIL that HTML5 spec specifies a href="#top" and href="#" fragment to quickly jump to the top of any document. No need to provide a matching anchor. Pretty handy stuff.

https://html.spec.whatwg.org/multipage/browsing-the-web.html#scroll-to-the-fragment-identifier

My yearly account purge is in full-swing. Casualties include toxic social media, dead apps, useless subscriptions of diminishing returns. Also, I won’t be signing up for services that have unclear account deletion and data export policies.

<input type=range> is an absolutely horrible way to accept values on touch devices, especially when the range is large. Provide an element where users can directly type the value.

Using placeholder without a label on the credit card field for example has the screen reader say “kisses kisses kisses kisses” (cz the placeholder is xxxx-xxxx-xxxx-xxxx) instead of “credit card number” 😅

Sara Soueidan (published: )
If a developer fails to close a database connection, it may never be returned to the connection pool. This leads to a connection leak which can throttle an app to a standstill. Learn a way to detect it using Hikari.

docs are hard, often harder than code

Jason Miller (published: )

I was playing with 11ty/is-land by @zachleat on my site built with Lume and this thought struck me: its so incredible that this thing is framework / library agnostic. Such a webby thing to do. We need to build more of such things.

Love that @ublockorigin allows me to block the remote fonts on sites, thus forcing a more legible system font stack. Works like charm on Twitter.

I’ve been a big fan of CTEs. In many cases, they are easier to reason with. They are also faster when the same datasets need to be reused.

https://www.postgresql.org/docs/current/queries-with.html

Ory Hydra is an open source OpenID Connect Provider. It implements OAuth 2.0 Authorization Framework and the OpenID Connect Core 1.0 framework. It can issue OAuth 2.0 Access, Refresh, and ID tokens. Learn how to setup Hydra using Docker, create a client and test a Client Credentials flow.