Category Archives: Projects

Phil 7.8.15

8:00 – 4:30 SR

  • Re-ordered my dev machine
  • Had a good discussion with Lenny about future directions for the project and how to effectively use my time while we wait for someone to come on board.
  • Working on figuring out how to put an absolute div in a dynamic page. Ok, here’s how I got it to work.
  • This is the style
    <style>
        .wrapperPanel {
            display: flex;
            justify-content: center;
            background-color: lightgray;
            margin-bottom: 10px;
            margin-top: 10px;
            width: 98vw;
            height: 30vh;
        }
    
        .mainWindow {
            position: relative;
            width: 100%;
            height: 100%;
            background: linear-gradient(darkblue, black);
        }
    
        .glDiv {
            position: absolute;
            width: 100%;
            height: 100%;
        }
    </style>
  • and this is the HTML
    <div class="wrapperPanel">
        <div class="mainWindow">
            <ng-network-webgl class="glDiv" config-obj="glc.configObj"></ng-network-webgl>
        </div>
    </div>
  • The mainWindow css is needed so that the div with the ‘glDiv’ css has something to reference to. Otherwise the overlays won’t work.
  • Lunch thoughts
    • Confirm/Dispute
    • URL chain (or, just chain)
  • Handoff meeting from Brad to Steve tomorrow at 2:00 or later.
  • Added webgl network canvas using inheritance for the controller. Aside from forgetting the stylesheet, everything worked as hoped for!

Phil 7.7.15

8:00 – 5:00 SR

  • Got my new worksa- wait. Actually, it’s my old, non dev workstation with more monitors.
  • The guy who installed my monitors said that there was a way to order custom equipment, but it appears to be a nonexistent link.
  • Looking into online IDEs. Cloud9 hangs on even a simple PHP execution. Trying Eclipse Orion. Ok, that’s just horrible.
  • Ok, I might be getting a dev machine now….
  • Working on dynamic data for network charts. I’ve got the basics working (need database calls as well, but let’s do that later) Now I need to get the basics of the CSS working for the mix of regular and webGL directives.

Phil 7.6.15

8:00 – 4:00

  • Told Lenny about Dong’s resignation.
  • More dynamic chart data.
  • Set the meta information about the kind of data into each item so that the directive knows what to draw.
  • In the main app, set it so that the data was returned in one object and meta information about the query was returned in the other
  • Connect the data provider to the initial pull
  • Add additional defined strings for query types to support different flavors of queries (DRILL_DOWN, etc)
  • Add defined strings for response type (NEW, REPLACE, APPEND, UPDATE, etc) UPDATE should keep current data and only add new.
  • Need to be able to add and delete (lines? lighting?) between nodes without adjusting the behavior of the nodes. It’s be nice to be able to do this as part of the mouseover
    • AddRelation(target) – creates an entry in a hashmap
    • DeleteRelation(target) – deletes the entry
    • CustomMouseoverBehavior(c:WglComponentBase){} – add to CanvasBase

Phil 7.2.15

7:30 – 4:30SR

  • Rain.
  • Updated the funding requests DB with a new support project
  • Working my way through Khan Academy inferential statistics
  • Workstation install set for Monday at 9:00 am
  • Added depth setting to charts
  • More dynamic chart data.
    • Had to add angular-sanitize and  ngSanitize to handle redering injected HTML
    • Got the rss data rendering in angular
    • For some reason, the ‘+’ symbol doesn’t travel well. It gets changed to a space on the way to the server. Re-rigged the server side code to combine queries.
    • Bundled up all the processing code in GoogleNewsRss.php.
    • In the main app, set it so that the data was returned in one object and meta information about the query was returned in the other
    • Connect the data provider to the initial pull
    • Add additional defined strings for query types to support different flavors of queries (DRILL_DOWN, etc)
    • Add defined strings for response type (NEW, REPLACE, APPEND, UPDATE, etc) UPDATE should keep current data and only add new.
    • Need to be able to add and delete (lines? lighting?) between nodes without adjusting the behavior of the nodes. It’s be nice to be able to do this as part of the mouseover
      • AddRelation(target) – creates an entry in a hashmap
      • DeleteRelation(target) – deletes the entry
      • CustomMouseoverBehavior(c:WglComponentBase){} – add to CanvasBase

Dong Shin 07.02.2015

  • chart data service broken? – fixed
  • added charts project (TypeScript) to FinancialAssistantService(webapp)
  • Upload external changes must be set in Tools->Deployment->Options in WebStorm to upload compiled .js file automatically
  • working on charts app
    • created DataFormatRow class
    • buildRowData() in ChartDataService.java is still broken… trouble-shooting…

Phil 6.30.15

8:00 – 5:00 SR

  • Lenny submitted the list of equipment for development.
  • Since we’re now on a new SSP, I need to get permissions to match.
  • More work on network chart data
  • Spent 2 hours on support line.
  • timesheets!

Phil 6.25.15

7:30 – 4:30 SR

  • Deploying new webgl chart tests
  • Looks like we have a new version of Angular. Update today?
  • Prepare slides for Monday’s presentation
    • Need (Spreadsheets -> Cloud)
      • Much faster – near real time
      • Database/Query approach
      • Integration of multiple data sources (FACTS, PM actuals, planned vs. actuals, etc)
      • Visual reports, based on current data
    • History
    • Roles
      • Phil – Architecture, UX, browser and server development
      • Phil – DB, browser and server development
      • Testing – unfilled
      • Documentation – unfilled
      • Graphic assets – unfilled
    • Current Capabilities (screenshots)
      • Back-end DB and server code
      • FA
      • RA
      • RQ
      • Vis
      • Scripting
      • Auto Ingest
    • The Flex Problem (Google trends Flex/Actionscript/Angular/typescript)
    • Upgrade path
      • Separate, smaller, report-driven apps
      • FR
      • Charting
      • Scripting
      • RQ
      • FA query builder
      • FA other?
      • RA port
      • User manager
    • Upgrade Schedule (1.5 man-years to get back to stable, tested code with periodic updates)
      • Charts coming online
      • Scripting
      • Query Builder
      • RA port.

Phil 6.24.15

9:30 – 5:00 SR

  • For a break, I’m going to build a directive that pops up in response to a NovettaUtils.ATSMessenger event. Also going to look into using flex containers for the WebGl
  • Took a much-needed detour into handling resize events so more advanced CSS can be supported. . It works like this:
    • First, set up the callback. Not that it is attached to the window, not an element in the scope.
      window.addEventListener('resize', this.handleResizeEvent, false);
    • Then we have the event handler
      private handleResizeEvent(ev:Event):void{
          console.log(ev.type);
          var parent = this.getTopNode();
          if(parent){
              this.setAdjWidth(parent.clientWidth);
              this.setAdjHeight(parent.clientHeight);
              this.renderer.setSize(this.adjWidth, this.adjHeight);
              if(this.getUse3D()) {
                  var pcam:THREE.PerspectiveCamera = <THREE.PerspectiveCamera>(this.camera);
                  pcam.aspect = this.getAdjWidth() / this.getAdjHeight();
                  pcam.updateProjectionMatrix();
              }else{
                  var ocam:THREE.OrthographicCamera = <THREE.OrthographicCamera>(this.camera);
                  ocam.right = this.getAdjWidth();
                  ocam.top = this.getAdjHeight();
                  ocam.updateProjectionMatrix();
              }
          }
      }
    • How to center a absolute div
    • Ok, got the basics of the pop-up directive working in a dynamic viewport!