Uncaught exception ‘CFCredentials_Exception’ with message ‘No credentials were provided. [solved]

Uncaught exception ‘CFCredentials_Exception’ with message ‘No credentials were provided. [solved]If you’re using the Amazon Web Services (AWS) SDK (Software Developer Kit) version 1.5 “Allegro” for PHP you may have noticed an error like:

Fatal error: Uncaught exception ‘CFCredentials_Exception’ with message ‘No credentials were provided. The SDK attempts to retrieve Instance Profile credentials from the EC2 Instance Metadata Service, but doing this requires the “default_cache_config” option to be set in the config.inc.php file or constructor. In order to cache the retrieved credentials.’ in #0 amazon-php-sdk/sdk-1.5.17.1/sdk.class.php:439

Stack trace:
amazon-php-sdk/sdk-1.5.17.1/services/ec2.class.php(155): CFRuntime->__construct(Array) #1
amazon-php-sdk/sdk-1.5.17.1/_samples/cli-ec2_sorting_and_filtering.php(59): AmazonEC2->__construct() #2 {main} thrown in
amazon-php-sdk/sdk-1.5.17.1/sdk.class.php on line 439

My solution was fairly simple – the PHP SDK download has a `config-sample.inc.php` file that you can copy to `config.inc.php` and then add your AWS key and secret key. After doing that you should be good to go.

Posted in Server Administration, Software, Tech Tips, Web Development | Tagged , , , | 2 Comments

Does a Heat Pump Always Have Air Conditioning? [solved]

Wondering if a Heat Pump Always Have Air Conditioning? You’re in the right place.

Does a Heat Pump Always Have Air Conditioning? [solved]

Heat pumps, by definition, include heating and cooling. I have never heard of a heat pump that doesn’t include A/C. If you are looking at a house and AC is not listed, check the MLS listing sheet. The item labeled “Cooling” should specify something like: “Heat Pump / Multi-Zoned” and be similar to the “Heating” category

Posted in Random, Tech Tips | Tagged | Leave a comment

Open Illustrator Files with Photoshop

Did you know that you can open Adobe Illustrator Files in Photoshop? Adobe Illustrator files (.ai files) are saved in a PDF compatible format / vector compatible but also with a limited font set available.

You can specify the resolution when opening the file:

Open Illustrator Files with Photoshop

This makes it possible to open your Adobe Illustrator files in Photoshop. They will be vectorized, but you can specify the resolution that you wish to use when opening them. Any vector items will be scaled up without losing quality. Rasterized items will be included but will nto scale-up without pixelation.

Please note that if you want the image to appear “actual size” on the screen you will need to set the resolution to 72dpi unless you are using something like a retina display. The default resolution for opening an Adobe Illustrator file in Photoshop is 300dpi.

Posted in Design, Software, Tech Tips | Tagged , | Leave a comment

AWS Control Panel Gets a CSS / Design Refresh

Amazon EC2, CloudFront, and all of the other Amazon Web Services have received a CSS / Design refresh after a few years of using the previous design. A few highlights on the new design:

##Dropdown Selection of all AWS Services

This has been available for at least a few months. Amazon was adding so many “tabs” to the previous horizontal layout that they ran out of space.

AWS Control Panel Gets a Design Refresh

##Configurable View Options

Much like WordPress’s “Screen Options” Amazon has added some settings for how you view items in the toolbar:

AWS Control Panel Gets a CSS / Design Refresh

##Collapsable Sidebar

Amazon now gives you the option to collapse the sidebar more easily (previously you could resize it). Toggling it is a more effective way to quickly see more of the columns in the panel on the right.

AWS Control Panel Gets a CSS / Design Refresh

##Quick Toggle for the Properties Panel

There are now three icons in to quickly toggle sizes in the Properties Panel at the bottom

AWS Control Panel Gets a CSS / Design Refresh

There have been a few other changes to try and make the panel more “responsive” and friendlier for small screen sizes. However, I would still rather use a mobile app to manage EC2 instances on my phone.

