Book Locations

Home Forums Browsing the Hexes Book Locations

This topic contains 47 replies, has 2 voices, and was last updated by  jerry 1 month ago.

Viewing 15 posts - 1 through 15 (of 48 total)
  • Author
  • #142 Reply

    Jonathan Basile

    Dear Bibliotecarios,

    The library has undergone significant reconstruction, and now contains every possible page of text. It is still a small collection compared to the 251312000 books which Borges imagined, but the 293200 which it does contain are enough to keep us busy for eternity.

    The search function has also been redesigned, and can successfully match any page of text many, many times. (I’m happy to explain more about how I calculated the number of possible matches which appear on the search pages, if any of the mathematically inclined would like to learn more about the library’s mechanism.)

    “When it was announced that the Library contained all books, the first reaction was unbounded joy.” So said Borges’ librarian/narrator in “The Library of Babel,” and I hope that visitors to this site will begin the important work that the librarians of Babel undertook, to read, catalogue, and interpret its texts. Please post the locations of any interesting discoveries here in the forum.

    Much like Borges’ library, the architecture of our site has grown more vast and complex with its expansion. I’ve done my best to explain its organization in the Reference Hex. Most of the books you will find by searching can only be bookmarked or linked to if you click the “Bookmarkable” link on the book pages. This lets you create a custom url.

    Of course, you could always copy down the wall, shelf, volume, and page numbers, as well as the combination of letters and numbers which comprise the name of its hexagon (accessible on the browse page, or at the end of downloaded texts). Again, there’s more information about this in the Reference Hex. I apologize for the complicated structure, but it was necessary to remain true to Borges’ design.

    Here’s one example – the first page of Genesis (follow the link, or enter these values in the relevant fields of the Browse page):

    Hexagon: 0q2mrbbjqbguzxfzktjtfl4rf88d85e8agnmoznxph1o31x2es7ii9chzxjw5fbxm46ve39p6uczfekjpasb787ggipfzdbj89o26d43iwgbgry3vwoaucfy0ajn7plundtkh0p03q1w9w579t079r3tsmzmskjtt72crhfca4nds8sexv4fkabrx5cg1910dub4wwqjunjejsrndfe4il3lc38lfhimfc42nl7b74whjmkkpv21j8gydopu8i9b3o5fx9wmk3l13cfkog7di6ymt1u3k27he9991wbh09gcejv7d3elmbpph8qapodo4436vt92a05gx9k4qexf0rsjr1llcqyel9erbj039z5l4gx1k7hb3a6sdszkq5wi0ybe1mvntg41k6zdnsarqm4mych9upcfl6716y1l7n3637oboomzffv89l4gcu5zmjs0g6gqbthecdcidcjipn13zldmoidowh08tossb3hkxf8stt148ljqtogl7z0drqjtwxaf6i5isoho8tugdn51nxabyhbo5gsyht5mrsfnwtp4dj0yglkegty8lh98ww7rr8z5dpx8djq2k813pbmhm0tq4ljt9r7715ka9h5s7t0kyswpw3d7avwnu7oht2anrb809t3l9zgnl8izns4ebl54xs66mrvp5t9f49i7n1r4kvx287jblvv850nzgd5302o4xcrqe46aqogai919k9ni9ujvqq8occ0sk30m19smmnfeygs1e0yp1uqd7hd0yzqfvn0cvgfkobkc0psheobr3ch0oaf82fmsp2smz0diwvod17uzjsp44rituop6m5lieccutpo1a2qjewb9gex4xu6wa92frd46knff92ghbgqmghdn18v2eyn0gzwnydn06zvll7f7gyaw6r096icqij73gfgcqanpkinmpt0lklh0inub0hywrcxvaloeye3lyl0ybklytq0pxdca85nixtfq699zf6v5ixmj0deymj3p58hdsdgg3rceqg0cnhpctud73tri5ghfqu52uxj3rhiuiez8ppkr34nixso583qra92vgg5awbn8t2lho7xqr30f3r8vt9iwwujc0qv8c38teata42yinnh9u60qsode3nfyse5s3a5g5iu4oysmoj2w5qpwi4896s8hq4502fnt2x2s0v8p6b3fwmw1i9gwwfp8bikr2re53yp07vlba5nyp0a34l42xly85128l9u190ozo8jf74d4kiz2bsd4cyc4d2a9f9622tm7x1xhxu6ky7cdjjn68tyn7vu69zci2bnl512uxkub956unbj2xj7trk0adn8p9xp5r0rh4c9dx5pdbslr65ilyqrtp8hfm9bh3p9g007kwlio913zomnx57lqvmyfzggq7rd2xxfbz6a58zwq2wqcf16nobay19haf6l8dij0hhgsy3z36q2r8zs41z23wm4nk4r7j4cg85k1eue5p227uwe78bfrmv99mln1qk76y3ifalws5fjm2kdu7c0sed6ecqhm0asc0w61z73eelu9sals2cu3pa9wyv918yaa7ke8dpydt4y6yyfkwbbx2gm4uvqs4h5u0fd3eps11e0bgbe5k3dw9dod7nbuokx9f46z41exzdylqulnn7pprns4mwrhbqoccm4kccxgf7ja4svbq17jygkwic1s0jfdh2c06p92rjwvxw24tg0cr8lzl1d0gorhfyabkys7f66tyl7zxci2cy8j59g666l97063e64y3nh5allikoli0643d7fc349pciceweo8wn19s38h4k26801iqxulo7xcx65erq0yf5p0wp7owzuo58r6fo6nwoytmoomzlf0ud9gqpthp2y4yq8u4x7exm88bnzrrfklkte0wfbx0glusf1ihj2jji548wm7zuqympag3hbwda7lh86lwzx3xdc0a4auscmw02zqngb701d0s0hzi3yspc4cxrs0sz22m47qhh9ab9bw22ms0n10037rqxf216p4va9gd4gk9pha57uqffkxpcpt1uerjaivvkxyvdzexw3sg7ynecrdu0bxwkuok3rc6gqmofmx7exewftsfivzl1xfsofzcs1haaoq70dyj6vweopmaff9ml824kct5ojpc3wgoua84meqfe7w8r5g1ptouygu1cztx92susfpx2x0sslvnjgv597wot259452umtq3iv0umsylcemf2qwt4uj9jw8i4qamewhqsaogzj4vskuig04jdgnbvf1wzp0ou2uvzfsdmhbi9bqqaja7p1255yuf2oexlp3wnc79h50y1jwlm6jdjzr9ls3lv5jjwmekl5n8c870kphwhm328z3c9qrb3kx1su0ris39qka8rs16r6r1t7kagxmuiqs3kk0d5phupx3j57a2vr95dmm044rezyvw5e129ehh4vfqwc4i1vl6eac3nd397kccjr1t3qjcxne8r8qm8a7t1jsf2t77jop80j91c0v2umxy4dpa7yje3cu895yqb108h2tm85ndx329le3vef9e49yz9nva0lpkd3y6n5akb4ztslvfmogr5pzkht3ldssq538gszema2akh4gq6mum1d0coam5rpxrrrz8ktsqy5ecaz8iwlmto2fgyi0tv9igcxqkikjvswrjkgp4f8h8rfqivx2je9zwnv31boeicgus3o3ryyx7k4rfhjd3gz2pkv2uba40zpc8r1sgtm2ra4eciuud2iroq0xsmylx8k5pxrllvdyqw6fj4six5wqyp46kg1wp3t9azlea078on4efizrk1cbaisa5yikl81trc70mak43wdyur4r6m24sh3zm54wynluksn64m7c5io62xhxpcb0n29v85qdr467lmbiu6obrj238mtds6bhyzooprs8nbigu5nuxqnsixv4k2qnoa5vcoxznmuyubt53pbwp1a3agnisw9s8oy7w0p76920alm8otzbi3ivhnditrf6it0klqgb91qfcy3mz0ickrblf9w3xi04o1d8xl0rhemg4rbzt1eyiv2mtokknea3jq1fw6o78h7qzifbxffpa0zdj82c45cgx1cerdrjlz880webkde9gu8j466avjkhi3kvgyj2mu3npya8822blncnyya549210xw131a41726los3rkkfx10z80dkrdh7oap9ntvih3835mgc95zq5en5l3rkpn290x8i4q

    Wall 1, Shelf 1, Volume 23, Page 163

    #177 Reply

    Alexander Slotnick

    Hi Jonathan. All of this is pretty mind boggling. I’m a major fan.

    Just out of curiosity: have you done any delving into the legal ramifications of all this? I understand that a la Borges’ instructions the texts here have all been generated by way of procedural generation, but what happens if 1) a contemporary author finds his copyrighted work in your library and feels outraged that it’s been “published” online; or 2) somebody browsing your library stumbles across an as of yet unwritten masterpiece, and goes on to copyright it, publish it, etc.?

    I realize (1) is merely a matter of retroactive search, and any author anywhere could manufacture that scenario, and that (2) is of such astronomically remote odds that it need not be a serious question (that was, after all, part of Borges’ point with the story). But still…

    #178 Reply

    Jonathan Basile

    For starters, legal definitions aside, I would just point out there really isn’t anything here that could infringe on an author’s rights or their ability to control their own work. No one could conceivably access another author’s work through unless that person had a copy of the work already.

    Of course, not having a legitimate claim doesn’t always stop people from starting lawsuits. I’m not an expert in this area, but I know there are substantial protections for artists, scholars, etc. to make use of other works in the form of citations, parody, satire, and any number of recontextualizations. It is because we have these legal protections that artistic and intellectual production can continue in our society. Otherwise everything from comedic impersonations to scholarly references would be an actionable offense. I think that constitutes such a recontextualization – when one encounters text here it’s for a different reason and with a different eye than when they see it in its normal environs.

    Also, the site makes no money, and never will (that’s a promise – it’s a library!). So there could be no claim of profiting off of someone else’s work.

    #182 Reply

    Wilf Shaw

    Hello, this whole place is rather incredible, thank you for making it.

    With the current algorithm would it be in anyway possible to display all results for a certain search in one go, or even downloadable as one text file (which, if the 29^5 figure is right and my quick googling of how file sizes work is right would be about 8-9 gb) so as to be able to search through full sets of results very quickly to find what bizarre things there are? From what I’ve thus far read it seems perhaps unlikely and that it would require far more power than currently available to do so with the current algorithm, but I was just wondering. It would certainly make the trawling for interesting books easier (though perhaps that would defeat the point of the near infinite chaos).

    #183 Reply

    Wilf Shaw

    Sorry I didn’t properly check some things, what I said would be true for titles and the file size would be slightly less for the search with English words, but the number of exact results and ones with random extra characters would be a vast size and even if the algorithm did allow it probably unworkable just on file size. So sorry for not checking.

    #184 Reply

    Wilf Shaw

    My lord does my stupidity know no bounds?

    I’ve failed once more, it turns out the full text for even just a title search would be more like 24 terabytes which obviously totally invalidates that idea.

    Though one question remains (that may have been covered in the searching across pages thread): is it possible to search within search results for something else? From the aforementioned thread it seems like probably not because the algorithm works on a page by page basis (if that’s incorrect please do correct me) but thank you for any information and for this creation in general.

    #185 Reply

    Jonathan Basile

    Hey Wilf,

    A list of all possible search results could be created programmatically, but like you said the memory demands are just too impractical, at least with our current set up.

    The problems are similar with searching – finding a page of text is very easy for the program, but reading through a book would be a much more demanding operation.

    I actually had an idea recently that I think might allow the library to produce full books in the way that it currently produces pages. It’s current method could be increased to that scale, but is too slow and inefficient working with numbers of that size (~102000000). If I succeed then you’ll be able to find any book you like.

    Thank you for the interesting ideas!


    #250 Reply

    Jeff Painter

    Because the algorithm used to generate these books is pseudo-random, does that mean that there is a possibility that some books cannot be generated?

    Also, have you considered publishing or open-sourcing the code?

    #251 Reply

    Jonathan Basile

    Hey Jeff,

    I did a lot of research into PRNGs when working on the code, and if I’ve chosen the parameters correctly, the PRNG I’ve designed will go through every possibility once before repeating (much like the description Borges’ narrator offers at the end of the story, of an infinite library that repeats its finite set of books in the same order for eternity). Of course, there’s no way to test it – it would take longer than the life span of the universe to go through every possibility.

    The PRNG uses a linear congruential generator, and I’ve chosen the parameters based on the Hull-Dobell theorem, so it should be mathematically provable that it can generate all possibilities. I wouldn’t know how to execute that proof, though. I can say that I’ve never seen a search fail.

    I do intend to publish the code, but I have some more work I’d like to do both on and with it first.


    #334 Reply


    Suppose 2 searches yield an identical book (the odds are low but it must be possible). How is it guaranteed that the book is mapped to a unique location in the catalogue? Or is this irrelevant because the library is supposed to be infinitely repeating (and the catalogue infinitely expanding?)?

    #335 Reply

    Jonathan Basile

    Once the algorithm has passed through all of its potential unique output, it does repeat in the same order, much as Borges’ librarian-narrator describes in “The Library of Babel” –

    “The Library is unlimited but periodic. If an eternal traveler should journey in any direction, he would find after untold centuries that the same volumes are repeated in the same disorder-which, repeated, becomes order: the Order. My solitude is cheered by that elegant hope.”

    #342 Reply

    nicolas d

    (29^3200)^410 is awfully close to 25^1312000
    so if you took every possible page and arranged them into every possible 410 page book, you would have entire 410 page books hidden within the entire universal library, which would contain slightly more books than in Borge’s own book, which now come to think of it would also be hidden within the library.

    #793 Reply


    Congratulations! You just rediscovered a well known property of exponentiation, i.e.,(a^b)^c = a^(bc) for all b, c and non-zero a. Any elementary math textbook that defines log() on real or complex numbers should include a proof.

    #794 Reply


    Addendum: and the proof I referred to certainly fits on one page, so you can find it in this library in a finite amount of time.

    #1787 Reply


    Back in May you talked about releasing the source code. Since I am really curious about the actual implementation used, is there something new regarding the release?

Viewing 15 posts - 1 through 15 (of 48 total)
Reply To: Book Locations
Your information: