Computing: page 1
Code portability is the practice of writing code that can be easily reused or transferred between different environments, such as databases or frameworks, with minimal changes. By prioritising portability, developers enhance code maintainability, reduce vendor lock-in, and improve their own adaptability across projects and organisations. Read more ⇒
Paraíso dark VS Code and Zed themes
A dark theme for both the Visual Studio Code (vscode) and Zed editors based on the Paraíso theme from TextMate by Jann T. Sott and Chris Kempson. Read more ⇒
Adding delta to your workflow will give you a nice interactive diff so make command line git so much better! Read more ⇒
Using
git add -p
to interactively stage specific parts of a file allowing for more precise control over commits in git. It provides a walkthrough on how to split hunks for granular commit control, ensuring that only desired changes are staged. The post emphasizes the utility of this approach in enhancing commit precision and managing contributions more effectively in git. Read more ⇒Learn how to dynamically load different base images to build application images and for testing using Docker. Utilize build-time variables in a Dockerfile to specify the Node.js version/tag and even extend the flexibility to customize both the image name and tag. Bonus - Discover a GitHub Actions workflow that builds and tests your project against multiple Node.js versions, ensuring compatibility across different environments. Read more ⇒
Pinning nix-shell package versions for reproducibility
Learn to wield nix-shell’s power for precise project dependency management, ensuring hassle-free development environments. Discover techniques for pinning specific Node.js versions, simplifying dependency references, and integrating yarn for enhanced control. Read more ⇒
YOW! 2023 conference highlights
Highlights from the YOW! 2023 conference in Brisbane. This blog post covers engaging talks on topics ranging from creating a programming language for children to real-world applications of WebAssembly. Gain valuable insights from speakers like Felienne Hermans, Chanuki Illushka Seresinhe, Frank Yu, Dylan Beattie, Katie Bell, and Brooklyn Zelenka. Delve into the future of technology, deterministic execution, local-first software, and more. Read more ⇒
Explore the advantages of cross-compiling in Docker whilst working through a specific case involving a Node.js project using pkg, aiming for a Linux ARM64 architecture in the Docker build. Read more ⇒
Here are some of the window management shortcuts that I have discovered and found very useful having moved to working on a Windows 10 machine. Read more ⇒
The release of Jest 26 brought a new timer faking interface, which now supports Date mocks. I couldn’t readily find any documentation for this feature so, here is how I used in a project recently. Read more ⇒