frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Logic Puzzles: Why the Liar Is the Helpful One

https://blog.szczepan.org/blog/knights-and-knaves/
1•wasabi991011•2m ago•0 comments

Optical Combs Help Radio Telescopes Work Together

https://hackaday.com/2026/02/03/optical-combs-help-radio-telescopes-work-together/
1•toomuchtodo•7m ago•1 comments

Show HN: Myanon – fast, deterministic MySQL dump anonymizer

https://github.com/ppomes/myanon
1•pierrepomes•13m ago•0 comments

The Tao of Programming

http://www.canonical.org/~kragen/tao-of-programming.html
1•alexjplant•14m ago•0 comments

Forcing Rust: How Big Tech Lobbied the Government into a Language Mandate

https://medium.com/@ognian.milanov/forcing-rust-how-big-tech-lobbied-the-government-into-a-langua...
1•akagusu•14m ago•0 comments

PanelBench: We evaluated Cursor's Visual Editor on 89 test cases. 43 fail

https://www.tryinspector.com/blog/code-first-design-tools
2•quentinrl•16m ago•1 comments

Can You Draw Every Flag in PowerPoint? (Part 2) [video]

https://www.youtube.com/watch?v=BztF7MODsKI
1•fgclue•21m ago•0 comments

Show HN: MCP-baepsae – MCP server for iOS Simulator automation

https://github.com/oozoofrog/mcp-baepsae
1•oozoofrog•25m ago•0 comments

Make Trust Irrelevant: A Gamer's Take on Agentic AI Safety

https://github.com/Deso-PK/make-trust-irrelevant
2•DesoPK•29m ago•0 comments

Show HN: Sem – Semantic diffs and patches for Git

https://ataraxy-labs.github.io/sem/
1•rs545837•30m ago•1 comments

Hello world does not compile

https://github.com/anthropics/claudes-c-compiler/issues/1
15•mfiguiere•36m ago•1 comments

Show HN: ZigZag – A Bubble Tea-Inspired TUI Framework for Zig

https://github.com/meszmate/zigzag
2•meszmate•38m ago•0 comments

Metaphor+Metonymy: "To love that well which thou must leave ere long"(Sonnet73)

https://www.huckgutman.com/blog-1/shakespeare-sonnet-73
1•gsf_emergency_6•40m ago•0 comments

Show HN: Django N+1 Queries Checker

https://github.com/richardhapb/django-check
1•richardhapb•56m ago•1 comments

Emacs-tramp-RPC: High-performance TRAMP back end using JSON-RPC instead of shell

https://github.com/ArthurHeymans/emacs-tramp-rpc
1•todsacerdoti•1h ago•0 comments

Protocol Validation with Affine MPST in Rust

https://hibanaworks.dev
1•o8vm•1h ago•1 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
3•gmays•1h ago•0 comments

Show HN: Zest – A hands-on simulator for Staff+ system design scenarios

https://staff-engineering-simulator-880284904082.us-west1.run.app/
1•chanip0114•1h ago•1 comments

Show HN: DeSync – Decentralized Economic Realm with Blockchain-Based Governance

https://github.com/MelzLabs/DeSync
1•0xUnavailable•1h ago•0 comments

Automatic Programming Returns

https://cyber-omelette.com/posts/the-abstraction-rises.html
1•benrules2•1h ago•1 comments

Why Are There Still So Many Jobs? The History and Future of Workplace Automation [pdf]

https://economics.mit.edu/sites/default/files/inline-files/Why%20Are%20there%20Still%20So%20Many%...
2•oidar•1h ago•0 comments

The Search Engine Map

https://www.searchenginemap.com
1•cratermoon•1h ago•0 comments

Show HN: Souls.directory – SOUL.md templates for AI agent personalities

https://souls.directory
1•thedaviddias•1h ago•0 comments

Real-Time ETL for Enterprise-Grade Data Integration

https://tabsdata.com
1•teleforce•1h ago•0 comments

Economics Puzzle Leads to a New Understanding of a Fundamental Law of Physics

https://www.caltech.edu/about/news/economics-puzzle-leads-to-a-new-understanding-of-a-fundamental...
3•geox•1h ago•1 comments

Switzerland's Extraordinary Medieval Library

https://www.bbc.com/travel/article/20260202-inside-switzerlands-extraordinary-medieval-library
4•bookmtn•1h ago•0 comments

A new comet was just discovered. Will it be visible in broad daylight?

https://phys.org/news/2026-02-comet-visible-broad-daylight.html
4•bookmtn•1h ago•0 comments

ESR: Comes the news that Anthropic has vibecoded a C compiler

https://twitter.com/esrtweet/status/2019562859978539342
2•tjr•1h ago•0 comments

Frisco residents divided over H-1B visas, 'Indian takeover' at council meeting

