Earlier quoted context omitted.
This is a truly a great insight from how simple things can create industry giants like google docs. I believe that a lot of problems can be converted into synchronization problems in browsers. Are there any general synchronization libraries / applications that you suggest within browser / outside browser? Thanks in advance.
Not OP, but common solutions in this space represent the state as conflict-free replicated data types (CRDTs). Some popular browser-based libraries for that are Y.js[0] and Automerge[1]. [0]: https://yjs.dev/ [1]: https://automerge.org/
Show HN: Nash, I made a standalone note with single HTML file
141–150 of 153 posts
Re: Show HN: Nash, I made a standalone note with single HTML file
#142Earlier quoted context omitted.
Not OP, but common solutions in this space represent the state as conflict-free replicated data types (CRDTs). Some popular browser-based libraries for that are Y.js[0] and Automerge[1]. [0]: https://yjs.dev/ [1]: https://automerge.org/
By the way, for those wanting to do this but in Rust, there is https://crates.io/crates/yrs and https://crates.io/crates/automerge
[1]: https://loro.dev/
Re: Show HN: Nash, I made a standalone note with single HTML file
#143Earlier quoted context omitted.
By the way, for those wanting to do this but in Rust, there is https://crates.io/crates/yrs and https://crates.io/crates/automerge
And Loro [1], relatively new player which recently hit 1.0, with solid performance and some features the others don’t have [1]: https://loro.dev/
What features does Loro have that others lack?
Re: Show HN: Nash, I made a standalone note with single HTML file
#144Re: Show HN: Nash, I made a standalone note with single HTML file
#145I love this. I made something similar, even more bare-bones, for myself a few years ago. I still use it literally everyday: https://tabnotes.page (just type a note)
Just one note in local storage? What would you use it for?
Re: Show HN: Nash, I made a standalone note with single HTML file
#146Re: Show HN: Nash, I made a standalone note with single HTML file
#147Earlier quoted context omitted.
I thought it was a dynamic text box souped up with all sorts of tricks and semantics to make it appear like a rich text editor
I'm not sure exactly what you mean by "dynamic text box" but it was just a contenteditable div. There have been at least two complete rewrites since I was involved, nowadays I believe it's a canvas with all of the editing, formatting, layout, and rendering done "by hand" in JavaScript.
Re: Show HN: Nash, I made a standalone note with single HTML file
#148Earlier quoted context omitted.
VIM is an HTML page? Or JetBrains editors render an HTML page? I know that some people code in an HTML page rendered in Electron, that would be Atom and VS Code and family, but that's far enough from the majority of people that declaring "our code editor" is disingenuous.
See my other comment in this thread. It's 3/4 devs according to SO.
According to: https://survey.stackoverflow.co/2024/technology#most-popular...
It seems that the order of most used technologies on SO is JS, SQL, HTML, CSS, and only then Python. We skip back to TypeScript and then Bash before finally getting to Java, C#, and C++.
I daresay that self-selected people who read, and sign up for, and fill out a survey at Stack Overflow does not represent the industry as a whole.
Re: Show HN: Nash, I made a standalone note with single HTML file
#149You could make this self contained and truly portable with "real" save using https://rpdillon.net/redbean-tiddlywiki-saver.html
Re: Show HN: Nash, I made a standalone note with single HTML file
#150Earlier quoted context omitted.
See my other comment in this thread. It's 3/4 devs according to SO.
Call me a neckbeard, but 3/4 of devs are not representative of 3/4 of devs in the industry in my opinion. And especially not of 3/4 of devs on HN. According to: https://survey.stackoverflow.co/2024/technology#most-popular... It seems that the order of most used technologies on SO is JS, SQL, HTML, CSS, and only then Python. We skip back to TypeScript and then Bash before finally getting to Java, C#, and C++. I daresa…
> Call me a neckbeard, but 3/4 of devs are not representative of
That should read: > Call me a neckbeard, but 3/4 of devs responding to Stack Overflow surveys are not representative of