This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-16
Channels
- # announcements (2)
- # asami (5)
- # babashka (52)
- # beginners (42)
- # biff (3)
- # cljdoc (4)
- # cljsrn (2)
- # clojure (30)
- # clojure-austin (35)
- # clojure-dev (3)
- # clojure-france (11)
- # clojurescript (36)
- # conjure (6)
- # cursive (5)
- # fulcro (33)
- # graalvm (41)
- # lsp (54)
- # malli (1)
- # music (2)
- # off-topic (7)
- # overtone (1)
- # pedestal (5)
- # polylith (2)
- # remote-jobs (1)
- # sci (28)
- # shadow-cljs (38)
- # vim (15)
- # web-security (1)
- # xtdb (8)
@foo I'm building a newsletter service and I'm curious if you have written down what you have learned from your experience so far. Also can you explain at a high level how biff is part of Sample? Just some casual Saturday questions. ;)
I've learned lots of stuff :) I have a few blog posts at https://thesample.ai/blog/ but nothing really focused on lessons learned so far. anything in particular you're wondering about? I do think there's a need for more/different newsletter services so I'd love to hear about what you're working on. are you doing it as a business or just as a side project? I actually spent a few hours last night writing up a blog post describing what I'd like to see in a newsletter + blogging platform. I can drop a link to that later today. I'm planning to use it as an ongoing example project for biff that people can contribute to and stuff.
for biff + the sample--we have one web server and one worker. the "enable-web" /"enable-worker" stuff in biff was based on how we have that set up. I have a modified task
file that takes web
or worker
as a first argument, so if I'm working on the web server I run ./task web prod-dev
etc.
we have an ML pipeline that runs daily on the worker which trains our recommendation model. the worker also has a daily task that sends out the emails every morning. it also maintains a queue of recommendations for each user, so as they're using the web app they can get one recommendation after another tinder-style.
let me know if that's what you had in mind haha