Monthly Archives: April 2013

Dong Shin 04.30.2013

  • continue working on FA
    • fixed query errors caused by deleting budget_amounts table
    • Contracts DG columns preferences saved to user preferences and loads on login

Phil 4.30.13

8:00 – 4:30 SR

  • Copied over the new xampp, but the data files didn’t track. It lloks like I need to set the root and user passwords, then restore from backups. There may be a way to do that in one fell swoop, so I’m going to research that a bit. Put the old version back up.
  • Got the code written in the junit code that should set up a test db for visibility_dev2 and visibility_scripting. Need to verify that it works and then start building up the tests.
  • It didn’t work, but I imported and modified Dong’s ScriptRunner. That works just fine.
  • Got completely derailed playing with LightTable (setup?). It is very cool, with the capability to run Java directly where it clojure can’t do the job :
    user=> (javax.swing.JOptionPane/showMessageDialog nil "Hello World")

    It also will act as a server to a web page by loading the following script:

Phil 4.29.13

8:00 – 12:00 OH

  • Class

12:00 – 4:00 SR

  • Test cases for ScriptFacades
  • Updating Java first.
  • I think I want to make the test cases create a “test” database and populate it in the setup, then destroy it at the end of the test. The .sql file can be in the assets. This does mean that the database access methods (_dbHelper? Others? have to know about this DB).

Dong Shin 04.29.2013

  • debugging Tomcat webapps via Eclipse
  • continue working on FA
    • cleaning up and consolidating database
      • DELETE FROM budget_centers WHERE project_id NOT IN (SELECT uid FROM projects)
      • DELETE FROM budget_amounts WHERE budget_center_id NOT IN (SELECT uid FROM budget_centers)
      • update budget_centers table with budget_amounts data
        • UPDATE budget_centers c1
          INNER JOIN (
          SELECT a.budget_center_id as budget_center_id, begin_year + a.year – 1 AS fiscal_year_new, a.amount AS total_budget_new
          FROM projects p, budget_centers c, budget_amounts a
          WHERE a.amount <> 0
          AND p.uid = c.project_id
          AND c.uid = a.budget_center_id) T ON c1.uid = t.budget_center_id
          SET fiscal_year = t.fiscal_year_new, total_budget = total_budget_new
      • DROP TABLE budget_amounts
      • DELETE o.* FROM `obligations_outlays` o INNER JOIN budget_centers c

        ON o.funding_id = c.uid AND o.year <> c.fiscal_year;

Dong Shin 04.26.2013

  • continue working on FA
    • changed SOW to MIPR Description
    • reworked Totals Data Grid to calculate totals correctly using ArrayCollection chagen event handler
    • working on saving column preferences
      • added new column to users table
        • ALTER TABLE `users` ADD `column_preferences` TEXT NULL

Phil 4.26.13

8:00- 3:00 SR

  • And I would’ve started at 7:30, but traffic was terrible. Two lanes of 95 shut down. Possibly both sides? 
  • Backups
  • Updated Java. Still waiting on MySQL
  • Adding comments to ScriptFacades.
  • A “standard list of metasyntactic variables used in syntax examples” often used in the United States is: foo, bar, baz, qux, quux, corge, grault, garply, waldo, fred, plugh, xyzzy, thud. The word foo occurs in over 330 RFCs and bar occurs in over 290. WibblewobblewubbleFred and flob are often used in the UK  (wikipedia)
  • Done commenting and adding to method list. Testing in Eclipse after lunch.

Phil 4.25.13

7:30 – 3:30 SR

  • Backups
  • Add a “create” button to FA that makes a subproject by copying over all the project information (with “sub_n”) appended to the name/id
  • Change the SOW column to say “MIPR Description”
  • Add “calculate” button for project budget overview so we don’t have to trap lots of editing events
  • Finished and tested the following:
    • getDashTemplateXml()
    • setDashTemplateXml()

Dong Shin 04.24.2013

  • deployed new FA – few bugs
    • no columns showing in Filter Columns windows – fixed
    • uploaded info is too long – set as the tooltip on the Upload Data button
    • color the Upload Data button, not the text – done

Phil 4.24.13

8:00 – 4:00 – SR

  • backups
  • Installed new version of FA
  • table_dash_templates
    • name
    • xml_layout_template
    • xml_variables – gives something to iterate over
  • Nearly done. Finish tomorrow, though I have to build test classes.
  • New version of FA to bring in.

Dong Shin 04.23.2013

  • continue working on FA
    • added Totals to Total Project Budget
    • tried to use built-in GroupingCollection, but not very suitable
    • burned a CD for deployment tomorrow