Lists vs Vectors in Clojure

One of the projects I’m working on for Gluino has me thinking about data structures again. Data structures are ways of storing data in memory (either program memory or on disk), and the choice can be significant. I’m working on a list of requests with scores and values. This list grows dynamically as items enter and leave it. It could contain 0, 1, or many items. Let’s discuss the implementation of these structures in a more common programming language better to understand the difference between a list and a vector. Simply put, a vector is like an array of memory, whereas a list is more similar to a linked list. Here is some C code creating an array, which is akin to a vector: ...

May 21, 2024 · zacharyc

Growing With Hugo

I’ve committed to building websites with Hugo about ten years after it was cool. I’ll admit that I sat on the WordPress bus for too long. I’m currently redesigning zacroyoga. The challenge is that I still need to be a theme designer. Designing a theme would be fun, but I like the PaperMod theme, but there are certain areas I want to extend beyond it. For example, on zacroyoga, I don’t want posts on the front page. The front page is a landing zone. It will have information about me and acroyoga and places to visit. I will put posts on a separate page. ...

May 20, 2024 · zacharyc

Rudy Gobert

My journey into the world of the NBA began in Mountain View, where I shared a room with a passionate NBA fan. Prior to that, I was solely a college ball enthusiast. However, his enthusiasm was infectious, and over the years, I found myself becoming more and more engrossed in the game. This year, I’ve taken my fandom to a new level, tuning in to almost every NBA postseason game. ...

May 19, 2024 · zacharyc

Me and the ADHD

I think I have ADHD. My brain has always been scattered. I always take on more than I can finish, and I’m usually unsure about the next step. So, I picked up a book called How to ADHD and have been reading it. I initially bought a hardcover copy but switched to the Kindle version because it is easier to read while traveling (then I read it on my iPad instead of my Kindle). ...

May 18, 2024 · zacharyc

Coaching and Dealing With Parents

Yesterday, I showed up to teach my Acroyoga class at the YMCA and witnessed a verbal altercation between a parent and a coach. The interaction upset me enough to write this post. I’ve written about this here and a somewhat relative post on comp behavior. The hardest part of coaching is almost always dealing with the parents (though for me, it is sometimes also at odds with my administrators over what a cheer team should be). ...

May 16, 2024 · zacharyc