Programming Leftovers
-
Carl Barenbrug ☛ 100% Functional == Beautiful
I want to believe in the beauty of 100% functionalism. It's an equation that makes sense to me. There's beauty in the ability of an object that allows you to perform something perfectly—it goes beyond aesthetics. If a design has been built to be useful above all else and it does so efficiently, effectively, and reliably, it cannot be disliked, therefore it cannot be ugly. Of course, things can be subjectively beautiful and far from functional, but that's not the point here. This is a matter of beauty determined by functionality. So can both be simultaneously objective? Or is there intersubjectivity at play here?
-
[Repeat] Daniel Stenberg ☛ emails I received, the collection
The ones I have shown here on the blog are only a small subset of those that I have received. And of all the ones I have received, I have not kept all, or at least not stored them in ways that makes it easy for me to find them now.
-
Rlang ☛ Object-Oriented Programming in R (Part 1): An Introduction
Object-oriented programming (OOP) is a popular and widely embraced programming paradigm in software development. The concept of object-oriented programming in R has been previously featured in one of our blog posts, specifically within the context of R6 classes.
In this blog post, we will dive deeper into the world of object-oriented programming, understand why it’s a valuable approach worthy of adoption, and its implementation in R.
-
James G ☛ Information coding: Encoding sorted lists of information
In my adventures with compression, I was thinking about ways in which I could represent whether a word was in a chunk. A file would have many chunks. A mapping would store whether each chunk contained a word and, if so, what the code was for that word. The chunking approach I developed did not work, but I did come away with a valuable learning: you can use a sorted list to track preferences and numeric tokens to concisely represent what each value means.