TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Kalu – Calculator concept for long and inter-linked calculations

17 pointsby chinchangalmost 10 years ago

8 comments

pavlovalmost 10 years ago
The name means &quot;dick&quot; in Finnish. Oh well, there are thousands of languages spoken in the world, can&#x27;t check them all!<p>...Actually, that would be a damn useful site: doesthiswordmeansomethingdirtyinanobscurelanguage.com
评论 #10074871 未加载
评论 #10074667 未加载
jeffasingeralmost 10 years ago
This is a pretty cool idea.<p>One thing that would make it more useful to me, though much more difficult to implement, is that when you click a reused value, it store a reference to that result, so if you change the calculations for that result, all the references change also.<p>For example, that way I could have some initial parameters up top, and use those in a complicated calculation, with the end result changing if I change those parameters.
评论 #10074794 未加载
foxbarringtonalmost 10 years ago
Pretty neat.<p>Curious if it&#x27;s out of score or valuable to make the output&#x2F;input behave more like a variable than copy&#x2F;paste? e.g. line 1 is &quot;2 + 3&quot;, so you click on the result, &quot;5&quot; and you use that in a new expression: &quot;5 + 20&quot;. However, if you go and change the original line to &quot;7 + 3&quot; the second expression could update to &quot;10 + 20&quot;
评论 #10074973 未加载
dugmartinalmost 10 years ago
@chinchang: If you replace the eval() with math.eval from <a href="http:&#x2F;&#x2F;mathjs.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;mathjs.org&#x2F;</a> here<p><pre><code> result = eval(match[1]); </code></pre> You&#x27;ll get access to many more functions, including unit conversions.
评论 #10075229 未加载
onaclov2000almost 10 years ago
I like it, I&#x27;m taking the AI for Robotics class on Udacity, and I have a chromebook as my primary machine, I&#x27;m going to bookmark this and likely use it most of the time. Does it support math functions like power, exponential, etc? and how?
评论 #10075144 未加载
linksbroalmost 10 years ago
&gt; &quot;keep writing your calculations in JavaScript&quot;<p>None of the Math.x functions work, e.g. Math.floor(2.5). Defining functions also doesn&#x27;t work.<p>Looks promising though, I would use it for scratching project euler problems.
评论 #10075182 未加载
knd775almost 10 years ago
I really like this. The only issue that I found in my short time playing with it is that a&#x2F;0 returns infinity rather than undefined. 0&#x2F;0 does return NaN, though.
jPaolantonioalmost 10 years ago
Reminds me of <a href="http:&#x2F;&#x2F;tydligapp.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;tydligapp.com&#x2F;</a> . I always thought it would make a great desktop app.
评论 #10075057 未加载
评论 #10075167 未加载