HackerTrans
TopNewTrendsCommentsPastAskShowJobs

alixanderwang

no profile record

comments

alixanderwang
·9 bulan yang lalu·discuss
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 Javascript.
alixanderwang
·9 bulan yang lalu·discuss
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.
alixanderwang
·9 bulan yang lalu·discuss
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 like that before animations would be a text saying, "this node will shut down now", which takes reading/zooming into text.

I also think it can, if used well, result in diagrams that ⋆⋆spark joy⋆⋆. People like to see diagrams like that, even if it's not more utilitarian. I think sketch mode is an example of this. It changes the font to an objectively less readable one, yet I often hear people make all their D2 diagrams in sketch mode.
alixanderwang
·9 bulan yang lalu·discuss
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
alixanderwang
·9 bulan yang lalu·discuss
What if that style is already used though? (e.g. other connections are red)
alixanderwang
·9 bulan yang lalu·discuss
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/discussions/2677
alixanderwang
·9 bulan yang lalu·discuss
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
alixanderwang
·10 bulan yang lalu·discuss
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, mistakes are irreversible
alixanderwang
·11 bulan yang lalu·discuss
> 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, it's important you forget this during interviews.

In the past I've made the mistake of trying to convey this in system design interviews.

Some hypothetical startup app

> Interviewer: "Well what about backpressure?"

>"That's not really worth considering for this amount of QPS"

> Interviewer: "Why wouldn't you use a queue here instead of a cron job?"

> "I don't think it's necessary for what this app is, but here's the tradeoffs."

> Interviewer: "How would you choose between sql and nosql db?"

> "Doesn't matter much. Whatever the team has most expertise in"

These are not the answers they're looking for. You want to fill the whiteboard with boxes and arrows until it looks like you've got Kubernetes managing your Kubernetes.
alixanderwang
·4 tahun yang lalu·discuss
Terrastruct | Programming language engineer | SF, Remote ok for senior (US/CAN) | Full-time | $120-$200K base | 0.2-1.5% equity

We’re looking for a programming language expert to build a modern diagramming DSL.

Terrastruct is a diagramming tool for software architecture. Current diagramming tools are closer to design tools than dev tools. We’re going to enable software teams around the world to define diagrams with a custom DSL. One that can represent classes, SQL tables, containers, markdown, code blocks, and has autoformatting, and much more. It’s backed by in-house autolayout algorithms, so we control the full stack of the diagram creation. Oh and it’ll be open sourced once ready. We think it’s on its way to be (and already is in many aspects) an order of magnitude better than alternatives like Mermaid, PlantUML, Graphviz/DOT.

We have the initial bits up and running. You can check out the (beta) docs here: https://terrastruct.com/docs/d2/tour/intro/

A cheat sheet for the language (in its current form): https://terrastruct-site-assets.s3.us-west-1.amazonaws.com/d...

And you can play with it on our app (sorry, needs an account. We do plan to put an interactive version without needing to sign up, but things are still in beta right now).

We’re looking for someone ASAP. Requirements are that you’ve worked on programming languages professionally before or have excelled in another area of software (you can point to some widely-used software and say “I played a significant role in building that”). If interested, email me at [email protected], worst that happens is you’ll see a demo and discuss some cool ideas.

https://jobs.lever.co/terrastruct/a5dec256-9d4b-4ebb-a71d-1f...