-
Introducing: Togglicons
Togglicons offers a single SCSS mixin for bringing customizable toggling icons into your web application.
Continue reading … -
A Simple Tree Building Algorithm
It is, unfortunately, not that often that I get the opportunity to devise an algorithm to solve a problem at work. Most work simply doesn’t require that kind of thinking. But I thoroughly enjoy that kind of thinking, and thus thoroughly enjoyed the most recent opportunity I had to employ it. The problem was simple (though I have simplified and abstracted it for this post as well): we have a database table of
Continue reading …things
, and thesethings
have a parent-child hierarchy, and we need to display a tree of thesethings
in our UI. So, let’s dig in. -
Communication is Hard
Communication is hard. I have found myself contemplating this truth a lot lately. At work it has become a kind of mantra on my team. Have you ever taken the proverbial step back to consider what all is involved in communicating with another human being? We have these thoughts, often messy, squishy, and loosely formed, which we attempt to shuttle from our mind into someone else’s mind (let alone a group of other minds). In order to get these nearly amorphous ideas out of our heads and into another, we package them up in words. We quiver these small muscles in our throats or we engage our wrists and fingers to hammer out some collection of runes or we sometimes even drag our hands across tree pulp scrawling out an even cruder form of these same symbols. There is no inherent connection between the etherial thoughts in our minds and these vibrations in the air or scribbles on a surface; there is nothing that guarantees this representation, whatever physical form it takes, properly encodes our thoughts. In fact, it is impossible for me to imagine that words could ever fully encode thought. But that is only half of it.
Continue reading … -
1 = 0.9999...
In mathematics it is proven that
Continue reading …1 = 0.9999...
. How is this so? But more importantly, in understanding how and why this is true, what can we glean about the nature of paradoxes? Let's explore. -
An Example of an ERB Component
An example of building an "ERB component", that is, an ERB partial that has ansome flexibility around their HTML output articulated via an interface in the
Continue reading …render
call. -
A function for generating HTML attribute values
How might I write a function that was as flexible as possible in its type signature, and yet still predictable and sane in its output of HTML attribute values?
Continue reading … -
Accessing Values from Nested Hashes
How can you access values from a nested (i.e. multidimensional) hash without throwing errors when the shape of the hash is not strictly fixed?
Continue reading … -
Cleaning up Git repos
Let's write down so we remember how to delete [1] old remote branches, [2] already-merged remote branches, and [3] already-merged local branches.
Continue reading … -
Conjunctive Binarism
What is truth? I'm not sure, but I'm starting to think its
Continue reading …~(P & ¬P)
. This post introduces what those symbols mean and how they represent my growing idea of Conjunctive Binarism, which is my theory of what truth is. -
Fractals and Paradox: The Case of the Duck/Rabbit
I have entitled this website “Fractaled Mind”, and in this inaugural post I want to begin to explain why. What ought the mind to do with fractals? What are fractals? And what the hell do they have to do with ducks and rabbits? Hopefully, I can answer this and a few other questions as well.
Continue reading …