frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Igalia, Servo, and the Sovereign Tech Fund

https://www.igalia.com/2025/10/09/Igalia,-Servo,-and-the-Sovereign-Tech-Fund.html
94•robin_reala•1h ago•10 comments

Show HN: I invented a new generative model and got accepted to ICLR

https://discrete-distribution-networks.github.io/
190•diyer22•5h ago•23 comments

PSA: Always use a separate domain for user content

https://www.statichost.eu/blog/google-safe-browsing/
53•ericselin•46m ago•43 comments

OpenGL is getting mesh shaders as well, via GL_EXT_mesh_shader

https://www.supergoodcode.com/mesh-shaders-in-the-current-year/
19•pjmlp•2h ago•1 comments

A small number of samples can poison LLMs of any size

https://www.anthropic.com/research/small-samples-poison
1015•meetpateltech•22h ago•382 comments

Ohno Type School

https://ohnotype.co/blog/ohno-type-school-a
71•tobr•4d ago•28 comments

My approach to building large technical projects (2023)

https://mitchellh.com/writing/building-large-technical-projects
216•mad2021•10h ago•29 comments

Parallelizing Cellular Automata with WebGPU Compute Shaders

https://vectrx.substack.com/p/webgpu-cellular-automata
34•ibobev•4h ago•3 comments

Nobel Peace Prize 2025: María Corina Machado

https://www.nobelprize.org/prizes/peace/2025/summary/
373•pykello•5h ago•363 comments

Weave (YC W25) is hiring a founding AI engineer

https://www.ycombinator.com/companies/weave-3/jobs/SqFnIFE-founding-ai-engineer
1•adchurch•2h ago

I Switched from Htmx to Datastar

https://everydaysuperpowers.dev/articles/why-i-switched-from-htmx-to-datastar/
204•ksec•7h ago•132 comments

Python 3.14 is here. How fast is it?

https://blog.miguelgrinberg.com/post/python-3-14-is-here-how-fast-is-it
629•pjmlp•1d ago•448 comments

Htmx, Datastar, Greedy Developer

https://drshapeless.com/blog/posts/htmx,-datastar,-greedy-developer.html
21•KolmogorovComp•3h ago•1 comments

Bringing Desktop Linux GUIs to Android: The Next Step in Graphical App Support

https://www.linuxjournal.com/content/bringing-desktop-linux-guis-android-next-step-graphical-app-...
9•sipofwater•3h ago•4 comments

Static Bundle Object: Modernizing Static Linking

https://medium.com/@eyal.itkin/static-bundle-object-modernizing-static-linking-f1be36175064
18•ingve•2d ago•10 comments

Examples Are the Best Documentation

https://rakhim.exotext.com/examples-are-the-best-documentation
253•Bogdanp•18h ago•87 comments

An MVCC-like columnar table on S3 with constant-time deletes

https://www.shayon.dev/post/2025/277/an-mvcc-like-columnar-table-on-s3-with-constant-time-deletes/
15•shayonj•3d ago•1 comments

My first contribution to Linux

https://vkoskiv.com/first-linux-patch/
611•vkoskiv•4d ago•72 comments

A Story About Bypassing Air Canada's In-Flight Network Restrictions

https://ramsayleung.github.io/en/post/2025/a_story_about_bypassing_air_canadas_in-flight_network_...
72•samray•6h ago•56 comments

Multi-Core by Default

https://www.rfleury.com/p/multi-core-by-default
45•kruuuder•7h ago•18 comments

Figure 03, our 3rd generation humanoid robot

https://www.figure.ai/news/introducing-figure-03
370•lairv•1d ago•363 comments

Show HN: I've built a tiny hand-held keyboard

https://github.com/mafik/keyer
362•mafik•22h ago•99 comments

LLMs are mortally terrified of exceptions

https://twitter.com/karpathy/status/1976077806443569355
271•nought•20h ago•121 comments

A built-in 'off switch' to stop persistent pain

https://penntoday.upenn.edu/news/select-neurons-brainstem-may-hold-key-treating-chronic-pain
179•gmays•17h ago•80 comments

Origami Patterns Solve a Major Physics Riddle

https://www.quantamagazine.org/origami-patterns-solve-a-major-physics-riddle-20251006/
4•westurner•3d ago•0 comments

The Prairie Farmers Preserving the Most Threatened Ecosystem – Forever

https://reasonstobecheerful.world/prairie-farmers-preserve-most-threatened-ecosystem-forever/
4•PaulHoule•15m ago•0 comments

Subway Builder: A realistic subway simulation game

https://www.subwaybuilder.com/
269•0xbeefcab•20h ago•115 comments

A beginner's guide to deploying LLMs with AMD on Windows using PyTorch

https://gpuopen.com/learn/pytorch-windows-amd-llm-guide/
92•beckford•4d ago•26 comments

Interactive Double Pendulum Playground

https://theabbie.github.io/DoublePendulum/
51•melector•2d ago•18 comments

ScribeOCR – Web interface for recognizing text, OCR, & creating digitized docs

https://github.com/scribeocr/scribeocr
89•atomicnature•4d ago•13 comments
Open in hackernews

Interactive Double Pendulum Playground

https://theabbie.github.io/DoublePendulum/
51•melector•2d ago

Comments

Evidlo•2d 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•2d ago
There's a "How To Use?" section on the GitHub repo page.

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

WithinReason•2d ago
Yes I think the physics is wrong
kookybakker•2d 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•2d 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•1d 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•2d ago
Yep, it's just bad. Physics feels totally off.
magicalhippo•2d 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•1d ago
Just made a PR
magicalhippo•1d 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•3h ago
Hn shows this story is 3 hours old, yet your GitHub PR was made 2 days ago, linking here?
pansa2•1h 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•2d 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•1d 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•4h ago
Could use a way to set some friction
japhyr•3h 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•2h 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•1h 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.