The Ridiculous and Greedy Limitations of Watching Movies in iTunes

If you want an excellent example of a ridiculous limitation imposed on customers by Apple to force them to spend more money look no further than the Lightning to HDMI adapter. You’d think that you could hook your iPhone / iPad up to a TV and stream your movie rentals from iTunes to your TV via HDMI. But no, you cannot. If you try to a message will pop up on the TV: “This screen is not authorised to play protected content.”

If you want to stream a movie from iTunes on your iOS device to a TV you need to buy an Apple TV. Let’s be clear, this is not a technological limitation; it could be done but Apple don’t want users to be able to do this without paying for more hardware. You can mirror your iPad screen to a TV via HDMI doing any number of things, including watching some TV shows (e.g. BBC shows) from iTunes, but you cannot stream movies and other TV shows.

So Apple have forced their customers into a situation in which they’d need to spend another £100 to buy the Apple TV so they can stream movies and TV shows. There is no need for this approach, it is nothing more than greed. It doesn’t protect against piracy or illegal movie displays to large audiences. If someone just needs HDMI output in order to pirate a movie they can achieve that from the Apple TV. And there is nothing to stop someone hooking their Apple TV up to a projector to show a movie to a large audience.

The fact that Apple sell a Lightning to HDMI adapter at all whilst preventing this usage scenario is ridiculous. Therefore they will lose customers, like me, who would rent movies through iTunes but who will now prefer other platforms because they can stream without an Apple TV. Platforms like Amazon Video. I have a Prime account already and so the added benefit of TV shows and movies on top of the free one day delivery is a bonus.

Amazon provides a better app for viewing TV movies; the stock videos app hasn’t had anything done to it for a long time. The Amazon app allows you to browse TV and movies as well as watch. It has 10 second skip buttons. X-ray is built into it. It’s possible to log into a different Amazon account in it. On desktop all that is needed is a web browser; no need for a proprietary app. Great if you’re visiting friends and want to watch a movie through your account. A Prime account offers a range of periodically updated TV shows and movies for no additional cost. The movies aren’t the latest movies but there is almost always a range of good choices. The TV shows are current series. Lastly Amazon’s prices are better than Apple’s. Taken altogether these make Amazon Video a far more compelling platform.

So if you want a recommendation for where to rent your next movie check out Amazon Video.

Use the macron natively on iOS and macOS with text replacement

By far and away the most popular post I’ve ever written on this blog is how to type math and science symbols (pretty much) natively on iOS.  The method is to use the text replacement feature built into iOS and macOS which will receive unicode symbols you can paste into it.  Whilst it isn’t a perfect solution, it does greatly enhance the potential for productivity on a mobile device.  And then, every now and again, it produces a result above and beyond my expectations.

I’ve recently been designing decks of flip cards for a new app called Tinycards (it’s a great app that you should check out especially if you’re a teacher).  The deck I’m working on currently is about subatomic particles, which include antiparticles.  The symbols for just about every antiparticle require a bar across the top of the symbol (like this or this ).  Unicode includes a modifying macron (this ➝  ̄ is a macron in case you’re wondering), which puts a bar across symbols.  So I created a text replacement “shortcut” for the macron and got to work seeing if I could get it to modify my symbols on iOS (otherwise I’d need to use my Mac).

Lo and behold it worked!  I set up #macron as the “shortcut” for the macron in text replacement.  I then found that if I typed this: u#macron iOS would replace it with: .  It’s a beautiful solution.

To set this up yourself you’ll need a copy of the macron unicode symbol (I’ve included one below).  Copy it and paste into the Phrase field.  Then type the Shortcut you want to use.  I used #macron, but you might want to use something else like #bar.


If the macron listed below doesn’t work properly you should be able to get a working copy of it from my list of symbols in this Evernote note.  When you copy the macron the selection extends slightly beyond the visible symbol itself, I think that is due to the fact it is a modifying macron.


macron symbol to copy:   ̄

Convert IFTTT Timestamps into Date and Time Values You Can Use

