Readit News logoReadit News
thecodrr commented on JavaScript Benchmarking Is a Mess   byteofdev.com/posts/javas... · Posted by u/joseneca
thecodrr · a 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.
thecodrr commented on If not React, then what?   infrequently.org/2024/11/... · Posted by u/pier25
thecodrr · a 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.

thecodrr commented on Show HN: NotesHub: cross-platform, Markdown-based note-taking app   about.noteshub.app... · Posted by u/alex-titarenko
deafpolygon · a year ago
This might be an unpopular take, but I'm tired of all these Markdown text editors. It almost feels like a cop-out at this point. Ever since text editors started supporting Markdown, we've gotten away from all of these great rich-text editors. Apple Notes is an example of a notetaking application "done right", albeit with fewer features. It's enjoyable to use and offers good UI for attaching files. It certainly is not without its flaws, however. Obsidian gets really close. I bet the devs could go all the way.

I want something WYSIWYG-like, without dealing with the underlying mechanisms... give me rich-text on the front and save the file in Markdown behind the scenes. I hardly care, as long as there is a robust export option built-in.

</end rant>

thecodrr · a year ago
You might want to give Notesnook [0] a try.

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

thecodrr commented on ts-blank-space is a fast type-stripping compiler   bloomberg.github.io/ts-bl... · Posted by u/joatmon-snoo
thecodrr · a year 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.

thecodrr commented on Show HN: Notesnook v3 is here with note linking, at rest encryption and more   blog.notesnook.com/introd... · Posted by u/thecodrr
thecodrr · 2 years ago
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/

u/thecodrr

KarmaCake day548September 22, 2016
About
Building Notesnook: https://notesnook.com
View Original