News for hackers. Stuff that matters.
Re:Show HN: Databasediagram.com – Private, Text to Entity-Re... by shizcakes on Thursday June 08, 2023 @12:15PM (#36244339)
We've been using https://dbdiagram.io/, which also has an open-source markup language: https://github.com/holistics/dbml
Re:Show HN: Databasediagram.com – Private, Text to Entity-Re... by Fiahil on Thursday June 08, 2023 @01:04PM (#36245163)
Every engineer I know have been using DBML for a while. Did they fail their market research ?

Edit: Damn, it really look like they were copying dbdiagram.io, down to the FK relationship syntax. Not cool.

Re:Show HN: Databasediagram.com – Private, Text to Entity-Re... by bdcravens on Thursday June 08, 2023 @01:10PM (#36245250)
It does look VERY similar, but I think they tried to make the language a bit more terse. As a said is another comment, I think the slightly additional structure is actually better.
Re:Show HN: Databasediagram.com – Private, Text to Entity-Re... by bdcravens on Thursday June 08, 2023 @01:08PM (#36245222)
I've used DBML and like it as well. There's a small ecosystem of tools that support it, and I think the additional structure with curly brackets makes for fast "eye parsing".
Re:Show HN: Databasediagram.com – Private, Text to Entity-Re... by swyx on Thursday June 08, 2023 @01:17PM (#36245358)
ive been a keeping a list of other diagramming tools too https://github.com/swyxio/spark-joy/blob/master/README.md#di...
Re:Show HN: Databasediagram.com – Private, Text to Entity-Re... by chrisweekly on Thursday June 08, 2023 @05:55PM (#36249747)
Dude you have all the lists.
Re:Show HN: Databasediagram.com – Private, Text to Entity-Re... by swyx on Thursday June 08, 2023 @08:01PM (#36251128)
you wont believe #7!

on a more serious note, everyone should have a little utility belt of lists, hand curated and intimately known. they are an extension of me at this point.

Re:Show HN: Databasediagram.com – Private, Text to Entity-Re... by huydotnet on Thursday June 08, 2023 @06:56PM (#36250414)
would you mind checking https://chatuml.com out to see if it fits your list?
Re:Show HN: Databasediagram.com – Private, Text to Entity-Re... by swyx on Thursday June 08, 2023 @08:02PM (#36251137)
sure! surprised i havent come across jt before. PR welcome
Re:Show HN: Databasediagram.com – Private, Text to Entity-Re... by huydotnet on Friday June 09, 2023 @01:23AM (#36253600)
awesome, thank you so much!
Re:Show HN: Databasediagram.com – Private, Text to Entity-Re... by breadwinner on Thursday June 08, 2023 @11:33PM (#36252779)
Add Airforms since it has an automatic database diagram display: https://airforms.com
Re:Show HN: Databasediagram.com – Private, Text to Entity-Re... by npack on Thursday June 08, 2023 @01:24PM (#36245469)
dbdiagram is definitely an useful utility. Some of the differentiators would be: 1. Simpler Syntax 2. Fully Local processing (This tool works offline, once you load the original web page) 3. Light weight & fast (the entire project is 20kb in size)
Re:Show HN: Databasediagram.com – Private, Text to Entity-Re... by tempest_ on Thursday June 08, 2023 @06:10PM (#36249921)
I like the markup language and the app looks nice but I just can't comfortably dump database schemas into random web apps.
Re:Show HN: Databasediagram.com – Private, Text to Entity-Re... by grouseway on Thursday June 08, 2023 @07:09PM (#36250576)
I see the other comment is marked dead now, but seriously why? I'm having a hard time imagining how a schema is viewed as actual intellectual property or a security risk.
Re:Show HN: Databasediagram.com – Private, Text to Entity-Re... by jcoder on Thursday June 08, 2023 @09:43PM (#36252081)
Intellectual property: it represents what kinds of data you maintain, their naming, and their relation. That’s valuable on its own and also points to what your software does.

Security: well, see above—knowing what data is stored determines your value as a target.

Now is it the _best_ way to target an adversary? Probably not.

Re:Show HN: Databasediagram.com – Private, Text to Entity-Re... by abraae on Thursday June 08, 2023 @11:16PM (#36252677)
Show me your flowchart and conceal your tables, and I shall continue to be mystified. Show me your tables, and I won't usually need your flowchart; it'll be obvious." -- Fred Brooks, The Mythical Man Month (1975)