Phil 11.10.11

7:30 – 4:00 VISIBILITY

  • Deployed new Project Assistant to Jeff’s server. Required dropping a view and then re-sourcing it in the DB.
  • Set up (I believe) a repeating task to back up the database daily. We’ll see if it works on Monday
  • Got pan and zoom working on the phone. Zoom is clunky – I think I need to change it so that the center of the zoom is always the center of the screen.

Tom DeVito 11.09.2011

start: 9:00

  • When I was looking at the code for the interface, I found that fltk names things without names o by default.  This was very confusing so I went back and renamed everything including the stuff which will never change.
  • Had a runtime error once I got the code into the constructor of the interface class.  After lots of debugging I found the source to be 2 extra empty menu items. Removing these seemed to solve the problem but 30 minutes later, for no apparent reason, I started getting the same error.  I removed the menu bar completely for the time being.  It will be added when I want the save and load settings functions to work.
  • FLTK has a glut-like loop.  For whatever reason I thought I was going to be able to easily run my loop with it.  I can set up a timer function but much of what I am seeing about how to do this is vague.
  • While looking around for how to make a timer function, I found an example that uses glutMainLoop() instead of Fl::run().  Considering I already know how to use a glut timer function and eventually I am going to need this interface to use gl simulations, I figured this was a better approach to the problem.
  • When I tried to run it off a glutMainLoop, I had many compiling errors most likely because I didn’t initialize the gl functions yet.
  • Sent e-mail to myself to remind me to figure out what hardware is needed for three sets of strain gauges.  I think we just need two amplifiers but I’ll double check tomorrow.

end: 5:00

Phil 11.9.11

7:30 – 4:30 VISIBILITY

  • Set up scripts to backup financial databases. Need to automate those next.
  • Working through getting gestures to behave exactly right. I need to be able to move the chart without selecting parts. Maybe use a time delay?
  • Interview.

Dong Shin 11.09.2011

  • updating UI…
  • updated __view_budget_center_appropriation view to calculate total_budget correctly (__view_budget_center_appropriation.sql)
    • CREATE OR REPLACE
      ALGORITHM = UNDEFINED
      VIEW `__view_budget_center_appropriation`
      AS select budget_centers.uid AS uid,budget_centers.project_id AS project_id,budget_centers.center_number AS center_number,
      budget_centers.center_name AS center_name,budget_centers.funding_transaction_name AS funding_transaction_name,budget_centers.
      funding_transaction_number AS funding_transaction_number,
      budget_centers.funding_transaction_type AS funding_transaction_type,
      budget_centers.capability AS capability,budget_centers.expenditure_center AS expenditure_center,
      budget_centers.investment_portfolio AS investment_portfolio,budget_centers.appropriation AS appropriation,
      SUM(budget_amounts.amount) as total_budget, budget_centers.type AS type,budget_centers.program_element AS program_element,
      budget_centers.facts_pe AS facts_pe,appropriations.duration AS duration,appropriations.status AS status
      from budget_centers, appropriations, budget_amounts WHERE budget_centers.appropriation = appropriations.type
      AND budget_centers.uid = budget_amounts.budget_center_id
      GROUP BY budget_amounts.budget_center_id

Tom DeVito 11.08.2011

Start: 9:15

  • Added commands for enabling and disabling fingers
  • Included comutil class to the arduino sketch and removed the temporary com methods.
  • Sent some data back and forth to make sure the class was still working.
  • Added a method to monitor the user interface for new values to trigger commands.
  • The commands don’t seem to be importing correctly 100% of the time.  I hope to resolve this tomorrow.

End: 5:15

Dong Shin 11.08.2011

  • reworked to disable goals in Financial Data
  • added NumberFormatter to format % values to 2 decimal points
  • Current button disabled on data when FY is not available
  • added DataGrid for Full FY Data, switch between monthly and yearly
  • reworking UI

Phil 11.8.11

7:30 – 4:30 VISIBILITY

  • My machine is working again!
  • Gave Mike my receipts for all my various permissions
  • Doing the Phishing training
  • Back to recognizing gestures. It may be that region select won’t be a problem?

Tom DeVito 11.07.2011

Start: 9:30

  • Made an arduino version of my ComUtil class.  As with the PC version, this class links the gap between the com manager and the data dictionary.
  • Added a method for command handling on the Arduino.
  • Tested sending the change thumb note to command.  The variable changed properly.
  • Added commands for the other fingers.
  • Added commands for changing instruments.

End: 5:30

Phil 11.7.11

7:30 – 4:30 VISIBILITY

  • Hopefully my customer machine is being fixed as I write this.
  • Mike got his access today?
  • Putting all the test pieces together to produce a fully functional pie chart component
  • More machine fixing
  • Meeting with Tangie
  • Uploaded new Project Assistant

