News for hackers. Stuff that matters.
Re:Published a Book –> Talk Python in Production by mikeckennedy on Monday October 06, 2025 @03:59PM (#45495608)
The idea of the book is to pull away a lot of the hype of big cloud providers, show practical steps how we run things over at Talk Python (podcast, courses, e-commerce, and more).I hope some of you find this refreshing!

You can read the first 1/3 online for free. The rest is available DRM free.

Re:Published a Book –> Talk Python in Production by Kumzy on Thursday October 09, 2025 @02:45AM (#45524342)
Seems interesting, read the online summary. I am curious to read about your part on Chapter 14 (I am part of Litestar maintainer). Thank you for the book anyway !
Re:Published a Book –> Talk Python in Production by mikeckennedy on Thursday October 09, 2025 @07:05PM (#45533950)
Very cool Kumzy. Litestar is awesome, I interviewed some of the folks (you?) on the podcast. I give it some good press in that chapter.
Re:Published a Book –> Talk Python in Production by hshdhdhehd on Thursday October 09, 2025 @03:19AM (#45524560)
Amazing what a Hetzner dedi and docker compose can do
Re:Published a Book –> Talk Python in Production by randomtoast on Thursday October 09, 2025 @03:27AM (#45524608)
I recently compared AWS and Hetzner, not only in terms of raw compute costs but also by factoring in the personnel costs required for operation. I found this perspective particularly interesting: https://beuke.org/hetzner-aws/
Re:Published a Book –> Talk Python in Production by fastasucan on Thursday October 09, 2025 @06:25AM (#45525752)
Something is wrong with the js/css on the site - for everyone with dark mode the <strong> text is grey against white background - super hard to read.
Re:Published a Book –> Talk Python in Production by sionisrecur on Thursday October 09, 2025 @12:36PM (#45530012)
The dark mode still has a white background so there's no reason to have it.
Re:Published a Book –> Talk Python in Production by mikeckennedy on Thursday October 09, 2025 @04:58PM (#45533013)
What are you talking about for dark mode on the site. There is no option to toggle the theme on the site. In the book, inside of readers like kindle on ipad, maybe.

But for the site as you mention, there is no dark mode. Is this some janky extension you use that isn't working? That's note the site's fault.

Re:Published a Book –> Talk Python in Production by MyOutfitIsVague on Friday October 10, 2025 @11:50AM (#45540335)
If the user's OS and/or browser is set to dark mode. The site doesn't need to have a switch; its CSS has the media queries.
Re:Published a Book –> Talk Python in Production by mikeckennedy on Friday October 10, 2025 @04:44PM (#45543582)
Ah, the change was so subtle I didn't realize it was happening. I updated the site so it's nice regardless of theme (dark/light) on the OS.
Re:Published a Book –> Talk Python in Production by bakugo on Thursday October 09, 2025 @10:52AM (#45528533)
How much of the book is AI generated? Please be honest.
Re:Published a Book –> Talk Python in Production by mikeckennedy on Thursday October 09, 2025 @04:59PM (#45533021)
Zero percent of the text is AI generated. The image, yes, but I spent 9 months writing this book personally.
Re:Published a Book –> Talk Python in Production by divbzero on Thursday October 09, 2025 @04:08PM (#45532451)
You noted using persistent volumes for storing data, e.g.:

  docker volume create umami-volume
How do you manage data backup and restore?
Re:Published a Book –> Talk Python in Production by mikeckennedy on Thursday October 09, 2025 @07:04PM (#45533942)
Hey, you just run whatever backup command you would regularly do via compose.

For example, if you run `sqldump --db umami ...` in regular postgres (which is what they are using IIRC), then you run:

docker exec umami "sqldump --db umami ..."

Or something almost exactly like this (just from memory here and I wrote that script a year ago).