Blog — page 17
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.
Typesetting math in LaTeX: inline and display math, amsmath and mathtoolsHow to write equations in LaTeX: inline and display math, numbering and cross-references, multi-line alignment, matrices, custom macros, and common errors.
LaTeX syntax basics: commands, environments, math and document structureHow LaTeX source is put together, covering commands, special characters, environments, math, figures, tables, custom macros and compiling to PDF.
LaTeX text formatting: fonts, sizes, alignment, lists, colour and tablesA practical reference for formatting text in LaTeX, covering font commands, sizes, alignment, special characters, lists, xcolor, tables, macros and fontspec.
Keeping an element above the fold in React with refs and getBoundingClientRectMeasure where an element ends up on the page with a React ref and getBoundingClientRect, then shift it up with a negative top offset so it stays above the fold.
Pandas basics: create, select, filter, sort and group DataFramesPandas basics in Python: build DataFrames and Series, load a CSV, then select, filter, sort and group rows, with a note on Copy-on-Write and .loc.
Rust memory management: ownership, borrowing and smart pointersHow Rust frees memory without a garbage collector: ownership and moves, borrowing rules, Box, Rc, Arc, Cell and RefCell, with runnable examples.
Dart functions on Appwrite: base64 encode, HTTPS check and email slicerThree small Dart functions (base64 encoder, HTTPS URL check, email slicer) and how to run them as Appwrite Functions with the current context API.
Cutting voice clips from YouTube videos with yt-dlp and ffmpegA Python script that downloads a YouTube video's audio with yt-dlp and cuts it into short WAV clips with ffmpeg, for use as Tortoise TTS voice samples.
Using Microsoft.Extensions.DependencyInjection, the built-in .NET DI containerHow the built-in .NET DI container works - registering services, the three lifetimes, scopes, keyed services, and the mistakes scope validation catches.
Computer vision in Rust: Canny edge detection with the opencv crateInstall OpenCV and the opencv crate, load an image, and run Gaussian blur and Canny edge detection from Rust, with notes on how the bindings map OpenCV's API.
Apache Thrift: a Java server and Python client from one IDL fileDefine a service in Thrift IDL, generate Java and Python code, and call a Java Thrift server from a Python client, with notes on protocols and versions.
Getting started with react-spring: useSpring and useTrail examplesThree small react-spring examples (a fade-in, a slide and a staggered trail) using the current @react-spring/web package and the .to() API.
© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)