frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Photos taken inside musical instruments

https://www.dpreview.com/photography/5400934096/probe-lenses-and-focus-stacking-the-secrets-to-incredible-photos-taken-inside-instruments
482•worik•9h ago•25 comments

Valkey Turns One: Community fork of Redis

https://www.gomomento.com/blog/valkey-turns-one-how-the-community-fork-left-redis-in-the-dust/
117•cebert•7h ago•32 comments

Surprisingly fast AI-generated kernels we didn't mean to publish yet

https://crfm.stanford.edu/2025/05/28/fast-kernels.html
240•mfiguiere•9h ago•59 comments

Mary Meeker's first Trends report since 2019, focused on AI

https://www.bondcap.com/reports/tai
122•kjhughes•9h ago•42 comments

Reverse engineering of Linear's sync engine

https://github.com/wzhudev/reverse-linear-sync-engine
66•flashblaze•2d ago•6 comments

Beating Google's kernelCTF PoW using AVX512

https://anemato.de/blog/kctf-vdf
270•anematode•13h ago•82 comments

Show HN: MCP Defender – OSS AI Firewall for Protecting MCP in Cursor/Claude etc.

https://mcpdefender.com
18•gsundeep•1d ago•9 comments

The ‘white-collar bloodbath’ is all part of the AI hype machine

https://www.cnn.com/2025/05/30/business/anthropic-amodei-ai-jobs-nightcap
348•lwo32k•16h ago•585 comments

Show HN: Icepi Zero – The FPGA Raspberry Pi Zero Equivalent

https://github.com/cheyao/icepi-zero
125•Cyao•2d ago•25 comments

How large should your sample size be?

https://vickiboykis.com/2015/08/04/how-large-should-your-sample-size-be/
13•sebg•2d ago•3 comments

Microsandbox: Virtual Machines that feel and perform like containers

https://github.com/microsandbox/microsandbox
283•makeboss•16h ago•127 comments

Revenge of the Chickenized Reverse-Centaurs

https://pluralistic.net/2022/04/17/revenge-of-the-chickenized-reverse-centaurs/
75•GreenWatermelon•2d ago•21 comments

Systems Correctness Practices at Amazon Web Services

https://cacm.acm.org/practice/systems-correctness-practices-at-amazon-web-services/
317•tanelpoder•17h ago•111 comments

Java Virtual Threads Ate My Memory: A Web Crawler's Tale of Speed vs. Memory

https://dariobalinzo.medium.com/virtual-threads-ate-my-memory-a-web-crawlers-tale-of-speed-vs-memory-a92fc75085f6
46•dariobalinzo•1d ago•16 comments

Ray Tracing in J

https://idle.nprescott.com/2020/ray-tracing-in-j.html
56•todsacerdoti•2d ago•8 comments

Every 5x5 Nonogram

https://pixelogic.app/every-5x5-nonogram
39•eieio•5h ago•15 comments

Silicon Valley finally has a big electronics retailer again: Micro Center opens

https://www.microcenter.com/site/mc-news/article/micro-center-santa-clara-photos.aspx
195•modeless•7h ago•105 comments

Anthropic launches a voice mode for Claude

https://techcrunch.com/2025/05/27/anthropic-launches-a-voice-mode-for-claude/
70•kordlessagain•2d ago•19 comments

The Darwin Gödel Machine: AI that improves itself by rewriting its own code

https://sakana.ai/dgm/
159•birriel•17h ago•167 comments

How to run cron jobs in Postgres without extra infrastructure

https://wasp.sh/blog/2025/05/28/how-to-run-cron-jobs-in-postgress-without-extra-infrastructure
58•Liriel•2d ago•20 comments

Jerry Lewis's “The Day the Clown Cried” discovered in Sweden after 53 years

https://www.thenationalnews.com/arts-culture/film-tv/2025/05/29/jerry-lewis-day-the-clown-cried-discovered/
147•danso•9h ago•68 comments

Show HN: Smart Silence – Remind your iPhone to stay quiet in quiet places

https://testflight.apple.com/join/47CJ31VK
30•ebagsnave•2d ago•11 comments

StackAI (YC W23) Is Looking for SWR and Tailwind Wizards

https://www.ycombinator.com/companies/stackai/jobs/C1rOopy-frontend-engineer
1•baceituno•8h ago

Adam Riess and the Hubble tension

https://www.theatlantic.com/science/archive/2025/05/adam-riess-hubble-tension/682980/
81•samizdis•14h ago•67 comments

Copy Excel to Markdown Table (and vice versa)

https://thisdavej.com/copy-table-in-excel-and-paste-as-a-markdown-table/
78•thisdavej•1d ago•14 comments

De Bruijn notation, and why it's useful

https://blueberrywren.dev/blog/debruijn-explanation/
124•blueberry87•13h ago•34 comments

