Monthly Archives: February 2011

Phil 2.22.11

9:00 – 6:00VISIBILITY

  • Had a talk with John W last Friday about the increase in hours charged 4 hrs/week to 10 hrs week for catwalk. Told him that I basically couldn’t do the level of support that I had been doing for 45min/day and that I wouldn’t be coming by unless he tells me that there is a problem.
  • Going to try to talk to R through Java today.
  • Found a cool audio synthsizer library for the next hand – https://ccrma.stanford.edu/software/stk/
  • So that I can find this the next time: Webstart, Servlet, IDE, findme!
  • Interviews!
  • Got RServe installed. Going to take a look at interfacing that way.

Mike 2.21.2011

  • Came in this morning and the internet was out.  Ended up calling Comcast with Kristi and they helped us sort it out
  • More progress on saving and loading of dynamic objects
    • Have custom serialization working to minimize the amount of data sent back and forth while sending dynamic objects
    • Have a simple UI for querying for all available types
    • It can then request all object of a specific type and display them
    • Attempted to delete object but ran in to some problems, still sorting it out

Dong Shin 02.21.2011

  • FGMDEV Backup – noticed deletion not working properly, modified the script. check tomorrow…
  • PPM
    • Added DataRequestsEmailsWindow, RequestEmailTextHBox to support multiple request email generation from DataRequestPanel
    • continue working on Excel export….

Dong Shin 02.18.2011

  • FGMDEV backup is working… yeah!
  • PPM Changes
    • set dataProviders manually so that filtering doesn’t flicker between all list and filtered list in DataRequestFormWindow
    • filtering added to Users in DataRequestFormWindow
    • Status filtering ComboBox and Description filtering textbox added to DataRequestPanel. This work together as a filtering set.

Phil 2.17.11

7:30 – 4:00 VISIBILITY

  • Meeting with Trish Christie and Leia(?).
    • add “… for the monthly status report deliverable which is due (month) 10th”  to the generated email.
    • Add the ability to sort and filter”Create New Request” panel and “Saved Requests” (project, status, personnel roles. etc)
    • Time that a project should be included in a report request is from the first budget year to the last budget year plus the appropriation period
    • For creating (or adding to?) a request, it may be necessary to look at projects that will become active up to some period in the future, so that as projects become active, they will be included in requests
  • Went over meeting action items with Dong.
  • Based on a conversation with April, I’m looking at developing a Flex GUI interface to R, running on the server and accessed through rJava.
  • Talked to Brian about moving my client schedule from morning to afternoon

Tom.DeVito 2.16.2011

Adding audio control to RCS System:

  • Moved comportsetup to the audio executive class because the com port should only be initialized once.
  • Changed the parameters of the SoundController constructor to have id, PointMass, and string.  The id is the i2c address, PointMass is the instance which corresponds to the finger, and the string is the name.
  • Ran into an error where it said SoundController couldn’t be instanced because it was abstract.  Realized I didn’t have postProcess() in my class.
  • Defined states and commands.

Testing the Hand:

  • Calibrated the amplifiers
  • Tested the code with Phil.  A few minor bugs were identified and fixed.

Dong Shin 02.17.2011

  • FGMDEV backup working….. check again tomorrow.
  • PPM
    • creating queries for project export…. would like to put all the calculation on queries.
    • got feedback on Data Request
      • moved Users and Project to DataRequestFrom
      • added color-coded status for the Requests
      • added CheckBox filters to show selected/saved users and projects

Phil 2.16.2011

7:30 – 5:30 VISIBILITY

  • Working on setting up a meeting with Christie and Trish to go over Dong’s proposal
  • Showed Dong how to set up the Web Application with server in Eclipse. He thinks that he might be able to make it work with Maven
  • Endless ANOVA
  • Worked a bit on the hand with Tom. Everything seems to be working. Yipee!

Mike 2.16.2011

More progress on the dynamic object hibernate database thing.  Now transferring meta information to and from Flex along with the dynamic objects.

Found a weird bug with internet explorer while trying to download .docx, .pptx, or any other new microsoft office files.  Internet explorer automatically renames a file such as myDocument.docx to myDocument.zip, but it’s not the site zipping up your file and sending it to you to save space.  It’s Internet Explorer RENAMING THE FILE BECAUSE IT’S RETARDED.  It then tries to open your document as a zip file and confuses the hell out of the people using our SCT blog.  Dong and I overwrote the mime type definitions on our apache server to resolve the problem.  Details here.

