Mention in today's Irishman's DiaryÉibhear, 2017-12-13 22:13:00 GMT It's probably too late for this posting to be of any value, but if you're here upon Frank McNally's suggestion in his Irishman's Diary column today, then the explanation he mentions is here. I have to say that I'm mad chuffed. Licence to copyÉibhear, 2017-10-20 22:24:00 IST Remember Arlo Guthrie's Alice's Restaurant Massacree? No? It's an near-19 minute song in which the protagonist tells the story of how he was arrested for littering. He and a friend brought a pile of rubbish to a dump, but it was closed for Thanksgiving, so they tossed it over a cliff. They were caught, convicted, fined and ordered to pick up the rubbish. Some time later, when he had been ordered to present himself for the draft (to the Vietnam War – remember that?), he did so, but attempted to get out of it, first by pretending to be unhealthy (he turned up hung-over), and then by pretending to be psychologically ill, resulting in him being praised. So he had to go through with the assessment. During an interview, he admitted having a conviction, so was required to fill out the form seeking the details. It turned out it disqualified him from joining the army, to "burn women, kids, houses and villages – after bein' a litterbug." The best part of the song for me has always been… … and everything was fine and I put down the pencil, and I turned over the piece of paper, and there, there on the other side, in the middle of the other side, away from everything else on the other side, in parentheses, capital letters, quotated, read the following words: ("KID, HAVE YOU REHABILITATED YOURSELF?") If you don't know it, or don't remember it, I think you really should give it a go. And, as Arlo himself says in the song, "but that's not what I came to tell you about." Every year in January we renew our television licence. Every year, I turn the page, and every year, there, there on that other side, in the middle of the other side, away from everything else of the other side, is the following: Kid! This licence does not authorise any infringement of copyright in the matter received. I laugh every time, and remember Alice's Restaurant Massacree. And then I laugh a little more at the thoughts that (a) someone thought it was necessary – or even a good idea – to put that message on the document, (b) someone thought it best to make it so sheepishly prominent and (c) someone thinks there is a concept of authorised infringement of copyright File names, and what you need to knowÉibhear, 2017-10-14 20:36:00 IST TL;DR If you work in any capacity with Microsoft Windows (especially if you're working in IT), you should always set Windows not to hide the extensions of filenames. Microsoft and Microsoft Windows has taught us some core facts about files over the years: All files have extensions to their names *.jpg, *.gif, *.xls, *.docx, etc. The extension of a filename tells you what the file is all about: *.jpg is an image file, *.gif is a short, funny, movie1 *.xls is an old-format Microsoft Excel file *.docx is a new-ish-format Microsoft Word file Because of facts 1. and 2. above, we don't need to see the filename extension when looking at lists of files, as we can trust Microsoft Windows' judgement as to what they are. All of these core facts are wrong. In the old DOS world the names of files were of the format <name>.<ext>, where <name> was limited to 8 alphanumeric characters and <ext> was limited to 3, and could not be omitted. This was just the DOS world, though. This format and the extension requirements were relaxed in Windows 95 (>20 years ago). It so happens, though, UNIX never forced file name formats like this. Nor did Apple's Macintosh operating systems. While extensions can be useful, it's not true to say that files require them nor, even, have them. The convention, for example, in the Linux world is for executable programs not to have filename extensions. If a filename has an extension, however, the only inference you can take from that is that the filename has an extension. Consider the following: A file was created in 2005 with Microsoft Word and was saved in the native format of that version, often identified as "Word 97-2003 Document (*.doc)". Let's say its name is AnnualAccountsReport2005.doc. In 2015, you upgrade the file to the latest Microsoft Word format by renaming it, changing the file's extension from .doc to .docx, resulting in it having the new name AnnualAccountsReport2005.docx. If we go by the rule that the extension tells us what's in the file, then this makes sense: we've changed the filename's extension, and because the extension tells us what's in the file, it must now be in the more modern Microsoft Word file format. Do it. What you'll see is that Microsoft Word will report an error when opening the renamed file, because the extension (the new one) doesn't match the format (the old one, which the file still uses as all you did was change the file's name). Now, because the first core fact is not true and the second core fact is not true, the third core fact isn't true either: hiding the extension of a filename is – it turns out – not a wise thing to do. Remember the love bug? I do. Also known as the "ILOVEYOU" computer virus, one of the reasons for its success is because of those core facts that I have just shown to be false. Most recipients of the e-mailed virus would have seen an attached file with the name LOVE-LETTER-FOR-YOU.txt, but its full name was LOVE-LETTER-FOR-YOU.txt.vbs. The .vbs was hidden because that's what Microsoft Windows does by default. By double-clicking on it, users thought it was a text file to be opened in something like NOTEPAD or WordPad, but what happened was that the file was opened as a runnable script, which then caused damage to the user's computer. Unfortunately, modern Linux desktop environments seem to work – unnecessarily – on this same model that the filename extension informs the system as to the file's contents, which then informs the system what tool to use to open it. Over the years I have encountered many software development issues that have been solved by prompting the developer to look inside the file rather than rely on the filename's extension. In fact, it's my firm opinion that all IT professionals should change their windowing environment's settings to force the showing of filename extensions. Footnotes: 1 No it's not, but I've no idea how this misunderstanding came about! Heros have it hard, y'know.Éibhear, 2017-05-17 22:37:00 IST I went on a business trip once to Utrecht in The Netherlands. Got the 0600 flight from Dublin, so was up at 0430. It was a long day of meetings: I was shattered when I got to the hotel restaurant for dinner at around 1830 (Dutch time; 1930 Dublin time). As I waited for my order, I picked up one of those small rolls of bread, and a butter knife. I began to cut through the bread with the knife. The butter knife. I continued cutting through the bread with the butter knife. I cut through the bread with the butter knife. But I forgot to stop cutting. It wasn't until I had caused myself grievous bodily harm (in the palm of my left hand) when I stopped cutting. With the butter knife. It wasn't all that painful at the time, and I had no other problem eating my dinner, going up to my room, and crashing until my phone woke me up the following morning. For the next 4 days, though, it was agony. Every flex of my left hand brought that horrible feeling that I was going to open the cut again. Now. Picture that fantasy movie or pseudo-historical TV series where the hero kneels in front of the shrine, raises his arms in supplication, and prays that if he prevails in the forth-coming trial/battle/ordeal, he will sacrifice a dove, or a bull, or his mother-in-law to the god right in front of him (or any other god who happens to be ear-wigging at the moment, for that matter). Then he pulls out his dirk and seals the deal with blood by slicing the palm of his (isn't it always) left hand, and letting it bleed on the alter. Finally, he takes out a grubby, probably-infection-ridden rag from his pocket and wraps it around his hand. He stands, smiles at his buddy, claps him on the back, and they head off to the nearest brothel for a just-in-case last shag. Picture him later in the show. Is he wincing because someone bumped on against his left hand? Does he run into trouble in the fight because he can't swap his sword to his other hand, to get a better reach at the careless and reckless enemy fighter? Hell, no. Well, I can tell you for sure that this is not how it would happen. He would be in pain the following day, and agony the day after. He would spend the whole fight nursing his left hand up by his chest for fear that he would have to use it. He'd die a gruesome death at the hand of a 13-year-old, drafted in to the enemy horde because all the able-bodied men are already dead. It would be a shameful death, but fair, because the gods despise idiots. At least he got that one-last-shag, though. When does the Grand Auld Sthretch in Dublin start?Éibhear, 2016-12-05 20:34:00 GMT Update December 2017 Correction 2. below from November 2017 is totally bogus. At this point in time, I don't know how, but will look into it when I get a chance. Anyway, I've reverted the change from before. Updates November 2017 I used the phrase "… and the nights will begin to get longer on the …" below, which is incorrect, of course. It's more correct to say that they're the evenings that will be getting longer on that day. I have made that correction. I was mistaken when I said that the earliest sunset will be on the 13th December every year. It so happens that it's the 13th only on leap years, and on other years, it's the 14th. This is also corrected below. It continues to confuse me how I got that wrong last year: it's the sort of thing I would confirm prior to making such a statement. In 2016, the winter solstice will fall on the 21st December. The moment of the solstice1 will be 10:43am in Dublin. The sun will rise in the morning at 8:38:24, and it will set in the afternoon at 16:08:08. This will give us 7 hours, 29 minutes and 44 seconds of daylight. As there will be 7 hours, 29 minutes and 48 seconds daylight on the 20th December, and 7 hours, 29 minutes and 47 seconds on the 22nd, we can be sure that the shortest day of the year is the day of the winter solstice, which will be the 21st December this year. OK. You've made your point. Haven't you? Actually, no. And this is the good news for those who are looking forward to the evenings to get longer: The day on which the sun will set earliest in Dublin in 2016 will be the 13th of December (at 16:06:08), and the evenings will begin to get longer on the 14th, when the sun sets at 16:06:10, two seconds later. Yup. The grand auld sthretch this year will begin in Dublin on the 14th December. In fact, you can put December 14th into your calendar for every year as the day the grand auld sthretch starts in Dublin. Explanation 1 When I launched the Grand Auld Sthretch Twitter account last year, I had a suspicion that something wasn't right with the story that the earliest sunset was on the same day as the winter solstice. Those who follow me on Google+, Social Gibiris or Twitter may recognise this: I often use this as a social media avatar2. It's a representation of the sunrises (blue line), sunsets (red) and amount of daylight (ehhm, yellow) throughout 2012. The x-axis are the days of 2012. The y-axis on the left has 00:00:01 at the top, and 23:59:59 at the bottom. The blue and red lines are associated with that one. The right-hand y-axis is the reverse of the left – with 00:00:01 at the bottom and 23:59:59 at the top – and the yellow line tracks it. If you look carefully, you'll see that the highest point of the red line (sunsets) is slightly earlier in the year than the lowest point of the yellow line (the amount of daylight). If the winter solstice is the shortest day of the year (which it is), then you'd think the earliest sunset will be on the same day, but it's not. I had known about this since I built the graph in late 20113, but I didn't dig deeply into it before I launched @theauldsthretch. So, a few weeks ago, I did some research. It's all about the "Solar Noon". The solar noon is the time of the day that the sun is at its highest point in the sky. It's no coincidence that the time difference between the sunrise and the solar noon is the same as that between the solar noon and the sunset. What is unexpected, though, is that the time of the solar noon is not constant. Here's that graph again, brought up-to-date for 2017 (and containing a little bit of 2018), with the daylight time removed and with the solar noon added. All three lines are tracking the left-hand axis. Looking carefully, you'll see that the solar noon wobbles. There's an astronomical reason it wobbles – which I'll get to later – but there's also a social (or "civil") reason. The civil reason is that if we insisted that the time the sun reaches its highest point in the sky was noon on all our watches and clocks, then either (a) the length of the day would not be a constant number of seconds (which it is, at 86,400), or (b) the length of a second would have to change on a daily basis. The solution, however, was to allow the time of the solar noon to change in relation to an otherwise constant civil clock. This is why the solar noon wobbles. Exaggerating the effect, here is how it wobbles: That mean value, as it happens, is 12:25:08. Looking at this graph, we see that the latest solar noon is in the first half of February (around the 10th), and the earliest solar noon is in early November (around the 3rd). Imagine the length of the day as constant, for example at 12 hours. The sunrise would be 6 hours before solar noon and sunset 6 hours after. In this case, the sunrise and sunset times throughout the year would be in tune with the solar noon. Like this: This next graph looks very similar to the first one for 2017 above, but it's not the same. Here is what the sunrises and sunsets would look like if the solar noon was constant (and in this case, we'll set it to 12:25:08, the mean solar noon for Dublin): Considering only the sunsets and joining this graph with the previous one we see the following: The first date I've marked is the 3rd November, which is when the solar noon is at its earliest time. In our contrived example above, of a constant day length, this is also when the sunset would be earliest. In reality, though, from this day on, the changing solar noon is just putting pressure on the sunset to be later every day. I've also marked the 21st December, which is when the sunset would be earliest if the solar noon was constant. In reality, as this day approaches, the shortening of the days puts pressure on the sunset to be earlier. The mark in between the two, the 13th December is when the two pressures meet, and when we get our earliest sunset: And this is why the earliest sunset is on the 13th of December, and the Grand Auld Sthretch starts on the 14th. Explanation 2 My explanation above considers the times of sunrises, sunsets and solar noons when presented in graph form. These graphs change when certain (incorrect) assumptions are applied. By demonstrating how these graphs change with these assumptions, I think I have shown why the earliest sunset is not on the winter solstice. Elsewhere, Larry Denenberg outlines an excellent alternative explanation in his essay Why aren't the earliest sunset and latest sunrise on the same day as the winter solstice?. The approach taken by Larry is to describe 3 phenomena of the earth: that it orbits the sun, that it rotates on its axis and that its axis is tilted compared to the plane of the ecliptic. All three of these phenomena are required to give us this situation. It's a beautiful explanation, and it took me a number of days to get it out of my head once I fully absorbed it. Footnotes: 1 i.e. the moment at which the sun will be directly over the most southerly latitude that it can be 2 When the W3C gives up on its reckless and ridiculous effort to allow DRM in HTML5, my Twitter avatar will be reset to the original! 3 Which I did to prove a point. I'm back on the market for work (Updated [2016-12-04 Sun])Éibhear, 2016-09-01 18:19:00 IST Update [2016-12-04 Sun]: I have a job. On [2016-11-23 Wed], I started with Version 1 as a Solutions Architect. Very exciting! Following an excellent year-and-a-half as a consultant solutions architect in AIG Europe in Dublin, I'm back on the hunt for a new job. If you're looking for a solutions architect with a keen focus on delivery quality, perhaps you might want to check out my Hire Me! page, or go directly to my CV. I will be available to start in a new position on the 26th September. My contact details are in both locations. Meeting Terence Flanagan, a general election candidate [Updated slightly]Éibhear, 2016-02-26 22:09:00 GMT This morning I met Terence Flanagan, and it didn't go well for either of us. Mr. Flanagan is a Renua Ireland candidate in Dublin Bay North in the 2016 general election (taking place today, 26th February, 2016). He was elected in the last general election in 2011 as a Fine Gael candidate in the former constituency of Dublin North East1. Some time after his old constituency was abolished and before he left Fine Gael, I met him outside the door of the local supermarket. He was clearly on a getting-to-know-his-new-constituents gig. I spoke to him briefly; raising some matter of concern, the nature of which escapes me. I gave him my contact details (I think by giving him my personal card) so that he could contact me. I have no memory of him ringing me, and a search of my e-mails suggest he didn't get back to me. Except, he did. Yesterday. The day before the election. With this: Update: In case you can't see the image, it's a screen-shot of an SMS I received, which reads "FROM TERENCE FLANAGAN: Thank you for the courtesy shown to myself and my team during the General Election Campaign. I would be grateful for your support tomorrow. Many thanks, Terence Flanagan. OPTOUT 50123" and the timestamp on it is 21:18, Feb 25. This text came in while I was waiting for another one, and it was irritating and frustrating to be presented with it. This morning, as I was walking past a busy junction, I saw Mr. Flanagan canvassing – obviously hard – for the last few votes from the last few undecideds. I decided that I was going to raise my concern at being contacted like this out of the blue. I went up to him, and as I approached him, I was not happy with how I was feeling. He saw me approach, seemed to like the idea and put out his hand to greet me with "Hi. Terence Flanagan". It went quickly downhill from there: "I know who you are," I said, keeping my hand down. "I spoke to you some years ago, and gave you my number. I never heard from you. Until I got that text message from you last night. I didn't give you my number to spam me. There's no way you're getting my vote!" I genuinely could not believe the rage I got into. I went from annoyed when I decided to talk to him to furious as I walked away from him (with him calling after me "You can unsubscribe, you know!"). Mr. Flanagan, if you're reading this2, a fundamental principle of data protection is that a public figure like you is not allowed to use my contact details to contact me in this manner except with my express consent. It's possible that politicians have carved out an exception for themselves from these legal requirements. I remember that there was an attempt to do just that a decade or so ago. It doesn't change the principle: I did not consent to receiving that SMS from you. I can only hope that sending "optout" to 50123 will really remove my number from that spam list. Will it get Mr. Flanagan to understand that I don't want to be contacted in this way, I wonder? Footnotes: 1 He was first elected in 2007. 2 Which I doubt! The case for a retract buttonÉibhear, 2016-02-04 13:27:00 GMT We're gearing up for an election here in Ireland, and many are well prepared. For example, just a few days ago, Politwoops Ireland was launched. Others are not so prepared: many candidates in this election will go back through their twitter time lines and remove those tweets that will inhibit or – at least – not help their re-election campaigns. I've often wondered why people delete tweets. There are many reasons, and – in my opinion – not all of them are addressed by deleting the tweet, but that's all there is. Perhaps there's a misspelled word that ruins the tweet (as twitter doesn't have an "Edit tweet" option) and you want to do it again1; maybe it's because you replied to the wrong tweet or mentioned the wrong user; maybe it is truly embarrassing and will affect your career or personal relationships; or maybe it's because you're a public figure and you want to reduce the risk of being called out on a contradiction you know you're making. As I said, there are many possible reasons, and the above is only a set of examples. For public figures, the likes of Politwoops Ireland don't care for the reasons1; it'll just retweet the deleted tweet all the same. On the 2nd February this year, The Intercept published a note to its readers calling out how a staff reporter had engaged in unethical journalism: faking quotes, faking people for fake quotes, etc. The editors have conducted a review of this journalists posts, and have updated them to highlight the items of concern, going so far as to retract one story in full. What's noteworthy, though, is that The Intercept didn't remove or delete the story. I believe this is appropriate for a number of reasons. Deleting the story pretends it doesn't exist, but those affected by it will remember it. The best place to note that the story has been retracted is at the same address that the story was published. In the internet world, this is much easier than in the paper world, and anyone looking for (and finding!) the original story will be informed immediately that it has been retracted, and why. Twitter should have a "Retract tweet" option, just like and beside the "Delete tweet" option. Instead, however, of removing the tweet, it will be marked as having been retracted. The advantages I see with this include: Everyone who finds the tweet will see straight away that you don't stand over it any more. Readers can be directed to the tweet's conversation where you can take the opportunity to explain why you've retracted it. Those who have replied to it, or to another tweet in the conversation, and those who have retweeted it (and those in conversations from the retweet) can all be informed that the tweet has been retracted, which will prompt them to review it and the reasons offered for the retraction, and to assess the conversations and their contributions to them. Perhaps – and of course I can't make any promises here because I've nothing to do with it – all the Politwoops accounts would respect retractions and not bring them to the attention of their followers. The model here is how the likes of the @congressedits and @oireachtasedit twitter accounts work: when a user from within the networks of these organisations make a change to a Wikipedia page, it will be tweeted if the change is made anonymously, but not otherwise. Similarly, Politwoops should not retweet retracted tweets, which would respect the open approach the politician is taking. It would be interesting to see what people think. Footnotes: 1 This is the only reason I've had to delete tweets. Stealing from the public domain is still stealing [Updated]Éibhear, 2016-01-16 23:20:00 GMT In response to this story in the Irish Times (regarding the Fianna Fáil bill to return Ireland's National Anthem into copyright, also reported in the Journal.ie), I sent a letter "to the editor". Below is a marked-up version of the letter, showing the differences between what I sent and what was printed. Striken-through text was removed by the editor and UPPER-CASE TEXT WAS ADDED[See update 1 below]. A chara, Copyright infringement happens when someone copies a work without the permission of the copyright holder. The correct use of Copyright theft is when there is a claim to a copyright where there is no entitlement to it. Plagiarism is an example of copyright theft. So, too, is putting under copyright a work that is already in the public domain. Senator Mark Daly's attempt to steal REMOVE Amhrán na bhFiann from the public domain because he doesn't DOES NOT like how it was IS used BY SOME is an extremely A dangerous move ("STATE SHOULD HOLD COPYRIGHT TO NATIONAL ANTHEM, DALY SAYS", JANUARY 15TH). Kudos to his colleagues and the Department of Defence for not supporting it. The use of copyright in this way is itself inappropriate, and would present a precedent to those other copyright maximalists who seek to appropriate the public domain to themselves. For as long and Ireland remains respectable, she and her national anthem will be respected by those for whom this is important. The public domain is already under a huge amount of pressure, so it's IT IS refreshing to see that it, too, has the respect of many in the Oireachtas. I suggest Senator Daly uses a mechanism other than copyright theft to censor expression he doesn't approve of. Is mise, … I'm sure the pragmatic reason of "space" is why the core emphasis of my correspondence was removed. There's a lot more to be said about this. The long and the short of what Fianna Fáil and Senator Daly are trying to achieve can be described in one word: Censorship Copyright has no business being used to stop someone from using a work in a way you don't approve of. That's not what it's for. Update 1 An earlier version of this post attempted to represent text added by the Irish Times in underline, using the current convention. That didn't work, so this update changed that to bold. Update 2 My updated version didn't work, either, so I have updated it again. Beach ArtÉibhear, 2015-08-20 23:08:00 IST I was at the beach today, and drew this in the sand: It took about 30-40 minutes to complete. It was cute watching how people would walk towards it and then veer around it.