The accidental 15k walk

in ireland

Whoops.

Eadaoin and Sandymount Strand
Looking back at the Pigeon House
Poolbeg Lighthouse

Eadaoin and I went for an accidental fifteen kilometre walk on Saturday. In inappropriate gear, no less. “…wait, what?” I hear you sputter in consternation. Yes, it was dumb — I was dumb, to not grasp the length. So, in short, we decided to walk from Blackrock to Poolbeg Lighthouse by way of Strandybeach Mount (or whatever it is called) in total ignorance of the distance. Turns out the walk from the main road to Poolbeg Lighthouse alone is six kilometres, and our walk up the beach was a further eight. In shitty knockoff Converse shoes with no support.

My back came away all fucked.


x to y of z search results II

in code

The code snippet I posted last August hasn’t worked too well:

  • It only works for the index.php loop of all posts.
  • All other loops (search, taxonomy, archive, etc.) have weird counts.

I changed it to use the global wp_query variable to determine post count, with an addendum for private posts if I am logged in. get_loop_type is a shorthand function I wrote a while ago.

function archive_page_count($echo = false, $page_num = null, $total_results = null) {
    global $wp_query;

    if (is_null($total_results)) {
        $total_results = $wp_query->found_posts;
    }

    if (is_null($page_num)) {
        $page_num = (get_query_var('paged')) ? get_query_var('paged') : 1;
    }

    $posts_per_page = get_option('posts_per_page');
    $total_pages = ceil($total_results / $posts_per_page);
    $page_count = sprintf(__('Page %s of %s', TTD), $page_num, $total_pages);

    if (!$echo) {
        return $page_count;
    }

    printf($page_count);
}


And now it’s there

in astronomy

Pluto from 100k kilometres

The second post ever published on this blog was written about New Horizons on January 18, 2006, one day before the space probe launched from Florida for Pluto. And now it’s there-literally there, because New Horizons is less than fifteen minutes from Pluto periapsis as I write this post. New Horizons has been in flight for nine and a half years: one-third of my life.

When the probe launched, I was single man. I lived at home with my mum in Galway while I worked my a dead-end retail job. As the probe arrives, I’m a separated father of two who’s lived in two countries. I’ve been to college, survived a breakdown, have the best partner in the world, and live in world in Dublin as a web developer. Then I was a smooth-face, now I have a beard.

Seven minutes.

Caira and Garrett: they’ve been conceived, were gestated, given birth to, raised, potty trained and have started school. Caira has her own social media presence now.

Six minutes.

I have survived awful events and enjoyed wonderful ones. I’ve had dear friends pass away or leave my life.

Five minutes.

I’m proud of my abject failure to die.

Four minutes.

I’m proud for everyone behind this, and our collective failure as a species to explode.

Thirty seconds!

NASA TV