If you use IFTTT to log data in Google Sheets then you might have wondered if you can make any functional use of the timestamp that goes in the first column by default.  In order to use the actual date from the timestamp I have in the past used formulae in a separate sheet (I call it the Interpreter) to duplicate the raw input data and then to extract the date and time.  The reason for needing the separate sheet is that if you include a formula in IFTTT, e.g. =LEFT(A2,LEN(A2)-11) which will give you the date from a timestamp, the cell reference A2 will become invalid after the recipe first runs.  It isn’t possible for IFTTT to compute the correct cell reference to input each time the recipe runs. But the problem with the Interpreter sheet is that you have to keep filling all the formulae down to accommodate new data, or occasionally fill down formulae a couple hundred rows in advance.  So it’s far from ideal.

The ideal situation is to design a formula that can correctly reference the cell with the time stamp without needing to enter an actual cell reference.  That way IFTTT can input it automatically every time the recipe runs.  Well here is a formula that will return the value of a cell itself:

That will give you a circular reference error, so don’t use that!  We can use the OFFSET() function to reference the cell to the left of itself:
Or the cell to the left of that:
So how can this be used to extract the date and time?  If you examine IFTTT timestamps they are all different lengths but the time part of the stamp is a constant number of characters.  Here are a couple of examples:
• February 04, 2016 at 04:09PM
• April 27, 2016 at 09:24AM
The dates are obviously different lengths but the time part is always seven characters long, e.g. “04:09PM”, they can be extracted to provide the time.  To extract the date from the timestamp we just need to cut off the time and the preceding ” at ” part of the string (that’s the last eleven characters of the string).  So the spreadsheet formulae to use are:
• Date:
• Time: 

If you want to set this up in an IFTTT recipe you would have something like this, where {{OccurredAt}} is the marker for where IFTTT will insert the timestamp, and ||| is the marker for a cell division:

{{OccurredAt}} ||| =LEFT(OFFSET(INDIRECT(CHAR(COLUMN()+64)&ROW()),0,-1),LEN(OFFSET(INDIRECT(CHAR(COLUMN()+64)&ROW()),0,-1))-11) ||| =RIGHT(OFFSET(INDIRECT(CHAR(COLUMN()+64)&ROW()),0,-2),7) |||
Hope that’s of help to some of you wanting to work with IFTTT timestamps.
Update 12/10/16
An alternative to the above formulae is to use the IFTTT timestamp string directly in the formula, e.g.
I’ve had trouble with Google Sheets interpreting the output as a true date value (it interprets it as a string).  To get around that use DATEVALUE(), like this:

The 3.5 mm Headphone Jack

I can understand the drive to replace the 3.5 mm jack with something (genuinely) better and more efficient BUT
1. “Thinner” is irrelevant for smartphones.  Check out this from David Pogue:

The cylinder that accommodates your headphone jack is now among the thickest components of your phone! It’s thicker than the screen guts, the circuit board, or the battery.

The headphone jack is what’s preventing phones from getting any thinner. It’s the limiting factor.

They don’t need to be thinner! That is an outmoded design concept. Existing battery technology is not particularly new either, we have had lithium ion cells for a long time and so we have had pretty much the same energy density in our batteries.  Making thinner phones means less volume available for batteries so less total energy available for use.  Most smartphones cannot survive longer than a day with moderate use.  None can survive longer than several hours with intensive use.  They are first and foremost meant to be mobile devices so having to plug them into charge (at the wall or with a charging device) defeats their primary purpose.

Phones should certainly not get any thinner as that would not solve any problems they face at present.  It would not improve their ergonomics; it might in fact make their ergonomics worse.  Phones would benefit from getting a bit thicker and having larger batteries.

2. Secondly, with the abolition of the 3.5 mm jack we will face a choice of multiple connections to replace it.  The good thing about the 3.5 mm jack was that it was essentially the standard.  Replacing it with a choice of many is not good because we will need to use one type of connection for one device and another for a different device, so in addtion to headphones a range of adapters will be required.  That’s a more wasteful approach to resources in comparison to having a single standard.  Choice is not always good.

