Category Archives: Phil

Phil 12.27.2010

8:00 – 4:00 VISIBILITY

  • I hereby declare that this is the festival of Contractorious. It covers the time between Christmas and New Years at Government facilities
    • Monday – The Festival of Light Traffic: Here we revel in the ability to drive anywhere at any time, at or above the posted speed limit
    • Tuesday – The Celebration of Easy Parking: In which we park close enough to the buildings we work at so we do not freeze to death in our sojourn across the Parking Lots Most Remote
    • Wednesday – No Meeting Day: We would gather to celebrate this, but it might be misinterpreted as a meeting
    • Thursday – The Day of Just Showing Up: We celebrate by just making it in. Observing this by napping at the desk or by leaving early is acceptable.
  • Had some scary flashbacks to text flow containers. Did find a useful article: http://devgirl.wordpress.com/2010/04/26/flex-4-and-the-text-layout-framework/
  • Starting to try some test applications with the DJ_Project
    • SimpleWebBrowserExample – Too cool. Handles flash and everything
    • Walking through the code for this example.
    • Working on the HTML Editor example. I needed to go out and get the zip files for CKeditor, FCKeditor, and TinyMCE editors, and add then to the classpath so that the app could find and launch them. Not sure how it’s doing that yet. I’m gussing that it’s related to the same way that the browser is incorporated. Not sure that it matters for what we’ll be doing, which is more along the lines of raiding eclipse for components and then adding them in in a more direct (i.e. integrated to work with compiler/debugger output). We’ll see.
  • Last thing to check out is a way to communicate between the IDE and the Client. Aaron suggested that Google Protocol Buffers were cool, easy and fast. Looking into them now.

Phil 12.23.2010

8:00 – 4:30 VISIBILITY

  • Spent some more time looking at firefox plugin development.After a long talk with Mike, tentatively decided that it was better to go with the DJ Project approach and build a Java wrapper. Spent the rest of the day finding the CVS repo, reading documentation and pondering.

Phil 12.22.2010

7:30 – 4:30 VISIBILITY

  • Tentatively scheduled my Spider training for Jan 5 at 11:30
  • Looks like you use the NET command to add users, etc using the command line. There are lots of options:
  • Once the user is created, then mkGroup -l > /etc/group and mkPasswd -l > /etc/passwd have to be run to make cygwin aware of the new users. Also, new home directories need to be made. Then the new user can telnet in and everything works fine.
  • Spent a good deal of time looking at making sure that whatever framework we used could support debugging client code. I think the the choice is reall between two options. Either the debugger (and some/all of the dev environment) browser, or the browser runs in the dev environement
    • Running inside the browser means something like Firebug. They have the flashbug plugin, and my guess is that it wouldn’t be too hard to put in additional pieces if we needed too.
    • The other option is to run the browser in the IDE. The DJ Project seems to ba a framework that would support this

Phil 12.21.2010

7:00 – 4:00 VISIBILITY

  • Now that the basics of the process-based interaction work, I’m going to make it a useful member of the program family instead of the unstable CPU hog it currently is.
    • Added sleep(10) to the processing loops and made everything work with buffered inputs and outputs. CPU usage is unnoticeable, and responsiveness feels the same.
    • Added watchers for the three threads so they all shut down when the user types “exit”
    • Can navigate around through the OS, run maven and other cool things 🙂
    • Cleaned up the user input so that it is split from the thread that watches the keyboard and the method that sends the command to the process.

On a side note, went out for a lunchtime ride and averaged 18.2, including the parking lot. A nice, summery pace on a day with a 37 degree high.

Phil 12.20.2010

8:00 – 5:30 VISIBILITY

  • Ingested some new customer data that has trending! Now I can demonstrate that feature 🙂
  • Working on the ExecShell class. It looks like I should be using ProcessBuilder instead. It was introduced in Jva5 and is a bit more sophisticated. Ideally, I need to be able to use the spawned process (shell?) to run multiple commands, while keeping track of the current directory. Going to try to run the “cmd /k” option, then interact through the processes input, output and error streams.
  • Moderate flailing on the above. Made some progress. Found the following to try tomorrow:

Phil 12.17.2010

