{"id":1123,"date":"2010-09-22T07:36:53","date_gmt":"2010-09-22T11:36:53","guid":{"rendered":"http:\/\/nickm.com\/post\/?p=1123"},"modified":"2010-09-22T07:36:53","modified_gmt":"2010-09-22T11:36:53","slug":"a-deterministic-ppg256","status":"publish","type":"post","link":"https:\/\/nickm.com\/post\/2010\/09\/a-deterministic-ppg256\/","title":{"rendered":"A Deterministic ppg256"},"content":{"rendered":"<p>Last night I premiered ppg256-6 in Bergen, Norway:<\/p>\n<blockquote><p><tt>perl -le '@d=split\/ \/,\"eros won to tree for fire sex sever ate nice tin elfin wealth\";@t=split\/\/,\"_bhlmnpstw\";{$_=localtime;\/(..):(.)(.):(.)(.)\/;print\"\\n$t[$3]\".($4%2).\"ck $t[$4]\".($3%2).\"ck\\n\"if!$5;print\"\\\\\"x$5.\" $d[$1%12] $d[$2] $d[$3] $d[$4] $d[$5]\";sleep 1;redo}'<\/tt><\/p><\/blockquote>\n<p>This is the latest in my <a href=\"http:\/\/nickm.com\/poems\/ppg256.html\">series of 256-character poetry generators written in Perl.<\/a> An unusual feature of this one is that it is deterministic: If run at the same time, it will produce the same output. Those who run Windows should check <a href=\"http:\/\/nickm.com\/poems\/ppg256.html\">the ppg256 page<\/a> for a .pl file that will run on that OS, on ActivePerl.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last night I premiered ppg256-6 in Bergen, Norway: perl -le &#8216;@d=split\/ \/,&#8221;eros won to tree for fire sex sever ate nice tin elfin wealth&#8221;;@t=split\/\/,&#8221;_bhlmnpstw&#8221;;{$_=localtime;\/(..):(.)(.):(.)(.)\/;print&#8221;\\n$t[$3]&#8221;.($4%2).&#8221;ck $t[$4]&#8221;.($3%2).&#8221;ck\\n&#8221;if!$5;print&#8221;\\\\&#8221;x$5.&#8221; $d[$1%12] $d[$2] $d[$3] $d[$4] $d[$5]&#8221;;sleep 1;redo}&#8217; This is the latest in my series of 256-character poetry generators written in Perl. An unusual feature of this one is that it is &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/nickm.com\/post\/2010\/09\/a-deterministic-ppg256\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;A Deterministic ppg256&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[21,17,4,15],"class_list":["post-1123","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-constraint","tag-digital","tag-poetry","tag-programming"],"_links":{"self":[{"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/posts\/1123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/comments?post=1123"}],"version-history":[{"count":4,"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/posts\/1123\/revisions"}],"predecessor-version":[{"id":1127,"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/posts\/1123\/revisions\/1127"}],"wp:attachment":[{"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/media?parent=1123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/categories?post=1123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/tags?post=1123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}