Created
July 24, 2013 09:29
-
-
Save terrcin/6069196 to your computer and use it in GitHub Desktop.
Works out how many seconds per handsets sale the Ubuntu Edge project needs from now on to succeed. http://www.indiegogo.com/projects/ubuntu-edge/x/1850818
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
finish = Time.new 2013, 8, 22, 7 # UTC | |
goal = 32000000 | |
current = 3762188 # <= update this manually | |
remaining = goal - current | |
cost = 830 | |
puts "Seconds per handset sale: #{((finish - Time.now.utc) / (remaining / cost)).round(2)}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment