6 ms·
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: htt
by seer 3y ago
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/src/grammar.types.ts 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.
- mixmastamyk 3y agoThose corners look like Unicode block chars.
- diggan 3y agoASCII means more than just characters from the ASCII character standard today, for better or worse. The "modern" translation would be something like "text". I don't agree or disagree with it, so don't argue with me, just trying to explain how people use it today.
- mixmastamyk 3y agoAnyone can write that a word no longer has its defined meaning. That can’t even be refuted, as it’s certain someone is confused somewhere. However, ASCII is not a random ancient word, it’s a ratified standard. Would be like calling any datetime format “ISO8601”.
- samatman 3y agoContext is important, ya know? If we're talking about text encodings, that's one thing, but we're talking about drawing. "ASCII text" drawing was never entirely limited to ASCII even in the days of single-byte encodings. There were code pages which used the high bit for more useful drawing glyphs, people took advantage of that when they could. The concept of an extended ASCII encoding goes way back: https://en.wikipedia.org/wiki/Extended_ASCII https://en.wikipedia.org/wiki/Extended_ASCII, and UTF-8 is just another extended ASCII encoding, albeit a very clever one, with a lot of codepoints.
- mixmastamyk 3y agoExtended supersets of a thing are not the thing, they are a larger group.
- oasisaimlessly 3y agoSee synecdoche: https://en.m.wikipedia.org/wiki/Synecdoche https://en.m.wikipedia.org/wiki/Synecdoche
- throwaway290 3y agoNeither a superset or subset of a thing is the thing. Only the thing is the thing. But when you combine units of language the result is not just the sum of the parts. word1 means X and word2 means Y but established phrase "word1 word2" rarely means X + Y. The result relates to X and Y but it has a life of its own that depends on how it's used. Think of these and how they are more than sum of their parts. Demo scene. Serverless. Skyscraper. Information security. Artificial intelligence. Drawing board.
- oneeyedpigeon 3y agoAre you saying we should reserve the term "ASCII art" literally for text containing just the original 95 printable characters? Even if you can make a good argument for that, I fear you're fighting a losing battle.
- mixmastamyk 3y agoYes, the terms ANSI art and Unicode art have been around for decades and are defined standards as well. No need to make an argument.
- diggan 3y ago> However, ASCII is not a random ancient word, it’s a ratified standard Even so, ask around and you'll find debates about which ASCII standard is the "right" and "true" one. Some argue only the initial standard is correct for ASCII art, you need to follow that, others say any of the versions are alright. It's still ambiguous.
- eichin 3y agoYeah, "BOX DRAWINGS LIGHT UP AND LEFT" and "BOX DRAWINGS LIGHT DOWN AND LEFT". (If this were ASCII, it would have used | ("VERTICAL LINE") instead of "BOX DRAWINGS LIGHT VERTICAL".)
- tzot 3y agoI believe here ASCII was used not as in ASCII-the-standard but as “ASCII” in ASCII-art. I also believe that ASCII art should actually be called “monospaced Unicode text” since people doing ASCII art have been using as many codepoints as were available in their platform of choice.
- jvanderbot 3y agoYou should select the lines you'd like to show off and link that.
- diggan 3y agoYou should do a quick scan of the file, it's filled with graphs in the comments, not just one.
- jvanderbot 3y agoI did. Sorry, linking seemed like a good idea so it was just a suggestion. Maybe OP didn't know that was possible.
- echelon 3y agoThis is a fantastic illustration that sells the software for me. Thanks for sharing! I'll have to look into this.
- eichin 3y agoHmm, the "With Expression" diagram on line 656 looks fine in emacs, but in chrome at that actual link, everything on the right is mangled. (The characters look fine, it looks like github's font choices do poorly with the "load bearing whitespace" for the extended bits...)
- Thorrez 3y agoI think it's the ◀ character. It looks like Chrome (I'm on Windows) makes it wider than other Characters. I think ▶ has this same problem. But from a quick scan, I don't see any other place in the file where one of those characters is used in a way that it being extra wide would be noticable.
- tracker1 3y agoFor web it'll really vary by font family availability and fallback. Personally I like the nerd don't variant for Inconsolata, Cascadia Coffee and Firs Code for fixed width usage. I wish self packaging similar to how Google Fonts does it was easier to do. IE breaking up the don't into glyph segments to reduce unused characters for languages not used.
- simonjgreen 3y agoJust observing, I think this is the first time I’ve seen Unicode symbols outside of basic Latin rendering on HN.
- junon 3y agoI've always wanted to try this but never had a reason: do emojis work on HN? I've never seen one and didn't know if it was just a culture thing or if it was enforced: ™ EDIT: Nope! All but the TM "emoji" got stripped.