Blog — page 32
662 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.
Introduction to C# and .NET: history, the dotnet CLI, and basic collectionsA short history of C# and .NET, the dotnet CLI commands you'll use daily, List, Dictionary and tuple examples, and how .NET compares with Java.
MongoDB CRUD in Rust with the official mongodb driverConnect to MongoDB from Rust with the official mongodb 3.x driver, map documents to serde structs, and insert, find, update and delete them.
Using TerminusDB from Rust with reqwest and the HTTP APIRun TerminusDB in Docker, then create a database, add a schema, insert documents and read them back from Rust using reqwest and serde_json.
Apache Lucene basics: indexing and searching text in JavaHow Apache Lucene indexes and searches text, how BM25 ranks results, and a runnable Java example that builds an index and queries it with Lucene 10.
GORM basics in Go: models, migrations, CRUD, and associationsGetting started with GORM in Go using SQLite, covering models, AutoMigrate, create/read/update/delete, and a one-to-many association, with zero-value gotchas.
Netty basics: channels, pipelines and an echo server in JavaThe core Netty concepts (Channel, ChannelPipeline, handlers, ByteBuf) and a complete echo server and client written against Netty 4.2.
Calling C and C++ code from Go with cgo and SWIGCall C functions from Go with cgo, wrap C++ behind an extern "C" shim, and let the go tool run SWIG for you to bind a C++ class.
Introduction to Go: where it came from, the basics, and a first web serverA short history of Go, why teams pick it, and the basics: structs, arrays and slices, building a binary, a net/http server, and go doc.
Building a line-based text diff tool in GoBuild a small command-line diff in Go that compares two files line by line using a longest common subsequence (LCS) table and prints added and removed lines.
Web scraping in Go with net/http and goqueryFetch a page with Go's net/http, parse it with goquery's CSS selectors, and extract Hacker News story titles and links, plus the gotchas that break scrapers.
ASP.NET Core MVC overview: controllers, views, model binding and validationA short tour of ASP.NET Core MVC: how models, views and controllers fit together, with a working controller showing routing, model binding and validation.
Apache Spark basics: how it runs jobs, its libraries, and a PySpark exampleHow Apache Spark runs jobs across a cluster (driver, executors, stages, lazy evaluation), what its libraries do, and a PySpark word count you can run locally.
© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)