[{"data":1,"prerenderedAt":277},["ShallowReactive",2],{"project-9058872":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":34,"aspects":35,"strip":41,"post_text":42,"what":43,"said":52,"maker_in_thread":144,"shape":153,"grid":157,"attempts":239,"same_week":240,"maker_shows":204,"maker_hidden":269,"reader_version":270,"card":271},"9058872","Calc","A fast and intuitive command-line calculator written in Go","title","Show HN: Calc – A fast and intuitive command-line calculator written in Go","https:\u002F\u002Fgithub.com\u002Falfredxing\u002Fcalc","github.com","alfredxing",1424119345,2015,94,33,263,2565,11,"notable","dev_tools","command-line calculator","cli",[24,25,26,27],"command line calculator","go calculator","rpn calculator","terminal calculator","roasted",-0.294,{"positive":31,"neutral":32,"mixed":32,"critical":33},2,0,5,7,{"idea":36,"performance":38,"design":40},{"positive":32,"critical":37},4,{"positive":39,"critical":39},1,{"positive":39,"critical":32},[39,32,33,32,32,32,32,32,32,39,32,33,32,32,39,32,32,32,32,32,32,32,32,32,32,32,32,32,39,32,32,32,39],null,{"problem":42,"audience":42,"pricing":42,"motivation":42,"time_to_build":42,"stack":44,"openness":51,"stage":51,"team_size":51},[45],{"value":46,"source":47,"evidence":48},"Go","maker",[49],{"id":50},"post","unknown",{"praise":53,"objections":69,"requests":96,"questions":111,"alternatives":116},[54,62],{"value":55,"source":56,"evidence":57},"Simple and intuitive to use","commenter",[58],{"id":59,"by":60,"text":61},"9059903","soroushjp","Other comments are reasonable, but fantastic work alfredxing, played around with it just now and loved how simple and intuitive it was. The only feature I really miss here is…",{"value":63,"source":56,"evidence":64},"Better than bc for small calculations",[65],{"id":66,"by":67,"text":68},"9059635","brute","Upvoted for calc. I use it for all the small calculation, as it most often behaves slightly better than bc ``` $ echo \"1\u002F2\" | bc 0 $ echo \"1\u002F2\" | bc -l .50000000000000000000 $…",[70,81,88],{"value":71,"source":56,"evidence":72},"Name collides with existing calc calculator",[73,77],{"id":74,"by":75,"text":76},"9059076","clarry","An alternative that isn't discussed in the Why not use ...? section is calc: http:\u002F\u002Fwww.isthe.com\u002Fchongo\u002Ftech\u002Fcomp\u002Fcalc It is very powerful, has history, shows previous…",{"id":78,"by":79,"text":80},"9060904","hobarrera","This developer could have at least chosen a different name. Two programs, same funcionality, same name. Haven't we learnt anything?",{"value":82,"source":56,"evidence":83},"Lacks RPN input, which is tiring with parentheses",[84],{"id":85,"by":86,"text":87},"9059180","qguv","I stopped using infix calculators a while back in favor of RPN\u002Fstack calculators (dc) because I get quite tired of parens. Is the program structured such that this change would…",{"value":89,"source":56,"evidence":90},"Too many similar tools already exist",[91,92],{"id":85,"by":86,"text":87},{"id":93,"by":94,"text":95},"9061312","EugeneOZ","Every small tool deserves special launching site and promoting if it's \"written in go\" or some other hyped language.",[97,104],{"value":98,"source":56,"evidence":99},"Support previous answer via an ans constant",[100,101],{"id":59,"by":60,"text":61},{"id":102,"by":11,"text":103},"9059945","Thanks, and great suggestion! Would you mind opening an issue on GitHub for it? I'll probably get around to implementing it soon.",{"value":105,"source":56,"evidence":106},"Add RPN mode",[107,108],{"id":85,"by":86,"text":87},{"id":109,"by":11,"text":110},"9059212","The algorithm I use combines shunting-yard and postfix (RPN) evaluation, but I guess it wouldn't be too hard to modify the source to just do the RPN part. If you want to try…",[112],{"value":113,"source":56,"evidence":114},"Is there an RPN mode or a way to modify it to RPN",[115],{"id":85,"by":86,"text":87},[117,121,132,139],{"value":118,"source":56,"evidence":119},"calc (chongo) arbitrary precision calculator",[120],{"id":74,"by":75,"text":76},{"value":122,"source":56,"evidence":123},"wcalc",[124,128],{"id":125,"by":126,"text":127},"9060006","mackal","I've been using wcalc personally, haven't had many reasons to use something else.",{"id":129,"by":130,"text":131},"9060072","donpdonp","wcalc is pretty much the best terminal-mode calculator anywhere. It handles significant digits very well and knows about a bunch of mathematical constants in unicode form! ->…",{"value":133,"source":56,"evidence":134},"Qalculate",[135],{"id":136,"by":137,"text":138},"9059659","EmanueleAina","Qalculate has both a GUI and a command-line `qalc` util that does what `calc` seems to do and much more: http:\u002F\u002Fqalculate.sourceforge.net\u002F",{"value":140,"source":56,"evidence":141},"dc and bc",[142,143],{"id":109,"by":11,"text":110},{"id":66,"by":67,"text":68},{"comments":33,"answered":33,"key":145},[146,149,152],{"id":147,"text":148},"9059101","Did not know about this. It looks great, I'll definitely be trying it out! The project name was originally calc.go, but as you can imagine that didn't work out too well with `go…",{"id":150,"text":151},"9060944","As I mentioned below, I chose \"calc.go\", but that didn't work well with the `go get` command, so I had to get rid of the \".go\"",{"id":102,"text":103},{"commenters":154,"max_depth":37,"maker_replies":33,"first_comment_mins":155,"lifespan_hours":156},25,34,301,[158,160,162,164,168,169,170,173,177,179,180,181,183,184,186,187,188,190,193,196,199,202,206,209,212,216,217,221,223,225,229,233,235],[74,32,39,159,75,32],"project\u002Fcritical\u002Fidea",[147,32,32,161,11,39],"maker\u002Fneutral\u002Fnone",[66,32,33,163,67,32],"project\u002Fpositive\u002Fperformance",[165,32,32,166,167,32],"9061000","other\u002Fneutral\u002Fnone","tartrate",[125,32,32,166,126,32],[129,32,32,166,130,32],[171,32,32,166,172,32],"9060671","voltagex_",[174,32,32,175,176,32],"9060646","commenter\u002Fneutral\u002Fnone","chanux",[178,32,32,166,176,32],"9060683",[78,32,39,159,79,32],[150,32,32,161,11,39],[59,39,33,182,60,32],"project\u002Fpositive\u002Fdesign",[102,39,32,161,11,39],[185,39,32,166,60,32],"9126524",[85,31,39,159,86,32],[109,31,32,161,11,39],[189,31,32,166,11,39],"9059246",[191,31,32,166,192,32],"9059261","shiggerino",[194,31,32,166,195,32],"9060153","agumonkey",[197,31,32,166,198,32],"9061207","bernalex",[200,31,32,166,201,32],"9062935","ConceptJunkie",[203,204,32,166,205,32],"9060069",3,"commondream",[207,37,32,166,208,32],"9059343","brockrockman",[210,33,32,166,211,32],"9059271","Edmond",[213,214,32,166,215,32],"9060958",6,"otabdeveloper",[136,34,32,166,137,32],[218,219,32,166,220,32],"9060012",8,"element11",[222,219,32,166,167,32],"9061025",[93,224,39,159,94,32],9,[226,224,32,227,228,32],"9064401","other\u002Fcritical\u002Fidea","redthrow",[230,231,32,166,232,32],"9062061",10,"v-yadli",[234,18,32,166,228,32],"9060115",[236,18,39,237,238,32],"9065329","project\u002Fcritical\u002Fperformance","mjcohen",[],[241,245,250,254,259,264],{"id":242,"name":243,"points":244,"category":20},"9050970","websocketd",421,{"id":246,"name":247,"points":248,"category":249},"9040841","Let's Chat",350,"productivity",{"id":251,"name":252,"points":253,"category":20},"9047086","Littlebox",192,{"id":255,"name":256,"points":257,"category":258},"9056423","NomadHouse",127,"web_saas",{"id":260,"name":261,"points":262,"category":263},"9040423","Portal",86,"infrastructure",{"id":265,"name":266,"points":267,"category":268},"9050379","Sierpinski Valentine",72,"learning_science",false,"v2",{"id":272,"name":5,"line":6,"ai":269,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":273,"top":18,"kw":274,"maker":11,"domain":10,"tier":19,"attempts":32,"strip":275,"url":9,"mix":276,"praise":55,"objection":71,"sub":21},9058872,-0.29,[24,25,26,27],"105000000105001000000000000010001",[31,32,32,33],1793990920448]