Posted in Design, Server Admin, Tech Opinion, Web Development | Tagged , , | Leave a comment

Announcing Dropbox Links – The best way to share your stuff, ever.

Dropbox just sent me an e-mail announcing they now have “Dropbox Links” – a “new feature”

Dropbox has, for a long time, offered special links to big files, first in your public folder, then anywhere in your dropbox.

The public file links allows you to share a link that will never expire. The other links (to non-public folders) will expire after a set period of time – and you can expire them early.

From one point of view, this “news” is nothing new.

There are a lot of companies now that are getting used to send files via email, like KickSend and SendBigFile – and it appears Dropbox wants a piece of the pie – that and also they are probably disappointed that not enough of their users know about this feature.

Announcing Dropbox Links – The best way to share your stuff, ever.

Dropbox Links let you share files or folders (of any size) with anyone, even if they’re not using Dropbox

Sharing files is a huge pain – you have to compress, attach, upload, and a bunch of other verbs that are a waste of your time. Forget that! We just invented the best way to get stuff from your computer to the rest of the world.

Happy Dropboxing!
– The Dropbox Team

Posted in Tech Opinion | Tagged | Leave a comment

How To Use Coupons When You Shop Online

How To Use Coupons When You Shop Online

Shopping online is more popular than ever, and it shows no signs of slowing up. In fact, millions of Americans take to the Internet every day (and even more during the holiday season!) to shop for family members, friends, and children.

Deals are everywhere, and because of this, online retailers and sites have become extremely adept at offering great coupons, and partnering with other businesses and websites to provide workable and worthwhile coupon codes. But there’s a catch! Not all of these new coupon companies and websites provide the best coupons – or even ones that truly work and are valuable!

In fact, there are several things to look for when it comes to picking out coupons and researching deals online, and there are a few different tips that every person needs to take heed when it comes to figuring out what is the right situation and website for them and their specific product needs.

###Be Smart With Coupon Companies

Not all coupon companies were created equal. For every Groupon, there is a RetailMeNot, and not all companies will have coupons worth the time or effort. Many, in fact, simply want your email address and demographic information before they give out any sort of deal, and even then, don’t have access to the best coupons or the top discounts that you are trying to track down.

So, when you look for coupon companies, be smart with which you pick. A company like CouponChief provides a great opportunity for a respectable coupon site simply because they are one of the fastest growing coupon sites out there, with more than half a million visitors per month and more than 100,000 coupons to more than 30,000 different stores, brands, and companies. CouponChief is the hot new kid on the block when it comes to coupon companies, and is proving to be a reliable source for great discounts and amazing savings.

###Research, Research, Research!

No matter where you go or what product you are searching for, it’s critical that you do your research and pick a coupon company that aligns with what you are looking for. That means pick companies that provide coupons to the stores that you frequent, and can provide you with great deals that actually save you money and can’t be found anywhere else.

Research has never been easier, in fact; with Yelp, Facebook, and other social media and interactive websites available nowadays, you can ask your friends what they think about deals and coupons, and where they have found great deals and offers that you won’t get anywhere else. You can also use Internet forums and other websites that provide unbiased user reviews to ensure that whatever you choose for your coupon site will work for you and provide you with exactly what you need to save money and get discounts on the best products available.

###Ask Around; Your Friends Will Know

When in doubt, feel ’em out! Your friends will be able to tell you exactly what you need to know about coupon sites and what coupons work, since your friends are just like you – they want to save money and get great deals on everything all the same! Ask your friends about where they have had success and what has worked for them, knowing that you can trust their reviews and find out exactly what makes the most sense for you and your family.

Plus, your friends can give you tips on what to avoid, and what issues they have run across that might make it easier for you when it comes time to shop for a reliable and usable coupon site. Your friends know more than you think; they’ve been there before when it comes to couponing, and they can be extremely valuable resources as far as picking out exactly what will work for you and your unique situation.

###Choose A Site You Trust