Dong Shin 11.07.2011

  • Meeting with Tangi, found minor bugs
    • Goals should be disabled
    • format % values to 2 decimals
    • disable current button where FY is not available
  • changed ProjectFilterButtonBar skins to reflect the query
  • updated ItemRenderer to show INCOMPLETE
  • query to find OVERDUE, INCOMPLETE, CURRENT status of the projects
    • SELECT p.*,
      IF(p.uid IN (
      SELECT p.uid FROM obligations_outlays o, projects p
      WHERE o.project_id = p.uid
      AND ISNULL(o.month_2)
      AND (o.year + o.year_count – 1) = 2012),
      ‘OVERDUE’,
      (IF
      (p.uid in (SELECT p.uid FROM obligations_outlays o, projects p WHERE o.project_id = p.uid AND
      (o.year + o.year_count – 1) < 2012
      AND
      (ISNULL(o.month_1) OR
      ISNULL(o.month_2) OR
      ISNULL(o.month_3) OR
      ISNULL(o.month_4) OR
      ISNULL(o.month_5) OR
      ISNULL(o.month_6) OR
      ISNULL(o.month_7) OR
      ISNULL(o.month_8) OR
      ISNULL(o.month_9) OR
      ISNULL(o.month_10) OR
      ISNULL(o.month_11) OR
      ISNULL(o.month_12)
      )
      UNION
      SELECT p.uid FROM obligations_outlays o, projects p WHERE o.project_id = p.uid AND
      (o.year + o.year_count – 1) < 2012
      AND (ISNULL(o.month_1) OR ISNULL(o.month_2))
      ), ‘INCOMPLETE’,’CURRENT’))

      ) AS status

      FROM obligations_outlays o, projects p
      WHERE o.project_id = p.uid  AND (o.year + o.year_count – 1) = 2012
      GROUP by p.uid

Mike 11.04.2011

  • More fun mornings spent waiting on site
  • Working making the mobile demo look a little better
  • Started by trying to style charts then decided it would be better to start on the first screen to decide on a theme and run it all the way through
  • So I started working on an animated splash screen, similar to the one seen on the Flint home page
  • Got it working in a Flex application even though my Eclipse crashed over  dozen times in the process
  • When I tried to add it to the phone as a splash screen I get the following exception:

Error: Could not find compiled resource bundle ‘charts’ for locale ‘en_US’.
at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()
at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()
at mx.resources::ResourceManagerImpl/processInfo()
at mx.resources::ResourceManagerImpl()
at mx.resources::ResourceManager$/getInstance()
at mx.styles::StyleManagerImpl()
at _MobileSplashScreen_FlexInit$/init()
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:dev4.5.1frameworksprojectsframeworksrcmxmanagersSystemManager.as:2821]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:dev4.5.1frameworksprojectsframeworksrcmxmanagersSystemManager.as:2729]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/timerHandler()[E:dev4.5.1frameworksprojectsframeworksrcmxpreloadersPreloader.as:542]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

I find it very odd since my animated swf doesn’t use any charts…

Tom DeVito 11.04.2011

Start: 9:00

  • Made a new class to help link the gap between the ComMgr and the DataDictionary called ComUtil.  This has all the methods that I wasn’t really sure where to put because they required both types of objects.
  • The system should give normalized data to the arduino of the collision so the arduino can decide what volume to set.  This seems to be much better then having the computer give the volume data because who knows what application will be using this.
  • Changed the volume data to collision data, removed response for now, set up commands for changing the instrument and note for the fingers, and changed all the data being passed to be an array except the command data because there are multiple parts to it.
  • Fixed a problem with the loadBuffer method which was causing random crashes.
  • Simplified the initialization of the Arduino side by using for loops instead of setting things individually.
  • Took out obsolete code in the arduino sketch

End: 4:00

Phil 11.4.11

8:00 – 4:30 VISIBILITY

  • A bit late because of lab tests
  • Uploaded new Project Assistant
  • Updated db on Jeff’s server so that Project Assistant would work on it and copied it over.
  • Meeting with Tangie. Dong has notes.
  • Some running around for Bill D.
  • More security stuff
  • Meeting with Mary G. to go over VISIBILITY for marketing purposes. Wide ranging discussion that wound up on how to use social media to market FGM.
  • Note: For Monday, do something like:

Dong Shin 11.04.2011

  • meeting with Tangi, few enhancementsand fixes
    • add INCOMPLETE for projects that are missing previous months’ data
    • add ‘Goals’ string to Obligation/Outlay (11/04)
    • Incomplete, Overdue, Current to filter projects list (11/04)
    • fix month when navigating thru Overdue projects (11/04)

Tom DeVito 11.03.2011

Start:  9:00

  • Finished setting up the test to have the new midi controllers added
  • Tried it there was still a tremendous amount of white noise.  I turned off the power supply and noticed that the power led on the Midi shields was still on from the Arduinos power.  I looked up the different Arduino pin modes and found that if its set to OUTPUT, it can put out as much as 70ma.  INPUT mode, on the other hand, has high impedance so it produces much lower current.  The reset pin has to be set HIGH or the chip is in off mode, so I tried switching it to INPUT mode so it didn’t output excess power.  This resulted in the white noise being almost completely eliminated and the chip’s power led now turns off when the power supply is off.  For some reason, both examples on the sparkfun page show this pin being set to OUTPUT.  I posted this solution on their page so hopefully others will be helped.
  • Setting multiple channels to play the same note on the same instrument gives it a fuller sound.
  • There was a problem that I had with the end of the buffers data.  Clearing the buffer after each import solved it.
  • Changed the volume to accept doubles between 0-100 instead of decimal percentages.
  • Added the an instance of the interface to the main.  Was able to get the pressure sensors to show up.
  • Changing things around so that the simulation runs through the computer instead of autonomously on the arduino.

End: 5:00