Blog Page #3
Here you'll find everything I've written for this site, all in one place, from newest to oldest. Some posts are deep dives, while others are just quick notes and fixes I wanted to remember. Feel free to dig in, and I hope you find something useful or interesting.
-
A note on a Scala concept that confused me at first. This is my quick breakdown of anonymous functions and how they're used in Apache Spark.
-
My experiment with a simple time management strategy. Just logging my thoughts on how planning and breaking down tasks is helping me find some balance.
-
I started digging into Scala and needed to set up my environment. This is my quick cheat sheet for downloading and installing Scala 2.12 on Debian via the command line.
-
A quick reference for making structs printable in Rust. It shows how to use the Debug trait with the derive macro and how to implement it manually.
-
I've been thinking about what C would be like with a Go-style API. This is my early concept for "Supreme C", a library for high-level, safe I/O.
-
I wanted a consistent C build, but
-std=c99
was hiding POSIX functions. Here's a quick look at using_POSIX_C_SOURCE
to solve that. -
A quick C tip I learned for cleaner code. Adjacent string literals are automatically joined by the compiler, which is great for multi-line text.
-
Thinking about how I handle exit statuses in C. On POSIX systems, 0 is success and 1 is failure, so I just use the numbers directly.
-
I always used to cast the result of malloc in C. After digging in, I realized it's not just unneeded, but it can hide serious bugs. Now I do it differently.
-
To keep my C code style consistent, I rely on indent(1). This post just contains a link to my personal configuration profile for the tool.
-
C's strcpy and strcat are risky. Here's my cheat sheet for using their 'n' versions safely to prevent buffer overflows and corrupting memory.
-
I was trying to get a clear definition of Machine Learning. This post covers the two that stuck with me, Arthur Samuel's and Tom Mitchell's model.
-
My initial notes on an AI-powered curator to automate newsletters. It's a look at the early concept, the planned phases, and the first technical challenge.
-
A post from when my procrastination was at its worst. I was even writing a new Go package just to avoid a more important project. This was my decision to fix it.
-
Kept getting a "must be accepted" error in Rails. Here's my quick fix for using the acceptance validator when you have an actual boolean DB column.
-
Lesson learned from stuff that i read or watch in this weekend
-
I'm digging into 'Rametook', an old Ruby project from 2007. My goal is to decode its source to learn how it sends SMS messages over a serial port.
-
I built an age-in-weeks calculator for my first AngularJS project. This is the story of how shipping a messy version led to community feedback and new features.
-
Lesson learned from stuff that i read or watch in this weekend
-
Lesson learned from stuff that i read or watch in this weekend