I’ve used CouponCabin and RetailMeNot, but recently I found CouponChief and have been quite impressed with them. They’re great because they’re one of the fastest growing coupon websites on the market today, and for good measure – they work! Accodring to Alexa, they have over half a million unique visitors per month. Part of the problem of any coupon site is that if nobody uses it, it won’t have up-to-date coupons. I hate searching for coupons on a site and getting a few expired coupons and a bunch of popup windows. Their site says that they have over 30k stores – which is pretty darn good. If you’ve got a store in town you’ve been eyeing for a discount, chances are they have coupon to save you money.

One other thing I noticed that’s different is their “Pays-2-Share” program where users can submit coupon codes, and actually get paid for doing it, and sharing the love and forwarding coupon codes to other users. I haven’t submitted any coupon codes, but I like that they’re doing this. It seems to encourage a high quality / large quantity of available coupons.

###Conclusions

All in all, couponing can be tough work, but somebody’s gotta do it right! With a little bit of research, and some hard work hunting down the right sites and businesses, good coupons are easy to come by and will work wonders to save you money on a ton of great products and services around the country.

Good luck with CouponChief, RetailMeNot, Coupon Cabin or any sites you choose to use. I enjoy knowing that I’ll be saving money and saving time. Whenever I checkout and see that coupon box on the cart page I will always check for coupons (usually on CouponCheif first) so that I can make sure I get any discounts that are floating around out there.

And finally, please don’t be afraid to share your coupon codes with others, too – spread the love, maybe get paid for it, and help grow some of these sites that allow millions of people the opportunity every year to save money, time, and the headache of shopping at stores around the country. Let me know how your couponing goes, and what you’ve found that works for you and your family!

Posted in Marketing, Tech Tips | Tagged , | 1 Comment

MoreInternet Preference Pane

MoreInternet Preference Pane is an application / preference pane that allows you to set up custom protocol / schema handlers in Mac OS X.

The MoreInternet Preference Pane modifies the settings inside this file:

~/Library/Preferences/com.apple.launchServices.plist

This is a screenshot of what it looks like:

MoreInternet Preference Pane

It was previously available at monkeyfood.com, but since it is no longer available there you can download MoreInternet Preference Pane at this link:

http://download.cnet.com/More-Internet/3000-2094_4-10559064.html

Posted in Mac, Software, Tech Tips | Tagged , , | Leave a comment

Scale On-Demand and Reduce your Backup and File Share Costs with AWS Storage Gateway

Scale On-Demand and Reduce your Backup and File Share Costs with AWS Storage Gateway

Dear Amazon Web Services Customer,

Find out more about how you can use the AWS Storage Gateway to reduce the cost of your departmental backup and file share storage by joining our Dec 5, 10am PST webinar. During the webinar, we’ll discuss how you can easily deploy our recently launched Gateway-Cached volumes feature to reliably back up your on-premises data to Amazon S3. We’ll also discuss how you can seamlessly store your corporate file shares on Amazon S3, minimizing the need to scale your storage on-premises, while retaining low-latency access to your frequently accessed files. After the presentation, we will be answering questions from the audience.

Register here for the webinar.

Time: 10:00-11:00 AM PST
Date: Wednesday, December 5, 2012

Sincerely,
The AWS Storage Gateway Team

Posted in Marketing, Server Administration, Tech Tips, Web Development | Tagged , | Leave a comment

How can I use defaults write with a multi-line value? [solved]

I’m trying to use `defaults write com.myprogram.plist “dataName” “dataValue”`

It works fine, but I have a long string that I need to set as the value:

TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNl
Y3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gTWFlY2VuYXMg
dGluY2lkdW50LCBkaWFtIHNlZCBtb2xlc3RpZSBsYW9y
ZWV0LA==

How can I do this from the command line? Do I use an escape character like “\n” or can I just read a value from a file directly with `defaults write` ?

###Solution / Answer

Use `/usr/libexec/PlistBuddy` instead, its `Import ` should do exactly what you want. In defaults, you could try to hex-encode your data and use the -data argument as type.

Posted in Mac, Tech Tips | Tagged | Leave a comment

