Monthly Archives: August 2011

Tom DeVito 8.23.2011

Start: 9:45

  • Modified the main sandbox to add controls for the midi device and saved it under midiamptest.
  • Rewired the arudino so that the midi would work as the sound source.
  • I set the 1W amplifier to maximum, to get an idea of how loud it could get and it didn’t seem much louder then it was with a direct connection to the midi device.  Furthermore the buzz was still there.
  • I tried to lower the output volume of the midi device to get rid of the buzz.  The buzz stayed at a constant volume while notes were quieter.
  • Tried changing capacitors to get rid of the buzz, but it didn’t work.

End: 5:45

Phil 8.24.11

8:00 – 4:00 VISIBILITY

  • Finishing homework
  • Trying a tutorial: http://www.adobe.com/devnet/flex/articles/employee-directory-android-flex.html
    • Coming along well, but there is a problem in the tutorial code. When you go from using the HTTPService to using the <dao:EmployeeDAO id = “srv”/> declaration, you need to change the click response to the search button. I did this by creating a private method that took the ArrayCollection result and set the ‘data’ object equal to it. More tomorrow.
  • Meeting with all the players in the problem server space. It looks like our SSL proxy server never existed, so instead we’re going to have to write some code that takes care of p12 credentials. Wrote up a note to Bill D. that explained this and CC’s to Brian.

Phil 8.23.11

8:00 – 3:00, 5:00 – 6:30 VISIBILITY

  • Added Dong’s iPhone and iPad to the device list
  • Uploaded HelloWorld to SVN, and added a Mobile folder. Certs and provisioning profiles are in there
  • Worked out the initial thoughts on VisibilityMobile with Dong and Mike
  • Homework: http://help.adobe.com/en_US/flex/mobileapps/developing_mobile_apps_flex.pdf
    • TabbedViewNavigator.selectedIndex to navigate arbitrarily through a view stack
    • Touch events – Events generated on devices that detect user contact with the device, such as a finger on a touch screen. Touch events include touchTap, touchOver, and touchMove. When a user interacts with a device with a touch screen, the user typically touches the screen with a finger or a pointing device.
      Gesture events – Events generated by multi-touch interactions, such as pressing two fingers on a touch screen at the same time. Gesture events include gesturePan, gestureRotate, and gestureZoom. For example, on some devices you can use a pinch gesture to zoom out from an image.
    • http://www.paultrani.com/blog/index.php/2011/02/touch-events-and-gestures-on-mobile/
    • When developing any mobile application, you can use the Spark Application container, even for phones.
    • Security hole?: When enabled, session persistence writes the state of the application to disk using a local shared object named FxAppCache. Your application can also use methods of the spark.managers.PersistenceManager to write additional information to the local shared object.

FP

  • Sent a note to Stewart asking what to do next.
  • He asked me to send in the writeup and he’ll let me know what they need next.

Phil 8.22.11

8:00 – 11:00 FP

  • Working on the KF patent. Going to add in the vibro-acoustic component.
  • Done reworking the provisional. Need to talk to Stewart, but he’s out till tomorrow

11:00 – 6:00 VISIBILITY

  • Back to getting the mobile app Hello World up and running. Done!
  • Spent some time on the smartphone concept with Brian

Phil 8.19.11

8:00 – 11:00 VISIBILITY

  • Checked in my changes
  • Deployed the new version of VisibilityScriptingServer to fgmdev.
  • Fixed (avoided, actually) a bug(?) setting(?) that had the mySql on fgmdev rejecting the hugedata table create command:
    • Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs
    • Lowered the number of columns from 300 to 150, and the problem went away. Dong did find that he could create the table outside of visibility_dev2. Neither of us is sure why that is, and have decided that it’s not worth pursuing.

Tom DeVito 8.18.2011