Now  consider a usage scenario offered by using the new jacks e.g. the Lightning connector for the iPhone.  They enable the phone to supply power to headphones.  But that’s exactly what is not needed – more power going out of the phone!  We need more energy in the phone; not more going out.    Also with the 3.5 mm jack it is possible to listen through headphones and charge your phone.  Without it you will have to make a choice: charge phone or listen on headphones.  Unless of course you buy another adapter!

What do you think: are you happy to see the back of the 3.5 mm jack, will you miss it, or were you hoping for something better to come out of its demise than has done?

Good Bye Numerous, you will be Missed

Since the announcement that the fantastic app Numerous would cease to be on the 1 May I and many other Numerous users have been wanting to find something that could replace it.  The ever so slightly quirky app excelled at displaying important numbers in a clean and clear way that helped us keep track of numbers that meant something to us.  Some people, like me, started out dubious that we would find much use for the app.  But it quickly proved its worth.  It will leave a big dent in the routines of many people when it shuts down.  Well done Numerous team you made something truly excellent and many, many of us will be sad to see you go.

Despite the best efforts of many nothing has been found that can adequately replace Numerous.  So as the deadline for Numerous’ end drew nearer I put my mind to work about how I could hack together something to simply display useful numbers. The rest of this post is about a spreadsheet (Google Sheet) I’ve designed that can do just that.

Let me start by outlining the main aspects of functionality of Numerous that this spreadsheet does not replace and its limitations in comparison to Numerous.
1. It can only display numbers that are already in a Google Sheet (this might change in the future but the procedure won’t be as straight forward).
2. There is no social aspect. You can’t browse a catalogue of numbers and individually select numbers from a community to follow. But if you have friends tracking numbers in Google Sheets you can give each other access to each other’s spreadsheets on a case by case basis.
3. All numbers are technically public; no private numbers.
4. No value history or graph.

But, that said, a potential benefit to some people will be the ability to display dynamic text and not numbers only.

Now onto how to use the spreadsheet for your own numbers. You must first appreciate the nature of this spreadsheet. It doesn’t actually do any computation of your numbers, it simply hooks into the spreadsheets you already have to display those numbers in a way much like Numerous: clear and nicely contextualised. Also it will display those numbers in a web browser so you can get faster access to your numbers wihtout having to search through your spreadsheet directories.

The spreadsheet is published here: Number Dashboard. Follow the link to the spreadsheet and save a copy to your Google Drive so that you can edit your own copy.

In the spreadsheet there are two sheets: “Dashboard” and “Data”. Dashboard displays your numbers and Data is where you input information so that the spreadsheet can collect your numbers from your other spreadsheets.
Number Dashboard - Dashboard.png

Each Google Sheet has a unique URL. In the URL is a unique spreadsheet key. You will need to copy the keys of the spreadsheets that have any numbers you want displayed in the Dashboard. Below is a screenshot of a Google Sheet URL with the spreadsheet key indicated. The format of the URL is: key/edit#gid…
Google Sheet URL

Paste the key into the relevant column in the Data sheet. Next you need to input the address of the cell containing the number you want to display. For example, if I had a spreadsheet with a sheet called “Fuel Log” and the car mileage was in cell “D5” then the address I would need to write in the Data sheet would be: Fuel Log!D5. Include all spaces as spaces and you don’t need to include any extra quotation marks.

Once you do this the spreadsheet will begin the process of trying to look up the value. But you will need to give permission to link the spreadsheet with the number with the Number Dashboard. To do that hover the mouse over the cell in column E that displays the #REF! error. Then a pop over wil show that has a button that says “Allow access”, click that and the value will display.
Number Dashboard - Permission to link spreadsheets.png

In the table in the Data sheet don’t overwrite anything in columns A, E or H. The value and image are automatically inserted based on the information you put in (instructions included below for inserting your own images).  For best results use square images.  Everything else in the table in the Data sheet should be pretty self explanatory. Annotated screenshot below.
Number Dashboard - Data

All your numbers by now will show up in the Dashboard sheet. The next stage to get your numbers accessible without having to open up a spreadsheet app and then navigating to the spreadsheet is to publish the Dashboard to the web. I’ve included some annotated screenshots below showing the steps to do this. At the end of the (very short) process you will be provided with a link to the published Dashboard. Bookmark the link, or even better save it to your smartphone homescreen. Now your numbers are accessible with a tap from the homescreen.

