frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

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

https://openciv3.org/
377•klaussilveira•4h ago•81 comments

The Waymo World Model

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

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

https://github.com/pydantic/monty
111•dmpetrov•5h ago•49 comments

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

https://github.com/valdanylchuk/breezydemo
132•isitcontent•5h ago•13 comments

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

https://vecti.com
234•vecti•7h ago•112 comments

Dark Alley Mathematics

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

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

https://github.com/microsoft/litebox
302•aktau•11h ago•150 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
302•ostacke•10h ago•80 comments

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

https://eljojo.github.io/rememory/
156•eljojo•7h ago•117 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
375•todsacerdoti•12h ago•214 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
300•lstoll•11h ago•227 comments

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

https://github.com/phreda4/r3
42•phreda4•4h ago•7 comments

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

https://infisical.com/blog/devops-to-solutions-engineering
100•vmatsiiako•9h ago•32 comments

A century of hair samples proves leaded gas ban worked

https://arstechnica.com/science/2026/02/a-century-of-hair-samples-proves-leaded-gas-ban-worked/
50•jnord•3d ago•3 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
165•i5heu•7h ago•122 comments

Learning from context is harder than we thought

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

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
35•rescrv•12h ago•17 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
223•surprisetalk•3d ago•29 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/
951•cdrnsf•14h ago•411 comments

PC Floppy Copy Protection: Vault Prolok

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

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
7•gfortaine•2h ago•0 comments

I'm going to cure my girlfriend's brain tumor

https://andrewjrod.substack.com/p/im-going-to-cure-my-girlfriends-brain
28•ray__•1h ago•4 comments

The Oklahoma Architect Who Turned Kitsch into Art

https://www.bloomberg.com/news/features/2026-01-31/oklahoma-architect-bruce-goff-s-wild-home-desi...
17•MarlonPro•3d ago•2 comments

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

https://docs.smooth.sh/cli/overview
76•antves•1d ago•56 comments

Claude Composer

https://www.josh.ing/blog/claude-composer
94•coloneltcb•2d ago•67 comments

Evaluating and mitigating the growing risk of LLM-discovered 0-days

https://red.anthropic.com/2026/zero-days/
31•lebovic•1d ago•11 comments

Show HN: Slack CLI for Agents

https://github.com/stablyai/agent-slack
36•nwparker•1d ago•7 comments

How virtual textures work

https://www.shlom.dev/articles/how-virtual-textures-really-work/
22•betamark•12h ago•22 comments

Masked namespace vulnerability in Temporal

https://depthfirst.com/post/the-masked-namespace-vulnerability-in-temporal-cve-2025-14986
31•bmit•6h ago•3 comments

Evolution of car door handles over the decades

https://newatlas.com/automotive/evolution-car-door-handle/
38•andsoitis•3d ago•61 comments
Open in hackernews

Show HN: NYC Subway Simulator and Route Designer

https://buildmytransit.nyc
201•HeavenFox•7mo ago
Hello HN!

As a long term NYC resident, I have read countless articles on ideas tweaking subway services, but always found them hard to follow without visual aid. So over the long weekend I decided to build one. It has all the basic features: trains would spawn at their origin, stop at stations, and slow down if it gets too close to another. You can also design custom routes by piecing tracks together.

Have fun, and let me know what you think!

Comments

xnx•7mo ago
Very cool.

Sometimes when I Edit Routes and click an "<- Add" button I get the console error "Uncaught Error: coordinates must be an array of two or more positions" and the page blanks out.

HeavenFox•7mo ago
Thanks - this is likely due to adding two tracks facing each other, i.e.

-->-->-- --<--<--

I'll add some logic to prevent such options from showing up.

pimlottc•7mo ago
This is sadly not mobile friendly in an amusing way; the map controls are nice and legible but they block basically the entire map. If there was a way to minimize them (perhaps automatically), this might work well on mobile.
kiwibyproxy•7mo ago
Very cool! It would be nice to have a bit more information in the readme about the project structure and e.g. how to adapt it for other cities :)
HeavenFox•7mo ago
I just tested it out. Since this uses OpenStreetMap data, it is very easy to adapt to other cities.

All input data and scripts are in src/data. Run the two Overpass queries, replacing New York with a city of your choice, and you will get JSON data on the infrastructure, as well as services. Replace the two existing JSON files, run the two transformation scripts, and you are done.

darthplagius•7mo ago
I contract out work to MTA, specifically their AI/ innovation teams.

I'm 100% showing this to them today just for fun. They'll get a kick out of it.

ttamslam•7mo ago
I'm super curious to learn more about what AI/Innovation looks like for the MTA.

Is any of your/their work published?

ars•7mo ago
I can't figure out how to add a route from Bay Ridge to Clinton in NJ. That's my wishlist subway - got to Newark Airport from Brooklyn without going through Manhattan.

Edit: Actually Clifton is in NY, and playing with Google maps there's ZERO public transport from Staten Island to NJ, except by going through Manhattan!

So my idea wouldn't help anyway, unless they extended that subway all the way over the Goethals Bridge.

