foam3
diagrams
foam3 | diagrams | |
---|---|---|
4 | 110 | |
39 | 34,870 | |
- | - | |
9.9 | 6.2 | |
6 days ago | 15 days ago | |
HTML | Python | |
Apache License 2.0 | MIT License |
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.
foam3
-
How could the early Unix OS comprise so few lines of code?
Thank you for sharing that video! Your foam project looks fascinating too: https://github.com/kgrgreer/foam3
-
A repository of “BASIC Computer Games” code in modern languages
I wrote a BASIC to JS compiler/transpiler that includes all of the programs from "BASIC Computer Games" as examples.
You can try it out in your browser at: https://codepen.io/kgr/full/yLQyLjR
Just select the game you want to to run from the top-left list box, then press the "Compile" button and you'll see the translated JS source in the right text-area. Then press the "Run" button to run it.
The source code for the compiler is available at: https://github.com/kgrgreer/foam3/tree/429f2fd2b4cef0e37996a...
-
Architecture diagrams should be code
Sort of related but an interesting idea is take it one step further with the Feature Oriented Active Modeler (FOAM) [1,2] paradigm and use code to model your whole system, which generates diagrams model, and runnable code in whatever language needed. The project is still young and it may not be practical today with the available tooling but it seems like a cool idea and project. It is influenced by the unix principle of “coding the perimeter not the area” which is essentially factoring your dev tasks into building NM capabilities, but instead of building NM things individually build N+M tools that can be composed into N*M capabilities [2].
So with FOAM the idea is if we want to maintain a model of our software, and build it as well, what if we can use one composable tool to generate both, rather than model everything and code it separately.
[1] https://github.com/kgrgreer/foam3
[2] https://foam-framework.github.io/foam/
[3] https://m.youtube.com/watch?v=3Ea3pkTCYx4
-
Programming Breakthroughs We Need
https://github.com/kgrgreer/foam3#videos
FOAM is a modelling framework that generates cross-language boilerplate for you, but it takes a much broader view of what constitutes boilerplate than most systems. Typically, it can generate between 95-98% of a working cross-language cross-tier system.
FOAM helps you create features for modelled data. Features include things like a Java/Javascript/Swift classes to hold your modelled data, code to marshall to/from JSON/XML/CSV/etc., various GUI Views, and support for storing your data in various databases or file formats. However, FOAM models are themselves modelled, meaning they're afforded all of the above benefits as well. This lets you apply the MVC technique of having multiple views work against the same underlying data-model concurrently (say a grid and a pie-chart in a spreadsheet), so that you can choose the best view or views for your current need. When treated this way, your code is no longer text (but it can be, if that's one of your views), and you can easily view and store it in many different ways and more easily programmatically manipulate it.
diagrams
- Diagrams as Code
-
Mastering Matplotlib: A Step-by-Step Tutorial for Beginners
diagrams - Diagram as Code.
- How to draw beautiful software architecture diagrams
-
Top 9 Architecture diagram software for cloud infrastructure
Mingrammer is an intriguing tool for individuals who prefer coding diagrams rather than creating them through graphical interfaces. It operates using Python code and offers a relatively quick setup process. It is compatible with AWS, Azure, GCP, Alibaba, and Oracle. Notably, the project is open source and has garnered significant attention on GitHub with over 31K stars.
-
Pravljenje AWS strukturnog diagrama
Ja sam koristio ovo: https://diagrams.mingrammer.com/
-
Dynamically generate Cloud System Architecture diagram
That’s another option: https://diagrams.mingrammer.com Guessing with IaC done with Pulumi (Python) and this, it could pretty powerful and automatically generated.
- [Golang] Diagrammes comme code avec Go?
- Network diagram Tool
-
Top 7 diagrams as code tools for software architecture
Diagrams allow you to draw cloud system architectures using Python code.
-
Do you like to draw while explaining stuff?
I use excalidraw a lot for short conversations. If I have to go into major detail I use diagrams https://diagrams.mingrammer.com
What are some alternatives?
xv6-public - xv6 OS
c4-draw.io - Draw.io template/diagram containing C4 Model shapes. Drawio Diagrams.net
MyDef - Programming in the next paradigm -- your way
Graphviz - Simple Python interface for Graphviz
TALA - A diagram layout engine designed specifically for software architecture diagrams
obsidian-excalidraw-plugin - A plugin to edit and view Excalidraw drawings in Obsidian
C4-PlantUML - C4-PlantUML combines the benefits of PlantUML and the C4 model for providing a simple way of describing and communicate software architectures
pygraphviz - Python interface to Graphviz graph drawing package
basic-computer-games - An updated version of the classic "Basic Computer Games" book, with well-written examples in a variety of common MEMORY SAFE, SCRIPTING programming languages. See https://coding-horror.github.io/basic-computer-games/
excalidraw - Virtual whiteboard for sketching hand-drawn like diagrams
language-server-protocol - Defines a common protocol for language servers.
vscode-drawio - This unofficial extension integrates Draw.io (also known as diagrams.net) into VS Code.