frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
479•klaussilveira•7h ago•120 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
818•xnx•12h ago•491 comments

How we made geo joins 400× faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
40•matheusalmeida•1d ago•3 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
161•isitcontent•7h ago•18 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
158•dmpetrov•8h ago•69 comments

A century of hair samples proves leaded gas ban worked

https://arstechnica.com/science/2026/02/a-century-of-hair-samples-proves-leaded-gas-ban-worked/
97•jnord•3d ago•14 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
53•quibono•4d ago•7 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
211•eljojo•10h ago•135 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
264•vecti•9h ago•125 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
332•aktau•14h ago•158 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
329•ostacke•13h ago•86 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
415•todsacerdoti•15h ago•220 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
27•kmm•4d ago•1 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
344•lstoll•13h ago•245 comments

Delimited Continuations vs. Lwt for Threads

https://mirageos.org/blog/delimcc-vs-lwt
5•romes•4d ago•1 comments

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

https://github.com/phreda4/r3
53•phreda4•7h ago•9 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
202•i5heu•10h ago•148 comments

I spent 5 years in DevOps – Solutions engineering gave me what I was missing

https://infisical.com/blog/devops-to-solutions-engineering
116•vmatsiiako•12h ago•38 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
153•limoce•3d ago•79 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
248•surprisetalk•3d ago•32 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
28•gfortaine•5h ago•4 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
1004•cdrnsf•17h ago•421 comments

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
49•rescrv•15h ago•17 comments

I'm going to cure my girlfriend's brain tumor

https://andrewjrod.substack.com/p/im-going-to-cure-my-girlfriends-brain
74•ray__•4h ago•36 comments

Evaluating and mitigating the growing risk of LLM-discovered 0-days

https://red.anthropic.com/2026/zero-days/
38•lebovic•1d ago•11 comments

Show HN: Smooth CLI – Token-efficient browser for AI agents

https://docs.smooth.sh/cli/overview
78•antves•1d ago•59 comments

How virtual textures work

https://www.shlom.dev/articles/how-virtual-textures-really-work/
32•betamark•14h ago•28 comments

Show HN: Slack CLI for Agents

https://github.com/stablyai/agent-slack
41•nwparker•1d ago•11 comments

Claude Opus 4.6

https://www.anthropic.com/news/claude-opus-4-6
2275•HellsMaddy•1d ago•981 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
8•gmays•2h ago•2 comments
Open in hackernews

Show HN: Fall asleep by watching JavaScript load

https://github.com/sarusso/bedtime
84•sarusso•3w ago

Comments

sarusso•3w ago
I came up with this one night when I couldn’t fall asleep and was looking (waiting) for some data analysis results on a web platform, noticing that the spinner was actually making me sleepy.

I guess that when the brain is engaged in an activity, and that activity becomes boring, it creates good conditions for falling asleep.

zebreus•3w ago
This is so dumb, I love it
Perz1val•3w ago
And so boring
coldcity_again•3w ago
Twisted and great.
netsharc•3w ago
Not criticism, just explaining a problem I noticed and would make a fun exercise in CSS, or JS: When a letter appears at the end of the line, the reflow (to make sure the whole text is centered) is not smooth, of course it isn't because the text is now n+1 characters wide and the rendering engine has probably been instructed to center it without any fancy delays. I wonder how to achieve a smooth "growth" of line.

I suppose one could render the text off-screen or in an invisible DIV, measure how many letters it has on the target display, find the time to render the line (if the text shows at 2 chars/sec, 20 chars takes 10 seconds to render), measure how wide the element is with the 20 chars, and then make it a DIV where the text within it is left-justified, and the DIV's left margin shrinks at a constant rate per animation frame.

sarusso•3w ago
Oh yes, absolutely. It bothers me as well, and it strains the eyes, but you know... for such a toy project I half vibe-coded in an hour or so I didn’t bother too much. I agree it should be improved!

It could definitely be a fun exercise. Also maybe just rendering all the text in the same color as the background and then changing the colors of the characters one by one could be an interesting option (just thought about it), but I think yours would render better.

As a side note, I have to say that posting something as simple as this, where you can’t really get too attached to the project and can read feedback in a truly neutral way - instead of just pretending - is so refreshing...

Thanks for your comment!

sublinear•3w ago
If it was written by a human, none of this would be javascript except the next button click handler. I don't know what is going on that it mentions a service worker at the end. That's wild.