HeavenFox•7mo ago
As a Brooklynite I wholeheartedly agree. Unfortunately this is more of a service designer as opposed to a track designer, and it only works with existing infrastructure :(
throwaway2037•7mo ago

    > ZERO public transport from Staten Island to NJ
I only see three bridges off the island. Can you walk any of them? Hoboken light rail in Bayonne isn't so far.
acjohnson55•7mo ago
There are 4 bridges: Goethals, Outerbridge, Bayonne, and Verrazano. You can walk on Goethals and Bayonne. I was actually thinking a few weeks ago about walking from Elizabeth to Bayonne someday, just for the heck of it.
throwaway2037•7mo ago
I forgot about Verrazano! I was only thinking about routes to NJ.
ars•7mo ago
Looks like a 2 or 3 mile walk from the nearest public transport stops that I can find. Maybe someone local can find a closer stop.

Forest Ave/Goethals Rd North to Bayway Ave at Mckinley St.

Edit: This could be a fun game - find the two spots with the greatest ratio of driving vs public transport. I think those two are pretty good candidates.

Distance: 2.5 mile.

Drive 9AM: 5-9 minutes, 11PM: 4-6 minutes.

Public transport 9AM: 1:52, 11PM: 3:34.

Ratio (using the average drive time) 9AM: 16, 11PM: 42.8.

https://maps.app.goo.gl/WU1jzjYh8tkTCuh87

madcaptenor•7mo ago
Another game: when is public transport slower than walking?

According to Google Maps it's not in this case - I'm getting a walking time of 14:37 (!), where the "walk" includes a ferry from Weehawken to Manhattan and the Staten Island Ferry. However Google Maps doesn't seem to know you can walk across the Goethals bridge.

ars•7mo ago
It's not the bridge, the starting point seems to be on a freeway or something, if you move the starting point slightly toward the bridge it will show proper walking directions.
indoordin0saur•7mo ago
Very nice! I thought of doing the same thing in the past!
Aaronstotle•7mo ago
Finally, I will make a subway that crosses the park!
evanb•7mo ago
92nd and Broadway, CPW, 5th Ave, Lex, 2nd Avenue, follow Astoria Blvd to the Grand Central to LGA is a no-brainer.
blehn•7mo ago
I want to love this but the visual language makes it kind of unusable for me. Why not match the track and train colors to their line color (red for the 123) and then use different visual indicators for train state (stopped, at station, etc)?

For example: Selected: Black fill Normal operation: Color fill with 100% opacity Slowing down: 70% opacity Stopped: striped fill, 50% opacity At station: pulsing opacity

HeavenFox•7mo ago
That is a good idea. I just added color for the tracks. I'm in the process of redesigning how trains look like.
shiroiuma•7mo ago
What's the point of designing custom routes, except I guess for fun? NYC is never going to build any new routes.
HeavenFox•7mo ago
That is actually the idea. In this simulator, you design services that run on existing tracks. NYC subway is unique in the world in that there are a ton of interlining as well as quadruple tracks, so there are plenty of opportunity to improve system efficiency without building anything new.
konsalexee•7mo ago
I love it! Amazing work.

A slider to do a bit of time-travelling if possible would be also a nice to have

avianlyric•7mo ago
Your default dwell times are wayyyyy too short.

On high capacity systems, train dwell time becomes the limiting factor on passenger capacity. 30 seconds is generally the minimum possible dwell time a system can manage, 20 seconds might be possible during much lower demand periods. But you’re unlikely to ever achieve better than that.

The London Victoria Line, which runs with 90 second headways at peak, achieves at best 24 second dwell times in central section, but 30-40 seconds is more realistic for most stations.

Don’t forget, dwell time includes more than just passengers getting off and on. It has to include time to open the doors, close the doors (including a 2-3 second visual and audible warning!), perform needed safety checks, and eventually pull away. Those operational components the sandwich the core “people getting on and off” bit of station stops add up to a non-trivial number of seconds.

https://www.researchgate.net/figure/Dwell-Time-and-Passenger...

As a minor note, the NYC subway uses a system of fix automatic blocks, not a moving block system, which is what your simulation appears to use. Moving block systems are dramatically more efficient than fixed block systems. But I have no idea how you would get hold of accurate block locations for the NYC subway.

rafram•7mo ago
> NYC subway uses a system of fix automatic blocks, not a moving block system

Lines with CBTC use moving blocks. That’s the L, 7, and parts of the E, F, M, and R.

rhubarbtree•7mo ago
How do you know all this?
hshdhdhj4444•7mo ago
Several of those dwell components can be done in parallel.

You don’t need a warning for opening the doors. The warning for closing the doors will overlap with people boarding.

That being said 10s is too low as a default but it can easily be changed to a more reasonable 30s or more.

chrisandchris•7mo ago
> You don’t need a warning for opening the doors.

Seems like the Swiss railway didn't get your message because there is acoustic warning on open nd on close.

op00to•7mo ago
There are door opening warning in the Philadelphia subways and metros (PATCO) as well. It makes sense if the train is crowded and a rider is smushed up against the opening door.
zerojames•7mo ago
This is a very cool project!
fsckboy•7mo ago
you need to model passenger behavior at rush hour in the face of train cars with a truly foul smells and puddles on the floor!
chrisxlucas•7mo ago
This is awesome—a sandbox for transit nerds lol my husband will love this. The dwell time + simulation rate sliders are super fun, can do a lot with congestion indicators or bottleneck flags when trains start stacking up or something... fun to stress test bad routing decisions.