thecodrr

Joined 10 years ago

Karma
548
Submissions
246
Member since
Sep 22
Building Notesnook: https://notesnook.com
View on Hacker News

Recent submissions

Comment · 1 year ago
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.
Comment · 1 year ago
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.

Comment · 2 years ago
Comment · 2 years ago
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.

Comment · 2 years ago
Comment · 2 years ago
Not slow changes. Offering self hosted officially means that we have to be aware of users who are self hosting before we make any drastic changes, writing migrating guides, and giving some sort of support. All that has an impact on productivity.
Comment · 2 years ago
There's no point in offering users self hosting if you are going to throw them into a fire by doing so. Notesnook is rapidly evolving and changing, and hoping for self hosted users to keep up is impractical. Instead, we want to first stabilize the backend, and then think about self hosting.

After v3, our primary focus will be on self hosting and getting an audit done.

Comment · 2 years ago
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?

Comment · 2 years ago
What did you find painful?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton