Author Archives: pgfeldman

Dong Shin 01.11.2011

  • PPM Changes
    • the current month didn’t get highlighted properly – changed the logic, works now.
    • added method to record when user modifies previous month’s data
      • doesn’t record when initial data is entered (when the cell is NaN)
      • added created_time to track dates and times separately
      • user changed data from 2502 to 2502.3 in Project ID – 104 Year: 2011 Month: 3 Row: Reported Actual Obligated $:

    • working on database check up for upgrade

Phil 1.11.11

7:30 – 5:30VISIBILITY

  • We should do something to celebrate at 1:11 this afternoon
  • Wrote up a quick estimate of the effort required for the S2/SV effort
  • Working on the VIS4 plan – finished initial. Need to break into a set of traceable requirements
  • Looking for a requirements tracking package. Eclipse has some nice vaporware (useme), and there are a lot of bug trackers like jira, but nothing else I can find. Grr.

Tom.DeVito 1.10.10

Attempting to figure out a way to have the computer control the volume of an audio amplifier:

  • Reference for electronic diagram symbols:  http://library.thinkquest.org/10784/circuit_symbols.html
  • Reference for how to use a multi-tester: http://www.wikihow.com/Use-a-Multimeter
  • The amplifier potentiometer gives the best volumes between  992- 950 ohms.
  • To measure current, the multi-tester needs to be in series with the circuit.  I am removing the potentiometer from the amplifier circuit so I can put the multi tester in series after it and read the range of current.  How many amps the current is will determine if I need to use a jfet or mosfet transistor for the voltage controlled resistor.

After taking off the potentiometer, we realised that this may not be the best way to have our speakers volume controlled.  We are looking into a couple of different IC amplifiers with programmable gain control.  See tomorrows entry for more details on this.

Other uses for capacitors besides storing energy to be released in burst or dimming lights.

Mike 1.10.2011

  • Made it so one CollapsibleContainer may container other CollapsibleContainers to form something like a tree
  • Working on a quad layout
    • It equally divides up any container to give the first 4 elements 1/4 of the space
    • Any elements over 4 are ignored and left above the rest in the z-order
    • Users may ‘focus’ one quadrants which will resize that element to fill the container and bring it on top of the other elements
    • unfocusing the element puts it back in its original place
  • Now need to make something resembling a report in a quad chart, may need to come up with some way to roll-up information so unfocused quadrants display some kind of reasonable summary

Phil 1.10.2011

8:00 – 4:30VISIBILITY

  • Ann made a nice big spreadsheet of + data, which I broke up into nice-sized bits and ingested. I added Matt and Anne to the role and told them that the data was up. We’ll see what happens next.
  • Writing up requirements for VIS4
  • Finally did the 312 briefing
  • Pointed Tom at programmable amplifier IC chips

Dong Shin 01.10.2011

  • PPM Database Update Procedures with the script,  DBUpdateSQLs.sql
    • backup the database using following command from command line
      • mysqldump -d -u root -p project_portfolio > project_portfolio_backup.sql
    • login to database from command line at the directory where the DBUpdateSQLs.sql is located
      • mysql -u root -p
    • select database to modify at the mysql prompt
      • use project_portfolio;
    • run the script from the mysql prompt
      • source DBUpdateSQLs.sql;
    • if anything goes wrong, you can revert to old database by restoring the database from the backed up file
      • mysql -u root -p to get mysql prompt from command line
      • drop database project_portfolio; in mysql prompt
      • create database project_portfolio; in mysql prompt
      • source project_portfolio_backup.sql; in mysql prompt
  • PPM Changes
    • changing code to work with new DB structure….
    • 1 Year projects support added
    • complete database schema created, but not implemented on the current database

Mike 1.7.2011

  • Figured out there are actually 2 web servers running on fgmdev.com, one on port 80 and one on 8080.  I was deploying to the one on 8080 while trying to connect on port 80
  • Spoke to Brian this morning and I’m not going to try and get out  more fully functional demo to give the customer an idea of where we are headed then go back and build the framework.
  • Started this task by making a collapsible SkinnableContainer which, when compressed, displays only a header and a ”+’ button to expand it, expanding it them displays the widget which for now is either RichText or a datagrid
  • Learned something new about TextFlows,  I originally thought they acted like the data providers for RichText components.  turns out they are in fact themselves gui components and not simply a data class.  This screws up my plan of having the display and text editor point at the same TextFlow.  I’m either going to have to make copies or figure out another way to do data binding with rich text.  I found this out when having a demo with multiple text areas all pointing at the same TextFlow.  It worked fine until you minimized one of the collapsible containers.  The null pointer exception in FocusManager immediately made me realize TextFlows can’t be shared… actually it was more like my big toe hurting because my arm was broken.

Phil 1.7.2011

