Live data from Hacker News

Viewing profile — alixanderwang

alixanderwang

HN member
Joined
Mon, Dec 30, 2019, 12:33 AM UTC
HN karma
1,481
Public activity
277 items

About alixanderwang

Founder of https://terrastruct.com

alex at terrastruct dot com

Recent public activity

  1. comment
    Comment #45715939

    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, …

  2. comment
    Comment #45712667

    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.

  3. comment
    Comment #45712570

    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 re…

  4. comment
    Comment #45712514

    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

  5. comment
    Comment #45712492

    What if that style is already used though? (e.g. other connections are red)

  6. comment
    Comment #45708845

    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: …

  7. comment
    Comment #45708803

    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

  8. comment
    Comment #45132337

    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 custom…

  9. comment
    Comment #44962887

    Thank you, made an issue: https://github.com/terrastruct/text-to-diagram-site/issues/6...

  10. comment
    Comment #44961465

    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…

  11. comment
    Comment #44960288

    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 improve…

  12. comment
    Comment #44959563

    Can definitely concur about the Reddit part. Feels like commenters there are always looking for a gotcha

  13. comment
  14. comment
    Comment #44959263

    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 (…

  15. comment
    Comment #44959001

    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 …

  16. comment
    Comment #44958068

    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…

  17. comment
    Comment #44958042

    Thanks! Good to know, we'll slot this for 0.7.2 (next release)

  18. comment
    Comment #44957539

    It switches to ELK: https://github.com/terrastruct/d2/blob/master/d2cli/main.go#...

  19. comment
    Comment #44956365

    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…

  20. comment
    Comment #44956227

    Ah right, forgot to test the update with dark mode. Thanks for letting me know! edit: fixed

  21. comment
    Comment #44955092

    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 th…

  22. story
  23. comment
    Comment #44922958

    > 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 usuall…

  24. comment
    Comment #44739468

    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 ch…

  25. comment
    Comment #44433940

    Yeah we do this with globs. a.class: backend b.class: frontend # hide everything **: suspend layers: { backend: { # show backend stuff **: unsuspend { &class: backend } } } see mor…