Fork me on GitHub
#biff
<
2023-09-20
>
Chip02:09:46

I’m new to Papertrail. Just get the system logs? If not, how do I hook bb logs to their stuff?

Jacob O'Bryant02:09:38

yes, system logs

gratitude-thank-you 1
Jacob O'Bryant06:09:04

Partial draft + outline of an essay: https://forum.tfos.co/t/draft-understanding-htmx

1
👏 4
1
Martynas Maciulevičius07:09:58

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).

👍 1
Jacob O'Bryant14:09:20

time stuff would probably be a good candidate for a how-to as well..

Lyn Headley12:09:15

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.

Lyn Headley12:09:21

I also appreciate the undogmatic tone, but that is just vintage Jacob 🙂

Jacob O'Bryant05:09:31

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
Martynas Maciulevičius08:09:47

+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.

🍦 1
chromalchemy20:09:50

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.

🎉 6
🐝 1
㊗️ 1
chromalchemy20:09:49

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.

Jacob O'Bryant20:09:57

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.

chromalchemy20:09:02

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…)

👍 1
Jacob O'Bryant16:09:41

Yep 🙂 it's the same thing as saving a file in local dev, where it evals all the changed namespaces, but in production

Jacob O'Bryant16:09:19

bb prod-dev starts a file watcher and runs bb soft-deploy whenever you save a file

Jacob O'Bryant05:09:31

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