Live data from Hacker News

Show HN: Nash, I made a standalone note with single HTML file

keepworking.github.io

51–60 of 153 posts

Re: Show HN: Nash, I made a standalone note with single HTML file

#51
I like it a lot, and I see from the source you're coding in vanilla js, which is awesome. It's underrated how much of an interactive web app you can build without using any libraries or frameworks nowadays.

I actually also really like the idea of building simple/local web apps in a single HTML page. A while ago my child and I visited a science museum and played with a simple stop motion animator. I decided to make a web app just like it and built it as a single HTML page, copied it to her laptop and she can use it without internet. I built it using React and a bundler though, because I'm too lazy to write vanilla js. It just bundles into a single HTML file. Maybe I'll post a Show HN some time.

Re: Show HN: Nash, I made a standalone note with single HTML file

#54
post #38
post #37

Earlier quoted context omitted.

Eh, no? My Code editor is NeoVim or it's IntelliJ But there is no HTML page involved at all. What I want to hint at: You're extrapolating the usage of VSCode.

According to the latest stack overflow dev survey 74% of respondents use vs code. I think it's a pretty safe statement.

It's interesting, I also do not like the implication that we are all using vscode and feel slightly offended that someone would assume that I do. (The original statement is worded ambiguously and can be understood in this way.)

Anyway, I find it remarkable that a piece of software that I don't even use can trigger such a reaction in me, from a perfectly benign and innocent statement about the prevalence of HTML.

Re: Show HN: Nash, I made a standalone note with single HTML file

#55
post #37

Earlier quoted context omitted.

Eh, no? My Code editor is NeoVim or it's IntelliJ But there is no HTML page involved at all. What I want to hint at: You're extrapolating the usage of VSCode.

As a side joke regarding vim; I have a theory that my exposure to typewriters as a kid prevented me from adopting vim as an editor :) Pressing the letter keys for anything other than typing feels so weird to me. My brain might still be thinking of the SHIFT key as a physical modifier that literally shifts the typewriter letters from uppercase to lowercase position. I admire fast vim users, it's a joy to watch them co…

I can relate to this. I also used typewriters, and my first computer was a mac plus. vim felt so weird and alien to me.

Then I decided to really give it a try and let go of everything I had learned. Now I'm a daily neovim user. kickstart.nvim is really what made it possible to use as a daily coding tool.

Re: Show HN: Nash, I made a standalone note with single HTML file

#58
post #13

Earlier quoted context omitted.

That's right. Exactly! I wanted the document to be edited without a separate editor.

I'm curious, somehow I remebered as JS not getting executed when opening a html file from filesystem, but clearly that isn't the case since this works. Did this change? Maybe I'm just misremembering

script type="module" doesn't work from file systems. To my great annoyance. Other than that, I'm quite certain JS has worked from file systems since it existed.

Re: Show HN: Nash, I made a standalone note with single HTML file

#60
Damn, I was working on the same thing but I got caught on implementing LaTeX-compatable support and bitmap/svg diagram drawing. (https://files.catbox.moe/25hxc3.zip) Also I used emscripten to embed a PNG encoder into the browser

The UI of this is a lot better though, for markup-style tasks.

Post reply on HN