Other features / limitations:
1. Inserting your own images. To insert an image you need it to be available on the internet. If you want to use your own image you need to insert it into a website or cloud storage and copy the link to the image, then paste that link into the Data sheet. I have used Google Photos for my images. I upload the image to G Photos, then navigate to view the image there and right click it to copy the image address.
2. If you know your way around Google Sheets you can customise info in the Data sheet further. For example you can have a dynamic name for a number. In my Data table I link to a number that counts down to the next school holiday. But also on that spreadsheet there is a cell that displays the name of the next holiday (e.g. “May Half Term” or “Christmas Holidays”). So I used the IMPORTRANGE() function in the Data table to reference that cell and have a dynamic name for that number.
2. Countdowns are/were a great feature of Numerous. They can be created in Google Sheets. But remember that this spreadsheet just displays your numbers. You will need a standalone spreadsheet to do the countdowns. Lucky for you I have one, you can get it here. My one is designed for counting down to college / school holidays. So when one holiday is reached it automatically updates to the next holiday. But it can be used to track just one date too.
3. Customising the size to fit your smartphone. If you find that the published dashboard is not the right size for your smartphone then open the spreadsheet in Google Sheets and resize the columns on Dashbaord so that you get a suitable fit. Note that it takes several minutes for the display to update so be patient as you see what works for you.
4. The layout is fixed. Numerous would give you a different view in landscape and portrait; that won’t happen with this spreadsheet.

This is clearly an inferior setup compared to Numerous, but I do hope that it will be of some use in Numerous’ absence. If you have any questions or tips to share please leave a comment here or on Google Plus or reach me on Twitter.

All the best tracking your numbers.

Fast HTML Table Creation and Editing with a Spreadsheet

If you are designing a table in html there is a lot of tedious repetitive typing to do. A spreadsheet can be used to take a lot of the tedium out of the process. Previoulsy I have used spreadsheets to generate repetitive text and html in what I think was a relatively efficient way. I also thought that it was a very quirky method unlikley to appeal to other people. Until, that was, I read this blog post on the Zapier blog. Then I realised perhaps my quirky method might be of some interest to the mark up community.

So here is my contribution, it builds on Matthew’s post on the Zapier blog by showing how I would use Google Sheets to build a html table. The method is different to Matthew’s as it avoids the very long concatenate formula and makes it easier to make quick edits to the table formatting. It is more complex to set up, but much easier to work with once it’s done.

What follows are the steps to make the key parts of a html generating spreadsheet from scratch, but I have published a spreadsheet here which is based on the table that Matthew shared in his blog post. You can download and tweak it for your own use.

Step 1. Create a spreadsheet

Create the spreadsheet with two sheets: “Templates & Output” and “Row Details”

Step 2. Set up your templates in the “Templates & Output” sheet

In one cell set up a template of the html for the whole table, using a text placeholder (e.g. [rows]) for where you want the rows to go. I put my placeholders in square brackets but you can customise this to your own preferred style, just make sure they won’t be mistaken for html.

Screen Shot 2016-04-24 at 21.02.55


In another cell set up a template for the table rows, using text placeholders (e.g. [Name], [Description], [Link] etc) for the specific details of each row.

Screen Shot 2016-04-24 at 21.03.58


html creator - Templates and Output
Templates on the left.  Output (explained later) on the right.

Step 3. Make a table for the unique details in the Row Details Sheet

Make a table with a header row, the header items are the placeholders in the templates. Each row of the table here will provide the unique details for each row in the html table. So if you were producing a table with details about a range of apps, each row will include the details of one app.

html creator - Row Details

Step 4. Write a formula to replace the placeholders in the row template

In a column to the right of all the details write a formula using SUBSTITUTE(). This formula requires three arguments SUBSTITUTE(arg1,arg2,arg3).
* For argument one point to the template for table rows, this will form the base text of SUBSTITUTE(). This reference should be absolute because the layout of all rows is based on the same template (“A1” is a relative cell reference and “$A$1” is an absolute cell reference).
* Then use the formula to replace a placeholder with the detail from the table. Argument two should point to the placeholder text, i.e. the header of the table column. This argument should use an absolute row reference (“B$1” for example) because the placeholder text is a constant for all rows in the table.

