frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

RuBee

https://computer.rip/2025-11-22-RuBee.html
147•Sniffnoy•4h ago•15 comments

Fran Sans – font inspired by San Francisco light rail displays

https://emilysneddon.com/fran-sans-essay
835•ChrisArchitect•13h ago•108 comments

Ask HN: Hearing aid wearers, what's hot?

142•pugworthy•5h ago•56 comments

Disney Lost Roger Rabbit

https://pluralistic.net/2025/11/18/im-not-bad/
95•leephillips•5d ago•28 comments

The Rust Performance Book (2020)

https://nnethercote.github.io/perf-book/
86•vinhnx•4d ago•5 comments

We stopped roadmap work for a week and fixed 189 bugs

https://lalitm.com/fixits-are-good-for-the-soul/
147•signa11•5h ago•95 comments

Native Secure Enclave backed SSH keys on macOS

https://gist.github.com/arianvp/5f59f1783e3eaf1a2d4cd8e952bb4acf
368•arianvanp•13h ago•153 comments

The Cloudflare outage was a good thing

https://gist.github.com/jbreckmckye/32587f2907e473dd06d68b0362fb0048
112•radeeyate•4h ago•81 comments

µcad: New open source programming language that can generate 2D sketches and 3D

https://microcad.xyz/
163•todsacerdoti•10h ago•41 comments

A free tool that stuns LLMs with thousands of invisible Unicode characters

https://gibberifier.com
56•wdpatti•4h ago•23 comments

New magnetic component discovered in the Faraday effect after nearly 2 centuries

https://phys.org/news/2025-11-magnetic-component-faraday-effect-centuries.html
123•rbanffy•4d ago•34 comments

Having Fun with Complex Numbers

https://mathwonder.org/Having-Fun-with-Complex-Numbers/
24•smm16r•5d ago•6 comments

Passing the Torch – My Last Root DNSSEC KSK Ceremony as Crypto Officer 4

https://technotes.seastrom.com/2025/11/23/passing-the-torch.html
45•greyface-•5h ago•8 comments

Build desktop applications using Go and Web Technologies

https://github.com/wailsapp/wails
19•selvan•3h ago•2 comments

Lambda Calculus – Animated Beta Reduction of Lambda Diagrams

https://cruzgodar.com/applets/lambda-calculus
8•perryprog•2h ago•0 comments

Calculus for Mathematicians, Computer Scientists, and Physicists [pdf]

https://mathcs.holycross.edu/~ahwang/print/calc.pdf
286•o4c•15h ago•64 comments

Ego, empathy, and humility at work

https://matthogg.fyi/a-unified-theory-of-ego-empathy-and-humility-at-work/
44•mrmatthogg•5h ago•9 comments

Show HN: I wrote a minimal memory allocator in C

https://github.com/t9nzin/memory
82•t9nzin•9h ago•19 comments

Band of Holes

https://en.wikipedia.org/wiki/Band_of_Holes
25•user070223•5d ago•3 comments

GravOpt – optimizer hits 99.9999% MAX-CUT in 100 steps

https://github.com/Kretski/GravOptAdaptiveE
3•DREDREG•4d ago•2 comments

Liva AI (YC S25) Is Hiring

https://www.ycombinator.com/companies/liva-ai/jobs/fYP8QP8-growth-intern
1•ashlleymo•9h ago

A desktop app for isolated, parallel agentic development

https://github.com/coder/mux
76•mercat•9h ago•30 comments

Hyperoptic: IPv6 and Out-of-Order Packets

https://blog.zakkemble.net/hyperoptic-ipv6-and-out-of-order-packets/
19•speckx•5d ago•0 comments

A time-travelling door bug in Half Life 2

https://mastodon.gamedev.place/@TomF/115589875974658415
403•AshleysBrain•2d ago•53 comments

Iowa City made its buses free. Traffic cleared, and so did the air

https://www.nytimes.com/2025/11/18/climate/iowa-city-free-buses.html
339•bookofjoe•9h ago•395 comments

McMaster Carr – The Smartest Website You Haven't Heard Of

https://www.bedelstein.com/post/mcmaster-carr
19•jcartw•4h ago•2 comments

Show HN: Gitlogue – A terminal tool that replays your Git commits with animation

https://github.com/unhappychoice/gitlogue
127•unhappychoice•5d ago•15 comments

Particle Life

https://sandbox-science.com/particle-life
65•StromFLIX•9h ago•8 comments

Terence Tao: At the Erdos problem website, AI assistance now becoming routine

