Ryan Miller (@ryanmillerdev) header
Ryan Miller (@ryanmillerdev) profile picture

Sapere aude.

Seattle
Joined November 2012
Replying to @michael_nielsen
The Codex Seraphinianus by Luigi Serafini!
Used to think HTTP range requests were limited to bytes, which is a sensible use case but nothing I'd encountered in the wild. Turns out you're free to use any range unit you wish (see RFC 7233#2.2). Here's a basic pagination example:
1
I always thought data-* attributes were a loose convention on the web, perhaps aiming to increase readability. Not so! It's actually baked into the HTML5 spec: html.spec.whatwg.org/dev/dom…. In fact, elements possess the dataset property, which can be used like so:
1
5
What's the smallest (valid) HTML document one could write? Throw out <html>, <body>, and <head>: only Doctype and <title> are necessary (per validator.w3.org and google.github.io/styleguide/…). File that in questions I thought I knew the answer to...
3
Just learned that you can apply media queries directly to <style> elements via the media attribute. I'd still lean towards intra-stylesheet media queries myself, but neat to know this exists.
3
Alright folks, JavaScript puzzler. Why am I allowed to set a property on a number instantiated via the Number constructor, but not allowed if the same number came into being via a literal? 🤔
1
1
5
Such an overwrought graphic for what could be such a simple process fix!
Holy smokes, iTunes Connect is completely and utterly busted.
1
@andRyanMiller In the meantime, I nurture my monoliths...
Favorite Seattle parking hack - no 30 min. limits on load/unload Sundays. On Cap Hill, signs letting you know are:
We all knew this was coming. From @Google's AMP spec - go Unicode! ⚡
3
5
Winlock, WA has its priorities straight.
1
1
Just re-upped my iOS dev license. First order of business - salvage and rebuild.
1
Watched Gangs of New York for the first time a few days ago and this scene w/ Daniel Day Lewis is all I can think of.