frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

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

https://openciv3.org/
553•klaussilveira•10h ago•157 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
876•xnx•15h ago•532 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
79•matheusalmeida•1d ago•18 comments

What Is Ruliology?

https://writings.stephenwolfram.com/2026/01/what-is-ruliology/
8•helloplanets•4d ago•3 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
13•videotopia•3d ago•0 comments

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

https://github.com/valdanylchuk/breezydemo
191•isitcontent•10h ago•24 comments

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

https://github.com/pydantic/monty
190•dmpetrov•10h ago•84 comments

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

https://vecti.com
303•vecti•12h ago•133 comments

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

https://github.com/microsoft/litebox
347•aktau•16h ago•169 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
347•ostacke•16h ago•90 comments

Dark Alley Mathematics

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

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
444•todsacerdoti•18h ago•226 comments

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

https://eljojo.github.io/rememory/
242•eljojo•13h ago•148 comments

PC Floppy Copy Protection: Vault Prolok

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

Delimited Continuations vs. Lwt for Threads

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

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
379•lstoll•16h ago•258 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
225•i5heu•13h ago•171 comments

Why I Joined OpenAI

https://www.brendangregg.com/blog/2026-02-07/why-i-joined-openai.html
103•SerCe•6h ago•84 comments

Learning from context is harder than we thought

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

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

https://infisical.com/blog/devops-to-solutions-engineering
131•vmatsiiako•15h ago•56 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
41•gfortaine•8h ago•11 comments

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

https://github.com/phreda4/r3
63•phreda4•9h ago•11 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...
20•gmays•5h ago•3 comments

Show HN: ARM64 Android Dev Kit

https://github.com/denuoweb/ARM64-ADK
14•denuoweb•1d ago•2 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
262•surprisetalk•3d ago•35 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/
1035•cdrnsf•19h ago•428 comments

Zlob.h 100% POSIX and glibc compatible globbing lib that is faste and better

https://github.com/dmtrKovalenko/zlob
6•neogoose•2h ago•3 comments

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
56•rescrv•18h ago•19 comments

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

https://docs.smooth.sh/cli/overview
85•antves•1d ago•63 comments

WebView performance significantly slower than PWA

https://issues.chromium.org/issues/40817676
20•denysonique•6h ago•3 comments
Open in hackernews

Snow Simulation Toy

https://potch.me/2026/snow-simulation-toy.html
172•surprisetalk•2w ago

Comments

throwaway290•1w ago
Powder toy deserves a mention here
TruffleLabs•1w ago
This is fun to see :) thanks!
ygra•1w ago
Oh, that's something I also did in QBasic ages ago. I since lost the source code, but it basically worked by querying the screen from bottom to top, finding snow pixels (white) and moving them down, unless there was an obstacle. The initial snow on the ground (and the snowman) were using a different color that was almost white so it wouldn't detect as snow. It worked fairly well in 320×200 at the time.

I've tried the same approach in Turbo Pascal with BGI in the hopes of having a faster language and higher resolution available. It turned out to be quite a bit slower, likely because drawing and querying pixels was a bit more involved when using an adapter layer like BGI.

A few weeks ago I tried rewriting all that in TypeScript for fun and also trying to integrate it as an easter-egg with our graph drawing library (which renders with SVG) and first had to figure out how to efficiently support arbitrary obstacles that are initially SVG as well as a potentially changing viewport of the whole scene. I got sidetracked and didn't finish it, but proper collision handling was so easy back then (just look at the pixel color), but now with vector graphics and reading pixels being a very slow operation in many cases, it was surprisingly complicated.

tetris11•1w ago
I had to check if the author was Alphapapa
petargyurov•1w ago
Love it :)

I also rate the author's slogan: "make things, not too much, mostly crap". A reference to Michael Pollan's "eat food, not too much, mostly veg".

kleiba•1w ago
Why do some snowflakes stop in mid-air?
wongarsu•1w ago
I haven't looked at the code, but I suspect that those flakes have hit another snowflake and are now considered "fallen" snow. And for fallen snow there's probably an optimization that only x% of particles are updated every step
timbit42•1w ago
I wrote a similar snow app a couple of years ago in Logitech Modula-2 for DOS. I used an array to hold the flake data. If a flake stopped when it hit another flake, it would go again on the next round because the flake it hit would also keep going.
bananaboy•1w ago
Very nice! I made a version of this effect for a little NYE thing years ago [0] (source here [1]). I first saw this effect in Iguana's Blastersound BBS intro [2]. I always thought that intro looked slick!

