HackerTrans
TopNewTrendsCommentsPastAskShowJobs

edisonywh

no profile record

comments

edisonywh
·قبل 5 سنوات·discuss
I kept missing my newsletters and that annoyed me to an extent where I decided to build my own solution: https://slickinbox.com/, Slick Inbox provides you an email that you can use to subscribe to newsletters, and the app is built for reading newsletters.

There are other services out there like Stoop Inbox, Feedly & Feedbin that also does the same thing, but point being that I think newsletters are fundamentally different from an "email" and thus deserve a special treatment (similar to how Podcasts are just RSS feed underneath, but it's fundamentally a different product)
edisonywh
·قبل 5 سنوات·discuss
The article touched on it briefly, but perhaps it wasn't clear.

If the process dies, the Supervisor invokes the `terminate/2` callback so you're still able to process events.

Here are the relevant lines: https://github.com/plausible/analytics/blob/b724def948d51a0f...

Keep in mind you need to trap exit signal to tell the supervisor to invoke the callback, as done so here: https://github.com/plausible/analytics/blob/b724def948d51a0f...

The erlang docs also mentions this: https://erlang.org/doc/design_principles/gen_server_concepts...