Blog
Notes on building software: Go backends, web architecture, audio DSP, and how things work under the hood.
-
How to Render Bitmap Images from Scratch Using C
A custom display function for rendering a bitmap at any specific location on a Waveshare OLED. The libraries included with this display only support rendering an image on the entire screen so here's how to target a specific area for a smaller bitmap.
-
A Quick Guide to Centering Elements in CSS (The Modern Way)
Centering HTML elements with CSS using Grid and Flexbox since the margin 0 auto trick is kinda outdated and was always pretty limited anyway. Depending on how you want things to vertically align, here are a few options.
-
Using Machine Learning to Classify Data with K Nearest Neighbors
K Nearest Neighbors (KNN) is a machine learning algorithm used to classify things based on how similar they are to other things. Instead of having to manually group things into separate categories, you can use KNN to do it automatically.
-
Using Python to Prepare Data for Machine Learning Algos
Machine learning algorithms need tons of data to work effectively. Usually, we don't have a lot of control over how that data is formatted. Cleaning it and preparing it to be used by the algorithms is an important step in training and utilization.
-
Using Generics In Go for More Re-useable Code
In Go, generics are another way of reducing code duplication by allowing the creation of functions and structs that can accept a variety of types instead of just one. They help you to make parts of your code re-usable and DRY (don't repeat yourself).
→Newsletter
Subscribe for Updates!
Enter your email address to hear about new posts and projects. No spam, and I'll never share your email.
Thanks for subscribing!