All Blog Posts
Browse the following posts, or view all tags.
-
Published on
Invulnerability Frames in Unity
Learn how to implement invulnerability frames in Unity using coroutines. This popular game mechanic exists in many modern and retro games.
-
Published on
Using WebP Images in Jekyll
Do your blog posts suffer from slow load speeds because of all those images you've been using? In this post, we'll look at how you can improve your page load speed in Jekyll using the WebP image format and just a single useful include.
-
Published on
Least Squares Fitting: How to Fit a Curve to Data
A review of the theory behind the least squares method, as well as a look at how to perform straight-line and polynomial least squares fitting, both by hand and with Python.
-
Published on
The Method of Least Squares
Some systems of equations do not have a unique solution, but we can find an approximate solution using the method of least squares. Applications of this method include linear and polynomial regression.
-
Published on
Outer Wilds: Stop and Smell the Pine Trees
On the surface, Outer Wilds is a space exploration game. But peel back the layers, and it's a captivating and philosophical story about life and our universe.
-
Published on
Implementing a Trie in Python
Prefix trees (also known as tries) can be used to efficiently search for a string in a dictionary of known words using just a prefix. Learn how to implement a custom trie in Python.
-
Published on
Operating System Scheduling Algorithms
Only one process can run at a time on a single CPU. Operating system scheduling algorithms are what allow these processes to take turns running.
-
Published on
Hard Links and Soft Links
Linking is how UNIX file systems keep track of files. There are two distinct types of links: soft (symbolic) links and hard links. One sticks around for good, while the other one rots.
-
Published on
Learn to Code Without Wasting Time & Money
A discussion of the things that beginner programmers tend to get wrong, as well as concrete suggestions for what they should be doing instead.