An ideal blog post probably provides answers to others who may be searching. This one doesn’t. This is the accounting of the mysteries of “localhost” on CentOS linux instances. I’ll post updates as I actually start to understand the answers.
Fetching a web page from localhost is slower than fetching from 127.0.0.1
127.0.0.1: average response .015s
localhost: average response .166s
So an entire end-to-end fetch is ten times as slow using localhost, and the IP address is apparently not cached, as it doesn’t get any faster with repeated runs.
Yes, “localhost” is an alias to 127.0.0.1 in my hosts file, so I expect that an actual DNS request on the wire should not be necessary.
WordPress won’t find my database on host “localhost”, but it will find it at 127.0.0.1
One of the limitations of Amazon AWS’s EC2 IAMs is the instance role MUST be assigned at “launch” time. This is distinct from the “Start” action on an instance that was running as has been stopped. In order to associate a current instance with a new or existing IAM profile, you must create a new instance. This can be done by creating an image from the current instance and launching that.
Once an IAM role has been assigned, you may alter it. This suggests that best practice is to always launch an instance with SOME IAM role.
Are the command line tools related to IAM roles? YES, although it’s not specified, AWS command line tools will find the role of the instance it’s on, even if it’s not AWS Linux.
Assuming a role
Select the item, press and hold the command key. The path appears at the bottom of the preview pane.
Why knowing where the file isn’t considered a top-tier feature, I don’t know.
I appreciated this article on which books are worth reading. The premise is that nobody should be reading “business card books” which tout the author’s credibility, books that aren’t long enough to be worth a book, and actually good books.
I don’t agree that even most business books fall neatly into one of these categories, but I do appreciate the list of “good books”:
“MASTERY” by Robert Greene
“BOLD” by Peter Diamondis and Steven Kotler
“OUTLIERS” by Malcolm Gladwell
“WHERE GOOD IDEAS COME FROM” by Steven Johnson
“MAN’S SEARCH FOR MEANING” by Victor Frankl
“BORN STANDING UP” by Steve Martin
“ZERO TO ONE” by Peter Thiel
“QUIET” by Susan Cain
“ANTIFRAGILE” by Nassim Taleb
“MINDSET” by Carol Dweck
I’m starting with Nassim Taleb’s book: he seems to have dozens of quotable reference in every book he’s written.
I’ve had numerous issues with convincing my Mac Pro 1,1 to sleep, and almost equal problems keeping it from sleeping when it’s in the middle of doing work I actually want done.
Apple’s site is quite helpful here, when I tried everything on the list. I suspect that Bluetooth and/or network waking is the issue.
It’s handy to have multiple email addresses if you have multiple contexts in which you interact with people. You could create separate mailboxes, but that both prevents you from mixing emails if you want to, and requires extra administration.
It’s easy to configure this with Mac Mail in Yosemite. In the “email address” field on Accounts | Account Information, just separate multiple email addresses you want as possible return addresses with commas.
You’ll then get a dropdown list of choices for from which email address you want to send when you email. Of course, you’ll have to make sure that those addresses are actually forward to your email box by creating email aliases with your mail server, or using a catch-all.
Dave McClure’s Ignite Seattle talk on metrics is worth the five minute and 14 seconds it takes to watch.
“There are five steps…
Acquisition – where users come from. What are high volume channels, what are low cost channels, and what are best performing conversion channels?
Activation – a happy first experience.
Retention – they come back
Referral – they tell other people. Don’t try to do viral marketing campaigns until your product doesn’t suck.
Revenue – you make money”
The Information Visualization Manifesto
Form Follows Function
Start with a Question
Interactivity is Key
Cite your Source
The power of Narrative
Do not glorify Aesthetics
Look for Relevancy
Aspire for Knowledge
Avoid gratuitous visualizations