• Posts
  • RSS
  • ◂◂RSS
  • Contact

  • Consistency for Progressive Automation

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

    More on the Deutschlandtakt

    The Deutschlandtakt plans are out now. They cover investment through 2040, but even beforehand, there’s a plan for something like a national integrated timetable by 2030, with trains connecting the major cities every 30 minutes rather than hourly. But the…

    via Pedestrian Observations July 1, 2020

    How do cars fare in crash tests they're not specifically optimized for?

    Any time you have a benchmark that gets taken seriously, some people will start gaming the benchmark. Some famous examples in computing are the CPU benchmark specfp and video game benchmarks. With specfp, Sun managed to increase its score on 179.art (a su…

    via Posts on Dan Luu June 30, 2020

    Quick note on the name of this blog

    When I was 21 a friend introduced me to a volume of poems by the 14th-century Persian poet Hafiz, translated by Daniel Ladinsky. I loved them, and eventually named this blog for one of my favorite ones. At some point I read more and found that Ladinsky’s …

    via The whole sky June 21, 2020

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact