mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,5 Tsd.
aktive Profile

#graphviz

0 Beiträge0 Beteiligte0 Beiträge heute

I'm still using graphviz/dot to make infrastructure diagrams. It works pretty well but I think is showing its age, doesn't seem too well maintained and has some limitations.

So what are the cool kids using for this nowadays? I really don't want to use a graphical tool though - I want to write a simple text format and put it in version control.

The interactive calculation sheet for #engineering, based on #emacs, #orgmode, #texlatex and #sympy is available in English [1], although the blog article is in German [2]. The template is also in English [3].

#Orgmode is so impressive, you could use #maxima, #octave, #gnuplot, #graphviz and almost 40 other languages with all their libraries right out of the box [4].

Have fun!

[1] vennemann-online.de/flossblog/
[2] vennemann-online.de/flossblog/
[3] vennemann-online.de/flossblog/
[4] orgmode.org/worg/org-contrib/b

FTR, this paper was written entirely in #orgmode in #Emacs: a simple export to LaTeX and then upload resulting files (including images created via src blocks, e.g. with #gnuplot, #graphviz, and #PlantUML) to #arXiv. Thank you to all the code developers for all those tools for creating such a powerful, useful, and efficient working environment for coding, analysis, and writing prose.

And all of it #FOSS!

fediscience.org/@ericsfraga/11

FediScience.orgéric 🚲 🇪🇺 :emacs: (@ericsfraga@fediscience.org)Angehängt: 1 Bild ## New paper on arXiv *A multi-agent system for hybrid optimization* by me and colleagues at #UCL #ChemicalEngineering. https://arxiv.org/abs/2501.09563 #agents #MultiAgentSystem #optimization #PSE #ProcessSystemsEngineering #HybridOptimization #JuliaLang

I just completed "Crossed Wires" - Day 24 - Advent of Code 2024 adventofcode.com/2024/day/24

Wow, this one took me a hell of a long time. Part1 involved building a state machine to execute a bunch of bitwise operations. Part2 was a different beast, involving stepping through the instructions and spotting mistakes. I had to rewrite my answer 6 times over a week to get that, and it involved a #graphviz export as well. Now, on to my next missing 2024 star...

The Emacs Writing Studio workflow for authors created with Graphviz

edotor.net/?engine=dot#%20digr

@craigmaloney

In your place I would at least take a look at #PyGraphviz

pygraphviz.github.io/documenta

"PyGraphviz is a #Python interface to the #Graphviz graph layout and visualization package. With PyGraphviz you can create, edit, read, write, and draw graphs using Python to access the Graphviz graph data structure and layout algorithms. PyGraphviz provides a similar programming interface to NetworkX (networkx.org)."

It has layout and drawing, and can also export to dot.

pygraphviz.github.ioPython interface to Graphviz — PyGraphviz 1.12 documentation

New #ThingUmbrella releases & example: This week's releases included updates to thi.ng/system, a minimal and declarative way to compose an app from multiple components, build their dependency graph and manage their lifecycle (async start/stop) in the correct (topological) order. The computed graph (DAG) can then also be serialized to GraphViz format for visualization/debugging/documentation purposes with a single line of code (see readme)...

Even though I've been using this system in dozens of projects, it occurred to me there wasn't any example project yet demonstrating this approach, so I finally fixed that:

github.com/thi-ng/umbrella/tre

The demo is purposefully minimal and the source code is (hopefully) much more interesting than the result. In addition to showing how the app components are defined, this example also shows another powerful pattern I've been using in my own tools:

Using thi.ng/atom as central app state and thi.ng/rstream pubsub as central event bus, to both of which various system components can attach topic based subscriptions (aka event and/or change handlers). Since each of these reactive subscriptions are normal rstream subs, they can all be forming graphs of child subs and be filtered/transformed and synchronized via hundreds of composable operators in the thi.ng/rstream and thi.ng/transducers packages — and — these rstream values can also be directly embedded in thi.ng/rdom created reactive UI components/elements/attributes. Some of these techniques are shown in this new example as well... Hope it's helpful to some of you!

#ThingNews#HowToThing#Graph

Wochenrückblick, Ausgabe 24 (2024-03).

Diesmal mit WireViz (GraphViz für Verkabelungen 🤓), einem hypnotisierenden Blick auf die Bits des aktuellen Unix-Timestamps, Applite - dem macOS App Store für Homebrew Casks, noch mal llamafile (LLM für die Ausführung auf dem eigenen Rechner), dem BFG Repo-Cleaner und wie mir dieser helfen soll (BFG9000 kennt ihr auch noch?), Debugging-Tricks für die Browser Developer Tools, wieder Wildschweine im Garten und wie immer Techno.

#WireViz #GraphViz, #Timestamp #Y2K38 #Applite #llamafile #BFGRepoCleaner #BFG9000 #DevTools #Browser #WebDev #Debugging #Wildschwein #Techno

marcusjaschen.de/blog/2024/202

Marcus Jaschen · Rückblick Kalenderwoche 2024-03Eine kleine Zusammenfassung der Dinge, die mir in der Kalenderwoche 03 widerfahren sind.