[{"data":1,"prerenderedAt":616},["ShallowReactive",2],{"project-6037170":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":44,"post_text":47,"what":48,"said":82,"maker_in_thread":179,"shape":191,"grid":195,"attempts":577,"same_week":578,"maker_shows":33,"maker_hidden":608,"reader_version":609,"card":610},"6037170","Minified.js","a fully-featured, 4K alternative to jQuery and MooTools","title","Show HN: Minified.js – a fully-featured, 4K alternative to jQuery and MooTools","http:\u002F\u002Fminifiedjs.com\u002F","minifiedjs.com","tjansen",1373709384,2013,158,142,104,1739,6,"notable","languages","javascript library","library",[21,24,25,26,27],"jquery alternative","dom manipulation","minified javascript","small javascript","mixed",-0.181,{"positive":31,"neutral":32,"mixed":33,"critical":32},9,22,1,54,{"idea":36,"performance":38,"docs":40,"execution":42},{"positive":37,"critical":18},2,{"positive":37,"critical":39},8,{"positive":41,"critical":41},0,{"positive":33,"critical":43},4,[33,33,41,45,33,46,33,46,33,46,33,46,41,41,41,46,46,41,46,33,45,33,33,33,41,41,45,43,33,37,33,33,46,45,37,45,46,41,33,33],5,3,null,{"problem":47,"audience":49,"pricing":47,"motivation":56,"time_to_build":47,"stack":64,"openness":79,"stage":80,"team_size":81},{"value":50,"source":51,"evidence":52},"Developers who want full control over their JS environment and minimal size","maker",[53],{"id":54,"by":11,"text":55},"6037476","I thought that 'alternative to jQuery or MooTools' makes it very clear that it's just a library that offers similar functionality, especially since I mentioned two completely…",{"value":57,"source":58,"evidence":59},"Creating a small jQuery-style wrapper after a jQuery diet experiment","inferred",[60],{"id":61,"by":62,"text":63},"6037997","WickyNilliams","This month I decided to go on a jQuery diet, as a kind of fun challenge. I'd increase my familiarity with the standard DOM and selector APIs, and reduce my dependency on jQuery.…",[65,71,75],{"value":66,"source":51,"evidence":67},"JavaScript",[68],{"id":69,"by":11,"text":70},"6037453","What's funny is that it hardly makes any difference. If you feed the source code into Closure in advanced mode, the size is 9258 bytes pre-gzip and 4109 post-gzip. In simple…",{"value":72,"source":51,"evidence":73},"Closure Compiler",[74],{"id":69,"by":11,"text":70},{"value":76,"source":51,"evidence":77},"UglifyJS",[78],{"id":69,"by":11,"text":70},"open_source","launched","unknown",{"praise":83,"objections":100,"requests":130,"questions":145,"alternatives":160},[84],{"value":85,"source":86,"evidence":87},"Minimal size and clean, well-documented API","commenter",[88,92,96],{"id":89,"by":90,"text":91},"6037492","api","Love it! The more experienced I become as a programmer, the more respect I have for minimal programs that work very well. It's often very hard to \"work your way up to…",{"id":93,"by":94,"text":95},"6037485","samguddy","Minified.js has potential. If given the chance, it will be successful and I for one love rooting for the under dogs. The Custom Builder is a lovely addition. The Library is well…",{"id":97,"by":98,"text":99},"6037651","Wintamute","The full, concatenated and uglified source of one-page JS web apps can easily run to >600kB. Whether my DOM manipulation library consumes 4kB of that or 35kB isn't especially…",[101,108,123],{"value":102,"source":86,"evidence":103},"Performance lags jQuery in benchmarks",[104],{"id":105,"by":106,"text":107},"6037614","ctoestreich","Just on the surface the potential for the minified library with its reduced size and browser support sounds great. In just checking a few features it seems as though the…",{"value":109,"source":86,"evidence":110},"Size savings matter little given caching and gzip",[111,115,119],{"id":112,"by":113,"text":114},"6037846","dmethvin","I know it's awfully tempting to obsess on something that is easy to measure, like file size. I also know it's tempting to imply things like \"twice the file size means twice the…",{"id":116,"by":117,"text":118},"6037741","kailuowang","30KB distributed by a free CDN with a high chance that it's already cached in the browser VS 4KB that probably have to be served by myself. I am sorry, I probably would still go…",{"id":120,"by":121,"text":122},"6038446","halayli","If you use a common cdn to load jquery, chances are it's in the user's browser cache is very high.",{"value":124,"source":86,"evidence":125},"Not compatible with jQuery plugins",[126],{"id":127,"by":128,"text":129},"6037419","latchkey","Sure, I can switch my code to use this, but how compatible is this with common 3rd party libraries that are dependent on jquery? For example, will this run the bootstrap js code…",[131,138],{"value":132,"source":86,"evidence":133},"Add event delegation support",[134],{"id":135,"by":136,"text":137},"6037724","platz","What about event delegation? In JQuery there exists an overload to .on() that can pass a selector string to filter the descendants of the selected elements that trigger the…",{"value":139,"source":86,"evidence":140},"Clarify public domain licensing in source",[141],{"id":142,"by":143,"text":144},"6037568","gioele","I see a licensing problem. Releasing thing into the public domain is not as easy as writing \"Minified has been released into the Public Domain. You can use, copy, distribute and…",[146,153],{"value":147,"source":86,"evidence":148},"How does it compare to Zepto.js",[149],{"id":150,"by":151,"text":152},"6037360","dfischer","How does this compare to Zepto.js?",{"value":154,"source":86,"evidence":155},"Which browsers are supported",[156],{"id":157,"by":158,"text":159},"6037297","rschmitty","Is this the full comparison? http:\u002F\u002Fminifiedjs.com\u002F#featCmp It seems like that would cover most things I would use, however surely there is more to jquery (that I may or may not…",[161,165,172],{"value":162,"source":86,"evidence":163},"jQuery",[164],{"id":116,"by":117,"text":118},{"value":166,"source":86,"evidence":167},"Zepto.js",[168],{"id":169,"by":170,"text":171},"6038541","hippich","In case you need mobile support and not IE, also checkout Zepto. I updated test with Zepto - http:\u002F\u002Fjsperf.com\u002Ftest-jquery-vs-minified\u002F4 URL: http:\u002F\u002Fzeptojs.com\u002F",{"value":173,"source":86,"evidence":174},"RyeJS",[175],{"id":176,"by":177,"text":178},"6037478","ricardobeat","RyeJS is another alternative, though it focuses on speed, modularity and having an understandable source instead of size. Clocking at 6.2kb. http:\u002F\u002Fryejs.com\u002F (disclaimer: I'm…",{"comments":180,"answered":31,"key":181},20,[182,185,188],{"id":183,"text":184},"6037581","I have CC0 on the download page, but yes, I should also add this to the source code. Thanks.",{"id":186,"text":187},"6037633","That's cool, thank you (even if the results don't look so good, but it's not that surprising).",{"id":189,"text":190},"6037316","What exactly would you miss (other than some utilities like each(), which are I would like to keep out of the library)? Actually one of the ways I used to decide what features to…",{"commenters":192,"max_depth":31,"maker_replies":180,"first_comment_mins":193,"lifespan_hours":194},80,89,118,[196,198,202,205,208,212,215,218,220,222,225,227,229,231,235,238,241,244,247,250,252,254,257,259,261,263,266,268,270,272,273,275,279,281,283,286,288,291,294,298,301,303,305,308,310,314,317,320,323,325,327,330,333,335,338,341,344,347,350,353,355,357,359,362,365,367,369,371,373,376,379,383,385,388,391,394,396,400,402,404,407,411,413,415,417,419,422,424,426,428,431,433,435,438,440,444,446,448,450,452,455,457,459,461,464,466,468,470,472,476,480,482,484,486,488,490,493,497,501,502,505,509,511,513,515,518,522,524,528,532,535,539,542,547,550,552,555,559,563,567,571,575],[112,41,41,197,113,41],"other\u002Fneutral\u002Fperformance",[199,41,33,200,201,41],"6038188","project\u002Fcritical\u002Fidea","corresation",[203,41,41,204,113,41],"6038249","commenter\u002Fneutral\u002Fperformance",[206,41,41,204,207,41],"6038487","benologist",[209,41,33,210,211,41],"6038711","project\u002Fcritical\u002Fperformance","chc",[213,41,41,204,214,41],"6040368","girvo",[216,41,41,217,211,41],"6042017","commenter\u002Fneutral\u002Fnone",[219,41,41,217,214,41],"6062337",[221,41,41,197,201,41],"6041220",[223,41,41,197,224,41],"6042013","eksith",[226,41,41,204,211,41],"6042107",[228,41,41,204,207,41],"6042288",[230,41,41,204,211,41],"6042823",[232,41,45,233,234,41],"6038890","project\u002Fpositive\u002Fidea","paulsutter",[236,41,33,210,237,41],"6039210","hnriot",[239,41,41,204,240,41],"6039216","LocalPCGuy",[242,41,41,204,243,41],"6039233","rralian",[245,41,41,204,246,41],"6039273","waitwhat",[248,41,41,204,249,41],"6039569","adventured",[251,41,41,204,113,41],"6039838",[61,33,46,253,62,41],"project\u002Fneutral\u002Fidea",[255,33,41,217,256,41],"6038163","jakejake",[142,37,33,258,143,41],"project\u002Fcritical\u002Fnone",[183,37,41,260,11,33],"maker\u002Fneutral\u002Fdocs",[97,46,46,262,98,41],"project\u002Fmixed\u002Fdocs",[264,46,41,197,265,41],"6037716","sehrope",[267,46,41,197,201,41],"6037840",[269,46,41,217,113,41],"6037881",[271,46,41,204,201,41],"6037961",[105,43,33,210,106,41],[186,43,41,274,11,33],"maker\u002Fpositive\u002Fperformance",[276,43,46,277,278,41],"6037667","project\u002Fneutral\u002Fperformance","microcolonel",[89,45,45,280,90,41],"project\u002Fpositive\u002Fnone",[176,18,41,282,177,41],"other\u002Fneutral\u002Fnone",[284,18,33,258,285,41],"6037744","przemoc",[287,18,41,217,177,41],"6039514",[289,18,41,282,290,41],"6039901","tmzt",[292,18,41,217,293,41],"6060837","yuhong",[295,296,33,210,297,41],"6037302",7,"colinm",[299,296,46,253,300,41],"6037311","nawitus",[302,296,41,204,158,41],"6037326",[304,296,41,204,177,41],"6037471",[306,296,41,197,307,41],"6037317","dclowd9901",[309,296,41,197,249,41],"6037346",[311,296,41,312,313,41],"6037408","other\u002Fneutral\u002Fprivacy","toble",[315,296,41,312,316,41],"6037414","eps",[318,296,41,312,319,41],"6037451","shocks",[321,296,41,312,322,41],"6037493","andybak",[324,296,41,312,316,41],"6037612",[326,296,41,312,313,41],"6037598",[328,296,41,282,329,41],"6037924","amalag",[331,296,41,197,332,41],"6037357","EzGraphs",[334,296,41,312,307,41],"6055090",[336,296,46,277,337,41],"6037335","mtrimpe",[339,296,46,277,340,41],"6037369","leandono",[342,296,46,277,343,41],"6038840","youngtaff",[345,39,46,277,346,41],"6037383","Alex3917",[348,39,46,277,349,41],"6037602","SkyMarshal",[351,39,46,277,352,41],"6037674","graue",[354,39,41,204,343,41],"6038800",[356,39,41,217,352,41],"6039275",[358,39,41,217,343,41],"6040397",[360,39,41,312,361,41],"6039313","babby",[363,39,41,364,352,41],"6039989","commenter\u002Fneutral\u002Fprivacy",[157,31,46,366,158,41],"project\u002Fneutral\u002Fnone",[189,31,41,368,11,33],"maker\u002Fneutral\u002Fidea",[370,31,41,217,158,41],"6037323",[372,31,46,253,337,41],"6037345",[374,31,33,258,375,41],"6037392","mattmanser",[377,31,41,378,11,33],"6037446","project\u002Fneutral\u002Fexecution",[380,381,41,197,382,41],"6037330",10,"Nurdok",[384,381,41,197,337,41],"6037337",[386,381,45,387,249,41],"6037338","project\u002Fpositive\u002Fperformance",[389,381,41,197,390,41],"6037350","markdown",[392,381,41,197,393,41],"6037368","recuter",[395,381,41,253,11,33],"6037491",[397,398,33,200,399,41],"6037294",11,"Link-",[401,398,41,253,11,33],"6037305",[403,398,46,253,399,41],"6037315",[405,398,41,406,11,33],"6037319","project\u002Fneutral\u002Fdesign",[408,409,33,200,410,41],"6037455",12,"ahallock",[412,409,41,253,11,33],"6037470",[127,414,46,366,128,41],13,[416,414,41,366,11,33],"6037449",[418,414,33,258,128,41],"6037459",[420,414,41,217,421,41],"6037469","lrem",[423,414,41,197,240,41],"6038231",[425,414,41,204,421,41],"6038273",[427,414,41,197,240,41],"6038527",[429,414,41,197,430,41],"6038731","glitchdout",[432,414,41,197,343,41],"6038829",[434,414,41,217,240,41],"6039222",[436,414,41,197,437,41],"6038837","etler",[54,414,41,439,11,33],"project\u002Fneutral\u002Fdocs",[441,442,45,280,443,41],"6037577",14,"wassago",[169,445,46,366,170,41],15,[93,447,45,280,94,41],16,[135,449,46,378,136,41],17,[451,449,41,378,11,33],"6037786",[453,449,33,454,113,41],"6037810","project\u002Fcritical\u002Fexecution",[456,449,41,378,11,33],"6037837",[458,449,46,378,113,41],"6037888",[460,449,46,378,62,41],"6038025",[462,449,33,210,463,41],"6037998","k3n",[465,449,41,277,11,33],"6038054",[467,449,46,378,265,41],"6038098",[469,449,41,378,11,33],"6038764",[471,449,33,454,240,41],"6038548",[473,474,41,282,475,41],"6038617",18,"pacomerh",[477,478,46,277,479,41],"6037378",19,"ggurgone",[481,478,41,277,11,33],"6037403",[483,478,33,210,479,41],"6037872",[485,478,33,210,240,41],"6038291",[487,180,33,454,285,41],"6037715",[489,180,41,282,11,33],"6037734",[491,180,41,282,492,41],"6037854","gavinpc",[494,495,45,280,496,41],"6037764",21,"tmlee",[498,32,45,499,500,41],"6037429","project\u002Fpositive\u002Fexecution","Yver",[69,32,41,277,11,33],[503,32,41,197,504,41],"6037915","cromwellian",[506,507,46,277,508,41],"6037426",23,"pearjuice",[510,507,46,277,177,41],"6037473",[512,507,41,439,11,33],"6037523",[116,514,33,210,117,41],24,[516,514,45,387,517,41],"6037750","js-coder",[519,514,41,520,521,41],"6037876","commenter\u002Fcritical\u002Fperformance","jasonlotito",[523,514,41,197,240,41],"6038250",[525,526,33,454,527,41],"6037948",25,"EGreg",[529,526,41,530,531,41],"6038535","commenter\u002Fneutral\u002Fexecution","roryokane",[533,526,41,530,534,41],"6038756","hk__2",[536,537,45,233,538,41],"6037546",26,"wiradikusuma",[120,540,41,541,121,41],27,"other\u002Fcritical\u002Fperformance",[543,544,41,545,546,41],"6037425",28,"commenter\u002Fcritical\u002Fdocs","robinduckett",[548,544,41,549,11,33],"6037500","commenter\u002Fneutral\u002Fdocs",[150,551,46,366,151,41],29,[553,551,33,200,554,41],"6037398","Ziomislaw",[556,557,41,282,558,41],"6038342",30,"ishbits",[560,561,33,200,562,41],"6037365",31,"detay",[564,565,33,200,566,41],"6037515",32,"camus",[568,565,41,569,570,41],"6037531","commenter\u002Fneutral\u002Fidea","bpicolo",[572,565,41,573,574,41],"6037549","commenter\u002Fcritical\u002Fidea","VMG",[576,565,41,569,11,33],"6037575",[],[579,584,588,593,598,603],{"id":580,"name":581,"points":582,"category":583},"6025221","Raspberry Picrowave",423,"hardware",{"id":585,"name":586,"points":14,"category":587},"6059481","Distelli","infrastructure",{"id":589,"name":590,"points":591,"category":592},"6046227","WakaTime",126,"dev_tools",{"id":594,"name":595,"points":596,"category":597},"6038053","NameMonk",85,"web_saas",{"id":599,"name":600,"points":601,"category":602},"6025579","stps",83,"productivity",{"id":604,"name":605,"points":606,"category":607},"6039550","FISA Court Tracker",82,"security_privacy",false,"v2",{"id":611,"name":5,"line":6,"ai":608,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":612,"top":18,"kw":613,"maker":11,"domain":10,"tier":19,"attempts":41,"strip":614,"url":9,"mix":615,"praise":85,"objection":102,"sub":21},6037170,-0.18,[21,24,25,26,27],"1105131313130003303151110054121135253011",[31,32,33,32],1794036508112]