Dropped it a couple days ago to revisit it as a blog post, good timing I guess. Restored https://ahastack.dev/
HN user
flaviocopes
flaviocopes.com
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
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
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
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
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.
CodeSandbox is pretty nice! https://codesandbox.io
I also like Glitch a lot https://glitch.com
Thank you for the mention!
The page design is absolutely amazing, although its weight is 33MB.
Which makes me think, where do we draw the line in terms of web page size? What's acceptable as of 2019? Also considering mobile?
[...] they have access to most of our web browsing via Google Chrome (62.5% market share – although given the amount of broken websites (some explicitly Chrome-only!) I’ve found since switching to Firefox, I believe this number may actually be higher)
Anecdotal, but I got in touch with a pretty popular newsletter hosting tool to tell them the charts on Firefox didn't render correctly, only to be told to use Chrome.
Thank you!
I will keep this in mind for my next "design", I'm not a designer and it shows! I can guarantee the ebook is left aligned though :)
If it was backend-powered I could check a cookie, but the site is static. Since I made it dark-mode-first, I think it's a good compromise. Looking for other ideas too
I wrote a list of web applications ideas at https://flaviocopes.com/sample-app-ideas/, which can be implemented using React. Not too complex to distract you from learning React, not too boring like a todo app
I use Netlify (specialized in JAMstack / static sites). It has a generous free plan.
They can also register your domain, and the integrated interface makes it very easy to sping up a new site from a GitHub repo, assign it a new domain name, get SSL and be up and running in ~2 minutes.
Thank you! I didn't notice it
Great to hear, I'm happy you enjoyed it so far :)
That's interesting! In my case I'm an independent publisher and this "product" lets me step into a possible group of people that might never know about me otherwise. Someone that might appreciate other work I do, in the same topic, which I distribute through my newsletter (I try to create a useful set of resources every week, as a full-time effort). I'm more interested on providing value on the long term rather than making a quick buck with "pay as you want". Of course all the usual throwaway domains are then filtered out :)
Thanks a lot! I'm happy to see you appreciate it!
Thank you! People underestimate how difficult it is to emerge as an independent content producer. It's not the first time I share something in this way and every time someone pops up with this generous offer to the other readers. I don't mind as I might get less throwaway accounts in the list :) but if the topic is of any interest to you, my email newsletter is nothing but more similar content.
That's definitely an omission on my part, that's an interesting story and a needed attribution. Will add in a revision soon!
Thanks for mentioning, I wasn't aware of it. Looks a great alternative to Google Maps
Pretty awesome to see Charles Babbage credited in the introduction.
Of course I forgot to update the Dropbox files prior to posting :)
You can get the updated version from the same link, sorry!
2001: A Space Odyssey is probably my favorite film ever. Our IT teacher made us watch it as part of the computer science classes (awesome teacher).
Very recently Seth Godin talked about it in his podcast, pointing out the poor reviews it got from the press. The argument was "don't worry about criticism, people even criticized that amazing movie, how can you escape criticism"
Since you mention concise, I'll jump in with my JavaScript tutorials series https://flaviocopes.com/javascript/ - I try to condense information in a useful way, kind of following the 80/20 rule.
If you're just looking for the ES6-7-8 updates, https://flaviocopes.com/ecmascript/