Monthly Archives: March 2011

Dong Shin 03.23.2011

  • updated pom’s in WebIDEInterfaceSandbox and WebIDEServerSandbox and deployed
  • additional repositories for WebIDE projects
<repository>
<id>jspresso</id>
<name>Jspresso</name>
</repository>
<repository>
<id>google-maven-snapshot-repository</id>
<name>Google Maven Snapshot Repository</name>
</repository>

Phil 3.23.11

8:00 – 6:00 VISIBILITY

  • Write status report for the last 7 hours of CATWALK
  • Write reqs for the applet version of the scripting system. Started here: http://www.fgmdev.com/blogs/?page_id=5220
  • Making sure that the coefficient order matches the group order
  • Commented my WebInterfaceIDE Server and Client code and walked Dong through it
  • Phone call with Brian and Bill on server migration
  • Finished fixing bugs, trying to port to fgmdev. Getting Java null exception errors back. Going to make a console panel for sending raw queries and getting responses. Done. It turns out that I was using an old version of Rserve (0.4-7) that came with the Debian apt-get system. The version that I was developing against is version 0.6-3. I installed that using install.packages(“Rserve”). Fortunately that compiled and loaded properly (unlike HH). The new version is here: fgmdev:/usr/local/lib/R/site-library/Rserve. That’s the one that needs to be started.
  • added rserve_start to the .bashrc file for root.

Tom.DeVito 3.22.2011

Arduino Audio:

  • Got the SOMO working.  Had to move the 3.3volt power leads closer to the SOMO on the breadboard and put in 2.2k resistors on the serial lines.
  • Tried out the new speakers.  Its a bit quiet using the built-in SOMO amplifier.
  • Working on combining code from SOMO demo program and my volume controller so I can use the amp.
  • Only using the functions I need for the SOMO to keep it optimal.
  • Eliminated some of the delays that are only there for direct user interaction.
  • Shortened delay in command send to 100uS down from 200uS
  • Have not tried reading the force signal amplifiers yet.  Should be pretty straight forward.  Will try it once I get audio working well.
  • Tried to get the add-on for Visual Studio to work but I cannot find the add-on folder in any of the places it should be.  Oh well,  the arduino software is okay I guess.

Other notes:

  • Yet another idea of mine, being worked on by someone else:  http://www.macotakara.jp/blog/index.php?ID=11085
  • It is a bit better then my idea because mine would have required head mounting.
  • Oh well eventually I will think of something unique….  Haven’t seen anyone doing my math app yet (keyword yet…).

Phil 3.22.11

7:30 – 5:00 VISIBILITY

  • trying to get the fgmdev version of R matching the dev version
  • everything but vcd and HH are in the debian distribution
    • installed and loaded vcd from within R
    • HH failed. It needs a newer version of multcomp. Grr. Re-rigged the code so that it’s not needed.
  • Adding running totals of coefficients to ANCOVA – done
  • Checked up on PPM, which is running fine, but not being used. Helped write up more justification with Bill. Noticed that Matt H. was poking around in some of the + data.
  • Reworked the creation of tables so that they can have columns with different numbers of items in them. Did this by inserting the special ‘NA’ symbol into the list after the last element up to the length of the longest element.

Tom.DeVito 3-21-2011

  • Finally got I2c to work.  Not sure if it was just addressed wrong all this time or if I fixed it when rewiring.  The address used was 0x2c.  I am pretty sure I tried this before which is why I think it was the wiring.
  • SOMO won’t work right now.   Wanted to test the speaker but somethings wrong.
  • Wired one speaker so its good to go when i figure out why the somo isn’t working.
  • The first time in order to got it working, there was a problem with the serial lines not having a resistor on them.   Pretty sure it should be 2.2k on each line.

Phil 3.21.11

7:30 – 5:30

  • Hey! It’s Spring! Boy, is it wet.
  • Tried to connect Outlook to the FGM webmail, just to see if that could work. So far, it just seems to kill Outlook.
  • Adding image size arguments to evaltoJpeg() – done
  • Adding a “Save Chart” option – done
  • Deleted and reloaded R on fgmdev. I have a script for removing and installing components, since install.packages() seems to break the installation. Did a quick test by running library(multcomp), which did not complain. Will try Rserve later.
  • Adding running totals of coefficients to ANCOVA
  • Making sure that the coefficient order matches the group order
  • Adding handling of NA in tables and/or dataframes
  • Need to figure out how to get multcomp working on debian – done. Next is HH

