{"id":35,"date":"2012-01-01T22:11:57","date_gmt":"2012-01-02T05:11:57","guid":{"rendered":"https:\/\/www.alexkorn.com\/blog\/?p=35"},"modified":"2012-11-07T11:03:46","modified_gmt":"2012-11-07T18:03:46","slug":"this-is-how-quickly-we-give-up-on-resolutions","status":"publish","type":"post","link":"https:\/\/www.alexkorn.com\/blog\/2012\/01\/this-is-how-quickly-we-give-up-on-resolutions\/","title":{"rendered":"This is how quickly we give up on resolutions"},"content":{"rendered":"<p>\nOn Facebook today, I noticed one of my friends posted a picture with the label &#8220;1\/365&#8221;. Like other people, she&#8217;s attempting to post one picture every day of the year. An admirable goal!\n<\/p>\n<p>\nThis got me thinking: I wonder how long it takes most people to give up on resolutions? Well, the best (read: easiest and cheapest) way to figure this out is to see how many Google results there are for &#8220;1\/365&#8221;, &#8220;2\/365&#8221;, etc.\n<\/p>\n<p>\nThis is how quickly we give up on our resolutions<a href=\"#disclaimer\">*<\/a>:<br \/>\n<a href=\"https:\/\/www.alexkorn.com\/blog\/wp-content\/uploads\/2012\/01\/resolutions2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.alexkorn.com\/blog\/wp-content\/uploads\/2012\/01\/resolutions2.png\" alt=\"\" title=\"Resolutions\" width=\"541\" height=\"430\" class=\"alignnone size-full wp-image-40\" srcset=\"https:\/\/www.alexkorn.com\/blog\/wp-content\/uploads\/2012\/01\/resolutions2.png 541w, https:\/\/www.alexkorn.com\/blog\/wp-content\/uploads\/2012\/01\/resolutions2-300x238.png 300w\" sizes=\"auto, (max-width: 541px) 100vw, 541px\" \/><\/a>\n<\/p>\n<p>\nIt appears most people give up after the first week, and the vast majority give up after the first month or two. But if they stick with it for the first 10 months or so, they&#8217;re talking about it a lot until the end of the year.\n<\/p>\n<h2>The technical details<\/h2>\n<p>\nFirst off, <a href=\"http:\/\/blog.xkcd.com\/2011\/02\/04\/trochee-chart\/\">Google&#8217;s estimates of how many results a query has are grossly exaggerated<\/a> (<a href=\"https:\/\/twitter.com\/#!\/Roguelazer\/status\/153706247294681088\">thanks, James<\/a>). The chart above uses <a href=\"http:\/\/azich.org\/google\/\">Andrew Zich&#8217;s Google Search Matrix<\/a>.\n<\/p>\n<p>\nI had to remove some outliers, which I set to be the average of up to 3 days on either side of them.\n<\/p>\n<ul>\n<li>&#8220;7\/365&#8221;: 719k (mostly in the form of &#8220;24\/7\/365&#8221;)<\/li>\n<li>&#8220;364\/365&#8221;: 1.8m (apparently a lot of sites just have numbers in sequence)<\/li>\n<\/ul>\n<p>\nBelow is the PHP script I used to generate the numbers initially. Note that the Google homepage (and thus the text around the number of results) looks different when you aren&#8217;t logged in.\n<\/p>\n<pre lang=\"php\">\r\necho '<html><table>';\r\n\r\n$matches;\r\nfor ($i = 1; $i <= 365; ++$i)\r\n{\r\n    $url = 'http:\/\/www.google.com\/search?q=' . urlencode('\"' . $i . '\/365\"');\r\n    $result = file_get_contents($url);\r\n\r\n    preg_match('\/of about <b>(.*)<\\\/b> for\/', $result, $matches);\r\n\r\n    echo '<tr><td>' . $i . '<\/td><td>' . str_replace(',', '', $matches[1]) . '<\/td><\/tr>';\r\n}\r\necho '<\/table><\/html>';\r\n<\/pre>\n<p>\nHere is the chart created with the numbers that Google estimates on the first page of results:<br \/>\n<a href=\"https:\/\/www.alexkorn.com\/blog\/wp-content\/uploads\/2012\/01\/resolutions.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.alexkorn.com\/blog\/wp-content\/uploads\/2012\/01\/resolutions.png\" alt=\"\" title=\"Resolutions\" width=\"642\" height=\"506\" class=\"alignnone size-full wp-image-37\" srcset=\"https:\/\/www.alexkorn.com\/blog\/wp-content\/uploads\/2012\/01\/resolutions.png 642w, https:\/\/www.alexkorn.com\/blog\/wp-content\/uploads\/2012\/01\/resolutions-300x236.png 300w\" sizes=\"auto, (max-width: 642px) 100vw, 642px\" \/><\/a>\n<\/p>\n<p>\nThe general shape of the data is the same, but the actual numbers of results are very different between the two.\n<\/p>\n<p><a name=\"disclaimer\"><\/a><\/p>\n<h2>The disclaimer<\/h2>\n<p>\nOh man, this is so unscientific it almost hurts. Just because someone stops posting about their resolutions doesn&#8217;t mean they&#8217;ve given up. Not everyone who&#8217;s come up with a resolution posts about it online. Etc etc etc. I sacrificed a lot of scientific rigor to come up with a catchy title.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>On Facebook today, I noticed one of my friends posted a picture with the label &#8220;1\/365&#8221;. Like other people, she&#8217;s attempting to post one picture every day of the year. An admirable goal! This got me thinking: I wonder how long it takes most people to give up on resolutions? Well, the best (read: easiest [&hellip;]<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6],"class_list":["post-35","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-php"],"_links":{"self":[{"href":"https:\/\/www.alexkorn.com\/blog\/wp-json\/wp\/v2\/posts\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.alexkorn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.alexkorn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.alexkorn.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.alexkorn.com\/blog\/wp-json\/wp\/v2\/comments?post=35"}],"version-history":[{"count":0,"href":"https:\/\/www.alexkorn.com\/blog\/wp-json\/wp\/v2\/posts\/35\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.alexkorn.com\/blog\/wp-json\/wp\/v2\/media?parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.alexkorn.com\/blog\/wp-json\/wp\/v2\/categories?post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.alexkorn.com\/blog\/wp-json\/wp\/v2\/tags?post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}