[{"data":1,"prerenderedAt":274},["ShallowReactive",2],{"project-21670239":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":18,"aspects":34,"strip":39,"post_text":41,"what":42,"said":84,"maker_in_thread":174,"shape":184,"grid":187,"attempts":238,"same_week":239,"maker_shows":235,"maker_hidden":267,"reader_version":268,"card":269},"21670239","Dot-to-ASCII","Graphviz to ASCII Converter","title","Show HN: Dot-to-ASCII – Graphviz to ASCII Converter","https:\u002F\u002Fdot-to-ascii.ggerganov.com","dot-to-ascii.ggerganov.com","ggerganov",1575126134,2019,152,23,278,2195,13,"notable","dev_tools","diagram converter","web_app",[24,25,26,27],"graphviz","ascii diagram","dot to ascii","graph-easy","mixed",0,{"positive":31,"neutral":31,"mixed":32,"critical":33},4,2,3,{"design":35,"execution":36,"idea":38},{"positive":32,"critical":29},{"positive":37,"critical":33},1,{"positive":29,"critical":29},[33,29,29,33,29,29,37,29,40,33,29,29,37,29,40,33,29,40,29,37,40,33,33],5,null,{"problem":43,"audience":41,"pricing":41,"motivation":52,"time_to_build":41,"stack":57,"openness":81,"stage":82,"team_size":83},{"value":44,"source":45,"evidence":46},"Turns Graphviz dot diagrams into text-based ASCII diagrams","inferred",[47,50],{"id":48,"by":11,"text":49},"21670247","This is a basic web service that I put together this afternoon to generate ASCII diagrams from .dot input. Hope it could be useful to someone.",{"id":51},"post",{"value":53,"source":54,"evidence":55},"Built a basic service quickly to generate ASCII diagrams from dot input","maker",[56],{"id":48,"by":11,"text":49},[58,68,75],{"value":59,"source":54,"evidence":60},"PHP",[61,65],{"id":62,"by":63,"text":64},"21670469","masklinn","Interesting, why a PHP wrapper to the graph-easy CLI rather than a perl cgi\u002Ffcgi\u002F… to the graph-easy library? edit: sending the graph info via GET is a bit risky though, browsers…",{"id":66,"by":11,"text":67},"21670484","Yes, that makes more sense. I just used whatever I was more familiar with to get stuff running edit: missed \"used\"",{"value":69,"source":70,"evidence":71},"Perl graph-easy CLI","commenter",[72],{"id":73,"by":63,"text":74},"21670647","Not with graphviz but it calls to a Perl package called graph-easy which provides a command-line utility. So you could install and use that.",{"value":76,"source":70,"evidence":77},"CodeMirror editor",[78],{"id":79,"by":63,"text":80},"21670644","fair enough, 'bout what I was thinking. Anyway good job, it certainly maximises usefulness for the complexity. Especially good call on using the codemirror editor, I'd have not…","open_source","launched","unknown",{"praise":85,"objections":108,"requests":131,"questions":142,"alternatives":155},[86,98],{"value":87,"source":70,"evidence":88},"Useful and neat, especially the CodeMirror editor",[89,90,94],{"id":79,"by":63,"text":80},{"id":91,"by":92,"text":93},"21670398","joeraut","This is pretty cool! I probably would have never discovered graph-easy if it weren't for this. One thing though, it doesn't handle errors that nicely, e.g. for input \"a\" it…",{"id":95,"by":96,"text":97},"21672605","matthewhartmans","This is super cool! Well done OP!",{"value":99,"source":54,"evidence":100},"Shareable diagrams via URL hash added quickly",[101,104],{"id":102,"by":11,"text":103},"21671368","Done! This is the code change: https:\u002F\u002Fgithub.com\u002Fggerganov\u002Fdot-to-ascii\u002Fcommit\u002F1e5f818bbc3ad67443c1d78a699a4cdb1b1e6ed3",{"id":105,"by":106,"text":107},"21671686","Exuma","Nice work, thanks!",[109,120,124],{"value":110,"source":70,"evidence":111},"Rendering bugs with ranks and clusters",[112,116],{"id":113,"by":114,"text":115},"21671005","Kuinox","There is some bugs i think: ``` digraph \"CK-Build\" { subgraph rank_0 { rank=0; \"a\"; } subgraph rank_1 { rank=1; \"b\" -> \"a\"; } } ``` On regular rendering, this does not render a…",{"id":117,"by":118,"text":119},"21671013","fnord77","something went wrong when I changed subgraph cluster 0 to: ``` subgraph cluster_0 { a0 -> a1 -> a2 -> a1; label = \"process #1\"; } ```",{"value":121,"source":70,"evidence":122},"Poor error handling, e.g. outputs null for invalid input",[123],{"id":91,"by":92,"text":93},{"value":125,"source":70,"evidence":126},"Uses plain ASCII characters instead of box-drawing characters",[127],{"id":128,"by":129,"text":130},"21671075","FreeHugs","I really would love this if it would use more characters (UTF-8?) to create more beautiful diagrams: Instead of this: ``` + - - - + ' HELLO ' + - - - + ``` Do this: ``` ┌───────┐…",[132,136],{"value":133,"source":70,"evidence":134},"Use UTF-8 box-drawing characters",[135],{"id":128,"by":129,"text":130},{"value":137,"source":70,"evidence":138},"Make diagrams shareable",[139],{"id":140,"by":106,"text":141},"21670975","This is quite awesome. Can you make them shareable?",[143,151],{"value":144,"source":70,"evidence":145},"Can this be done on the command line with regular Graphviz?",[146,150],{"id":147,"by":148,"text":149},"21670643","ape4","Can you do this on the command line with regular graphviz?",{"id":73,"by":63,"text":74},{"value":152,"source":70,"evidence":153},"Why PHP wrapper instead of Perl library directly?",[154],{"id":62,"by":63,"text":64},[156,161,168],{"value":157,"source":70,"evidence":158},"Graph-easy (Perl)",[159,160],{"id":73,"by":63,"text":74},{"id":91,"by":92,"text":93},{"value":162,"source":70,"evidence":163},"Monodraw",[164],{"id":165,"by":166,"text":167},"21674175","mamp","If you have a Mac then Monodraw is pretty good for editing ASCII diagrams in general: https:\u002F\u002Fmonodraw.helftone.com\u002F",{"value":169,"source":70,"evidence":170},"Sketchviz",[171],{"id":172,"by":24,"text":173},"21672249","Can't some reasonable person refresh our website so we would have more useful content like this? :-) also include Sketchviz https:\u002F\u002Fnews.ycombinator.com\u002Fitem?id=21518152 don't…",{"comments":175,"answered":33,"key":176},6,[177,180,183],{"id":178,"text":179},"21671449","Here is a very quick \"sed\" hack to replace vertical and horizontal lines: https:\u002F\u002Fdot-to-ascii.ggerganov.com\u002Fstaging\u002F Definitely looks better. Might look into fixing the corners…",{"id":181,"text":182},"21674225","Thanks for this comment! I didn't know about the \"--as=boxart\" option. I just made this the default display, with an option to toggle back to \"--as_ascii\".",{"id":48,"text":49},{"commenters":185,"max_depth":31,"maker_replies":175,"first_comment_mins":32,"lifespan_hours":186},15,16,[188,190,194,196,200,201,203,205,207,209,211,214,215,216,219,221,224,226,227,229,231,234,237],[128,29,33,189,129,29],"project\u002Fmixed\u002Fdesign",[191,29,29,192,193,29],"21671149","other\u002Fneutral\u002Fnone","crooked-v",[178,29,29,195,11,37],"maker\u002Fneutral\u002Fdesign",[197,29,33,198,199,29],"21672619","project\u002Fneutral\u002Fexecution","wrinklytidbits",[181,29,29,195,11,37],[48,37,29,202,11,37],"project\u002Fneutral\u002Fidea",[62,37,37,204,63,29],"project\u002Fcritical\u002Fexecution",[66,37,29,206,11,37],"maker\u002Fneutral\u002Fnone",[79,37,40,208,63,29],"maker\u002Fpositive\u002Fdesign",[91,32,33,210,92,29],"project\u002Fmixed\u002Fexecution",[212,33,29,192,213,29],"21670429","lonelappde",[172,31,29,192,24,29],[113,40,37,204,114,29],[217,40,29,218,11,37],"21671056","maker\u002Fneutral\u002Fexecution",[140,175,40,220,106,29],"project\u002Fpositive\u002Fdesign",[222,175,33,202,223,29],"21671270","jakub_g",[102,175,29,225,11,37],"maker\u002Fpositive\u002Fexecution",[105,175,40,225,106,29],[165,228,29,192,166,29],7,[117,230,37,204,118,29],8,[95,232,40,233,96,29],9,"maker\u002Fpositive\u002Fnone",[147,235,33,236,148,29],10,"project\u002Fneutral\u002Fnone",[73,235,33,236,63,29],[],[240,245,250,255,259,263],{"id":241,"name":242,"points":243,"category":244},"21676933","ChessRoots",295,"games",{"id":246,"name":247,"points":248,"category":249},"21682331","Vaex",264,"data",{"id":251,"name":252,"points":253,"category":254},"21707285","Parrot.vc",263,"ai",{"id":256,"name":257,"points":258,"category":244},"21696194","Adventurekeep",182,{"id":260,"name":261,"points":262,"category":244},"21701124","googol",147,{"id":264,"name":265,"points":266,"category":20},"21656864","Zecoda",140,false,"v2",{"id":270,"name":5,"line":6,"ai":267,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":271,"maker":11,"domain":10,"tier":19,"attempts":29,"strip":272,"url":9,"mix":273,"praise":87,"objection":110,"sub":21},21670239,[24,25,26,27],"30030010530010530501533",[31,31,32,33],1794036583545]