{"id":388,"date":"2019-08-21T22:17:34","date_gmt":"2019-08-22T02:17:34","guid":{"rendered":"http:\/\/dc540.org\/xxx\/?p=388"},"modified":"2019-08-21T22:18:36","modified_gmt":"2019-08-22T02:18:36","slug":"wopr-jr-part-2-dad-youre-so-extra","status":"publish","type":"post","link":"https:\/\/dc540.org\/xxx\/2019\/08\/wopr-jr-part-2-dad-youre-so-extra\/","title":{"rendered":"WOPR Jr, Part 2: &#8220;Dad, you&#8217;re so extra.&#8221;"},"content":{"rendered":"\n<p>Because what good is doing something if you&#8217;re not pushing the envelope?  <\/p>\n\n\n\n<p><strong>Controlling the NUC Hades Canyon Skull LED from Ubuntu<\/strong><\/p>\n\n\n\n<p>I initially found a set of libraries and got excited about it, but they didn&#8217;t work &#8212; then I came upon<a href=\"https:\/\/github.com\/milesp20\/intel_nuc_led\/issues\/13\"> this write-up<\/a>, which indicated that a rewrite was needed for the Hades Canyon &#8212; and lo, there it was.  With some handy code to help understand the awkward method of setting skull and eye colors and making things blinky.<\/p>\n\n\n\n<p>To come: let&#8217;s use those eyes to trigger visual feedback for events&#8230;  Or maybe blink morse code clues during a challenge, see if anyone notices&#8230;<\/p>\n\n\n\n<p><strong>Speaking of triggering&#8230;<\/strong><\/p>\n\n\n\n<p>You know, VMs can be precarious, and the last thing you want to do is shut down a machine that&#8217;s running a bunch of VMs.  So maybe let&#8217;s take advantage of some of this amazing computing power, and, for example, use udev to trigger a startup of all VMs (in order, of course) when a particular usb key is installed; also to trigger a shutdown of the same VMs (and perhaps the entire machine!) when the key is pulled&#8230; complete with windows on the screen confirming what&#8217;s going on.<\/p>\n\n\n\n<p>Or maybe adapting a bluetooth camera remote to do the same thing.  Anything to not have to physically log in to initiate a shutdown script, right?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Because what good is doing something if you&#8217;re not pushing the envelope? Controlling the NUC Hades Canyon Skull LED from Ubuntu I initially found a set of libraries and got &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/dc540.org\/xxx\/2019\/08\/wopr-jr-part-2-dad-youre-so-extra\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;WOPR Jr, Part 2: &#8220;Dad, you&#8217;re so extra.&#8221;&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-388","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/posts\/388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/comments?post=388"}],"version-history":[{"count":2,"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/posts\/388\/revisions"}],"predecessor-version":[{"id":390,"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/posts\/388\/revisions\/390"}],"wp:attachment":[{"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/media?parent=388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/categories?post=388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/tags?post=388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}