This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-20
Channels
- # announcements (3)
- # babashka (7)
- # beginners (43)
- # biff (19)
- # calva (39)
- # cider (16)
- # clerk (2)
- # clj-yaml (32)
- # cljs-dev (37)
- # clojure (129)
- # clojure-australia (1)
- # clojure-china (1)
- # clojure-europe (46)
- # clojure-filipino (1)
- # clojure-gamedev (25)
- # clojure-hk (1)
- # clojure-indonesia (1)
- # clojure-japan (2)
- # clojure-korea (1)
- # clojure-my (1)
- # clojure-nl (5)
- # clojure-norway (8)
- # clojure-sg (1)
- # clojure-sweden (12)
- # clojure-taiwan (1)
- # clojure-uk (9)
- # clojurescript (14)
- # core-typed (136)
- # cursive (18)
- # duct (9)
- # emacs (12)
- # etaoin (7)
- # events (1)
- # graalvm (3)
- # gratitude (2)
- # humbleui (7)
- # hyperfiddle (99)
- # introduce-yourself (5)
- # jobs (2)
- # leiningen (1)
- # missionary (14)
- # nrepl (2)
- # off-topic (12)
- # polylith (21)
- # rdf (29)
- # re-frame (8)
- # releases (1)
- # shadow-cljs (264)
- # spacemacs (21)
- # sql (7)
- # vscode (1)
I’m new to Papertrail. Just get the system logs? If not, how do I hook bb logs
to their stuff?
Partial draft + outline of an essay: https://forum.tfos.co/t/draft-understanding-htmx
You may want to mention a couple more points: 1. HTMX is most powerful when back-end is drives most of it 2. There are some weirdnesses when setting up automatic user's UI personalization: time zones and time rendering. This is handled by React and the like as it's always on front-end (but as HTMX is in back-end it has to be mitigated somehow).
time stuff would probably be a good candidate for a how-to as well..
I like how this article is balanced and honest about trade-offs. I think it gives a good sense of the overall feel of deciding whether or not to use htmx.
I also appreciate the undogmatic tone, but that is just vintage Jacob 🙂
thanks 😉
https://forum.tfos.co/t/draft-understanding-htmx/86/9#understanding-htmx-1 is now complete (though not necessarily finished); probably will publish sometime next week. Next on the todo list... an essay on XTDB vs. Postgres vs. Datomic.
+1 for mentioning VanillaJS -- the fastest and most cross-platform JS framework. And by a large margin. I wonder when they'll support HTTPS on their webpage... I guess this is not important because they're that good.
Just wrote up release notes for v0.7.15: https://github.com/jacobobryant/biff/releases/tag/v0.7.15
I deployed my first first Biff app with default deploy setup. 🎉 https://groundedsol.com/ What’s visible is still a static port of previously built site though. Will work on email form next.
congrats!
When I do bb deploy
, the site is down for 2 minutes and I get nginx 502 Bad gateway errors. Is this normal?
I thought it was broken and needed intervention, until I loaded the logs and watched Biff slowly start up after deploy.
2 minutes feels long, but bb deploy
does cause downtime because it restarts the jvm. how much memory does the droplet have? I found that with 500mb, startup was pretty slow, but with 1gb it got a lot faster.
also for a lot of changes you can deploy with bb soft-deploy
which doesn't cause down time.
I have 1gb memory in droplet. Will have to profile code maybe. I’ll try bb soft-deploy, that’s what I was probably looking for (for simple html changes…)
Does
https://github.com/jacobobryant/biff/blob/b730c8524fa113832865b6f41312dd87a514465f/tasks/src/com/biffweb/tasks.clj#L347bb soft-deploy
only reload namespaces like in local or production REPL?
Yep 🙂 it's the same thing as saving a file in local dev, where it evals all the changed namespaces, but in production
bb prod-dev
starts a file watcher and runs bb soft-deploy
whenever you save a file
https://forum.tfos.co/t/draft-understanding-htmx/86/9#understanding-htmx-1 is now complete (though not necessarily finished); probably will publish sometime next week. Next on the todo list... an essay on XTDB vs. Postgres vs. Datomic.