Hacker News new | past | comments | ask | show | jobs | submit | thecodrr's comments login

Benchmarking is a mess everywhere. Sure you can get some level of accuracy but reproducing any kind of benchmark results across machines is impossible. That's why perf people focus on things like CPU cycles, heap size, cache access etc instead of time. Even with multiple runs and averaged out results you can only get a surface level idea of how your code is actually performing.


React is not slow. React is not "big". React is not the reason your website is slow.

Any engineer who thinks that its React that is causing the slow renders and replacing it with X is deluded. Yes, there are ways to make slow React web apps. But there are also ways to make fast React web apps. It just requires effort and a little bit of foresight.


You might want to give Notesnook [0] a try.

[0]: https://notesnook.com/


You'd already be using source maps in any real-world scenario so I am not sure what's the value proposition here outside of "just for fun, I guess".

The tsc transpilation to lower ES versions is actually really useful when using not-so-recent Node versions. Not to mention this severely restricts TypeScript syntax to "just types" which isn't too bad but it means you now have to worry about yet another thing.

Then there's the ESM & CJS mess. You almost always want to export in both formats which will change a lot of the syntax, so this quickly falls apart for anything serious.

Just use esbuild if you want speed.


All of your objections are addressed in the article.


> You almost always want to export in both formats

I haven’t exported CJS in half a decade. I haven’t authored CJS in a decade. You most definitely do not always want to do that.


> You'd already be using source maps in any real-world scenario

We're shipping production real-time genomics apps in vanilla JS with no source maps.


Why?


Because I prefer making things to Dependabot hell


Hello everyone!

After around 2 years, we are back on HN with a massive update for Notesnook. But before that, here's a short introduction:

Notesnook is an end-to-end encrypted, 100% open source [0] note taking app that prioritizes user privacy.

v3 brings a lot of really radical changes, such as:

- Migration to SQLite

- At rest encryption

- Note linking

- Nested notebooks

- App lock on all platforms

You can read more about all these here: https://blog.notesnook.com/introducing-notesnook-v3/

Our goal with Notesnook has always been to make privacy simpler to adopt for normal users who don't have time to think about privacy. We do that by making privacy that "default" everywhere in the app. We recently crossed 100K registered users with over 4 million notes created on our platform.

If anyone has any questions I'd be happy to answer.

[0]: https://github.com/streetwriters/notesnook/


What did you find painful?


Multiple minor UI glitches, search and note organization is a mess, the app is not local-first, it lacks offline mode which would be guaranteed to work on a plane, the editor is not bad but might be better, no encrypted backups, extremely limited set of syntax highlighters. And many, many other issues.

Across everything I've tried, Standard Notes seems to have the best set of tradeoffs, but they refuse to implement features (like add syntax highliters for modern lagnuages, if I remember correctly, they said that they would only consider it if I prove that thousands of people need it).

Anytype provides good privacy guarantees but they have crappy UX and, ergh, their app needs 5 seconds to start on a modern mac.

The whole notetaking apps market is a shitshow and a total mess. Don't waste your time and money on these half-backed subscription-based electron apps.


It seems to me you are looking for a syntax highlighter in a note taking app. Which modern language are you looking for?

There are encrypted backups. Actually, backups are encrypted by default.

Notesnook also works offline by default so there's no need for a special mode. It's also, obviously, local-first since everything gets encrypted on your device. We don't have a lot of options there.

What "might be better" in the editor?


v3 will be even smoother. We are migrating to SQLite so startup times will be instant. Performance is a feature.


Evernote is not E2EE.


Obsidian is a cool app but it's targeted for a very specific kind of user. Of course, for a technical user Obsidian would feel like home but for an average user with not a lot of technical know how, Obsidian would go way over their heads. Not everyone appreciates having to handle files, worry about syncing, security etc.


> Not everyone appreciates having to handle files, worry about syncing, security etc.

I don't think that's a requirement to use Obsidian? I've had, let's say "less computer savvy" friends who've gotten use out of Obsidian.

AFAIK, you need to create a vault in the beginning, so you need to select somewhere on your computer where stuff gets stored. All the other things are automatic and within Obsidian, although some things are paid addons (like Obsidian Sync).


Markdown itself is more technical than, say, a WYSIWYG editor. People are more used to using MS Word and Google Docs. Obsidian prioritizes a different kind of note taking and, hence, you'll find a lot of tech-savvy users among its community. There's a reason for that.


Obsidian, since a version or two ago, is WYSIWYG as well.


I'm technical and still wasn't a fan. I've been using Notable for a few years now and it's easy peasy.


We are very close to fully supporting self hosted Notesnook. After v3 that'll be our primary focus. That and an audit.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: