frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Opening lines of famous literary works

https://www.verbaprima.com/
62•plicerin•1h ago
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!

Comments

semiversus•1h 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-more•1h 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
woopah•1h ago
What about making it a daily style game where you have to guess which book the opening is from?
piltdownman•1h 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

kwertyoowiyop•40m ago
It’s there.
zeroonetwothree•1h ago
It would be fun if you had to guess what book it’s from
rnd_mike•1h ago
this is nice, simple idea, but nice. I think the style of the site is also appropriate for what this is :)
diego_moita•1h 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."

esafak•57m ago
Nevertheless, García Márquez preferred Rabassa's English translation to his original!

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

atulatul•47m ago
>I assume I'll not see my favorite

Your favorite was the first I saw. Just FYI.

xnorswap•1h 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. )

xnorswap•45m ago
I cheated and looked at the source:

There are 60 quotes.

So expect ~280 refreshes to collect 'em all.

doubleorseven•26m ago
should i do it? im looking for the "The Day Lasts More Than a Hundred Years" opening lines
bookofjoe•7m 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...

stevetron•58m ago
It was a dark and stormy night.
preetham_rangu•55m 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
tangenter•46m ago
Either that or they’ve been repeated by the audience so often as to lose all their appeal.
olooney•50m 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

alansaber•45m ago
Make sure you fingerprint every user to make sure they're using the right index value /s
dantillberg•21m 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.
smashah•47m ago
wonderful project thanks for making it :)
DataDaoDe•42m 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.

adrianN•39m ago
From memory: The sky was the color of a TV tuned to a bad channel
CharlesW•35m 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)
drc500free•33m 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.

macintux•
alvatar•36m ago
English literature heavily overrepresented
arkensaw•36m 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

atulatul•27m 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

delichon•12m ago
Then Vivien Leigh was miscast.
jihadjihad•25m 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
kej•11m ago
The "Lyttle Lytton" contest seems to still be going strong, for what it's worth: https://adamcadre.ac/lyttle/2026.html
seagram•23m 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
gniv•19m ago
This is called incipit, right? In both English and French afaik.
lkm0•16m 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!
locusofself•11m ago
I tried to press space, arrow keys, enter, tab, etc to get to next quote. None of those worked
entropie•10m 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" 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, horror, scfi (robots, AI-trains) cyberpunk and horror. Its a great series!

10m 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

Show HN: Opening lines of famous literary works

https://www.verbaprima.com/
67•plicerin•1h ago•41 comments

Show HN: Juggler – an open-source GUI coding agent, by the creator of JUCE

https://github.com/juggler-ai/juggler
83•julesrms•1d ago•43 comments

Show HN: I RL-trained an agent that trains models with RL (for –$1.3k)

https://github.com/Danau5tin/ai-trains-ai
62•Danau5tin•4h ago•23 comments

Show HN: BeePub – A reading-first alternative to Calibre-Web

https://github.com/oalieno/beepub
3•sheldon7337•37m ago•0 comments

Show HN: Rejourney – Open-source revenue leak prediction for web and mobile apps

https://github.com/rejourneyco/rejourney
28•mrr7337•5h ago•4 comments

Show HN: Oodle.ai – $10 per million agent traces

https://www.oodle.ai/product/agent-observability
18•kirankgollu•2h ago•6 comments

Show HN: Pulsys – Pull-through cache for Hugging Face built with io_uring

https://github.com/pulsys-io/pulsys
2•poshmosh•1h ago•1 comments

Show HN: Sol – a validated computational artifact for human-agent handoffs

https://github.com/LopezNuance/Sol
2•jamweba•1h ago•0 comments

Show HN: Open-source]IntentGuard: Catch PRs that pass tests but miss the ticket

https://github.com/derrickchiang1024/intentguard
2•CHIA_CHIANG•1h ago•0 comments

Show HN: Datapoint – API for Human Preference Data

https://trydatapoint.com/docs/
4•yoloakki•1h ago•0 comments

Show HN: Cascade Chat – A Hackable IRCv3 Client for macOS, Windows, and Linux

https://github.com/matt0x6F/irc-client
6•oooyay•1h ago•1 comments

Show HN: Manifest – Turn any webpage into a structured action manifest for agent

https://demo.manifest.omfang.io/demo
3•Maxnordstrom•1h ago•0 comments

Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop

https://github.com/clawkwork/clawk
213•celrenheit•1d ago•154 comments

Show HN: Low-latency local LLM runner via OpenJDK Panama FFM (Java 22)

https://github.com/projectargus-cc/libargus.cc
5•KingJoker•2h ago•1 comments

Show HN: I implemented a neural network in SQL

https://github.com/xqlsystems/xarray-sql/blob/claude/xarray-sql-mnist-demo/benchmarks/nn.py
107•alxmrs•20h ago•19 comments

Show HN: I cleaned USDA's farmers-market data – 8,863 markets, CC-BY dataset

https://harvestlymarkets.com/data-sources/
5•gc108•2h ago•0 comments

Show HN: Jacquard, a programming language for AI-written, human-reviewed code

https://github.com/jbwinters/jacquard-lang
95•jbwinters•1d ago•55 comments

Show HN: Sx 2.0 – Share AI skills with your team through a Dropbox folder

https://sleuth-io.github.io/sx/2026/07/10/your-dropbox-is-now-a-skill-server.html
43•detkin•17h ago•33 comments

Show HN: Hackney – Compare Uber, Lyft, Waymo, and Robotaxi Prices

https://hackney.app/
56•griffinli•1d ago•46 comments

Show HN: DOM-docx – HTML to native, editable Word docs (MIT)

https://github.com/floodtide/dom-docx
150•fishbone•1d ago•39 comments

Show HN: YouTube Guitar Tab Parser

https://github.com/marcelpanse/youtube-guitar-tab-parser
106•neogenix•20h ago•63 comments

Show HN: Town – Discord in a pixel town where the NPCs have skills

https://github.com/redplanethq/town
5•harshithmul•3h ago•3 comments

Show HN: MDTool – free, client-side Markdown to PDF, HTML and Word (no uploads)

https://www.mdtool.dev
3•usmankhan45•3h ago•0 comments

Show HN: PocketJS – Solid/Vue JSX and Tailwind at 60fps on a 2004 Sony PSP

https://github.com/pocket-stack/pocketjs
2•doodlewind•3h ago•1 comments

Show HN: I built a tool that turns GitHub commits into posts

https://postezi.com
2•rudolfsrijkuris•3h ago•0 comments

Show HN: Chauffeur – One Click restore of your aplication Context

https://www.emaginasion.com/
2•dmaginas•4h ago•1 comments

Show HN: Proton – A pure Go GUI library with zero CGO and API immunity

3•CzaxTanmay•4h ago•1 comments

Show HN: EdgarKit – a real-time JSON API for SEC EDGAR filings

https://edgarkit.com/
3•mathewarena•4h ago•0 comments

Show HN: Nobie – an Excel-compatible runtime for agents and humans

https://nobie.com
87•matthewgapp•22h ago•61 comments

Show HN: PDF to Markdown with a side-by-side check so you can see what broke

https://pdfmarkdown.app/
3•jisbuidling•4h ago•5 comments