whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: show my work
Date Sun, 18 Feb 2018 02:07:37 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 33c7974  show my work
33c7974 is described below

commit 33c79743685e77908466c7c932f7f46fb5e26d60
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Sat Feb 17 21:07:15 2018 -0500

    show my work
---
 www/board/agenda/views/pages/fy23.js.rb | 28 +++++++++++++++++++++++-----
 1 file changed, 23 insertions(+), 5 deletions(-)

diff --git a/www/board/agenda/views/pages/fy23.js.rb b/www/board/agenda/views/pages/fy23.js.rb
index 52e8f5c..38c2405 100644
--- a/www/board/agenda/views/pages/fy23.js.rb
+++ b/www/board/agenda/views/pages/fy23.js.rb
@@ -288,11 +288,29 @@ class FY23 < Vue
 
     @budget.net = @budget.income - @budget.expense
 
-    @budget.cash = 1767 + 3*@budget.net + 2*100 + 500 # EA+BTC adjustment
-      # EA adjustment: instead of ramping down, the reduction in expense
-      #                is immediate and constant.
-      # BTC adjustment: we expect to see a minimum of $500K from the recent
-      #                 PineApple Fund BTC donation.
+    @budget.cash = 1767 + # Virtual's projection for cash on hand at the end
+                          # of FY18.
+
+                   (2*-212) + (3*@budget.net) + 
+                          # linear projection for expenses from FY18 to FY23.
+                          # Presuming:
+                          #   FY19 = FY18 + 1 * (FY23-FY18)/5
+                          #   FY20 = FY18 + 2 * (FY23-FY18)/5
+                          #   FY21 = FY18 + 3 * (FY23-FY18)/5
+                          #   FY22 = FY18 + 4 * (FY23-FY18)/5
+                          #   FY23 = FY18 + 5 * (FY23-FY18)/5
+                          # Total  = 5*Fy18 + 15*(FY23-FY18/5
+                          #        = 5*Fy18 + 3*(FY23-FY18)
+                          #        = 5*Fy18 + 3*FY23 - 3 * FY18
+                          #        = 2*Fy18 + 3*FY23
+          
+                   2*100 + 
+			  # EA adjustment: instead of ramping down, the
+			  # reduction in expense is immediate and constant.
+
+                   500
+			  # BTC adjustment: we expect to see a minimum of $500K
+			  # from the recent PineApple Fund BTC donation.
   end
 
   # update budget item when an input field changes

-- 
To stop receiving notification emails like this one, please contact
rubys@apache.org.

Mime
View raw message