Author Archives: pgfeldman

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

Mike 8.12.2011

  • Mavenized the webdesk-examples project and added it to the hierarchy.
  • Added an ‘all’ profile to the webdesk maven build since the skins and examples project can take awhile (over 1 minute each) to build, the default is not to build these but instead use existing artifacts. You must run something like ‘mvn clean package -P all’ in order to rebuild everything.
  • Also, by default, the examples are not included in the final war, you must again use the all profile
  • I noticed Hudson hasn’t been rebuilding my stuff as I check it in, apparently you have to turn SCM polling on and give it a schedule.  I set webdesk suite to check svn every 5 minutes after the hour

Phil 8.12.11

8:00 – 4:30 VISIBILITY

  • Tried downloading xcode again. No luck. Took a screenshot of the app store and logs, and sent that along with the all the system logs that seem to pertain. Not impressed with Apple right now.
  • Pinged Greg about getting BIAB footage. He thinks he can have it in on DropBox Monday. That’s a big file though… We’ll see?
  • Spent. The. Entire. Morning. On the phone with Apple support.
  • Deploying Dong’s fixes.
  • Saw some odd behavior with how percentages were being calculated. It looked like the calculation was 100% – percentage, but I’m not quite sure. Will pull up a spreadsheet and check the numbers on Monday.

Dong Shin 08.12.11

  • PPM Changes
    • Total FY Budget editable and modified budget_amounts table to support it
      • ALTER TABLE `budget_amounts` ADD `status_amount` FLOAT NOT NULL DEFAULT ‘-1’ AFTER `amount`
    • fixed total calculation not working..
    • saved scripts
      • projects_overdue.py, projects_under_budget.py, managers_under_budget.py

Mike 8.11.2011

  • Worked with Phil to create a document detailing how to set up a new m2eclipse project
  • Figured out to to compile CSS files to SWFs using maven, then how to do multiple ones in one maven project, then how to copy them to the WAR
  • Added a webdesk-skins project to the webdesk hierarchy
  • Moved the webdesk configuration files and other client assets in to the webdesk-webapp project so they are all in one place instead of duplicated in 2

Phil 8.11.11

8:00 – VISIBILITY

  • Gave Dong the screenshot printout with the notes from yesterday
  • Going to try making an apple cert
    • Generated a cert request using the keychain  – and it has arrived!
    • Looks like you need xcode to get the device ID, and that’s not installing.

Dong Shin 08.10.11

  • PPM Changes
    • Added check for Outlay <= Obligation
    • when Outlay = 0 and Obligation = 0, don’t show it in Financial Status Form
    • added Contract Value to Financial Status Form
    • disable save and warn for Outlay  <= Obligation
  • Going through Maven Architecture doc
    • found that I have 0.12 M2Eclipse, couldn’t update… ended up uninstalling old and install the latest thru Eclipse Marketplace