Category Archives: NextGen experimentation

Phil 8.4.14

8:00 – 2:30 SR

  • Add non-admin viewing logic to server code – done
  • Add ability to select requests by status (incomplete, submitted, rejected accepted) to req panel, then clear and re-run the query
  • Add submit functionality.
  • Set status to green when NA is selected.
  • Get the latest YUI-base for deployment and test – done
  • Make sure that the DB creation files are correct. – done
  • Make sure that the original user’s information is being saved when updated by Admin – done
  • Check https functionality.
  • Zip up and try deploying!
  • Fixed some bugs in the assembling of the queries. Also had to add a regex

Phil 7.31.14

8:00 – 5:00

  • Deployed new FA, RA
  • DB Backups.
  • Changed the query in the truancy report because SUM(0, null) != 0 + null in MySQL
  • Got the query built to construct a single response from the master/date/number/text tables :
    • select fpt.gid, fpt.panel_name, fpt.field_name, ftt.value from fr_panel_table fpt right
      join fr_text_table ftt on fpt.uid = ftt.uid where login = ‘projportfolio’ and panel_name =
      ‘fundingRequestsPanel’
      union
      select fpt.gid, fpt.panel_name, fpt.field_name, ftt.value from fr_panel_table fpt right
      join fr_number_table ftt on fpt.uid = ftt.uid where login = ‘projportfolio’ and panel_name
      = ‘fundingRequestsPanel’
      union
      select fpt.gid, fpt.panel_name, fpt.field_name, ftt.value from fr_panel_table fpt right
      join fr_date_table ftt on fpt.uid = ftt.uid where login = ‘projportfolio’ and panel_name =
      ‘fundingRequestsPanel’;
  • Getting the fundingRequestTable back with the login info
  • For tomorrow
    • Populate funding request panel
    • Populate other panels on load
    • Submit changes status and just saves, I think
    • Change the YUI library to point at a local copy
    • Zip and deploy???

 

Phil 7.29.14

