Phil 4.9.14

8:00 – 5:00 SR

  • DB backups
  • Deploy new VSS jars
  • Webapps backups
  • In the main RA view, projects appear to be duplicating, or at least showing up on multiple lines. According to Pat, editing one duplicate does not affect the other. I tried it on the demo project, and with a refresh, everything seems to coordinate.
  • Probably need to add ‘:;()$#<>?/’ to the regex white list. Check with Dong about any SQL issues. Added in. Also discovered an SVN conflict that had to be fixed, which probably breaks the FA interaction. Committed and built for deployment tomorrow.
  • Worked my way through the OO chapter of Pro JS for WebDev again, and it made a lot more sense. The WebGL book is definately using Combination inheritance. And now YUI.extend makes a lot more sense.

Phil 4.8.14

8:00 – 5:00 SR

  • DB backups
  • Add ‘.’ and ‘-‘ to the scripting regex
  • 10:55 – on hold
  • JavaScript – working my back through the constructor/prototype patterns in Pro JS for Web Developers. I am not getting how the WebGL Sim.js objects hang together.

Phil 4.7.14

8:00 – 10:00, 1:00 – 5:00 SR

  • DB backups. scripts are still running
  • Found a library that supports databinding with javascript: http://knockoutjs.com/index.html
  • Found a java rues engine that looks better than drools: http://www.jessrules.com/jess/index.shtml
  • It looks like the queries that produce the briefing slide shows are broken. I’ve printed off screenshots, but for example, the goals are up and down and sometimes not there at all.

Dong Shin 04.04.2014

  • FMP’s still not loaded to FA, need to look at events closely…
    • caused by missing entries in config file!!!! throws exception in the debug flash player, not in normal version. changed the code to show it in logger…..
  • discussed few stuffs with Lenny. looked at Obligations not adding up, wrong data!

Dong Shin 04.03.2014

  • deployed new FA/RA/Reqonciler along with jar files. Still no FMP shown in FA, puzzled…..
  • fixed Logger to filter the items correctly
  • updating query to speed up RA… This would do it!
    • SELECT * FROM
      (SELECT ‘OVERDUE’ AS status, bc.*
      FROM budget_centers bc
      WHERE uid IN (
      SELECT
      oo.funding_id
      FROM obligations_outlays oo
      WHERE (oo.type LIKE ‘%PM%’ OR oo.type LIKE ‘Planned%’)
      AND (year + year_count + 1) < 2014
      AND (ISNULL(month_1) OR ISNULL(month_2) OR ISNULL(month_3) OR ISNULL(month_4) OR ISNULL(month_5) OR ISNULL(month_6)
      OR ISNULL(month_7) OR ISNULL(month_8) OR ISNULL(month_9) OR ISNULL(month_10) OR ISNULL(month_11) OR ISNULL(month_12))
      UNION
      SELECT
      oo.funding_id
      FROM obligations_outlays oo
      WHERE (oo.type LIKE ‘%PM%’ OR oo.type LIKE ‘Planned%’)
      AND (year + year_count + 1) = 2014
      AND (ISNULL(month_1) OR ISNULL(month_2) OR ISNULL(month_3) OR ISNULL(month_4) OR ISNULL(month_5) OR ISNULL(month_6)))
      UNION
      SELECT ‘CURRENT’ AS status, bc.*
      FROM budget_centers bc WHERE uid NOT IN (
      SELECT
      oo.funding_id
      FROM obligations_outlays oo
      WHERE (oo.type LIKE ‘%PM%’ OR oo.type LIKE ‘Planned%’)
      AND (year + year_count + 1) < 2014
      AND (ISNULL(month_1) OR ISNULL(month_2) OR ISNULL(month_3) OR ISNULL(month_4) OR ISNULL(month_5) OR ISNULL(month_6)
      OR ISNULL(month_7) OR ISNULL(month_8) OR ISNULL(month_9) OR ISNULL(month_10) OR ISNULL(month_11) OR ISNULL(month_12))
      UNION
      SELECT
      oo.funding_id
      FROM obligations_outlays oo
      WHERE (oo.type LIKE ‘%PM%’ OR oo.type LIKE ‘Planned%’)
      AND (year + year_count + 1) = 2014
      AND (ISNULL(month_1) OR ISNULL(month_2) OR ISNULL(month_3) OR ISNULL(month_4) OR ISNULL(month_5) OR ISNULL(month_6)))
      UNION
      SELECT ‘DUE’ AS status, bc.*
      FROM budget_centers bc WHERE uid NOT IN (
      SELECT
      oo.funding_id
      FROM obligations_outlays oo
      WHERE (oo.type LIKE ‘%PM%’ OR oo.type LIKE ‘Planned%’)
      AND (year + year_count + 1) < 2014
      AND (ISNULL(month_1) OR ISNULL(month_2) OR ISNULL(month_3) OR ISNULL(month_4) OR ISNULL(month_5) OR ISNULL(month_6)
      OR ISNULL(month_7) OR ISNULL(month_8) OR ISNULL(month_9) OR ISNULL(month_10) OR ISNULL(month_11) OR ISNULL(month_12))
      UNION
      SELECT
      oo.funding_id
      FROM obligations_outlays oo
      WHERE (oo.type LIKE ‘%PM%’ OR oo.type LIKE ‘Planned%’)
      AND (year + year_count + 1) = 2014
      AND (ISNULL(month_1) OR ISNULL(month_2) OR ISNULL(month_3) OR ISNULL(month_4) OR ISNULL(month_5) OR ISNULL(month_6)))
      AND uid IN (
      SELECT
      oo.funding_id
      FROM obligations_outlays oo
      WHERE (oo.type LIKE ‘%PM%’ OR oo.type LIKE ‘Planned%’)
      AND (year + year_count + 1) = 2014
      AND (ISNULL(month_7)))) AS t
      LEFT JOIN committed_amounts AS ca ON t.uid = ca.budget_center_id
      LEFT JOIN projects AS p ON t.project_id = p.uid