https://mathstodon.xyz/@tao/115591487350860999
236•dwohnitmok•1d ago•43 comments

Mount Proton Drive on Linux using rclone and systemd

https://github.com/dadtronics/protondrive-linux
128•cf100clunk•15h ago•49 comments
Open in hackernews

Found a simple tool for database modeling: dbdiagram.io

https://dbdiagram.io
244•vseplet•7mo ago

Comments

vseplet•7mo ago
While discussing data models, my colleague was sketching tables and their relationships in an editor: table A, table B, columns linking them.

He then generated SQL from the diagram and deployed the schema to PostgreSQL. The schema was shared and reviewed.

The tool is https://dbdiagram.io

You can import/export SQL and generate images of your schema.

dcreater•7mo ago
DBML is great. I hope it becomes a standard
_ZeD_•7mo ago
What's wrong with dbeaver?
ramon156•7mo ago
Honestly, i love dbeaver but the fact it doesn't respect GTK nicely and the UI hasn't gotten much love makes me want to switch to something else. I know most people don't really get bothered by it, so I'd say it's not that big of a deal. It is for me though
3eb7988a1663•7mo ago
What else is on the table that is similarly nice? The only other contender of which I am aware is DataGrip.

I likely only use 1% of the DBeaver features, so I do not necessarily need something as powerful, yet most of the database IDEs feel pretty anemic in their offerings.

DaiPlusPlus•7mo ago
> What's wrong with dbeaver?

The Apache-licensed DBeaver is too limited for my needs: it exists to advertise their "DBeaver PRO" commercial license and features, but even then you cannot get a perpetual license for DBeaver PRO: it's subscription-only; their Enterprise edition claims to not require Internet access - but is not intended as a single-user software product (and it's priced accordingly).

In short: DBeaver simply won't sell me what I actually want.

maCDzP•7mo ago
I have found that ChatGTP and Claude are good at converting a picture of a schema to SQL. So I sketch the schema by hand and the LLM creates the SQL.

It can also save the picture as a mermaid text for future edits. Pretty neat.

dangardan•7mo ago
I had the opposite problem, was given SQL ddl with near 1000 tables and hundreds of constraints, and had to produce the schema map. Ran the ddl and connected it to yEd, and hey presto, schema map!
hobs•7mo ago
The truth is that if you are modeling a relationship set of 1000 tables you probably cant usefully show that to someone - you can produce an image but nobody can likely use it.

Instead, consider breaking things down to functional areas and then modeling those - just like how most city thinking is "well get on this main road and then this secondary road will get me to XYZ"

dangardan•7mo ago
That's a good point, but to extend my situation, it's a client database I've been asked to transform. The map is indeed difficult to grok all in one, but using different views that come out of the box in yEd, along with some basic rules such as "make all nodes with the word 'cust' yellow", it's been surprisingly effective at exploring the schema.
kiitos•7mo ago
"A picture of a schema"? What does this mean?

And by SQL do you mean DDL?

selcuka•7mo ago
> "A picture of a schema"? What does this mean?

A hand-drawn picture of a database schema. Something like this:

https://www.dreamstime.com/stock-images-database-schema-imag...

> And by SQL do you mean DDL?

DDL is a subset of SQL, so the distinction is moot.

kiitos•7mo ago
Huh, weird stuff!

Your linked image shows what appear to be tables, and the little arrows appear to represent entity-relationships between them. But I'm not sure how you'd get useful DDL out of it -- none of the columns have types, no indices, etc.!

Maybe an LLM could sketch out a DDL skeleton from a picture, which someone could use as a starting point?

Philpax•7mo ago
LLMs can infer a lot of details from "common sense" (i.e. statistical association). As a human, I can figure out what each field's types should be, so your frontier LLM could, too: https://chatgpt.com/share/680e3a90-8660-8003-998f-91ad98e32f...
kiitos•6mo ago
You and a LLM can guess at what the types might be, but those guesses are a suggestion that a human needs to evaluate, they're not something you can just pass thru as assumptive defaults. In your link, for example, I would definitely not want CategoryID to be an INT, or UnitPrice to be a DECIMAL, or etc.
Philpax•6mo ago
Sure, yeah - but just like with a human, I can provide additional domain context that can clarify its answer. I see your point - you need to know what to provide in order to get the result you want - but I think that today, that makes it a very useful tool, and tomorrow, it'll be able to make those clarifications itself.

