My Computer

Terminal Programs

My first dive into understanding computers began in 7th grade. I was on a Mac when I first started to learn to program. It wasn’t too long before I connected to the Internet and began to learn about Unix and Linux systems. I remember writing my first CGI script in C on a Solaris box. One of the reasons I was such a computer person was a learning disability I had been diagnosed with. I was a slow writer. I wrote about 30 words a minute by hand. Compare that to the 70 words or so I can type per minute, and you have a compelling reason for me to invest in working on a keyboard instead of using a pen. ...

May 29, 2024 · zacharyc

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

Tailwind Part 2

I’ve been working in a tailwind environment for a couple of weeks on this Clojure project. I have some more opinions about it, and I figured I’d share. Firstly, Tailwind is pretty powerful. One of the reasons we are using it is because of its plugins like DaisyUI, which should allow us to theme our app more easily. Looking at the documentation, there are classes for everything you need to style your front end. The challenge is that it is not always clear how to go from a known CSS property to a Tailwind style. I find myself constantly referring to the documentation. ...

April 12, 2024 · zacharyc

Learning Clojure

I’m working with a friend on a top-secret project I hope to tell you more about soon. Still, because my friend likes functional programming, I’m dusting off some of the material I learned in college at Villanova and better understanding some concepts that escaped me back then. What is Clojure What is Clojure? Clojure is a Lisp-like, functional programming language that compiles jar files to run on the JVM. This means it will run anywhere you can run Java. It also means you can use existing Java libraries in your Clojure code. ...

February 7, 2024 · zacharyc