{"id":4340,"date":"2015-08-26T02:20:51","date_gmt":"2015-08-26T06:20:51","guid":{"rendered":"http:\/\/nickm.com\/post\/?p=4340"},"modified":"2015-12-14T10:33:33","modified_gmt":"2015-12-14T15:33:33","slug":"paging-babel","status":"publish","type":"post","link":"https:\/\/nickm.com\/post\/2015\/08\/paging-babel\/","title":{"rendered":"Paging Babel"},"content":{"rendered":"<p>About 12 hours ago I was reading &#8220;The New Art of Making Books&#8221; by Ulises Carri\u00f3n, a text I&#8217;d read before but which I hadn&#8217;t fully considered and engaged with. As I thought about Carri\u00f3n\u2019s writing, I felt compelled to put together a short piece on the Web. That took the form of a Web page containing a rapidly-moving concrete poem. The work I devised is called <a href=\"http:\/\/nickm.com\/poems\/babel.html\">\u201cUna p\u00e1gina de Babel.\u201d<\/a><\/p>\n<div style=\"text-align:center\"><a href=\"http:\/\/nickm.com\/poems\/babel.html\"><img decoding=\"async\" src=\"http:\/\/nickm.com\/post\/wp-content\/stuff\/babel.gif\" alt=\"Screen capture of Babel\"><\/a><\/div>\n<p>Many will surely note that it is based on Jorge Luis Borges\u2019s \u201cUna biblioteca de Babel\u201d (The Library of Babel). And, I hope people are aware of some the other interesting digital projects based on this story. I have seen one from years ago on CD-ROM; one that is very nice, and available on the Web, is <a href=\"http:\/\/www.b-a-b-e-l.net\/\">Jeremiah Johnson\u2019s BABEL.<\/a> There\u2019s also the exquisite <a href=\"https:\/\/libraryofbabel.info\/\">Library of Babel by Jonathan Basile.<\/a><\/p>\n<p>My piece does not try to closely and literally implement the library that Borges described, although it does have a page that is formally like the ones in Borges\u2019s library: 80 characters wide, 40 lines long. Given this austere rectangular regularity, I assumed a typewriter-like monospace font.<\/p>\n<p>The devotion  of \u201cUna p\u00e1gina\u201d to what the text describes stops there; instead of using the 23-letter alphabet that Borges sketches to populate this 80&#215;40 grid, I use the unigram probabilities of letters in the story itself, in the Spanish text of \u201cLa biblioteca de Babel.\u201d So, for instance, the lowercase letter <i>a<\/i> occurs a bit less than 8.4% of the time, and this is the probability with which it is produced on the page. The same holds for spaces, for the letter <i>\u00f1,<\/i> and for all other glyphs; they appear on the page at random, with the same probability that they do in Borges\u2019s story. Because each letter is picked independently at random, the result does not bear much relationship to Spanish or any other human language, in which the occurrence of a glyph usually has something to do with the glyph before it (and before that, and so on).<\/p>\n<p>\u201cUna p\u00e1gina\u201d is also non-interactive. One can zoom, screenshot, copy and paste, and so on, but the program itself does not accept user input.<\/p>\n<p>I sketched the program in Python before developing it in JavaScript, and when I was done with the HTML page that includes the JavaScript program, I thought I&#8217;d make a Python version, too. But when I did, I was disappointed; the Python program isn\u2019t a page, and doesn\u2019t produce a page, and so doesn\u2019t seem to me to fit the concept, which has to be that of a page. Thus, I&#8217;m not going to release the Python program. The JavaScript version is the right one, in this case.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>About 12 hours ago I was reading &#8220;The New Art of Making Books&#8221; by Ulises Carri\u00f3n, a text I&#8217;d read before but which I hadn&#8217;t fully considered and engaged with. As I thought about Carri\u00f3n\u2019s writing, I felt compelled to put together a short piece on the Web. That took the form of a Web &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/nickm.com\/post\/2015\/08\/paging-babel\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Paging Babel&#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":[96,114,21,54,4,15,42],"class_list":["post-4340","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-conceptualism","tag-concrete","tag-constraint","tag-espanol","tag-poetry","tag-programming","tag-web"],"_links":{"self":[{"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/posts\/4340","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=4340"}],"version-history":[{"count":11,"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/posts\/4340\/revisions"}],"predecessor-version":[{"id":4385,"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/posts\/4340\/revisions\/4385"}],"wp:attachment":[{"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/media?parent=4340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/categories?post=4340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nickm.com\/post\/wp-json\/wp\/v2\/tags?post=4340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}