::  Posts  ::  RSS  ::  ◂◂RSS  ::  Contact

Consistency for Progressive Automation

April 5th, 2014
future, tech, automation  [html]
I'm a pretty consistent person. If I do something in a particular way and it works out, I'll keep doing it that way. One way this has worked out well for me is allowing easier automation. For example, when I started keeping my calendar I would put lines on my webpage like this:
   <tr>
     <td>Saturday<td> March<td> 18
     <td><a href="http://www.thursdaycontra.com/ThirdSaturday.html">
       Glenside</a> contra
     <td>8:00
     <td><a href="contras/glenside/directions.html">
       Glenside</a>
When I decided I wanted to make an .ical feed, three years later, it was just a matter of writing a script to process this data. It was in a nice consistent format, so this wasn't too bad. Later this let me add first a script to add schedule entries on the command line, and then later another to let me add entries from my phone.

Similarly, I initially wrote my blog posts as one long html page. When I wanted to add an rss feed, I wrote a script to parse the posts, and I had been consistent enough in how I made them that the script wasn't too difficult. Later when a single page became too unwieldy and I wanted to have pages for individual posts, the rss processing code was already there to do most of the work.

This has been a good pattern for me: when I create things on the computer I'm very consistent, which works well if I end up trying to manipulate the data programmatically later. Not everything ends up as input to something else [1] but it's really helpful when it does.


[1] Or at least not everything has yet...

Comment via: google plus, facebook

Recent posts on blogs I like:

Live the questions now

Here’s some advice that my Godmother, Lynne Caldwell, gave me a few years ago. I found it again the other day and it struck me that at least I understand its wisdom now. She really did get my problem. It feels like he’s speaking directly to me. It’s from …

via Holly Elmore January 23, 2020

International Links: a Revision

In 2011, I wrote a post arguing that international links underperform. I gave examples, using many links nearly all of which have rotted in the 8.5 years since, showing that the ridership on various air and rail city pairs was lower if they were in two di…

via Pedestrian Observations January 22, 2020

Algorithms interviews: theory vs. practice

When I ask people at trendy big tech companies why algorithms quizzes are mandatory, the most common answer I get is something like "we have so much scale, we can't afford to have someone accidentally write an O(n^2) algorithm and bring the site d…

via Posts on Dan Luu January 5, 2020

more     (via openring)

More Posts:


  ::  Posts  ::  RSS  ::  ◂◂RSS  ::  Contact