Community Bonding – Report (2)

Hello there, this is my weekly report about my work. In this report, I will show what I did this past week. I will also show what I intend to do in the next week. let’s get started.

That’s what is done
  • I finished my experiments with Oct-Files by working with a simple example that makes some checks on the input , generates some errors and manipulates a struct inside the function.
  • I refreshed my knowledge on shell scripting using this tutorial, Here is some useful info:
    • grep -r : This option is used to recursively search for a pattern. This was useful for me as it showed me where is the macro OCTAVE_CHECK_LIB so I can know its job.
    • which : An awesome feature of Octave that it implements its own version of “which” command. “which” command in Octave shows the file that contains a specific function.
    • A cool best practice I learned is using the backtick to improve performance if you want to run a set of commands and parse various bits of its output:
find / -name "*.html" -print | grep "/index.html$"
find / -name "*.html" -print | grep "/contents.html$"

This code could take a long time to run, and we are doing it twice!
A better solution is:

HTML_FILES=`find / -name "*.html" -print`
echo "$HTML_FILES" | grep "/index.html$" 
echo "$HTML_FILES" | grep "/contents.html$"
  • I got more familiar with GNU Autotools.
  • I started reading about and experimenting with RapidJSON library.
What I intend to do
  • Extend configure.ac file to check for RapidJSON after some discussions on the mailing list about which macros to use and some build options.
  • Finish my experiments with RapidJSON.
  • Describe in details the parts of the test suite.
  • Find out how to do regression testing.

That’s it for this week. See you next one.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create your website at WordPress.com
Get started
%d bloggers like this: