<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7566013886263857272</id><updated>2012-03-14T05:52:05.240-07:00</updated><category term='primality'/><category term='primes'/><category term='algorithms'/><category term='number theory'/><title type='text'>Adam Fisher</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.adamgfisher.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7566013886263857272/posts/default'/><link rel='alternate' type='text/html' href='http://blog.adamgfisher.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7566013886263857272.post-4567498928993625315</id><published>2012-02-11T18:33:00.000-08:00</published><updated>2012-02-11T18:34:46.977-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='algorithms'/><category scheme='http://www.blogger.com/atom/ns#' term='primes'/><category scheme='http://www.blogger.com/atom/ns#' term='number theory'/><category scheme='http://www.blogger.com/atom/ns#' term='primality'/><title type='text'>All Primes Below 10 Million</title><content type='html'>Using the &lt;a href="http://goo.gl/U3Bna"&gt;Sieve of&amp;nbsp;Eratosthenes&lt;/a&gt;, I found all primes below 100 million in one minute and 49 seconds. This is mainly a reference for myself but others may find it useful.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;&lt;a href="http://www.mediafire.com/file/jgc7548lxhfsi82/primes.txt"&gt;Download primes.txt&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7566013886263857272-4567498928993625315?l=blog.adamgfisher.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7566013886263857272/posts/default/4567498928993625315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7566013886263857272/posts/default/4567498928993625315'/><link rel='alternate' type='text/html' href='http://blog.adamgfisher.com/2012/02/all-primes-below-10-million.html' title='All Primes Below 10 Million'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7566013886263857272.post-4034283539264016712</id><published>2011-12-27T09:03:00.001-08:00</published><updated>2011-12-27T09:03:35.936-08:00</updated><title type='text'>The Power of Compounding</title><content type='html'>&lt;br /&gt;&lt;div style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;"&gt;Regardless of your age or situation, time is on your side. Compound interest is the snowballing effect that happens when your dividends and capital gains also generate earnings. Essentially you are making money off of money you already earned in the form of interest.&lt;/div&gt;&lt;div style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;"&gt;Let’s say you made a hypothetical investment of $10,000 in a low cost index fund that returned 8% per year on average. If you sold your shares one year from purchase, you would have $10,800. Compounding happens when you keep your shares invested and reinvest any capital gains and dividends you may have earned (in this case $800).&lt;/div&gt;&lt;div style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;"&gt;At the beginning of year two, you have $10,800 still faithfully stashed away in your index fund. When you check it again around Christmas time, you notice… an $864 return! Your fund has reached $11,664 ($10,800 reinvested + $864 in interest earned). Notice your interest for year two was large than year one? That’s the power of compounding. Your earnings from a previous year also gain additional interest.&lt;/div&gt;&lt;div style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;"&gt;The sooner you start saving, the more significant the effects of compounding can be on your savings. Even if you can only will yourself to save just a dollar a day, the accompanying chart shows how much you could have saved w&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7566013886263857272-4034283539264016712?l=blog.adamgfisher.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.adamgfisher.com/feeds/4034283539264016712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.adamgfisher.com/2011/12/power-of-compounding.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7566013886263857272/posts/default/4034283539264016712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7566013886263857272/posts/default/4034283539264016712'/><link rel='alternate' type='text/html' href='http://blog.adamgfisher.com/2011/12/power-of-compounding.html' title='The Power of Compounding'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7566013886263857272.post-4736850318820831301</id><published>2011-12-27T08:54:00.001-08:00</published><updated>2011-12-27T09:07:24.294-08:00</updated><title type='text'>AWS Cloud Outage Causes Misunderstanding</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/-lojgrIZMGdo/Tvn7Qp1_gcI/AAAAAAAAAJo/UE8SXDVVL2E/s1600/Amazon-Cloud-Computing-Logo-300x109%255B1%255D.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="72" src="http://2.bp.blogspot.com/-lojgrIZMGdo/Tvn7Qp1_gcI/AAAAAAAAAJo/UE8SXDVVL2E/s200/Amazon-Cloud-Computing-Logo-300x109%255B1%255D.png" width="200" /&gt;&lt;/a&gt;Amazon Web Services (AWS) went down early Thursday morning, placing hundreds of sites offline. Amazon engineers kept the world updated on their progress as they restored service over 30 hours after it went down. Several popular sites like Reddit, Foursquare, and Netflix rely on Amazon’s infrastructure to power all or a portion of their services.  Amazon’s downtime presents a perfect opportunity to clarify what may be a grey area when people think about public cloud providers. When people think of Cloud, they think of accessibility, availability, and scalability. Did Amazon Web Services break the core philosophy of cloud? Let’s take a look.  The National Institute of Standards and Technology (NIST) provided this definition: &lt;br /&gt;&lt;blockquote&gt;&lt;em&gt;“Cloud computing is a model for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction.”&lt;/em&gt;&lt;/blockquote&gt;A traditional hosting model stipulates that you buy a specific resource (like 10 GB of web hosting) for a fixed price ($5.00 per month). Under the traditional model, you pay the full $5.00 even if you only end up using 2 GB of space. Cloud computing offers a variant on this model: pay only for the resources you actually use. The definition above says nothing about availability. &lt;br /&gt;&lt;h3&gt; &lt;strong&gt;False Sense of Availability&lt;/strong&gt;&lt;/h3&gt;Amazon has baked redundancy into many of their products including Amazon S3 and Amazon SDB. They even advertise a reduced redundancy option for S3 (which is still redundant but less so) and you pay less for it. Now, if Amazon S3 went down for an entire day, that doesn’t mean it wasn’t &lt;em&gt;&lt;span style="text-decoration: underline;"&gt;redundant&lt;/span&gt;&lt;/em&gt;. Your data is still safe against hardware corruption and failures. It means the service was &lt;em&gt;&lt;span style="text-decoration: underline;"&gt;unavailable&lt;/span&gt;&lt;/em&gt;.  I’ll be the first to admit I sort of merged the two features together in my mind when I first looked into using Amazon’s cloud. I thought cloud meant availability at all times. But if you take a look at their site, they state that EC2 is guaranteed to be available 99.95% of the time. Amazon did not violate their service level agreement (SLA) when this outage occurred. &lt;br /&gt;&lt;h3&gt; &lt;strong&gt;Cloud Does Not Promise Availability Unless You Pay&lt;/strong&gt;&lt;/h3&gt;At the end of the day, a piece of commodity hardware with a virtualization layer is plugged into the same physical world every other hosting provider has to abide by. Cloud is just as susceptible to natural disasters and storms like any traditional provider.  Any Amazon customer who experienced an outage could have chosen to mirror their configuration in other availability zones. Their risk analysis probably concluded that the cost of a single availability zone improved their bottom line more than a short outage would hurt it. Amazon offers the capability to replicate servers across many regions, but you have to be willing to pay for it. The same is true in a traditional data center. Redundancy and availability cost money.  I think availability is a service level agreement (SLA) issue and is different from the definition of what Cloud stands for. Cloud is a paradigm that describes how we consume resources (compute, storage, or services) on demand. That idea says nothing about the guaranteed service level it provides (other than the nearly instantaneous elasticity of resources) otherwise everyone would be operating under a universal SLA to satisfy the definition of what a cloud should be. What are your thoughts?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7566013886263857272-4736850318820831301?l=blog.adamgfisher.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.adamgfisher.com/feeds/4736850318820831301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.adamgfisher.com/2011/12/aws-cloud-outage-causes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7566013886263857272/posts/default/4736850318820831301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7566013886263857272/posts/default/4736850318820831301'/><link rel='alternate' type='text/html' href='http://blog.adamgfisher.com/2011/12/aws-cloud-outage-causes.html' title='AWS Cloud Outage Causes Misunderstanding'/><author><name>Adam</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-lojgrIZMGdo/Tvn7Qp1_gcI/AAAAAAAAAJo/UE8SXDVVL2E/s72-c/Amazon-Cloud-Computing-Logo-300x109%255B1%255D.png' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
