Hacker News new | ask | show | jobs
by ComputerGuru 5 days ago
Via @karpathy’s tweet from https://x.com/karpathy/status/2125779541952246039

> I asked Claude to populate a Civilization-style game map with real data from the US. Opus 5.5 downloaded and parse a ton of public data and 7 hours and 45K lines of code later... it works :)

- 31 real data sources including Census, BEA, BLS, EIA, NOAA, USGS, DoD, NPS, FAA, FEMA, CDC... - Real elevation, land cover, GDP, jobs, power plants, mines, ports, airports, bases, parks, universities, freight flows, disasters; all reconciled onto one 25 km hex grid. - The data is converted into Civilization language, e.g. Gold yield is GDP. A city's districts are its real industry specializations: San Jose gets a Campus, Detroit is "Motor city". Its citizens are its real workforce: 1 in 4 San Jose workers are engineers, coders or scientists, against 1 in 14 nationally. Wonders are chosen by published rules, such as national parks by visitor numbers and universities by R&D spending, etc etc. - 19 lenses (income, degrees, faith, disasters…), a City View for 524 metros, and nine advisors plus an Explorer. The Explorer turns any column for any of 3,100+ counties into a table and scatter plot, linked to the map. - Claude decided to skip a few states and territories sry - Built using Claude Code desktop app, Opus 5.5 on medium and turning on ultracode.

> It's deployed here: karpathy.ai/usaciv/ and the "?" has the source link too. I don't exactly know where I was going with this but it's really fun to browse and play with. Possibly it can be expanded or built into a game. I only have half of my weekly Claude quote left though so someone else will have to take over :D. Claude also made a trailer:

2 comments

>Claude decided to skip a few states and territories sry

I'm generally pro-ai, and think it's an enormously useful tool... but I can't understand posting a game map of the US and saying "whoops, I guess some states didn't get included." How embarrassing to have that associated with your name.

I am a Virgin Islander. I’m trying to discern if that oval southeast of Miami is supposed to be us lol.
Also, like, people with expertise have actually made interactive maps with care in order to communicate ideas and educate people. I swear, AI has made people just decide that their trash is worth exactly the same as something built for a purpose by a person who cares about that purpose.

And I'm not even arguing for built-by-hand vs built-by-ai here. Like, a historian of early modern europe could use ai to build an interactive environment for people to explore to better understand environmental history. Somebody interested in such a tool could seek out a historian. But instead we get people saying "I asked AI to build an interactive environment from 1500 France" and they get a system filled with anachronisms and errors that misinform people.

Imagine if somebody saw this map and thought "cool, what a neat way to learn about geography" and then spent time really internalizing the messages present here.

Hm. How can Karparthy run out of Claude Code usage? I thought at his level you would have some kind of unlock or Enterprise or something.

But no. He's mortal. Checking /usage every couple of hours. A man of flesh, blood, and token budgets. Just like you or I.

I’m not sure how you could burn half a pro max subscription on this if you did it “right”.
Doing it “right” probably means doing most of the planning and thinking yourself, and then telling AI to do what you’ve figured out.

For projects like this, sometimes it’s just easier to have AI do the whole thing.

The alternative is, most likely, that this would not have been built.

I personally don’t have an issue with this approach. I think it’s cool to see cool things be built - regardless of if a single person did it by hand, or they outsourced it to a team they hired, or they outsourced it to AI.

He probably had nothing to use the tokens on so decided to burn them instead of let them go to waste.