[0] https://www.horsedrawngames.com/nye

[1] https://bitbucket.org/izzo/hdgnye

[2] https://youtu.be/qPOoU44GU50

luismedel•1w ago
I always loved that intro too [0] :-) I implemented the effect in Pascal back then.

FYI, you can download the source code [1].

[0] https://news.ycombinator.com/item?id=31311461 [1] http://ftp.lanet.lv/ftp/mirror/x2ftp/msdos/programming/iguan...

Kim_Bruning•1w ago
Very pretty!
Kim_Bruning•1w ago
Here's my variant on the same toy idea, using a CA, generated trees, and a few other tricks.

https://vps.kimbruning.nl/snow/2025/snow_singlecore_scalable...

Every year during snow season I try to make it faster/more flakes. After this year though in chrome, I think it'd be whiteout conditions ;-) (it'll auto-scale to try to match your system performance. Best effects in a clean browser with not too much else running/open at the same time)

davidwritesbugs•1w ago
The snowflakes are all flocking together! Can you have a murmuration of snowflakes?
MarginalGainz•1w ago
The nostalgia is real. Reminds me of the 'Falling Sand' game era.

For anyone trying to scale this in JS: the bottleneck usually isn't the rendering, but the object overhead/GC.

If you switch from an object-per-flake model to a single flat Float32Array for positions/velocities (Data-Oriented Design), you can typically push 10x more particles before hitting the frame budget. Keeping the memory layout cache-friendly makes a massive difference even in a high-level managed environment like V8.

Rendello•1w ago
The game that impresses me with its performance is Noita, they managed to balance an "every pixel is simulated" physics engine and have it run quite well.
gloosx•1w ago
The real bottleneck is doing it on the CPU, if you switch to WebGPU you can simulate millions of particles simultaneously in just few milliseconds per frame.
101008•1w ago
Love everything about this. The idea of just do something because it's enjoyable for yourself, the retro style, the toyish-aspect...
bartkappenburg•1w ago
I feel like playing lemmings now!
GavinAnderegg•1w ago
I loved Christmas Lemmings so much back in the day! The snowfall visualization and the little Santa lemming clearing it. I made a much less impressive snowfall demo a while back based on that (minus the clearing lemming, because I always wanted to watch the snow pile up). https://anderegg.ca/projects/flake/
olivierestsage•1w ago
Seeing this really makes it hit home how rarely you find this sort of joy in tech anymore. This reminds me of when computers still seemed fun and I wanted to learn more about them
grugdev42•1w ago
Brilliant!

Did anyone else ramp up all the settings to try and fill the screen with snow?

I saw a cool "bubbling" effect. Some of the air gaps by the trees would bubble up as the snow pilled on.

btbuildem•1w ago
Cool toy! As an avid snow enjoyer, I would like to point out that wind and snow interact in all kinds of interesting ways, and it would be super cool to see some of those captured in future iterations of a toy like that.

One of those is that snow doesn't necessarily get packed onto the wind-exposed side; those features tend to stay bare. The lee side is where the snow will accumulate, but with that too depends on the features. Tall / steep / abrupt features will tend to generate areas with no snow at all directly behind them. Gentle downwind slopes will accumulate massive snow drifts. This all of course depends on the quality of the snow itself, roughly related to the air temperature at the time of precipitation but not solely that.

A quick little tweak to add to the control panel could be "stickiness" - how much the snow pours vs sticks to itself. Cheap one and would give the toy some behavioural variation.

larodi•1w ago
Here’s my take with some dither and vector fields.

http://nouveauxhivers.dub4powder.xyz/

an invitation for event I promoted recently.

Press ? for some stats on desktop.

Even though coding was agent-assisted (not fully vibed though), putting it together took two weeks something to get where it is and to see it working on all mobile. I also have 15+ years of precious experience with JS, but zero with webgl.

