{"id":30,"date":"2011-03-16T04:06:00","date_gmt":"2011-03-16T04:06:00","guid":{"rendered":"http:\/\/dial-a-grue.com\/gory\/?p=30"},"modified":"2011-03-16T16:13:37","modified_gmt":"2011-03-16T16:13:37","slug":"making-the-output-ugly","status":"publish","type":"post","link":"https:\/\/dial-a-grue.com\/gory\/?p=30","title":{"rendered":"Making the output ugly"},"content":{"rendered":"<p>Part converting the code for use being fed to a TDD is to make it a long stream, rather than a pretty <em>curses(3)<\/em> based interface. This means that all the trouble the developers spent on making lines wrap cleanly, and providing vertical breaks between elements is lost.<\/p>\n<p><!--more-->So, it goes from looking like this:<\/p>\n<p><a href=\"http:\/\/dial-a-grue.com\/gory\/wp-content\/uploads\/2011\/03\/zip_orig.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-31  alignnone\" title=\"Original\" src=\"http:\/\/dial-a-grue.com\/gory\/wp-content\/uploads\/2011\/03\/zip_orig.jpg\" alt=\"\" width=\"387\" height=\"253\" srcset=\"https:\/\/dial-a-grue.com\/gory\/wp-content\/uploads\/2011\/03\/zip_orig.jpg 484w, https:\/\/dial-a-grue.com\/gory\/wp-content\/uploads\/2011\/03\/zip_orig-300x195.jpg 300w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><\/a><\/p>\n<p>Into this:<\/p>\n<p><a href=\"http:\/\/dial-a-grue.com\/gory\/wp-content\/uploads\/2011\/03\/zip_serial.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-32  alignnone\" title=\"Ugly\" src=\"http:\/\/dial-a-grue.com\/gory\/wp-content\/uploads\/2011\/03\/zip_serial.jpg\" alt=\"\" width=\"387\" height=\"253\" srcset=\"https:\/\/dial-a-grue.com\/gory\/wp-content\/uploads\/2011\/03\/zip_serial.jpg 484w, https:\/\/dial-a-grue.com\/gory\/wp-content\/uploads\/2011\/03\/zip_serial-300x195.jpg 300w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><\/a><\/p>\n<p>In the process, we also lose the status bar, and it looks a lot less readable. \u00c2\u00a0However, it looks like it might actually be streaming.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Part converting the code for use being fed to a TDD is to make it a long stream, rather than a pretty curses(3) based interface. This means that all the trouble the developers spent on making lines wrap cleanly, and providing vertical breaks between elements is lost.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,8],"tags":[],"class_list":["post-30","post","type-post","status-publish","format-standard","hentry","category-brains","category-wetwork"],"_links":{"self":[{"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=30"}],"version-history":[{"count":0,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions"}],"wp:attachment":[{"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}