{"id":1737,"date":"2016-01-09T05:00:02","date_gmt":"2016-01-09T13:00:02","guid":{"rendered":"http:\/\/zackmdavis.net\/blog\/?p=1737"},"modified":"2016-01-03T23:47:47","modified_gmt":"2016-01-04T07:47:47","slug":"todo-i","status":"publish","type":"post","link":"http:\/\/zackmdavis.net\/blog\/2016\/01\/todo-i\/","title":{"rendered":"TODO I"},"content":{"rendered":"<pre><code>    let path = Path::new(&quot;\/proc\/meminfo&quot;);\r\n    let proc_meminfo = match File::open(path) {\r\n        Ok(f) =&gt; f,\r\n        Err(e) =&gt; {\r\n            println!(&quot;Error: {:?}&quot;, e);\r\n            \/\/ TODO: be kinder to our friends still under Cupertino&#39;s rule\r\n            moral_panic!(&quot;couldn&#39;t read \/proc\/meminfo?! It is possible \\\r\n                          that you are struggling with an inferior nonfree \\\r\n                          operating system forced on you by your masters in \\\r\n                          Cupertino or Redmond&quot;);\r\n        }\r\n    };<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>let path = Path::new(&quot;\/proc\/meminfo&quot;); let proc_meminfo = match File::open(path) { Ok(f) =&gt; f, Err(e) =&gt; { println!(&quot;Error: {:?}&quot;, e); \/\/ TODO: be kinder to our friends still under Cupertino&#39;s rule moral_panic!(&quot;couldn&#39;t read \/proc\/meminfo?! It is possible \\ that you are &hellip; <a href=\"http:\/\/zackmdavis.net\/blog\/2016\/01\/todo-i\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[75],"_links":{"self":[{"href":"http:\/\/zackmdavis.net\/blog\/wp-json\/wp\/v2\/posts\/1737"}],"collection":[{"href":"http:\/\/zackmdavis.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zackmdavis.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zackmdavis.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/zackmdavis.net\/blog\/wp-json\/wp\/v2\/comments?post=1737"}],"version-history":[{"count":1,"href":"http:\/\/zackmdavis.net\/blog\/wp-json\/wp\/v2\/posts\/1737\/revisions"}],"predecessor-version":[{"id":1738,"href":"http:\/\/zackmdavis.net\/blog\/wp-json\/wp\/v2\/posts\/1737\/revisions\/1738"}],"wp:attachment":[{"href":"http:\/\/zackmdavis.net\/blog\/wp-json\/wp\/v2\/media?parent=1737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zackmdavis.net\/blog\/wp-json\/wp\/v2\/categories?post=1737"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zackmdavis.net\/blog\/wp-json\/wp\/v2\/tags?post=1737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}