Django data migration using a PostgreSQL CTE
I figured out how to use a PostgreSQL CTE as part of an update statement in a Django data migration. The trick here is mainly understanding how to ...
194 words
|
1 minute
Exporting Amplitude events to SQLite
[Amplitude](https://amplitude.com/) offers an "Export Data" button in the project settings page. This can export up to 365 days of events (up to 4G...
157 words
|
1 minute
Querying the GitHub archive with the ClickHouse playground
Via [this comment](https://news.ycombinator.com/item?id=34197637) on Hacker News I started exploring the [ClickHouse Playground](https://clickhouse...
600 words
|
3 minutes
Scroll page to form if there are errors
For a Django application I'm working on ([this issue](https://github.com/simonw/django-sql-dashboard/issues/44)) I have a form that can be quite a ...
80 words
|
1 minute
DevOps Metrics and KPIs
Day 85 of 90 Days of DevOps - DevOps Metrics and KPIs. Part of the Best Practices & Culture series covering essential DevOps concepts and hands-on practices.
398 words
|
2 minutes
Recovering data from AWS Lightsail using EC2
I ran into problems with my AWS Lightsail instance: it exceeded the CPU burst quota for too long and was suspended, and I couldn't figure out how t...
333 words
|
2 minutes
Continuous Learning Culture
Day 84 of 90 Days of DevOps - Continuous Learning Culture. Part of the Best Practices & Culture series covering essential DevOps concepts and hands-on practices.
420 words
|
2 minutes
Bundling Python inside an Electron app
For [Datasette Desktop](https://datasette.io/desktop) I chose to bundle a full version of Python 3.9 inside my `Datasette.app` application. I did t...
349 words
|
2 minutes