[{"data":1,"prerenderedAt":347},["ShallowReactive",2],{"project-4906098":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":69,"maker_in_thread":195,"shape":205,"grid":209,"attempts":312,"same_week":313,"maker_shows":40,"maker_hidden":340,"reader_version":341,"card":342},"4906098","numbers.js","Advanced Mathematics Library for Node.js and JavaScript","title","Show HN: Advanced Mathematics Library for Node.js and JavaScript","https:\u002F\u002Fgithub.com\u002Fsjkaliski\u002Fnumbers.js","github.com","sjkaliski",1355252220,2012,123,48,162,1677,10,"notable","languages","math library","library",[24,25,26,27],"javascript math library","node.js linear algebra","matrix javascript","statistics javascript","mixed",0.21,{"positive":31,"neutral":32,"mixed":33,"critical":34},9,11,0,3,23,{"performance":37,"idea":39},{"positive":38,"critical":33},1,{"positive":40,"critical":34},2,[34,33,34,38,42,33,33,33,33,33,33,33,33,42,33,34,34,33,34,34,34,33,34,38,34,33,33,42,42,42,34,33,42,33,33,38,33,33,42,42],5,null,{"problem":43,"audience":45,"pricing":43,"motivation":53,"time_to_build":43,"stack":60,"openness":67,"stage":68,"team_size":68},{"value":46,"source":47,"evidence":48},"Front end developers who are not strong at math, per a commenter","commenter",[49],{"id":50,"by":51,"text":52},"4906374","dbyrd","front end devs. I speak for myself when I say a lot of us aren't that good at math.",{"value":54,"source":55,"evidence":56},"Maker's focus is statistics and matrix algebra for analytics","maker",[57],{"id":58,"by":11,"text":59},"4906347","My primary focus from here on out is statistics and matrix algebra focused on powering analytics. So yes, some of those functions would be of interest to me.",[61],{"value":62,"source":63,"evidence":64},"JavaScript","inferred",[65],{"id":66},"post","open_source","unknown",{"praise":70,"objections":93,"requests":112,"questions":153,"alternatives":168},[71,82],{"value":72,"source":47,"evidence":73},"Useful and cool library",[74,78],{"id":75,"by":76,"text":77},"4906192","Xcelerate","This is pretty cool. I've been using CoffeeScript to post-process MD simulation results because it's such an easy language to get things done in. Tools like this will make it…",{"id":79,"by":80,"text":81},"4906353","BasDirks","What audience do you have in mind calling this advanced? (Not criticising your library, it looks useful).",{"value":83,"source":47,"evidence":84},"Good work from commenters",[85,89],{"id":86,"by":87,"text":88},"4908306","angersock","First of all, good work! A couple of observations: 1. You should probably go ahead and implement at least LU decomposition, QR factorization, and maybe some…",{"id":90,"by":91,"text":92},"4907027","whockey","Wow - looks awesome! Congrats Steve et all.",[94,102],{"value":95,"source":47,"evidence":96},"Not advanced: missing LU, QR, eigen, SVD, PCA",[97,98],{"id":86,"by":87,"text":88},{"id":99,"by":100,"text":101},"4906957","droz","Agreed. I would have expected to see things like ICA, PCA, SVD, pseudorandom number generators for various discrete and continuous distributions, misc. multiplicative and…",{"value":103,"source":47,"evidence":104},"Floating point accuracy issues",[105,108],{"id":106,"by":11,"text":107},"4906220","Glad you like it! I'd love to know how it goes if you make use of it. In your browser console, run: 0.3 + 0.544 You'll get back 0.8440000000000001 In practice (especially if in…",{"id":109,"by":110,"text":111},"4906505","dbaupp","https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FFloating_point#Accuracy_problems It is the same as trying to store 1\u002F3 = 0.333... as a finite decimal. Basically, a floating point number only has a…",[113,121,131,139,145],{"value":114,"source":47,"evidence":115},"Eigenvalue and eigenvector solvers",[116,117],{"id":86,"by":87,"text":88},{"id":118,"by":119,"text":120},"4909016","micro_cam","Sparse and dense matrix math and eigensolvers would be really nice. Especially solvers that let you efficiently get the eigenvectors associated with the smallest eigenvalues as…",{"value":122,"source":47,"evidence":123},"Statistics: regressions, quantiles, distributions",[124,128],{"id":125,"by":126,"text":127},"4906716","Zikes","Any interest in adding various statistical regression functions? I had to write some for JavaScript recently, one of which can be found at…",{"id":129,"by":126,"text":130},"4906903","For statistics I'd be interested in seeing quantiles, regressions, and coefficient of determination. I intend to contribute what I can in those areas.",{"value":132,"source":47,"evidence":133},"FFT support",[134,135],{"id":86,"by":87,"text":88},{"id":136,"by":137,"text":138},"4908571","napoleond","This is awesome! I started thinking about doing something similar a few months ago, but the project I needed it for kind of fell through and I moved on. Anyway, a few thoughts I…",{"value":140,"source":47,"evidence":141},"QR decomposition",[142],{"id":143,"by":144,"text":140},"4908200","pseut",{"value":146,"source":47,"evidence":147},"Linear programming and optimization",[148,149],{"id":86,"by":87,"text":88},{"id":150,"by":151,"text":152},"4906311","philip1209","Great. I'm studying for my operations research exam, and I've wanted to \"study\" by implementing some of the algorithms we did by hand through code. Is there interest in some more…",[154,161],{"value":155,"source":47,"evidence":156},"What is the use case for doing math in JavaScript",[157],{"id":158,"by":159,"text":160},"4907031","JDDunn9","What's the use-case-scenario for this? Seems like if you had complex calculations you needed to perform, you would do it on a server side language like Python.",{"value":162,"source":47,"evidence":163},"How does it differ from numeric.js",[164],{"id":165,"by":166,"text":167},"4906316","tqs","I've used http:\u002F\u002Fwww.numericjs.com\u002F to handle basic vector\u002Fmatrix arithmetic and for numerically solving minimization problems to create constraint-based UIs. Can you give an…",[169,177,181,188],{"value":170,"source":47,"evidence":171},"numeric.js",[172,176],{"id":173,"by":174,"text":175},"4909357","matsiyatzy","It should be mentioned that most of these things are already implemented by numeric.js (http:\u002F\u002Fwww.numericjs.com\u002F)",{"id":165,"by":166,"text":167},{"value":178,"source":47,"evidence":179},"Sylvester",[180],{"id":136,"by":137,"text":138},{"value":182,"source":47,"evidence":183},"NumPy",[184],{"id":185,"by":186,"text":187},"4906786","Osmium","Thanks, that's really interesting! I'll check it out next time. Do you see any advantage with this over, e.g., Python w\u002FNumPy?",{"value":189,"source":47,"evidence":190},"Clique",[191],{"id":192,"by":193,"text":194},"4906489","saym","Along the same line, (heh line) my friend made a linear algebra library last year. I present to you \"Clique: A Javascript Linear Algebra Library with Applications to Spectral…",{"comments":31,"answered":196,"key":197},4,[198,201,202],{"id":199,"text":200},"4908466","This is a fantastic list. There are a few people who've expressed interest in working on eigenvalue work. I'll definitely be adding a couple of these in, in the next few days.…",{"id":106,"text":107},{"id":203,"text":204},"4907085","yes, we're currently doing that. look here: https:\u002F\u002Fgithub.com\u002Fsjkaliski\u002Fnumbers.js\u002Fblob\u002Fmaster\u002Flib\u002Fnumbers.js#L32",{"commenters":206,"max_depth":207,"maker_replies":31,"first_comment_mins":208,"lifespan_hours":208},28,6,15,[210,212,214,216,218,220,222,225,228,230,233,235,236,238,242,245,247,248,250,254,255,257,258,259,262,263,266,267,268,272,273,276,279,282,285,286,288,289,290,292,294,296,299,301,303,305,306,309],[86,33,34,211,87,33],"project\u002Fneutral\u002Fperformance",[199,33,33,213,11,38],"maker\u002Fpositive\u002Fidea",[118,33,34,215,119,33],"project\u002Fneutral\u002Fidea",[173,33,38,217,174,33],"project\u002Fcritical\u002Fidea",[75,38,42,219,76,33],"project\u002Fpositive\u002Fnone",[106,38,33,221,11,38],"commenter\u002Fneutral\u002Fperformance",[223,38,33,221,224,33],"4906570","tedchs",[226,38,33,221,227,33],"4906626","alexkus",[203,38,33,229,11,38],"maker\u002Fneutral\u002Fperformance",[231,38,33,221,232,33],"4907302","Someone",[234,38,33,221,227,33],"4909315",[109,38,33,221,110,33],[237,38,33,221,76,33],"4906642",[239,38,33,240,241,33],"4906550","commenter\u002Fneutral\u002Fdocs","ced",[243,38,33,244,186,33],"4906577","commenter\u002Fneutral\u002Fnone",[246,38,42,219,76,33],"4906715",[185,38,33,244,186,33],[249,38,33,244,76,33],"4906825",[251,38,34,252,253,33],"4908158","maker\u002Fneutral\u002Fnone","cing",[125,40,34,215,126,33],[256,40,33,213,11,38],"4906785",[79,34,34,215,80,33],[50,34,34,215,51,33],[260,34,34,261,51,33],"4906665","maker\u002Fneutral\u002Fidea",[129,34,34,215,126,33],[264,34,33,265,11,38],"4907094","maker\u002Fpositive\u002Fnone",[143,34,34,215,144,33],[99,34,38,217,100,33],[269,34,33,270,271,33],"4907131","commenter\u002Fneutral\u002Fidea","mistercow",[165,196,34,215,166,33],[274,196,33,244,275,33],"4906517","fourstar",[277,196,33,244,278,33],"4906894","webjprgm",[280,196,42,281,166,33],"4907914","project\u002Fpositive\u002Fidea",[283,196,42,284,174,33],"4906969","project\u002Fpositive\u002Fperformance",[136,42,42,281,137,33],[287,42,33,213,11,38],"4908788",[150,207,34,215,151,33],[58,207,33,261,11,38],[291,207,42,219,151,33],"4907007",[293,207,33,244,11,38],"4907077",[295,207,33,244,151,33],"4907342",[192,297,33,298,193,33],7,"other\u002Fneutral\u002Fnone",[158,300,38,217,159,33],8,[302,300,33,270,271,33],"4907145",[304,300,33,213,11,38],"4907176",[90,31,42,265,91,33],[307,31,42,265,308,33],"4907029","zachperret",[310,18,42,219,311,33],"4906436","misiti3780",[],[314,318,322,326,330,335],{"id":315,"name":316,"points":317,"category":20},"4912076","Analytics.js",326,{"id":319,"name":320,"points":321,"category":20},"4902219","strucjure",204,{"id":323,"name":324,"points":325,"category":20},"4903716","box2d-jquery",167,{"id":327,"name":328,"points":329,"category":20},"4885689","UXArchive",116,{"id":331,"name":332,"points":333,"category":334},"4909784","Designing Web Applications",105,"learning_science",{"id":336,"name":337,"points":338,"category":339},"4910899","Crowdtilt API",90,"web_saas",false,"v2",{"id":343,"name":5,"line":6,"ai":340,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":344,"maker":11,"domain":10,"tier":19,"attempts":33,"strip":345,"url":9,"mix":346,"praise":72,"objection":95,"sub":21},4906098,[24,25,26,27],"3031500000000503303330313005553050010055",[31,32,33,34],1793990888665]