Apple Touch Icon Sizes Updated for iOS 10

App Apple Logo

http://stackoverflow.com/a/19933647/5118345

Stack Overflow user felipep posted an answer to the question “What size should apple-touch-icon.png be for iPad and iPhone 4?”

His brilliant work is that he updates with all the suggested icon sizes for iOS10, including iPad Pro and every new iPhone and iPad as it is released.

I’m guessing he’ll keep updating it in future.

I started looking for the sizes of app icons when I noticed a lot of HTML 404 errors on a client website. There’s nothing wrong with a client machine asking for a missing file an the web server giving a 404 error. That’s how the internet is supposed to work. But filling an error log with those errors makes real problems harder to find.

As a fix I generated a bunch of icon files of the correct size and dropped them in the root directory of the website. I could have updated the header, or done some symlink magic, but it was quicker and easier to just put the files in place.

The files are currently

  • apple-touch-icon.png
  • apple-touch-icon-precomposed.png
  • apple-touch-icon-57×57.png
  • apple-touch-icon-72×72.png
  • apple-touch-icon-76×76.png
  • apple-touch-icon-114×114.png
  • apple-touch-icon-120×120.png
  • apple-touch-icon-120×120-precomposed.png
  • apple-touch-icon-144×144.png
  • apple-touch-icon-152×152.png
  • apple-touch-icon-180×180.png

The two preocomposed png’s are probably not required but I want to limit my 404’s and they are being requested by someone out there. It’s probably a scam bot, but I don’t want to take the time to work it out right now.

 

Server woes

Broken Time 1

Last updated on February 24th, 2016 at 06:30 pm

Broken Time 1
Broken Time 1/e_anka

Sorry to those of you whose emails I’m not receiving.

Unless I’m receiving them and you’re in the smaller group of people who can’t receive my emails.

Unless you’re in a non-intersecting group of people who are connecting to an older server (in which case you can’t see this post).

Unless you’re in a possibly non-intersecting group who couldn’t get to this website because of various server configuration problems.

Basically I’m rebuilding my hosting and that has led to wide-spread disruption. I’ll post an update when I think it’s mostly fixed. I think I’m 80% of the way there. UPDATE: I think it’s fixed.

It’s really frustrating and part of me wishes I went with a well supported WordPress hosted provider. But I do run some non-WP projects on the side so I like to have a server or two around for testing.

Fix Google Analytics Spam

Last updated on February 17th, 2016 at 04:04 am

Bottom line up front: Prevent spam in your Google Analytics with only 2 filters

Google Analytics is the most widely used web analytics service today so it is a target-rich environment for spammers to get eyeballs. They hope that web masters will see their url and check out where the traffic is coming from. The reality is there is no new traffic, it’s all bots manipulating the system.

Google Analytics spam is only bad for the site owner. Users never see the consequences, but the owner’s stats are full of junk, devaluing the data.

After long neglect I’m busy behind-the-scenes with this and other websites. My painful reality is bad guys hitching a ride on my corner of the web. Take care of your neighbourhood unless you want to it to go bad.

Change iPhone Backup Location

Last updated on May 3rd, 2016 at 09:38 am

I have a 64GB iPhone 5S but my MacBook Air only has a 128GB SSD which is not enough to regularly hold a backup of my phone. iCloud offers 5GB free online space so I have to pick and chose what gets synchronised via iCloud.

I decided to move my iTunes iPhone backup location to a 2GB external drive called Seagate1. This is a really easy process for Mac and Windows users.

There is no way to change that within iTunes. I am sure there must be tools you can get online to configure it but I used the Terminal to create a symbolic link to make iTunes to use the external drive.

By default iTunes stores iPhone backups in ~/Library/Applications Support/MobileSync/Backup on Macs and \AppData\Roaming\Apple Computer\MobileSync\Backup on Windows. If you already have a backup you wish to keep, move the Backup folder to the new backup location on your external drive. Otherwise rename the existing Backup folder to BackupOld.

The symlink links the folder from ~/Library/Application Support/MobileSync/Backup to a backup directory on my external drive – in my case /Volumes/Seagate1/iOSBackups/Backup.

Mac OS X
Open Terminal either by searching for Terminal in spotlight or use Finder to navigate tothe Utilities folder inside your Applications folder.

Terminal will normally open in your home folder with a $ prompt.

Type the following command create the symlink, change Seagate1 to your external drive name.

ln -s /Volumes/Seagate1/iOSBackups/Backup ~/Library/Application\ Support/MobileSync/Backup

That’s it! Connect your iPhone and back it up.

Windows