AWS re: Invent Day 2 Highlights & Announcements

AWS re: Invent Day 2 Highlights & Announcements

Hello again from AWS re: Invent!

The second day of AWS re: Invent in Las Vegas started off with a great talk from Amazon.com CTO Dr. Werner Vogels. After a brief recap of yesterday’s announcements (Amazon Redshift and the S3 price reduction), Werner discussed the role of system architecture in today’s world of unconstrained, programmatic access to processing, storage, and network resources. He emphasized that new architectures must be scalable, fault-tolerant, high-performance, and cost-effective. His talk included guest speakers from Pinterest and Animoto, along with live, dynamic demos conducted by AWS Evangelists Matt Wood and Simone Brunozzi.

Werner announced a pair of new Amazon EC2 instance types, one for high storage applications and another for high memory applications. He also announced the AWS Data Pipeline.

New Amazon EC2 instances
Two new Amazon EC2 instance types will be made available to customers in the US East (Virginia) region in the coming weeks. High Storage Instances are a new Amazon EC2 instance optimized for customers that need high storage depth and high sequential I/O for applications like data warehousing, Hadoop and data-intensive HPC. High Storage instances will be available in a single size, High Storage Eight Extra Large (hs1.8xlarge), and have 16 virtual cores, 24 hard disk drives, 48 TB of storage capacity, 117 GiB of RAM and 10 Gigabit Ethernet networking.

Cluster High Memory instances are another new Amazon EC2 cluster instance type optimized for memory-intensive analytics and scientific computing. Cluster High Memory instances will be available in a single size, Cluster High Memory Eight Extra Large (cr1.8xlarge) and will provide customers with dual Intel Xeon E5-2670, 2.6 GHz processors, 240 GiB of memory, and two 120 GB SSDs. These new instances will also support Intel Turbo and NUMA for improved performance. Like other cluster instances, cr1.8xlarge instances support 10 Gigabit Ethernet networking.

AWS Data Pipeline
AWS Data Pipeline is a lightweight workflow orchestration service for data driven workflows. It’s designed to facilitate the creation and management of data driven workflows by providing data dependency management and scheduling logic as well as automatic retries and notifications if your processing steps fail or your data inputs don’t become available in the timeframe you were expecting. Data Pipeline allows you to chain your processing steps together in order to create complex workflows out of simple building blocks. AWS Data Pipeline is currently in a limited private beta. Learn more at the Amazon Web Services Blog.

Fireside chat with Werner Vogels and Jeff Bezos
As a special treat for the AWS re: Invent attendees, Werner Vogels interviewed Amazon CEO and Founder Jeff Bezos for almost an hour. Jeff spoke about everything from his investment in building a clock that can keep time for 10,000 years to what new entrepreneurs should think about as they start a business. Jeff also emphasized that his preferred business model is aligning a vendor’s interest with that of the customers. As an example, he cited the Kindle, and the fact that we make money when our customers use the device.

Jeff thinks long-term, and spoke of investing time and energy into long-lasting business principles instead of short-lived fads. He urged the attendees to focus on improving business attributes that would still be valid in a decade – lower prices, better performance, more flexibility, or greater reliability. He also spoke of innovation and how it happens at Amazon, making clear that innovation is a point of view, and that hiring people who are pioneers and explorers is essential. Tying this back to AWS, he said that the ability to spin up instances on demand allows entrepreneurs to increase their experimentation rate (and hence their innovation rate) many-fold.

The chat concluded with Jeff offering some advice to would-be entrepreneurs:

  • Don’t chase today’s fad
  • Be passionate about what you do
  • Be a missionary, not a mercenary
  • Start with the customer and work backwards

It’s been a great first AWS re: Invent and if you weren’t able to join us in person in Las Vegas, we hope to see you next year. You can check out all of the keynotes and many of our sessions on ourAWS re: Invent YouTube playlist.

Sincerely,
Amazon Web Services

Posted in Marketing, Server Admin, Web Development | Tagged , , , , | Leave a comment