Building a safer community: Announcing our new Code of Conduct
Throughout Stack Overflow’s 15-year journey, we have always prioritized the well-being and safety of the community. This is actually one of the things that most attracted me to this community: for years when I worked in other places, I watched to see how Stack Overflow and Stack Exchange worked to
Read moreChatGPT Changed How I Write Software
Generative AI has completely changed the way I approach software design. I don’t think I could ever go back.Continue reading on Better Programming »
Read moreComputing Stirling numbers with limited integers
A couple days ago I wrote a post about a probability problem that involved calculating Stirling numbers. There are two kinds of Stirling numbers, creatively called “Stirling numbers of the first kind” and “Stirling numbers of the second kind.” The second kind come up more often in application, and so
Read moreSwiftUI Testing: a Pragmatic Approach
During the last few months, I’ve been reading “Unit Testing Principles, Practices, and Patterns” by Vladimir Khorikov. It’s definitely one of the best books I’ve read about testing. One of the things I’ve liked the most is that the author offers a “framework of reference” to analyze how good a
Read moreQuick Tip: Shipping Resilient CSS Components
In this quick tip, discover how container queries enable us to ship resilient components containing built-in layout and style variants. Continue reading Quick Tip: Shipping Resilient CSS Components on SitePoint.
Read moreA Story About a Software Architect
I had a chance to be an interim Software Architect recently, and here’s a story about what I’ve learned in the process.Continue reading on Better Programming »
Read moreTorchquad: Python Library for Numerical Integration With GPU Acceleration
A comprehensive, easy-to-follow exploration of Torchquad’s revolutionary GPU-accelerated numerical integration. Integrate 10x faster than any other library in PythonPhoto by Emile Perron on UnsplashIn the realm of modern science and engineering, integration plays a pivotal role. It is the foundation of many calculations, from solving complex differential equations to computing areas under
Read moreOptimizing Heat Transfer in a 2D Grid Simulation’s Runtime Using CUDA: A Parallel Programming Study
Solutions you can apply to similar parallelization problemsPhoto by David von Diemar on UnsplashIn this article, I will discuss a simple, hands-on approach to optimizing the runtime of an interactive algorithm — the Jacobi method. More specifically, we’ll look at ways to apply it to solve the Laplace Equation for Heat Transfer.For that,
Read moreThe Options Pattern Using Single-Method Interfaces
An easy way to design extensible constructors that accept an arbitrary number of argumentsPhoto by Vladislav Babienko on UnsplashThe options pattern is a way to design extensible constructors that accept an arbitrary number of arguments. Let’s get started with this code:type person struct { age int hairColour string}// the constructor using the
Read moreA Glimpse into the Mechanics of LlamaIndex Apps Through the Lens of Observability
Learn how to easily identify and resolve problemsContinue reading on Better Programming »
Read more