8:00 – 4:30VISIBILITY

  • Meeting with the new TD of S2F, who’s name I can’t recall. It went well. He want’s a diagram of the tables in PPM to figure out what he can do with them. He also liked the idea of being able to use the scripting engine to read and write RESTfully to a Sharepoint DB. Something that he’d like developed is PKI-enabled opening of a dashboard or slide show in VISIBILITY. More as this progresses.
  • Spent the morning getting a printout of the structure of PPM.
  • More work on the Telnet client/OS interface framework

Phil 12.16.2010

7:30 – 9:30VISIBILITY

  • Meeting with S33P folks Thursday the 23rd at 11:00
  • Brought in my other old windows box to Linuxify

9:30 – 12:30 FP

  • Finishing paper
  • Ordered an audio oscillator and small amplifier kit. I had the thought last night that sound plus vibration could either augment the kinetic interaction, or possibly replace it. If that’s true, then it’s possible that we might be able to get by with simple force sensitive resistors, which would be pretty cool…

12:30 – 5:30 VISIBILITY

  • Working on commons-net telnet sandbox application
  • Hmmm. MavenAssist isn’t creating eclipse-compatible jars. Looking into that.
  • Success!!!  To get the listing below, the program started telnet, logged in to 127.0.0.1, and sent the command ‘ls -la’ to the Cygwin intetd:
  • drwxr-xr-x+ 1 phil.feldman ????????       4096 2010-12-15 13:52 .
    drwxrwxrwt+ 1 phil.feldman Administrators    0 2010-12-15 13:26 ..
    -rw-------  1 phil.feldman Administrators  328 2010-12-16 17:02 .bash_history
    -rwxr-xr-x  1 phil.feldman ????????       1150

Phil 12.15.2010

8:00 – 4:00 VISIBILITY

  • Looks like the PPM new features meeting will be here Tuesday or Wednesday of next week at 11:00
  • PPM DB still growing and being used. After importing the data for Masha, no activity. Hmmm.
  • Let’s see if I can get the Cygwin telnet functioning…
    • Yes, after flailing until 2:00. In the end, I deleted the current install and pulled the version from the gatech ftp mirror. I think that the version at vatech may be corrupted.
  • Starting with the java user/telnet manager. I think it will need to do the following:
    • Create/Delete users. Note that this will have to be OS-specific.  In addition, in the case of cygwin on Windows, the user account will have to be added within cygwin as well by running mkpasswd as admin before the user can be logged in through telnet
    • Open a telnet channel on 127.0.0.1. Commands and responses go through this channel. For example “javac foo.java” is the command and error messages from the compiler are the responses.
    • Copy files from the client to the appropriate directory on the server (and with the correct permissions). This may require a pwd command to be run to determine where the user is. Or we do this all graphically (preferred), and keep track on the client
  • Spent some time pondering how apps might deploy using dynamically created virtual servers. Looks surprisingly straightforward?

Phil 12.14.2010

