Blog — page 10
664 posts on software development, newest first. Browse by topic:Rust, Go, Python, JavaScript & web, AI & data, DevOps & tooling, Mobile & Android, .NET & C#, C++ & systems, LaTeX, Investing, Everything else.
Structural pattern matching in Python: matching dicts, sequences and classesUse match/case to parse JSON events and command tuples, match classes with __match_args__, add guards, and avoid the capture-vs-constant trap.
Git cherry-pick, merge strategy options, and release tags in shell scriptsApplying single commits with git cherry-pick, resolving conflicts automatically with -X ours/theirs and rerere, and scripting annotated or signed release tags.
Decrypting Laravel Crypt::encryptString values in PythonHow Laravel's encrypter builds its AES-256-CBC payload and HMAC-SHA256 MAC, and a Python function using pycryptodome that verifies and decrypts it.
Outlier vs. Appen vs. Alignerr: why the newcomer wins for AI training work in 2025Pros and cons of three AI training gig platforms, how Meta's stake in Scale AI hit Outlier's workload, and why I rate Alignerr the best option in 2025.
Build a command-line contact book in Python with SQLiteA small menu-driven CLI that adds, lists, updates and deletes contacts in a SQLite database, using only Python's standard library.
WebAssembly for web developers: what it's good at and when to skip itWhat WebAssembly gives a web app (fast compute, reuse of C, C++ and Rust code, a sandbox) and what it costs, with a minimal module called from JavaScript.
Cargo basics: creating Rust projects and managing dependenciesCreate a Rust project with Cargo, add crates with cargo add, understand Cargo.toml version requirements and Cargo.lock, and the commands you use daily.
Android Room basics: entities, DAOs and a database in KotlinHow to set up Android's Room library with KSP, define an entity, DAO and database, and read and write data from an Activity with coroutines and Flow.
ButterKnife on Android: binding views and click listeners, and migrating to View BindingHow ButterKnife's @BindView and @OnClick annotations work, the setup gotchas on current Android Gradle Plugin versions, and the View Binding code that replaces them.
C++ type traits: querying and transforming types at compile timeUse the <type_traits> header to inspect, compare and transform types at compile time, branch with if constexpr, and write your own trait with partial specialization.
Publishing a Swift package: SwiftPM, Git tags and the Swift Package IndexCreate a Swift package with SwiftPM, tag a semantic version, push it to a public Git repository, and list it on the Swift Package Index so others can depend on it.
Building a REST API in Go with the Gin frameworkBuild a small in-memory books REST API with Gin in Go, covering routing, route groups, path parameters, JSON binding and status codes.
© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)