TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: A Javascript library to overcomplicate Five

69 点作者 joezo将近 11 年前

13 条评论

filearts将近 11 年前
Thanks for sharing, but in my app I really need five to be six. If you could address this one small issue I'm sure your lib would see much more use.
评论 #8048084 未加载
评论 #8048078 未加载
jgillich将近 11 年前
<p><pre><code> five.tooSlow = function() { var returnIn = new Date(new Date().valueOf() + 555); do {} while(new Date() &lt; returnIn); return five(); }; </code></pre> Finally a way to escape callback hell. I think somebody should write a jQuery.ajax plugin that calls the function repeatedly until a request is finished.
评论 #8048131 未加载
zaptheimpaler将近 11 年前
I poked around at the source code and this really doesn&#x27;t seem to be web scale <i>at all</i>. Please look into mongodb to store the five, maybe throw in Redis to cache five in memory, and consider using a real-time processing framework like Storm to implement mapping and reducing five.<p>Until then I&#x27;m afraid this is just far too slow to consider using seriously in my web-scale project. This probably cant even handle 100M+ requests&#x2F;second. Right now, its just me and grandma so I need 2 requests&#x2F;sec, but this really doesn&#x27;t seem scalable.
mooreds将近 11 年前
I&#x27;m a little disappointed the test doesn&#x27;t verify correctness addition, subtraction, multiplication or division.<p>Sigh. I suppose I&#x27;ll have to submit an issue and pull request.
hacliff将近 11 年前
This can&#x27;t be right, nowhere near enough dependencies
talles将近 11 年前
Can&#x27;t wait until it reach version... 5
andrey-p将近 11 年前
Whoah. The Mongolian word for &quot;five&quot; means &quot;ceiling&quot; in Bulgarian.
评论 #8048914 未加载
dclowd9901将近 11 年前
Really makes me wish you could invoke instance methods on numbers (ala 5.amIFive())
评论 #8048153 未加载
评论 #8048166 未加载
saraid216将近 11 年前
AHA! I knew it! ALL THINGS HAPPEN IN FIVES. What <i>can&#x27;t</i> you accomplish with this library?<p><a href="http://principiadiscordia.com/book/23.php" rel="nofollow">http:&#x2F;&#x2F;principiadiscordia.com&#x2F;book&#x2F;23.php</a>
timme将近 11 年前
finally. shame it&#x27;s not written in the much more scalable coffeescript.
评论 #8047987 未加载
评论 #8048040 未加载
weddpros将近 11 年前
Who&#x27;s gonna write Flappy Five in JS?
sramsay将近 11 年前
But what good is a five overcomplication library without overly complicated documentation?
assertnotnull将近 11 年前
This will be ported to GWT 5.5.0 in a FiveLabel. It would fit nicely.