[{"data":1,"prerenderedAt":366},["ShallowReactive",2],{"project-26250809":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":35,"aspects":36,"strip":41,"post_text":43,"what":44,"said":80,"maker_in_thread":210,"shape":217,"grid":222,"attempts":329,"same_week":330,"maker_shows":33,"maker_hidden":358,"reader_version":359,"card":360},"26250809","CalcuLaTeX","A pretty-printing calculator language","title","Show HN: CalcuLaTeX, a pretty-printing calculator language","https:\u002F\u002Fmkhan45.github.io\u002FCalcuLaTeX-Web\u002F","mkhan45.github.io","fish45",1614180178,2021,230,45,181,2533,8,"notable","dev_tools","calculator language","web_app",[24,25,26,27],"calculator","latex","unit conversion","wasm","curious",0.075,{"positive":31,"neutral":32,"mixed":33,"critical":34},3,14,1,2,20,{"idea":37,"execution":39,"design":40},{"positive":33,"critical":38},0,{"positive":38,"critical":34},{"positive":34,"critical":38},[38,31,38,31,31,31,38,31,38,31,38,31,38,38,38,38,38,38,31,38,31,38,31,31,38,42,38,38,31,31,31,42,38,33,38,33,38,38,38,38],5,null,{"problem":45,"audience":52,"pricing":43,"motivation":60,"time_to_build":43,"stack":64,"openness":77,"stage":78,"team_size":79},{"value":46,"source":47,"evidence":48},"Doing chemistry and physics calculations and typing them into LaTeX for homework is tedious","maker",[49],{"id":50,"by":11,"text":51},"26266883","Hey HN, I created CalcuLaTeX because I was frustrated with my workflow for chemistry and physics homework. Generally, I'd use the Python REPL as a calculator and type each…",{"value":53,"source":54,"evidence":55},"Students and scientists writing calculations in LaTeX","inferred",[56,57],{"id":50,"by":11,"text":51},{"id":58,"by":11,"text":59},"26269257","The main export of the Rust\u002FWASM library is just a function which outputs LaTeX; it should be pretty doable to add a button to the website which does what you're asking. I think…",{"value":61,"source":47,"evidence":62},"Frustration with workflow for chemistry and physics homework",[63],{"id":50,"by":11,"text":51},[65,69,73],{"value":66,"source":47,"evidence":67},"Rust",[68],{"id":50,"by":11,"text":51},{"value":70,"source":47,"evidence":71},"WebAssembly",[72],{"id":50,"by":11,"text":51},{"value":74,"source":47,"evidence":75},"JavaScript",[76],{"id":50,"by":11,"text":51},"open_source","launched","solo",{"praise":81,"objections":106,"requests":131,"questions":161,"alternatives":166},[82,98],{"value":83,"source":84,"evidence":85},"Useful merge of calculator and LaTeX typesetting","commenter",[86,90,94],{"id":87,"by":88,"text":89},"26267204","hamaluik","I'm so glad you made this! I'm also very upset that this didn't exist 10 years ago when I really needed it. Well done!",{"id":91,"by":92,"text":93},"26269784","hardmath123","You might like Frink! https:\u002F\u002Ffrinklang.org",{"id":95,"by":96,"text":97},"26279500","breck","This is really fun. Nicely done! I love the output of LaTeX but never liked writing it.",{"value":99,"source":84,"evidence":100},"Nice LaTeX output and visual feedback",[101,105],{"id":102,"by":103,"text":104},"26267193","prezjordan","Very cool! The output looks nice, will definitely give this a whirl for some blog posts.",{"id":95,"by":96,"text":97},[107,113,124],{"value":108,"source":47,"evidence":109},"Does not support fractional units like km^3\u002F2",[110],{"id":111,"by":11,"text":112},"26267783","It supports every SI unit and many derived units. It doesn't yet support fractional units, e.g. km^3\u002F2 though. AFAIK there aren't any fractional units that have physical meaning…",{"value":114,"source":84,"evidence":115},"Unit auto-conversion bugs, such as 100m\u002Fs giving 0km\u002Fs and 11.000 kg",[116,120],{"id":117,"by":118,"text":119},"26269689","frankenst1","Very cool, auto-conversion is really awesome, I think I found a bug though: 5 kg + 5 kg = 10 kg but 5 kg + 6 kg = 11.000 kg",{"id":121,"by":122,"text":123},"26270437","statstutor","100m\u002Fs = 0km\u002Fs (an integer division issue? km\u002Fh does not appear to work)",{"value":125,"source":84,"evidence":126},"Error handling fails the whole script instead of showing errors inline",[127],{"id":128,"by":129,"text":130},"26267719","Jakobeha","This is cool! I think it can be really useful. My main suggestion is better error handling: make it so that when a calculation is invalid, it shows the error where the result…",[132,140,147,154],{"value":133,"source":84,"evidence":134},"Copy LaTeX source of the completed calculation",[135,139],{"id":136,"by":137,"text":138},"26268810","FabHK","This is awesome! Is there a way to get the LaTeX source with the completed calculation (so that you can copy\u002Fpaste the whole thing in your local LaTeX installation and, well,…",{"id":58,"by":11,"text":59},{"value":141,"source":84,"evidence":142},"Support fractional units",[143],{"id":144,"by":145,"text":146},"26269055","tobmlt","Imagine you are G.I.Taylor and its the start of The Cold War. Life magazine has just published an amazing high speed photographic sequence of the detonation of an atom bomb. The…",{"value":148,"source":84,"evidence":149},"Data table to graph support",[150],{"id":151,"by":152,"text":153},"26271206","irgeek","This is very cool. It looks much easier to use than the collection of Makefiles and build scripts I cobbled together in college. One thing that’d make this even more awesome is…",{"value":155,"source":84,"evidence":156},"Algebra solving for variables",[157],{"id":158,"by":159,"text":160},"26267972","SamBam","Very cool! What made you choose LaTeX for the tool? It seems like it wouldn't be too hard (maybe?) to get a proper algebra engine to assign variables. Currently you can do `x =…",[162],{"value":163,"source":84,"evidence":164},"Why LaTeX was chosen as the output format",[165],{"id":158,"by":159,"text":160},[167,171,182,189,196,203],{"value":168,"source":47,"evidence":169},"PTC MathCAD",[170],{"id":50,"by":11,"text":51},{"value":172,"source":84,"evidence":173},"GNU units and Rink",[174,178],{"id":175,"by":176,"text":177},"26269175","formerly_proven","FYI you might find the GNU units(1) tool useful, which has a huge catalog of units and understands about the same set of math operations as a scientific calculators. From the…",{"id":179,"by":180,"text":181},"26270690","alexalemi","Check out Rink: https:\u002F\u002Fgithub.com\u002Ftiffany352\u002Frink-rs",{"value":183,"source":84,"evidence":184},"Mathematica",[185],{"id":186,"by":187,"text":188},"26269415","kccqzy","That's wonderful! When I used to do my math and physics homework, I used Mathematica as a calculator. It has built-in LaTeX formatting available (right click, Copy As > LaTeX).…",{"value":190,"source":84,"evidence":191},"Calca",[192],{"id":193,"by":194,"text":195},"26268007","croddin","This is awesome. It reminds me of the iOS app Calca[1], which is similar. [1] http:\u002F\u002Fcalca.io\u002F",{"value":197,"source":84,"evidence":198},"WordMat",[199],{"id":200,"by":201,"text":202},"26272163","a0-prw","Wordmat is a free, open source extension to MS Word which gives you access to a full CAS from Word. http:\u002F\u002Fwww.eduap.com\u002Fwordmat\u002F https:\u002F\u002Fgithub.com\u002FEduap-com\u002FWordMat",{"value":204,"source":84,"evidence":205},"Blockpad",[206],{"id":207,"by":208,"text":209},"26271272","celebrimbor7","Hey, definitely check out Blockpad (https:\u002F\u002Fblockpad.net). It does calculations with units, integrated with documents, spreadsheets, and drawing. Speaking from the Blockpad team…",{"comments":32,"answered":42,"key":211},[212,213,216],{"id":50,"text":51},{"id":214,"text":215},"26269269","That's pretty cool. I did search for a unit calculation library before starting this but since WASM is a priority I wanted to use a Rust one.",{"id":58,"text":59},{"commenters":218,"max_depth":219,"maker_replies":32,"first_comment_mins":220,"lifespan_hours":221},29,7,1672,53,[223,225,226,228,232,233,234,235,237,239,242,245,246,248,251,254,257,259,261,263,266,269,271,272,274,275,277,281,283,286,288,291,293,297,301,303,305,308,311,313,314,316,320,323,327],[50,38,38,224,11,33],"project\u002Fneutral\u002Fidea",[175,33,31,224,176,38],[214,33,38,227,11,33],"maker\u002Fneutral\u002Fnone",[229,33,31,230,231,38],"26270684","project\u002Fneutral\u002Fexecution","makeworld",[179,33,31,224,180,38],[136,34,31,224,137,38],[58,34,38,230,11,33],[200,31,38,236,201,38],"other\u002Fneutral\u002Fnone",[186,238,31,224,187,38],4,[240,238,38,236,241,38],"26272954","hvna",[243,42,31,224,244,38],"26267609","RandomWorker",[111,42,38,230,11,33],[247,42,31,224,137,38],"26268891",[249,42,38,250,11,33],"26269210","commenter\u002Fneutral\u002Fnone",[252,42,38,250,253,38],"26270081","thaumasiotes",[255,42,38,250,256,38],"26272706","QuesnayJr",[258,42,38,250,253,38],"26272794",[144,42,38,260,145,38],"other\u002Fpositive\u002Fidea",[262,42,38,236,11,33],"26269120",[264,42,38,265,145,38],"26269180","commenter\u002Fpositive\u002Fnone",[128,267,31,268,129,38],6,"project\u002Fmixed\u002Fexecution",[270,267,38,230,11,33],"26267836",[158,219,31,224,159,38],[273,219,38,224,11,33],"26269070",[151,18,31,224,152,38],[193,276,31,224,194,38],9,[278,276,31,279,280,38],"26268500","project\u002Fneutral\u002Fdesign","nielsbot",[282,276,38,224,11,33],"26269075",[87,284,42,285,88,38],10,"project\u002Fpositive\u002Fidea",[287,284,38,227,11,33],"26267283",[289,284,38,236,290,38],"26268059","macintux",[91,292,31,224,92,38],11,[294,295,31,224,296,38],"26269883",12,"ducttapecrown",[298,299,31,224,300,38],"26269355",13,"8note",[95,32,42,302,96,38],"project\u002Fpositive\u002Fdesign",[102,304,42,302,103,38],15,[306,304,38,307,11,33],"26267236","project\u002Fneutral\u002Fnone",[117,309,33,310,118,38],16,"project\u002Fcritical\u002Fexecution",[312,309,38,230,11,33],"26269980",[121,309,33,310,122,38],[315,309,38,230,11,33],"26270515",[317,318,38,236,319,38],"26268769",17,"drran",[207,321,38,322,208,38],18,"other\u002Fneutral\u002Fidea",[324,321,38,325,326,38],"26274299","other\u002Fneutral\u002Fpricing","riedel",[328,321,38,279,11,33],"26275494",[],[331,336,341,345,349,354],{"id":332,"name":333,"points":334,"category":335},"26253281","Everyday Data Science",632,"learning_science",{"id":337,"name":338,"points":339,"category":340},"26226805","Call a Dev",451,"web_saas",{"id":342,"name":343,"points":344,"category":20},"26179311","Split Keyboards",249,{"id":346,"name":347,"points":348,"category":340},"26215378","Tiny Ads",218,{"id":350,"name":351,"points":352,"category":353},"26256726","Horcrux",151,"security_privacy",{"id":355,"name":356,"points":357,"category":335},"26206712","Vellum",140,false,"v2",{"id":361,"name":5,"line":6,"ai":358,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":362,"top":18,"kw":363,"maker":11,"domain":10,"tier":19,"attempts":38,"strip":364,"url":9,"mix":365,"praise":83,"objection":108,"sub":21},26250809,0.08,[24,25,26,27],"0303330303030000003030330500333501010000",[31,32,33,34],1794036603599]