Author Archives: pgfeldman

Mike 3.27.2012

  • Backups this morning, still no DB changes
  • The help desk finally got back to me and I now have access to our production machine
  • I started loading software on it:
    • JRE 7u3
    • Xampp 1.7.4?
    • Tomcat 7.0.23
    • Configured tomcat for 2-way SSL on 443, it worked locally but there seem to be some outside firewall issue, I submitted a ticket
  • Back at the mill working on PKI stuff
  • Auto-login is now working for PPA.  Working on updating PPM but it was written in Flex 3 and has differently log in procedures so it be a straight copy/paste.

Phil 3.27.12

8:00 – 8:30 FP

  • Tried running the hand code on my laptop but ran into DLL problems. It was the debug version, so I recompiled the release version today. Let’s see if that makes it easier.
  • A useful page explaining all this, including that debug dlls are not redistributable.

8:30 – 4:30 CSIP

  • Ok, now that I’ve got the examples compiled and running (In Swing! How quaint), let’s see how to use this thing.
  • Chapter 2. Use cases and examples
  • Sent Ed a status update
  • Ok, I got the Drools Developer’s Cookbook, and it looks like I was doing this in the wrong order. Going to start over with the rules engine (Expert)
  • Chapter 1. The Rule Engine
    • An object type constraint plus its zero or more field constraints is referred to as a pattern. When an inserted instance satisfies both the object type constraint and all the field constraints, it is said to be matched.
    • Downloaded drools-distribution-5.3.0.Final, which contains example code. Some problems compiling, but the HelloWorld works, so we won’t worry for now…
    • This process is called inference, and it’s essential for the working of a Stateful Session. Stateless Sessions typically do not use inference, so the engine does not need to be aware of changes to data. Inference can also be turned off explicitly by using the sequential mode.

Mike 3.26.2012

  • Usual backups, the server is running well but the database isn’t changing
  • Contacted Jim Griffe regarding several things:
    • Dong’s VR – it got refreshed within hours and is good through 4/26 now
    • COGNOS data that needs to be integrated but hasn’t been given to us yet
    • Progress regarding deployment, the tool is up and running but unfortunately I can’t make anyone use it
  • Jim got the VR and assigned Tangie the rest
  • The help desk got back to me about connecting to our other VM, my remote desktop session are still timing out.  I replied essentially asking “Have you tried connecting to this machine? Is it plugged in and turned on?”  He didn’t reply before I left…
  • Working on auto-login PKI integration

Phil 3.26.12

8:00 – 10:00 CSIP

  • Starting to dig into Drools.
    • Starting documentation
    • Attempting to install the Drools Eclipse Plugins from the amazingly sullen JBoss update site
      • Well, at least it’s started updating. Heading off to class with high hopes of progress upon my return!
      • Yay – downloaded and installed
  • I came across this over the weekend that looks like an eclipse-based graphical rules engine that could be used as a reference case. It’s from Repast, a system that I did quite a bit of work with back when I was consulting for UMD/ONR. Looks like they’ve been doing quite a bit of work on the system.

10:00 – 1:00 FP

