Readit News logoReadit News
raffraffraff commented on Static sites with Python, uv, Caddy, and Docker   nkantar.com/blog/2025/08/... · Posted by u/indigodaddy
zahlman · 2 days ago
This just seems like several unnecessary layers of complexity to me.

For making a static site that you're personally deploying, exactly why is Docker required? And if the Docker process will have to bring in an entire Linux image anyway, why is obtaining Python separately better than using a Python provided by the image? And given that we've created an entire isolated container with an explicitly installed Python, why is running a Python script via `uv` better than running it via `python`? Why are we also setting up a virtual environment if we have this container already?

Since we're already making a `pyproject.toml` so that uv knows what the dependencies are, we could just as well make a wheel, use e.g. pipx to install it locally (no container required) and run the program's own entry point. (Or use someone else's SSG, permanently installed the same way. Which is what I'm doing.)

raffraffraff · 5 hours ago
I created a static site generator for my wife's business using go + js + git. She has no tech skills whatsoever, but had very specific ideas about how the website should work.

Once the basic functionality was worked out in js (with a simple JSON schema and Lourm Ipsum text), I created a Samba share on the network, mapped it to her computer.

Her first post was an edit of the Lorum Ipsum markdown and some new images, and from then on she had a pattern to follow: add a directory with a markdown file and assets.

The NAS runs a Go program that generates a JSON file for the static site js, starts a http server for testing. She can access the http server over the network to preview the static site. If it's ok, she can trigger a git commit and push (with a click). She didn't have to learn anything (like Hugo or jinja), because markdown is kinda obvious. She has exactly the website she wants.

Of course, I had more work to do initially, coming up with the static site, the JSON schema and the go generator, but it was over a week of evenings. She's been happily adding to it regularly without my interaction.

And this, my friends, is why I (a mere DevOps / Cloud guy) "vibe code" with Claude.

raffraffraff commented on Leaving Gmail for Mailbox.org   giuliomagnifico.blog/post... · Posted by u/giuliomagnifico
jesterson · a day ago
that’s “globally recognised”? Run from them as fast as possible if you would any of your services to work
raffraffraff · 6 hours ago
Well obviously yes, namecheap have been around a very long time and after GoDaddy (the default in the early 2000s for most people) Namecheap became a kind of default. One would think that a company with an online presence going back over two decades, and one a relatively low number of domain registrars, is "globally recognised".

Whether they're "good" or even "passable" is another matter entirely, but without switching away from Google to Namecheap for a few months, one wouldn't have much of an idea. And now I know.

How many really decent email providers are there aside from Google? What's today's obvious choice? And will they last?

raffraffraff commented on Leaving Gmail for Mailbox.org   giuliomagnifico.blog/post... · Posted by u/giuliomagnifico
RandomBacon · 2 days ago
What provider?

Running an online forum, I've encountered people using Atomic Mail, and that service has terrible reliability.

raffraffraff · 2 days ago
Namecheap's "private email" service.
raffraffraff commented on Leaving Gmail for Mailbox.org   giuliomagnifico.blog/post... · Posted by u/giuliomagnifico
raffraffraff · 2 days ago
I moved myself and my wife's business away from Google, but that hasn't been without it's issues. Even though we're using a globally recognised mail provider and have DKIM, SPF etc all set up perfectly, we get bounced or delayed by certain mail admins. There are also occasional delays and issues. One thing I'll say about Gmail is that it's extremely reliable.
raffraffraff commented on AWS in 2025: Stuff you think you know that's now wrong   lastweekinaws.com/blog/aw... · Posted by u/keithly
raffraffraff · 4 days ago
> Availability Zones used to be randomized between accounts (my us-east-1a was your us-east-1c)

WTH?

raffraffraff commented on AWS in 2025: Stuff you think you know that's now wrong   lastweekinaws.com/blog/aw... · Posted by u/keithly
berlesi · 4 days ago
Looks like something that you could solve easily through their support, no?
raffraffraff · 4 days ago
Support don't talk to you unless you pay for support
raffraffraff commented on Why Nim?   undefined.pyfy.ch/why-nim... · Posted by u/TheWiggles
mathverse · 7 days ago
Nim is a programming language for an expert programmer. The ecosystem is very small and for everything a little bit more specialized you need to make a library yourself.
raffraffraff · 7 days ago
This. I really wanted to like Nim. I tried to learn it, but having never been a programmer before (but years of Linux admin, puppet, terraform and scripting) I found it extremely tough, and a lot of documentation is out of date and the there aren't many good examples to follow. Switched to Go and have built lots and lots of stuff in go.
raffraffraff commented on GDPR meant nothing: chat control ends privacy for the EU [video]   youtube.com/watch?v=3NyUg... · Posted by u/givemeethekeys
WA · 7 days ago
Please stop repeating this nonsense. The GDPR never mentioned cookie banners. This is the industry‘s shitty solution to forcing users to consent with tracking.

You can run a perfectly fine website with zero cookie banners if you simply don’t track your users and don’t expose them to third parties that do track them.

Hence, all websites implementing cookie banners are the culprits here, not the GDPR.

raffraffraff · 7 days ago
> You can run a perfectly fine website with zero cookie banners if you simply don’t track your users and don’t expose them to third parties that do track them.

I run an extremely simple static website with some JavaScript that lets the user keep track of their state between visits. I have no way to access their cookie, and nothing on the website sends data to me (in fact, can't, since it's a static site running on Cloudflare pages). I never really thought about whether or not I need to add a cookie banner, I just... Didn't.

Legally though... Do I need to?

raffraffraff commented on OpenIPC: Open IP Camera Firmware   openipc.org/à... · Posted by u/zakki
roscas · 23 days ago
We need more projects like this. I have a tp-link "tapo" home "security" camera.

Setup is made online. Then try to use that without a permanent internet connection... it turns itself off.

It needs a permament connection to tp-link. Now you imagine why.

raffraffraff · 19 days ago
It's hard to say for sure if this firmware will work on a specific Tapo camera, but the Tapo TC60 uses the Ingenic T31 SOC, which is supported. If there's a strong chance that their cameras use any of the Ingenic SOCs on this list, it would be worthwhile trying.

u/raffraffraff

KarmaCake day4037March 26, 2016View Original