Category Archives: Phil

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.26.15

7:30 – 5:00 SR

  • Presentation prep for Monday
  • Working through sigmoid curve fitting as per this blog posting
  • Cool things about Alexa development.
  • Chased down weird issues with Dong’s code. Remember:
    • Fat arrow notation is required for functions inside promises. Otherwise ‘this’ doesn’t survive the scope changes.
    • Don’t chain angular module creation. A factory created earlier in a chain will not be visible to a later element that needs it.

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!

Phil 6.23.15

8:00 – 4:00 SR

  • Looks like demo for charts and VISIBILITY review will be 9:30 on Monday
  • New texture map works. Need to re-jigger base classes to generalize
  • Clicking on a selected anchor node in the network does not de-select it. Fixed
  • Lenny’s going to send locations of labs over, the task will be to draw the budget at the lat/long specified by the zip code.
  • Added imageLoc to item data so that associated images can be mapped to data.
  • Had a discussion with Dond about how to structure the data so that the pulls from the DB are consistent and requiring minimum translation. No good answer though.
  • In a bit late tomorrow. Dentist.

Phil 6.19.15

8:00 – 3:30 SR

  • Biked into work today 🙂
  • Set up the JAVA_HOME on the debug server and verified that keytool works for Ronda.
  • Integrate format. Maybe use the stage size to scale?
  • Set shapes from format
  • Set label from format? (if not null?)
  • Set data object.
  • See if the shapeDict can be pulled out, since it’s the same as the canvas modelArray?

TodaysWork

Phil 6.18.15

8:00 – 5:30 SR

  • DB backups
  • Work on fake data provider and the chart creator.
  • Need to add ‘change password’ to FR
  • Migrating the creation of the NetworkChart from the controller to WebGl3dCharts. Surprisingly slow going.

Phil 6.16.15

8:00 – 5:00 SR

  • We need to change the Funding breakdown error message so that it shows the amount of the error. The current message is confusing (“Funding Breakdown Total is less than the amount … $449,999.00”). Change to read “Funding Breakdown total is $36.17 less than the required amount”.
  • We need to change the ‘add users’ so that a new user added should immediately get added to the “role selection” popup without having to go through the selection of the just-added user.
  • Installed the new version of WebStorm. The deployment now seems buggy. Spent an hour getting everything to work again. Good thing I had notes.
  • Back to working on fake data generator for network
  • Changed I3DMinMax to I3DProperties. Not sure I like it, but there is more getting stuffed in there.
  • Got a first pass at the data provider. Need to do the format, then modify the chartInfo so that the graphic objects can be created.

Phil 6.15.2015

8:00 – 3:00 SR

  • Timesheets!
  • Bill V. is out for the week, so we changed some of the FR code in-situ.
  • Did have a thought – I need to calculate how much ATSBase is subtracting from the overall performance. Tried removing the ATSBase from CanvasClasses, which promptly broke in odd ways. Will look at this later.
  • More network display
    • Adding optional texture and primitive arguments to the dataformat
    • Creating a dataprovider test for the network display

Phil 6.12.15

8:00 – 5:30 SR

  • DB Backups
  • Chased down some querybuilder weirdness with Lenny. CONCAT(‘$’,) as ‘some name’ dosn’t seem to be working for his queries. Changing the queryBuilderConfig2.xml file by adding the column names worked though.
  • Deleting NetworkComponents does not remove them from the target list of other NetworkComponents
  • Also, I was adding items twice. That should have thrown a same-name error…. Nope, I was adding to the model list in the controller twice.
  • Added the ability to adjust attraction and repulsion constants individually.
  • Fixed some dumb bugs with fonts. To be fair, the canvas font description is dopey.
  • Progress for today (subject to change)

Phil 6.11.15

8:00 – 5:00 SR

  • DB Backups
  • Fixed some bugs in FR, the most serious was a multiplication/rounding (error?) in JavaScript that was causing calculated results to be off by something like 0.0000003.
  • The charts are not showing up on Lenny’s browser. Loading times for the JS are very short, with a 304 warning. Maybe we need to compile our TypeScript into one large file? Got it to work. It generates a *pile* of error messages because the typescript inclusion is messed up. Output is 3,500 lines of code.
  • Need to estimate times for development of follow on work for Lenny
  • Got 3D Network display working (again…)

shiny

Phil 6.10.15

8:00 – 3:30 SR

  • DB Backups
  • Deploy FR Fixes, new jars to test server for charts
  • Added a AppMainNet for the network dev/testing so that the AppMain for the 3D chart is untouched
  • Got networks of balls being drawn with random motion vectors. Need to add an array of influenceComponents that the math will work with to calculate physics. Got confused with the modelArray within the Component. It’s for child objects.shiny

Phil 6.9.15

8:00 – 4:30 SR

  • BD Backups
  • Need to make sure that plain lines are deleted as well in removeModels();
  • Started on NetworkCanvas/NetworkComponent.
  • Need to make MainCtrl into BaseCtrl in WGLA2_controller then extend into the current controller and the network controller. Done
  • Created a Network3DCtrl that at the moment, just minimally extends the WglCtrlBase class. When making it, I forgot to create the configObj, so the canvas belw up. Added a check in the directive so that a null configObj will case an alert to come up that is (hopefully) helpful.