https://www.dallasnews.com/news/politics/2026/02/04/frisco-residents-divided-over-h-1b-visas-indi...
5•alephnerd•1h ago•5 comments

If CNN Covered Star Wars

https://www.youtube.com/watch?v=vArJg_SU4Lc
1•keepamovin•1h ago•1 comments
Open in hackernews

Show HN: ChartDB Agent – Cursor for DB schema design

https://app.chartdb.io/ai
130•guyb3•4mo ago
Last year we launched ChartDB OSS (https://news.ycombinator.com/item?id=44972238) - an open-source tool that generates ER diagrams from your database (via query/sql/dbml) without needing direct DB access.

Now we’re launching the ChartDB Agent.

It helps you design databases from scratch or make schema changes with natural language.

You can:

- Generate schemas by simply describing them in plain English

- Brainstorm new tables, columns, and relationships with AI

- Iterate visually in a diagram (ERD)

- Deterministically export SQL script

Try it out here - https://chartdb.io/ai - no signup required.

Or sign up and use it on your own database

Would love to get your feedback :)

Comments

quentindanjou•4mo ago
This is really cool! Would love to use that for quite a bit of prototyping on some personal projects!

Only thing I kinda dislike is the low readability of the connection because of that border around the table of the same color as the connection lines (I think things would look cleaner without it)

apwell23•4mo ago
what makes this an "agent"
bopbopbop7•4mo ago
The for loop I wrote today is an Agent, at least that’s what I’m telling the investors.
uxhacker•4mo ago
And when will it do class designs? Maybe this would solve many an AI coding issue.
OsrsNeedsf2P•4mo ago
What can this do that Claude Code cannot? Is it just the ERD?
pella•4mo ago
"an open-source tool" --> https://github.com/chartdb/chartdb ( AGPL-3.0 license )

prompts:

https://github.com/chartdb/chartdb/blob/c3c646bf7cbb1328f4b2...

evanelias•4mo ago
At quick glance I already see several things in that prompt are completely incorrect. For example: MariaDB has natively supported sequences for quite some time; for decades all versions of MySQL/MariaDB support "bool" or "boolean" as an alias; the timestamp default value advice is wrong as any arbitrary expression can be used; etc.

These are all easily testable in Docker containers. There's a concerning lack of attention to detail here, or perhaps the prompt itself was also created using AI and it bakes in hallucinations from the get-go.

As for the AGPL: in ChartDB's previous Show HN (only 6 weeks ago), I asked how they were running an enhanced paid SaaS when they had so many external contributions prior to adopting a CLA, and I did not receive a response [1].

[1] https://news.ycombinator.com/item?id=44972986

politician•4mo ago
> There's a concerning lack of attention to detail here.

I choose to believe that it's a brilliant feint. The author will run all these comments back into their LLM to generate fixes for all of these issues.

ehsanu1•4mo ago
I see no conflict between AGPL and SaaS: https://opensource.stackexchange.com/a/12988
evanelias•4mo ago
OP accepted a lot of third-party contributions without a CLA, and then built a paid SaaS; and as far as I can tell, they aren't offering the full source code for that paid SaaS to users. This would be a requirement to avoid infringing the copyright of the third party contributors.

When code is contributed to a FOSS project, and there's no CLA, the contribution is licensed by the third-party contributor under the same terms as the project, and furthermore the contributor retains copyright (assuming there's no CAA, which is stronger than a CLA).

So if you start an AGPL project and offer a paid SaaS, you need to do one of the following:

a) don't accept outside pull requests

b) accept outside pull requests with a CLA or CAA

c) provide the full source code to the paid SaaS to users, as per the terms of the AGPL

d) keep those pull requests in the AGPL repo but rewrite or remove them in the paid SaaS

Any other path opens you up to risk of copyright infringement lawsuits if your business is successful.

The OP eventually added a CLA, but had already accepted a lot of code contributions prior to that. So in their previous Show HN, I asked what path they took to resolve the AGPL hurdles, and they did not respond.

daxfohl•4mo ago
Wow, how can you afford offering free AI on the homepage for an OSS project? I can barely afford AI APIs even for my own personal use. Seems like it would drive costs through the roof.
nacs•4mo ago
Maybe they value the training data?
trjordan•4mo ago
My conversation

"Design a schema like Calendly" --> Did it

"OK let's scale this to 100m users" --> Tells me how it would. No schema change.

"Did you update the schema?" --> Updates the schema, tells me what it did.

We've been running into this EXACT failure mode with current models, and it's so irritating. Our agent plans migrations, so it's code-adjacent, but the output is a structured plan (basically: tasks, which are prompt + regex. What to do; where to do it.)

