Friday, September 5, 2014

Changes 9/5/14

NSFPatents2:

  • Worked on a threading mockup for the NSFPatents2 application
  • Eventually we want the program to be able to download files and parse local copies at the same time.
  • I'm working on creating that functionality in a separate program to see what the basic structure should be.
  • Basically it has two things happening concurrently
    • Downloading of patent files
    • Parsing of patent files which have already been downloading
  • It is set up currently to "download" a file and notify the parser that there is a new file to be parsed.
  • If there is already a parse in progress, it should add the new file to the queue.
  • If there is no parse in progress, the notify method will create a thread so that the file can be parsed.
  • This way, the program properly handles adding new files to the parse whether there is a currently parsing file or not.

1 comment:

  1. Please let me know if you were able to get in touch with Kevin. As I mentioned in class, you should take advantage of all he has to offer. You will look back on this opportunity years from now and realize just how fortunate you where to have a mentor like him to work with!

    ReplyDelete