Category Archives: Flex Client

Phil 6.30.2014

8:00 – 3:00

  • Attempted to deploy new FA, but got a blank white screen. The player is 11.5.502.110. Weird.
  • Formbuilder.
  • Took a quick look at Polymer, which looks cool and is along the lines of what I’m wanting to build, but it appears alpha and broken-y.
  • While looking through my code example I’m prototyping, I noticed that the code was using a Y.Lang.sub() call where it appeared that an object containing values:
    • {ANSI: “55000”, STATE: “WISCONSIN”, TOTAL_POP: 5654774, LAND_AREA: 54310.1, POP_PER_SQ_MILE: 98.8}
    • was being inserted using the following format as a way of building table rows.
    • TEMPLATE_TR = ‘<tr id=”row_{ANSI}”><td>{STATE}</td><td>{TOTAL_POP}</td><td>{LAND_AREA}</td></tr>’;
    • So yay. Lots of other good stuf, including type checking. So pay more attention to this one! (http://yuilibrary.com/yui/docs/api/classes/Lang.html)
    • Also, this means that dynamic forms and tables can be built, with strings and types fed in in the configuration argument
  • Here’s how the panel will animate: https://yuilibrary.com/yui/docs/panel/panel-animate.html
  • Starting to combine the panel and the table/recordset. It’s going pretty smoothly. I’m still using the data array, but I’ll move to more form-based data tomorrow or wednesday. Nicely, the height of the panel resizes based on what’s in it.  And I should be able to use the same module for the login form.

Phil 3.20.14

8:00 – 4:00 SR

  • Backups
  • fixed __view_monthly_committed. It was not summing for year 2
  • Put together 2013 charts
  • Generate separate financial data for fake cognos data to test chart queries. Nearly done. Need to walk through with Dong and verify that all the needed columns are present.

Phil 11.18.13

8:00 – 4:00 SR

  • This has been the craziest two weeks ever:
    • Dad has heart attack while I’m leaving for a conference
    • Conference, plus the most delayed flight I’ve ever been on, arriving at 1:30 am…
    • Comprehensive exam and portfolio
    • Final paper for 760 – 6 pages in 3 days
    • And, wait for it – I get hit by a car while out riding on Saturday.
    • Looking forward to a nice, slow week.
  • Backups
  • Fake Cognos

Phil 10.16.13

8:00 – 4:00 SR

  • Obligation and Commitments from FACTS are cumulative. Actuals are non-cumulative. Remove all the calculations summing up obligations and commitments by monthly and store monthly values from Cognos.
  • IE7 works with YUI!
  • Need to add search to “View Financial Data”. Rather than showing all the subelements, clicking on a row in Requisition Information (top grid) will show the associated detailed financial view. We should also add a search to Req Info.   The summary always shows.
  • Create historical record Cognos data table. We can use scripts later to integrate data into our reports…
  • Finished chapter 2, starting on chapter 3. Also got timers working from the gallery. One search, one bug, one additional search.

Phil 10.15.13

Phil 8:00 – 3:30  SR

  • The dialog for versions has a broken “dismiss” button.
  • Unlock project is unlocking multiple projects locked by the same user(?)
  • Trying out YUI on the integration server…. Success! Take that, IE7! Ok, maybe not. Just realized that I only ran the testes using the browser that’s on the server, which is FF. Need to try running on a client box with IE tomorrow. The most important example to run will probably be add_capability.html.
  • Working my way through the YUI cookbook. In the element_classes example (Recipe 2.2), there is a call to Y.log(). It turns out that there is support for a logger window. I found this by Googling “yui Y.log” The top result was http://yuilibrary.com/yui/docs/console/.  Which was pretty much what I needed. Using the documentation as a guide, I was able to integrate it, including giving it a global scope.  And then, after a few more minutes, I was able to add draggable behavior by adding “dd-plugin” to the YUI().use() arguments and them to the Y.Console.plug() arguments. For future reference, here’s the total code required for the console, with three lines of test code (bracket the code with <body class = “yui3-skin-sam”>):
YUI().use('console', 'overlay', "console-filters", "dd-plugin", function (Y) {
    // Console has no required configuration
    // In fact, you often don't even need to store the instance
    var cons = new Y.Console({ logSource: Y.Global })
            .plug(Y.Plugin.Drag, { handles: ['.yui3-console-hd'] })
            .plug(Y.Plugin.ConsoleFilters);
    cons.render();
    Y.log("Console info message", "info", "element_classes");
    Y.log("Console warn message", "warn", "element_classes");
    Y.log("Console error message", "error", "element_classes");
});
  • Skedaddled a bit early to get in some good weather

Phil 9.27.13

8:00 – 11:30 SR

  • Parent projects can only be created if there are no REQ’s. If there are, pop up a dialog that says REQ’s must be eliminated. A parent project has no visible REQ tab.
  • Add table_combobox_defaults with 3 columns 1) Editable, 2) Default value, 3) Table name
  • Unresolved discussion about REQ tracking discussion with Lenny.
  • Timesheets.

