Sunday, July 07, 2013
Consensus: SignalR + TypeScript [feedly]
Release Management Best Practices at Amazon [feedly]
When you think about scale, you probably think about Amazon. And Werner Vogels, Amazon's CTO, has plenty to say about practicing release management at scale.
In a review of Vogels' speech at Amazon's developer conference, Charles Babcock of Information Week highlights the influential CTO's view that enterprise IT development has to be recrafted in favor of systems that are controllable, resilient, adaptive and data driven.
Vogels thinks of controllable applications as "decomposed into small, loosely coupled, stateless building blocks." These run in an environment where the systems architect no longer thinks about physical servers, and so is no longer bound by resource constraints. This same concept, of course, is what underlies Amazon's own Elastic Compute Cloud, which provides resource scaling on demand.
Key to Amazon's success at scale is its ability to roll out new software across its whole platform. The company can update 10,000 servers at a time and roll back changes with a single system call. This continuous deployment environment allows Amazon to push out new code once every 11 seconds, on average.
Effective release management requires constant monitoring of new releases, and Amazon has its entire infrastructure instrumented to log performance and failures. This gives the company early warnings of system slowdown or failure. In such a large environment, failure is to be expected, so it's critical that an event such as a disk drive failure on the S3 storage system is well tolerated and provided for with resilient design.
Amazon is a challenging IT operations environment that provides services to both internal and external customers. That the company is able to do this at enormous scale is a testament to its success at understanding release management across a very large environment.
Learn More:
- Managing Change To Enable Agile Operations - Agile development means lots of changes coming at IT ops in rapid succession. A few tips for making your infrastructure agile enough to meet the challenge.
- Continuous Integration Success Depends on Automation - Fast, frequent changes require the discipline of continuous integration – and that requires automation.
- Get More Agile: Learn How To Automate One Small Thing with Puppet Enterprise – Thinking about changing your whole infrastructure is daunting. Start small and you'll soon be on your way.
- Puppet Enterprise for Release Management – Deploy quickly and safely with Puppet Enterprise.
Google Plus Is Like Frankenstein's Monster [feedly]
Your humble correspondent begs your indulgence for this flu-fuelled stream-of-consciousness post, but deadlines wait for no virus, so needs must I expel the contents of my febrile mind onto this screen and thence to yours.
To wit: Google Plus is a total mess.
You probably knew that already. But you may not have realized that of late it has become an interesting mess…like Frankenstein's monster.
These days there's a lot of disingenuous chatter about how G+ is just a "social layer on top of Google," and was never intended as a direct competitor for Facebook; which is, of course, revisionist nonsense. Two years ago it seemed pretty obvious to just about everyone that G+ was intended, or at least hoped for, as a Facebook killer.
Which obviously never happened, not least because Google shot themselves in the foot as they came out of the gate: the tech community of early adopters that could conceivably have become a critical-mass beachhead were the same group who reacted most strongly and negatively to G+'s controversial, divisive, and just plain dumb real-names policy. It wasn't until it became painfully apparent that Facebook had nothing to worry about that G+ pivoted to Plan B, its current status: a thin social veneer atop all of Google's products.
Which has been moderately successful. Google Plus is awfully quiet, true, but it's not the ghost town that's often claimed. Some numbers from my pet project Scanvine, which tracks how and where news articles are shared online:
- The average news article tracked (as of this writing) has been shared/liked 890 times on Facebook, mentioned/retweeted 147 times on Twitter–and shared/+1d a paltry 19 times on Google Plus. That's 2 percent of Facebook. Which is pretty bad (by Google's standards) in terms of overall reach, but probably good enough in terms of accumulating a semi-representative sample of social-media signals to feed the ever-hungry maw of Google's search algorithms.
- Mind you, this distribution varies quite a bit from source to source. Fully a sixth of The Verge's shares come from G+, compared to 0.1 percent of Upworthy's. (Similarly, LinkedIn is basically nonexistent for many sources, but is a huge contributor to the Harvard Business Review. G+ does okay on TechCrunch, too, in case you're curious, but what's notable here is the massive outperformance of Twitter.)
- I've heard rumors that G+ is big in India, but the numbers for The Times of India offer at best tepid evidence for that: six shares/story via G+ vs. 137 via Facebook. Better than the overall 2 percent average, but not by much.
- In general, G+ outperforms for tech sources and underperforms for, errrrr, let's say "non-tech" ones. Its population seems to be heavily STEM-oriented — or, to quote an anecdotal report from elsewhere, "Google+ loves math." We may tentatively conclude that it has caught the attention of many technically inclined early adopters, but two years on, its use doesn't seem to be expanding much from that core. It's a foothold, not a beachhead.
So. G+ failed as a Facebook killer, and while it may have attracted enough of a STEM-loving audience to serve as Google's social layer, it isn't exactly setting the rest of the world on fire. What it does do, however, which Facebook mostly doesn't, is serve as a means for aggregating and filtering stories. G+ "Circles" can be coerced into news feeds for a particular type of story; for instance, Brad Acker shared a "Futurists" circle with me which is a really interesting aggregated source of cutting-edge science/tech news.
But even that doesn't quite work right. You can share Circles with other people individually, but there doesn't seem to be any way for me to, for instance, post a link to that "Futurists" circle here so that anyone could subscribe. (Please correct me if I'm wrong; this seems like such an obvious feature that I suspect my flu-ridden state is the reason for my inability to find such a link.)
Moreover, I'm using that Circle as a news aggregator, but the posts there are still social — i.e. they're built around people, with smiling-face icons and commentary and so forth — when actually I really just want to use it asocially. I mostly don't know or care about the people who are posting to it; I'm just interested in the links they're aggregating. The rest is distracting noise. Hacker News, for all its ugliness, gets this right. G+ does not.
Circles are still really useful for all kinds of things, from small-group conversations to project-oriented discussions to news aggregators that nothing else can quite match–but at the same time, they suffer from G+'s attempt to be all things to all people. Admirable ambition, but unless your UX design is superb, you wind up seeming like a bundle of individually good ideas bolted together awkwardly into a shambling mess. Like Frankenstein.
But that's not actually the criticism it may seem. People tend to think of Boris Karloff's portrayal of a brute monster: but Mary Shelley's original novel had the subtitle The Modern Prometheus, and its creation was eloquent, educated, and intelligent, but unfairly rejected by most of the world because of his physical deformities and inability to fit in. Alas, I fear the same may be true of Google Plus.
Friday, July 05, 2013
MVC# - A Model-View-Presenter Framework for .NET - NullSkull.com [feedly]
MySQL 5.6 Support for Amazon RDS [feedly]
I am happy to announce that the Amazon Relational Database Service (RDS) now supports version 5.6 of MySQL.
If you are an existing RDS customer, you know that Amazon RDS for MySQL delivers several important benefits to MySQL customers including ease of deployment, high availability with automatic failure detection and failover, read replicas, push button scalability, automated back-ups, point-in-time restore and automated software upgrades and patching.
New Features in MySQL 5.6
You now have access to a number of powerful new MySQL 5.6 features. Here's a sampling:
- Crash Safe Read Replicas - MySQL 5.6 improves the reliability of RDS Read Replicas by making the binlog and table data transactionally consistent on the primary database instance. This allows Read Replicas to resume replication automatically after a primary database instance crashes or fails over (in the case of Multi-AZ instances).
- InnoDB Integration with Memcached - You can use the Memcached API to bypass the SQL layer and treat InnoDB data as a "key-value" store. You can enable Memcached on your Amazon RDS for MySQL instance using a DB Option Group.
- Binary Log Access - You can download and stream binary logs through the native mysqlbinlog tool. This can be useful for a variety of purposes such as syncing data with an on-premises deployment, audit logging, analytics, and debugging of replication errors. You must enable backup retention for the RDS database instance in order to take advantage of this feature.
- Online Schema Changes - You can now initiate multiple, concurrent ALTER TABLE operations on InnoDB tables to add columns or indexes while simultaneously running queries.
- Full Text Indexes - You can build full text indexes (for InnoDB tables) on columns with text based content to speed up searches for words/phrases.
Launch Now
You can get started with MySQL 5.6 today by launching RDS Database Instances from the AWS Management Console:
Upgrading From MySQL 5.5
Upgrading an existing database instance from MySQL 5.5 to MySQL 5.6 is not currently supported. However, we intend to provide this functionality in the near future.
In the meantime, if you would like to port your existing MySQL 5.5 database to MySQL 5.6, you can use mysqldump to export your database from your existing MySQL 5.5 database instance and import it into a new MySQL 5.6 database instance.
For more information, visit the MySQL section of the Amazon RDS User Guide.
-- Jeff;
How to Get Reduced Prices and Save Money When Shopping on Amazon [feedly]
Amazon is often our go-to place for buying things online, but the best deals aren't always obvious. There are several ways you can save quite a bit of money when shopping on Amazon, but only if you utilize the right programs and strategies. Here's how.
Use Amazon's Outlet Store
Amazon doesn't conceal their outlet store outright, but most people don't know it exists. Buried within their other shopping categories, their virtual outlet shows you products discounted anywhere from 30-60% off their MSRP (manufacturer suggested retail price). If you don't want a specific item, but rather a good yet cheap TV, blender, SD card, or whatever, the outlet store will show you the biggest markdowns in pretty much any shopping category on the site.
Buy from Amazon Warehouse Deals
Somewhat in conjunction with the outlet store, Amazon Warehouse Deals offers significant discounts on open box and refurbished items. All products get tested at Amazon to ensure they function. Once posted, the online retailer cautiously described the condition of the item. I've ordered quite a few items through Warehouse Deals that claimed to have cosmetic damage and found myself hard-pressed to find a single scratch. While no company dodges errors, Amazon Warehouse Deals boasts a great track record with almost two million reviews. You get to take advantage of Amazon's standard return policy, too, so if you run into a problem you can just send it back. Overall, it's a great way to save a lot of money—especially on rarely-discounted products—without the risk usually associated (or imagined) with used or refurbished gear.
Set Up Price Alerts
You may not always find the price you want when shopping on Amazon, but with prices fluctuating daily you may get it at some point down the line. It's annoying to have to check the site for a better deal on a daily basis, so avoid all that hassle by setting up price alerts with OnlinePriceAlert. All you do is enter the URL of an Amazon item, your email address, and the target price. (You can do this through their bookmarklet, too, to avoid going directly to the site.) When the price drops to your target, you'll get an email. It's as simple as that.
Get an Affiliate Buddy
S
Amazon has an affiliates program called Amazon Associates that gives you up to a 15% referral fee on any purchases people make with your affiliate links. While you can try purchasing from yourself to get an extra 15% off, Amazon tends to notice and remove your commission when they do. A better idea is to get an affiliate buddy. Basically, find another friend who shops on Amazon frequently and give them your affiliate code. Whenever they buy something, they use your code. In return, you do the same for them. This way you each get 15% back on whatever the other buys. It may not always be perfectly even, but it's a good way to generate some extra savings without cheating the system.
By the way, the easiest way to add your affiliate code is to append this to an Amazon URL: &tag=YOUR_AFFILIATE_CODE (e.g &tag=gizmodo-20)
Subscribe & Save (or Just Save)
S
Amazon has a program called Subscribe & Save that allows you to commit to purchasing an item on a regular basis and receive a discount for doing so. The discount is generally between 10% and 15%, saving you quite a bit over the course of a year. You can choose to subscribe to a product every months, every six months, or several options in between. This works for many products on the site such as batteries, shampoo, cleaners, toilet paper, and other stuff you'll need on a regular basis. You can even use it to automate your office lunches. It's delivered to your home when you need it and you don't pay for shipping. You save money and it's really, really convenient.
But what if you don't want to actually subscribe to a product? It doesn't really matter. If you buy something via Subscribe & Save and you don't want to continue your subscription, you can just cancel it. Amazon will even remind you a new shipment is coming so you cancel it before they bill you. You make absolutely no commitment to the program by choosing a product, and you can skip any shipments if you don't need it. Amazon just gives you the discount on any Subscribe & Save shipment, whether or not you actually use that subscription. So if you want 10-15% off, just buy the first subscription. You can just cancel it afterwards if you don't want more.
Use the Amazon Prime Free Trial Strategically
S
Amazon offers a one month free trial of their Prime service, which includes free two-day shipping, discounted overnight and Saturday, and a bunch of other benefits. If you don't want to actually pay for the service, you can get a month for free. Just pick that month strategically. For example, pick December or November for fast, free holiday shipping. One important thing to remember is that you can get another free Amazon Prime trial every 13 months. If you always want to get free shipping during the holiday season, just stagger your free trials around that time period so you can utilize the free shipping. Personally, I think Amazon Prime is a service worth paying for, but if you don't shop a lot on Amazon it might not be as worthwhile to you. If that's the case, just use the Prime trial to your advantage and reap its benefits for free when you need them most.
Sign Up for Student Discounts
S
We love student discounts—forever. Amazon decided to join in on the fun with a program called Amazon Student. Not only can you can get free Amazon Prime for six months as part of the program, but exclusive deals and promotions. Definitely sign up for the program when you're headed off to college. It's a good way to save money when stocking up on dorm supplies.
Although not as much, moms get discounts too. If you need some diapers at 20% off, sign up for the program.
Get a Free Android App and Heavily Discounted Kindle Book Every Day
Amazon has two particularly useful daily deals: the Free App of the Day (Android) and the Kindle Daily Deal. To promote their app store, Amazon chooses one premium app to offer for free every day. The Kindle Daily Deal is similar, providing one heavily discounted book on a daily basis. If you have an Android device, the free app space is definitely worth watching. If you enjoy reading on an electronic device of some kind (as Kindle apps are available for practically everything), you'll also want to check the Kindle deals as well.
Photo by Vakhrushev Pavel (Shutterstock).
We've mentioned Amazon.com's Subscribe and Save program before. It's a great way to save money on items that you routinely buy, saving … Read…
Sales be damned, nothing saves you money like an old fashioned student discount. Here's how to continue making use of those golden markdowns… Read…
5 Rockin' Tips for Scaling PHP to 30,000 Concurrent Users Per Server [feedly]
Jonathan Block, CTO at RockThePost.com, a crowdfunding company, has written a nice set of tips for smaller sites on how to scale a service on EC2 using a small two person development team.
Their service has a typical small scale structure:
- PHP's Zend Framework 2
- Two m1.medium for web servers
- ELB to split the load
- master/slave MySQL database
- Siege for load testing
The very sensible tips that can handle 30,000 concurrent users per web server:
PRISM: The Amazingly Low Cost of Using BigData to Know More About You in Under a Minute [feedly]
There has been a lot of speculation and assumptions around whether PRISM exists and if it is cost effective. I don't know whether it exists or not, but I can tell you if it could be built.
Short answer: It can.
If you believe it would be impossible for someone with access to a social "datapool" to find out more about you (if they really want to track you down) in the tsunami of data, you need to think again.
Devices, apps and websites are transmitting data. Lots of data. The questions are could the data compiled and searched and how costly would it be to search for your targeted data. (hint: It is not $4.56 trillion).
Let's experiment and try to build PRISM by ourselves with a few assumptions:
How to adjust privacy settings in the Facebook app for iPhone and iPad [feedly]
Today on Talk Mobile the topic is social network privacy, with a particular emphasis on Facebook and employers. The question of the week is whether or not your employer should be entitled to ask for your Facebook password. Most of us will most likely say absolutely not.
That doesn't mean they can't snoop anything you haven't made private or available to only friends. That's why it's a good idea to check your Facebook privacy settings now and again. You can even do it right from the Facebook app for iPhone and iPad. Here's how:
- How to adjust privacy settings universally in Facebook for iPhone and iPad
- How to adjust privacy settings on a per post basis in Facebook for iPhone and iPad
How to adjust privacy settings universally in Facebook for iPhone and iPad
If you'd like to change who can see what you post to Facebook for everything you may post from the Facebook app, follow these directions:
- Launch the Facebook app from the Home screen of your iPhone or iPad.
- Tap the menu button in the upper left hand corner.
- Now scroll down and tap on Privacy settings.
- Tap on Privacy.
- Under the Who Can See My Stuff menu, you can drill down into each menu and choose who can see what when you post it. This will change the default setting for posts going forward.
How to adjust privacy settings on a per post basis in Facebook for iPhone and iPad
Facebook also allows you to change settings on a per post basis for when you'd like to share certain things publicly and other things privately. Doing this will only override your privacy settings on that particular post but keep the default settings for everything else.
- Launch the Facebook app from the Home screen of your iPhone or iPad.
- Go to post a status or photo like you normally would.
- Tap on the Sharing settings icon above the keyboard to the right. The icon looks like two people with a drop down triangle next to them.
- Here you can change who you'd like to view that particular post.
Our recommendation is to set default privacy settings to friends only at the bare minimum and then adjust for public posts on an as needed basis when you need to.
How do you have your Facebook privacy settings configured? Let us know in the comments and make sure you jump in the conversation on Facebook and privacy over on Talk Mobile as well!
Assign an Apple ID to a Mac User Account in OS X for Added Peace of Mind [feedly]
Many Mac users overlook a feature in OS X that allows them to attach an Apple ID to their actual user account, not just to iCloud and the App Store. It only takes a moment to set, and it provides for an incredibly simple password recovery option at the login and boot menus, allowing you to regain access to your user account and files just by entering the associated Apple ID.
Going further, Macs with multiple user accounts can assign different Apple ID's to each unique user account, or you can just choose to tie a single Apple ID to the Mac. If you do choose to attach a lone Apple ID to the Mac this way, be sure to associate it with an administrator (admin) account in OS X, that way you will be able to regain full system access in the event it's needed because the primary password has been lost.
Set Up Apple ID and Associate it with User Accounts in OS X
- Open System Preferences, found easily in the Apple menu
- Choose the "Users & Groups" panel and select your primary user account from the list
- Look under the user name to "Apple ID" and click the "Set" button
- Enter your Apple ID (the same login information as used for iTunes, App Store, and iCloud), then click "OK" to confirm it – users without Apple ID's can create one here too*
- Check the box for "Allow user to reset password using Apple ID" – this is optional, but highly recommended
* If you somehow don't have an Apple ID yet, you can set one up easily by clicking the "Create Apple ID" button. Apple ID's are now tied to just about everything, from iCloud backups and access, to App Store downloads and purchases, to iTunes and the iBookstore, so if you somehow haven't created one yet, do that now.
That optional Apple ID-based password reset feature is extremely helpful and as we mentioned, highly recommended, because it allows you to be able to reset a lost password directly from the login screen just by verifying the Apple ID details:
This is extraordinarily quick and quite simple for Mac users running Mavericks, Mountain Lion, and Lion, and it prevents the need of the more technical approaches to resetting forgotten passwords (though those will continue to work as well).
This works in OS X Mavericks, OS X Mountain Lion, and OS X Lion, the only requirement is having an active Apple ID. You will obviously need internet access to use this feature as well, since it requires the communication between Apple and the Mac to set the ID and also to be able to access the recovery benefits it offers.