stuck between sharp and blunt

Are Computer Science and the Tao Similar?

In the field of computer science, design is an integral part of the process of writing programs. Without a solid design, the program will perform erratically or become so large and complex that it's impossible to maintain and keep your sanity. Thus, one of the biggest parts of computer science and application design is carefully hidden among the details. The key to good software is managing the complexity of the program in a way that makes it easy to maintain and appear simple to users. This key bears some resemblance to a concept in Taoism called p'u, or "simplicity".


Sporkbox has relaunched!

As you can see, Sporkbox has been properly relaunched after moving to a VPS. I am now hosted by Crissic, which has been great for me so far. I really enjoy the degree of freedom that a VPS allows me from a development and structuring perspective.


A New Direction for Sporkbox

I've studied web development for about ten years. In that time, I've really not built things as well as I'd have preferred. I've tried to continue learning and trying new things. But maybe I didn't try enough new things, and held onto older things simply because "Hey, I built that." Sporkblog is a part of that, despite it being the only project I've really stuck with. I've been questioning whether I should continue work on Sporkblog or if I should move onto something that can teach me more.


So I've joined the Four-Eyes club

Since 2009, I'd been slowly having a little bit of trouble seeing things at a distance. It was usually smaller text or details that most people never paid much attention to. Then it started progressing, and by last year I noticed it was harder to read road signs. That was a sign that it was time to get glasses.


Counting Lines of Code in Vim

Vim is a wonderfully extensible text editor. I use it to work with all sorts of text. While I was browsing /r/vim, I saw a thread asking for a way to prevent :number from counting blank lines. I checked it out to see if there were any cool answers. None of what I saw were adequate. For instance, :%s/\S\+//n makes every match highlight, clobbering the last text that was searched for. I figured it was time for me to learn a little more about Vimscript, and so I wrote a function that will tell you how many actual lines of code are in your file:


Page 1 of 6 Older Oldest