frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

McCLIM and 7GUIs – Part 1: The Counter

https://turtleware.eu/posts/McCLIM-and-7GUIs---Part-1-The-Counter.html
1•ramenbytes•1m ago•0 comments

So whats the next word, then? Almost-no-math intro to transformer models

https://matthias-kainer.de/blog/posts/so-whats-the-next-word-then-/
1•oesimania•2m ago•0 comments

Ed Zitron: The Hater's Guide to Microsoft

https://bsky.app/profile/edzitron.com/post/3me7ibeym2c2n
2•vintagedave•5m ago•1 comments

UK infants ill after drinking contaminated baby formula of Nestle and Danone

https://www.bbc.com/news/articles/c931rxnwn3lo
1•__natty__•6m ago•0 comments

Show HN: Android-based audio player for seniors – Homer Audio Player

https://homeraudioplayer.app
1•cinusek•6m ago•0 comments

Starter Template for Ory Kratos

https://github.com/Samuelk0nrad/docker-ory
1•samuel_0xK•8m ago•0 comments

LLMs are powerful, but enterprises are deterministic by nature

1•prateekdalal•11m ago•0 comments

Make your iPad 3 a touchscreen for your computer

https://github.com/lemonjesus/ipad-touch-screen
2•0y•16m ago•1 comments

Internationalization and Localization in the Age of Agents

https://myblog.ru/internationalization-and-localization-in-the-age-of-agents
1•xenator•17m ago•0 comments

Building a Custom Clawdbot Workflow to Automate Website Creation

https://seedance2api.org/
1•pekingzcc•19m ago•1 comments

Why the "Taiwan Dome" won't survive a Chinese attack

https://www.lowyinstitute.org/the-interpreter/why-taiwan-dome-won-t-survive-chinese-attack
1•ryan_j_naughton•20m ago•0 comments

Xkcd: Game AIs

https://xkcd.com/1002/
1•ravenical•21m ago•0 comments

Windows 11 is finally killing off legacy printer drivers in 2026

https://www.windowscentral.com/microsoft/windows-11/windows-11-finally-pulls-the-plug-on-legacy-p...
1•ValdikSS•22m ago•0 comments

From Offloading to Engagement (Study on Generative AI)

https://www.mdpi.com/2306-5729/10/11/172
1•boshomi•24m ago•1 comments

AI for People

https://justsitandgrin.im/posts/ai-for-people/
1•dive•25m ago•0 comments

Rome is studded with cannon balls (2022)

https://essenceofrome.com/rome-is-studded-with-cannon-balls
1•thomassmith65•30m ago•0 comments

8-piece tablebase development on Lichess (op1 partial)

https://lichess.org/@/Lichess/blog/op1-partial-8-piece-tablebase-available/1ptPBDpC
2•somethingp•31m ago•0 comments

US to bankroll far-right think tanks in Europe against digital laws

https://www.brusselstimes.com/1957195/us-to-fund-far-right-forces-in-europe-tbtb
3•saubeidl•32m ago•0 comments

Ask HN: Have AI companies replaced their own SaaS usage with agents?

1•tuxpenguine•35m ago•0 comments

pi-nes

https://twitter.com/thomasmustier/status/2018362041506132205
1•tosh•38m ago•0 comments

Show HN: Crew – Multi-agent orchestration tool for AI-assisted development

https://github.com/garnetliu/crew
1•gl2334•38m ago•0 comments

New hire fixed a problem so fast, their boss left to become a yoga instructor

https://www.theregister.com/2026/02/06/on_call/
1•Brajeshwar•39m ago•0 comments

Four horsemen of the AI-pocalypse line up capex bigger than Israel's GDP

https://www.theregister.com/2026/02/06/ai_capex_plans/
1•Brajeshwar•40m ago•0 comments

A free Dynamic QR Code generator (no expiring links)

https://free-dynamic-qr-generator.com/
1•nookeshkarri7•41m ago•1 comments

nextTick but for React.js

https://suhaotian.github.io/use-next-tick/
1•jeremy_su•42m ago•0 comments

Show HN: I Built an AI-Powered Pull Request Review Tool

https://github.com/HighGarden-Studio/HighReview
1•highgarden•42m ago•0 comments

Git-am applies commit message diffs

https://lore.kernel.org/git/bcqvh7ahjjgzpgxwnr4kh3hfkksfruf54refyry3ha7qk7dldf@fij5calmscvm/
1•rkta•45m ago•0 comments

ClawEmail: 1min setup for OpenClaw agents with Gmail, Docs

https://clawemail.com
1•aleks5678•52m ago•1 comments

UnAutomating the Economy: More Labor but at What Cost?

https://www.greshm.org/blog/unautomating-the-economy/
1•Suncho•58m ago•1 comments

Show HN: Gettorr – Stream magnet links in the browser via WebRTC (no install)

https://gettorr.com/
1•BenaouidateMed•59m ago•0 comments
Open in hackernews

Interactive Double Pendulum Playground

https://theabbie.github.io/DoublePendulum/
66•melector•4mo ago

Comments

Evidlo•4mo ago
Anyone else feel like the pendulum motion seems off? Maybe the default mass settings are weird, but the movement just does not look physical to me.
navtoj•4mo ago
There's a "How To Use?" section on the GitHub repo page.

https://github.com/theabbie/DoublePendulum?tab=readme-ov-fil...

