Live data from Hacker News

Judge a book by its first pages

uncovered.ink

1–10 of 45 posts

Re: Judge a book by its first pages

#4
When I visit a bookstore, I will look for things I recognize/want. But I also will open random books and read the first page to see if anything hooks me. I try to come away from any bookstore visit with one book I've never heard of and may have never been recommended otherwise. This is a nice recreation of that experience (sans the paper smell).

Re: Judge a book by its first pages

#6
Unrelated to the idea, but this website strangely blocks `Alt+←` and `Alt+→` to cycle through browser history.

Edit: It seems the website overrides the `←` and `→` arrow keys specifically, and using `event.preventDefault()` causes the problem. I think it's good practice to ignore keys with modifiers in such a situation.

Re: Judge a book by its first pages

#7
post #3

maybe it is mostly books, but the first one it served me was a /r/aita post https://uncovered.ink/?b=9781538704448

The button on the homepage is hardcoded to this book, which I find extremely strange. Why not choose a random book, and why pick such a confusing quote?

Re: Judge a book by its first pages

#8

Unrelated to the idea, but this website strangely blocks `Alt+←` and `Alt+→` to cycle through browser history. Edit: It seems the website overrides the `←` and `→` arrow keys specifically, and using `event.preventDefault()` causes the problem. I think it's good practice to ignore keys with modifiers in such a situation.

It's not "blocked", the person implementing it just forgo any sort of browser history usage when creating the website/"app", and the entire thing is controlled 100% in their own JS code. I guess author only had their specific mobile use in mind when creating it? Maybe swiping for back/forward works if you view it on the phone?
Post reply on HN