Category Archives: Uncategorized

Mike 7.27.2010

Working on AutoComplete TextArea:

  • There doesn’t appear to be any open source (or even publicly visible closed source) text areas with an auto complete popup
  • There are at least 4 auto complete text input components that function a great deal like ComboBoxes
  • The best of which seems to be: http://web.me.com/hillelcoren/Site/Demo.html
  • I’ve started using this example to create a custom TextArea that will have similar behavior
  • I estimate this component will be around 1500 lines and take at least a week (433 lines so far)

After that’s done there are 2 parts left I can think of:

  • Figure out when to open the autocomplete popup (may depend on language).  For example, the Flex one opens after a period, colon, typing “override public function”, hitting ctrl-space, and probably other special occasions.
  • Figure out what to use as the dataprovider (auto complete insert options) which will definitely be language and possibly context specific

Keil 7.22.2010

  • Discovered an issue with Eclipse when running JRE 1.6u21.  It causes memory errors fairly quickly when using Eclipse for as little as a few minutes.  If anyone else sees this, roll back to 1.6u20.  I’ve noticed no problems at all since reverting to the prior version.
  • Working on becoming familiar with Flex

Phil 7.13.2010

7:30 – 4:00 VISIBILITY

  • 8:00 meeting with Trish. We are under 1 page of notes! Need to go over with Dong – done
  • Need to test and burn a new version of VISIBILITY with the fixes from yesterday in. I need to have enough time to install and fix the dashboards I made for the presentation yesterday – done
  • Added the ability to store and reload physics settings in a panel
  • Panels now open in the correct tab.
  • Meeting with Yonald Chery. Went well, I think. He’s going to look for funding.

Mike 7.13.2010

Things done recently:

  • Added new widget buttons to the GIS Map as well as the status list.  Both will attempt to create a new query widget for only items currently selected by matching on ALMOST all available fields.  Several fields must be left out because they are reserved or may change if the data is updated (uid, timestamp, etc.)
  • Fixed an issue on the status list where if ‘name’ was not an available column, no text would appear under each icon.  Now if name is not available, a column is picked at random and used until the user picks one themselves

Things to do:

  • Check on issues caused by Phil’s data sheet
  • Add the following to save / loading:
    • Make sure it opens to correct tab (data, unique count, map, status list, network map, etc.)
    • Record which column user selected for status name
    • Save Network Map force settings
  • Issue with blank rows in status list widget?
  • Automate default force levels on Network Map or at least add a threshold to prevent odd behavior

Mike 6.28.2010

  • Added labels to the StatusList item renderers on AdvancedQueryWidgets
  • Added the ability to change what field the labels were pulled from at run-time (not easy)
  • Added multiple selection to the StatusList
  • Selection changes made in the status list are now reflected in the data tab of AdvancedQueryWidgets
  • Added selection and multiple selection to the map component

Phil 6.25.2010

