Monthly Archives: April 2015

Phil 4.30.15

8:00 – 4:00 SR

  • In my defense, the 800 MB download includes a version of Angular and threeJS. With examples and documentation. So there :-b
  • Got onto one of our new servers. It also looks like Ronda is able to transfer files, even if I can’t. The new process may be to ask Bill to send the files to her for upload. I do think that at the very least, we can have all three servers share a drive for uploads and updates.
  • Spent most of the morning getting Dong up and running with the TypeScript dev environment. For some reason, Visual Studio interferes with GNUMake.
  • Started walking through the TypeScript structure of the chart code. Tomorrow, we’ll try to integrate the dataprovider.

Dong Shin 04.30.2015

  • Chrome’s Flash Debug Player has disappeared!
    • Adobe now has separate ones for Chrome and Firefox
    • installed the latest one
  • Fixed Change Password issues in FA
  • working on getting Phil’s Charting
    • installed – GNU Make 3.81, WinSCP 5.72, WindMD5.exe and touch.exe to System32 folder
    • had to remove Visual Studio – ts compiler conflict!
    • got WebGlChart2D running on Tomcat

Dong Shin 04.29.2015

  • downloaded Phil’s charting code – 800MB > !!!!
  • fixed months array (mappings[0]) returning in incorrect order
  • added 12 months data instead of 6 months for obligations/outlays goals
  • found nice AngularJS charting at https://github.com/maxklenk/angular-chart
    • playing it with the charting data…
    • added data parsing and not bad looking….Screenshot 2015-04-29 14.10.08

Phil 4.28.15

8:00 – 3:00 SR

  • You can now ride a bike across BW parkway. Gonna try to ride to work when it gets warmer.
  • Integrating charting code.
  • Updating the libs directory subversion repo

Phil 4.27.15

8:00 – 2:00 SR

  • Ronda has gotten us some new servers debug, integration and production!
  • She’s going to start by setting up Java, MySql and Tomcat of the debug server
  • Mark came by with a login problem for FA. Some sort of remote object issue. Took a screenshot for Dong.
  • Installing new WebStorm – done
  • Dong finished the JSON code, now we need to integrate.

Dong Shin 04.24.2015

  • working on future values
    • org.apache.commons.math3.stat.regression.SimpleRegression
    • y = mx + b where
      •  addData(double[][] data)
      • m = getSlope(), b = getIntercept()
    • added to config.properties
      • futureMonthTypes=future_facts_oubligations,future_facts_outlays,future_pm_actuals
      • future_facts_outlays=reportedFactsOutlays
        future_facts_oubligations=reportedFactsObligated
        future_pm_actuals=pmActuals

Phil 4.24.15

8:00 – 4:00 SR

  • Filled out financial NDA
  • Work on having two charts, then move into slideshow using ng-switch?
  • two charts – check!
  • WordPress on Win 8.1(?) now wants to make the edit area short. It can be temporarily stretched by using the HTML tab and dragging the lower right corner. Reverts after a save though.
  • Two charts with two controllers – check! And inheritance is working perfectly. This is my entire second chart controller definition:
    export class Chart2MainCtrl extends Chart1MainCtrl {
       constructor(timeout:ng.ITimeoutService) {
          super(timeout);
          this.dataFormat = { // might add 2D/3d, dynamic/static, etc.
             outlayGoals: {label:"Outlay Goals", objectName:"outlayGoals", type:"area", hexColor:0xFFAAAA},
             obligationGoals:{label:"Obligation Goals", objectName:"obligationGoals",  type:"area",hexColor:0xFFFFAA},
             pm_actuals:{label:"PM Actuals", objectName:"pm_actuals",  type:"bar",hexColor:0xAAFFAA},
             facts:{label:"Facts", objectName:"facts",  type:"bar",hexColor:0xAAAAFF},
             future_pm_actuals:{label:"Future PMA", objectName:"future_pm_actuals",  type:"area",hexColor:0x00FF00},
             future_facts:{label:"Future FACTS", objectName:"future_facts",  type:"area", hexColor:0x0000FF}
          };
       }
    }
  • And this is how the Angular module uses them:
    module AngularApp {
       // define how this application assembles.
       class AngularMain {
          appModule:ng.IModule;
    
          public doCreate(
             angular:ng.IAngularStatic,
             chart1Ptr:Function,
             chart2Ptr:Function,
             glDptr:Function) {
    
             this.appModule = angular.module('appMain', []).
                controller('glCtrl1',['$timeout', chart1Ptr]).
                controller('glCtrl2',['$timeout', chart2Ptr]).
                directive('ngWebgl', ['$timeout', glDptr]);
          }
       }
    
       new AngularMain().doCreate(
          angular,
          WGLA2D_ctrl.Chart1MainCtrl,
          WGLA2D_ctrl.Chart2MainCtrl,
          new WGLA2_dirtv.ngWebgl().ctor
       );
    }
  • Adding slide controller. Had a brief fright when I forgot to add the ng-switch and just used the ng-switch-when. Everything works though. Uploading it to my server.
  • Working with getting text and the graphs behaving well togther. And although I’ve written somewhere else in this blog, I can’t find my post of viewport relative CSS sizing, so here’s another link….

