Live data from Hacker News

Monosketch

monosketch.io

121–130 of 144 posts

Re: Monosketch

#122
I once saw a girl in CSCI class have an ASCII sketch of CPU memory chips (or something like that), and I thought you had to be a prodigy to do that ><

Re: Monosketch

#123

Earlier quoted context omitted.

LLMs can understand ASCII diagrams

LLMs nowadays can understand png diagrams too.

But not all CLIs handle pngs as easily as a text diagram. Syncing images is also multiple times slower.

png diagrams should never be the default.

Re: Monosketch

#124
I was describing to Claude a SwiftUI panel layout and it responded with an ASCII diagram confirming what I want. This could allow that type of communication to go both ways?

Re: Monosketch

#126
post #69

Earlier quoted context omitted.

They can’t update it though. In docs it makes sense to use that as a basis and have the Llm update it when needed

Mermaid diagrams are even better because you don't waste characters on the visual representation but rather the relationships between them. It's the difference between graph TD User -->|Enters Credentials| Frontend[React App] Frontend -->|POST /auth| API[NodeJS Service] API -->|Query| DB[(PostgreSQL)] API --x|Invalid| Frontend DB -->|User Object| API API -->|JWT| Frontend and +-------+ +-------------+ +---------+ | U…

But the point is to have something easy to read both for humans and LLM, no?

It’s harder to read mermaid in a terminal or a markdown file…

Re: Monosketch

#127

What's old is new again. This takes me back thirty-odd years to some ASCII drawing program I used to use in DOS. I can't recall if it was somehow part of WordPerfect or its own thing.

Perhaps it was TheDraw? Which has been reincarnated now as Durdraw: https://durdraw.org/

maybe a much earlier version. There were no animations, and this was before color was widespread.

Re: Monosketch

#129
post #126

Earlier quoted context omitted.

Mermaid diagrams are even better because you don't waste characters on the visual representation but rather the relationships between them. It's the difference between graph TD User -->|Enters Credentials| Frontend[React App] Frontend -->|POST /auth| API[NodeJS Service] API -->|Query| DB[(PostgreSQL)] API --x|Invalid| Frontend DB -->|User Object| API API -->|JWT| Frontend and +-------+ +-------------+ +---------+ | U…

But the point is to have something easy to read both for humans and LLM, no? It’s harder to read mermaid in a terminal or a markdown file…

Mermaid diagrams automatically render on Markdown and IDE chat windows as in VSCode or Cursor. So you get the best of both worlds, a graph you can look at a ND manipulate with the mouse but also in a format LLMs can read.

Re: Monosketch

#130
post #90
post #63

What is the purpose of ASCII diagramming today? Seems like graphics are supported by every document and communications medium that I use. Is it for including directly in code?

My unpopular opinion is that programming is stuck in the 1970s: a lot of programmers use a 1970s-style terminal window to enter 1970s OS commands, which run on a 1970s processor architecture (which is slowly getting replaced by a 1980s architecture). They use a 1970s editor (which is much superior to the other 1970s editor) to write programs in a 1970s language. ASCII diagrams are just a symptom of this. Hardware is…

I was thinking about this the other day - I watched a video about the acme editor and it was showing off text editing in a shell buffer, much like M-x shell. I realized I haven’t yet found a terminal emulator that will let you select text with a mouse while you’re editing in the shell. It’s such a simple thing that would be so useful, especially on a Mac where CUA bindings don’t conflict with terminal escape codes. iTerm lets you Option+click to position the cursor but you can’t select a word with the mouse and press ‘delete’. Why? It seems like such a simple thing to do.
Post reply on HN