Back to News
Advertisement
pplicerin about 2 hours ago 55 commentsRead Article on verbaprima.com

FR version is available. Content is displayed in original English for accuracy.

This came from an idea that had been knocking around in my head for several years. I had been collecting opening lines of famous works and thought it would be cool to see one everyday as I opened the browser. I tried different styles but landed on the simple background with the text, let the words speak for themselves. Over time i've added more quotes I believe now there are close to 60, so hopefully you can refresh a few times and get a fresh one every time. I hope you guys like it, enjoy!
Advertisement

⚡ Community Insights

Discussion Sentiment

77% Positive

Analyzed from 1690 words in the discussion.

Trending Topics

#https#read#quotes#book#opening#com#refreshes#line#black#books

Discussion (55 Comments)Read Original on HackerNews

olooneyabout 2 hours ago
> so hopefully you can refresh a few times and get a fresh one every time

If you randomly sample from only 60 quotes, then after 10 refreshes there will be a greater than 50% chance of at least one repeat, and by 20 refreshes it's up to 95%. This is an example of the birthday paradox[1].

On the flip side, if someone wants to see all 60 quotes, they will have to refresh the page an average of 281 times, mostly (~80%) seeing quotes they've already seen before. This is an example of the coupon collector's problem[2].

The way to avoid both these problems is to shuffle the quotes into a random order, just once, and remember that order. The first time a user comes to the page, start at a random index in that shuffled list, and from then on, simply move to the next item in the list. Every user will get a unique set of random quotes, but will see no repeats until the list is exhausted, and will be guaranteed to be able to see all available content in just 60 refreshes.

[1]: https://en.wikipedia.org/wiki/Birthday_problem

[2]: https://en.wikipedia.org/wiki/Coupon_collector%27s_problem

thekaranchawlaabout 1 hour ago
TIL about the coupon collector problem. Thanks for sharing that link
xandrius43 minutes ago
I'd prefer have a unique and shared quote each day keyed on the day of the year. Then restart when going above N and shuffle.
pegasus4 minutes ago
Why shuffle, though?
dantillbergabout 1 hour ago
If the user doesn't know how many unique items there are, they would need to keep refreshing even longer to gauge whether the N they've seen is the full set.
alansaberabout 2 hours ago
Make sure you fingerprint every user to make sure they're using the right index value /s
loganintech2 minutes ago
This is awesome! 9 months ago or so some coworkers and I had the idea to make a Wordle style game where you have to guess the book using some clues from a book including the first sentence. I stopped adding clues myself but your post reminded me to get it open sourced :)

There's a small client-only app here to check out: https://github.com/loganintech/bookdle https://loganintech.github.io/bookdle/

Or if you want to see the source code for the "platform" where I added a database and such: https://github.com/loganintech/bookdle-platform

jihadjihadabout 1 hour ago
Few can top the opening line of Fear and Loathing in Las Vegas.

But there were brave souls who tried, in the now-defunct Bulwer-Lytton Contest [0].

Where else could you find gems like these?

  > The day I lost my tractor was the same day I found out my wife was moonlighting as a hooker when she gave me a wad of cash and told me, “It’s from a John, dear."
0: https://www.bulwer-lytton.com
kejabout 1 hour ago
The "Lyttle Lytton" contest seems to still be going strong, for what it's worth: https://adamcadre.ac/lyttle/2026.html
jll297 minutes ago
Whoever likes this will likely also enjoy this clock announcing the time using literary quotes: https://www.amazon.com/Author-Clock-Literary-Quotes-Unique/d...

(What I particularly enjoy is that one can contribute to the database of quotations.)

entropieabout 1 hour ago
Really cool!

> The Man in Black fled across the desert, and the gunslinger followed.

I did not refresh to check if you already have that, but I really find it very strong. Its from Kings "Dark Tower - Black" (edit: its "The Gunslinger", not Black. its named "Schwarz" in the german translations) the first of 8 books in the series.

If you dont know it; its not like the usual King books. It mixes fantasy elements (inspired by LoTR), western, scfi (robots, AI-trains) cyberpunk and horror. Its a great series!

kamranjonabout 1 hour ago
I actually read the first book and it was so poorly written it made me wonder if I should continue, because I did find the general story quite engaging. I've heard it gets better/tighter in subsequent books, but it was the only King i've ever read so wasn't sure if he just had a sort of sloppy style (he did write pretty prolifically). I also read it following a Cormac McCarthy book so that might have lead me to believe it was sloppier than it deserved.
entropie27 minutes ago
> I actually read the first book and it was so poorly written it made me wonder if I should continue

