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

Consistency for Progressive Automation

April 5th, 2014
automation, future, tech  [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:

Incoming Gantz-Led Government to Invest in Israel’s Infrastructure

Israel’s incoming prime minister Benny Gantz unveiled an emergency government, to take power following an upcoming confidence vote in the Knesset. The last two MKs required to give Gantz a 61-59 majority, two members of Gantz’s own Blue and White Party wh…

via Pedestrian Observations April 1, 2020

Finding home in the time of coronavirus

Disclaimer: I’m going to say this once. Obviously, I am not happy about the coronavirus’s threat to public health or the economic toll it’s taking. I do not think the existence of this pandemic is good. Just so happens that social distancing and remote wo…

via Holly Elmore March 31, 2020

Massachusetts should shut down immediately

We’ve been running 30x fewer tests than other states, and have been extremely tardy in responding to the Biogen outbreak.

via benkuhn.net March 15, 2020

more     (via openring)

More Posts:


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