Anyway the CSS is missing a transition for the width. That's why it's jerky.

johnisgood•3w ago
Yeah, you could make this completely JS-free.
Jeremy1026•3w ago
At what point does it start chanting "when you hear a bell, you'll think you're a duck."
sarusso•3w ago
Feel free to send a PR! But let's parametrize the animal :)
stronglikedan•3w ago
> The time the loader spins, as well as the speed at which the text appears, increases as you go through the story, so that you ideally never reach the end (unless you really, really want to).

Did you mean to say that the "speed at which the text appears" decreases, or am I misunderstanding?

Jeremy1026•3w ago
It's tricky. Because it's both. The speed at which the text appears decreases, but the time the loader spins increases. OP should have broken these into two separate thoughts, but chose to combine them and words got wonky.
sarusso•3w ago
Exactly, I made a mistake when writing it down. Thanks to the original commenter for catching it and for your suggestion!

I’ve now updated it to: "As you go through the story, the time the loader spins increases while the speed at which the text appears decreases"

sandinmyjoints•3w ago
Excellent noticing.
ameliaquining•3w ago
What's the Service Worker for? It doesn't appear to do anything.
sarusso•3w ago
The skeleton provided by ChatGPT to get the page to load fullscreen as a PWA included it, so I just kept it. “Maybe in future”... But it’s unnecessary, I should have removed it.
smusamashah•3w ago
Please make the background fully black. I am trying to bore to sleep and the background is bothering me a bit in the dark room. Also, add a full screen button so that I don't see anything on my phone at all except the words appearing slowly. May be even remove the next button and go to next part on touch. Also may be the words should appear slower too.
VladVladikoff•3w ago
I can’t think of a more terrible way to fall asleep.
johnisgood•3w ago
I know right. It is not only counterintuitive, but psychologically incoherent as to how sleep initiation actually works.

A loading screen is psychologically linked to anticipatory arousal and goal-oriented expectancy, which activates the sympathetic nervous system. That is the opposite of what sleep requires, which depends on parasympathetic dominance and cognitive disengagement. Using a "loader" for falling asleep primes vigilance and temporal monitoring instead of relaxation, making it conceptually misaligned with sleep onset mechanisms.

Just my 2 cents.

sarusso•3w ago
That's interesting. How would you explain that for someone works then? At least on me, the loader does not trigger vigilance and temporal monitoring (I think). Instead, it "allows" my brain to focus on something else, which gets boring very soon, but that at the same is engaging enough to keep doing it. This kind of interactive yet very slow dynamic helps me stop trains of thoughts and relax.

It does not replace healthy bedtime routines of course, and it never meant to be a serious sleeping aid, but more of an experiment - and partially a joke. Maybe the premise should have been to help stop a spinning mind rather than to fall asleep...

effnorwood•3w ago
Goodbye sound machine!
exodust•3w ago
I presume there's no actual loading happening, it's just a timer. Real loading spinners aren't fun, but fake ones are next level bad. Not sure why anyone would deliberately put themselves through this experience.
yincrash•3w ago
To fall asleep, presumably
exodust•3w ago
in front of a screen? does the user tuck themselves in bed with lights off and suspend the device above their face?
caminanteblanco•3w ago
This is unreasonably effective, and I'm not entirely sure why

Thank you so much, an instant 'Add to Home Screen' from me

sarusso•3w ago
Happy to hear! It doesn't replace healthy bedtime routines of course, and it's halfway between an experiment and a joke, but still... :)
caminanteblanco•3w ago
No, not at all, but sometimes we need all the help we can get
spyridonas•3w ago
As a proud European citizen, I visited your site… and… wait… WHERE IS MY SACRED COOKIE BANNER?? This is outrageous. Are you seriously trying to serve me content without first psychologically torturing me with 47 sliders and a philosophy essay about legitimate interest?? I checked the dev tools… zero cookies?? …excuse me?? Are you even trying to be GDPR compliant or are you just openly mocking the entire European project??

Your project is awesome by the way

_ink_•3w ago
This would have the opposite effect on me. I can get unreasonably mad about slow / sluggish internet connections. This would keep me wake for a long time.
maybewhenthesun•3w ago
Same here. I can already feel the adrenaline increasing ... :-P
johnisgood•3w ago
Exactly. I elaborated on this here: https://news.ycombinator.com/item?id=46599477
DanielScharf•3w ago
THat's great lolll