7:30 – 3:30 VISIBILITY

  • For the record, I’d like to state that it is too damn cold.
  • Fixed Masha’s data
  • Had a conversation with Christine about PPM. It looks like they are going to need a new section to track “real-time” inflows and outflows of cash from projects. Head’s up, Dong! Working on scheduling a meeting to go over things in detail.
  • Adding the Cygwin Telnet/Ftp server to my machine. So far, here are the steps (from http://www.wiley.com/legacy/compbooks/nilsson/InetdunderWindows2000.doc):
    1. Run “mkpasswd -l > /etc/passwd” at the Cygwin prompt.  This creates the passwd file which is similar in format and function to the Linux passwd file.  Run mkpasswd with no parameters for a usage summary.  You might need to add a -d parameter to grant domain users access.
    2. Edit /etc/passwd and delete everything but the accounts you want to have access permissions.  (In most cases, you’ll end up with only two lines in this file — your account and Administrator.)
    3. Make sure that your home directory (ie, c:cygwinhomephil.feldman) exists.
    4. Right-click “My Computer” and select Properties.  Click the “Environment Variables” button on the “Advanced” tab.  Add a new system variable…the name is CYGWIN and the value is “ntsec” (no quotes).  This tells Cygwin to use your Windows 2000 security.
    5. Add C:CygwinBin to the PATH system variable.  (Stick it at the end, separated from everything else with a semicolon (“;”)).
    6. Run “/usr/sbin/xinetd.exe –install-as-service”.
    7. Reboot!
    8. Well, that didn’t work. Started up the Windows Telnet server for now.  That’s just a matter of turning on the service.
  • Looking at the apache.commons-net package as my telnet interface

Phil 12.13.2010

8:00 – 4:00 VISIBILITY

  • Spent some time with Brian on site this morning working out the details of what our server needs
  • Looking at ways to deal with interacting with the shell as a way of dealing with the server. Developers write code as text files that are compiled using whatever tools we integrate. Files are saved as files with some kind of namespacing. The key to all this is to have some kind of workable interface to the OS that is essentially a terminal window. From there we load commands, parse results, use command-line debuggers, etc.
  • Found a java telnet server that handles all the issues of sending commands to the OS and getting responses (and errors) back. It’s built around the same Runtime.getRuntime.exec() command that we are using in MavenAssist, just a lot more complete. It’s here: https://sourceforge.net/projects/pwts/. In addition to building a remote object around it, we should refit the version in MavinAssist.
  • Talked to Anne about Masha’s data woes. Promised to take a look at it tomorrow

Phil 12.10.2010

7:30 – 4:30 VISIBILITY

  • Deployed Dong’s latest version. It still needs the following:
    • Appropriations Editor:
      • Needs Save/Don’t Save/Cancel for panel and appropriations closing
      • Columns should be wider. We have the room, and some of the text is falling off the edge. Also, add tooltips for cases wherethe text is too wide
    • User Management and Creation
      • Save/Don’tS ave/Cancel when panel is closed
    • Contract Management
      • Save/Don’t Save/Cancel when panel is closed
  • Backed up PPM
  • Talked to Mike about handling tooltips
  • Talked to Dong about the web-based IDE. He decided that he’d rather do the DataManager, so I’m writing up the IDE concept.

Phil 12.9.2010

7:30 – 11:30 VISIBILITY

  • Deployed the new PPM. Found a couple of bugs
    • The “screen resolution” value is not showing the browser window size, it’s locked on the (fixed) application size. If we can’t figure out how to calculate browser size, we should probably delete this
    • The “Save? Dialog” that gets launched needs to match the new “Save/Don’t Save/Cancel” dialog. This should be the same for every save dialog in the application.
  • Backed up everything – another 1k of data
  • Starting the DataManager class

11:30 – 3:30 FP

  • Finished transitioning the code from prototype 2 to prototype 3.
  • Put the fingers back on an worked with Tom on getting everything wired up and running. In the process, we probably killed the thumb and ring finger. At this point, the interface has the pinky and L/R palm control working – much fixing to do
  • Demo’d for class, which went well.

Phil 12.8.2010

7:30 – 11:30VISIBILITY

  • PPM db continues to grow. Forgot to bring in the new version today though.
  • Talked to John W. about hosting PPM on his servers. He had some (potentially show-stopping) issues that we’ll need to work through
  • Gave Christine some guidance on Mavenizing AirFileImageApp.
  • Got the DataClass2 working. looks like having a dynamic class gives pretty much everything that we need. There will be a public method to get type information for table construction

1:30 – 5:30 FP

  • Pulled apart the old control code and set it up to work with the new setup

Phil 12.7.2010

7:30 – 4:30 VISIBILITY

  • An infamous day
  • More than 2k of data added to PPM yesterday. They are a busy bunch. No complaints, either.
  • Working on the DataObject class. After beating on Proxy, realized that I might be able to do everything I want with a dynamic object. Trying that now
  • Spent some time doing QC on PPM with dong. There is a new version for me to bring in.

Phil 12.6.2010

7:30 – 1:00 VISIBILITY

  • No new data today on the backups
  • Talked to John W. He’s still working on getting a meeting set up for this week
  • Did my security awareness training
  • Discovered a bug in the AirFileImageApp that had to do with bad sequencing of events. Fixed.
  • Working on the Dynamic object. Got it so that the object can watch any declared variable. Working on rolling in the dynamic part.
  • Call with Anne to discuss CMM meeting and getting some additional data for the data visualizer