News for hackers. Stuff that matters.
Re:The open calendar, task and note space is a mess by vbsteven on Monday August 30, 2021 @02:36PM (#28359239)
I'm the author of the article, it's always fun to see your own articles pop up on HN unexpectedly.

This post was written several months ago and in the meantime I have given up on trying to cobble something together using existing solutions because they don't provide the extensibility that I want.

I'm building my own replacement from scratch focussing on tasks/projects/calendars first. The architecture is a postgres db exposing CRUD API endpoints and all changes are broadcasted over MQTT so I can easily hook into everything for automation and extension.

I have a desktop application in JavaFX and a mobile Android app so I can use Kotlin as one language across all clients and backend. Lots of code sharing going on for things like API models.

Re:The open calendar, task and note space is a mess by Const-me on Monday August 30, 2021 @08:56PM (#28362807)
MS Exchange server for tasks and calendar, OneNote for notes, SharePoint to sync these notes.

Closed source, expensive, designed to be supported by professionals, you might need more than 1 server/VM to run them all, requires AMD64 processors.

Well tested (used by millions of people every day), relatively secure, not terribly hard to setup (follow installation guide / best practices documents carefully, and you should be fine).

Re:The open calendar, task and note space is a mess by Godel_unicode on Tuesday August 31, 2021 @01:35AM (#28364293)
OneNote is worth it by itself, it's so good. It also works on mobile really well, the search is awesome,I just wish the sync was slightly less opaque for large notebooks with multiple authors.
Re:The open calendar, task and note space is a mess by ubermonkey on Tuesday August 31, 2021 @08:32PM (#28375276)
OneNote would appeal to me if it had the sort of "go find all my todos across this notebook" feature that OrgMode provides via the org-agenda.

AS is, I've never found it super useful. j

Re:The open calendar, task and note space is a mess by Godel_unicode on Wednesday September 01, 2021 @01:28PM (#28382904)
Viewing tagged notes has been in OneNote since 2010, not sure what you mean. ToDos are a built-in tag type, but you can also create arbitrary other ones and filter based off of those.

https://support.microsoft.com/en-us/office/search-for-tagged...

Re:The open calendar, task and note space is a mess by ubermonkey on Thursday September 02, 2021 @08:57AM (#28391491)
I mean individual items within a note, not entire notes.

I'd want to a collated set of all the items marked as "to do", ideally with due dates, in a "virtual" page or view of the data.

Re:The open calendar, task and note space is a mess by Godel_unicode on Friday September 03, 2021 @04:02AM (#28401590)
I understood you, that's what this does. See the quote below extracted from the link I previously posted. Note that the page it autogenerates is post-filtering and works the same way for any tag (built-in or user created). The summary screen is usually enough for me, but the full note page is nice sometimes because you can annotate it just like any other page.

"If you want to view the tag search results as a notes page, click the Create Summary Page button at the bottom of the Tags Summary task pan."

Re:The open calendar, task and note space is a mess by ubermonkey on Friday September 03, 2021 @10:04AM (#28404384)
Huh, interesting. Doesn't seem to be an option on the Mac version, and I don't think there was this option the last time I tried to do it in Windows, but I'll admit that was a while ago.
Re:The open calendar, task and note space is a mess by manuu80 on Thursday September 02, 2021 @07:13AM (#28390652)
love OneNote, easy and quick for collaborative documentation around implemented systems. It does seem to process the text from images so it can search on them. However, searching IP addresses is not very good
Re:The open calendar, task and note space is a mess by vbsteven on Tuesday August 31, 2021 @04:18AM (#28365161)
Actually my business email is currently setup like this. I have a business o365 account and use Outlook on Windows/MacOS/android/iphone and Thunderbird on Linux.

But I want to move away from it because I want to 1) gain control over my data and 2) extend the system with automations.

Thats why I started researching open source and self hosted alternatives.

Re:The open calendar, task and note space is a mess by Const-me on Tuesday August 31, 2021 @06:41AM (#28366150)
You can run all of the above on your own server[s]. Gonna be expensive though, e.g. $500 just for the OS.
Re:The open calendar, task and note space is a mess by 0xCMP on Monday August 30, 2021 @02:49PM (#28359408)
I planned to comment on the conclusion as well. I think these protocols often do not handle things well enough and in the end the apps out there do not implement them properly anyways. You always end up building some kind of CRUD/RPC thing that works via HTTP/WebSocket which is why things like Todoist and etc work well and are able to add the features everyone wants in the end.
Re:The open calendar, task and note space is a mess by vbsteven on Tuesday August 31, 2021 @04:55AM (#28365442)
This is what I concluded as well. The end goal for my desired system is to make it straightforward to hook into events so I can add automation.

This turns out to be very hard to do based on CalDAV/WebDAV protocols because many clients and services implement the spec differently or only parts of it.

That's why I switched my approach and I'm writing my own backend storage layer that has my desired event system builtin on that layer (Using Kotlin/JVM for the backend, postgres for storage and MQTT for pub-sub to events). On top of that storage/api layer I'm building CalDAV/WebDAV support so external clients can connect to it.

Having my own HTTP+MQTT API makes it a lot easier to build modern clients as well. In fact because I chose Kotlin/JVM as my baseline and have already written a pure Kotlin client library I'm making a lot of progress on both desktop, android and cli tools to interact with the system.

Re:The open calendar, task and note space is a mess by scns on Tuesday August 31, 2021 @08:57AM (#28367447)
Nice, good choice IMSO. Kotlin Native Multiplatform Mobile would make an iOs app less porting work. Only the UI/Views would differ, ViewModels, http client and DB can be shared via Ktor and SQLDelight.
Re:The open calendar, task and note space is a mess by vbsteven on Tuesday August 31, 2021 @09:38AM (#28367910)
Currently I'm doing JVM only using Retrofit and Jackson instead of Ktor. Mostly because I know the JVM ecosystem best and supports all my target platforms. It's delightful to work in a big monorepo that shares API models all the way from the backend to the clients.
Re:The open calendar, task and note space is a mess by ByteWelder on Tuesday August 31, 2021 @08:51AM (#28367377)
Will it be open source? I'd consider helping with that. (Android/Kotlin dev with API/backend experience)
Re:The open calendar, task and note space is a mess by vbsteven on Tuesday August 31, 2021 @09:32AM (#28367851)
The backend and client libraries will be fully open source. That's the only way a self-hosted project like this can work.

I'm not sure about the android/desktop apps. I might keep them commercial for a bit to experiment with an open-core monetization strategy.

Give me a couple weeks to iron out architecture details and write some design docs and then I'll publish the project on GitHub. Shoot me an email if you're interested.

Re:The open calendar, task and note space is a mess by asymmetric on Tuesday August 31, 2021 @08:14AM (#28366922)
> You always end up building some kind of CRUD/RPC thing that works via HTTP

Isn't that what WebDAV is?

Re:The open calendar, task and note space is a mess by mch82 on Monday August 30, 2021 @08:13PM (#28362521)
Have you noticed if any of the calendar protocols allow for recording an appointment without specifying a date?

Consider a haircut that will take 45 minutes & will invite two people (me & the barber), but the day/time is still undecided. Perhaps that sort of appointment can park at a placeholder date with infinite capacity until the real date is scheduled?

Re:The open calendar, task and note space is a mess by brongondwana on Tuesday August 31, 2021 @02:42AM (#28364667)
There's a draft that's been floating around and renewed multiple times over the years called VPOLL which is supposed to do basically this, but it's very tricky to get the edge cases sensible, so it's still not totally done. Generally one party offers appointment times and the other party books one, which simplifies it considerably.
Re:The open calendar, task and note space is a mess by hammyhavoc on Tuesday August 31, 2021 @03:21AM (#28364864)
I really like the idea of free-floating scheduling.
Re:The open calendar, task and note space is a mess by JoBrad on Monday August 30, 2021 @09:54PM (#28363142)
I think that’s called a draft :)
Re:The open calendar, task and note space is a mess by 3np on Tuesday August 31, 2021 @12:38AM (#28364030)
Radicale supports WebDAV and has built-in authentication.

Also, it could be worth to add Calendso to the list. Quite new project with a bit bigger scope than Sabre/Radicale. WebUI, recently added CalDAV.

https://github.com/calendso/calendso

Re:The open calendar, task and note space is a mess by foresto on Monday August 30, 2021 @08:53PM (#28362792)
Thanks for dropping in. Can you explain this comment about Radicale?

> Does not handle authentication by default, needs to be handled by the reverse proxy

My Radicale instance validates users on its own, using credentials in an htpasswd file with bcrypt hashes. Doesn't that count as authentication?

Re:The open calendar, task and note space is a mess by vbsteven on Tuesday August 31, 2021 @04:47AM (#28365374)
It looks like I missed the option to set an htpasswd file directly on the radicale server. After a second look at the Radicale documentation it looks like it supports both, htpasswd directly on the server or configured on the reverse proxy.
Re:The open calendar, task and note space is a mess by donohoe on Monday August 30, 2021 @11:17PM (#28363590)