{"id":3704,"date":"2016-04-30T14:38:29","date_gmt":"2016-04-30T20:38:29","guid":{"rendered":"http:\/\/www.contrapositivediary.com\/?p=3704"},"modified":"2016-04-30T14:41:11","modified_gmt":"2016-04-30T20:41:11","slug":"what-coding-starvation-does-to-you","status":"publish","type":"post","link":"http:\/\/www.contrapositivediary.com\/?p=3704","title":{"rendered":"What Coding Starvation Does to You"},"content":{"rendered":"<p>I haven&#8217;t done any programming in so long I&#8217;m starting to hallucinate. Here is today&#8217;s hallucination. Lor&#8217; help me, I would have written the whole thing if I hadn&#8217;t already read somewhere that counting syllables in arbitrary words is hard.<\/p>\n<p><\/p>\n<pre>\nOpen Dictionary text file; \nCreate new output text file;<br\/><br\/>WHILE NOT EOF(Dictionary) DO <br\/>  BEGIN <br\/>    REPEAT <br\/>      Readln(Dictionary,WordEntry) <br\/>    UNTIL WordIsNoun(WordEntry); <br\/>    ParseOutWord(WordEntry,WordItself); <br\/>    If CountSyllables(WordItself) = 1 THEN <br\/>      BEGIN <br\/>        Capitalize(WordItself); <br\/>        Writeln(OutputFile, WordItself+'y Mc'+ <br\/>                WordItself+'face') <br\/>      END <br\/>  END;<br\/><br\/>Close dictionary file; <br\/>Close output file;<br\/><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I haven&#8217;t done any programming in so long I&#8217;m starting to hallucinate. Here is today&#8217;s hallucination. Lor&#8217; help me, I would have written the whole thing if I hadn&#8217;t already read somewhere that counting syllables in arbitrary words is hard. Open Dictionary text file; Create new output text file;WHILE NOT EOF(Dictionary) DO BEGIN REPEAT Readln(Dictionary,WordEntry) [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[90,32],"class_list":["post-3704","post","type-post","status-publish","format-standard","hentry","category-noneoftheabove","tag-pascal","tag-programming"],"_links":{"self":[{"href":"http:\/\/www.contrapositivediary.com\/index.php?rest_route=\/wp\/v2\/posts\/3704","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.contrapositivediary.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.contrapositivediary.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.contrapositivediary.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.contrapositivediary.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3704"}],"version-history":[{"count":3,"href":"http:\/\/www.contrapositivediary.com\/index.php?rest_route=\/wp\/v2\/posts\/3704\/revisions"}],"predecessor-version":[{"id":3707,"href":"http:\/\/www.contrapositivediary.com\/index.php?rest_route=\/wp\/v2\/posts\/3704\/revisions\/3707"}],"wp:attachment":[{"href":"http:\/\/www.contrapositivediary.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.contrapositivediary.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3704"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.contrapositivediary.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}