zacharyc
This is the website of zachary cohen (zacharyc). For information on the author check out the About page.
This is the website of zachary cohen (zacharyc). For information on the author check out the About page.
I made a few misconceptions in my previous discussion on Clojure Vectors and Lists. While the concept aligns well with Scheme, Clojure has distinct characteristics that set it apart. Firstly, here is a page on the differences between Clojure and other Lisps. The note at the bottom is about List/sequence library manipulations. It turns out Clojure does some very pretty interesting things with Vectors. Mostly, it just makes them easier, but understanding how they work under the hood might be important depending on the use case. ...
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: ...
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. ...
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. ...
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). ...