1:00 – 4:00 CSIP

  • Onward with Drools
  • Planner (http://docs.jboss.org/drools/release/5.3.0.Final/drools-planner-docs/html/ch01.html, and http://www.jboss.org/drools/drools-planner.html)
    • Huh, Drools uses fitness tests, but doesn’t have a genetic algorithm/programming component. Interesting.
    • Downloaded the drools-planner-distribution-5.3.0.Final
      • Added as a preexisting project. All kinds of Java errors, which were fixed by running Maven on the POM file followed by mvn eclipse:eclipse. Then all the .drl files were being flagged as errors. While flailing generally, I noticed that I could set the project as a drools project (which it wasn’t yet apparently). That seems to have fixed all the errors, though there are a bunch of “Java raw type” warnings
      • Got the following message: The directory dataDir (C:Droolsdrools-planner-distribution-5.3.0.Finalexamplessourcesdatanqueens) does not exist. The working directory should be set to the directory that contains the data directory. This is different in a git clone (drools-planner/drools-planner-examples) and the release zip (examples).
        • Fixed by copying the data directory from the examples level to the sources level.
      • Everything is running. Tomorrow, we figure out what it means!

Phil 3.25.12

10:00 –  2:00 FP

  • What a soggy weekend.
  • Integrating collision detection and response into the hand.
  • Checked out from SVN – still working!
  • Firngertips are now being calculated in world space.
  • Spent a good deal of time getting the global to local (CollisionCube) transformations working. They still haven’t been tested through the rotations, but are working for translation and scaling.
  • Wired up the volume components. At this point the simulation is pretty much ready to hook up to the Arduino.

Mike 3.23.2012

  • Database backup this morning
  • The server still was not responding to remote calls on 443 so I put in a ticket.
  • A few hours later the support team responded saying someone had closed the port on the firewall and they reopened it.  No explanation regarding who closed it or why…
  • Starting to implement the distinguished name PKI thing in PPA

Phil 3.23.12

8:00 – 12:30 FP

  • It’s going to be an abbreviated day. I’ve got to be over at my parent’s old house in the early afternoon to let in the GB&E guy, and since the weather’s * phenomenal* I’m going to go for a longer and early bike ride. Given all the rain in the forecast for the weekend, I’ll be here to make up the hours, probably more likely on Sunday.
  • Adding in CollisionCube. It’s drawing, and I’m getting fingertip position info for collisions. More on Sunday
  • Checked into SVN

Tom DeVito 3.23.2012

Start: 10:00

  • Ordered the boards.  The company said to ignore the warnings on the PJ-202A port
  • Looked up the necessary components.  Need to double check our inventory to make sure we aren’t buying stuff we already have.  Will finish this tomorrow and compile the list of things that need to be ordered.
  • Still having some IDE problems with Visual Micro.  Decided to just move the classes into a new project.  This seemed to fix the issue.
  • Did some more testing of the Data dictionary and communication classes to make sure it will work when we try to put it together tomorrow.
  • There are a few issues, I fixed most of them.  I should be good to go by the time you are done with your bike ride tomorrow.

End: 6:00

Mike 3.22.2012

  • Back ups a little later than usual this morning due to a doctor appointment
  • The server is extremely slow via https.  Remote desktop to the server works fine, pinging it works fine and quick, local https requests on the server are quick but accessing it via https from my desk is very slow.  I figure I will give it a day since it is not an issue with our server itself.
  • Finally heard something back from the server help desk.  A guy emailed me asking for more information.  I replied and got his out of office message.  He will be back Monday…
  • Back to working on PKI security stuff.  The interface classes are done and now I am writing a test implementation that will pull user IP addresses off the session and use them instead of userDNs to try and auto log in users.

Phil 3.22.12

8:00 – 4:00 FP

  • Looks like I’ll have the CSIP project to charge to soon. Woohoo!
  • debugging RightHand::drawPrimitive() – fixed. Passing by value rather than by reference. D’oh.
  • Shiny hand model! Now I need to wire the graphics to the FingerIO classes – partly done, waiting on putting in the CollisionCube.
  • Tried adding the FingerIO classes directly to RightHand, but the class isn’t instanced by the time show() gets called in KF_GUI. So the FingerIO classes went back to the KF_Hand_window class, and I added pointers to the RightHand class. Not really happy with this, but it will do for now as I get all the other pieces working. And better than the alternative of grabbing the parent of the window class while still reaching into the RightHand class.
  • Next, put all the changed code back into the fluid code – done
  • Adding CollisionCube drawableObject – most pieces are in and I need to test.

4:00 – 5:00 CSIP

  • Spent about 45 min talking CSIP with Ed.
  • Start figuring out drools, with particular emphasis on creating xml that can be ingested and used to create running rule sets. Note that RulePoint could be a starting point for look-and-feel, as this may be the basis for the request for the system.

Tom DeVito 3.21.2012

Start: 9:15

  • Price estimate for 10 boards is 236.88
  • Changed the sensor circuits so the output is separate from the sensor.
  • Called Pad2Pad about the PJ202A footprint because I had to force it to add and there are warnings.  They told me to email padtopad@gmail.com with the question and the software guys would get back to me with a solution.
  • For some reason my arduino project stopped linking properly. Every time I try to build the solution it tells me that header files don’t exist even though auto complete adds them correctly.
  • After trying a bunch of stuff I eventually reset Visual Micro.  This solved the problem.
  • Still waiting on Pad2Pad for a reply.  Everything is ready to go but I don’t want the traces to not be connected properly because of some type of glitch.

End: 5:15

Mike 3.21.2012

  • Usual backups this morning
  • very quiet at site, Dong stopped by and we looked at the formatted cognos pull, still waiting on the raw pull before doing anything
  • Coded and tested a force decay for the network map.  Phil approves so I uploaded the changes and put a new version on fgmdev

Phil 3.21.12

8:00 – 3:00 FP

  • Now that the basic framework is put together, adding in the hand. Starting with making shiny cubes and cylinders.
  • When making textures, *don’t* compress your tga files!
  • Added a color modulated reflection shader. This will probably be our main shader for charts, too.
  • Need to add a bit of lighting to the shiny objects. Going to finish building the hand fist.
  • In the process of debugging RightHand::drawPrimitive().

Mike 3.20.2012

  • Usual back ups this morning, nothing has changed in the database in about a week
  • No word back from Gina or the help desk.  I did some searching and found our integration and test servers are WHITE LISTED as accepted and should be visible from the outside reaching network.
  • Found a bug in the network map widget that was preventing colors from working correctly, fixed and checked in to GenericQueryWidget project
  • Looked over a powerpoint sent by Jim Gorgei, not really much I can help fill out
  • Playing around with the network map some more trying to fix some instabilities, simply taking time between frames in to account did not work
    • I think we may need to track time from last user interaction (dragging a node or changing a setting) and slowly increase drag while the movement calculations are taking place, then once things stabilize they do not need to move again until the user does something and the system is free to move again

Phil 3.20.12

8:00 – 5:30 FP

  • Spring! That bears repeating. Spring!
  • Working on the hand
  • Building a new FLTK widget to show
    • Communication with Arduino
    • Force on each finger
    • Volume for each finger
    • Sound for each finger
    • Hand view
  • Now I need to wire up the controls
  • Added pointers to the pressure and volume sliders as well as the sound text within the FingerIO helper class. Works well.
  • Wiring up the text output – done. Wound up using a simple multiline Fl_Output class rather than a Fl_Text_Output because when I tried to add a buffer, the code kept crashing trying to create a callback. Not sure that I was making the call in the right place?