github twitter linkedin email
Borge, The Library of Babel & Originality.
Dec 26, 2021
3 minutes read

I have always imagined that paradise will be a kind of library — Jorge Luis Borges

Image

Recently, during one of my recurring adventures down internet rabbit holes, I discovered the library of babel. I think it’s super cool. I am fascinated by it, I mean, I’m writing a post about it.

TLDR; The library of babel contains every single book, song, written stuff that exists and could ever possibly exist.

Borge

Jorge Luis Borges was an Argentine author who wrote short stories. Mystical is the word I would use If I were to describe Borges style of writing. This article by BBC aptly describes reading the work of Jorge Luis Borges for the first time to discovering a new letter in the alphabet, or a new note in the musical scale.

La Biblioteca de Babel off Borges 1941 collection The Garden of Branching Paths is one of his best-known pieces. The first paragraph of La Biblioteca de Babel describes the arrangement of the hexagons that make up the universe(which others call the Library).

Although the idea of the library of babel was popularised by Borge, In his “The Garden of Branching Paths” collection, He pointed his readers to an earlier essay that made mention of the library.

The Library of Babel

jonathan basile, a programmer created a digital library based on the ideas from Borges la biblioteca de babel. the library contains every possible combination of lower case english alphabets along side , and .

No really, No kidding. The above paragraph can be found on Page 4, Volume 21 on Shelf 4 of Wall 3 of the library using this hex. How cool is that? You can mess around with it and try to search for your full name.

The Library is built to search for any set of 3200 characters at once. Micheal Stevens of the Vsauce youtube channel, made mention of the fact that the library has 10^5000 different pages & there are about 10^80 atoms in the universe. Mind-blowing stuff.

The Library is organised into hexagon-shaped rooms, with four walls of book. Each wall contains 5 shelves with 32 volumes with 410 pages each. It is arranged in a pseudo-random fashion. The library is based on permutations. Each page is given a sequential base number in base 10. Basile developed an algorithm to use a seed, the page number to generate a random but unique sequence of numbers in base 10. The randomly generated sequence in base 10 is then converted to base 29 so it can be represented using all the letters of the English alphabet, the comma, space and period. This process can be reversed. The content of a page can be converted to base10, given as the input of the algorithm and the output is the page number.

Although in Borges original work, 22 letters were used, Basile’s algorithm uses different alphabets as the basis for the iterations done on the digital library.

Originality

[Is there anything new? …….]

Conclusion

The logic behind the library of babel can get pretty confusing. There are certain technical details of the library I am yet to fully understand. I hope to write another post discussing the technicalities of the library on a deeper level when I have gathered sufficient knowledge. To help you understand the library of babel here are some great resources that could help get you started.

HEX