Phil 4.3.14

8:00 – 4:00 SR

  • DB backups
  • Deployed new jars and swfs for FA. The FMP window and the debug statements is not working. And Dong still needs to add class and method info to logger for non-debug.
  • Webapps backup.
  • WebGL
  • Got a response back from JetBrains. They basically said ‘don’t load large files’. Idiots.
  • Got three.js from Git. Works fine. Yay!
  • Need to drill down into the way that translations and rotations are handled.

Phil 4.2.14

8:00 – 4:00

  • FinancialAssistant and VisibilityScriptingServer both disappeared from the server. No idea why. Maybe tied to the war file?
  • FMP popup is working in RA but not FA
  • Regex fix worked
  • Working on WebGL up and Running, but the example code crashed WebStorm. It really is that kind of day. Finally found the problem: a 14MB javascript model file. WTF?
  • Three.js is looking very nice…
  • And there is a typescript descriptor file: https://github.com/borisyankov/DefinitelyTyped/blob/master/threejs/three.d.ts

Dong Shin 04.01.2014

  • Oracle doubles the speed of MySQL query handling – found this while reading about MariaDB, upgrade soon?
  • need to run 6 queries to update Obligations/Outlays data when claim/un-claim happens…
    • update obligations (4), update outlays (5), update outlays for second year (6), update months in year 1 to 100% (101), update month 1 year 2 to 100% from month 12 year 1 (200), update months in year 2 to 100% (201)
  • worked off most of the Action Items from 3/25/2014
    • All fields with $ should accept negative values – CurrencyTextInput
    • get a list of budget values for FY13 and FY14 charts
    • create a query for Planned Obligated vs. FACTS
    • Outlay $ Reported row should not be editable
    • invoice dialog box should not show if the line item is not a MIPR or EAO
    • total budget in slides should be project total, not requistiion total
    • Req Data Analysis should show Req Allocated, Req Funded (Committed)

Phil 4.1.14

8:00 – SR

  • Nice, symmetric data today.
  • Took my comprehensive exam again. Felt much better about it. We’ll know in a month, I guess.
  • Backups.
  • Need to retire some certs. And push Lenny on his training.
  • Found the problem with the big vis query – the cell values are being single quoted, but one of thi strings contains a single quote : ‘Carla’ Demo’. So it looks like we need to strengthen the way that data is written out. Added a regex pattern that’s defined on DbTable instantiation : ^[a-zA-Z0-9 ]+
  • JavaScript/WebGL
  • Worked through my issues with my alpha “fogged” cube. A debugger would be very helpful. It looks like there is one here: http://www.gremedy.com/download.php Need to check that out. But in the meantime, here’s the better result that still doesn’t work in IE (WebGL error INVALID_ENUM in drawElements(Triangles, 36, UNSIGNED_BYTE, 0)).
  • WebGL typescript definition file, automatically generated: https://github.com/RicoP/webgl.d.ts/blob/master/README.md.
  • OBJViewer has code to read a Blender file and draw it. Nicely, this doesn’t freak out IE. The buffers must be better put together.
  • Finished the book. It looks like three.js is a wrapper that has some legs. And it will run on IE if you’re careful. Ordered the book.

