Ancient estimate of π and modern numerical analysis
A very crude way to estimate π would be to find the perimeter of squares inside and outside a unit circle. The outside square has sides of length 2, so 2π < 8. The inside square has sides of length 2/√2, so 8/√2 < 2π. This tells us π is
Read moreThe Best Figma Plugins to Enhance Your Design Workflow in 2023
In this article, we'll explore the top Figma plugins that every designer should consider using to enhance their design workflow in 2023. Continue reading The Best Figma Plugins to Enhance Your Design Workflow in 2023 on SitePoint.
Read moreARPAbet and the Major mnemonic system
ARPAbet is a phonetic spelling system developed by— you guessed it—ARPA, before it became DARPA. The ARPAbet system is less expressive than IPA, but much easier for English speakers to understand. Every sound is encoded as one or two English letters. So, for example, the sound denoted ʒ in IPA
Read moreRuzsa distance
A few days ago I wrote about Jaccard distance, a way of defining a distance between sets. The Ruzsa distance is similar, except it defines the distance between two subsets of an Abelian group. Subset difference Let A and B be two subsets of an Abelian (commutative) group G. Then
Read moreTop React Testing Libraries in 2023: A Comprehensive Review
In this article, we will explore some of the top React testing libraries. We'll examine their features, and look at the pros and cons. Continue reading Top React Testing Libraries in 2023: A Comprehensive Review on SitePoint.
Read moreHow to Test Your Network Connection Requests in Swift Using URLProtocol
Photo by Marvin Meyer on UnsplashIn this article, we will see how to test network requests using the not-so-well-known URL Loading System, which intercepts requests made to the server. To address our problem, we’ll put some example code, assuming we have an implementation of this style in our productive code:enum HTTPResult
Read moreThe Role of Empathy in Organizational Changes
Photo by Jon Tyson on UnsplashIn the spring of 2008, all employees of the company I worked for gathered in the auditorium to hear about the company’s business goals. At the end of this festive event, we were asked to step out into the lobby and find ourselves on a giant
Read moreFinding the imaginary part of an analytic function from the real part
A function f of a complex variable z = x + iy can be factored into real and imaginary parts: where x and y are real numbers, and u and v are real-valued functions of two real values. Suppose you are given u(x, y) and you want to find v(x, y).
Read moreLearning Rust With SHA-3 and Friends
Photo by Jantine Doornbos on UnsplashMy first hobby project for learning Rust was implementing cryptographic hash algorithms [MD5, SHA-2, SHA-3]. The latter, SHA-3, was the most challenging implementation.That was due to a) substantial differences in algorithm design from the more familiar MD5 and SHA predecessors and b) fewer and less intuitive
Read moreDebugging My Life as an Engineering Manager With ADHD
Image generated using Stable DiffusionI was always a software engineer first and never planned (or wanted) to become a manager. Dealing with software seemed much easier than dealing with people. Working on hard technical problems felt natural, but dealing with emotional matters and nuances in communication always bothered me.However, when I
Read more