frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

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

https://openciv3.org/
624•klaussilveira•12h ago•182 comments

The Waymo World Model

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

What Is Ruliology?

https://writings.stephenwolfram.com/2026/01/what-is-ruliology/
32•helloplanets•4d ago•24 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
109•matheusalmeida•1d ago•27 comments

Jeffrey Snover: "Welcome to the Room"

https://www.jsnover.com/blog/2026/02/01/welcome-to-the-room/
9•kaonwarb•3d ago•7 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
40•videotopia•4d ago•1 comments

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

https://github.com/valdanylchuk/breezydemo
219•isitcontent•13h ago•25 comments

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

https://github.com/pydantic/monty
210•dmpetrov•13h ago•103 comments

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

https://vecti.com
322•vecti•15h ago•143 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
369•ostacke•18h ago•94 comments

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

https://github.com/microsoft/litebox
358•aktau•19h ago•181 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
477•todsacerdoti•20h ago•232 comments

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

https://eljojo.github.io/rememory/
272•eljojo•15h ago•160 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
402•lstoll•19h ago•271 comments

Dark Alley Mathematics

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

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
14•jesperordrup•2h ago•6 comments

Delimited Continuations vs. Lwt for Threads

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

Start all of your commands with a comma

https://rhodesmill.org/brandon/2009/commands-with-comma/
3•theblazehen•2d ago•0 comments

PC Floppy Copy Protection: Vault Prolok

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

Was Benoit Mandelbrot a hedgehog or a fox?

https://arxiv.org/abs/2602.01122
12•bikenaga•3d ago•2 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
244•i5heu•15h ago•188 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
52•gfortaine•10h ago•21 comments

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

https://infisical.com/blog/devops-to-solutions-engineering
140•vmatsiiako•17h ago•62 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
280•surprisetalk•3d ago•37 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/
1058•cdrnsf•22h ago•433 comments

Why I Joined OpenAI

https://www.brendangregg.com/blog/2026-02-07/why-i-joined-openai.html
132•SerCe•8h ago•117 comments

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

https://github.com/phreda4/r3
70•phreda4•12h ago•14 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...
28•gmays•7h ago•11 comments

Learning from context is harder than we thought

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

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
63•rescrv•20h ago•22 comments
Open in hackernews

Verlet Integration and Cloth Physics Simulation (2022)

https://pikuma.com/blog/verlet-integration-2d-cloth-physics-simulation
42•atan2•7mo ago

Comments

rahkiin•7mo ago
(2022)
pixelpoet•7mo ago
The article says that Euler integration is commonly used in games, and I'm not sure that's true; it's been popularised in gamedev since many years that, and I quote, "if you use Euler integration, then you're a bloody idiot"[0].

BTW the same article series points out that using irregular timesteps is also a bad idea.

[0] Since gone offline, and without the famous quote, but there's an archived copy here: https://vodacek.zvb.cz/archiv/680.html

atan2•7mo ago
Writing that programmers that use Euler instead of RK4 are "bloddy idiots" might work well to get some laughs in a blog post when the author is trying to stress how RK4 is more accurate and stable than the alternative, but there are cases where real-time applications (especially on older machines and older consoles) could not afford the overhead of RK4 and Euler was gave good-enough for what they needed.
Y_Y•7mo ago
Forward Euler is very terrible and can give you wildly wrong answers after just a few steps. If you think higher Runge-Kutta and fancy methods are too complex/expensive you do have cheap and stable options, like implicit euler or leapfrog. It's very likely that your numeric integrator is going to be a hot part of your game loop, it's worth doing ten minutes of research, IMHO.
kergonath•7mo ago
> like implicit euler or leapfrog

Leapfrog is so easy to implement, as well. It might require a smaller timestep than some fancy techniques but it is very cheap per timestep. And given that it is accurate enough for statistical Physics simulations, so about 2 orders of magnitude more accurate than it needs to be for a game.

coldburst•7mo ago
Symplectic Euler is often a good compromise. It's as simple as forward Euler but has better energy conservation.
debugnik•7mo ago
Most gamedevs haven't really researched numerical integration, they've just heard that the naive method, which is very often hand rolled outside of physics engines, is Euler; and that particle simulations should use Verlet because reasons. (The inner reason being that the first Hitman game used Verlet and they published a paper about it.)
magicalhippo•7mo ago
> The inner reason being that the first Hitman game used Verlet and they published a paper about it.

Here's[1] the paper for those who are interested.

[1]: https://www.cs.cmu.edu/afs/cs/academic/class/15462-s13/www/l...

atemerev•7mo ago
Using irregular timesteps _might_ not be a bad idea if you know what you are doing (but probably not for the usual kinematic simulations). See Dynamic Monte Carlo, Gillespie algorithm, First Reaction method etc (these are mostly the same thing).
cyber_kinetist•7mo ago
The most common integration method in physics engines for games is semi-implicit Euler, which the article is implying from the source code. I think you are confused with explicit (forward) Euler, which nobody really uses.
Sharlin•7mo ago
For those not in the know (I had to double-check myself), the difference between explicit and semi-implicit Euler is simply the order in which position and velocity are updated.

Explicit updates position with the old velocity:

    particle.position += particle.velocity * dt;
    particle.velocity += acceleration * dt;
Semi-implicit (symplectic) with the new velocity:

    particle.velocity += acceleration * dt;
    particle.position += particle.velocity * dt;
iKlsR•7mo ago
Misc comment but I find it odd that the author seemingly intentionally killed those old posts, you couldn't google "game physics" a decade ago and not see his timestep post which helped a lot. Glad I run my own archiver.