Open the Command Prompt window by clicking the Start button Picture of the Start button, clicking All Programs, clicking Accessories, and then clicking Command Prompt.

Type the following command to create the symlink ,change SEAGATE1 to your external drive letter.

mklink /J "%APPDATA%\Apple Computer\MobileSync\Backup" "[Your External HDD]:\iOSBackups\Backup"

That’s it! Connect your iPhone and back it up.

ZagZ redesigned

Symbol home from hands isolated on white

Last updated on February 17th, 2016 at 04:06 am

Symbol home from hands isolated on white
Symbol home from hands isolated on white

During a hasty server relocation I discovered that the database that stores ZagZ.com was slightly corrupted. Not badly enough to affect the performance of the site. But enough that the backups didn’t notice it and reported themselves happily complete.

The actuality was that the posts and comments tables where horribly damaged and it was only while trying to restore the backups that I discovered how hosed those tables were. Now if this site was my main focus I would not be running it the way I was. But it is my little plaything so them’s the way the cookies be crumblin’.

So I’ve recovered all the posts, and most of the comments. There are definitely missing comments, but they will take more time than it’s worth to find them and reintegrate them in to the new site.

Meanwhile I’ve redesigned ZagZ.com and am reworking the backend so that it is the starting point for all my online identity.

Let me know if you stumble across something more broken and lost than normal.

Don’t self host your website

Gesture 2 by Sanja Gjenero, Zagreb, Croatia

Last updated on March 24th, 2017 at 02:27 am

Gesture 2 by Sanja Gjenero, Zagreb, Croatia
Gesture 2 by Sanja Gjenero, Zagreb, Croatia

Should you use a free website from Tumblr or WordPress or Wix for the early days of ?your indie film? You should register on those free services to grab your brand name. But I wouldn?t go live with that for anything other than a teaser or short.

What about getting your own hosting account and running something like WordPress self-hosting? Things have changed, don?t host your own software or blog.

If your film is a short you can select the free hosting from Tumblr, WordPress, Wix or any of those free top level domains. However if you are going to make more than one short film or a bigger project, you should get a top level domain at least in your production company name. So if your making ?My Edgy Short? for the ProdCo Philberts Phantastic Philms you should register a domain name PhilbertsPhantasticPhilms (.com or whatever).

For a feature film or series you should register the brand name you are promoting MyEdgyIndieFilm (.com or whatever).

Until now the best advice was to then get a hosting provider for up to $10 per month and self host your website on that. WordPress was probably the easiest software to self host with and most hosting providers will install it for you. However I no longer recommend doing that.

Instead you should should pay WordPress.com or Tumblr.com or Wix to remove the ads and point your domain to their hosted solutions. Why? Automatic security updates! When you self-host software someone has to make sure it?s constantly up to date, because bad-guys are always looking for insecure sites to hack or worse to host their phishing scams from. Even if you are a competent sysadmin or website admin you have better things to do with your life than checking for updates all the time. No it?s not hard to do, but every minute you spend not making your movie, promoting your movie or aggregating your audience is time wasted.

So don?t buy plain generic or typical web-hosting to run your website. You wouldn?t set up your own web-server, so why would you run your own software? Pay a big player and point your own domain to their infrastructure. It will handle attacks better as well as scale sudden popularity.

Another solution is search on ?Managed WordPress Hosting?. Read about the companies that?specialise?in that space.

Photo credit Gesture 2 by Sanja Gjenero, Zagreb, Croatia

Address Book Related Names Completer Soon

Last updated on July 6th, 2015 at 02:41 pm

I store all phone numbers and email addresses in the Address Book or Contacts app of the devices I use.

  • On Apple Mac OS X it?s the Address Book app
  • On IOS it?s the Contacts app
  • On Android it?s Contacts
  • On my webmail it?s Google?s Contacts

I also add spouse and child names where I know them. For members of my extended family, I have cards for the spouses, parents, and children. That way I get birthday reminders automatically in my calendar.

None of these apps have the smarts to make it easy to link a spouse card with a contact without a lot of repeat data entry. Well, the IOS app lets me select another card, but that?s it.

I?m alpha testing some code that can either create contact cards for spouses, children and parents who lack contact cards or offer to create the?reciprocal link if the cards are already there.

The scrips work across Gmail, Google Contacts, Apple Address Book and the Contacts apps in IOS and Android. Actually they are a series of scripts native to each environment. Currently each script is stand alone software rather than a plugin for existing apps.

Each platform calls the Related People by their own name. Related Names, Related People, Relationships, whatever!

If this is a problem you?d like a solution to, let me know in the comments below. I?ll let you in on the beta program soon.