11:30 – FP

  • More paper

Phil 9.25.13

8:00 – 1:00 SR

  • Backups
  • Got my permissions straightened out in Xacta!
  • Deploying new FA with DB changes today
  • Tangie needs status reports by next Tuesday
  • Create an “table_errors” table that has the application, user, date, time, query and error message, and take out the “Mail to Admin note”
  • Project Budget info has scroll bars. It needs tooltips instead
  • Budget info needs to be cumulative – i.e. add the current month to the previous month inside the Cognos script;

Phil 0.24.13

8:00 – 11:00 SR

  • Big wreck on 95 this morning meant back roads coming in. Actually very pleasant commute 🙂
  • Backups
  • Continuing my server paperwork saga.
  • Subprojects are back!
    • Add “SubProject” to project information titlebar
    • Copy info from parent (Project Budget info, etc)
    • It might be possible to calculate some budget components. Not sure if needed.

11:00 – FP

  • Got dispensation to drop the headset paper. Working on the Phantom paper.

Phil 9.16.13

8:00 – 11:00 SR

  • Deployed new VSS
  • Had to change “committed” to “expensed” in Dong’s Python and SQL scripts.
  • Add a “Hide” marker to the unclaimed section
  • Add “100%” to Cognos Data Management panel

11:00 – 4:00 Leave

  • waiting for Verizon to fix my TV/Phone/Internet

Phil 9.12.13

8:00 – 11:30 SR

  • Backups
  • Deployed new RA
    • Need to add a dialog that shows the amount of time estimated for the query (average? Min/max?)
    • Need to be able to get budgets with respect to Capability, Reqs or Projects depending on the context
    • Need to be able to click on a query result line and go to the project. If multiple projects fit the criteria, all are listed in a dialog and the desired can be selected from that
    • Add tooltip to save/load query datagrid
    • Queries by individual capability – underfunded
    • Queries by individual appropriation – underfunded
    • Add the name of the query to the QueryBuilder titlebar
    • Incorrect total for committed. May be from COGNOS
    • Add a Requisition Amount column
    • Adding a column (Appropriation?) breaks the query
    • Incorrect Obligation Outlay goal (Runs on the budget center total rather than the Req total)

11:30 – 6:00 FP

  • Started to run analysis on the Phantom and Headset results. The Phantom results are promising, but not significant. I need to get more data and/or figure out a way of pulling off confounding data.
  • The headset data is somewhat more straightforward, if not a little dull. It turns out that in the pilot study, the ability to determine location of voice or tone with a 4-speaker headset is not that accurate, and degrades pretty linearly as the number of source go up. Not exactly an earth-shattering result.
  • Need to get the spaces out from the csv output. THe space causes the Open Office Calc to read in the data as a string and not a number.
  • Need to cause the headset app and the Phantom app to exit after writing out the file. Restarting ensures that the recorded data will be clean. There was a bug where old data was being kept between sessions on the headset code that subsequently had to be filtered out by hand.
  • Ran Dimitri through the Phantom for his second pass. Looking at how he handled the system makes me thing that there is an “expert” level of training that most of the other test subjects haven’t attained. I wonder if that makes the results more clean? Need to examine further.

Phil 9.11.13

8:00 – 10:00 SR

  • Backups
  • One of Carla’s users thinks that they have found a bug in RA. They would also like an “Edit” button in addition to the “Remove” button
  • Pat is having some bugs with query builder where redundant information appears to be getting returned. She also ran into the missing where clause bug.
  • The “Create Req” panel needs tooltips and searchable comboboxes.

10:00 – 5:00 FP

  • gathering results

Phil 7.25.13

8:00 – 10:00 SR

  • Backups
  • Deploying new swfs

10:00 – 5:00 FP

  • Got the sensor resistance converted to voltage. A 1k ohm resistor seems to work best, since I want most of the sensitivity to be light pressure. Next, build a circuit with three channels that connects to the Phidgets voltage sensor. The only thing I’m wondering is if I’ll get the resolution with the voltage range I’m getting – Zero to about 2.5 volts. I’m estimating that I should get about 1500 – 3000 steps out of that, assuming -30v to +30v is resolved to a (unsigned?) 16-bit int.