I have lots of images in my Flickr account, over 35k uploaded from April 2005 until now. Searching them by date isn’t made easy: you first have to do a search and then in the advanced filters set a date range. The resulting search URL however is straightforward, and contains my user id, and both the start and end date to search in unix time.

To make it easy for myself I made a tiny tool that has a locally hosted webform where I enter a start and end date to search, and turns that into the right search URL which it shows as clickable hyper link. Meaning with two clicks I have the images I searched for by date in front of me (if they exist).

The small piece of code is shown below (save it as a .php file, insert your Flickr user ID, and run it on a local webserver on your laptop, add its URL to your bookmark bar in your browser)


<?php
/* form om te zoeken in Flickr */
$base="https://www.flickr.com/search/?user_id=YOURUSERID&sort=date-taken-desc&min_taken_date=";
if ($_POST) {
$dvan = $_POST['van'];
$dtot = $_POST['tot'];
$uvan = strtotime($dvan);
$utot = strtotime($dtot);
$searchurl=$base.$uvan."&max_taken_date=".$utot."&view_all=1"; echo "<a href=".$searchurl.">".$searchurl."</a>";
/* begin form */
}
?>
<form name="input_form" method="POST" action="<?php echo $_SERVER['PHP_SELF'] ?>">
Search Flickr (date format yyyy-mm-dd)<br/>
From <input type='text' size='20' name='van'><br/>
To <input type='text' size='20' name='tot'><br/> <br/>
<input type="submit" name="submitButton" value="Zoek">
</form>

I realised I had an ical file of all my appointments from the period I used Google Calendar from January 2008 when I started as an independent consultant, until February 2020 when I switched to the calendar in my company’s NextCloud.
I never search through that file even though I sometimes wonder what I did at a certain moment in that period. After a nudge by Martijn Aslander who wrote on a community platform we both frequent about back filling his daily activities into Obisidian for instance based on his photos of a day through the years in his archive, I thought to import that ical file and turn it into day logs listing my appointments for a date.

I tried to find some ready made parsers or libraries I could use in PHP, but most I could find is aimed at importing a live calendar rather than an archived file, and none of them were aimed at creating an output of that file in a different format. Looking at the ical file I realised that making my own simple parser should be easy enough.

I write a small PHP script that reads the ical file line by line until it finds one that says BEGIN:VEVENT. Then it reads the lines until it finds the closing line END:VEVENT. It then interprets the information between those lines, lifting out the date, location, name and description, while ignoring any other information.
After each event it finds, it writes to a file ‘Daylog [date].md’ in a folder ./year/month (creating the file or appending the event as a new line if the file exists). It uses the format I use for my current Day logs.
Let it repeat until it processed all 4.714 events in my calendar from 2008 to 2020.


A screenshot of all the folders with Daylogs created from 2008-2020


Screenshot of the newly created Daylog for 20 February 2008, based on the appointments I had that day, taken from the calendar archive. This one mentions a preparatory meeting for the open GovCamp I helped organise that year in June, which kicked off my work in open data since then.

In reply to Een rsvp op Seblog by Sebastiaan Andeweg

Have fun, it’s been a while since I visited (or rather organised) an IndieWebCamp. Dropped of the radar somewhat. Mostly as I was playing around with the local stuff that interacts with my website but isn’t my website, and with ActivityPub. Less IndieWeb in other words than indie personal tools. Didn’t feel those tangents fit the IndieWebCamp community or efforts.

Maybe we should organise an IndieWebCamp in NL at some point again?

I will be going to IWC Nuremburg this weekend.

Sebastiaan Andeweg

(also posted to Indienews)

E bought it at the great Fantask book store in 2021 while in Copenhagen. Fantask is one of my favourite bookstores. This was an enjoyable story about time travel, focusing on the psychological impact on time travelers in combination with a whodunnit with a twist. None of the paradoxical stuff time travel stories usually suffer from. Not very well written however, which is the most grating at the start, further on the story carried me forward. Liked the introduction of so called genie objects, items that are given by an older time traveling self to a younger self, which in turn at some later stage are then handed gifted to a later self. No previous existence but circle of causality still intact. The objects have various oddities due to probabilistic aspects.

In reply to Who do I know in …? by Lloyd Davis

There’s a static part here (who is usually in which city) and a more dynamic part (I and someone else are both in a city we’re not usually in). For the latter, me and others being both outside our usual movements, Dopplr was great. It gave me a conversation or two per year that otherwise would not have happened. I’ve been playing with sharing travel plans and location in my blog, for those moments I think it might be useful. And I’ve been trying to get that same info in an ActivityPub stream (travel and arrival/leave are activities supported by AP), so that others might follow it in a way other than in plain sight on my site. Such AP streams can be semi-private in the sense of curating its followers. I see such a stream not as a complete thing or providing all my movements, but just enough traces for others to stumble across and in that way slightly increase the probability of generating conversations that otherwise would not have happened.

I don’t want a fully-automated system that only builds the value of my network at the expense of my friends. So for now, it will all have to be “manual” and slow, and rooted in conversation, and talking to people directly, making introductions the way we always have done, even if that doesn’t scale as quickly as we’d like. … Maybe it will always have to be like that, in order to maintain the trust, or maybe, by paying close attention to what we’re doing we might find a way of doing it in partnership and for mutual benefit.

Lloyd Davis