Category Archives: Phil

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.

Phil 2.26.2010

7:30 – 4:00 (about 2.5 hrs on FP)

  • Got a markup on the documentation back from JW
  • Discovered that we lost the date information on the table list. Need to put that back – done. That caused a problem with the name matching for viewing permissions, which needed to be fixed, too.
  • Change “Widget Finder” To “Panel Finder” – done
  • Breadboard the motor control – started
  • Order two (smaller!) bipole motors – done (http://www.phidgets.com/products.php?category=23&product_id=3307)

Phil 2.25.2010

7:30 – 9:30, 1:30 – 7:00

  • Pushed the VISIBILITY web domain ticket along
  • Tried to get a new badge, but the system was down
  • Went home and watched my granite counters come in
  • Working on Jython
  • Adding censor. Need to handle parsing comments. Grrr. Done, aftour a detour through regex land. No idea why this didn’t work: ^sMyStrings. Had to make two separate tests, one for the beginning of the line, one for everything else.
  • Bespin (web-centric development) is coming along: https://wiki.mozilla.org/Labs/Bespin/DeveloperGuide

Phil 2.24.2010

8:00 – 5:30

  • Working on moving scripting framework from sandbox to development – done. Had to upgrade from Jython 2.5.0 to 2.5.1 to work with the javax.script package.
  • Added junit to the ScriptRunner class. What’s happening to me?!
  • Need to add some hooks for slide shows
  • Wrote up a description of current Feldman Project work for Mike Fortier
  • Talked to Dong about the scripting engine. We came up with the idea of a “censor” that would only allow access to specified classes, or even prevent all class access, while placing the allowed “from” clauses in before the code runs…
  • Need to see how to read and publish to URLs.