News for hackers. Stuff that matters.
Re:Ask HN: Is there a powerful open-source Google Calendar r... by grinich on Friday March 31, 2017 @05:25PM (#14008440)
We have a prototype at Nylas which is pretty awesome, but haven't had the time to really finish it. (Focus is important!)

Calendar apps are deceptively hard. Very tricky UI problems alongside super complicated data transformations you need to do across a fragmented ecosystem of ICS/etc. Making something "just work" takes an incredible amount of focused time from an entire engineering team.

But here's a peek anyway if you're curious: https://www.dropbox.com/s/j1ry3qar45ozj7m/nylas-calendar.png...

PS: we are hiring ;) feel free to ping me directly

Re:Ask HN: Is there a powerful open-source Google Calendar r... by isaiahg on Friday March 31, 2017 @10:07PM (#14009979)
I used to use nylas and I loved it, but the neverending upgrade to premium emails were bonkers. I still get the emails long after I've stopped using it and asked for them to stop on. ON EVERY SINGLE ACCOUNT I USED WITH NYLAS! The same email for every account. Accounts I'm fairly sure I never gave permission to be emailed at. I loved your product but tell your marketing/sales people to calm down, it drove this customer away.
Re:Ask HN: Is there a powerful open-source Google Calendar r... by simplehuman on Saturday April 01, 2017 @01:34AM (#14010653)
Same here. Please nylas, stop the god damn spam.
Re:Ask HN: Is there a powerful open-source Google Calendar r... by jventura on Saturday April 01, 2017 @05:54AM (#14011404)
Similarly, I've only added my email account to the desktop app (which should only act as a email client), and somehow they grabbed my email account and start spamming me.
Re:Ask HN: Is there a powerful open-source Google Calendar r... by grinich on Friday March 31, 2017 @05:36PM (#14008531)
Here's a blog post we wrote on RRULEs that just highlights one part of why calendars are hard: https://nylas.com/blog/rrules/
Re:Ask HN: Is there a powerful open-source Google Calendar r... by shaklee3 on Saturday April 01, 2017 @01:09AM (#14010551)
There's a book called "Dreaming in Code" which actually details how hard this problem was for a real project that ultimately failed. Good book for anyone who wants to read an account of a writer who followed an entire software team through the lifecycle of a product.
Re:Ask HN: Is there a powerful open-source Google Calendar r... by fmoralesc on Saturday April 01, 2017 @07:11AM (#14011568)
I'll second this recommendation. For a shorter take on it, Joel Spolsky's review of the book[^1] is a nice read.

[^1]: https://www.joelonsoftware.com/2007/01/21/the-big-picture/

Re:Ask HN: Is there a powerful open-source Google Calendar r... by helge5 on Saturday April 01, 2017 @09:43AM (#14012066)
If you do any serious calendar development, you should join CalConnect. This is where all the calendaring guys meet, work on the related RFCs (CalDAV, iCalendar) and do interoperability testing: https://www.calconnect.org Absolutely worth it.
Re:Ask HN: Is there a powerful open-source Google Calendar r... by fjdlwlv on Saturday April 01, 2017 @10:55AM (#14012408)
Calendaring gals too.
Re:Ask HN: Is there a powerful open-source Google Calendar r... by FragenAntworten on Friday March 31, 2017 @11:37PM (#14010264)
The link to the rrule.js demo is broken; it has moved here: https://jakubroztocil.github.io/rrule/
Re:Ask HN: Is there a powerful open-source Google Calendar r... by taneq on Saturday April 01, 2017 @11:23AM (#14012541)
Dates are one of those "way way harder than you think they are" topics.
Re:Ask HN: Is there a powerful open-source Google Calendar r... by faizshah on Friday March 31, 2017 @06:30PM (#14008941)
I just started with with RRULEs using pg_rrule in postgres. How do you guys handle overrides and exceptions in your schema for the sync engine?
Re:Ask HN: Is there a powerful open-source Google Calendar r... by priyadarshy on Friday March 31, 2017 @07:06PM (#14009199)
there's a lot interesting possibilities for you can handle this. for our sync engine at sunsama we've tried a few different approaches.

currently, we store the "parent" recurring event as one document. then we store exception events as standalone one off calendar events that link back to the parent recurring event. unfortunately, we have to maintain two different types of exploded versions of recurring events (to handle notes on an instance).

eventually, we added a bunch of extra fields to the parent event like a pointer to the next upcoming instance of this event and denormalized full list of exceptions so that we can more easily handle application logic like sending out reminders, and letting you use arrows to navigate b/w instance s of recurring events.

so far with this approach of separating out the parents and children we've run into very few problems.

Re:Ask HN: Is there a powerful open-source Google Calendar r... by helge5 on Saturday April 01, 2017 @10:11AM (#14012186)
I think DAViCal also used to process RRULEs directly within PostgreSQL, may be worth a look: https://gitlab.com/davical-project/davical
Re:Ask HN: Is there a powerful open-source Google Calendar r... by AndrewUnmuted on Saturday April 01, 2017 @10:00AM (#14012147)
I would really prefer that you guys went away. Nothing you do is any good and the incessant spam I received for ever daring to try you out was completely unacceptable, as was the time it took to stop that spam after deleting my account.
Re:Ask HN: Is there a powerful open-source Google Calendar r... by mbesto on Friday March 31, 2017 @06:24PM (#14008898)
This looks like a Sunrise replacement and that's awesome. How can I get notified when it's ready?
Re:Ask HN: Is there a powerful open-source Google Calendar r... by yitchelle on Saturday April 01, 2017 @03:29AM (#14011021)
Is Nylas open source? The OP was looking for an open source alternative. It is not clear from you website whether Nylas is open source or not?
Re:Ask HN: Is there a powerful open-source Google Calendar r... by r3bl on Saturday April 01, 2017 @06:18AM (#14011446)
Their clients are.

However, you would gonna need their sync-engine[0] on your own servers in order to avoid contacting Nylas servers. From what I understand, it's kind of a cloud API that makes some sense out of emailing protocols.

[0] https://github.com/nylas/sync-engine

Re:Ask HN: Is there a powerful open-source Google Calendar r... by grinich on Sunday April 02, 2017 @11:54AM (#14017581)
Re:Ask HN: Is there a powerful open-source Google Calendar r... by firloop on Saturday April 01, 2017 @06:09AM (#14011431)
Not the OP, but the Nylas mail client is open source.

https://github.com/nylas/nylas-mail

Re:Ask HN: Is there a powerful open-source Google Calendar r... by barryhand on Saturday April 01, 2017 @09:26AM (#14011999)
Beautiful, I'm a big fan of Nylas and feel that calendar integration is the last piece for a really nice workflow.
Re:Ask HN: Is there a powerful open-source Google Calendar r... by owenwil on Saturday April 01, 2017 @09:56AM (#14012130)
I had been REALLY hoping this might happen. Goodness, even if it's rough I would love love love to use this