Ruzsa 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 moreThe Overflow #188: Recognition for individual contributors
Welcome to ISSUE #188 of The Overflow! This newsletter is by developers, for developers, written and curated by the Stack Overflow team and Cassidy Williams. This week: real talk on hallucinations, the cultural implications of workplace hugs, and a spotlight on digital privacy. From the blog Improving time to first byte:
Read moreBehind the scenes with the folks building OverflowAI (Ep. 594)
On today’s episode we chat with Ellen Brandenberger, our Director of Product Innovation, and Jody Bailey, our CTO, about the big changes Stack Overflow put in place to create OverflowAI and the research and thinking that went into the products and features we announced this week at WeAreDevelopers. Episode Notes
Read moreSolidity 0.8.21 Language Feature: Flexible Immutables
Image generated with Hotpot.aiIn the past, Solidity’s handling of immutable variables has been quite rigid. However, the game has changed with the arrival of Solidity 0.8.21. Immutable variables, while still unchangeable after a contract’s construction, now abide by a more flexible set of guidelines for their initialization and assignment. In
Read more