{"id":20340,"date":"2018-01-29T09:26:11","date_gmt":"2018-01-29T14:26:11","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=20340"},"modified":"2018-01-29T09:26:11","modified_gmt":"2018-01-29T14:26:11","slug":"four-column-ascii","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2018\/01\/29\/four-column-ascii\/","title":{"rendered":"Four Column ASCII"},"content":{"rendered":"<p><a href=\"https:\/\/garbagecollected.org\/2017\/01\/31\/four-column-ascii\/\">Robbie V<\/a> (via <a href=\"https:\/\/twitter.com\/angealbertini\/status\/948507556628049922\">@angealbertini<\/a>):<\/p>\n<blockquote cite=\"https:\/\/garbagecollected.org\/2017\/01\/31\/four-column-ascii\/\"><p>I found <a href=\"https:\/\/news.ycombinator.com\/item?id=13499386\">this gem<\/a> on <a href=\"https:\/\/news.ycombinator.com\/item?id=13498365\">Hacker News<\/a> the other day. User <a href=\"https:\/\/news.ycombinator.com\/user?id=soneil\">soneil<\/a> posted to a <a href=\"http:\/\/pastebin.com\/cdaga5i1\">four column version<\/a> of the ASCII table that blew my mind. I just wanted to repost this here so it is easier to discover.<\/p><p>Here&rsquo;s an excerpt from the comment:<\/p><blockquote><p>I always thought it was a shame the ascii table is rarely shown in columns (or rows) of 32, as it makes a lot of this quite obvious. eg, <a href=\"http:\/\/pastebin.com\/cdaga5i1\">http:\/\/pastebin.com\/cdaga5i1<\/a>\nIt becomes immediately obvious why, eg, ^[ becomes escape. Or that the alphabet is just 40h + the ordinal position of the letter (or 60h for lower-case). Or that we shift between upper &amp; lower-case with a single bit.<\/p><\/blockquote><p>[&#8230;]<\/p><p>In the terminal you can type these control characters by holding the <code>CTRL<\/code> (control characters, get it?) key in combination with another key. For example, as many experienced vim users know pressing <code>CTRL+[<\/code> in the terminal (which is <code>^[<\/code> in <a href=\"https:\/\/en.wikipedia.org\/wiki\/Caret_notation\">caret notation<\/a>) is the same as pressing the <code>ESC<\/code> key. <em>But why is the escape key triggered by the <code>[<\/code> character? Why not another character?<\/em> This is the insight soneil shares with us.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Robbie V (via @angealbertini): I found this gem on Hacker News the other day. User soneil posted to a four column version of the ASCII table that blew my mind. I just wanted to repost this here so it is easier to discover.Here&rsquo;s an excerpt from the comment:I always thought it was a shame the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[],"tags":[295,318,163],"class_list":["post-20340","post","type-post","status-publish","format-standard","hentry","tag-history","tag-terminal","tag-unix"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/20340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=20340"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/20340\/revisions"}],"predecessor-version":[{"id":20341,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/20340\/revisions\/20341"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=20340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=20340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=20340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}