News for hackers. Stuff that matters.
Re:Focalboard – a self-hosted alternative to Trello, Notion,... by orliesaurus on Thursday March 18, 2021 @12:59AM (#26499810)
I love Notion but the speed, or rather lack of, is killing me daily. Last Friday I was taking some notes, and suddenly the page refreshed and everything was gone. Went on twitter to see, I wasn't alone .. i feel like hosting my own notion clone is the way to go forward to use Notion...
Re:Focalboard – a self-hosted alternative to Trello, Notion,... by movedx on Thursday March 18, 2021 @02:27AM (#26500116)
I've actually just started using Notion and the UI is nice, as is the feature set, but yeah, I'm getting a little annoyed by the constant page loads.

I mean this kind of thing continues to fuel my beliefs that software is going backwards here because frankly, how hard can it be to render some text?

Re:Focalboard – a self-hosted alternative to Trello, Notion,... by jfim on Thursday March 18, 2021 @03:06AM (#26500279)
> how hard can it be to render some text?

It really depends. If the only thing you care about rendering is US ASCII with a monospace bitmapped font, that's not too hard.

However, a general purpose text renderer will have to handle things like directionality (left to right versus right to left text orientation), wide/half text rendering (for CJK characters), combining characters (for some European, South East Asian languages, and zalgo), line break rules (handling characters like soft hyphens and non breaking spaces), and so on.

On the font rendering side of things, there's kerning (some letters are closer to one another), font ligatures (certain fonts handle things like fi ffi fl ffl differently, not to mention things like hasklig), antialiasing, sub pixel rendering, and the fact that fonts are actually programs running on a stack based virtual machine [0].

That's also ignoring more advanced text rendering features like ruby characters and vertical text rendering. Or that apparently Turkish has different small caps than English ones [1].

In practice, it's probably not the text rendering that's the issue, it's probably just features that are implemented inefficiently.

[0] https://developer.apple.com/fonts/TrueType-Reference-Manual/...

[1] https://docs.microsoft.com/en-us/typography/opentype/spec/tt...

Re:Focalboard – a self-hosted alternative to Trello, Notion,... by capableweb on Thursday March 18, 2021 @07:29AM (#26501576)
"how hard can it be to render some text" as the previous author is a valid complaint, if Notion only rendered text but they do not. There is a lot of data structures around what looks like "just text", including images and everything else.

I agree that Notion has big performance problems, and I myself left it for logseq a long time ago just because of the performance issues and the non-flexible architecture overall. But Notion's performance issues are not about rendering text, it's rendering everything but text.

Re:Focalboard – a self-hosted alternative to Trello, Notion,... by kuschku on Thursday March 18, 2021 @05:15AM (#26500822)
Not just small caps – turkish has different case mapping for iİ ıI vs the ascii mapping iI.

There’s also situations like German, where, until 2017, a single lower case letter could map to two upper-case letters (but they wouldn’t map back to that single lower-case letter):

toUpper(ß) == SS, toLower(S) == s, toLower(SS) == ss, toLower(toUpper(ß)) != ß

(Since 2017 that’s been fixed, although not adopted by every publication or software yet, by using ẞ. toUpper(ß) == ẞ, toLower(ẞ) == ß, toLower(toUpper(ß)) == ẞ)

Re:Focalboard – a self-hosted alternative to Trello, Notion,... by isitdopamine on Thursday March 18, 2021 @03:45AM (#26500421)
All of this can be done quite efficiently on a native widget. The problem with Notion is that it uses Electron.
Re:Focalboard – a self-hosted alternative to Trello, Notion,... by Griffinsauce on Thursday March 18, 2021 @03:57AM (#26500480)
Which makes rendering text extremely simple.

It's a fun meme to blame Electron for everything but the problems with Notion are obviously with its state and data management. Booting/rendering performance is not the bottleneck here, and having used lightning fast Electron apps, I'm sure it never will be.

Put differently: what measurements do you have of the performance issues of Notion and is Electron performance the root problem of them?

Re:Focalboard – a self-hosted alternative to Trello, Notion,... by isitdopamine on Thursday March 18, 2021 @04:05AM (#26500511)
Let’s just say that the fact that Electron needs to allocate hundreds of MB in memory to display a single “Hello world” text does not depose in Electron’s favor.

Compare it with the few MBs needed by an equivalent native app with exactly same functionality.

By any standard and by any metric, Electron is bloated. Some applications (like VSCode) can disguise it quite well and give a an acceptable user experience.

Re:Focalboard – a self-hosted alternative to Trello, Notion,... by madpata on Thursday March 18, 2021 @06:10AM (#26501142)
Maybe that's because Electron isn't made to just display a single line of text?

Text Rendering, CSS Layouts, Accessibility, being good at cross-platform, Canvas/WebGL and a myriad of other APIs make Electron pretty powerful. I don't know exactly, but I think QT would be it's main competitor when it comes to those features. But QT isn't always that easy to develop with.

Re:Focalboard – a self-hosted alternative to Trello, Notion,... by isitdopamine on Thursday March 18, 2021 @07:01AM (#26501419)
For what is worth Electron could solve all the problem in the worlds. My point is that in order to display rich text, images and basic UI elements (what Notion and for instance Slack need) it requires an abysmal amount of memory with respect to a native implementation.
Re:Focalboard – a self-hosted alternative to Trello, Notion,... by capableweb on Thursday March 18, 2021 @07:31AM (#26501587)
Your complaint is basically saying "Hey, I don't need this professional workstation just to run Notepad, what is going on in the world?!" while professional workstations are not for running just Notepad, they are for doing a lot more things than that.

Here you are complaining that a "hello world" uses a lot of memory. Yes, that's true, but the use case for Electron is not to display just "hello world", it's to build full, accessible applications in languages who are usually native on the web.

Re:Focalboard – a self-hosted alternative to Trello, Notion,... by isitdopamine on Thursday March 18, 2021 @03:50PM (#26506796)
No, my complaint is: I am very annoyed that this professional workstation runs Notepad ten times slower than my old 486.

What counts is the final user experience.

Re:Focalboard – a self-hosted alternative to Trello, Notion,... by mr-karan on Thursday March 18, 2021 @04:27AM (#26500601)
I've been Obsidian since a few weeks and it's the most fastest Electron app I've ever used. It's so snappy, it feels like a native app. So, yes I agree with parent comment, Notion is slow and sluggish but Electron is not the one to blame here. The web version is pretty slow as well.
Re:Focalboard – a self-hosted alternative to Trello, Notion,... by Griffinsauce on Thursday March 18, 2021 @01:28PM (#26505188)
Yes! Good point, web Notion is exactly as slow because the problems aren't the engine.
Re:Focalboard – a self-hosted alternative to Trello, Notion,... by Griffinsauce on Thursday March 18, 2021 @01:37PM (#26505293)
Apart from the notion (heh) that we should compare a hello world app to determine real world performance, memory usage is really not that relevant to the discussion of speed, responsiveness etc.

There is a level of optimization where that is relevant and it's relevant in a bigger context of responsible resource usage but that's not what we're talking about here.

This was exactly my point as to the "memes" of Electron criticisms, your point is completely off topic but because someone mentioned "Notion" someone has to make your point nearly verbatim every time.

It does not add anything valuable to the discussion. Talking about caching strategies, offline/online functionality and layout thrashing is much, much more interesting here.

Re:Focalboard – a self-hosted alternative to Trello, Notion,... by scq on Thursday March 18, 2021 @06:40AM (#26501320)
I'm sure it was a lot snappier when I started using it, but it has been getting quite slow over the past couple of years.

Really makes me want a lightweight alternative because I love its editing model.

Re:Focalboard – a self-hosted alternative to Trello, Notion,... by movedx on Thursday March 18, 2021 @08:48AM (#26502105)
I honestly think I'll just use Vim, a "~/notes" directory and my already powerful file searching functionality built into Vim (fzf powered I think it's called)
Re:Focalboard – a self-hosted alternative to Trello, Notion,... by tibu on Thursday March 18, 2021 @03:19AM (#26500317)
Same here. And I still did not find the perfect note taking app. I have so few requirements. WYSIWYG editing, easy image insertion, export function with open standard format, mobile app, some security.
Re:Focalboard – a self-hosted alternative to Trello, Notion,... by gala8y on Thursday March 18, 2021 @04:16AM (#26500553)
I recently moved (almost) all of my note taking into Obsidian [0]. They just released a closed beta mobile app (they are very active in development and great community), but they are local first app.

[0] https://obsidian.md

edit: To clarify, using they mobile app will require paid subscription in all scenarios, I think (not sure, as I don't need that).

Re:Focalboard – a self-hosted alternative to Trello, Notion,... by input_sh on Thursday March 18, 2021 @07:07AM (#26501458)
> To clarify, using they mobile app will require paid subscription in all scenarios, I think (not sure, as I don't need that).

Nope. They've said they'll support opening a folder on a phone. Therefore, as long as you sync the folder using some cloud software, the mobile app will work just fine.

But of course, you can pay them for the convenience and they'll sync them for you.

Re:Focalboard – a self-hosted alternative to Trello, Notion,... by gala8y on Thursday March 18, 2021 @07:46AM (#26501668)
That's cool. Thanks for clarification. They Sync and Publish services look promising, too (Publish shows a mini graph of connected pages, which is a refreshing approach to showing relations of published notes/pages).
Re:Focalboard – a self-hosted alternative to Trello, Notion,... by hardwaresofton on Thursday March 18, 2021 @03:45AM (#26500425)
Have you tried Joplin? I switched to it and have been loving it. Planning on launching a backup service for it this week actually (Backups +/- encryption to OneDrive, Dropbox, AWS S3 and WebDAV support are all built in):

https://joplinapp.org/

Re:Focalboard – a self-hosted alternative to Trello, Notion,... by wlk on Thursday March 18, 2021 @10:28AM (#26503041)
Compared to Obsidian, Joplin suits me much better and it's way more features. I have given Obsidian a fair trail, but now I'm using Joplin
Re:Focalboard – a self-hosted alternative to Trello, Notion,... by smusamashah on Thursday March 18, 2021 @04:05AM (#26500513)
Typora is best WYSIWYG Markdown app
Re:Focalboard – a self-hosted alternative to Trello, Notion,... by rayiner on Thursday March 18, 2021 @03:46AM (#26500432)
Try moo.do
Re:Focalboard – a self-hosted alternative to Trello, Notion,... by it33 on Thursday March 18, 2021 @06:41AM (#26501321)
Focalboard team here.

You can try the "Focalboard Personal Desktop" to run locally where your performance won't be affected by other users.

We made it available in Windows Store and Apple AppStore to make it easy to try out.

This is just a v0.6 right now, and we would love bug reports and enhancement ideas.

It's the early days of the project and we are excited to hear input: https://github.com/mattermost/focalboard/issues

Re:Focalboard – a self-hosted alternative to Trello, Notion,... by qwerty456127 on Friday March 19, 2021 @09:03AM (#26512796)
> We made it available in Windows Store and Apple AppStore to make it easy to try out.

I would prefer a simple non-store app, a portable app perhaps. Can I get a classic zip/whatever?

Re:Focalboard – a self-hosted alternative to Trello, Notion,... by KitDuncan on Thursday March 18, 2021 @12:43PM (#26504583)
I am not sure Focalboard has the features you are looking for, but outline wiki is a cool notion like wiki and pretty fast.