2,885 karma · joined Jun 20, 2021 (5y ago) · 1,131 submissions
@different55 at github.com
hn at jaromino.com
comment 2y ago · link · parent
Never have I ever seen a student reading on their phone. I'm not saying it doesn't happen, but it must be a vanishingly small fraction that I have not yet encountered. When my students are on their phones, it's games, or it's (primarily video-based) social media. A smaller but notable fraction is background media consumption, either music or movies.
That's not to say I don't have kids who read, though they're much rarer than the music listeners, just that the readers seem to prefer physical books.
So at least in my experience, I wouldn't expect that metric to be vulnerable to this particular flavor of distortion.
comment 2y ago · link · parent
In almost all cases, it's not just so obvious that the experts in a field are so misguided. It's that there is complexity and depth that is not perceivable at a glance.
comment 2y ago · link · parent
comment 2y ago · link · parent
If you are with someone who cannot know what you are doing, who has appeared suddenly, you are quickly closing what you're doing and, yes, you will be looking at a blank page without some sort of escape mechanism like this. And if it's sudden and unexpected, you might not have been anticipating needing to pop open some decoys.
This seems like a complete misunderstanding of the situation.
comment 2y ago · link · parent
Having said that, regardless of the key the guidelines on using this pattern say that you should explicitly inform the user of the feature before they first encounter it.
https://design-system.service.gov.uk/patterns/exit-a-page-qu...
comment 2y ago · link · parent
Htmx does have tools for both of these cases. Out of the box, htmx throws out state, but there are plugins such as morphdom-swap for merging in the new DOM fragment into the old while keeping state. I have some client-only state that holds references to DOM elements in Javascript, and by default, yes, htmx breaks all those references as those elements no longer exist. Link in morphdom-swap, and my references live on across reloads, even across attribute and content changes.
And for #2, htmx also allows you to swap in elements that are not the target element, just by specifying that that's what you want.
IMO these are pretty basic tools of htmx. Like you said, without them about the most complex thing you can create is a to-do list, and sometimes not even that.
comment 2y ago · link · parent
> ¹ Follow-up 2: Yes, I know that the Tacoma Narrows Bridge collapse was not the result of resonance, but I felt I had to drop the reference to forestall the “You forgot to mention the Tacoma Narrows Bridge!” comments.
Damned if you do, damned if you don't, and damned if you do both, even.
comment 2y ago · link · parent
But GNOME is highly (primarily even) keyboard-driven. The meme since 3.0 is that it's built for touch first, but nobody who's said that has ever used GNOME on a touch device, it is a nightmare. GNOME's primary controls are through keyboard shortcuts or the occasional broad mouse gesture that has a faster keyboard alternative.
comment 2y ago · link · parent
Long answer: Sorta, with a lot of overbearing caveats.
Normal HTML elements cannot be rendered this way, there's no way to disable AA when drawing and no way to disable bilinear (or similar) filtering when scaling. Things will lose resolution, but they'll blur rather than chunk.
Image elements and canvases CAN be scaled to preserve pixels. Anything you draw to a canvas can be kept chunky, but you'll be writing your own rendering routines because the browser does not know how to lay off the AA.
There's probably some treachery you can pull off through SVG.
comment 2y ago · link · parent