frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Opening lines of famous literary works

https://www.verbaprima.com/
44•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•46m 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•39m 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•44m ago
What about making it a daily style game where you have to guess which book the opening is from?
piltdownman•44m 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•10m ago
It’s there.
zeroonetwothree•44m ago
It would be fun if you had to guess what book it’s from
rnd_mike•42m ago
this is nice, simple idea, but nice. I think the style of the site is also appropriate for what this is :)
diego_moita•31m 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•28m 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•17m ago
>I assume I'll not see my favorite

Your favorite was the first I saw. Just FYI.

xnorswap•31m 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•15m ago
I cheated and looked at the source:

There are 60 quotes.

So expect ~280 refreshes to collect 'em all.

stevetron•28m ago
It was a dark and stormy night.
preetham_rangu•26m 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•17m ago
Either that or they’ve been repeated by the audience so often as to lose all their appeal.
olooney•20m 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•16m ago
Make sure you fingerprint every user to make sure they're using the right index value /s
smashah•17m ago
wonderful project thanks for making it :)
DataDaoDe•12m 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•9m ago
From memory: The sky was the color of a TV tuned to a bad channel
CharlesW•5m 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•3m ago
"The war tried to kill us in the spring" from The Yellow Birds always stuck with me.
alvatar•7m ago
English literature heavily overrepresented
arkensaw•7m 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

Banning AI in Law School: We've Seen This Before

https://hardcoresoftware.learningbyshipping.com/p/240-banning-ai-in-law-school-weve
1•bookofjoe•1m ago•0 comments

Everybody Should Welcome Nationalizing AI

https://jacobin.com/2026/07/ai-nationalization-sanders-libertarians-property
1•robtherobber•1m ago•0 comments

Show HN: Running over 80M tokens in one agent session with no compaction

https://github.com/Kiz8-Team/pi-cwl
1•andrew_ocs•1m ago•0 comments

Touchscreens at Risk: A Practical Side-Channel Phone Attack via EM Emanations

https://arxiv.org/abs/2605.14633
1•CGMthrowaway•2m ago•0 comments

GraalJS 25.1: Modern JavaScript on GraalVM

https://medium.com/graalvm/graaljs-25-1-modern-javascript-on-graalvm-25f5c7cea361
1•grashalm•3m ago•0 comments

Show HN: Choji – turn Slack threads into ready-to-merge PR with Choji

https://choji.ai/agents/slack
1•chptung•4m ago•0 comments

Chai Discovery, an A.I. Drug Startup, Raises $400M

https://www.nytimes.com/2026/07/14/business/dealbook/chai-discovery-ai-drug-development.html
2•brandonb•5m ago•0 comments

Show HN: Like Audiosurf but writen in Odin and open source

https://sekor.eu.org/psycho-odin/
1•modinfo•5m ago•0 comments

VAID – proof-of-possession signing for AI agents, no network call to verify

https://github.com/solara-associates/vaid
1•solara123•5m ago•0 comments

Commission adds exemptions to rules on removability of portable batteries

https://environment.ec.europa.eu/news/commission-adds-exemptions-portable-battery-removal-rules-2...
1•hn_acker•6m ago•0 comments

Building Maximally Efficient Cloud Environments for Long-Horizon Agents

https://www.sailresearch.com/blog/maximally-efficient-cloud-environments
1•blintz•6m ago•0 comments

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

https://github.com/oalieno/beepub
2•sheldon7337•7m ago•0 comments

Searching for the Best Silicone USB Cable

https://www.frankchiarulli.com/blog/best-silicone-usb-cable/
1•fcjr•8m ago•0 comments

A Cross-Platform Rust UI Framework with Qt

https://www.qt.io/blog/rust-ui-framework-via-bridging-technology
1•coffeeaddict1•8m ago•0 comments

The Bug Was in My Beliefs, Not My Code

https://medium.com/@alanscottencinas/the-bug-was-in-my-beliefs-not-my-code-f6bb717f952e
1•encinas88•9m ago•0 comments

Pseudpocalypse: Conjecture: To interact with the world is to identify yourself

https://dynomight.substack.com/p/pseudpocalypse
1•crescit_eundo•9m ago•0 comments

Pollution from Musk's unpermitted xAI power project hits in Black communities

https://www.reuters.com/world/americas/pollution-musks-unpermitted-xai-power-project-hits-hardest...
8•onemoresoop•9m ago•0 comments

The Tao Te Ching: The Ancient Case for Letting Go

https://yalebooks.yale.edu/2026/06/18/the-tao-te-ching-the-ancient-case-for-letting-go/
2•amemi•10m ago•1 comments

AI Took my coding. Whats left for me?

https://loopholelabs.io/blog/ai-took-my-coding-whats-left-for-me#zx81--qy10
1•axod•10m ago•0 comments

Suddenly, Hormuz Is Less Crucial Than It Was

https://paulkrugman.substack.com/p/suddenly-hormuz-is-less-crucial-than
2•SubiculumCode•10m ago•1 comments

ChatGPT Mac App ruins Chats interface by merging with Codex

https://chatgpt.com/download/
2•midnight_eclair•12m ago•1 comments

Let's build a children's public internet

https://www.theverge.com/report/962823/childrens-public-internet-child-safety-proposal
1•Brajeshwar•13m ago•0 comments

Show HN: AI-powered SEO automation for WordPress

https://saas.seamanshelp.com/
1•not_wowinter13•13m ago•0 comments

Show HN: GLP-RAM – Chrome extension reducing the browser memory appetite

https://github.com/chebykinn/glp-ram
1•mifydev•13m ago•0 comments

Integrating .NET GC in your C++ application

https://kant2002.github.io/en/dotnet/open-source/2026/07/12/dotnet-gc.html
1•kant2002•14m ago•1 comments

Show HN: Vibe-coding games with Claude, day 93: Rock Paper Scissors Lizard Spock

https://gamevibe.us/93-rock-paper-scissors-lizard-spock
2•pzxc•15m ago•0 comments

Cloudflare is now "Local First, Everywhere"

https://bsky.app/profile/jakelazaroff.com/post/3mqlpvpjswk2k
1•embedding-shape•16m ago•0 comments

Preview of Carbon's memory safety model

https://hachyderm.io/@chandlerc/116898796409614862
1•Georgelemental•17m ago•0 comments

A Longitudinal Study of AI Adoption in an Enterprise

https://arxiv.org/abs/2607.01904
1•solomatov•18m ago•0 comments

Platonic space: where cognitive and morphological patterns come from

https://thoughtforms.life/platonic-space-where-cognitive-and-morphological-patterns-come-from-bes...
1•jerlendds•20m ago•0 comments