This is Just an Interface


I am rarely satisfied with my workflow for anything, and I suppose this is a good thing; it drives me to reinvent and improve.

At the moment, I type up my posts on a local machine, run spellcheck, then run a script that will scp it to the appropriate directory on the live server. The only purpose of the script is to save a few keystrokes (then again, isn't that the point of all scripts?) From there, I ssh into the live server and fire the script that generates the entire site.

It's starting to dawn on me that the more files I create, the longer it will take to generate, since every single page needs to be modified exactly once whenever a new post has been created. However, the payoff is that this only needs to happen whenever I make a post, not whenever someone else visits. There is an appeal to static pages, which I've carried over from when I ran a similar bloglike over a decade ago, only I updated each page manually, with an army of text files for copypasting reference.

I think the only reason I like writing code is because it allows me to do things that would otherwise require a prohibitive amount of copypaste.

In any case, I finally got around to writing a paginator for the tag views, which included recycling a little snippet of code for generating the page number navigation; months back, I spent an aggravating afternoon beating my head against a pile of scratchwork to make that loop sensible. Thanks, past me, for saving me the trouble of having to come up with that bullshit again.

26 March 2014 18:34


Creative
  Commons License this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. for more details, please see my license information.
valid?