Apple Zero-Day Vulnerabilities 2025: Understanding CVE-2025-31200, CVE-2025-31201, and Emergency Security Response
2025-01-10
Comprehensive analysis of Apple's 2025 zero-day vulnerabilities including CVE-2025-31200 and CVE-2025-31201, emergency patching strategies, and practical security recommendations for iOS and macOS administrators.
1626 words
|
8 minutes
Understanding Rust Ownership and Borrowing - The Complete Guide
2025-01-10
Master Rust's ownership system with clear examples, understand borrowing rules, and learn how to write safe, efficient code without garbage collection
3133 words
|
16 minutes
Building Professional CLI Tools in Rust - From Basics to Advanced
2025-01-10
Learn how to build powerful command-line tools in Rust using clap, colored output, progress bars, and async operations with real-world examples
3097 words
|
15 minutes
Async Rust with Tokio - Building High-Performance Network Applications
2025-01-10
Master asynchronous programming in Rust using Tokio with practical examples including TCP servers, HTTP clients, and concurrent task handling
2457 words
|
12 minutes
Mastering Rust Error Handling - A Practical Guide with Real-World Examples
2025-01-10
Learn how to handle errors effectively in Rust using Result, Option, and pattern matching with practical examples from real-world applications
1763 words
|
9 minutes
Legacy PHP Containerization: Securing PHP 5.3.3 with Podman and CentOS 6
2025-01-10
Complete guide to containerizing legacy PHP 5.3.3 applications using Podman with CentOS 6, including security considerations, rootless containers, and migration strategies.
2902 words
|
15 minutes
Scraping Reddit via their JSON API
2025-01-09
Reddit have long had an unofficial (I think) API where you can add `.json` to the end of any URL to get back the data for that page as JSON.
269 words
|
1 minute
Exploring ColBERT with RAGatouille
2025-01-01
I've been trying to get my head around [ColBERT](https://github.com/stanford-futuredata/ColBERT).
1728 words
|
9 minutes
GPT-4 for API design research
2024-12-30
I came up with a really useful prompt for GPT-4 today. I was [considering options](https://github.com/simonw/datasette/issues/2054#issuecomment-149...
656 words
|
3 minutes
How streaming LLM APIs work
2024-12-30
I decided to have a poke around and see if I could figure out how the HTTP streaming APIs from the various hosted LLM providers actually worked. He...
1210 words
|
6 minutes
A simple Python implementation of the ReAct pattern for LLMs
2024-12-28
A popular nightmare scenario for AI is giving it access to tools, so it can make API calls and execute its own code and generally break free of the...
1111 words
|
6 minutes
Using llama-cpp-python grammars to generate JSON
2024-12-26
[llama.cpp](https://github.com/ggerganov/llama.cpp) recently added the ability to control the output of any model using a grammar.
851 words
|
4 minutes
Piping from rg to llm to answer questions about code
2024-12-21
Here's a trick I've used a couple of times in the past few days.
1105 words
|
6 minutes
Display EC2 instance costs per month
2024-12-21
The [EC2 pricing page](https://aws.amazon.com/ec2/pricing/on-demand/) shows cost per hour, which is pretty much useless. I want cost per month. The...
69 words
|
1 minute
eBPF-Based ADR: Real-time Application Defense
2024-12-20
Comprehensive guide to implementing Application Detection and Response (ADR) using eBPF for real-time threat detection and prevention in modern web applications.
5316 words
|
27 minutes
How to scp files to and from Fly
2024-12-19
I have a Fly instance with a 20GB volume, and I wanted to copy files to and from the instance from my computer using `scp`.
256 words
|
1 minute
How to deploy a folder with a Dockerfile to Cloud Run
2024-12-18
I deployed https://metmusem.datasettes.com/ by creating a folder on my computer containing a Dockerfile and then shipping that folder up to Google ...
319 words
|
2 minutes
Using heroku pg:pull to restore a backup to a macOS laptop
2024-12-15
Today I worked out how to use the Heroku `pg:pull` command and [Postgres.app](https://postgresapp.com/) to pull a Heroku backup to my laptop.
248 words
|
1 minute
Storing files in an S3 bucket between GitHub Actions runs
2024-12-12
For my [git-history live demos](https://github.com/simonw/git-history/issues/30) I needed to store quite large files (~200MB SQLite databases) in b...
323 words
|
2 minutes
Using Prettier to check JavaScript code style in GitHub Actions
2024-12-10
I [decided](https://github.com/simonw/datasette/issues/1166) to adopt [Prettier](https://prettier.io/) as the JavaScript code style for Datasette, ...
235 words
|
1 minute
Using build-arg variables with Cloud Run deployments
2024-12-10
For [datasette/issues/1522](https://github.com/simonw/datasette/issues/1522) I wanted to use a Docker build argument in a `Dockerfile` that would t...
295 words
|
1 minute
Cloning my voice with ElevenLabs
2024-12-08
Charlie Holtz published [an astonishing demo](https://twitter.com/charliebholtz/status/1724815159590293764) today, where he hooked together GPT-Vis...
805 words
|
4 minutes
Redirecting all paths on a Vercel instance
2024-12-08
I wanted to redirect all traffic to `https://something.vercel.app/` to a different domain - preserving the path and the querystring and serving a 3...
320 words
|
2 minutes
Whisky sour
2024-12-07
I picked up the recipe for this one from [this video](https://www.tiktok.com/t/ZTRaxyxQP/) by [@notjustabartender](https://www.tiktok.com/@notjusta...
325 words
|
2 minutes