Category Archives: Phil

Phil 9.1.11

8:00 – 5:30 VISIBILITY

  • It’s now dark at 5:45. Time for the alarm clock. Sigh
  • Bill D. is off for the rest of the week, so I get two full days of development. Yay!
  • Adding ESRI mapping to VisMob
  • Got a scrolling time widget working. Need to do a date widget and then figure out how to generalize. Maybe. It’s not much code.

Phil 8.31.2011

8:00 – 4:00 VISIBILITY

  • Continuing with the wireframes
  • Got the charts in a ViewStack. It turns out that you need to explicitly include the mx.swc and the sparkskins.swc.
  • Making sure that all this runs on the phone still – and it does! Dropdown menus don’t work though. They don’t seem to fire  events.
  • I think it should be possible to make a popup rollover dialog using lists. Will try that tomorrow.
  • Had a chat with Bill D. He’s going to try to get us a couple of desks at NBP 324.

Phil 8.30.11

7:30 – 5:00 VISIBILITY

Phil 8.29.11

8:00 – 4:30 VISIBILITY

  • We have power!
  • Found out why the map app isn’t working. The Google maps flex swf tries to download another swf which iOS doesn’t allow. Here’s the workaround: http://cookbooks.adobe.com/post_Display_Map_in_iPhone_App-18959.html
  • Got the workaround behaving. Also found a new book on iOS/Flex development – http://oreilly.com/catalog/0636920021117. I have the PDF, if anyone’s interested.
  • Walked through the creation of VISIBILITY MOBILE. It will get its data from a remote object that talks to our DB or Google Spreadsheets. Should be very cool

Phil 8.26.11

7:30 – 4:00 VISIBILITY

  • More Google Maps
  • Downloaded the SDK, which contains the relevant SWCs from here: http://code.google.com/apis/maps/documentation/flash/
  • Uploaded map_1_20.swc and map_flex_1_20.swc to the fgmdev repo
    • The SDK includes two SWC files: a Flex version for use within FlexBuilder (or with the free Flex SDK), and a non-Flex version for use within Flash CS3. The Flex *.swc is denoted with a _flex suffix in the filename.
  • Can’s get the map to load in the phone as it does on the emulator. Stripping out as much as possible. Going to install the debugger components next, I think.
  • Went over with Brian to talk to Bill D. about funding. I laid out who has what skillset to get what they want done, which is more than they want to fund, but I think they’ll go back and re-examine.

Phil 8.25.11

8:00 – 3:30 VISIBILITY

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.

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

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

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…

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

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.