Christine 03.19.2011

  • Went through Ingest Manager. Wrote up ideas on how to make it more user-friendly, as well as a list of questions about some features
  • Met with Dong and Phil to discuss. Goal is to re-write/create client-side Ingest Manager in Flex 4 that uploads, analyzes and sends data.
  • Asked Dong whether mySQLIf worked with Flex 4 and he was kind enough to update the code so it does.
  • Started looking into code and laying out game plan for re-write

Dong Shin 03.18.2011

  • MySQLIf updated for Flex 4 – MySQLIf4 v. 1.0
    • svn://fgmdev.com/trunk/Flex_folders/Components/MySQLIf4
    • set debug flag manually for flex-mojos-maven-plugin
    • <configuration>
         <debug>false</debug>
      </configuration>

Phil 3.17.11

7:30 – 7:00 VISIBILITY

  • Testing code today
  • Need to add image size arguments to evaltoJpeg()
  • Need to add running totals of coefficients to ANCOVA
  • Need to make sure that the coeeficient order matches the group order
  • Need to add handling of NA in tables and/or dataframes

Phil 3.16.11

8:00 – 6:30 VISIBILITY

  • CRAN is down, which is messing up my testing – it’s back up again. Test tomorrow.
  • Need to write up a progress report for Larry
  • Spent the rest of the day putting together complex contrasts, which required reworking the RTestBase class, which then requred fixes of the Student T and ANOVA classes. Hopefully, I can get all of this working on fgmdev, I was having some trouble with library(HH) before CRAN went down.

Dong Shin 03.16.2011

  • PPM
    • cleaned up Server’s pom.xml so that it deploys correctly
    • Financial Status Data
      • Cumulative totals for Initiate/Commit, Obligation, Outlay, and PM Actual Outlay added
      • Available Balance = Remaining / Total Amount * 100
      • Initiate Commit % = Total Initiate/Commit / Total Amount * 100
      • Data updates recalculates the summary

Tom.DeVito 3-15-11

Eliminating the need for i2c-usb module:

  • Switched the rheostat(AD5243) circuit to use the Arduino power source instead of the usb module
  • Added commands to the Arduino sketch to control the rheostat
  • Learned how to use the wire library to transmit data to rheostat.  One trick with the library is that the read/write bit is handled by the arduino so the first byte needs the right most bit removed.  After that data bytes can be sent in standard 8 -bit format.
  • Two main benefits of doing this:
  1. Only one com port to worry about.  When you have more then one, it can get complicated when switching machines because you’ll have to keep track of more randomly assigned ports.  There are ways to use port enumerators which scan the registry but this seems like it may be unreliable at times.  The other way to alleviate the problem is to add custom drivers but at this point that seems like more work then its worth.
  2. The other benefit is that, you can send 16-bit string commands to the Arduino to trigger the command pattern.  This simplifies the implementation in the actual control system.
  • Pretty sure the sketch will work but I have not tested it yet.

Mike 3.15.2011

  • Created entities and remote services for storing and retrieving Reports, TextSections of reports, and user Comments.
  • Tested the services from within java and made the sure column/table mappings worked correctly.
  • Currently a report consists of an owner, an xml configuration, and a collection of TextSection references
    • The xml configuration defines the layout of the report and section headers and also contains references to its parts
    • The TextSections define blocks of text in the report, they are stored as strings but can be HTML, TFL, or whatever format we decide to go with
    • I’ve decided the most flexible way to incorporate Comments in the report is the way Microsoft Word does it: create a custom tag within the text that references the Comment object.  That way users can comment on a word, a sentence, and entire paragraph, whatever.  And since comments are stored a separate objects in the database, they can be also used to reference other objects such as tables or charts.  Comments do not currently have references to what they are about so that may be an issue.

Dong Shin 03.15.2011

  • PPM
    • clean up some Maven stuff
    • trying to figure out a way to generate and package html and swf files together from Maven
    • FGMDEV’s nexus was down, could not restart? cleaned up the logs and looks ok….
    • export MAVEN_OPTS=-Xmx512m to avoid Java Heap space error

Phil 3.15.11

7:30 – 6:00 VISIBILITY

  • Caught up with Dong a bit on the Financial Status part that we were working on before the email fire drill
  • We also discussed generating VISIBILITY reports based on financial data. I’ll be showing him how the Scripting system works so he can start mining the PPM data.
  • Scatterplots and coefficients and CONOVA, oh my!
  • And I need to tie into the VISIBILITY remote object so I can start working with those tables…
  • CMM meeting. They like what they see, but don’t want to pay for it.
  • More privac crap