Monthly Archives: March 2012

Mike 3.30.2012

  • Usual back ups at site
  • Still no word from Tangie about deployment or COGNOS data
  • No word from the EDC about connectivity to our production server
  • Compiled team’s status reports for the month of March
  • Continuing work on PPM PKI integration
  • PPM PKI integration seems to be working and done, will need a lot testing before deploying.  I’m going to wait until we have both servers at site up and running.  I will move the currently deployed version of PPM to the production server then stand up our test server with this new version.
  • Visibility is the next for a login overhaul.
Advertisements

Phil 3.30.12

8:00 – 9:30 CSIP

  • More Drools JBoss Rules 5.0 Developer’s Guide, chapter 2
  • Drools JBoss Rules 5.0 Developer’s Guide, chapter 3
    • Starting the Banking Domain Model example

9:30 – 12:00 FP

  • Developer meeting at UMBC

12:00 – 4:00 CSIP

  • Building classes and interfaces for a pretty complex model. We’ll see if this can be made to work…

Dong Shin 03.30.2012

  • Monthly Status – March 2012
    • Bug fixes
      • enhanced buttons for Project Assistant
      • fixed max_allowed_packet error for VisibilityScripting – need to increase to more than 1M
    • Pre-Demo(3/8) preparation
      • installed and tested Project Poroflio Manager (PPM) scripts for VisibilityScripting
      • list of scripts for PPM
        1. projects_under_budget – generates list of project that are under budget
        2. projects_overdue – generates list of overdue projects
        3. manager_under_budget – generates list of managers and projects who are underbuget
        4. projects_budgets – generates budget data for the project
        5. project_goals – generates goals data for the project
        6. project_financial_data – generates financial data for the project
      • created Flex Applications, ProjectDataGen, for generating financial data
        • same login as Project Assistand (PA)
        • generates Financial Data in XML format that Visibility ingests into the upload directory
    • Demo (3/13) at site
    • COGNOS(?) data analysis – still waiting for more information (raw data may help)
    • GWT Project Manager Application
      • generated DAO objects using HibernateTools
      • Login interface working
      • Project List interface working
      • created UI for Create/Copy/Edit project
      • updated MavenGWTEclipse Tutorial document as going thru to create a new Maven/GWT project
      • working on Logger for GWT
        • downloaded and integrated gwt-log. Good, but not good enough for our needs
        • converted Flex Logger from FGMUtils to Java classes
    • GWT Java OpenGL 3.0 LWJGL integration
      • lots of information from Phil
      • going over codes and FLTK information

Tom DeVito 3.29.2012

Start: 8:10

  • Amp class uses doubles again for the set volume parameter
  • Another advantage to having the amps separate from the midi devices, is that it allows us to have sound sequences of varying volumes without effecting the total volume.
  • Reviewed the circuit board one more time and saw something that might be a minor issue.  I forgot the arduino ground has to attach to the ground line of the board for signals to transfer.  There are plenty of holes to run this wire from, so its not a big deal.  It just won’t have its own independent point.  It might also not even be necessary.
  • Seems that Rick has averted the problem with DNS switch for the server.  We still need to get registrar account but we are good for a couple months while he figures that out.
  • Made some changes to the midi class to make selecting sounds easier.
  • Still working on the Controller, should be ready to test soon.

End: 6:10

Mike 3.29.2011

  • Usual back ups this morning, there was a small change in the database!
  • The production system was still inaccessible on 443 and no word on my help ticket
  • Still no word from Tangie, sent her an email asking for updates, no reply yet
  • Back at the mill working on PKI integration

Phil 3.29.12

8:00 – 4:00 CSIP

  • Drools JBoss Rules 5.0 Developer’s Guide
    • It is not only difficult to represent business logic in a imperative programming style language, but also hard to differentiate between code that represents the business logic and the infrastructure code that supports it.
    • We declare rules in pretty much the same way as the business analyst does the requirements—as a group of if-then statements. The rule engine can then take these rules and execute them over our data in the most efficient way. Rules, which have all of their conditions true, have their then part evaluated. This is different from imperative style programming languages where the developer has to specify how it needs to be done explicitly (with a sequence of conditionals and loops).
    • rule represents one requirement. This is more readable and maps to business requirements more naturally.
    • Well, having the right resource makes a difference. I have compiled and run a simple set of rules against multiple objects!
    • eval is a catch-all solution. It allows execution of any Java/MVEL code (according to the selected dialect) that returns true or false. It should be used only as a last resort when all other options have failed. This is because the rule engine cannot optimize eval. The expression is evaluated every time there is a change in the current rule’s condition (a fact is added, modified, or removed). They don’t have to return time-constant values. Writing eval as the last condition in a rule is a good practice.
    • How to get a reference to the current class being evaluated: $a:Account ( balance < 100, name != “Ted”). The ‘$’ is convention and not required

Lunch meeting to go over Noveta changes

Tom DeVito 3.28.2011

Start: 8:00

  • Helped Phil solve a problem regarding deployment of his 3d applications on a machine that did not have Visual Studio 2010.
  • A couple things were learned in the process.
  1. Dropping in the DLLs did not work.  I suspect this is because of the debug version not being compatible without proper registry entries, as well as, the difference between 64bit and 32 bit distributions between two of the machines.
  2. The required DLLs are available in the redistribution pack found here: http://www.microsoft.com/download/en/details.aspx?id=5555
  3. This distribution can be silently blocked by some anti-malware programs if auto-protect is on.
  4. Always build dependent libraries as Release before using them with your programs if not already in a binary form.  It seems the real issue was not with the application itself but with the dependent libraries.  Also check in c++/code generation project properties, that it is not set to a debug mode.
  5. Always test on a machine that does not have visual studio before going into a demo.
  • Played with the simulation a bit.  Looks good and now I have a better idea of what is needed.
  • Finished fixing the controller base class
  • Started figuring out the logic for the audio controller.
  • Hopefully we can start integrating the simulation with the electronics by Friday.

End: 6:00

Mike 3.28.2012

  • Backups this morning, no DB changes but tool is up
  • No word from Tangie regarding my inquiries a few days, she said she would have an answer to me yesterday
  • No word from the help center, the production server is still not reachable via 443
  • Working on PPM PKI integration, log in is working but permissions aren’t making it to the client, need to redo the query to add in permissions or add a new method

Phil 3.28.12

8:00 – 4:30 CSIP

  • Visualizing Drools (Visualizing Inference Process of a Rule Engine – VINCI’11, August 4–5, 2011, Hong Kong, China.)
  • Onward with chapter 2
    • When there is one or more Activations on the Agenda they are said to be in conflict, and a conflict resolver strategy is used to determine the order of execution. At the simplest level the default strategy uses salience to determine rule priority. Each rule has a default value of 0, the higher the value the higher the priority.
  • Sheesh, had a whole slew of computer problems this morning. I was missing dlls, Some projects were pointing to debug libraries so they couldn’t distribute properly, and then my TortoiseSVN  just… evaporated. Had to reboot, reinstall, and reboot again. Everything appears to be working now though.
  • Wish I could find where this tool (RuleFlow?) is hidden in eclipse
  • Chapter 3: Advanced Concepts and Theory
    • After regular inserts you have to retract facts explicitly. With logical assertions, the fact that was asserted will be automatically retracted when the conditions that asserted it in the first place are no longer true
    • It is important to note that for Truth Maintenance (and logical assertions) to work at all, your Fact objects (which may be JavaBeans) must override equals and hashCode methods (from java.lang.Object) correctly. As the truth maintenance system needs to know when two different physical objects are equal in value, both equals and hashCode must be overridden correctly, as per the Java standard.
  • Chapter 4: User Guide
  • ‘Hello world’ setup”
    • KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
      // Check the builder for errors
      if( kbuilder.hasErrors() ) {
          System.out.println( kbuilder.getErrors() );
          return;
      }
      
      // Resources of any type can be added iteratively
      kbuilder.add( ResourceFactory.newFileResource( "/project/myrules1.drl" ), ResourceType.DRL);
      kbuilder.add( ResourceFactory.newFileResource( "/project/myrules2.drl" ), ResourceType.DRL);
      
      if( kbuilder.hasErrors() ) {
          System.out.println( kbuilder.getErrors() );
          return;
      }
      
      Collection<KnowledgePackage> kpkgs = kbuilder.getKnowledgePackages();
  • Ok, this is a nice introduction to concepts, but I’m not really getting the opportunity to build something in an kind of understandable way. There’s not much documentation, and only one book that appears to provide the overview – That’s the “Drools JBoss Rules 5.0 Developer’s Guide”. The reviews on Amazon are mixed, leaning to bad, but it’s the only game in town. I’ve bought and downloaded the Kindle edition and will try that tomorrow.

Tom DeVito 3.27.2012

Start: 8:00

  • After my recent issues with the IDE I decided to upgraded Visual Micro.  The new version was for Arduino 1.0 and although the old would probably work I decided now would be a good time to upgrade
  • Some methods and classes have changed names and parameters, most notable, Newsoftserial in now softwareserial, and wire.send (BYTE) is now wire.write(byte(0x00)).  BYTE is no longer a data type but the is a byte(0x00) function which may be necessary.  I remember needing to use this when my friend was doing his project with the I2C compass but do not remember which type he was using in the first place.  It may not matter since I was using char in the first place.
  • Fixed some problems with outdated code that was not changed to reflect the new parameters of data elements or the current way of storing data in the Data Dictionary.
  • Fixing the recently imported Controller base class to work with the various changes that were made when testing the data dictionary.
  • Found out the real source to what I thought were IDE problems were actually that arduino extended classes need to be included in the main .pde file or they will not include properly.  This includes wire.h and softwareserial.h.

End: 6:00