News for hackers. Stuff that matters.

albertjorlando

Re:Show HN: Logarithmic Flappy 2048 on Wednesday March 19, 2014 @09:13PM (#7433128)
Well yes, logbase2(x), where x is your score, does equal the number of wall jumps. But that doesn't account for how the game is laid out. Your score is a result of the number of jumps you've made. The number of jumps you've made is not the result of your score. Therefore, despite these two functions being the inversely related, the correct relationship is 2^x. That is just my opinion though.
Re:Show HN: Logarithmic Flappy 2048 on Wednesday March 19, 2014 @08:52PM (#7433047)
This is the exponential function, 2^x. Where the independent variable is the number of walls jumped. For instance, after 30 jumps, your score/tile reads 1073741824, or 2^30.
Re:Should I learn javascript? on Saturday March 30, 2013 @04:25PM (#5466561)
Thank you all very much. Looks like i'll be getting started with js.

Should I learn javascript?

About to conclude my first semester of CS at the university, and am eager to begin learning web design on the side while I get my B.S. in CS.To be honest I don't know very much. I am getting decent with python, and have looked a bit into the django framework. Should I continue with python and delve into django, or should I learn js? Any insight into a sensible path for someone in my position...

( Read More... | 7 comments | 7 points | on HN )