potygen
drawio-desktop
potygen | drawio-desktop | |
---|---|---|
3 | 125 | |
86 | 46,818 | |
- | 1.4% | |
2.8 | 8.5 | |
6 months ago | 6 days ago | |
TypeScript | JavaScript | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
potygen
-
Monodraw
OMG this is one of my favorite tools paid for it all the way back when it went out. Have used it so many times just to write documentation for things like:
https://github.com/ivank/potygen/blob/main/packages/potygen/...
ASCII is just so versatile and allows you to put nice graphics in places where one does not expect, making things more easily understandable.
-
Pql, a pipelined query language that compiles to SQL (written in Go)
I also wrote a parser (in typescript) for postgres (https://github.com/ivank/potygen), and it turned out quite the educational experience - Learned _a lot_ about the intricacies of SQL, and how to build parsers in general.
Turned out in webdev there are a lot of instances where you actually want a parser - legacy places where they used to save things in plane text for example, and I started seeing the pattern everywhere.
Where I would have reached for some monstrosity of a regex to solve this, now I just whip out a recursive decent parser and call it a day, takes surprisingly small amount of code! (https://github.com/dmaevsky/rd-parse)
-
Is ORM still an anti-pattern?
I used to agree 100% with this sentiment, as dissatisfaction with available ORMs at the time (early days of doctrine in PHP) drove me to actually write my own. Turned out an amazing exercise in why orms are hard.
Anyway a few years later I was in a position to start things fresh with a new project so thought to myself, great lets try to do things right this time - so went all the way in the other direction - raw sql everywhere, with some great sql analyzer lib (https://github.com/ivank/potygen) that would strictly type and format with prettier all the queries - kinda plugged all the possible disadvantages of raw query usage and was a breeze to work with … for me.
What I learned was that ORMs have other purposes - they kinda force you to think about the data model (even if giving you fewer tools to do so) With the amount of docs and tutorials out there it allows even junior members of the team to feel confident about building the system. I’m pretty used to sql, and thinking in it and its abstractions is easy for me, but its a skill a lot of modern devs have not acquired with all of our document dbs and orms so it was really hard on them to switch from thinking in objects and the few ways orms allows you to link them, to thinking in tables and the vast amounts of operations and dependencies you can build with them. Indexable json fields, views, CTEs, window functions all that on top of the usual relation theory … it was quite a lot to learn.
And the thing is while you can solve a lot of problems with raw sql, orms usually have plugins and extensions that solve common problems, things like soft delete, i18n, logs and audit, etc. Its easy even if its far from simple. With raw sql you have to deal with all that yourself, and while it can be done and done cleanly, still require intuition about performance characteristics that a lot of new devs just don’t possess yet. You need to be an sql expert to solve those in a reasonable manner m, just an average dev could easily string along a few plugins and call it a day. Would it have great performance? Probably not. Would it hold some future pitfalls because they did not understand the underlying sql? Absolutely! But hay it will work, at least for a while. And to be fair they would easily do those mistakes with raw sql as well, but with far few resources to understand why it would fail, because orms fail in predictable ways and there is usually tons of relevant blog posts and such about how to fix it.
It just allows for an better learning curve - learn a bit, build, fail, learn more, fix, repeat. Whereas raw sql requires a big upfront “learn” cost, while still going through the “fail” step more often than not.
Now I’m trying out a fp query builder / ORM - elixir’s ecto with the hopes that it gives me the best of both worlds … time will tell.
drawio-desktop
-
Monodraw
For anyone who is willing to use a webapp, I like drawio[0]. You can download locally[1] and self host (I just use the python webserver).
While finding the Github, I see they now actually package an Electron application, so that is probably worth exploring[2].
[0] https://www.drawio.com/
[1] https://github.com/jgraph/drawio
[2] https://github.com/jgraph/drawio-desktop
-
What is your favorite tool for designing complex architecture, and why is it MS Paint?
You can also get it for desktop. It's the same web app but I like to have it installed.
-
Open-source drawing tool – Excalidraw
I like excalidraw for live discussions but if I want to make more detailed or better looking diagrams, I really enjoy these two tools:
- For drag-and-drop/WYSIWYG, I really like DrawIO. They have a web version https://app.diagrams.net/ but I strongly recommend the desktop version https://github.com/jgraph/drawio-desktop/releases/
- For text-as-diagram, I think Mermaid wins this by default since GitHub added markdown support for these: https://mermaid.live/ (This was github's announcement https://github.blog/2022-02-14-include-diagrams-markdown-fil... )
-
HarvardX CS50's Introduction to Programming with Python
Protip: get draw.io if you want to edit that file. Or just use the online https://www.drawio.com/ (previously diagram.net?)
-
Writing software with seamless diagramming?
LibreOffice Writer with Drawio-desktop (and Inkscape if it needs complex editing), if LibreOffice Writer is not enough you can try Scribus.
-
Firewalla with EERO, Cisco 240AP, TP Link switches... EERO & Network Segmentation issues...
This is hard to understand. Can you make a diagram of your network, or a flowchart? I use this software https://www.diagrams.net/
-
MS-Visio ersatz für mac
Gibt es auch als Desktop App.
-
The struggle is real. What free software exists for control circuit diagrams?
Perhaps diagrams.net (click 'more shapes' to add the electrical symbols). There is also yEd. It has logic gates, but I don't know if it has electrical components. Of course KiCAD is specifically designed for circuits, but that might not fit your application.
-
VLAN newbie, is there a way to do this?
I use this software: https://www.diagrams.net/
- Caffè Italia * 26/04/23
What are some alternatives?
cornucopia - Generate type-checked Rust from your PostgreSQL.
draw.io - draw.io is a JavaScript, client-side editor for general diagramming.
jOOQ - jOOQ is the best way to write SQL in Java
excalidraw - Virtual whiteboard for sketching hand-drawn like diagrams
NORM - NORM - No ORM framework
penpot - Penpot: The open-source design tool for design and code collaboration
SQLpage - SQL-only webapp builder, empowering data analysts to build websites and applications quickly
prometheus - The Prometheus monitoring system and time series database.
sqlite-fast - A high performance, low allocation SQLite wrapper targeting .NET Standard 2.0.
mdbook-mermaid - A preprocessor for mdbook to add mermaid support
sqlc - Generate type-safe code from SQL
Modelio - Modelio is a modeling solution offering a wide range of functionalities based on the main standards of enterprise architecture, software development and systems engineering.