The agent really wants to talk to you about it. Claude wants to write code about it. None of the models want to communicate with the user primarily through tool use, even when (as I'm sure ChartDB is) HEAVILY prompted to do so.

I think there's still a lot of value there, but it's a bummer that we as users are going to have to remind all LLMs for a little bit to do keep using their tools beyond the 1st prompt.

IChooseY0u•4mo ago
isnt this what the agents are for, you assign them jobs to make changes then evaluate those changes. there is a necessary orchestration piece and maybe even a triage role to sort through things to do and errors to fix
skeeter2020•4mo ago
I asked it to abstract a event-specific table to a GP "events" table which it did, but kept the specific table. I asked it to delete that table and it said it did, but did not. I got stuck in a loop asking it to remove the table that the LLM insisted was not part of the schema, but was present in the diagram.

It was easier to close the tab than fire a human, but other than that not a great experience.

sergiotapia•4mo ago
to save tokens you should have a pre-baked replay play when you click those buttons i just want to see the end result and the process sped up since i dont know what the service does. good luck!
thomask1995•4mo ago
This is super cool!

Have you thought about making a tool to help preview/dry run migrations?

I feel that's something I would want a ton of confidence in if an LLM is making migration scripts.

Especially if it's doing scary stuff like breaking up a table.

whilenot-dev•4mo ago
How do you expect an LLM to help here? Can't you just use OverlayFS on the database volume, or a backup thereof, and run the migration against that?
ako•4mo ago
In my experience most AI coding tools can work with databases, especially if you give it an MCP tool to connect to your (development) database. It will generate mermaid er-diagrams by reading from your database catalog, it will generate SQL to create tables, views, etc. It will generate queries, validate them and return data. It will optimize your query performance by running the query, running explain plan, looking into pg_stat_statements (or whatevery your database uses), and propose SQL optimization, indexes to be created. It will also create demo data with realistic use cases like black friday or back to school discounts for prices, etc.

A SQL MCP + mermaid is all you need.

Btw, it can also do an awesome job turning query plans into readable mermaid flow diagrams, adding details to the chart, using color to highlight bottlenecks.

debarshri•4mo ago
Agreed
all2•4mo ago
I tried my prompt with Claude and with this tool. There is no discussion with this tool. It just generates (a pretty cool) diagram.

I'll probably stick with Claude for now.

A killer feature would be a discussion loop that slowly refines the model in plaintext before committing to a diagram.

ako•4mo ago
That's also just something you can include in the prompt in Claude, instruct claude to ask questions until it is completely clear about the database schema you need. See this video: https://youtu.be/i4Jfl1IW-_U?si=yXiFvanIjGgZjQRA&t=178
EcommerceFlow•4mo ago
Super cool and useful, thank you. Was just doing some database mapping so this is perfect!
asdev•4mo ago
I can prompt an LLM to make a mermaid diagram and iterate on it. Why do I need "ChartDB"?
Aperocky•4mo ago
I'd gonna go one step further and argue that you don't even need mermaid for creating DB schemas.. direct chat works fairly well for reference.
ssantoshp•4mo ago
always used direct chat with an ORM & can't complain
not--felix•4mo ago
The idea is great but it feels like it uses a dumb model
daxfohl•4mo ago
It'd be nice if it also included the queries for each use case, and had a better understanding of sharding. As is, I gave it a bunch of requirements, it created some tables. Was it sufficient? No idea, it didn't say what the query was for each requirement. Would it scale? Again, no idea without the queries. (But actually, no, it wouldn't have scaled; some requirements were impossible without cross-shard scans).
encoderer•4mo ago
99% of apps never need to shard data. Probably closer to 99.9% if they are single tenant.
daxfohl•4mo ago
That seems off in my experience, but maybe it's different in different industries.

Either way, working around sharding and scale seems like a place where a good AI could help provide recommendations and tradeoffs, so it's disappointing that the model doesn't seem to deal with it well. For basic relational schema design, I don't see much benefit of having AI.

dorianmariecom•4mo ago
reddit has only two tables ;)
tdhz77•4mo ago
The visual is really nice. I can appreciate this tool, but once it’s in my database it’s for the human to manage and update. Do I go back to using this tool? How can this help? I don’t want any tool to read data like mcp can. Read table names, sure.
kumarm•4mo ago
The UI presentation of Schema is really nice. Is there a javascript based UI for web that is used?
Macuyiko•4mo ago
On the homepage it says "Sinmple" above "Export SQL", fyi
stronglikedan•4mo ago
It seems very useful for people that haven't designed many databases (it follows good patterns), but I feel like I could build the ERD faster than I could build those detailed prompts (from the examples), and I would get the benefit of naming things my way.
unboxingelf•4mo ago
Nice thanks, I was finally able to design the schema for my dog turd tracker. The foreign key to the smells table was a great suggestion!