Phil 4.23.15

8:00 – 4:00 SR

  • No change on network disks.
  • Talked to Lenny about more statistical analysis of PM Actuals vs Facts. We can treat the reqs as the population and look for outliers. Ranked lists based on performance are a goal.
  • Subversion was still having read/write problems. I attempted to change the URL, just to see what would happen (That didn’t work), but when I tried to check in again at the old Vis2 address, the checkin worked. It seems like the edit action did a chown on all the items in the repo. Good thing to know! Anyway, http://www.philfeldman.com/VisN2 is now working 🙂
  • Migrating to my new dev box and laptop. That is a *lot* of monitors…

Phil 4.22.15

8:00 – 2:00 SR

  • Still unable to access remote drives and no ticket. Sigh.
  • Still fixing svn.
  • Going to try to move the IChartGrid object to the base class and then inherit to create a new chart.

Dong Shin 04.22.2015

  • working on Charting Data
    • got query to work
    • parsing query result to ChartData
    • instead of using nested Java Class objects, trying HashMap
    • got JSON service to work
    • Phil’s structure’s missing and using wrong names?
      • Obligation Goal – Area shading obligation_goals
        Outlay Goal – Area shading outlay_goals
        Committed Amount – Bar committed_amounts
        Obligation Amount – Bar obligations
        FACTS Outlay – Bar outlays
        PM Actuals – Bar pm_actuals
        Projected FACTS Outlay future_facts
        Projected PM Actuals future_pm_actuals
    • working on HashMap to return complete data
      • Map<String, Map<String, ChartDataCell>>
      • {“obligation_goals”:
        {“Sep”:{“min”:0.0,”max”:150000.0},
        “Feb”:{“min”:0.0,”max”:150000.0},
        “Mar”:{“min”:0.0,”max”:150000.0},
        “Apr”:{“min”:0.0,”max”:150000.0},
        “Oct”:{“min”:0.0,”max”:150000.0},
        “May”:{“min”:0.0,”max”:150000.0},
        “Jan”:{“min”:0.0,”max”:150000.0},
        “Nov”:{“min”:0.0,”max”:150000.0},
        “Dec”:{“min”:0.0,”max”:150000.0},
        “Jul”:{“min”:0.0,”max”:150000.0},
        “Aug”:{“min”:0.0,”max”:150000.0},
        “Jun”:{“min”:0.0,”max”:150000.0}},
        “committed_amounts”:
        {“Sep”:{“min”:0.0,”max”:150000.0},
        “Feb”:{“min”:0.0,”max”:150000.0},
        “Mar”:{“min”:0.0,”max”:150000.0}……….

Phil 421.15

8:00 – 4:00 SR

  • Meeting with Dong, Lenny & Chris. Charts are the priority.
  • Working on migrating the chart grid to WegGlCharts.
  • Fixing subversion. Looks like the easiest thing to do is to copy over the old repo to the new one?
  • Tried copying, but the permissions were wrong. Trying this
    • svnadmin dump /path/to/repository > repository-name.dmp
    • svnadmin create repository-name [--fs-type fsfs] <-optional?
    • svnadmin load repository-name --force-uuid < repository-name.dmp
  • Finished moving over chartbg to WebGlCharts. Creating a chart now looks like this:
    var months:any = this.dataProvider.mappings[0];
    var charts:WglCharts.ConfiguredChart = new WglCharts.ConfiguredChart(rb, this.dataProvider, this.dataFormat);
    charts.setChartGrid(cg);
    charts.add2DCharts(months);