Skip to content

Everything else

Thoughts, career notes and one-off experiments. 26 posts, newest first. All topics

  1. Everything elseRecording API Traffic in Chrome: HAR Files, the Recorder and Replaying It in TestsCapture a web app's API calls with Chrome DevTools, Puppeteer, Playwright and the DevTools MCP server, scrub secrets from HAR files, and replay them in tests.
  2. Everything elseBuilding a simple Swing GUI in Java with a button click handlerCreate a Java Swing window with a label and a button, start it on the event dispatch thread, and handle clicks with an ActionListener.
  3. Everything elseSets and maps in Java: HashSet, HashMap and picking an implementationHow to use HashSet and HashMap in Java, when to choose the LinkedHash or Tree variants, and the equals/hashCode and immutability gotchas.
  4. Everything elseWhat programming is and why it's worth learningA short explanation of what programming is, and the practical reasons to learn it: automating work, problem solving, careers and understanding the software you use.
  5. Everything elseJUnit basics: writing and running unit tests in JavaWrite and run JUnit Jupiter tests in Java, covering the Maven dependency, lifecycle annotations, assertions, parameterized tests and what changed in JUnit 6.
  6. Everything elseJava standard library overview: the core packages and what they're forA tour of the core Java standard library packages (java.lang, java.util, java.time, java.io, java.nio.file, java.net) and what each one is for, with a runnable example.
  7. Everything elseWhat web3 means, and a first Solidity smart contractA short explanation of what people mean by web3, what a smart contract actually is, and a minimal Solidity contract you can deploy in Remix.
  8. Everything elseJQL basics: finding the Jira issues you created recentlyTwo short JQL queries for finding Jira issues you created in the last 15 days, and how to narrow them down to open bugs.
  9. Everything elseHibernate ORM basics: map, save and query Java entities with Hibernate 7What Hibernate ORM does and how to use it today: annotated entities, a SessionFactory, persisting and querying with HQL in Hibernate 7, plus the old APIs that are now gone.
  10. Everything elseTypst basics: building a resume template with grid and padAn introduction to Typst, a markup-based typesetting system, by building a reusable resume template and filling it with data from a separate file.
  11. Everything elseLearning software development for free: trade-offs, topics and resourcesThe pros and cons of teaching yourself software development with free resources, what to learn first, and which free courses and sites are worth your time.
  12. Everything elseCustomizing VS Code with settings.jsonHow VS Code user, workspace and language-specific settings work, where settings.json lives, and how to share settings and extension recommendations with a team.
  13. Everything elseCan WebAssembly replace native desktop apps? Benefits and limitsHow WebAssembly lets native C++, Rust and .NET code run as web apps, what it does well, and where native desktop apps still have the edge.
  14. Everything elseNetty 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.
  15. Everything elseSpring Framework basics: dependency injection, modules and Spring BootWhat the Spring Framework does: the IoC container and dependency injection, its main modules, a runnable example, and how Spring Boot fits in.
  16. Everything elseLog4j 2 basics: configuring loggers, appenders and layouts in JavaHow Log4j 2 loggers, appenders and layouts fit together, with a minimal log4j2.xml, the Maven dependency, and logging from Java code.
  17. Everything elseJackson basics: reading and writing JSON in JavaConvert Java objects to and from JSON with Jackson's ObjectMapper, covering records, field renaming, generic lists, the tree model and Jackson 2 vs 3 differences.
  18. Everything elseSolar-powered Pikachu bobbleheads are cheaper on AliExpressI paid $12.99 for a solar Pikachu bobblehead in Chinatown years ago. The same kind of toy sells for about $5 to $10 on AliExpress, and here's how I shop there.
  19. Everything elseGoogle Guava for Java developers: collections, caching and concurrencyWhat Google Guava still adds to modern Java: immutable collections, Multimap, BiMap, Table, LoadingCache, ListenableFuture and Service, with runnable examples.
  20. Everything elsePowerShell script best practices: functions, error handling, modules and execution policyPractical habits for PowerShell scripts: advanced functions with validated parameters and help, try/catch that actually catches, debugging, modules and execution policy.
  21. Everything elseThoughts on the 2023 tech layoffs and why tech jobs are hard to landMy take in March 2023 on the tech layoffs, why the wider economy still looked strong, what AI might change, and why breaking into tech is hard.
  22. Everything elseLinkedIn's suggested replies just repeat the conversationA chat with a stranger on LinkedIn shows how the suggested-reply buttons echo back whatever was already said instead of offering a useful response.
  23. Everything elseHow to prepare for a technical interviewWhat to study and practise before a software engineering interview: data structures and algorithms, system design, timed coding problems and mock interviews.
  24. Everything elseSuggestions on how to deal with the depreciation of jcenter/bintrayMy Thoughts on what todo with jcenter/bintray going down.
  25. Everything elseWhat I learned about using the simply static wordpress pluginWhat I learned about using the simply static wordpress plugin
  26. Everything elseHow to setup microservices in gae as cheaply as possibleMy explaination to my google app engine template repo.

© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)