* Argument three points to the detail in the table that the placeholder should be replaced with (e.g. “B2”).

Nest multiple SUBSTITUTE() formulae for as many placeholders as you have. If you had five unique details to place into your template for each row then you would need five nested SUBSTITUTE() formulae. E.g.
Where the absolute row references point to the headers of the table. Fill that formula down the length of the table.[1]

Step 5. Concatenate the html for all rows

In one cell, can be anywhere I put mine in the Templates & Output sheet, concatenate all the html that your spreadsheet has generated for the rows. You can manually write a CONCATENATE() formula, or use ampersands “&”, or my favourite is to use JOIN() with an OFFSET() formula. The beauty of JOIN() is twofold:
1. I can easily concatenate all the html with a line break as a delimiter which gives me a tidier html output. You can certainly add a line break with CONCATENATE() but it requires a lot more work. NB Add a line break in a formula by typing CRTL+Return.
2. I can pass in a dynamically resizing array of items with OFFSET(). In my spreadsheet the OFFSET() formula only picks up the number of html items that correspond to a table row that I have actually filled in. If I used CONCATENATE() I would have to go into and edit the formula everytime I wanted to add or subtract rows from my table. But with JOIN() I can add five new rows to my Row Detail table and the html creator will automatically accomodate those extra additions – it is beautiful!

I know I haven’t fully explained how to use JOIN() or OFFSET() here – I didn’t want to add a lot more information than necessary. If you check out my shared spreadsheet hopefully you will be able to work out how I did it. If not and you really want to know more then add a comment to this post and I will add an update with an explanation of my method.

Step 6. Compile the html for the table

In a cell in the “Templates and Output” sheet use SUBSTITUTE() again to replace the [rows] placeholder with the concatenated html for the rows.  That cell then provides the html for your table. Copy and paste it into your website / blog.

Setting everything up was a lengthy process but now your hard work will pay off.  Should you need to tweak the formatting of the html table it is now really, really easy and fast to do.  All you have to do is update the relevant code in your template. For example, if you wanted to make all of the columns a little wider you can simply change the width value in the row template and your html output will automatically update – no need to adjust a concatenate function and re-fill.  And when you come to design your next html table you will already have a spreadsheet ready, needing only a few minor tweaks before it can be used.

Below you can see the output for one of my tables[2]. The full table can be seen live on my website here. I hope that you found this method useful. If you need further clarification on setting this up let me know in the comments.

  1. With some logic formulae, such as IF(B2=“”,“”,SUBSTITUTE(…)), you can automatically hide irrelevant data from the concatenation stages. A formula like the one above checks to see if you entered anything in cell B2, if you didn’t it returns a blank cell, if you did it will return the output from the SUBSTITUTE() formula.  ↩
  2. HTML table ouput.
    Screen Shot 2016-04-24 at 21.07.02.png


Are You Planning to See the Total Eclipse of 2017?

On 21 August 2017 a Total Eclipse will travel across the USA from West Coast to East – right across!

The eclipse will hit the West Coast just after 10:15 AM PDT, it will then reach the East Coast about 90 minutes later at just gone 2:45 pm EDT.

A great website with loads of information about the eclipse can be found here: Great American Eclipse.  They’ve got maps covering a wide range of eclipse information, videos, eclipse viewing glasses for sale, and lots of information about viewing the eclipse.  The maps available on Great American Eclipse are fantastically detailed – make sure you download the high resolution computer wallpaper.  If you are able to make it to view the eclipse you will certainly find their resources very helpful.

If you are interested in seeing the path overlaid on Google Maps I have added it and you can access it with this link:  Also embedded below.  Now you will be able to navigate there and confirm you are indeed in the path of the oncoming eclipse right in your Google Maps app.*

I really hope I can make it out to the States to see this, what about you?


*Please note that there will undoubtedly be some inaccuracies in the data displayed on my overlay of the map.  So to be certain of being right in the path of the eclipse it would be advisable to move a reasonable distance inside the path and not stay on the very edges as denoted by the black lines.