AWS Lambda Triggers

The GUI has changed recently and it’s not as easy to find them.

They’re now in Lambda > Functions > Configuration in the Designer pane.

Assuming you’ve added a Trigger from the list on the left, then, to Enable, click on the Trigger and change it to Enabled. 300w, 768w, 588w, 1143w" sizes="(max-width: 474px) 100vw, 474px" />

Output user, path and git branch at Mac prompt

This outputs the user, your path and the git branch:

Understanding the Mac Wifi signal

If your Mac Wifi seems to be struggling here’s how to find out more about what’s actually going on.

Signal strength:

The  Mac’s menu bar has a rudimentary set of signal strength icons. E.g.

which means practically nothing.

If it’s less than 4 bars you’re probably going to struggle. However, here’s how to find out more.

  1. Alt click the icon and look for RSSI

This is a negative dBm number which measures from 0 to -100 with 0 being perfect (and not realistic in everyday life) to -100 being no signal. Realistic values are:

-50: good

-75: reasonable

-100: no signal

So, if your WiFi is between -50 to -75 then your signal is OK.

If between -75 and -100 then you’re going to have problems.

Centre mouse cursor

I sometimes lose my mouse cursor when I have several screens and many windows.

There is the option of wiggling the mouse to find it but I’d prefer to have a shortcut that moves the cursor into the active window. BetterTouchTool does that well. See this post:

I use Alt X to move the mouse into the top left of my active window.

However, beware, I tried using Double Space and managed to break things – was unable to enter any spaces on my Mac keyboard. The solution was to delete the key sequence

Cost Allocation Tags – tracking costs of your EC2 instances

AWS provides Cost Allocation Tags to track costs of instances so you can separately track costs in different Stacks / Environments – e.g. Development and Production

See also here on Activating these Tags:

Slowness of Google Docs

Don’t get me wrong. I love Google Docs.

But it’s slowness drives me crazy.

When I start opening a Doc it goes through several frustrating phases (with very rough times):

  1. blank page – 5 seconds
  2. content (which can’t be edited) – another 10 seconds
  3. rendering table of contents in sidemenu – another 3 seconds

The frustrating stages are 2 and 3 where it feels as if I should be able to edit content but can’t.

In total, it’s almost 20 seconds before the content can be edited. What makes it even more frustrating is that during phase 2 it appears as if the content can be edited but can’t until various other things have loaded.

Software and cascading problems

One of my pet peeves about software is how problems seem to cascade. E.g. I have an app I built which is on the App Store. I temporarily took it off the market as a supplier who provides some of the data was experiencing problems. They resolved the issue so I decided to put the app back on the market. I have a bookmark to the iTunes Connect dashboard. The dashboard needs a password. To avoid having to remember all these passwords or write them down somewhere I store in another piece of software called 1Password.

However, I got an error saying “Browser could not be verified”.

I Google’d the problem but the page ( ) was loading extremely slowly. When the page finally loaded it suggested restarting my Mac.

Various software updates took advantage of the system restart so it was around 10 minutes before I could connect to iTunes Connect.

Now, that error had gone but clicking on the password entry didn’t fill out the email and password as usual. I had to manually copy it from 1Password and paste it in.

Finally, once in the iTunes Connect dashboard, I had to figure out how to put the app back on sale. The Dashboard looked like this:

  1.  a menu at the top:

App Store Features TestFlight Activity App AnalyticsSales and Trends

None of which seemed relevant.

2.  a sidebar with:


App Information

Pricing and Availability


3.6.0 Developer Removed From Sale


1.0 Prepare for Submission


3. a content block with this at the top:

Developer Removed From Sale

Nothing here seemed particularly clear about how you put the app back on the market.

So, some more Google’ing.

The first link was to Apple’s documentation:

The problem with this documentation is that it goes on for literally dozens of pages. I really wanted an answer that didn’t involve half an hour of wading through vast reams of unrelated text.

So I visited the second link on an iPhone development forum:

which went something like this:

Question: Hi guys, just a quick question, when I remove the app from sale (developer removed from sale) it is still in my “menage apps screen”, how can I put it back on sale? Does it need to go through a review process again?

Answer: No, just turn it on again by selecting which country you want it in

Not terribly useful as it didn’t tell you how you select countries.

Back to the Apple docs.

Scanning through it I found, around 3/4 of the way down the document (around 11 pages of text) I finally found the information I needed, confusingly under Removing an App from Sale.

You have to go into Pricing and Availability, select “Available in all territories” and Save.

This was a pretty trivial example but shows off some of the complexity that can accumulate. A simple thing like ticking a box took around an hour to do.