WithinReason•4mo ago
Yes I think the physics is wrong
kookybakker•4mo ago
When you bring up the lower mass and let it go, it seems to push the upper mass away, which should never happen. This whole site smells off vibe coded jank.
probabletrain•4mo ago
> This whole site smells off vibe coded jank.

A vibe-coded double pendulum sim should produce a much better result than the physics on this page. Claude Code made this just now off one prompt, the physics are much better: https://keir.is/swinging

Evidlo•4mo ago
I don't think that's fair. Also the project is 4 years old so the timeline doesn't really work out for being vibe-coded.
mihau•4mo ago
Yep, it's just bad. Physics feels totally off.
magicalhippo•4mo ago
It's way off. My first guess was that there was something wrong with the physics code, but after carefully checking against this[1] derivation of the Hamiltonian it seemed fine, and once I wrapped my head around the JavaScript the RK4 integration[2] checked out as well.

So, what else might be wrong I wondered. Well, it seems to move in the wrong direction... so I checked how the pendulum is displayed. And sure enough, I think there's a sign error:

  getUpperBob() {
     const { x0, y0, ang0, l0 } = this;
     const { x, y } = this.calculateBobPosition(x0, y0, ang0, l0);
     return { x, y };
   }

   getLowerBob() {
     const upperBobPos = this.getUpperBob();
     const { ang1, l1 } = this;
     const { x, y } = this.calculateBobPosition(
    upperBobPos.x,
    upperBobPos.y,
    -ang1,
    l1
     );
     return { x, y };
   }
Note how the upper bob uses ang0 while the lower one has -ang1. Meanwhile the physics derivation assumes both angles are against the vertical, so have same sign.

Changing -ang1 to ang1 does indeed make the pendulum move in a natural way, except now dragging it is flipped. Ie you drag it left and it moves right. Another sign error in setLowerBobPos. Fixing that as well it now works as I'd expect.

[1]: https://dassencio.org/46

[2]: https://lpsa.swarthmore.edu/NumInt/NumIntFourth.html##sectio...

Evidlo•4mo ago
Just made a PR
magicalhippo•4mo ago
I considered it, but had to go to work and I figured since the last commit was over 4 years ago it might just sit there idly, so I skipped it.

But no, PR was merged in short order. Lesson learned.

cabirum•3mo ago
Hn shows this story is 3 hours old, yet your GitHub PR was made 2 days ago, linking here?
pansa2•3mo ago
The story has been reposted to HN via the “second-chance pool”, which resets the dates.

https://news.ycombinator.com/item?id=26998308

isoprophlex•4mo ago
This is hilariously bad.

If you want to see what a real physically sensible double pendulum sim looks like:

https://www.myphysicslab.com/pendulum/double-pendulum-en.htm...

gus_massa•4mo ago
I don't see the difference. The motion in the version you linked is slower but I guess it can be fixed changing g. What are the visible errors in the main post?

EDIT: I just noticed someone found an error and apparently it's fixed now.

greenbit•4mo ago
Could use a way to set some friction
japhyr•3mo ago
I built a physical version of this back when I was teaching HS math and science. I used two bicycle hubs, and attached metal arms to each. I put an LED on the second hub, and the end of the second arm.

For the demonstration, I'd have it under a blanket in the front of the room when students came in. I'd turn the lights out, only turn the outer LED on, and set it in motion. Then I'd cover it up, turn the lights on, and ask students to sketch what they thought was under the blanket. Then I'd turn the lights out again, turn both LEDs on, and set it in motion again.

Most people were able to sketch something pretty close to a double pendulum after that second demonstration. I also set up a camera and did some time lapses, and got pictures that look just like this online demo.

Super fun project, and students loved it! :)

close04•3mo ago
The motion is still off, as it was 2 days ago [0] in the previous submission. There's something that just doesn't look right, and some particular setups trigger very unrealistic behaviors.

Not sure if this got a second lease on life from the mods after clearing the old comments and resetting the submission date to today, or how did it make the front page again.

[0] https://news.ycombinator.com/from?site=theabbie.github.io

magicalhippo•3mo ago
If you tried it when it was broken, could it be you're running the old version? That is, clear your cache and try again?

If not, describe what feels off, as it feels fine to my untrained eyes after the sign fix.

JKCalhoun•3mo ago
Love to see someone do this for a harmonigraph [1].

[1] https://en.wikipedia.org/wiki/Harmonograph

(I contributed to this Wikipedia article over two decades ago!)

sim04ful•3mo ago
Could someone explain why turning off gravity makes it path so uniform ?
bheadmaster•3mo ago
Because of the constant-length rigid connections, they start behaving like celestial objects in perfect orbit.
bmacho•3mo ago
The system is periodical; not counting the absolute angle but the velocities, angular velocities, and the angle at the joint are all periodical functions.

When the angle at the joint is 180° the Energy and Angular momentum determines v_1 and v_2, the velocities of the masses. It is known that Energy and Angular momentum both conserve.

Therefore the system will play out the same after states when the inner joint is 180°, and all the parameters will be periodical between 2 such states.

You can observe this in the demonstration in TFA: set gravity to 0, and observe how the graph rotates, especially the furthest points from the origin (where the angle at the joint is 180°).

edit: there are probably 2 different solutions for when the joint angle is 180°? I've found a graph where one furthest place from the origin is really pointy, and then the other is rather round.