News for hackers. Stuff that matters.
Re:D2: A new declarative language to turn text into diagrams by Per_Bothner on Tuesday August 30, 2022 @02:09PM (#32653283)
People seem to be missing that this is a preview, not a product (yet). And that: "When the language is more stable, we intend to open source D2. This will happen sometime in 2022."
Re:D2: A new declarative language to turn text into diagrams by setr on Tuesday August 30, 2022 @03:10PM (#32653863)
In D2 Tour video, at 4:30, they say

> When it's more stable, we will be open-sourcing the language.

If thats the case, that only the language will be open-sourced, not the visualization, then I'm not entirely sure what that really gets you, beyond perhaps alternative editors?

But its the layout algorithms that are actually notable.

Re:D2: A new declarative language to turn text into diagrams by nhooyr on Sunday September 04, 2022 @03:13PM (#32716634)
Terrastruct engineer here. The visualization will be open source though I can't say for sure yet whether it'll be with our layout algorithm or with https://github.com/dagrejs/dagre.
Re:D2: A new declarative language to turn text into diagrams by stragies on Tuesday August 30, 2022 @02:12PM (#32653310)
Perhaps then "Preview/Beta online service" should be part of the Headline/title.
Re:D2: A new declarative language to turn text into diagrams by sophacles on Tuesday August 30, 2022 @03:24PM (#32654000)
Perhaps reading the article is a useful way to get information? If the headline contained everything everyone would conceivably want to know, it would be the article. It's not like the headline was misleading: "a new $tool" is a common phrase for software in alpha and beta stages.
Re:D2: A new declarative language to turn text into diagrams by stragies on Tuesday August 30, 2022 @03:59PM (#32654364)
So, to you, "Tool" or "Language" do NOT imply that you can use it independently of a specific online service?

I mean, I agree, that "new" is marketing speak for "alpha/beta", but -to me- there is a difference between a "language/tool" and a "Single-Vendor-WebService". Or is my understanding of the semantics of the English language outdated?

Re:D2: A new declarative language to turn text into diagrams by sophacles on Tuesday August 30, 2022 @11:18PM (#32657978)
Not even outdated - just incorrect. There have been proprietary tools longer than there have been computers, it's the point of patents - grant a monopoly on your proprietary tool for X years in exchange for making it's workings public knowledge.

Even patents aside, why wouldn't this D2 thing qualify as:

   COMPUTING
    a piece of software that carries out a particular function, typically creating
    or modifying another program.
(source: google "define tool")

While it isn't creating or modifying a program, I'd consider "parsing text in a specific syntax to create a diagram" more like a compiler than a site that just provides information or crud sites with some forms. I'm not entirely certain how where it runs affects it's tool status, but it certainly is a consideration to be made while evaluating it for any particular use case.

(also from define tool:

   a thing used in an occupation or pursuit.
and depending on where you stand on the "thingness" of software may also apply here, but that feels diversionary)

I can think of quite a few single vendor languages - various IBM mainframe languages like JCL, K, matlab, multiple .Net and MS languages until recently, applescript, etc.