User:Tbharathchandra/DevLog2020

From BRL-CAD

Coummunity Bonding Period[edit]

  • Setup the Development Log
  • Explore and analyze different key-value datastores.
  • Discuss with Mentors and finalize the perfect datastore.

May 16[edit]

  • Downloaded and installed Hiredis (v0.14.1) on my machine
  • hiredis.prf is created for auto-detection of hiredis

May 17[edit]

  • Exploring hiredis and redis

May 18[edit]

  • Created pcache.h which contains the core methods to connect and communicate with the server.

May 19[edit]

  • Written some functionality of the PCache class.
  • Testing and resolving different degenerate cases in PCache.

May 20[edit]

  • Added somemore functionality for PCache class.

May 21[edit]

  • Testing of PCache class and added required guards ENABLE_HIREDIS
  • Pushed the code into repo and results show a success.

May 22[edit]

  • Understanding the layout of preference dialog.

May 23[edit]

  • Created the required GUI, which takes the IP address and port number and connects to the Redis server.
  • Pushed the code to the repo and checks ran successfully.

May 24-30[edit]

  • Exploring Redis commands

May 31[edit]

  • Added authentication functionality to PCache class
  • Added required GUI in preferences to take password.

Phase 1[edit]

June 1[edit]

  • Added prepending functions
  • Added print function

June 2[edit]

  • Experimented with the referencing style of CGALCache and GeomCache.

June 4[edit]

  • PCSettings class is added
  • Added command-line option to decs

June 5[edit]

  • Integrated PCSettings with CLI and GUI version.

June 6[edit]

  • fixed build issue

June 7[edit]

  • Added FindHiredis.cmake and added to CMakeLists.txt
  • Fixed few typo errors.

June 8[edit]

  • Testing authentication

June 9[edit]

  • Testing command-line options

June 10-12[edit]

  • Learning about boost serialization library

June 13[edit]

  • worked on Serialization implementatio outside OpenSCAD

June 14[edit]

  • Created and placed connect and disconnect functionality in Main window and OpenSCAD.

June 19[edit]

  • Created SCADSerializations.h file to store all serialization definitions
  • created cache_entry structs in pcache.

June 20[edit]

  • Worked with boost serialization in non-intrusive and split mode.
  • checking it's compatibility in OpenSCAD env through small tests outside OpenSCAD.

June 21[edit]

  • Completed writing all serialization definitions

June 22[edit]

  • Completed Insert and get methods for CGAL and Geometry

June 23[edit]

  • Resolved error with header files
  • Added Guards around cache_enry serialization definitions
  • Made some modifications to the smartCacheInsert method and encountered a critical error.

June 24[edit]

  • Resolved problem related to serializing a pointer to derived class of boost serialization
  • Ran 1st test on the complete project, it is partially successful
  • Geometries are inserted perfectly into Redis but raised a segmentation fault which to be addressed.

June 25[edit]

  • Geometry cache is inserting into Redis by preview action
  • Segmentation fault of yesterday still prevails

June 26[edit]

  • Testing has done in the case of CGAl Cache, CGAL is successfully inserting into Redis while previewing and crashes in case of Render action.
  • Found the cause for segfault, in the process to resolve it

June 27[edit]

  • Resolved the segfault by starting the connection on render thread while rendering. no change in the case of the preview.

June 28[edit]

  • worked on crash due to lazy union
  • identified the reason behind the crash.

June 29[edit]

  • Analyzed the options for resolving the crash

June 30[edit]

  • After discussing with mentor, we decided to continue working on the reconstruction of object from redis and try to resolve the issue in parallel.