Posts
Orthogonal Trajectories of Parabolas
Find the family of curves that are orthogonal to a family of parabolas.
Posts
Averaging Angles
Although this is a basic problem, calculating the average of angles can be tricky and prone to mistakes. This article explains how to correctly find the average angle.
Posts
Spring
Do not live with a poor heart. Look towards beautiful things, help the weak, and no matter how cold it is outside, we must always carry spring in our heart.
Posts
Several Patterns for Handling States in C++
In programming, it is often necessary to control some form of state. This article summarizes several patterns for managing states.
Posts
The Superstition of Adding 0.5 Then Casting to int for Rounding a Float Value
To round a float value, adding 0.5 then casting to int is an amateur approach. Professionals use std::nearbyint.
Posts
Hypothesis: Engineering is Subjective
Engineering is often subjective, and it should not be assumed that talent is easily replaceable.
Posts
How to Make 'yum install' Error on Non-existent Package Names
When using ‘yum install’ and specifying a non-existent package name, it returns exit code 0. This article explains how to change this behavior.