8:00 – 5:00 SR

  • DB Backups
  • Wound up having to write a class that allows for the traversal of a JSON object, which I was not expecting and added a day to the effort. It’s based on the code up at json.org. Finished with the basics, and can recursively navigate and return key/value pairs or an array of Objects that match a given key. Tomorrow we’ll need to add capability (either to the JsonNav class or to the servlet that will write rows into the db.

Phil 7.10.14

8:00 – 5:00SR

  • DB Backups
  • Deployed new FA
  • Tried a thing or two to speed up the DB. No joy.
  • Tested the new JS on IE8. Seems to work fine. Need to
    • Set the max number of rows that can be added (-1 = infinite?)
    • Set the minimum required rows (default = 1)
    • Get rid of the submit button. Done
    • Add ‘submit’ and ‘save’ to the form.
    • Color code buttons (Red-untouched, Yellow-touched no rows, Green-minimum required rows
    • Added logic to prevent multiple panels at the same time.
    • Added total line if there for numeric values in a table
    • Adding forms.
    • Same old link: http://philfeldman.com/PanelModuleTest.html

Phil 7.9.14

8:00 – 4:00, 6:00 – 9:00SR

  • DB Backups
  • Deploy new FA
  • JavaScript
    • Tested with IE 8, and the CSS didn’t load correctly (wrong width textarea), and update didn’t work. Started the debugger, reloaded the page, and everything worked fine. Quit IE, restarted and reloaded and it still worked fine. After looking at the page a bit, I think the new stylesheets didn’t load.
    • Delete followed by update seems to be causing problems. The e.overwritten array has no elements. Need to test more. And now it works. Not sure what’s going on. Need to test more.
  • Cell height and label color are getting messed up in FA.
  • Today’s link: http://philfeldman.com/PanelModuleTest.html
  • Meeting with John Douglass (Google) on how to move projects along.

Phil 7.8.14

8:00 – 5:00 SR

  • DB Backups
  • Deployed new FA
  • Tested new JS code, seems to be working.
  • Added delete, which worked right the first time.
  • Added comboboxes, which worked the first time. The Apocalypse must be here.
  • Starting to add in all the sections. The Y.one() is returning the first table created, so the __id field is going to need more info.

Phil 7.7.14

8:00 – 12:00 SR

  • DB Backups
  • Leaving early for parent/doctor stuff
  • JavaScript
    • IE8 does not support Object.keys(). Here’s the fix: http://stackoverflow.com/questions/18912932/object-keys-not-working-in-internet-explorer
    • Added the monkeypatch in and chased down the other bugs in the select/update code. I do want to redo this based only on <div>s and <input>s
    • Starting on the main form.
    • Here’s how you do a dropdown in a form. Need to add that to the config:
    • <form action=””>
      <select name=”cars”>
      <option value=”volvo”>Volvo</option>
      <option value=”saab”>Saab</option>
      <option value=”fiat”>Fiat</option>
      <option value=”audi”>Audi</option>
      </select>
      <br/>
      First name: <input type=”text” name=”firstname”><br>
      Last name: <input type=”text” name=”lastname”>
      </form>
    • Today’s work.

Phil 7.3.14

8:00 – 4:00 SR

  • The JS fix seems to work, though there seems to be a funky modal event that is keeping the module from working correctly.
  • Continue to modularize
  • I think I’d like to get the config items in the configArray to be easily converted to input tags.
  • Added an ‘edit’ button, but I think I’m going to change it to a ‘selected’ radiobox and then have an updated/delete selected button. Done. Working on adding in the needed actions.
    • Close. Updating seems to destroy something… http://philfeldman.com/PanelModuleTest.html
  • Database backups
  • Switch reports to June
  • Visualization components from dashboard
    • Direct annotation, with some drawing (braces, callouts, etc)
    • Horizontal and vertical bar charts
      • by value
      • by percentage
      • adjacent and stacked
    • Dials (Red/Yellow/Green and Red/Green)
    • Line charts
    • combination (adjacent bar plus line)
    • Scatter against colored BG (Green/Yellow/Red)
    • Automatically updated text.
    • Titles

Phil 7.2.14

8:00 – 5:30 SR

  • The test page doesn’t seem to be working with IE8. The yui-sam stylesheet isn’t loading, and the popup won’t show. The error says “Expected identifier, string or number” – configArray.push({name: ‘name’, type:’text’, default:’unset’}); It could be that ‘default’ is causing the problem since it’s a reserved word.
  • Yay! https://www.modern.ie/en-us/virtualization-tools#downloads
    • And that worked just fine. Tested the fix (replacing ‘default’ with ‘initialVal’) and all is well again!
  • Creating the PanelModule – wierd bugs, but here’s the initial version: http://philfeldman.com/PanelModuleTest.html

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 6.27.14

8:00 – 4:300 SR

  • DB Backups
  • Status Reports!
  • Starting Funding Request Form. I’m currently thinking that a YUI recordset might be a good way to do this. Got the recordset demo working fine, but the implementation is basic HTML table manipulation. Now, that’s not necessarily a bad thing – it just means that there needs to be a module written to handle that. I’m not sure that it’s a big win over DataTable, which is part of the forms example.

Phil 6.26.14

8:00 – 5:00 SR

  • Backups
  • Poked at the slow server problem. Profiles indicate that the reading/writing of temp files is slow…
  • Cool thing for the day: http://esprima.org/index.html
  • First draft of the cluster analysis tool is done. Need to add user-supplied similarity function, some graphics options (more shiny – less shiny slider?), and change the output to have a csv compatible output

Phil 6.25.14

8:00 – 5:00 SR

  • DB Backups
  • Discussion with Lenny about new form. Details are not worked out yet.
  • Adding more user interaction to the SimDist test, since I’ll need that for the form.
  • Working on reading in a text file pasted into the browser. Done!
  • Current version: http://philfeldman.com/WebGLSimDistTest.html

Phil 6.24.14

8:00 – 5:00 SR

  • DB backups
  • Tried the test program and the server seems fine. I think the next step is to deploy a new MySQL on the integration server and evaluate. If that works, then we’ll put it on the production server.
  • Discussions with Lenny about the new app. Here’s (a) way to generate word documents: https://github.com/leonardoanalista/java2word
  • SimilarityDistanceWidget.
  • Got all the calculations done and working. There is a strange positional artifact that seems to whant to put the items in a plane. Javascript math?
  • Today’s progress: http://philfeldman.com/WebGLSimDistTest.html