8:00 – 4:00 VISIBILITY

  • Discovered that running a script manually clears the autorun table. Need to fix that.
  • Meeting with Anne about potential work.
  • Meeting with Trish about PPM. Notes follow:
    • User registration (at login) needs all the new fields (email, address, etc). Also, fix scroll bars
    • Unable to add user from “register” screen. SqlException: Column count doesn’t match value count at row 1. I have a printout of the error
    • After playing with the above, and then loggin in as “projportfolio”, the “create project” panel did not come up when the menu selection was made.
    • Need to add a warning “Are you sure that you want to close this project without saving”
    • Funding Request
      • In “Add Funding” basic panel, make all the fields editable. The form may be sent to people who are not in the system
      • Closing and selecting dropdowns in the details view causes the panel to change back to the “basic” (Note: This happened on Trish’s machine, but not my FGM laptop)
      • Finance Data
        • Funding request should not close when saved
        • Can delete the Certify and Accept buttons.
        • Alert the user if the various amounts do not equal the “Funding Amount” from the “Funding Request Details” tab.
        • Acceptance date should be moved to after Document Number
        • Direct Cite can have multiple entries. Rewrite so that it more resembles the line item grid from Project Creation
        • Obligation amount is lost on the reload
    • Financial Data
      • Where are goals edited?
      • The maximize button has to be clicked twice to get the first maximize to work
      • “Obligation Goals” should be “Obligation Goal %”, also add % in data, just like other rows.
      • Add Contract info to financial data forms (not sure if this can be guessed at based on other project data entered or not. This data can then be shown in the “Manage Contract” grid.
        • Contractor/Vendor:
        • Contract Number / Amount:
        • Contract Type:
        • Period of Performance:
        • New or existing Contract:

FP notes:

Viz-n ssh

  • ssh connections to viz-n now require a public key.
  • The key file doesn’t work with cygwin but does work with Putty.
  • Using Putty type viz-n.com port 1033 and switch it to SSH in the session settings.
  • Under Connection->SSH->Auth add the private key file. (This can be found in the downloads folder on the ftp server)
  • Open it and log in as vizncom.
  • To restart the tomcat cd /appservers/apache-tomcat-6.0.26/bin and run ./shutdown.sh wait a few seconds and then run ./startup.sh
  • If tomcat crashes this should fix it.

Status Report

Its been a while since I posted to the Blog so I thought a current status report would be good.

A. Documentation:  One Tutorial down working on a second with more advanced techniques such as, query building and how to save questions.  Most of the text is done for this need to add pictures and links and add a section for slide shows.  I think I will need to make a third with how to prepare charts for ingesting.  This will include what special information is needed for table controlled roles, maps, and Plots.

B. ProjPortfolioMgr Installer:  Awaiting results from testing it on another machine.  If it works, versions will easily be made for the other things like visibility by changing which files are edited.

C. Launching Demos on Server: Still getting errors where it cannot connect to database.  I think all the information in the right places but I’ll have to double check.  Now that I made my installer able to make the war file without deploying, I can test to see if it will work for remote deployments like this one.  Because of the time consuming nature of having to wait for things to upload and sometimes the server slowing down to a crawl(has been better since first day), I have not been able to test too many things for remedying the problem.

D. Feldman Project: Assisting Phil make sense of my code while he builds a better foundation for the system.  Assembling new improved sensor sticks.

Mike 5.19.2010

Hey, I can connect to the blog again!

  • Added a warning screen for missing dashboards in slideshows when the owner deletes it
  • Added a red highlight color to dashboards that are missing in the create/edit slideshow screen
  • Added a run-once updateDatabase() method which adds the two new tables, runs at the initial startup of the webapp much like the log4j init, does nothing once tables exist
  • Rolled back my database the the dump Phil gave me and ran my “final” version as a test, updated the database and ran fine
  • After too much effort, committed everything* to svn using TortoiseSVN:
    • Visibility3 (Java)
    • ManagementUtils
    • EdgeUtils
    • Vis2

*I think I committed everything I changed but trying to commit in eclipse with subversive corrupted my svn files so we shall see

Mike 5.18.2010

  • It works! The load isn’t bad (couple seconds on my machine with local database for 3 small slides) and the slide transitions are instant.  I can also easily add animated transitions from this point.
  • Need to add a little more error handling and clean up some of the menus before checking it in.

Mike 5.17.2010

  • Finished up the slideshow create screen and some error checks for when a dashboard has been deleted but still exists in a slideshow
  • Started on the slideshow controls and a slideshow canvas.  The controls fit nicely by the logo near the top.  For running a slideshow, I’m planning on creating a new canvas atop the work area and covering all controls while the slideshow is running.  I’ll load all slides up front (we’ll see how well that works) and create a view stack.  This should allow for smooth transitions between slides and save window positions while flipping between slides.  I will disable the ability to close panels but they can still be moved (depending on the layout manager) and minimized/maximized.

Mike 5.13.2010

  • Thanks to Phil’s DB dump, I’m back up and running, making good progress on the Drag+Drop interface for configuring slideshows
  • Should finish the creation interface tomorrow then start work on actually loading / displaying the slideshows
  • Finally got ProjPortfolioMgrClient to build successfully

Mike 5.12.2010

  • More attempting to build Dong’s Project, getting closer
  • Now that the back end code for slide shows are working I tried to move to the drag and drop interface for creating slide shows.  However, my database was wiped at one point so I tried refilling it with fake data.  Now something is throwing a null pointer exception somewhere, catching it, and not logging it.  The fake roles look correct in the database but won’t load in to the AccountManager GUI and I can’t create a user without the roles so I’m stuck in a giant rabbit hole.

Mike 5.11.2010

  • Started writing test cases to help debug and ensure the slideshow database code was working.  Banged my head against a very weird foreign key issue for many hours… Inserts were throwing an error using the JDBC connection but working fine from the MYSQL workbench.  I could even step through with the debugger, copy and paste the query to mysql right before it ran in java and it would execute fine.  The internet was no help so in my flailing I changed the table engine type from MyISAM to InnoDB and it worked…
  • Now I have a set of very nice test cases and all the methods listed in my previous posted are tested and working.
  • Tried to build Dong’s ProjProtfolioMgrClient, finally got connected to the new maven repo but still having build problems