Dong Shin 03.31.2014

  • deployed database updates for the big data table…. lot quicker than existing query!
    • add FMP’s and invoices?
    • tried to ingest to Visibility, but too may long fields to try….
    • added more fields to format as Currency
  • changed the colors of the chart items in Req Data Analysis panel to match the briefing charts
  • working on queries to update data when claim/un-claim happens in Project Editor

Phil 3.28.14

8:00 – 4:00 SR

  • Did not see snow today.
  • Backups.
  • Showed Tangie a screenshot of the roles page – some people want more access?
  • JavaScript
  • Chapter 8 and 9. Starting on 10.
    • The HUD example should probably serve as the basis for the framework. It’s got picking, and 2D overlay. No lighting or reflection maps though. It’s a good start though. Will need to have a shape manager and then shapes. Also dprint.
  • wow: http://glsl.heroku.com/

Dong Shin 03.28.2014

  • reworking Req Data Analysis using the new view – __view_project_detailed_data
    • done… lot faster than before!
    • committed amounts not cumulative, working on it. fixed! using functions….
  • created few support functions in mysql
    • get_cumulative_committed_amount(budget_center_id, year_count, month_number)
    • get_fiscal_month (Date)
    • get_fiscal_year (Date)
  • using MySQL Workbench instead of phpMyAdmin – more robust and convenient!

Dong Shin 03.27.2014

  • working on generating big data table for FA. __view_project_detailed_data
    • created sub views to work-around nested SELECT limitation in view
      • __view_yearly_totals_by_project, __view_financial_analysts_by_project, __view_portfolio_mgrs_by_project, __view_total_committed_amount_by_budget_center, __view_service_pocs_by_budget_center
    • remember not t use nested SELECTs in views!!!!
    • adding monthly committed amounts take too long to process….. 3 sec compared to 1 sec…
    • *THIS* is the join that produces a year data per row that has all obligations, outlays, and goals!
      • SELECT SUM(IF(oo.type LIKE ‘%Planned%Oblig%’,1,0)) AS planned_obligated_count,
        SUM(IF(oo.type LIKE ‘%Reported%Oblig%’,1,0)) AS reported_outlay_count,
        SUM(IF(oo.type LIKE ‘%Planned%Outlay%’,1,0)) AS planned_outlay_count,
        SUM(IF(oo.type LIKE ‘%Reported%Outlay%’,1,0)) AS reported_outlay_count,
        SUM(IF(oo.type LIKE ‘%PM%Actuals%’,1,0)) AS pm_actuals_count,
        SUM(IF(oo.type LIKE ‘%Outlay%FACTS%’,1,0)) AS outlay_facts_count,
        p.*, bc.*
        FROM projects p
        LEFT JOIN budget_centers bc ON bc.project_id = p.uid
        LEFT JOIN obligations_outlays oo ON oo.funding_id = bc.uid
        LEFT JOIN obligations_outlays_goals oog ON oog.appropriation = p.appropriation AND oog.year = oo.year_count
        LEFT JOIN committed_amounts ca ON ca.budget_center_id = bc.uid AND (bc.fiscal_year – YEAR(ca.committed_date) + 1) = oo.year_count
        LEFT JOIN __view_yearly_totals_by_project AS yt ON yt.project_id = p.uid
        LEFT JOIN __view_financial_analysts_by_project AS fa ON fa.project_id = p.uid
        LEFT JOIN __view_portfolio_mgrs_by_project pm ON pm.project_id = p.uid
        LEFT JOIN __view_service_pocs_by_budget_center AS spbc ON spbc.budget_center_id = bc.uid
        LEFT JOIN __view_total_committed_amount_by_budget_center ca_totals ON ca_totals.budget_center_id = bc.uid
        GROUP BY oo.funding_id, oo.year_count