248cb0zeb1ze9pkolcqfqlkng1klmy82jjrszewy4m6ghz1yuzfdgrzlvo9dy9yyb820bqw33mfeh1vun21b4q9h724hg5aqpyl1td72ufjq0a21x46v2shk7qhp2ey4a8sqaf0be0r8kd2h4bu3gozc8fhlu1g5vowtmecpvzi2vz60gcyrn66hn9koe8uu21h8ow4pczvk8krtungxmwgu4r7arqwfzlo5l9xnv8yn55o9zvjq352xckh80a1v07y63rv5chrzlvj0kscy700wsif8tv0pg0o1km1qehmxhhwt1bm8j30smr3qmdmy1gxiymyiaxoqwbzplps9zadipptuh8x78l7dtq67vg88cdoe48alvgl8bdmd90f209uh08rdk8yotip6yh6quu10kivwlprbt5yh5iv0o3ugfwggnzmd8wrj3j1ahgsnxx0f9dt29dy9gvw5a5i1oiznbhyhxuymf4tshivztgk7kvub5yxipnvttcalcw5fz1pxf3ytmkpn8xftgyaxnul9wpry9xuh7r4a8duyifpxqeu0ej7yuqrj25e4jtjjou5jzywsx17vdhpk4r2qcrhhour8bol90k6x4i8dsvn84fsfxq09nlnibtugr5o4jpwfsmm416ycc7g8i2x7qefq8o7r14nbhoplkqj0lqsiyzv85z667gsjw50i5hogkmzsbavu21n14tmy8ivieerxqutaqek3tmygbo6jg7k1q0mgx3czobg4qawovyscdabppfvr2xlr3f2q6h2w12ze63t3br6ojmadbeuiir54yex69gw2yrfpkkepjh7gsyjxt7swyz5q2zw9qkm6c03amcyifr6494801vwqtbl092e600zlf6pv2jk9cpes0kaspw5bvvsgh96lxjrmx86ibdlmp0xoh2stalbrih3btvwm4f32fnykqkxqlt2yeqa1he8ytm60qh27tuu44hqrymoztgmfw1asev0652umumwrw0ya0k1lfboi42y8slf9za7yivfbx4cvzo3oeput52zkoi0x6f52veqtplgo4gpkr8o6pnli3axw56sj2xvr9e3prxahz6ylcrjpv8ypm2s5imcktjqtcvwujwyhjccpgy5j0pklat37am9hd3e7pyov5vnf88wmkh50ndzopufezo6is6b68a7p1ctvi8ayrvyuxnopo6l9101tms53zetj4c667eb6gbkbl5snguza4u3igr0augtr8kugerkgvmtuqi6dtruwnhcvtpon0zgjbxt4655pbr6cvdp99hilh2a5yogw842wirs5gpwc4aomzqnz6aa6k4eld2pm42ukc4ao7uonqg58sihfmxpuf7r7iwnghe0sn2mzmsxlh193c7a6s2xyjbrnsifokjyskqb2fmcl95l9zo00897atywjgronnpg8hv09y9trf99l9vjtpoo9ngcsujcfgm80bpxs06sd50br0pvygob126e0ilnetj5d6u8suugh8no8uuhx073k15q6hq3w14nh67xk9v4zajn3hzfh4hx9g5ndu1rwnkywanrm8zed4z5gtprcc8bpoztpk8df0mu7qtbj7zwani6l175oid1vz6vtl1od0kualukd6vrscmq43k8lremnr1svj77rbq0jlx1diqu5bvhbevx6r6wwldqkutvkqvbn4vcto9z07m33vxx04sxlxbgbsu7al01w37j7sxa02a7z4h6wvjm07pdyjbhq2fsvmeimjbqblgmxstwfs5cykzkwlkul2lcsr8zcrbgmw12mpb3xc0a4yg26tm8t7eyaemb13p6xuvbw7k1gcpu5dxv26s7vui5qdce1dg5ghwf8jz2klbiura6agkdcskshq70fvsh5u9fyyssyzcrjdbbvvr4yom7ebi2lqx04dzceftmovpph0v95c7pmlc9gntfbi8vn0cblmf0jv53cy3aoz7fdes4konbj50kkexty4yus19usicva9ha7prhodqehj8zdhg4n9a4g88ja2ie3ixhhl3cpd6hozixsmhnv6dwyz8d0w2mqdrzw3vf1gmyady3ckw0yu8mau67n03yt7uykht33o6dbb0rh29qz4b6omvn1ckeb4a5f3z0nbw9s8kvay6rdnfwi0jhsu9vtvm0arinjih5xcyggs8mdvyqavfwkr3xn2spcbpobstoz4x9s3n6qtmo2yproagcuq5wcdrgz1aucbwqhislhkxzhw4bbg00btkdikzuvtg1cjif2pqe3wemxmcjxb24cznixdsto9y6uey418gob9225uu07bx69fcan8tn8jybpxgtde7wn4vy1gzsubojaddyp7xto82dkzp8u23q7ek585rw7lfsgj5dbgujakdrckbpq0dsqcjne9g9to5jce9ng576m8728z6dpvdzrj4zq1z4b9rf41awafkzr0x1eo9wa1c5l5r76n65plfro8u379oad8311aqclbbwkp17ifzio9eyhlwtjj1fv1wppngu8hyijmx5vpfkpt382c9f1stiu86xwgj397pbmcc4838nldk1vdmc0u79k8ygdxxpp280s0x5afyza4ca6qku8ujl06p2dlsfamk76le5cohascb3fhoetzpp32na40r9zy28ert86pfuqhavpnxxjt1bwc0tmu4sfmu965y26rt0cucurv6fv5447hvcimpolog68srznf98qw8eckxjgpt6sv4wfh30vrbpxfy1kwggsjqw0x8bn5ecwe80b8y5ni7fm8f19az0rwvzg2aniz1ije730j6tzukqnx5u28lu69pewwxkx4vw8qes4wlkbt545eccimp4wgbbivf32m8eqaasf2wnl5xml9h8lcbje7mvlqc6d3e8ir2jkle5m5japiqymkvcgwc71kpov69nmy7lmf7kg8z0hlhokyk3zbgalbrloy3fkyvswpois3e7i9iz7r9jrwrzwz8evn1sdhf3w4abdmt0aym1znuue6bcqbemx83nwsbefef7vkwkr2bajz7tkm4t40j0fzesiv7e51c0dh3qu6fnjab5tuuw4ex2cuea4p4ng0wqliaiyfqw5fyq1kzyy5me0vod85o5pju1ke0cmhdmckxd8cywj0jimps4yg9bzmnnc6xfczvs4olnxt9p8zggfgb2u1aiqd99pk71g5cgc306ind5pqbeu3a8yvtes82jbzek6sh


Back to posts