[{"data":1,"prerenderedAt":464},["ShallowReactive",2],{"project-13492975":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":29,"sentiment":30,"stance_mix":31,"scored_comments":36,"aspects":37,"strip":47,"post_text":50,"what":51,"said":92,"maker_in_thread":198,"shape":206,"grid":210,"attempts":426,"same_week":427,"maker_shows":46,"maker_hidden":456,"reader_version":457,"card":458},"13492975","Command Line Challenge","This was a small side project I completed recently, would love to hear feedback.","maker","Show HN: Command Line Challenge","https:\u002F\u002Fcmdchallenge.com","cmdchallenge.com","zoidb",1485449725,2017,205,90,158,2242,8,"notable","learning_science","shell command practice","web_app",[24,25,26,27,28],"bash","command line","shell","unix","learn","mixed",-0.231,{"positive":32,"neutral":33,"mixed":34,"critical":35},10,31,2,24,67,{"design":38,"execution":40,"docs":42,"idea":43,"performance":45},{"positive":39,"critical":34},0,{"positive":34,"critical":41},17,{"positive":39,"critical":34},{"positive":44,"critical":39},4,{"positive":39,"critical":46},3,[46,48,48,48,48,48,49,46,39,48,46,46,48,39,48,34,39,48,48,48,46,49,49,34,49,48,48,48,46,49,46,49,48,46,46,44,46,48,48,46],1,5,null,{"problem":52,"audience":63,"pricing":50,"motivation":71,"time_to_build":50,"stack":78,"openness":89,"stage":90,"team_size":91},{"value":53,"source":54,"evidence":55},"Practicing command line skills with puzzle-style challenges","inferred",[56,59],{"id":57,"by":11,"text":58},"13492988","This was a small side project I completed recently, would love to hear feedback. Thanks!",{"id":60,"by":61,"text":62},"13495437","ianmcgowan","This is a really fun idea, and I enjoyed going thru it. I like the fact that it doesn't matter how you get the answer, as long as it's right (seq 100 | tr '\\n' ' '). This would…",{"value":64,"source":54,"evidence":65},"People learning or brushing up on Unix shell commands",[66,67],{"id":60,"by":61,"text":62},{"id":68,"by":69,"text":70},"13494435","the_watcher","I like this a lot, thanks for putting together. Definitely made me think hard about how much of the command line I actually know.",{"value":72,"source":7,"evidence":73},"Side project to replicate an authentic command line experience",[74,75],{"id":57,"by":11,"text":58},{"id":76,"by":11,"text":77},"13494398","Yeah though this was pretty easy to setup and I was looking to replicate an authentic command line experience including the standard unix utilities.",[79],{"value":80,"source":7,"evidence":81},"bash 4 in a subshell run via AWS",[82,86],{"id":83,"by":84,"text":85},"13494052","JoshTriplett","Have you considered running the commands directly in JavaScript, rather than via AWS? With some work, you could run everything inside emscripten in the browser, and then you…",{"id":87,"by":11,"text":88},"13493953","Ah good point, the commands are run in a bash 4 subshell actually but by default the globstar option is off.","open_source","launched","solo",{"praise":93,"objections":104,"requests":147,"questions":185,"alternatives":197},[94],{"value":95,"source":96,"evidence":97},"Fun and educational for learning command line tricks","commenter",[98,99,103],{"id":60,"by":61,"text":62},{"id":100,"by":101,"text":102},"13497853","cglouch","I really enjoyed this, it was a nice way to practice\u002Flearn some command line tricks. In particular I got better acquainted with the find command. Nice work! My only suggestion…",{"id":68,"by":69,"text":70},[105,119,133],{"value":106,"source":96,"evidence":107},"Some challenge wording is ambiguous and answers rejected unfairly",[108,112,116],{"id":109,"by":110,"text":111},"13493853","garettmd","I guess my point is that \"ls\" shouldn't be an answer. Typically it will print out multiple files on a line. If it's just checking for output and not the actual command someone…",{"id":113,"by":114,"text":115},"13502670","arantius","challenge \"just the files\" description says \"Print all files in the current directory\". You mean \"print the names of all files ...\" Lots of the challenges have awkward\u002Fambiguous…",{"id":117,"by":84,"text":118},"13494372","The description for remove_duplicate_lines needs some clarification, because as written it sounds like either \"uniq\" or \"uniq -u\". You should explicitly say that you want the…",{"value":120,"source":96,"evidence":121},"Shell differs from real bash, e.g. glob and history expansion, output format",[122,126,130],{"id":123,"by":124,"text":125},"13494319","joelthelion","``` bash(0)> grep GET !$ + grep GET '!$' grep: !$: No such file or directory ``` Mmm. Fake bash.",{"id":127,"by":128,"text":129},"13496003","glandium","It doesn't handle glob expansion. ``` bash(0)> awk '{print $1}' access.log* + awk '{print $1}' 'access.log*' awk: cannot open access.log* (No such file or directory) ```",{"id":131,"by":11,"text":132},"13493830","Yeah it's particular about the output that it expects.",{"value":134,"source":96,"evidence":135},"Intermittent Internal Server Errors and shared state issues",[136,140,143],{"id":137,"by":138,"text":139},"13494931","_kst_","``` bash(0)> pwd Internal Server Error ```",{"id":141,"by":61,"text":142},"13495360","I got stuck on this one too. Strangely \"find . -delete\" worked fine. I'm getting Internal Server Error\" now, so perhaps a victim of it's own popularity?",{"id":144,"by":145,"text":146},"13494456","wichert","It looks a bit like the cwd is shared between multiple users accessing the site? I suddenly got errors that access.log disappears, after which my pwd seemed to randomly change.",[148,159,170,177],{"value":149,"source":96,"evidence":150},"Hints for beginners",[151,155],{"id":152,"by":153,"text":154},"13497724","ivan_ah","It would be nice to have to have some sort of hints for beginners. Hint 1: tells you command, Hint 2: tells which options\u002Fflags you might need, Hint 3: shows (a) solution",{"id":156,"by":157,"text":158},"13499939","notheguyouthink","This is really cool, good work! As others have mentioned, hints\u002Fetc would definitely be helpful for beginners. I want to post this in our work chat for the less Unix oriented…",{"value":160,"source":96,"evidence":161},"Show other users' or reference solutions after solving",[162,166,169],{"id":163,"by":164,"text":165},"13496513","inetknght","After completing the challenges (only had to lookup references on bash parameter expansion and how to read lines without parsing them), I would say that it might be helpful to…",{"id":167,"by":61,"text":168},"13497033","Super-cool! Some pieces of feedback: 1) It would be nice to have something special happen when you solve all the puzzles, rather than going back to the first. Some javascript…",{"id":100,"by":101,"text":102},{"value":171,"source":96,"evidence":172},"Tab completion",[173],{"id":174,"by":175,"text":176},"13497720","johnloeber","Fun! Needs tab-complete.",{"value":178,"source":96,"evidence":179},"Message or reward when all challenges are finished",[180,184],{"id":181,"by":182,"text":183},"13496367","akavel","The finale was weird for me, kinda anticlimactic (back to \"hello world\"); is that how it's expected to behave? No \"finished\" message or something? Or is my NoScript interfering…",{"id":167,"by":61,"text":168},[186],{"value":187,"source":96,"evidence":188},"Why does a particular grep or find option fail the check",[189,193],{"id":190,"by":191,"text":192},"13498567","Snowe","I stopped after 'Print the relative file paths, one path per line for all files that start with \"access.log\" in the current directory.' It didn't like my BSD find options.",{"id":194,"by":195,"text":196},"13494097","coherentpony","``` grep -rl 500 . ``` wasn't accepted. Am I wrong or is it wrong?",[],{"comments":199,"answered":44,"key":200},12,[201,202,203],{"id":57,"text":58},{"id":131,"text":132},{"id":204,"text":205},"13493995","Because it is executed outside of a terminal (the execution isn't in javascript) you get a single column output. Probably would be better to be more specific in the descriptions,…",{"commenters":207,"max_depth":208,"maker_replies":199,"first_comment_mins":48,"lifespan_hours":209},53,6,126,[211,213,215,218,220,221,222,225,228,232,235,237,241,243,247,250,251,253,255,257,259,261,262,264,267,269,270,271,273,274,277,280,283,286,288,291,294,297,299,302,304,305,308,310,313,316,318,319,321,325,327,328,329,331,332,334,335,336,338,341,344,347,351,355,357,359,362,365,367,369,371,374,378,380,382,384,387,389,391,394,397,400,403,405,408,409,413,416,420,422],[152,39,46,212,153,39],"project\u002Fneutral\u002Fdesign",[57,48,39,214,11,48],"maker\u002Fneutral\u002Fnone",[216,48,48,217,110,39],"13493785","project\u002Fcritical\u002Fexecution",[131,48,39,219,11,48],"project\u002Fneutral\u002Fexecution",[109,48,48,217,110,39],[204,48,39,219,11,48],[223,48,48,217,224,39],"13494243","zokier",[226,48,46,219,227,39],"13496937","lisivka",[229,48,39,230,231,39],"13497152","commenter\u002Fneutral\u002Fnone","saghm",[233,48,39,230,234,39],"13497391","jjnoakes",[236,48,48,217,84,39],"13493878",[238,48,46,239,240,39],"13493840","project\u002Fmixed\u002Fdocs","brennen",[242,48,48,217,157,39],"13499926",[244,48,46,245,246,39],"13502221","project\u002Fneutral\u002Fdocs","tedmiston",[248,48,49,249,84,39],"13493910","project\u002Fpositive\u002Fidea",[87,48,39,219,11,48],[252,48,39,219,11,48],"13495810",[254,48,46,212,224,39],"13494441",[256,48,39,230,84,39],"13495181",[258,48,39,230,224,39],"13495357",[260,48,48,217,231,39],"13497149",[190,48,48,217,191,39],[263,48,46,219,84,39],"13498585",[265,48,46,219,266,39],"13498326","bmoyles",[268,48,46,219,84,39],"13498587",[83,48,46,219,84,39],[76,48,39,219,11,48],[272,48,46,219,182,39],"13496706",[194,48,48,217,195,39],[275,48,39,230,276,39],"13494131","leblancfg",[278,48,39,230,279,39],"13496587","tne",[281,48,48,217,282,39],"13497989","godelski",[284,48,46,219,285,39],"13494141","snuxoll",[287,48,46,219,84,39],"13494415",[289,48,46,219,290,39],"13498107","joshka",[292,48,48,217,293,39],"13497015","slavik81",[295,48,39,230,296,39],"13497477","Galanwe",[298,48,39,230,195,39],"13497535",[300,48,46,219,301,39],"13494295","meggar",[141,48,48,303,61,39],"project\u002Fcritical\u002Fperformance",[144,48,48,303,145,39],[306,48,39,307,11,48],"13495192","project\u002Fneutral\u002Fperformance",[181,48,48,309,182,39],"project\u002Fcritical\u002Fdesign",[311,48,48,309,312,39],"13496557","mnemotronic",[314,48,46,212,315,39],"13497046","schoen",[317,48,39,214,11,48],"13498652",[163,48,46,245,164,39],[167,48,49,320,61,39],"project\u002Fpositive\u002Fnone",[322,48,39,323,324,39],"13497410","other\u002Fneutral\u002Fnone","wlib",[174,48,46,326,175,39],"project\u002Fmixed\u002Fexecution",[100,48,49,249,101,39],[60,34,49,249,61,39],[330,46,48,217,282,39],"13498106",[137,44,48,303,138,39],[333,44,39,307,11,48],"13495053",[68,49,49,249,69,39],[123,208,48,217,124,39],[337,208,39,219,11,48],"13494344",[339,208,48,217,340,39],"13494779","contras1970",[342,208,46,219,343,39],"13496239","groner",[345,208,48,217,346,39],"13494393","mauvehaus",[348,349,48,217,350,39],"13495115",7,"rando832",[352,349,46,353,354,39],"13495943","project\u002Fneutral\u002Fnone","sebbsnoprocrast",[356,349,46,353,315,39],"13496150",[358,349,39,230,350,39],"13498389",[360,349,46,353,361,39],"13499182","_druu",[363,349,49,364,315,39],"13504933","maker\u002Fpositive\u002Fexecution",[156,18,49,366,157,39],"maker\u002Fpositive\u002Fnone",[127,368,48,217,128,39],9,[370,368,39,230,315,39],"13496120",[372,32,49,320,373,39],"13497131","aashishkoirala",[375,376,49,320,377,39],"13494106",11,"cleech",[379,376,39,214,11,48],"13494163",[117,376,48,381,84,39],"project\u002Fcritical\u002Fdocs",[383,376,39,366,11,48],"13494410",[385,376,46,353,386,39],"13495297","adimitrov",[388,376,46,353,61,39],"13495821",[390,376,46,353,315,39],"13496159",[392,376,49,393,61,39],"13496946","project\u002Fpositive\u002Fexecution",[395,376,46,353,396,39],"13497095","jenrzzz",[398,376,46,353,399,39],"13496378","MrQuincle",[401,376,46,353,402,39],"13497395","arde",[404,376,46,353,399,39],"13496413",[406,376,46,353,407,39],"13498958","helb",[113,199,48,381,114,39],[410,411,48,217,412,39],"13495839",13,"teddyh",[414,411,46,353,415,39],"13497372","awqrre",[417,418,46,219,419,39],"13497994",14,"Neeek",[421,418,46,219,419,39],"13536421",[423,424,46,353,425,39],"13498220",15,"userbinator",[],[428,433,438,442,446,451],{"id":429,"name":430,"points":431,"category":432},"13500701","Whoishiring.io",419,"productivity",{"id":434,"name":435,"points":436,"category":437},"13505226","Magnetissimo",403,"dev_tools",{"id":439,"name":440,"points":441,"category":437},"13493810","Ship 2.0",233,{"id":443,"name":444,"points":445,"category":20},"13521066","Code Cards",152,{"id":447,"name":448,"points":449,"category":450},"13506670","Pydb",130,"data",{"id":452,"name":453,"points":454,"category":455},"13493276","easyvpn",108,"security_privacy",false,"v2",{"id":459,"name":5,"line":6,"ai":456,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":460,"top":18,"kw":461,"maker":11,"domain":10,"tier":19,"attempts":39,"strip":462,"url":9,"mix":463,"praise":95,"objection":106,"sub":21},13492975,-0.23,[24,25,26,27,28],"3111115301331012011135525111353513343113",[32,33,34,35],1793990954239]