In his defense, that was early in his career, and in one of the countless afterwords or prefaces, he also mentions that he has, of course, evolved since then.

"The Gunslinger" is really a bit borderline. The next one, "The Drawing of the Three" is much more complex and better written. You could also read the last book first ("The Wind Through the Keyhole"); it’s separate from the main story and set somewhere in between, but it’s the final book.

> Cormac McCarthy

No country for old men? Its probably in my top 5 of all the books (and movies) that I read. A masterpiece.

Edit: i realized i mixed the names up. Its not black, its "The Gunslinger". Its translated as black in the german series and confused me.

kamranjon20 minutes ago
I haven't read No Country yet - I think at the time it was Suttree which is definitely in my top 5 - I also read The Road recently and was pretty blown away, really quick read and very meticulously structured, I loved it. I'll make a point to read No Country, I heard it was originally written as a screenplay and so is less descriptive than his other work.
amatecha8 minutes ago
Nice. The only opening line I remember offhand is from Neuromancer (which I'm glad to see is included in the site!)

"The sky above the port was the color of television, tuned to a dead channel."

piltdownmanabout 2 hours ago
For reference, a famous Irish coffee-table (read: bathroom) book in a similar vein:

https://www.abebooks.com/Said-Duchess-First-Lines-Gemma-OCon...

And from a cursory few refreshes I didn't see the obvious one come up:

"It was a bright cold day in April, and the clocks were striking thirteen." Orwell, 1984

kwertyoowiyopabout 1 hour ago
It’s there.
xnorswapabout 2 hours ago
Frustrating without a way to get to the list of works, because it's not clear when you've seen them all.

You start having to guess how many there are, based on how many you have seen and how many have repeated, and the distance between seeing ones you haven't yet seen before.

A problem made worse, the more quotes there are, as if you have N quotes, then you expect to see the one you see the most often approximately e.ln(N) times ( iirc, for large N ).

( Or put another way: given N items, you expect the gap between discovering the penultimate one and the last one to be N. )

xnorswapabout 2 hours ago
I cheated and looked at the source:

There are 60 quotes.

So expect ~280 refreshes to collect 'em all.

pfortuny41 minutes ago
OK, and the median?
doubleorsevenabout 1 hour ago
should i do it? im looking for the "The Day Lasts More Than a Hundred Years" opening lines
bookofjoeabout 1 hour ago
https://en.wikipedia.org/wiki/The_Day_Lasts_More_Than_a_Hund...

"The hungry vixen had to be patient as she searched for prey among the dried-out gullies and the bare ravines."

https://www.amazon.com/Lasts-More-than-Hundred-Years/dp/0253...

atulatulabout 1 hour ago
May I submit these? Didn't see these after many refreshes:

"Into the face of the young man who sat on the terrace of the Hotel Magnifique at Cannes there had crept a look of furtive shame, the shifty, hangdog look which announces that an Englishman is about to talk French." - Wodehouse, The Luck of the Bodkins

"When he was nearly thirteen my brother Jem got his arm badly broken at the elbow." - Harper Lee. To Kill A Mockingbird

"Scarlett O'Hara was not beautiful, but men seldom realized it when caught by her charm as the Tarleton twins were."- Margaret Mitchell. Gone With the Wind

delichonabout 1 hour ago
Then Vivien Leigh was miscast.
DataDaoDeabout 1 hour ago
I'd be interested to know what everyone's favorite opening lines of all time are. (bonus - to see how much of it you can quote without looking :)

For me, its: Whann that aprill with hir shoures soote, The drought of march hath perced to the roote, And zepherus eek with his sweete breath, inspired hath in every holt and heth, the tendre cropes, and the sonne hath in the ram, hir halve cours ironne, Than preketh hem natur in hir courages, and longon folk to gon on pilgrimages.

Somehow that has always stuck with me, I'm sure I'm missing parts, but from the first time I ever heard these lines the just imprinted themselves like a song to me.

NetMageSCW20 minutes ago
“The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents.”

Though for me it’s the second line that nails it: “We live on a placid island of ignorance in the midst of black seas of infinity, and it was not meant that we should voyage far.”

drc500freeabout 1 hour ago
"The war tried to kill us in the spring" from The Yellow Birds always stuck with me, for its complete decoupling of the war from the men who had come thousands of miles to fight it.

** ETA the full opening:

“The war tried to kill us in the spring. As grass greened the plains of Nineveh and the weather warmed, we patrolled the low-slung hills beyond the cities and towns. We moved over them and through the tall grass on faith, kneading paths into the windswept growth like pioneers. While we slept, the war rubbed its thousand ribs against the ground in prayer.

NetMageSCW19 minutes ago
There’s also: “It is a truth universally acknowledged, that a single man in possession of a good fortune, must be in want of a wife.”
jammalooabout 1 hour ago
"The moon blew up without warning and for no apparent reason." - Seveneves

"All this happened, more or less." - Slaughterhouse-Five

macintuxabout 1 hour ago
Curiously, it seems difficult to find John Donne's Meditations XVII with the original language. The spelling has been modernized everywhere I can find it online.

(I suppose this technically isn't the opening line, but it's the first line used when most people quote the passage.)

No man is an Iland, intire of it selfe; every man is a peece of the Continent, a part of the maine

adrianNabout 1 hour ago
From memory: The sky was the color of a TV tuned to a bad channel
CharlesWabout 1 hour ago
Close! (I had to look it up.) "The sky above the port was the color of television, tuned to a dead channel." (Neuromancer, William Gibson)
purpleflame125713 minutes ago
I like how "A Wrinkle in Time" starts:"It was a dark and stormy night."
Advertisement
arkensawabout 1 hour ago
> "I was born in the City of Bombay… once upon a time." > Midnight's Children > Salman Rushdie · 1981

Ok so I guess it is literally just openings of famous literary works, and not great first lines

semiversusabout 2 hours ago
Really cool idea! Add a possibility to send you tips for other books. Here is mine: "As GREGOR SAMSA awoke one morning from uneasy dreams he found himself transformed in his bed into a gigantic insect" Metamorphosis by Franz Kafka
1-moreabout 2 hours ago
obligatory note that there's no great single translation for Ungezeifer. Vermin, pest, insect, arthropod, spider, bug, mouse, "animal unfit for sacrifice" all fit https://en.wiktionary.org/wiki/Ungeziefer
preetham_ranguabout 2 hours ago
This reminds me how much weight a great opening sentence carries. Some of them are memorable decades later because they establish the tone immediately
tangenterabout 2 hours ago
Either that or they’ve been repeated by the audience so often as to lose all their appeal.
lkm0about 1 hour ago
I've always wanted to do this! I've scraped Gutenberg and tried some clever ways to get the first line, but I always got so much noise. Perhaps it's a good time to try again!
seagramabout 1 hour ago
"It was inevitable: the scent of bitter almonds always reminded him of the fate of unrequited love." > Love in the Time of Cholera - Gabriel García Márquez
jorisborisabout 1 hour ago
Great idea! I would love a tailored version based on Goodreads or Storygraph
locusofselfabout 1 hour ago
I tried to press space, arrow keys, enter, tab, etc to get to next quote. None of those worked
bookofjoeabout 1 hour ago
Click on "NEXT CHAPTER" in the upper right hand corner
gnivabout 1 hour ago
This is called incipit, right? In both English and French afaik.
zeroonetwothreeabout 2 hours ago
It would be fun if you had to guess what book it’s from
stevetronabout 2 hours ago
It was a dark and stormy night.
Advertisement
woopahabout 2 hours ago
What about making it a daily style game where you have to guess which book the opening is from?
diego_moitaabout 2 hours ago
After trying a lot, I only saw lines from books written originally in English.

Therefore, I assume I'll not see my favorite:

> Muchos años después, frente al pelotón de fusilamiento, el coronel Aureliano Buendía había de recordar aquella tarde remota en que su padre lo llevó a conocer el hielo.

My translation:

"Many years later, in front of the firing squad, colonel Aureliano Buendía would remember that distant afternoon when his father took him to discover ice."

atulatulabout 2 hours ago
>I assume I'll not see my favorite

Your favorite was the first I saw. Just FYI.

esafakabout 2 hours ago
Nevertheless, García Márquez preferred Rabassa's English translation to his original!

There's an okay Netflix mini series of it, FYI.

alvatarabout 1 hour ago
English literature heavily overrepresented
bookofjoeabout 1 hour ago
Classic HN
rnd_mikeabout 2 hours ago
this is nice, simple idea, but nice. I think the style of the site is also appropriate for what this is :)
smashahabout 2 hours ago
wonderful project thanks for making it :)