Kim_Bruning•1w ago
That's amazing! I'm going to need to up my game next year.
jcynix•1w ago
Impressive graphics! But the music loop is even better in my ears :-)
1a527dd5•1w ago
Harkens back to https://boredhumans.com/falling_sand.php
qingcharles•1w ago
I wrote a little game like this in the 80s because I wanted a game that used two mice. There were two openings for sand at the top and two exits at the bottom and the goal was to get as much sand in your bin by redirecting everything. You drew little platforms (left button) like in the one you linked to and could erase each other's platforms (right button).
bennyp101•1w ago
I did something similar[0] in JS on a Christmas eve eve a while back - needs to run via a server now as Web Workers cannot be loaded from file:// anymore.

python3 -m http.server 8080

[0] https://github.com/benperiton/SnowCam

Zenst•1w ago
If you take it to the max (rate, speed) with 0 melt, let it fill up, then turn melt to the max - you get reverse snow falling up.
jagged-chisel•1w ago
Inverse even. It’s certainly amusing!
MattDamonSpace•1w ago
Evaporation?
dylan604•1w ago
That's not snow falling up. The pixels moving up are blue. It's more like the air is being pushed out like bubbles from the pressure of the snow.
eezing•1w ago
Addictive
quietsegfault•1w ago
I liked this! Very fun to play with when ignoring meetings.
Rendello•1w ago
I used to spend hours in The Powder Toy as a teen (it's also how I learned about Conway's GoL):

https://powdertoy.co.uk/

Now I also play Noita, which also has the same powder-based physics:

https://store.steampowered.com/app/881100/Noita/

talkingtab•1w ago
I'm learning about shadertoy so immediately went here:

https://www.shadertoy.com/view/tfKfRw

But no snow piling up which is nice!

Rendello•1w ago
I never did the collision physics, but I used to love making graphical demos with "falling sand"-type simulations.

One of the first was "rain" [1] by semi-randomly walking blue pixels down the screen and not clearing the buffer. But then the screen would go all blue, so I made them pop up to the top and do the same walk but as black pixels. It came out as a rain-on-the-window effect:

https://x.com/Rendello_/status/1231426590380318729

Eventually, I started just using one pixel and moving it really fast to render scenes. This is basically what raster rending does anyway, but instead of doing every pixel, the random walk will only hit a subset of pixels every frame and will make a really cool scratchy effect.

In PICO-8: https://x.com/Rendello_/status/1258243668626063361

In TempleOS: https://www.youtube.com/watch?v=W-wpUcDFZaI

darknavi•1w ago
Porting it to TempleOS sounds like a fun journey
Rendello•1w ago
It's how I learned lower level programming. TempleOS is a lot of fun but the community around it is very 4chan/kiwifarms. I never jived with that.

During the pandemic I was showing my buddies the game I'd made in TempleOS on Discord, and after a bit the conversation moved on and I was just playing idly, and my character died. The screen went black and error text showed up. My buddy interrupted the conversation with "wait, does the game just segfault when you die!?".

"Of course not. The game didn't segfault, the operating system did." The bug lasted for months and would just kill the entire OS every time you died. It was a lot of fun.

CGMthrowaway•1w ago
This is a toy, and fun.

As a bc skiier though, an actual snow simulator, on real topos, with wind/rate/quality/temp/sun sliders would be useful for the study of snowpack formation and avalanche conditions.

PrinsWes•1w ago
Neat to see and it takes me back years when I needed to make a similar effect for a Christmas greeting for Canon in Flash. It needed to be able to run in Flash and on sluggish office computers of the time (16 years ago - 2010). I eventually settled on a pooled particle system with three bitmaps:

Display bitmap - the visible output Collision bitmap - a grayscale heightmap tracking accumulated snow Snow sprite - the particle graphic with soft/transparent edges

When a particle hit the collision bitmap (simple pixel check), I stamped its graphic onto both the display bitmap and added it to the collision bitmap. Using grayscale for collision meant soft-edged sprites contributed proportionally to the heightmap, preventing the soft/transparent edges from causing unrealistic fast accumulation. Using stamping meant that we did not have to keep all the collided particles in memory and so the user could spam away snow particles with their mouse to their hearts content (few 100's at a time).

Edit: even more fun to see all the different ways to solve the same 'problem'. From simple to quite complex!

ninju•1w ago
I like that the wind can change directions by setting the value to a negative number
aabbcc1241•1w ago
I like the website, sharing interesting creation, and linking to other interesting websites made by the peers.

Is there a neural/positive term to describe this kind of website? (beside call it "old school" or "good old day"?)

aabbcc1241•1w ago
Some naming (suggested by grok) are indie website, handmade web, or digital garden.