99 points by yaronsc 5 days ago | 31 comments
raydenvm 1 day ago
dtagames 20 hours ago
I've found you can already paste an architecture diagram into Cursor and use that to guide code[1]. I make mine in Xmind because there's no need for special, rigid formatting.
[0] https://en.m.wikipedia.org/wiki/Computer-aided_software_engi...
[1] Diagram as code example from my dev blog: https://davidbethune.com/blog/watsonDevBlog28
yaronsc 14 hours ago
d-lisp 1 day ago
westurner 24 hours ago
Years ago I tried ArgoUML for generating plone classes/models, but there was a limit to how much custom code could be round-tripped and/or stuffed into UML XML IIRC.
Similarly, no-code tools are all leaky abstractions: they model with UI metaphors only a subset of patterns possible in the target programming language, and so round-trip isn't possible after adding code to the initial or periodic code-generation from the synced abstract class diagram.
Instead, it's possible to generate [UML class] diagrams from minimal actual code. For example, the graph_models management command in Django-extensions generates GraphViz diagrams from subclasses of django.models.Model. With code to diagram workflow (instead of the reverse), you don't need to try and stuff code in the extra_code attr of a modeling syntax so that the generated code can be patched and/or transformed after every code generation from a diagram.
https://django-extensions.readthedocs.io/en/latest/graph_mod...
I wrote something similar to generate (IDEF1X) diagrams from models for the specified waterfall process for an MIS degree capstone course.
It may be easier to prototype object-oriented code with UML class diagrams in mermaid syntax, but actual code shouldn't be that tough to generate diagrams from.
IIRC certain journals like ACM have their own preferred algorithmic pseudocode and LaTeX macros.
aqula 1 day ago
mentalgear 1 day ago
genewitch 1 day ago
Reply to post: "any"?
[0] I accept large checks for allowing setting seeds on-prem.
nivertech 21 hours ago
yaronsc 14 hours ago
mpetrovich 1 day ago
Looks interesting, best of luck!
dantastic 1 day ago
sky2224 1 day ago
I'm probably a bit too trusting, but holy hell does that still give a terrible first impression when we have in-browser solutions available to show code demos.
yaronsc 14 hours ago
magicalhippo 1 day ago
I see some thing I recognize, diagrams, but nothing else makes sense.
potamic 1 day ago
I suppose it's also a general question about the many new AI applications in the market, because these flagship models are getting really good by the day, and seem to be eating up into each and every of those use cases.
yaronsc 14 hours ago
bwfan123 23 hours ago
yaronsc 14 hours ago
smallnix 23 hours ago
rco8786 22 hours ago
Feels like we're onto something here.
victorbjorklund 7 hours ago
sky2224 1 day ago
Any plans to create systems that allow this to be embedded in existing code bases? It'd be neat to be able to sketch out new systems that your tool could generate code for that seamlessly hooks into an existing system's architecture, especially if it could have a UX similar to how copilot or cursor behave in how they're directly inline with the code.
yaronsc 14 hours ago
baumschubser 1 day ago
Wondering how no-code tools like this handle those discrepancies between the super-detailed specs and the real world diagrams
yaronsc 14 hours ago
23 hours ago
Rexxar 18 hours ago
yaronsc 14 hours ago
swyx 1 day ago
2. (sorry to bring it up but have to ask) how does Diagrid/Dapr compare to Temporal? i browsed your docs but there wasn't much that came up. is Dapr strictly dag based?
yaronsc 14 hours ago
2. Dapr has 9 APIs, one of which is Workflows which indeed competes with Temporal. Dapr Workflows isn't DAG based, it's code-first. This tool allows you to start with an external representation
revskill 1 day ago
curtisszmania 1 day ago