Live data from Hacker News

Ask HN: Has anybody built search on top of Anna's Archive?

news.ycombinator.com

61–70 of 156 posts

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#61

Earlier quoted context omitted.

Do you have a reason to believe this ain't already being done? I would assume that the big guys like openai are already training on basically all text in existence.

In fact, facebook torrented annas archive and got busted for it, because of course they did: https://torrentfreak.com/meta-torrented-over-81-tb-of-data-t...

Every LLM maker probably did the same. Facebook just has disgruntled employees who leaked it

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#62
post #28

Earlier quoted context omitted.

It would be incredible for LLMs. Searching it, using it as training data, etc. Would probably have to be done in Russia or some other country that doesn't respect international copyright though.

> or some other country that doesn't respect international copyright though. Like the US? OpenAI et al. don't give a shit.

There's a difference between feeding massive amounts of copyrighted material to a training process that blends them thoroughly and irreversibly, and doing all that in-house, vs. offering people a service that indexes (and possibly partially rehosts) that material, enabling and encouraging users to engage directly in pirating concrete copyrighted works.

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#63
post #16

Earlier quoted context omitted.

I wonder if you could implement it with only static hosting? We would need to split the index into a lot of smaller files that can be practically downloaded by browsers, maybe 20 MB each. The user types in a search query, the browser hashes the query and downloads the corresponding index file which contains only results for that hashed query. Then the browser sifts quickly through that file and gives you the result.…

I've done something similar with a static hosted site I'm working on. I opted to not reinvent the wheel, and just use WASM Sqlite in the browser. Sqlite already splits the database into fixed-size pages, so the driver using HTTP Range Requests can download only the required pages. Just have to make good indexes. I can even use Sqlite's full-text search capabilities!

How would that scale to 10TB+ of plain text though? Presumably the indexes would be many gigabytes, especially with full text search.

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#64
post #2

You must mean free text search and page level return, because it already has full metadata indexing. The thing is AA doesn't hold the texts. They're disputable IPR and even a derived work would be a legal target.

> a derived work would be a legal target.

Why would it? Google isn't prosecuted for indexing the web.

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#65
post #39

Earlier quoted context omitted.

> It's trivial to normalise the various formats, Ha. Ha. ha ha ha. As someone who as pretty broadly tried to normalize a pile of books and documents I have legitimate access to, no it is not . You can get good results 80% of the time, usable but messy results 18% of the time, and complete garbage the remaining 2%. More effort seems to only result in marginal improvements.

98% sounds good enough for the usecase suggested here.

2% garbage, if some of that garbage falls out the right way, is more than enough to seriously degrade search result quality.

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#66
post #50

They did! They conducted a competition https://annas-archive.org/blog/all-isbns-winners.html , in which a few submissions exceeded the minimum requirements and implemented a good search tool & visualiser.

How is this a text search of the books?

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#67
A functional full text search of the shadow libraries would be massive. It would have a comparable impact on humanity to the impact AI will have. And it's probably not difficult technically. Let's start a project to get this done!

Edit: I have had this exact project as my dream for a couple of years, and even experimented a little bit. But I'm not a programmer, so I can only understand theoretically what would be needed for this to work.

Anybody with the same dream, send me an e-mail to booksearch@fastmail.com and let's see what we can do to get the ball rolling!

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#68
Don't do it. Just because you can, doesn't mean you should. Do you know if they have anywhere near the legal muscle to push back the flood of legal notices if you did this? Assume it survives because it doesn't have a wide open barn door to the public.

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#69
post #3

Honestly I don't think it would be that costly, but it would take a pretty long time to put together. I have a (few years old) copy of Library Genesis converted to plaintext and it's around 1TB. I think libgen proper was 50-100TB at the time, so we can probably assume that AA (~1PB) would be around 10-20TB when converted to plaintext. You'd probably spend several weeks torrenting a chunk of the archive, converting ev…

The main barriers for me would be: 1. Why? Who would use that? What’s the problem with the other search engines? How will it be paid for? 2. Potential legal issues. The technical barriers are at least challenging and interesting. Providing a service with significant upfront investment needs with no product or service vision that I’ll likely to be sued for a couple of times a year, probably losing with who knows what…

> 1. Why? Who would use that?

Rather who would use a traditional search engine instead of a book search engine, when the quality of the results from the latter will be much superior?

People who need or want the highest quality information available will pay for it. I'd easily pay for it.

Re: Ask HN: Has anybody built search on top of Anna's Archive?

#70
post #28

Earlier quoted context omitted.

The main barriers for me would be: 1. Why? Who would use that? What’s the problem with the other search engines? How will it be paid for? 2. Potential legal issues. The technical barriers are at least challenging and interesting. Providing a service with significant upfront investment needs with no product or service vision that I’ll likely to be sued for a couple of times a year, probably losing with who knows what…

It would be incredible for LLMs. Searching it, using it as training data, etc. Would probably have to be done in Russia or some other country that doesn't respect international copyright though.

> Would probably have to be done in Russia or some other country that doesn't respect international copyright though.

Incredible, several years of major American AI companies showing that flaunting copyright only matters if it's college kids torrenting shows or enthusiasts archiving bootlegs on whatcd, but if it's big corpos doing it it's necessary for innovation.

Yet some people still believe "it would have to be done in evil Russia".

Post reply on HN