{"id":166,"date":"2020-03-15T19:47:51","date_gmt":"2020-03-15T23:47:51","guid":{"rendered":"https:\/\/www.ciulla.org\/blog\/?p=166"},"modified":"2022-02-07T12:40:31","modified_gmt":"2022-02-07T17:40:31","slug":"the-power-of-binary","status":"publish","type":"post","link":"https:\/\/www.ciulla.org\/blog\/2020\/03\/15\/the-power-of-binary\/","title":{"rendered":"The Power of Binary&#8230;"},"content":{"rendered":"<p>Ever hear about the &#8220;wheat and chessboard&#8221; problem?<\/p>\n<p>Take a grain of wheat and put it on a square of a chessboard. Put two grains on the next square. Put four grains on the next square&#8230; And so on until you&#8217;ve covered the entire 8&#215;8 grid with grains of wheat.<\/p>\n<p>How many grains of wheat do you have at the end?<\/p>\n<p>2^64 -1 grains of wheat.<\/p>\n<p>That is what we call in the IT world, &#8220;a shit ton.&#8221;<\/p>\n<p>But first, a digression&#8230;<\/p>\n<p>Bill Gate&#8217;s net worth is something like $102 Billion. $102,000,000,000, or $1.02&#215;10^11 in scientific notation.<\/p>\n<p>Big number, yeah?<\/p>\n<p>I hear you asking, &#8220;How many grains of wheat is that in scientific notation?&#8221;<\/p>\n<p>Excellent question: that&#8217;d be 1.844674407&#215;10^19 grains of wheat in scientific notation.<\/p>\n<p>So, there&#8217;s 8 *orders of magnitude* &#8212; a billion times &#8212; more grains of wheat than the number of dollars in Bill Gate&#8217;s rather large piggy bank. It&#8217;s a whopping big number.<\/p>\n<p>COVID-19 has an R0, the basic reproduction number, of between 1.4 and 3.9. For argument&#8217;s sake, let&#8217;s make that a nice, even 2. This means, for each person infected, they&#8217;ll infect two more.<\/p>\n<p>So, the first person to get it &#8212; Patient Zero &#8212; infects two more. Those two more infect four more. Four more infect eight more&#8230;<\/p>\n<p>It can take up to two weeks for someone sloughing off viral laden bio-hazards to begin to show symptoms.<\/p>\n<p>Patient Zero infects two on day two (and doesn&#8217;t infect anyone else for the remainder of the outbreak), on day 14, our &#8220;grains of wheat&#8221; have exposed 2^14 -1 other grains of wheat to COVID-19, or 16,383 people. Our first guy is just *just now* beginning to show symptoms&#8230;<\/p>\n<p>As of Friday, 13 Mar 2020, we have 1,629 confirmed cases of COVID-19.<\/p>\n<p>That&#8217;s between 2 ^ 11 and 2 ^ 12.<\/p>\n<p>If all these poor people have the SAME Patient Zero, and if my math&#8217;s right, that means we&#8217;re somewhere around day 12 or 13&#8230;<\/p>\n<p>Unfortunately, we&#8217;re not that lucky.<\/p>\n<p>Remember, the vast majority of the people exposed won&#8217;t show symptoms (that is, they&#8217;re asymptomatic).<\/p>\n<p>Aside from hand washing and not touching your face, social isolation is the best way to prevent the further spread of a pandemic.<\/p>\n<p>So, stay home, have a beer, and quit hoarding toilet paper.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever hear about the &#8220;wheat and chessboard&#8221; problem? Take a grain of wheat and put it on a square of a chessboard. Put two grains on the next square. Put four grains on the next square&#8230; And so on until &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/www.ciulla.org\/blog\/2020\/03\/15\/the-power-of-binary\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[8,7],"class_list":["post-166","post","type-post","status-publish","format-standard","hentry","category-geek","tag-covid","tag-covid-19"],"_links":{"self":[{"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/posts\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/comments?post=166"}],"version-history":[{"count":2,"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/posts\/166\/revisions"}],"predecessor-version":[{"id":172,"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/posts\/166\/revisions\/172"}],"wp:attachment":[{"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/media?parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/categories?post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ciulla.org\/blog\/wp-json\/wp\/v2\/tags?post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}