Start: 9:45

  • The Music instrument shield for Arduino (http://www.sparkfun.com/products/10587) came today.
  • It uses two digital pins so it should be possible to control multiple midi shields with one arduino.
  • The demos for the shield, use the NewSoftSerial library.  This class allows for easy serial communication through any of the digital pins instead of just certain ones.
  • Once it was wired, I hooked it up directly to the high watt amplifier.  The signal is a bit weak and I had to turn up the amplifier very high to get an audible sound.  The sound that was produced was very clear.
  • Hooking it to the 1W pre-amp should help with the volume issue as well as adding decoupling capcitors between teh amp and the midi board should eliminate the static hum.
  • The midi board produces stereo sound.  Since each finger only requires mono it may be possible to control each channel individually and use one board for two fingers.
  • Volume control may be better controlled at the midi chip with the pre-amp giving it a steady amplification.  I will have to try it once everything is set up to work with the pre-amp.

End: 6:00

Mike 8.18.2011

Started working on moving the report viewing flex application to the new build structure and ran in to some problems building modules with maven.  So I decided to find out why the files built with maven differ so much from those built with flash builder.  It turns out to be quite a rabbit hole.  Here’s the best article I’ve found so far:

http://workflowflash.com/122648/make-flex-mojos-maven-project-behave-like-flashbuilder.php

Basically you have to add the following command to your ‘additional compiler arguments’ in flash builder, ‘-dump-config filename.xml’, and add the following to your maven build, ‘<configurationReport>true</configurationReport>’.   These will output files detailing all compiler arguments, linked libraries, etc.  Then the name of the game is make one look like the other.  Each file of compiler arguments in only about 700 lines long… so how hard could it be.

Here’s the latest pom:

http://www.fgmdev.com:8081/nexus/content/repositories/snapshots/com/fgm/webdesk/webdesk-client/0.0.2-SNAPSHOT/webdesk-client-0.0.2-20110818.180855-9.pom

Phil 8.18.11

8:00 – 5:30 VISIBILITY

  • Working on the MySql packet issue: http://dev.mysql.com/doc/refman/5.5/en/packet-too-large.html
  • This is where you put the option files for windows version of mySql: http://dev.mysql.com/doc/refman/5.0/en/option-files.html
    • It appears that for windows, the file is here: /Windows/my.ini
    • This didn’t work as I was starting and stopping mySql through the xammp control panel
  • That didn’t work, possibly becayse of xampp? Added –max_allowed_packet=16M to the mysql_start.bat file
    • Didn’t work either
  • Tried adding argument to /xampp/mysql – nope
  • Ran the mysql_start.bat file from the command line. That worked, so there’s something that xampp is doing in the control panel.
  • New error: 4484 [main] ERROR com.fgm.ScriptEngineServer.PublishSupportObject  – Data truncation: Data too long for column ‘content’ at row 1
    • Changing to table_publish.content to longblob fixed that. (alter table table_publish modify content longblob;)
    • Changed code to create content as a LONGBLOB
  • Back to setting xampp service arguments. Trying /xampp/mysql/bin/my.ini And to be thourough, I’m going to bounce the box.
    • And that worked just fine. Whee!
    • Need to install changes on site and test. Done and working
    • Need to change code and settings on fgmdev. Done but not tested

Dong Shin 08.17.11

  • PPM Changes
    • fixed FY Totals not showing in Financial Status
    • FMP and Invoices window doesn’t come up when the monthly field changes from some value to empty
    • FY Totals show on Create/Edit Project
    • fixed % calculation in Financial Status

Phil 8.17.11

8:00 – 4:00 VISIBILITY

  • Working on VSS. I’m assuming that the problem has to do with the putting of large result xml in the database.
    • Added a PublishTest class. If run standalone, it will create a table (visibility_dev2.huge_table) of varchars, ints and floats that defaults to 300 columns by 1000 rows
    • got the error we saw yesterday: 13227 [main] ERROR com.fgm.ScriptEngineServer.PublishSupportObject  – Packet for query is too large (13226095 > 1048576). You can change this value on the server by setting the max_allowed_packet’ variable.
      • The above causes the sf.publishXml(“/hugetable.xml”, xmlStr); to fail, at the INSERT command in PublishSupportObject.publish()
      • XML is valid if written to a file.
      • Looks like the first thing to try is to set the packet size to 16,777,216 and see if that works

Tom DeVito 8.16.2011

Start: 9:40

  • including math.h in the main sketch fixed the mysterious bad call to the round function.
  • To make libraries which use the arduino core functions, the WProgram.h has to be included
  • If your library uses any of the extended arduino libraries, you have to include them in both sketches
  • Slowly fixing run time errors for sound and messaging classes.
  • Was reminded that you can not do anything in the constructor of a class on the arduino side.  Instead you have to have a separate init method.

end: 6:00

Dong Shin 08.16.11

  • PPM Demo @ NSA
  • list of PPM bugs
    • FY Totals not showing up on Create Project Panel
    • Do not show FMP when monthly data changes to null
    • Funding Amount from Funding Request not showing in Financial Status
    • incorrect % calculation in Financial Status
    • PM Actual Outlays should come from monthly data, use it as default. If it is changed from Financial Status, keep it separate from the monthly data
    • add search to appropriate panels
    • embed/upload files

Phil 8.16.11

7:00 – 4:00 VISIBILITY

  • Demo day. Need to deploy VSS and try to get some reports running
    • Got VSS running, though it choked generating data for the ingestor (Possibly not even getting so far as putting the data in a table). This could be due to the size of the table, or something having to do with the way the data was formatted – there were xml errors according to the browsers we used to view the data. Going to try making some large data sets tomorrow and then doing pulls against them to see what happens.
    • The demo went surprisingly well. The audience was eager to get their hands on the product and to extend it. We could be looking at a lot of work. We’ll see how the funding goes…

Tom DeVito 8.16.2011

Start: 9:45

  • Got the new exciters today.  They are not too big and have much better tone and volume.
  • Need to add music to my laptop tonight so we can see how it sounds with music.
  • Working on getting the console to print toStrings for various classes.  Fixed many errors but am stuck on error with the round function of the math.h file.  Not sure where its being called or what is causing it.

Dentist 3:30 -5:00

End:7:15

Phil 8.15.11

7:30 – 6:00 VISIBILITY

  • Talked to Dong about what I saw on Friday. The problem as I saw it didn’t seem to appear, but there may be something tied up with the way the adjusted budget is retrieved?
  • Updated VisibilityScriptingServer. Some weird problems with Tomcat that fixed themselves.
  • Apple Store support at 5:00!
  • Out at lunch to do parent financial stuff

FP

  • Tom’s shipment from Sparkfun came in.
  • Need to call Stewart about patent status 240 864 2420 – done. He’ll send a writeup of costs and the latest provisional
  • New speakers appear to work really well