Better HN
topnewbestaskshowjobs
Log inSign up

jdiff

2,885 karma · joined Jun 20, 2021 (5y ago) · 1,131 submissions

Educator, creative coder, slowly burning out.

@different55 at github.com

hn at jaromino.com

Submissions

comment 2y ago · link · parent

They're not talking about peer discovery, they're talking about .torrent file discovery.

comment 2y ago · link · parent

This seems to get brought at least once in the comments for every one of these articles that pops up.

The IA has tried distributing their stores, but nowhere near enough people actually put their storage where their mouths are.

comment 2y ago · link · parent

I do have readers, they're just not as common as the types. And like you they prefer physical books.

comment 2y ago · link · parent

I'm a high school teacher. Not for long, but for a few years now.

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

And I'd advise against thinking that you that you have thought of things within 5 minutes that, inexplicably, researched, data-backed experts have missed so easily. That's a mindset that does not lend itself to intellectual growth.

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

At this point I have to assume that this is willful. You are continuing to ignore things that have been addressed by both myself in my last comment and the article. I invite you to read the article more deeply and look into the actual research backing these UI patterns if you are genuinely struggling to understand.

comment 2y ago · link · parent

It's advised in the implementation documentation to add a page explaining it. Shift is also used naturally when inputting information, with the visual feedback inside the button giving an opportunity for discoverability.

comment 2y ago · link · parent

Time is of the essence when you're hitting an escape shortcut. That's why this component blanks the page immediately, then loads the decoy, there can be no delay even for the browser to tear down the page as it fetches the next. If you have enough time to just go and open Solitaire, you have no need for an escape button.

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

Escape might be more intuitive but it's not more discoverable. Shift is used often when inputting information, and the mentioned visual feedback give this behavior an opportunity to be discovered.

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

You're misunderstanding hx-swap-oob. Each element with that attribute will go and replace the element with the matching ID, keeping them all in sync with one response from the server.

comment 2y ago · link · parent

No. Morph swaps[0] are the basic tool of htmx. Morphdom-swap is simply the one that works for my usecase.

[0] https://htmx.org/docs/#morphing

comment 2y ago · link · parent

> 1) you dont care about keeping UI state on the parts that are replaced (incl any stateful children of the UI element that happen to be there in your DOM structure), and 2) when you dont have to update the app in any other places when your state changes

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

There won't be any justification. The on-device computations probably won't consume credits, but that's the only future change anyone could hope for. Adobe won't be letting go of their subscriptions unless something major happens.

comment 2y ago · link · parent

WP's strength is its size and history. WP is entrenched, it's good enough and it's got an enormous talent pool.

comment 2y ago · link · parent

At least on Linux it'd be relatively trivial to have a small script or application that registers to handle webloc files and feeds it into xdg-open.

comment 2y ago · link · parent

Even in web browsers that support screenshotting an entire page, websites often unload elements that are off-screen. A solution like this can take a bunch of screen-length images and stitch them into a full view of the document.

comment 2y ago · link · parent

The commenter quoted a section of text that included a reference (the mentioned superscript 1) to the footnote, it was already there.

comment 2y ago · link · parent

English is turing complete.

comment 2y ago · link · parent

There's a footnote indicated by the superscript 1 in your quote:

> ¹ 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

File Chooser gripes, I get. It's one of many pain points of GNOME, and one that's haunted GNOME for ages.

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

More positive. -0 is more negative.

comment 2y ago · link · parent

Nope, any US-based server would find itself either turned into a honeypot or taken down in a flash.

comment 2y ago · link · parent

They're not manually generated or anything, it's just a setting. Too few and the model doesn't have enough flexibility to capture complex patterns. Too many and the model can just memorize the data you train it on rather than capturing the patterns driving it.

comment 2y ago · link · parent

Screen reader's probably not going to catch a transient element unless you just happen to stumble across it within that narrow window. Slow reader for whatever reason? Hope you don't take too long, or hope that toast wasn't actually important/actionable for you.

comment 2y ago · link · parent

Heads up, Firefox doesn't like SVG filters being applied to the root element, but the body element works just fine.

Pretty impressive effect, seems tricky to tame though. Where's this gingham pattern bubble up from?

comment 2y ago · link · parent

Short answer: Not really.

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

Facebook is the only one with access to all the information to know that a crime has even happened. Practically, there is no way for someone on the outside to be able to detect many of the illegal things that Facebook is facilitating. Unless you want all of big tech's data to be explicitly funneled to law enforcement, this is not a solution, especially when Facebook's incentivized to turn a blind eye and keep collecting checks.
1
252627
38