Multiplication via parabola
Here’s a graphical way to multiply two positive numbers a and b using the parabola y = x². Start at the origin, move a units to the left, then go up vertically to the parabola, and draw a point. Go back to the origin, move b units to the right,
Read moreAn Introduction to the View Transitions API
Learn how to use the new View Transitions API, which offers an easier way to animate between DOM states and even between page loads. Continue reading An Introduction to the View Transitions API on SitePoint.
Read moreHow to Be a Better Leader by Communicating More Assertively
Communication tips for empathetic peopleOne bite of a pasta piece, and I immediately know whether it is perfectly cooked. Al dente. The perfect texture for cooked pasta. The perfect combination. Tender, yet firm.I think of al dente pasta when I think of an assertive communication style.Assertiveness is about making your thoughts,
Read moreBeta inequalities and cross ratios
When I worked at MD Anderson Cancer Center, we spent a lot of compute cycles evaluating the function g(a, b, c, d), defined as the probability that a sample from a beta(a, b) random variable is larger than a sample from a beta(c, d) random variable. This function was often
Read moreReduce Boilerplate When Running Kotlin Tests
Using a nifty Kotlin trick, you can keep your tests clean and easy to understand and maintainContinue reading on Better Programming »
Read moreKotlin — Coroutine Internals
Kotlin Coroutine InternalsPhoto by Jantine Doornbos on UnsplashLet’s explore the internals of coroutines based on the Kotlin Proposals — Coroutines, which proposed the design of Kotlin Coroutines.CoroutineThe original text describes a coroutine as an instance of suspendable computation in a single sentence. As such, the most essential characteristic of a coroutine is its
Read moreiOSSnapshotTestCase: A Guide to Snapshot Testing in iOS Projects
How to setup the library and implement the first snapshot test cases for iOS appsPhoto by Tim Mossholder on UnsplashSeveral companies offer digital services through web and mobile applications. In this digital era, ensuring an application delivers on its promises is crucial for the business's success. Users expect uninterrupted access to services
Read moreImproving Native App Testing With a Simple JSON Content Search in Ruby
Easily search your JSON content with one simple methodContinue reading on Better Programming »
Read more