Phil 4.11.12

8:00 – 4:00 CSIP

  • Working on building a Drools test case structured around wrapped Maps.
  • Built the wrapped objects and Maps, and have the sandbox created
  • And here’s how you do it. Probably not as efficient as it could be, but pretty general case.
    #created on: Apr 11, 2012
    package com.sample
    
    #list any import classes here.
    import com.sample.WrappedObject;
    import com.sample.WrappedMap;
    
    #declare any global variables here
    
    dialect "java"
    
    rule "rule Floats less than six"
    
        when
    
            WrappedMap($wo:getObjectByName("myFloat")) // condition
            eval($wo.NumericLessThan(6))
        then
            System.out.println("n--------------------------------n"+$wo.toString());
    
    end
  • Need to add some methods for handling String compares and for other types of objects
  • Working on getting Hibernate to talk to information_schema in mySql. I’m trying to use the eclipse tools, and I get this error:
  • Stopping for the day. Will talk to Dong about this tomorrow.

Mike 4.10.2012

  • Usual back ups this morning
  • Our SSP got a 1-month extension so it did not expire today.  As far as I know I have completed everything I’m responsible for.  There was a flurry of emails going around about tasks for other people.
  • Finally heard back from the help center about our production server.  I can’t connect to it via HTTPS for several reasons…
    • The DNS is pointing to the wrong IP address and the tech doesn’t know how to fix that but is sure someone else does
    • I need to submit a ticket to the production firewall team and have a exception put in.  The firewall team is a completely separate group than the person who is answering my ticket
  • So I submitted a firewall exception request
  • I contacted Allen N., the guy who set up our VMs originally last May, and asked him about the DNS problems.  He helped me submit several more tickets to get that resolved.
  • Back at the Mill I was able to create, save, and reload some hibernate java objects
  • Looked back at some old Dynamic Hibernate stuff for Phil: closet full of wheels

Phil 4.10.12

8:00 – 4:30 CSIP

  • Now that I have my Hibernate Eclipse plugins working, back to chapter 9.
  • Well, the plugins work fine, but when I tried to add an element to a query, the build broke and I was unable to get it to work again, even after restoring to the earliest version. Went on to chapter 12, but the DB appears to broken there too.
  • According to Dong, this is because the HSQL instance is not persisted in the test, so all the data drops out. Switching the dialect to MySQL, which runs as a service on my box fixed all problems but one – an exception that said the DB couldn’t be reached. Which was odd, because it was accessed and the tables were created and populated. Go figure.
  • Talked to Mike about his experience with dynamic object creation using Hibernate. It looks pretty straightforward, as long as you have a ‘generic’ object that is wrapped around Map(s) (Collections?) of some kind. Now I need to see if I can build a Drools engine that will reason over elements in a collection contained in an object.

Thomas DeVito 4.9.2012

Start: 10:00

  • Cleaned up data dictionary classes
  • Cleaned up Controller base class
  • Cleaned up Amp and Midi classes
  • Cleaned up Com classes

End 5:00

Start: 7:00

  • Finished Audio Controller
  • Cleaned up Command response and state classes
  • Everything should be good, just need to do some testing and troubleshooting as I left the extra arduino in the office.

End: 9:30

Mike 4.9.2012

  • Usual backups this morning
  • Contacted the help center at site to check on the status of my ticket requesting the production server to be opened up…. they will be back to me (I believe the person I spoke to submitted a ticket to check on the status of my ticket)
  • Back at the mill working on a fully wired SuggestionBox (user types in a text input, as the user types the incomplete entry is sent to the server and queries the database for possible results, then the matches are displayed below the text input on the client).
    • I started with a very basic implementation that generated suggestions on the client
    • Now I’m going to try starting at a hibernate managed database table and work my way to the client

Phil 4.9.12

7:30 – 1:30 FP

  • Seminar. Discovered I can resubmit the CHI paper to UIST. Started working on that.
  • Ordering parts for the boards, which came in Friday

1:30 – 4:30 CSIP

  • Continuing to Hibernate
  • Chapter 8
  • Chapter 9, with a short trip to chapter 11. I finally found out how to install Hibernate Tools without crashing and burning. Go here, and drag the link to somewhere on your eclipse workspace that doesn’t have text entry (it’s an URL), like the border. Presto! Magically installing plugins.
  • For reference, because I think this may be the way this effort finally goes. And hey, I always wanted to write code that generated bytecode…
    • ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify existing classes or dynamically generate classes, directly in binary form. Provided common transformations and analysis algorithms allow to easily assemble custom complex transformations and code analysis tools.
    • ASM offers similar functionality as other bytecode frameworks, but it is focused on simplicity of use and performance. Because it was designed and implemented to be as small and as fast as possible, it makes it very attractive for using in dynamic systems.

