Monthly Archives: April 2012

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

Mike 4.4.2012

  • Usual server backups this morning
  • No updates from anyone at site
  • I installed wordpress on my local machine at site and reverse engineered the domain model.  The blog uses 11 tables in a pretty straightforward model.
  • Back at the mill finishing up the visibility PKI integration.  I update the LoginScreen in ManagementUtils so any application that uses it will also have auto-login.  I probably won’t deploy any of this until we have the test and production servers at site up and running.

Phil 4.4.12

8:00 – 4:30 CSIP

  • Taking a small detour into Hibernate, to see if that can create a Java Object that Drools can operate on.
    • Some relevant articles from 2008-2009, also here
    • Installing hibernate eclipse plugins from here. Well I thought I was. It appears there is a conflict with Ant. Which is funny, because the book “Harnessing Hibernate” has all their examples built with Ant. It is to laugh.
    • Hmm. Ant using Maven is kind of nice. Definitely more explicitly clear. it depends on maven-ant-tasks-2.0.6.jar that needs to reside in the Ant library. And if you add a link to that library as an external jar in the Ant preferences in Eclipse, it seems to work quite well.
    • Well, not quite. The 2.0.6 jar only points to the default .m2/repository. You need the 2.1.3 jar if you want that to work. And that took 2 hours. Grr. Somebody should update the Safari book code repository.
    • Chapter 1
    • Chapter 2
    • Chapter 3

Tom DeVito 4.3.2012

Start: 10:00

  • Changed how items are published to the dictionary to make things more memory efficient
  • Step up a new PC test environment which we may be able to drop in the simulations to once ready
  • Tried sending some commands to see how the controller was working.   This doesn’t seem to be working right yet.
  • Did an echo test for the command and it seems to be coming back corrupted.
  • Found that I did not specify the int type for the command class.  This is important because windows defaults to 32-bit while the arduino defaults to 16-bit.  The problem seems to be resolved now that they are both 16-bit.
  • Check the response class for similar problems.
  • Sent a command and received a response from the audio controller class.  The next step make it play a sound on command.

End: 6:00