Category Archives: Flex Client

Phil 4.12.13

8:00 – 3:30 SR

  • Tried out FA and version tracker. VT is not creating tables, but we don’t know why. Need to add some tracking.
  • Found out that the backup of visibility_scripting.sql was corrupted because the packet size was too small. Wound up using the –max_allowed_packet=512M argument as shown here.

Phil 4.11.13

8:00 – 3:00 SR

  • Backups
  • There seems to be a problem with PA: “February in VizTool is showing ‘overdue’ If everyone input their data for Feb shouldn’t it be March that’s overdue?” – Heidi. Lenny also had the same problem. I’ll bring a printout of the entire email.
  • Make AS3 version tracker
  • Start on script(?) to convert months for slide show. I’m guessing python. But since we’re adding server side code this time anyway, we might want to add a way for the scripting system to insert a ‘visibility_dev2″ table to bypass the ingestor. This means managing roles, users and ingest(?) tables.

Phil 4.10.13

8:00 – 4:00 – SR

  • Sleepy – went to see Marc Broussard last night. Got to sleep after midnight and up at 5:45. Ow.
  • Backups.
  • Start moving VersionChecker to a component. Done. Added it to FGMFlexUtils45
  • Next, let’s add this to EdgeUtils.
  • Dong has incorporated VersionChecker into PA, and we have a disk full of installs for tomorrow.

Phil 4.9.13

7:30 – 4:30 SR

  • Imported new FA
  • VizTool Review (More notes in Req’s & Bugs & Stuff)
  • And now I can’t put my bike in the basement hallway. Gonna try the gym, which I thought would cause complaints. People don’t seem to like bicycles here.
  • Got the logic working on the test and updates. Now I just need to package and make versions for 3.x and 4.5+

Phil 4.8.13

8:00 – 4:30 SR

  • Someone stole my last few teabags! Trader Joe’s today…
  • Backups – done
  • Prep for review tomorrow
    • Get demo-able version of VersionTracker
    • Status report
    • Burn Dong’s system for deployment on integration server
  • Spent the entire morning trying to get the DbObjectTestbed server running in Eclipse. It was working just fine when I turned off the machines for the weekend.
    • Committed my code changes and reloaded the project – nothing
    • Did notice that the properties might be corrupted. I could not edit some of the properties tabs.
    • Added JavaUtils as a project that DbObjectTestbed depended on. That forced a rebuild, which placed the .class files I needed in the Tomcat directory.
    • Rebuilt and deployed the VersionTrackerTest Flex project, and after a hiccup (I’m assuming the server was still coming up), everything is now working. Well, sort of. I have to stop the server, rebuild the Java code then restart the server for the classes to get updated in the webapps directory.
  • Working on getting a very finicky Date.parse() to work properly so that the milliseconds since the code was compiled to assemble properly.

Phil 4.5.13

8:00 – 4:00 SR

Phil 4.4.13

7:30 – 3:00 SR

  • Thought there was a meeting today, but nope.
  • Deployed the new vis2.swf, which seems to be working fine.
  • Approved Chris so that he can see the SSP. Funny.
  • Looks like these are the guys -http://www.vsi-corp.com/

Phil 4.3.13

8:00 – 4:00 SR

  • Got all the certs incorporated. I should be able to switch over at any time. Might try that on Friday.
  • Helped Chris with his accounts. He needs to change his passwords and attempt to log on to the test and integration servers.
  • Work on the xmlparsers today?
    • There are two problems, one with the hash, and one with components that can be turned on and off
    • If the items in the xml are not in the same order, then the hash will differ, which is bad.
    • The different lengths of xml are due to the the fact that the initial xml is not created by interrogating the display item.
    • Dong suggests the solution is to make the id from only the displayName and yField. That won’t guarantee uniqueness, but it’s close. I could add a validator that checks for a unique displayName too.
    • Yay, that seems to have done the trick. For now. Checking in and burning a new disk for tomorrow.
  • Did you know that JSON has functions? Check this out: http://www.jayway.com/2013/04/01/three-undocumented-features-of-json-3/

Phil 4.2.13

8:00 – 4:00 SR?

  • Spent a long time working through keystore and renewing the sever certs. And then I was informed that server certs could not be renewed, contradicting the email and website instructions that say that they can be renewed. Sigh. More tomorrow.
  • Got the FlexiChart bug fixed. I wound up adding a Hash class to Utils, and calculated a hash based on the string (with id set to -1). An RSHash is then computed based on the XML string and that result is used to set the Id. That ID hangs around long enough to be useful, although it does get recalculated when the values change, so it’s not a permanent ID.
  • Need to add fix from ColumnSeriesConverter to all the other converters.
    • Which also meant adding seriesConfigChanged(seriesConfig) to all the xxxConfig classes and handling that in SeriesConfig.
    • Which also meant handling the initial creation of the id hash in SeriesConfig.addSeries_clickHandler(event:MouseEvent)
    • The initial creation and updates work, but there is a point that the hashes get out of sync. Making the addSeries perform the hash seemed to move the hash downstream one step.
    • Hmmm. Looks like we have a new bug. With an area chart, the item is initially created as
      • <series id=”2387166208″ seriesType=”AreaSeries” displayName=”New Series” form=”segment” fillColor=”0″ fillAlpha=”0.4″ strokeEnabled=”false” strokeColor=”0″ strokeWeight=”3″ strokeAlpha=”1″ yField=”Totals”/>
    • but when “Apply” is clicked, it changes to
      • <series id=”1515104256″ displayName=”New Series” seriesType=”AreaSeries” yField=”Totals” form=”segment” fillColor=”0″ fillAlpha=”0.3″ strokeEnabled=”false”/>
    • Which, naturally enough, leads to a different hash.
    • However, once this makes a “round trip(?)” to TrendWidget, it takes the shorter form and everything works.
  • Need to clean up a lot of debugging statements…

