Top
Best
New

Posted by penguin_booze 17 hours ago

Monosketch(monosketch.io)
730 points | 130 commentspage 5
acedTrex 15 hours ago|
Seeing projects with first commits from 3-4 years ago feels like finding pre nuclear testing steel. No strong proof exists that this project was not conceived as slop.
bonesss 12 hours ago|
LLM bots are gonna start back dating commits to look more legit.
acedTrex 12 hours ago||
Yep, i absolutely expect this to happen, the quality signals that humans use are going to be forever in flux now as the humans try to stay ahead of the bots.
Sharlin 16 hours ago||
Hate to be that guy, but ASCII doesn't contain box-drawing characters or arrows. I guess it's a lost cause though…
wingmanjd 16 hours ago|
Doesn't it have those characters via extended ASCII? I seem to recall making boxes with characters back in my BASIC class.
Sharlin 11 hours ago|||
As brazzy said, there's no such thing as extended ASCII. There's just a huge number of ASCII-compatible eight-bit encodings. The original IBM (and DOS) character set, hardwired into ROM, is the one you're thinking of, and went by various names such as "Personal Computer, MS-DOS United States, MS-DOS Latin US, OEM United States, DOS Extended ASCII (United States), PC-ASCII" [1].

DOS 3.3, in 1987, was the first version to support localized character sets, via a system of "code pages". You'd select an encoding/"character set" that suits your language in AUTOEXEC.BAT – or just used the default 437 if you were a US user and never had to worry about these things. For me, the most relevant code page was 850, aka "OEM Multilingual Latin 1" (not at all the same as ISO/IEC 8859-1 which is also known as "Latin 1").

Why the apparently arbitrary numbers, I'm not sure, but Claude and ChatGPT both claim the codes were simply drawn from a more general-purpose sequence of product numbers used at IBM at the time.

This application, like other similar ones, uses Unicode box drawing characters that now all reside comfortably out of the eight-bit range.

[1] https://www.aivosto.com/articles/charsets-codepages-dos.html

brazzy 16 hours ago|||
"Extended ASCII" is just a sloppy term for a bunch of other encodings that are not, in fact, ASCII.

If your BASIC class used (or emulated) a C64 or compatible, you were using https://en.wikipedia.org/wiki/PETSCII and if it used MS-DOC you were using https://en.wikipedia.org/wiki/Codepage_437

wingmanjd 14 hours ago||
We used QBasic, but I don't recall what version (maybe 4.5?). Codepage 437 looks similar to what I recall seeing, though.
iJohnDoe 11 hours ago||
Everyone linking to their favorite tool, but wanted to point out to the OP that Monosketch looks awesome. Cool being open source as well.
graphviz 15 hours ago||
Is it easy to write a renderer in another program? Do people still say lazyweb?
snarky123 10 hours ago||
Oh look, another tool to draw ASCII boxes. Just what we needed in 2026. Next someone will tell me we can use AI to generate these too.
cowlby 10 hours ago|
Welllll... I gave Opus 4.6 the repository and a sample .mono export and it nailed the file format. There's something to be said about tools and formats that are easy for human-AI end-to-end operation.

                ┌──────────────────────────────────────┐              
                │        New post hits Show HN:        │              
                │  "MonoSketch — Draw ASCII Diagrams"  │              
                └──────────────────────────────────────┘              
                                    │                                 
                                    │                                 
                    ╭───────────────▼──────────────╮                  
                    ┌┤  Did you read the article?   │─────┐            
                    │╰──────────────────────────────╯     │            
                  No│                                 Yes │            
                    │                                     │            
                    │                                     │            
      ┌────────────▼───────────┐            ┌────────────▼───────────┐
      │     Skip straight      │            │      Hmm, this is      │
      │    to the comments     │            │ actually kind of cool  │
      └────────────────────────┘            └────────────────────────┘
                    │                                     │            
                    │                                     │            
      ┌────────────▼───────────┐            ┌────────────▼───────────┐
      │   Adopt the hottest    │            │   Could I build this   │
      │    take as your own    │            │  myself in a weekend?  │
      └────────────────────────┘            └────────────────────────┘
              │         │                                │            
              │         │                          (alway│ yes)       
            ┌──┘         └────┐                           │            
    ┌───────▼──────┐  ┌───────▼──────┐                    │            
    │  "Just use   │  │"I built this │       ┌────────────▼───────────┐
    │  Vim + sed"  │  │   in 1997"   │       │    Start rewriting     │
    └──────────────┘  └──────────────┘       │ it in Rust, obviously  │
            │                 │              └────────────────────────┘
            │                 │                           │            
            └───────┬─────────┘                           │            
      ┌────────────▼───────────┐            ┌────────────▼───────────┐
      │     Post with mass     │            │ Abandon project after  │
      │       confidence       │            │    exactly 2 hours     │
      └────────────────────────┘            └────────────────────────┘
                    │                                     │            
                    │                                     │            
                    │                        ┌────────────▼───────────┐
                    │                        │    Star the repo on    │
                    │                        │     GitHub anyway      │
                    │                        └────────────────────────┘
                    │                                     │            
                    │                                     │            
                    └────────────────┬────────────────────┘            
            ┌────────────────────────▼───────────────────────┐         
            │          Refresh HN every 45 minutes           │         
            │          to check your comment karma           │         
            └────────────────────────────────────────────────┘         
                                    │                                 
                                    │                                 
            ┏━━━━━━━━━━━━━━━━━━━━━━━━▼━━━━━━━━━━━━━━━━━━━━━━━┓         
            ┃             Repeat tomorrow with a             ┃         
            ┃           completely different tool            ┃         
            ┃                                                ┃         
            ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
casey2 11 hours ago||
the Linux man page I have installed online says this isn't ASCII and it even made this face when I asked it O _ o
sirtimbly 16 hours ago||
finally!
sbondaryev 17 hours ago|
Nice project!

This pairs nicely with ASCII-Driven Development - for iterating and modifying layouts with AI.

https://medium.com/@calufa/ascii-driven-development-850f6666...

rvz 16 hours ago|
That does not make any sense at all in the long run.

Not everything has to be done in arcane ASCII diagrams because of vibes and LLMs.

This is yet another fad destined to be forgotten.

sbondaryev 16 hours ago||
That's fair. It's just a suggestion - it's been useful for me in early stages of UI prototyping.