(Out of curiosity, what would you use instead? I'd default to INT/DECIMAL respectively myself - would love to know what your thinking is here!)

kiitos•6mo ago
I'd default to CategoryID being a string, with uniqueness constraints defined on the categories table. And UnitPrice to be a composite type, containing a [u]int amount and a string denomination, e.g. `10000 USD_CENT` or something like that.

But what you or I or anyone thinks is the right type for these or any columns, is totally beside the point. The point is that the type for a column isn't really assume-able by an LLM, at least not automatically.

jesperwe•7mo ago
The FLOSS tool https://drawdb.vercel.app/editor has been here on HN several times. IMHO also does a somewhat better job.
zelphirkalt•7mo ago
Doesn't seem to work on mobile at all. Tables that I add are not shown in the diagram. The diagram area is not visible unless I scroll sideways.I cannot scroll sideways, unless I request desktop site and scroll there. But I still don't see any entities in the diagram. When I use the buttons to add tables in the diagram, they also do not show up in the grid, but only on the left in the textual list of tables. Seems like a complete non-functional tool on mobile.

Usually I wouldn't care too much about a tool like this running on mobile, but not at a PC right now, so that's all I can give feedback about.

dammaj•7mo ago
It works on mine.
matt_s•7mo ago
I wouldn't think mobile is a primary workspace for doing any sort of diagramming, let alone ERD where its assumed the user has a PC.
zelphirkalt•7mo ago
Is there a way to switch to numerical multiplicities/cardinalities? I always find the circle and feet notation not very readable and also less precise in some cases.

My personal go-to tool for this kind of diagram may remain yEd graph editor for now.

vfclists•7mo ago
can it export to other graph drawing languages like graphviz or mermaid?
vseplet•7mo ago
It seems like there was no such possibility.
quentincaffeino•7mo ago
have a look at plantuml
solids•7mo ago
Mermaid is also great

https://docs.mermaidchart.com/blog/posts/7-er-diagram-exampl...

blitztime•7mo ago
I found out about mermaid recently and have been using it to make diagrams. How do you use it for data modeling though?
PhilippGille•7mo ago
Did you follow the link that the parent poster posted? It's exactly about how to do data modeling with Mermaid.
hobs•7mo ago
I think most people would mean something like using the foreign key constraints information schema views to understand the relationships, print out the columns, etc - its really a pretty trivial SQL query to create mermaid relations (though your engine of choice may not have all the metadata you want) but its actually difficult to find the right level of granularity - its very easy to make a lot of visual noise in mermaid.
Ygg2•7mo ago
What do you mean by data modelling? Which UML part? You start the diagram with a `erDiagram`

    ---
    title: Order example
    ---
    erDiagram
        CUSTOMER ||--o{ ORDER : places
nickkell•7mo ago
I use it in my project to document the schema. We keep the markdown file in source control so that we update it whenever we make database changes. We also have an extension that allows viewing it as the diagram in vscode in our .vscode\extensions.json file.

There are some disadvantages however:

1. The foreign key relationships aren't completely clear

2. The diagram became difficult to navigate in vscode as our schema grew in size

alwinaugustin•7mo ago
This has been there forever.
ozim•7mo ago
Maybe it is me but I never find those relationships diagrams that useful.

When structure is obvious then it is obvious and I don’t need a diagram - when structure is convoluted diagram is such a mess anyway that it is not helping at all.

lucb1e•7mo ago
Language in that gif reminds me of DOT, from apt install graphviz which is pretty widely used I think. Various tools I use (including some I wrote or worked on) output to DOT format because it's so simple, and from there you tell the tool to make it into the appropriate format for your pdf report or webpage or so: `cat diagram.dot | dot -T png > diagram.png`. The DOT format is not as simple as dbdiagram though! But it's also not limited to database diagrams: https://en.wikipedia.org/wiki/DOT_(graph_description_languag...

In case someone wished this exists but for something other, or more versatile, than database diagrams, although dbdiagram as a product looks way more polished and integrated

notpushkin•7mo ago
I think you can also convert it to SVG with the same tool.
lucb1e•7mo ago
Yep!

    $ man dot | grep --context=10 svg
    OUTPUT FORMATS
       Graphviz uses an extensible plugin mechanism [...] Traditionally, Graphviz supports the following:
       -Tdot (Dot format containing layout information),
       -Txdot (Dot format containing complete layout information),
       -Tps (PostScript),
       -Tpdf (PDF),
       -Tsvg -Tsvgz (Structured Vector Graphics),
       -Tfig (XFIG graphics),
       -Tpng (png bitmap graphics),
       -Tgif (gif bitmap graphics),
       -Tjpg -Tjpeg (jpeg bitmap graphics),
       -Tjson (xdot information encoded in JSON),
       -Timap (imagemap files for httpd servers for each node or edge that has a non‐null href attribute.),
       -Tcmapx (client‐side imagemap for use in html and xhtml).
rsecora•7mo ago
I usually go with the FOSS https://pgmodeler.io

Its feature-rich, albeit focused on Postgres. And it's ability to compare database schemas makes updating and applying diffs much easier.

smusamashah•7mo ago
I maintain an almost exhaustive list of text to diagram tools [1]. dbdiagram.io requires login to export.

Other dedicated text to database diagram tools are

1. Database Diagram Tool https://databasediagram.com/app

2. QuickDBD https://app.quickdatabasediagrams.com/#/

3. ERD Lab https://app.erdlab.io/designer/guest (Requires Login to Export)

[1]: https://xosh.org/text-to-diagram/

spintin•7mo ago
Isn't editable diagram to text more useful?

I used to query databases and create diagrams from the metadata, but text to diagram just makes little sense to me.

omneity•7mo ago
You probably know this already but I’ll leave it for posterity.

https://mermaid.js.org/syntax/entityRelationshipDiagram.html

vseplet•7mo ago
Thank you very much, interesting!
xnickb•7mo ago
A bit more specialized, but still a nice list: https://wiki.postgresql.org/wiki/Design_Tools
darth_avocado•7mo ago
Is there a tool that can connect to a db and generate its own diagram?
colemannugent•7mo ago
DBeaver will generate an ER diagram from a connected DB
3eb7988a1663•7mo ago
I find the auto-generated layout to be pretty poor. Requires a lot of jostling to get something more compact and immediately usable.
jamwil•7mo ago
Proprietary and a bit pricy but Luna Modeller is good.
breadwinner•7mo ago
Visual DB can do that: https://visualdb.com/
ssfak•7mo ago
chartsdb[1][2] can be installed locally (or run through Docker) and import your database schema

[1]: https://chartdb.io/ [2]: https://github.com/chartdb/chartdb

speakspokespok•7mo ago
Your question doesn't include the size or complexity of the database you're trying to visualize. With that preface said, schemaspy has been around for years and years and I've seen it at every tech company I've ever worked at for visualizing their production databases. I think it's free?

https://schemaspy.org/samples/chinook/relationships.html

ChromaticPanic•7mo ago
Jet brains DataGrip is great for this. Compared to pgadmin an dbeaver. The DataGrip visualization options are so good that I grabbed a subscription.
bdangubic•7mo ago
100%… any new project I get involved I use DataGrip to build visualization to quickly get across the data model
snthpy•6mo ago
Thank you for your list and webpage. Those are great!
gitroom•7mo ago
insane the number of ways people handle diagrams - honestly i just get lost in all the tool options. you think having too many choices slows progress or actually helps in the long run?
bob1029•7mo ago
Tooling is a big reason I would reach for SQL Server over alternatives in many scenarios. Combining SSMS with 1-2 RedGate utilities and an Excel license is essentially the one ring of database management.

When you have a complex data model and need to constantly engage the business regarding it, having an easy way to transform, compare and visualize representations of the schema can mean the difference between ~3 clicks and a multi-day journey into the rabbit hole of shiny technology.

I would still reach for SQLite in any scenario where I am embedding the DB in software that I am distributing. But, if I need to stand up a database that multiple systems and users are all going to talk to, I am always going to advocate for spending a little bit of money.

DaiPlusPlus•7mo ago
> Combining SSMS with 1-2 RedGate utilities and an Excel license [...] a complex data model and need to constantly engage the business regarding it

SSMS suffers greatly from not having a Jupyter Notebook-style mode; whereas SSMS' cousin in Azure Data Studio does feature it, it's still thoroughly compromised in other ways to make it useless, unfortunately.

KronisLV•7mo ago
This might be silly, but having tools like that built into MySQL Workbench, alongside both forward and backward engineering (get SQL from model and apply it, or get a model from an existing DB) is one of the reasons why I very much enjoyed working with it: https://dev.mysql.com/doc/workbench/en/wb-eer-diagrams-secti... (I might otherwise often prefer PostgreSQL, especially due to the procedural language and transactional DDL), also works fine with MariaDB for the most part

In most projects I've seen people just do some generic models (not even proper ED diagrams) and write some SQL migrations to be applied with something like dbmate or Flyway and call it a day, though working on DB schemas feels like one of the areas where model driven development actually makes a lot of sense and feels natural, if the tooling is there! Otherwise you end up with the actual schema and the models you make diverging slightly over time, either due to people forgetting to add stuff, or you yourself missing something. That's also why I enjoy the likes of DbVisualizer for getting a nice overview about what's actually in the schema: https://www.dbvis.com/

isalmon•7mo ago
If you need it for your warehouse (Snowflake/Databricks) - take a look at SqlDBM: https://sqldbm.com/
bullen•7mo ago
I made a database ORM editor too: https://tinspin.itch.io/node

Mine is a desktop Java app. that exports XML that then gets converted to SQL (create.sql)

and ORM Java sources with the matching SQL queries. No reflection, just code generation.

Should work with MySQL (MariaDB), Postgres and Oracle.

vseplet•7mo ago
You're cool!
aerhardt•7mo ago
I’ve used it in the past really like it.
Crowberry•7mo ago
I can recommend drawsql
pablogancharov•7mo ago
Just for fun you can explain the domain problem to an LLM, then ask it for the dbdiagram json representation. Fix any issue you may spot, then ask the LLM to convert it to Jhipster modeling language (JDL) and import it with the cli. For me that’s the type of workflow that involves AI, rather cursor/windsurf/claude approach.
rbanffy•7mo ago
I would absolutely love a free tool that compiled SQL into UML suitable for diagrams and visual exploration.

BTW, one that did the same for Terraform would make my life so much easier…

perching_aix•7mo ago
I was also very interested in finding a TF auto-diagramming tool at some point. After researching some examples however, I became convinced that it's not something I actually wanted or could make proper use of.

The issue I had with them is that they were just plain confusing and "noisy". After reflecting on it a bit, this made sense. Diagrams are only ever easy to follow if they have a clear purpose, but with minimal to no human semantic context, these auto generated diagrams could never be that way. They were just aimless scattershots of boxes with pretty icons on them.

Maybe it was just me not being used to them enough, and I could have grown to appreciate them and utilize them well if I bothered for long enough. But if I think about what I'd want from a diagram, it would be things like how data flows through an infrastructure, which Terraform cannot hope to have an exact idea about. And this only gets worse when you upload custom code, such as by using lambdas, containers, ec2 instances, what have you.

bradleyy•7mo ago
It's really convenient for being able to quickly whip up diagrams to share for discussion. Like when you have a small group of folks that need to iterate on a DB design, it's super simple to change things.

I've used this a bunch early in projects where the team needs to agree on DB structure:

1. whip something up as a discussion piece 2. usually a quick meeting to iterate on it, spot problems, correct. 3. you're close enough to build the DB bits, ship it. :)

bobbruno•7mo ago
I have an issue with calling any of the diagrams created by all the tools mentioned "ER Diagrams". Entities are not the same thing as tables, and Sr diagrams are not relational database table diagrams. A (semi) visual representation of a database schema of any size that'd require a visual representation is almost necessarily a mess, and doesn't really help discussion or design. It is at best a faster indexing into the DDL for the tables.

What I'd love to have (but never saw an affordable tool) is the ability to work at different levels of abstraction: physical (which is what all tools here actually do), logical (hiding field details, normalization and de normalization, giving better business entity names, etc) and conceptual (to show how big picture concepts relate, domain boundaries, department dependencies/relationships).

Just the physical representation does, for my purposes, little more than code highlighting.

aslakhellesoy•7mo ago
I’ve been using Mermerd [1] for years and never looked back. Simple, does one thing well.

It gets even better with elk layout - just prepend this frontmatter snippet to mermerd’s output:

    ---
    config:
      layout: elk
    ---

[1]: https://github.com/KarnerTh/mermerd
DidYaWipe•7mo ago
Another Web-only tool. Bummer.
praetis•7mo ago
That is a very nice tool! I might use it.

In case it's useful to anyone in here, I wrote a little app at erdraw.com which is specifically designed to be a way to draw a data model in the notation of "Mastering Data Modeling" by Professor John Carlis. It serves somewhat different goals than these other tools. It prioritizes user understandability to be useful in conversations non-engineers. So it excludes technical details like data types and SQL.

https://erdraw.com

notable_chuckle•6mo ago
I am using Visual Studio Code with a dbml extension. I enjoyed learning dbml with dbdiagram.io.
nexo-v1•6mo ago
Looks cool, but a bit of a bummer it's not open source. These days when I need to sketch out SQL/database diagrams, I usually have an LLM generate Mermaid code for me — good enough for quick drafts.

If I want something cleaner or a little more "presentation ready," I switch to d2 (https://d2lang.com/tour/sql-tables/#basics). It's got really simple syntax and does a great job laying out entity-relationship diagrams without much tweaking.