Category Archives: Phil

Phil 3.19.2010

7:30 – 5:30

  • Added S2A role and a bunch of new users for Anne
  • Deployed the documentation
  • Spent some time with Dong working out how to handle the linkages in the data laid out by Jim yesterday. Here are the records as I have in my notes (additionally, note that each field(!?) needs to be able to store a STATIC/DYNAMIC flag and comments. My initial thought is that these fields default to some value, and any actual change is stored in a FIELD_STATE and COMMENTS table, since I’m guessing that they will be used infrequently:
    • Person Record
      • Last Name
      • First Name
      • Unclass Phone
      • Class Phone
      • JWCS email
      • SIPR email
      • Unclass email
      • Title (i.e. Project Manager, TRP Member, TST Portfolio Manager, etc)
      • Secretary for (Person Record/Cofund Record combo? Multiple)
    • Project Record
      • Project Number (I’m guessing this is a string)
      • Project Name
      • Project Description (can have classified parts)
      • TST Portfolio Manager (Person Record)
      • Co-funds (1+ Co-Fund Records)
    • Cofund Record
      • Project Manager (Person Record)
      • TRP Member (Person Record)
      • Financial Analyst (Person Record)
      • “Secretaries” – people who are authorized to enter data for someone else (Person Record)
      • Lab Location (City and State)
      • Period of Performance (Start and End)
      • Funding Source(s) (Funding and UFR Records)
      • Unfunded Requests (Funding and UFR Records)
      • Supplemental (Funding and UFR Records)
      • Contract (Contract Record)
      • MIPR Number
      • Invoices (Invoice Record)
    • Funding (And Unfunded Request) Record
      • Funding Source
      • Name
      • Amount
      • Remarks
      • Fiscal Year
    • Contract Record (For prime only)
      • Contract Number
      • Vendor Name
      • Vendor City
      • Vendor State
    • Invoice Record
      • Number
      • Date Sent
      • Date Received
      • Amount
  • Rolled in Mikes icon-drawing changes
  • Going to try to spend a minute or two on script handling. Hey! Got it working!

Phil 3.18.2010

7:30 – 4:30

  • 2:00 technical status meeting with Jim Murphy – changed a lot. Notes tomorrow.
  • Working on getting all the script pieces working to produce a script that can take data from dong’s db and publish an xml mashup that can then be read into Visibility – stopped to rush around madly for demo
  • Found a bug in trend widget(?) where data

Phil 3.17.2010

8:00 – 4:00

  • And a happy St. Patty’s day to you, too 🙂
  • Working with getting jetty integrated. Having some trouble with the server going off in a loop and hanging. That’s fixed. Now if I can just get a servlet to terminate.
  • Meeting with Anne at 2:00. Some kind of presentation. Well, kind of. I got sent to the wrong room, so had a nice tour of the campus
  • Wired up one set of strain gauges

Phil 3.16.2010

8:00 – 4:00

  • Working on getting Jetty running.
    • First, don’t add the jetty-distribution as a dependency in the pom file. It’s a zip file, and maven doesn’t know what to do with that during compilation
    • Got the simple server example running. Whee!
    • It looks like the minimum set of jars are the jetty server jar and the jetty servlet jar. Once these were in, I created a server (one line), then created a context (two lines), added a handler for the context, and then added three servlets that have three different urls. This is all working.
    • Tomorrow, figure out how to delete a servlet, then roll into the Facade class

Phil 3.15.2010

7:30 – 4:30

  • Meeting with TDTA(?) and Mike C at 1:30
  • Strain Gauges are mounted and appear solid. I need to wire up and test before Friday. Well, I tried wiring one of the gauges, and the thing just popped off. Going to try the teeeeeeeeeeeeeeeny hair gauges.
  • Need to tell Tom to add defaults and printing to StringEnum and derived classes
  • Updated MvnAssist to attribute credit, and add some Cliff notes.
  • REST from jython inside the interpreter works!
  • Damn. Jax-ws only lets you have one binding per port. This means that every item that is published in the current system has to run on a separate port, which is stupid. Going to look at embedding a jetty server in the app instead. (http://wiki.eclipse.org/Jetty/Tutorial/Embedding_Jetty)

Phil 3.12.2010

8:00 – 4:00

  • Built a framework to hold two stepper motors. Going to attach some strain gauges this morning. Not sure if they’ll be ready by this afternoon. We’ll see.
  • Need to add a higher level controller to coordinate the two motors
  • Need to submit for reimbursement

Phil 3.11.2010

7:30 – 4:00

  • Woke up at 4:00 this morning. Urk.
  • Made some arms for the stepper motors. Need to put strain gauges on them today
  • Need to clean up the mess I made hunting down the r != n problem yesterday
  • Let’s see what happens when I try to run a more substantial hunk of code… Success!
  • Turning on the restful services. Done. Tested with jUnit, but haven’t tried to call it with jython. Kind of afraid to this late in the day. I think I’ll try tomorrow

Phil 3.10.2010

7:30 – 4:30

  • Yep, John went to the hospital on Monday.
  • After finding the bill for the space on the door yesterday, Dong and I are getting nervous about the possibility of getting evicted – I.e. servers on the street. We’re thinking of moving our repositories off of the local servers and into the cloud. Maybe a dreamhost account (root account, ftp, svn, trac, wordpress and joomla)? Checked and found that vis-n.com is available
  • Adding sampling to the scripting interface. Hmm. Not sure if I needed it after all. Turns out that the problem was that TextArea uses ctrl-m (CR) instead of ‘n’ to separate lines. Jython didn’t like that. Going to clean up tomorrow.

Phil 3.9.2010

8:00 – 5:00

  • Dong found a ‘past-due’ notice taped to the door this morning
  • Got some data to try entering
  • Working on script running today – everything works, but the method returns before stdout is filled in. Going to have to poll for it…

Phil 3.8.2010

7:30 – 4:30

  • Nothing new at the client today.
  • Putting together the Scripting webapp.
  • Login (the Flex side) is done.
  • Working on the scripting layout.

Phil 3.5.2010

8:00 -4:30

  • Looks like my desk will be moving soon at the customer site
  • Tried to log into the demo this morning. Couldn’t reach the meeting site because of certificate errors, and could call in because the conference system couldn’t parse my phone’s keypad entry
  • Integrating ConfigManager and a bit of user management
  • Working on building an RCS hierarchy

Phil 3.4.2010

7:30 – 4:00

  • I wonder if I’ll ever be able to fill in my timesheet again…
  • Setting up the Java (.war) and Flex sides of the VisibilityScripting project
  • This process needs a wizard…
  • Adding user login and integrating ConfigManager

Phil 3.3.2010

8:00 – 4:00

  • Mike C added a new table to the VIS2 to handle what equipment is at what desk. Ingested and displayed smoothly
  • More Jython. Working on pulling a table response apart. It’s actually pretty neat with Jython in that you can use java data structures directly
  • And now I have a Jython script getting data out of a database using JDBC and building an xml document. Neat!
  • Next Steps:
    • Set up a flex-based editor that talks to two databases – one for the scripts, and one for the data
    • It should be possible to test run a script to a “console” out to see if its working. We need to tie this into the alerting mechanism somehow. I’m thinking that the scripts are run “in production” from the FormBuilder system. This way, the when and why a script is run can be chosen easily(?) by the user. The actual content of the script is hidden.
    • Script is stored in DB and run through the Scriptrunner as a string. Output is logged?
    • Script table needs an id, a name, a description, the script, and an author(s)

Phil 3.2.2010

7:30 – 3:30

  • Spent some time going over the “Butts in Seats” file that he’s going to be generating
  • Sent Tom Herbert info on NetworkWidget
  • More work on Jython. Things should go better now that I have the proper jar file.
  • Uploaded standalone jython jar file to our repo
  • Setting up a python development environment to test code. Getting Eclipse 3.5.2 and pyDev (http://pydev.org/)
  • Eclipse 3.5.2 is now in the subversion repo
  • Looking at the UMD HCC PhD – http://www.is.umbc.edu/programs/graduate/HCC_PhD_program.asp

Phil 3.1.2010

7:30 – 4:30

  • Tried to deploy the new version of VISIBILITY today but the table names didn’t match. It appears that the parsing of the table names was different from what was stored – possibly a space. Added better trimming of names and logging to make sure. Going to burn a new disk and try tomorrow.
  • Back to jython. Adding the facade methods to get to the database and read and write xml – got the facades in place. I think that the code editing app should only be runnable by administrators (or some similar role) as opposed to testing the role of the user (who may not have written the script). Do we need to track the people who have touched a script?
  • Not getting the xml pythin library importing correctly. Going to spend some time with the jython.bat file to see what’s being included. AND HERE’S WHY: You have to setup with the “standalone” install, that has a jar file with everything you need. If you install the default, you’re screwed. Sigh.