Phil 3.28.13

8:00 – 4:00

  • Viztool meeting? Waiting for Dong’s paperwork
  • Notes from meeting:
    •  Calculate the BASE (“xxBxxx”) and OCO (“xxJxxx”) using the 3rd letter of the program element. Should be no need to have a button.
    • Program Element -> FACTSPE
    • Center Name -> Budget Center Name
    • Center Number -> Budget Center Number
    • Sub Budget Center Name
    • Sub Budget Center Number
    • Total Budget -> MIPR Amount
    • Make the total “Project Budget” grid so that 10 rows will fit in a 1280 x 1024 display
    • Add validator so that Req Number can have only numbers. No characters, or special characters
    • Remove “Contract” from Clamed and Unclaimed
    • Unclaimed:
      • Change “filter” to “Column Preferences” have all possible columns from Cognos selectable, and reorderable. Of particular importance is Req. Number, which should be a default.
      • “filter” should be search
    • Claimed:
      • Change “filter” to “Column Preferences” have all possible columns from Cognos selectable, and reorderable. Of particular importance is
      • “filter” should be search
    • Project Info:
      • Change “filter” to “Column Preferences” have all possible columns from the project data selectable, and reorderable.
      • “filter” should be search
      • Total Budget -> Req Amount
      • FYXX -> FYXX Req Amount
  • Printed out and signed InfoTek’s NDA for Dong and myself. Handed them to Athena.
  • More bug hunting. I had to restore from the repository last night after managing to break the event connection where a series is selected. Managed to keep the “configSeriesChanged” change to SeriesSubConfig and SeriesConfigEvent. I also changed the “Apply” and “Done” events sot that they call methods rather than launching the events directly. This should allow some space to reassemble the xml if I can’t manage to do it anywhere else.
  • Should we be switching over to MariaDB? It’s the open-source successor to MySQL, run by the original developer (and team). Here’s why.

Phil 3.22.13

8:00 – 4:30 ESSO

  • Asked Chris to renew my access
  • Created 6 month versions of the queries
  • Realized that the trend charts are based on time-specific selections, and that they won’t work with the 6-month rolling window. We are going to have to write a script that updates the dashboard xml to have the correct columns selected
  • Lenny’s chart broke, when pointing back at the 24 month data. To diagnose, we loaded local log and ran again. Something happens after the headers are read in in GenericQueryWidget
  • The values for the config are being changed back at some point. They are ok in ColumnSeriesConfig.commitProperties, but by the time the code hits TrendWidget._flexiChartConfig_configApplyHandler(event:FlexiChartEvent):void, the values are wrong.
  • Burned a new disk for the dateFormatter bug.

Phil 3.21.13

8:00 – 4:00 ESSO

  • Flurries this morning. This is soo wrong.
  • Started a ticket for renewing certs for the integration and production servers.
  • Tested out the 6 month data , which everyone liked.
  • The “save” event for a slide doesn’t seem to be happening after the first save. Need to fix that
  • Set the horizontal axis item renderer to show (selectable month/day?) data in timeline views
  • Spent some time going over the mechanism for passing variables to a SQL query inside VSS
    • Add a column for the variables in the query table. This replaces the variables flag, and will store the variables as key/value pairs in XML. Note that this will always be <String>:<String>. Each query is allowed only one variable object.
    • The python script is able to use new facade methods to write the variables into the slot.
      • varClear() // clears the HashMap
      • varSet(key:String, val:String); // sets a key value pair
      • set(queryName:String); // finds the appropriate query in the query table.
    • The variable object must be set() before the sql is called.
    • When editing the SQL in the SQL editor, the “raw” query with the substitution tags is shown if the “variables” checkbox is FALSE. The state of the “submit” button tracks the variables checkbox. If the checkbox is TRUE, then the macro substition is run that the query can be submitted.
    • When running a scheduled query, there needs to be logic to perform macro substitution if the variable field is NOT NULL
    • Also, the list of facade methods needs to be made current.

2:00 – 2:30 Talked with Jeremy Fremin about R&D opportunities in Novetta

Phil 3.20.13

8:00 – 4:00 ESSO

  • First day of Spring! Brrr!
  • Meeting with Chris B. Lenny, Carla and Thom. Next meeting is on Thursday 28th. We should try to have some version of the new PM deployed for evaluation
  • Need to change the scripts for FY12 and FY13 to show only 6 months of history. Possible change to have only bar charts. Still a desire to have something in the horizontal axis that’s legible. Possibly just text.
  • Got the server up and running in eclipse. Most of the remaining problems involved getting jar files to pass through to the final application. In the end, jars used by JavaUtils had to be copied to the test program and exported.
  • Got the Flex code to connect with the debug java server and stepped through things. Found that the classloader was working fine, although it was important to actually copy over the properties files and stick them in the WEB-INF/classes directory in the Juno(Java) project. The classes from all the other sources were merged correctly. Yay.
  • Tomorrow, we create the Flex version component.