Mike 4.6.2012

  • Usual backups this morning
  • Figured out how to upload my server vulnerability scan to the SSP documents and immediately received questions from people asking “how did you do that?”
  • Back at the mill working on GWT things: Finished my sandbox framework, simply a framework site for displaying and testing simple components
  • Added a built in gwt SuggestBox to my sandbox just to make sure it works
  • Played around with an autocomplete demo found here and implemented it in my sandbox

Phil 4.6.12

8:00 – 3:30 CSIP

  • Hibernate chapter 6
  • Chapter 7. Learning about annotations like all the other cool kids. Done. Chapter 8 on Monday.

Dong Shin 04.06.2012

  • GWTLogger
    • moved logger to separate Maven Module, deployed
    • <dependency>
      <groupId>com.fgm.gwt</groupId>
      <artifactId>gwtLogger</artifactId>
      <version>0.0.1</version>
      </dependency>
    • added timer to Server Log – allows auto retrieval of logs in specified interval
    • re-arranged UI components
    • added filters for the columns
    • writing up how-to – done
      • gwtLogger – also added to Useful GWT Info page
      • sample GWT application located @ trunk/Sandbox_folders/DONG_SANDBOX/GWTLogger
  • Converting ProjectManager to Maven project

Tom DeVito 4.5.2012

Start: 12:30

  • Continued to work on the audio controller class
  • added methods to normalize i/o data to be between 0-1
  • Added commands for changing notes and playing sounds

end: 6:30

 

#NOTE: Raspberry Pi and Cotton Candy do not use standard OpenGL.  Instead they use OpenGL ES 2.0

“For programmable hardware: OpenGL ES 2.0 is defined relative to the OpenGL 2.0 specification and emphasizes a programmable 3D graphics pipeline with the ability to create shader and program objects and the ability to write vertex and fragment shaders in the OpenGL ES Shading Language. OpenGL ES 2.0 does not support the fixed function transformation and fragment pipeline of OpenGL ES 1.x”

More info: http://www.khronos.org/opengles/

Dong Shin 04.05.2012

  • GWT Logger
    • Modified LoggerWindow class to handle both client and server logs based on the parameter passed in
    • migrated FGM javaUtils logging class – Log4Init and VisibilityLogger – to GWT Logger
    • created testing app for server logs
    • everything works!
    • started migrating the project to GWT library

Mike 4.5.2012

  • Usual server backups this morning
  • Received an updates from Bill Dolley regarding the COGNOS data pull, his update basically told me to continue waiting on Tangie who is figuring out what data need to be ingested
  • Received an email from someone working on our SSP.  Apparently it expires in 5 days and there’s a bunch of stuff that needs to be done to renew it.  I started working on the list but need more guidance on a few items.
  • Back at the Mill looking in to GWT related things
  • Creating a sanbox project modeled after the SmartGWT Showcase so I can build components and quickly test them while keeping track and being able to demo things I’ve already built

Phil 4.5.12

8:00 – 4:00 CSIP

  • Hibernate Chapter 3. Working on getting to chapter 8, which covers dynamic creation. “Chapter 8 discusses criteria queries, an interesting mechanism that lets you express the constraints on the entities you want, using a natural Java API. This lets you build Java objects to represent the data you want to find, which is easier for people who aren’t database experts to understand; lets you leverage your IDE’s code completion as a memory aid; and even gives you compile-time checking of your syntax. It also supports a form of “query by example,” where you can supply objects that are similar to the ones you’re searching for, which is particularly handy for implementing search interfaces in an application.
  • Chapter 4
    • Tried to change a query from foo = :upper(mySearchTerm) to foo like ‘%upper(mySearchTerm)%’ and failed completely. Dong suggested restrictions, but I don’t see how to do that in the hbm.xml <![CDATA[…]]> section.
  • Chapter 5
  • Chapter 6

Tom DeVito 4.4.2012

Start: 10:00

  • Working on the audio controller logic
  • I got a good response when sending a test command
  • Finally found a arduino sketch which has data transfer in it:  http://breakfastny.com/2011/06/verbalizer-open-source-toy-googles-voice-search/
  • I may have found that a bit late but now I know that bluetooth works the same way as USB once connected.  My classes should be useful for any type of connection.
  • Looked at Rasberry Pi.  Looks really cool for $35.  Seems powerful enough to handle basic graphics.

End: 5:20