8:00 – 4:30 VISIBILITY

  • Pinged Katie G about a T09 demo
  • Worked on getting some + demo data with Anne.
  • Writing up some grist for VISIBILITY4 development effort. Got through intro, framework, formbuilder, and scripting.
  • Ingested some data for Brian to demo
  • Came back from the ride knowing how to put all the pieces together, so here it is:
  • That’s a java app, using the DJ framework, talking through a servlet, interacting with the host OS, all using object serialization :-). I can now have a nice weekend.

Dong Shin 01.07.2011

  • PPM changes
    • thinking of using tables’ comments field for editable/non-editable indicator
    • ALTER TABLE tablename COMMENT = 'editble';
    • fixed itemRenderer issue by setting icon at set data method, not at creationComplete method
    • changed all the tables to have InnoDB engine
    • backed up database to project_portfolio
    • set editable tables by ALTER TABLE <table name> COMMENT = ‘editable’;
      • budget_center_names (budget_centers)
      • budget_center_number (budget_centers)
      • capabilities (budget_centers)
      • expenditure_centers (budget_centers)
      • funding_transaction_names (budget_centers)
      • funding_transaction_numbers (budget_centers)
      • funding_transaction_types (budget_centers)
      • investment_portfolios (budget_centers)
      • users
    • setting relationiships for foreign keys in the database
      • projects and users done.
      • budget_centers related tables done (budget_center_names, budget_center_number, capabilities, expenditure_centers, funding_transaction_names, funding_transaction_numbers, funding_transaction_types, investment_portfolios)
    • added warning dialog – cancel closes the panel
    • added dataToolTips for the datagrid

Tom.DeVito 1.06.11

  • Ground off the epoxy so that I can start reattaching the strain gauges.
  • After much searching, I found this site http://www.educypedia.be/electronics/composemijfet.htm.  This seems like a really good reference site for electronics.
  • I am going to read the article on FETs As Voltage Controlled Resistors and JFETs as variable resistors tonight and post what I learned here either tonight or tomorrow morning.  These have a more in depth explanation then http://graffiti.virgin.net/ljmayes.mal/comp/vcr.htm has.
  • Because I will probably need to buy a couple components to make a VCR, I am going to hold off on going to the electronics store for the speaker until i know what else I need.  I hope to know what that is tonight after reading through those articles more thoroughly.
  • Some thing to note Vds = voltage drain to source and Vgs = voltage gate to source.

Christine 01.06.2011

  • Setting up development environment in Windows. Had to put a halt on the setup b/c I am having major windows issues and am looking into getting an alternate box until I can get these resolved.
  • In the meantime, I am going to start looking into the creation of the Maven parser for the Visibility project

Dong Shin 01.6.2011

  • PPM Enhancement
    • DB Mgmt
      • added icons for editable/non-editable tables in the tables list
      • added Record numbers text
      • Begin, Prev, Next, End buttons working
      • mx:Label for AdvancedDataGridItemRenderer is too slow for large sets of data?, tried to extend AdvancedDataGridItemRenderer. no success. changed Label to Text component, it’s a lot faster now
      • added toolTips
      • added Key information on the DataGrid column header

Mike 1.5.2011

  • Created a fake data dictionary and filled it with data similar to that in the report Allen gave me for the forecasting report
  • Created a sample application with a single report in it modeled after the paper report Allen gave me
  • Attempted to deploy the sample to fgmdev but ran it to some difficulties
    • I first just created a directory structure in the webapps directory and pasted the required file (this worked locally but not on the server)
    • the logs said the directory was successfully deployed but got a 404
    • Tried creating a war with the same file, this also worked locally but not on the server
    • the logs again said everything was deployed fine but still getting a 404

Phil 1.6.2011

7:30 – 4:30 VISIBILITY

  • Working on a simple “echo” Java GUI in SWT
  • Eclipse Labs on Google code: http://code.google.com/a/eclipselabs.org/hosting/
  • Talking to the servlet in the GUI. Switching from echo to implementing exec() in the servlet and getting the response into the GUI. For something that takes a while, like a maven build, I’ll need to do something to show progress. Also will need to handle error messages as separate entities in the message wrapper?
    • Cleaning up ExecShell() to make it work with the GUI.
    • Spent a good deal of time trying to figure out when to inform the client that the command was finished executing. Wound up looking for elements of the command prompt for now (this assumes “C:”). It’s working now. I expect I should be able to roll it in to the servlet tomorrow.
      • As an aside, it should be possible to send back intermediate data to the client, as long as the client sends a “send more output” request to the server with the same session id until the server is done.

Christine 01.05.2011

  • continued with Maven/Flex Air issue on Windows. One of the suggestions found regarding the error was that the user has never run an Adobe Air app on the machine before. This most definitely was the case for me (being my Win install was new). After installation the Air app, I re-ran AirFileImageAppMaven. That was a success, except I need to reproduce the error since Phil was unable to get it to run on his machine.
  • Sent Phil an email with findings and asking about his development environment (which version of Eclipse is used, etc). Will be setting up my development Win environment to match so that I can build/install in Windows (rather than using the build from my Mac) to see if I can reproduce the error.