Hacker Newsnew | past | comments | ask | show | jobs | submit | flaviocopes's commentslogin

Dropped it a couple days ago to revisit it as a blog post, good timing I guess. Restored https://ahastack.dev/


Check out

API Rules https://pocketbase.io/docs/api-rules-and-filters/#api-rules

Hooks https://pocketbase.io/docs/js-overview/

Admin panel has backups for data, and import/export of collections schema


Been enjoying using PocketBase with Astro + htmx + Alpine


nice! I'm curious to know why would you need Alpine or Htmx if you have one of them in your app? I thought they are mutually exclusive.


htmx = client-server networking Alpine = JS sprinkles

Alpine is for example, I want to show/hide a menu on mobile. I want to upload files via drag and drop. I want to have a bin icon over an image when I hover with mouse to delete it. I want to double click an input field to edit it. I want to close an overlay when I click outside of it, or when I press “esc”.

Also modals, although you can do them in htmx very nicely too, so that’s borderline.

Anything that involves network, htmx. Things that are just frontend, Alpine suits better.

_hyperscript is basically the Alpine equivalent.

It's like the difference between Turbo and Stimulus in the Rails world


Gotcha! I'm gonna dig more into this stack. Thanks for breaking it down for me.


we go into detail on this in the client side scripting chapter of our book:

https://hypermedia.systems/client-side-scripting/


Not sure about the Jupyter-specific issues but macOS comes with Python 2 installed, so you have to install Python separately and use the `python3` binary, or alias `python` to the `python3` binary.

Then remember to run pip using `python3 -m pip <command>` and use virtual environments (venv)

I stumbled on this a couple weeks ago and documented the process here https://flaviocopes.com/python-installation-macos/

I found the same problem with Ruby (old version preinstalled on macOS)


7 years ago Bruce Springsteen in Milan used this song as the intro theme for his concert and it was the best thing ever. Still get shivers looking at the video

https://youtu.be/Qm3lYTtJ8gs


That looks like a good explanation for all that monitoring borderline stalking going on in that specific room! I never thought of it, from now on I'll thank my dog for their service!


Great to hear! I'd say the biggest difference with WP is that you don't worry about plugins, updates, server, etc. Maybe 50% of the posts I write are included in an ebook, I try to write them as a series, so they have a double purpose. One to help if you're searching specific information, the other more organized in an ebook where I explain something from the beginning with a clear structure. Making a series that ends up in an ebook also helps with ideas of what to write about, because I define all the topics beforehand. The other 50% of the posts are individual pieces, maybe an explanation of a problem or task solved while coding, or just a description of something new I'm learning :)


There are tools built for this use case. One example is https://forestry.io


Have you used forestry ?


I use Hugo for my blog but also for other non-blog sites. Generating static HTML gives me peace of mind and Go is super fast at regenerating the site. Deploying is a joyful process using GitHub and Netlify. I’d go static just to use Netlify. And the best part for me is the tech is “boring” so I just focus on the content, rather than on the blog platform.


Your posts have been helpful, thanks for the writing you do!


CodeSandbox is pretty nice! https://codesandbox.io

I also like Glitch a lot https://glitch.com


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: