Driving an external display from a Mac laptop
2024-03-04
For a friend's wedding I needed to run a Google Photos slideshow on some large televisions.
243 words
|
1 minute
Secrets Management and Vault
2024-03-04
Day 64 of 90 Days of DevOps - Secrets Management and Vault. Part of the Security & Compliance series covering essential DevOps concepts and hands-on practices.
635 words
|
3 minutes
Getting Python MD5 to work with FIPS systems
2024-03-04
[This issue](https://github.com/simonw/datasette/issues/2270) by Parand Darugar pointed out that Datasette doesn't currently run on Linux systems w...
723 words
|
4 minutes
Creating a tiled zoomable image with OpenSeadragon and vips
2024-03-03
The San Francisco Microscopical Society has some extremely high resolution scanned images - one of them is a 1.67GB PNG file with a 25,088 × 17,283...
381 words
|
2 minutes
Container Security and Image Scanning
2024-03-03
Day 63 of 90 Days of DevOps - Container Security and Image Scanning. Part of the Security & Compliance series covering essential DevOps concepts and hands-on practices.
430 words
|
2 minutes
Cumulative total over time in SQL
2024-03-02
This is a quick trick for creating a cumulative chart of the total number of items created over time based just on their creation date.
103 words
|
1 minute
Embedding JavaScript in a Jupyter notebook
2024-03-02
I recently found out modern browsers include a JavaScript API for creating public/private keys for cryptography.
280 words
|
1 minute
Security Scanning in CI/CD Pipelines
2024-03-02
Day 62 of 90 Days of DevOps - Security Scanning in CI/CD Pipelines. Part of the Security & Compliance series covering essential DevOps concepts and hands-on practices.
468 words
|
2 minutes
Unix timestamp in milliseconds in SQLite
2024-03-01
I wanted to retrieve the time in milliseconds since the Unix epoch in SQLite.
548 words
|
3 minutes
DevSecOps Introduction and Principles
2024-03-01
Day 61 of 90 Days of DevOps - DevSecOps Introduction and Principles. Part of the Security & Compliance series covering essential DevOps concepts and hands-on practices.
566 words
|
3 minutes
Snapshot testing with Syrupy
2024-02-29
I'm a big fan of snapshot testing - writing tests where you compare the output of some function to a previously saved version, and can re-generate ...
697 words
|
3 minutes
Using LD_PRELOAD to run any version of SQLite with Python
2024-02-29
I've been wanting to figure this out for ages. [This thread](https://news.ycombinator.com/item?id=23282684) on Hacker News plus [this Stackoverflow...
793 words
|
4 minutes
Observability Best Practices
2024-02-29
Day 60 of 90 Days of DevOps - Observability Best Practices. Part of the Monitoring & Observability series covering essential DevOps concepts and hands-on practices.
544 words
|
3 minutes
Running pip install '.[docs]' on ReadTheDocs
2024-02-29
I decided to use ReadTheDocs for my in-development [datasette-enrichments](https://github.com/datasette/datasette-enrichments) project.
160 words
|
1 minute
Set a GIF to loop using ImageMagick
2024-02-28
I managed to accidentally create a GIF that ran once without looping. I think this is because I created it in [LICEcap](https://www.cockos.com/lice...
91 words
|
1 minute
Running pip install -e .[test] in zsh on macOS Catalina
2024-02-28
macOS Catalina uses `zsh` rather than `bash` as the default shell (apparently because Apple don't like GPL 3).
108 words
|
1 minute
Chaos Engineering and Resilience
2024-02-28
Day 59 of 90 Days of DevOps - Chaos Engineering and Resilience. Part of the Monitoring & Observability series covering essential DevOps concepts and hands-on practices.
679 words
|
3 minutes
Convert a datetime object to UTC without using pytz
2024-02-28
I wanted to convert a datetime object (from GitPython) to UTC without adding the `pytz` dependency.
66 words
|
1 minute
Adding extra read-only information to a Django admin change page
2024-02-27
I figured out this pattern today for adding templated extra blocks of information to the Django admin change page for an object.
164 words
|
1 minute
SRE Principles and Error Budgets
2024-02-27
Day 58 of 90 Days of DevOps - SRE Principles and Error Budgets. Part of the Monitoring & Observability series covering essential DevOps concepts and hands-on practices.
1093 words
|
5 minutes
KNN queries with SpatiaLite
2024-02-26
The latest version of SpatiaLite adds KNN support, which makes it easy to efficiently answer the question "what are the X closest records to this p...
197 words
|
1 minute
Alerting and Incident Management
2024-02-26
Day 57 of 90 Days of DevOps - Alerting and Incident Management. Part of the Monitoring & Observability series covering essential DevOps concepts and hands-on practices.
512 words
|
3 minutes
Code coverage using pytest and codecov.io
2024-02-25
I got my [asgi-csrf](https://github.com/simonw/asgi-csrf) Python package up to 100% code coverage. Here's [the pull request](https://github.com/sim...
371 words
|
2 minutes
Distributed Tracing with OpenTelemetry
2024-02-25
Day 56 of 90 Days of DevOps - Distributed Tracing with OpenTelemetry. Part of the Monitoring & Observability series covering essential DevOps concepts and hands-on practices.
517 words
|
3 minutes