Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
42

Docker Deployment Best Practices

from home automation - Tinker, Tamper, Alter, Fry [alt+shift+b] in programming

Given: There’s a CI system that automatically builds docker images from your VCS (e.g. git), we use self-hosted gitlab.Goal: Both initial and subsequent automated deployments to different environments (staging and production). Rejected ApproachesMost existing blog articles and howtos for this use case, specifically in the context of gitlab, tend to be relatively simple, relatively easy, […]
1st Aug 2024

Stay updated

Get a weekly newsletter with the top 5 articles worth reading every week.

More from home automation - Tinker, Tamper, Alter, Fry

Should I Use JWTs For Authentication Tokens?

No.Not satisfied? Fine, fine. I’ll write a longer answer.Let’s talk about what we’re talking about. JWT stands for JSON Web Tokens, a reasonably well defined standard for authenticated tokens. Specifically they have a header with format information, a payload, and a signature or message authentication code. The core idea is that whoever has the corresponding […]

26th May 2024 • 43 votes
On The End of Bitcoin

[This is a repost of a thread of mine from a dead social media platform. The original posting date was May 24th, 2022. I have not added new content.]Is there some scientific literature/scenario planning on the End of Bitcoin? With the next two halvings mining income will shift significantly from block reward to transaction fees. […]

24th May 2022 • 37 votes
Understanding Common Table Expressions in SQL

One of the lesser known features of modern SQL are so-called “Common Table Expressions” (CTE) or “WITH queries”. I’ll explain the mental model that helped me make sense of them, and how to use them to execute recursive queries. Afterwards I’ll show how to apply these techniques in Django.Syntactically a CTE consists of one or […]

4th Aug 2020 • 31 votes
An Efficient Multi-Stage Build for Python Django in Docker

We’ve recently begun dockerizing our applications in an effort to make development and deployment easier. One of the challenges was establishing a good baseline Dockerfile which can maximize the benefits of Dockers caching mechanism and at the same time provide minimal application images without any superfluous contents.The basic installation flow for any Django project (let’s […]

21st Jun 2020 • 33 votes

More in programming

We solved SQLite's single-writer limitation

Multiple concurrent writers. Multiple processes. Same SQLite. No modifications.

6 hours ago • 1 votes
SumatraPDF new features: April 5, 2026

New in the SumatraPDF pre-release builds: Extract Text From Document New Extract Text From Document command (CmdDocumentExtractText) in the Ctrl + k command palette saves the text of a document’s pages to a .txt file. Better comic book archive support (libarchive) Comic book archives (.cbz, .cbr, .cb7, .cbt) are now read with libarchive, which adds support for more archive variants, including bzip2 compression. RAR archives are opened with libarchive first, falling back to unrar.dll. DDE Open can reuse the current tab The [Open] DDE command now honors its inCurrentTab flag: setting it to 1 opens the file in the current tab instead of a new one (#4079). EPUB file list in Properties Document Properties (Ctrl + D) for EPUB files now shows the list of files inside the book. Own Explorer icons for CHM and DjVu The installer registers distinct File Explorer icons for .chm and .djvu files, so they no longer look like PDFs. More: changes from April 5, 2026 and the full changelog.

17 hours ago • 1 votes
If your team is happy, are you doing a good job?

Brilliant jerks, ZIRP-era managers, and how psychological safety lost the plot. Part 3 of my conversation with Dr. Cat Hicks.

23 hours ago • 1 votes
WTF is context engineering? (with real examples)

Say you're deploying an AI assistant that processes online order returns. For it to work, it would need access to your store's purchase policy, item…

2 days ago • 1 votes
Hosting without hyperscalers
3 days ago • 1 votes
📚 BoredReading

You seem to be enjoying this.

Join free to unlock everything.

Create free account

Already have an account? Sign in