{"id":16335,"date":"2016-11-10T14:52:52","date_gmt":"2016-11-10T19:52:52","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=16335"},"modified":"2016-11-10T15:50:37","modified_gmt":"2016-11-10T20:50:37","slug":"the-best-confirmation-button-ever","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2016\/11\/10\/the-best-confirmation-button-ever\/","title":{"rendered":"The Best Confirmation Button Ever"},"content":{"rendered":"<p><a href=\"https:\/\/twitter.com\/kylebarrow\/status\/788643495896416257\">Kyle Barrow<\/a> shows a button from backup app <a href=\"https:\/\/bombich.com\">Carbon Copy Cloner<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/kylebarrow\/status\/788643495896416257\"><p>OK, I will jiggle the mouse every 20 seconds or so to keep the system awake<\/p><\/blockquote>\n<p>There are actually <a href=\"http:\/\/www.amazon.com\/dp\/B00MTZY7Y4\/?tag=michaeltsai-20\">hardware mouse jigglers<\/a> that can do this for you, although it looks like the same goal can be accomplished via <a href=\"https:\/\/twitter.com\/Orkoden\/status\/788664895692804096\">software<\/a> <a href=\"http:\/\/mjtsai.com\/blog\/2012\/08\/04\/power-assertions\/\">power assertions<\/a>.<\/p>\n<p><a href=\"https:\/\/twitter.com\/bombichsoftware\/status\/788736291986898944\">Bombich<\/a> <a href=\"https:\/\/twitter.com\/bombichsoftware\/status\/788736453190836225\">Software<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/bombichsoftware\/status\/788736291986898944\"><p>You&rsquo;re right. I hadn&rsquo;t considered using a DeclareUserActivity sleep assertion because it isn&rsquo;t be appropriate for backup tasks, but<\/p><\/blockquote>\n<blockquote cite=\"https:\/\/twitter.com\/bombichsoftware\/status\/788736453190836225\"><p>yeah, that&rsquo;s the right use here, and it&rsquo;s a supported mechanism. I&rsquo;ll take a look at that for the next update, thanks!<\/p><\/blockquote>\n<p>Update (2016-11-10): See also <a href=\"https:\/\/developer.apple.com\/library\/content\/documentation\/Performance\/Conceptual\/power_efficiency_guidelines_osx\/PrioritizeWorkAtTheAppLevel.html\">Energy Efficiency Guide<\/a> and <a href=\"https:\/\/developer.apple.com\/library\/content\/qa\/qa1340\/_index.html\">QA1340<\/a> (via <a href=\"https:\/\/twitter.com\/McCloudStrife\/status\/796816582252982272\">McCloudStrife<\/a>).<\/p>","protected":false},"excerpt":{"rendered":"<p>Kyle Barrow shows a button from backup app Carbon Copy Cloner: OK, I will jiggle the mouse every 20 seconds or so to keep the system awake There are actually hardware mouse jigglers that can do this for you, although it looks like the same goal can be accomplished via software power assertions. Bombich Software: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[28,1439,30,32,1381],"class_list":["post-16335","post","type-post","status-publish","format-standard","hentry","category-technology","tag-batterylife","tag-carbon-copy-cloner","tag-mac","tag-macapp","tag-macos-10-12"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/16335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=16335"}],"version-history":[{"count":3,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/16335\/revisions"}],"predecessor-version":[{"id":16341,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/16335\/revisions\/16341"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=16335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=16335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=16335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}