←back to thread

578 points smusamashah | 10 comments | | HN request time: 0s | source | bottom
Show context
johnfn ◴[] No.42463936[source]
I think "single HTML file" sets up a certain expectation that a five-thousand-line long HTML file with ~3500 lines of embedded JS doesn't really live up to. I mean, hey, everything can be a single HTML file if you embed the bundle inline in your HTML!

Cool project, though - don't mean to take away anything from it.

replies(14): >>42464100 #>>42464173 #>>42464210 #>>42464396 #>>42464481 #>>42464520 #>>42464775 #>>42465102 #>>42466230 #>>42466423 #>>42466472 #>>42467609 #>>42472114 #>>42474653 #
lelandbatey ◴[] No.42464100[source]
If I can actually hit "ctrl-s" and save it offline, that's a huge and worthwhile feature that meaningfully changes how I can interact with the project; it's not purely a fluff description.
replies(1): >>42464876 #
zelphirkalt ◴[] No.42464876[source]
That will probably never work easily in any secure browser. I think at the very least you would have to go: ctrl+s, dialog opens hopefully at the right directory you want to store in, enter/return.
replies(2): >>42464901 #>>42467123 #
1. hu3 ◴[] No.42464901[source]
Are you serious?
replies(1): >>42465644 #
2. lagrange77 ◴[] No.42465644[source]
What's wrong with that statement? Can you access the filesystem without a dialog?
replies(3): >>42465837 #>>42465880 #>>42465976 #
3. ◴[] No.42465837[source]
4. hu3 ◴[] No.42465880[source]
It's pure useless pedantry. Imagine the abysmal signal to noise ratio if discussions went like that more often.
replies(1): >>42466079 #
5. rpdillon ◴[] No.42465976[source]
The point is that you can save the file and then use it offline. The exact set of clicks to make that happen are completely irrelevant to the core point.
replies(1): >>42467735 #
6. bowsamic ◴[] No.42466079{3}[source]
It’s not pedantry at all, he’s highlighting a major usability issue
7. zelphirkalt ◴[] No.42467735{3}[source]
So when you save a document in any popular word processing program, and every time you save it, a dialog would pop up asking you where to save it ... You wouldn't find that annoying at all, do I understand that correctly?
replies(1): >>42468549 #
8. rpdillon ◴[] No.42468549{4}[source]
Your line of questioning is based on an incorrect set of assumptions.

The number of clicks is an implementation detail. It depends on whether or not you're using the web file API, some browser download capability, a browser plug-in, a mobile app, desktop app, a webdav server, or something else.

For people trying it for the first time, they often have the experience you're describing. But for most anybody that actually picks this up and uses it on a day-to-day basis, they use something else that saves transparently and automatically.

All of this is orthogonal to whether or not it's in a single HTML file. I fear you took lelandbatey's original ctrl-s reference a bit more literally than intended, though if you want to be pedantic, I can confirm I use applications in this style all day as part of my daily workflow and I do press ctrl-s and it saves with no further interaction in fully patched versions of Chrome, Firefox, and Safari with no plugins whatsoever.

replies(1): >>42470186 #
9. zelphirkalt ◴[] No.42470186{5}[source]
Would you be so kind to share how you manage to get them to save without further interaction? That would really add usability. Maybe I did take the ctrl+s too literally, but being pedantic was not my intention. Merely hinting at this usability issue. So a solution would be very welcome.

(And I am not the one downvoting you, in fact I couldn't even.)

As an aside: I do find these applications very interesting and am considering to make use of Nullboard myself, but also am weighing it against simply using org mode in Emacs and am looking for any advantage it might offer. Of course the ctrl+s issue plays a role there as well.

replies(1): >>42473302 #
10. Ray20 ◴[] No.42473302{6}[source]
I think via something like this:

https://developer.chrome.com/docs/capabilities/web-apis/file...