Tom 2.15.2011

Adding sound control to the RCS:

This post regards adding control of the TDA8551T audio amplifier to the RCS System.

  • To set the volume of the TDA8551T you have to send pulses high and low signals as relative to the float signal to raise and lower the volume.
  • Mute and operational mode is controlled by a second trinary switch.  The difference is that this one works on constant signal as opposed to pulses.  High signal puts the device in standby, float signal mutes, and low signal set it to operating mode.
  • Although I think that mute will be needed to silence the amplifier, if the lowest step is silent it would eliminate the need for the second switch to be computer controlled.  This would allow 1 AD5248 to control two amplifiers.  If it is needed we will need a second usb to i2c adapter for the fifth finger because there are only 4 address combination for the AD5248.
  • Most supporting methods are written with the exception of the one that converts collision to steps.  Need to work on an audio executive class as well as the core preProcess and decisionProcess methods.

NOTES:

Collision can be extracted from the corresponding PointMass object which can be found in the data dictionary.

After reviewing the phidgetsExec, it has become obvious why I would want a separate executive for audio.

Dong Shin 02.16.2011

  • FGMDEV backup still not working
    • tweaked the script to use /exchange/backups directory…
  • PPM
    • server code is out of sync, saved all the changes, rechecked in and out.
    • working on Project export
    • Security error when trying to save Excel file…
      • Error: Error #2176: Certain actions, such as those that display a pop-up window, may only be invoked upon user interaction, for example by a mouse click or button press.
      • for security reason, FileReference.save() must be initiated from a user interaction… Arrrgh!
      • Added Alert to confirm save
    • Changed EdgeUtils.ExportUtils to have an option of saving files with and without header
  • Eclipse and Tomcat server configuration using Maven for Dynamic Web Project
    1. set up your Tomcat server instance within Eclipse IDE
    2. generate Eclipse project settings from the pom.xml you created, the packaging type must be war to use this feature.
      • mvn eclipse:eclipse -Dwtpversion=1.5
    3. web.xml may need some changes as Eclipse complains about the order of elements within <webapp/>. Follow this order….
      1. icon
      2. display-name
      3. description
      4. distributable
      5. context-param
      6. filter
      7. filter-mapping
      8. listener
      9. servlet
      10. servlet-mapping
      11. session-config
      12. mime-mapping
      13. welcome-file-list
      14. error-page
      15. taglib
      16. resource-env-ref
      17. resource-ref
      18. security-constraint
      19. login-config
      20. security-role
      21. env-entry
      22. ejb-ref
      23. ejb-local-ref
    4. add the project to the server by right clicking the Tomcat server in Servers view and selecting Add and Remove in the context menu.
      • got weird errors, “Validation Message” that points to nowhere… no effect on building projects, though.
    5. set a break point, stop and start the server in Debug… now you can debug your Java/Server code!

Mike 2.15.2011

After much flailing, learning, and more flailing, I’ve finally made some good progress on managed database access for dynamic objects.  I have meta information being stored in several table which details dynamic object types and their properties.  That part of the database is well-defined while I have another database access which is reconfigured when changes to the meta information are made.

  • If a new dynamic object type is created, the dynamic access session is reconfigured to take in to account a new table for that object type.
  • If a property is added to an existing object type, a new column is automatically added to the table
  • The session reconfiguration is done only once per save request (ie. if 10 new object types come over from the server, all updates are applied to the model before updating the session instead of reconfiguring the session 10 times)
  • There’s currently no plan in place to remove properties from object types but entire object types can be removed (similar to drop table)

Phil 2.15.11

7:30 – 4:30 VISIBILITY

  • Deployed Dong’s code. All works well, and we *can* save out excel from Flex!
  • Filed out as much as I could of Brian’s SSP
  • Downloaded the Apache Commons Math library source for conversion to Actionscript
  • Tried the easy way and found a Java to Actionscript converter (J2AS3). It needs some wotk for handling the FastMath class. Before I go in and change it by hand, I may try to improve the parser.
  • More ANOVA

Dong Shin 02.15.2011

  • FGMDEV backup still not working
    • put absolute paths in the script
  • PPM
    • continue working on Data Requests – primary functions added
      • create and save requests by selecting users and projects
      • update requests – change status, description, month, and year
      • added textArea for email
      • printed screenshots for review