Show HN: Leap – Full-stack AI developer agent that deploys to AWS

https://leap.new
12•machekb•14h ago•1 comments

A Smiling Public Man

https://salmagundi.skidmore.edu/articles/1407-a-smiling-public-man
39•crescit_eundo•12h ago•2 comments

Show HN: W++ – A Python-style scripting language for .NET with NuGet support

https://github.com/sinisterMage/WPlusPlus
89•sinisterMage•14h ago•49 comments

Radio Astronomy Software Defined Radio (Rasdr)

https://radio-astronomy.org/rasdr
121•zeristor•20h ago•7 comments
Open in hackernews

Car Physics for Games (2003)

https://www.asawicki.info/Mirror/Car%20Physics%20for%20Games/Car%20Physics%20for%20Games.html
76•ibobev•3d ago

Comments

TacticalCoder•1d ago
The torque curve per gear is so cool to see... Back in the days I did record my car's engine accelerating on a flat street (and I did it both ways) and then used a fast Fourier transform to find the engine RPM from the recorded sound.

I then plotted that torque curve (it requires knowing how many cylinders, gear ration, wheel size and a few other things and there are a few approximation [like tires deforming with speed, loss, ...] but it's doable) and, sure enough, the resulting curve was very close to the one given in the car's official book.

Yup, back in the eighties car manufacturers (at least some of them) would give you a book with the gear ration and torque curve nicely plotted.

IIRC you only need to record the acceleration over one speed (say the 2nd gear) and then with the gear ratio you can plot all the gears.

It was my first Java app with a GUI! I probably still have the code somewhere on obscure backups.

PaulKeeble•1d ago
A lot of the games are currently getting throttle mapping to RPM wrong. In Assetto Corsa if you put 20% into the throttle in neutral the RPMs will climb to red line and the throttle position just determines how quickly that happens and its because they aren't doing this correctly.
herpdyderp•1d ago
Niels Heusinkveld on YouTube has great videos about this!
zelon88•1d ago
Just looked this up to see an example of the behavior described. https://www.youtube.com/watch?v=0SlUlENAggE

As a side note, BeamNG.Drive has the most accurate throttle response and audio response of any driving game I've ever tried. You can almost feel the car pull vacuum (or build boost).

tpae•1d ago
You need to simulate the torque curves
jstanley•21h ago
You also need to simulate load on the engine even in neutral. With no load, the speed genuinely would rise to red line at a rate controlled by throttle position.
lan321•20h ago
Is this not more so a modern<->old car neutral ethrottle thing? I haven't driven a cable operated throttle car but on bikes 20% will probably hit limiter.

I'm gonna try it after work.

The only precision revving in neutral I've done is for emissions testing a couple times but the throttle tube was barely rotating to keep it at 4k. It was still at that point where the cable just gets tensioned past the freeplay and it was kinda tricky to keep it there since very small movements would move 0,5-1k RPM.

PS: Treating 20% as 20% throttle tube rotation, not necessarily linear to how much chooch you get due to how throttle bodies open.

JKCalhoun•1d ago
That's cool. I tried to write a driving game back in the late 80's ... a little like Spy Hunter if anyone remembers that arcade gem. I did lose myself trying to simulate the gearing — got caught in the circular logic problem described in the post.

I wanted to simulate shifting too soon and lugging the engine (vs. shifting at too high an RPM and having thrown away efficiency/performance). But determining when you were lugging the engine depended on the engine RMP which needed to allow for the gear you were in and the current forward speed ... forward speed determined by what gear you were in, what RPM ... so we're back to RPM... Never mind possible slipping of the tire if you broke traction and spinning out or drifting....

Happy to see someone lay it all out in a blog post.

(And happier still that the folks that did the game Carmageddon did a convincing enough job of all the car physics to entertain me for hours back then.)

rasz•23h ago
Im really blown away by the $15 butt dyno phone apps able to pretty accurately measure power/torque of a car based on accelerometer reading and weight/tire size/temp/pressure entered by the user.
rypskar•23h ago
That brings back memories. I remember using that article when creating a simple racing game for a school project in 2005. Using that game I found that the car I was using for a starter series in rallycross at the same time had higher top speed in 4th gear than 5th because of a lack of power
absurdo•23h ago
See flight sim book counterpart called “Flights of Fantasy”.
gattilorenz•23h ago
Timberwolf on Youtube has a series of great videos about car physics in games.

How it developed over the years: https://youtu.be/_IMN9XVYSiY

How a few games worked: https://youtu.be/hcmSBwLKVOY https://youtu.be/p5s-zbXtDoo

Absolutely recommended!

sjezewski•8h ago
I’m just gonna leave this here …

https://youtu.be/Tn04UwfKk9o?si=8V0kGMSVoBfkZaBT

I’ve lost hours to this.

YMMV

Depending on the velocity settings of your reality