Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alixanderwang
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
TALA Is Open-Source
(d2lang.com)
316 points
by
alixanderwang
9d ago
|
24 comments
2.
▲
by
alixanderwang
9d ago
They sponsor many popular software projects unrelated to their mission. It helps bring awareness to what they do and they also take a 7% cut of donations to fund their operations. I probably could've elaborated on this more in the post
3.
▲
by
alixanderwang
10d ago
Yes, I'm planning to open-source it tomorrow.
4.
▲
D2 Is Non-Profit
(d2lang.com)
65 points
by
alixanderwang
10d ago
|
24 comments
5.
▲
by
alixanderwang
11mo ago
You get this when transitioning boards in our hosted platform (try clicking): https://d2studio.ai/diagrams/664641071 I don't add this for D2 CLI because the outputs there are SVG, and this feature requires Javascr
6.
▲
by
alixanderwang
11mo ago
I love this hahah. Diagrams as a comic book. The urge to add silly stuff like this vs working on v2 of sequence diagram that has much more demand is often tempting.
7.
▲
by
alixanderwang
11mo ago
The purpose is to make use of a dimension of the visual space previously unused to make diagrams more expressive. Even if it's something simple like a node turning from green to red to convey it's shutting down. Maybe something li
8.
▲
by
alixanderwang
11mo ago
We have examples here, though I need to add more. https://d2lang.com/examples/elk/ I like ELK's output better sometimes too, e.g. the Golang Queue example. Choice is good
9.
▲
by
alixanderwang
11mo ago
What if that style is already used though? (e.g. other connections are red)
10.
▲
by
alixanderwang
11mo ago
Coauthor of D2 here. Lately I've been noodling on the idea of expanding the animation capabilities. I think out loud a bit here, and if you have thoughts, would love to hear them: https://github.com/terrastruct/d2&
11.
▲
by
alixanderwang
11mo ago
D2 does allow custom layout tweaking in the proprietary layout engine. Sadly it's not possible in the open-source ones. https://docs.d2studio.ai/tour/freehand
12.
▲
by
alixanderwang
1y ago
At the very least, assuming you're correct the current slow infrastructure is by design, it seems good there are options. A business can choose if they want 1. slow, pay for customer support and fraud protection 2. instant, lower cost,
13.
▲
by
alixanderwang
1y ago
Thank you, made an issue: https://github.com/terrastruct/text-to-diagram-site/issues/6...
14.
▲
by
alixanderwang
1y ago
Yeah that one's a community plugin vs an officially maintained one, which can have a range of activity from graveyard to some being maintained better than many of our official ones. That maintainer seems active on GitHub though and the
15.
▲
by
alixanderwang
1y ago
<3 The linking you can do already if I understand the request correctly: https://play.d2lang.com/?script=Ks5ILEi1UihOLSxNzUtOjU_JTEwv... Okay, we'll put those sequence diagram improvements in our sprint for next rel
16.
▲
by
alixanderwang
1y ago
Can definitely concur about the Reddit part. Feels like commenters there are always looking for a gotcha
17.
▲
by
alixanderwang
1y ago
1. It depends on what you value =). For some, those 2 you mentioned are enough. For others, it can be something like the our CLI doesn't require a chromium browser to render SVGs ( https://news.ycombinator.com/item?id=31
18.
▲
by
alixanderwang
1y ago
Yeah I think what you're looking for is the note at the end of this section: https://d2lang.com/tour/exports/#svg Feel free to make a PR to d2/d2-docs to include it in our list of community tools/p
19.
▲
by
alixanderwang
1y ago
Unfortunately not, I've tried reaching out to GH folks but no dice. However it should be noted that d2.js, which enables client-side renders, didn't really become usable until this month and still isn't really officially rele
20.
▲
by
alixanderwang
1y ago
Thanks! Good to know, we'll slot this for 0.7.2 (next release)
21.
▲
by
alixanderwang
1y ago
It switches to ELK: https://github.com/terrastruct/d2/blob/master/d2cli/main.go#...
22.
▲
by
alixanderwang
1y ago
It does now! (As of a week ago) Check out the network tab in the d2 playground. It's powered by d2.js, a wrapper around a wasm port of d2, which we've recently been working on. Not super officially ready yet but soon to be, and wi
23.
▲
by
alixanderwang
1y ago
Ah right, forgot to test the update with dark mode. Thanks for letting me know! edit: fixed
24.
▲
by
alixanderwang
1y ago
Hello fellow devs. Just wanted to share a new feature we added this morning, though it's very alpha stage (already someone's filed a github issue for it hah) If you want to skip the blog post and poke around directly: https:
25.
▲
D2 (text to diagram tool) now supports ASCII renders
(d2lang.com)
441 points
by
alixanderwang
1y ago
|
73 comments
26.
▲
by
alixanderwang
1y ago
> I’m often alone on this. Engineers look at complex systems with many interesting parts and think “wow, a lot of system design is happening here!” In fact, a complex system usually reflects an absence of good design. For any job-hunters
27.
▲
by
alixanderwang
1y ago
Played around with it for a serious task for 15 mins. Compared to Claude Code: Pros: - Beautiful UI - Useful sidebar, keep track of changed files, cost - Better UX for accepting changes (has hotkeys, shows nicer diff) Cons: - Can't com
28.
▲
by
alixanderwang
1y ago
Yeah we do this with globs. a.class: backend b.class: frontend # hide everything **: suspend layers: { backend: { # show backend stuff **: unsuspend { &class: backend } } } see
29.
▲
by
alixanderwang
1y ago
At least for the layering + using text aspect, D2 support this: defining diagrams as multiple layers like so x -> y layers: { inside_x: { a -> b } } A fleshed out example hosted on our web service: https:&#x
30.
▲
by
alixanderwang
1y ago
This is the first time I've wanted more AI video content. Thanks for sharing.
More ›