23 May 2019 (Morning)

Yesterday I have started my work at 8:00 pm and end at 12:00 am. I polish the entire code and read the coding guidelines to avoid the extra space and to follow the write coding style before sending the patch on Gerrit by following this link below:


I am a bit late to update my blog because of some health issues. Then I read about the BListView from the link below:


There are three types of BListView. First I have used

(BRect  char* name,
      list_view_type type, uint32 resizingMode, uint32 flags)

But now I changed it with,

(BRect frame, const char* name,
list_view_type type, uint32 resizingMode, uint32 flags)

Because I think I have to give the dimensions of the rectangular frame for the BListView vertical box. But unfortunately when I tried the size of the box is still as same as the input window. That’s why yesterday I have sent the patch. I didn’t recognize where I am wrong. I want to work more yesterday I planned to add the items in the box but I was feeling tired and go to sleep.

Screenshot from 2019-05-21 22-49-10

After giving the dimensions of the box still, the size is the same.  This was all about the yesterdays night. 🙂


21 May 2019

Today I am very Happy. Exams go well. Today I celebrated my birthday with my friends in our college. It was the best birthday ever. My best friends give me a gift then We cut the cake. In the gift, there were my pictures with my friends. I never celebrate my birthday as I celebrated today.

Now, I started working and I have added the vertical box in the main window but it was not perfect yet. But I am happy that I made this box after spending 2 weeks on it. I was not able to write my blog everyday because of my exams and didn’t send any patch on gerrit. 2 Days ago I received the mail from my mentor and he asked me  that why I was not pushed any code on gerrit. I was scared when I saw the mail. Then when I read it, he helped me to make the box and he asked me to ask questions on IRC if I didn’t get understand about something related to code.

But, today I have done what I thought yesterday night. My todays plan was to add the box in the main window and I have completed my task.

Screenshot from 2019-05-21 22-49-10

But, its not completed yet now I have to resize it then try to add the list in it

Thankyou for reading 🙂 Continued………


20 May 2019

From the last week, I was busy in my final exams. I worked on Haiku at night and trying to add the vertical box in the left side. I was trying from the last week but didn’t get any result. Today my mom was not at home, and I am feeling very alone 😦 .

I added the box in the main window but it was not what I was expecting. Tomorrow I have my exam, and then my two exams left which are on 25 and 29 May.

Screenshot from 2019-05-18 00-59-07Due to my exams, I am unable to give the proper time to my project. But once my exams finished I am fully available to work without any worry. But now I am feeling guilty that I didn’t do much work in the last week. 😦

11 May 2019 (Gerrit patch)

Today I have sent the patch on Gerrit about what I did till now.  PulkoMandy reviewed the patch and give +1 review to my code. 🙂

Screenshot from 2019-05-12 00-56-52

The smiley ( 🙂 ) at the end of the comment puts a smile on my face. Now, I am trying to add the vertical box but don’t know why it is not added. There is no error in my code I think I forget something to write. Tomorrow I will try again.

But I feel guilty because today I just wasted my time on youtube. I just prepared only one chapter in the whole day. At the time of sleeping, I remember all the things like what I have done in the day and night then I plan what to do the next day. I followed also but today I have just wasted my time don’t know why. 😦

10 May 2019 (Plan Successfull)

Today my maths exam goes well. The weather was just awesome. I have started my work at 10:00 p.m and now it’s 12:00 a.m. I complete my work what I planned yesterday but my laptop hangs so much that the reason why I am slow in my work.

Today I divided my code into a different file and it runs successfully.

Screenshot from 2019-05-01 21-09-21

Every time I have lots of errors in my code but at last night I go through every terms and function related to code and then write the thing which is required for the output. And then at the time of compiling I didn’t get any error. It just put the smile on the face.  🙂

Today I have implemented all that stuff and now my next step is to add the vertical box in the left side. So that the name of devices will take place.

My next exam is on 15 May 2019 means I have 3 days for work and hope so I will add the box in the left side.  🙂


Started working on 3 month project.

Tomorrow I have my final exam. I was just in the preparation for my exams that’s why I was a little bit slow in my work. I study in the day time and works at night. I wake up early in the morning so that I can give time to my project.

On 1 May 2019, I pushed my code on Gerrit for review and today is 9 May 2019. Now, I was felt that I was slow in my work and decide to plan for our project that was to start at all that.

For this, I write everything in my notebook and implement it tomorrow after my exam.

Hope so my plan becomes successful!!!

WhatsApp Image 2019-05-09 at 11.49.17 PMWhatsApp Image 2019-05-09 at 11.49.18 PM

On 1 May 2019, @PulkoMandy commented on my PR on Gerrit. I resolved all the comments but now I want to polish the code more so that why I divide my code into different files. So that it becomes easy if someone else is reading the code.

To test the changes made in the code or to see the output follow the command below:

“” scp /home/preetpal/Documents/haiku/generated/objects/haiku/x86_64/release/preferences/input/Input user@\n “”

I am running the Haiku in the virtual box, so I am using the scp (Secure copy) which is used to transfer the files from local system to root system.

In the above command is the IP of my root system. To check the IP of your system use ifconfig .


Give the path to the directory where the executable file is formed/Name of the file rootuser@IP:/path were to wish to copy the file in the root user. 🙂

Thank You 🙂



Got selected in Outreachy

Greetings to all!!!!

Today the result came and I was selected in Outreachy. Yippppppppeeeee!! 🙂

From the morning I was just thinking about the result and didn’t make my concentration on any work.

And finally the wait is over and at 9:30 pm the email comes in the inbox that I was selected. I was just glad to see this.

A few months ago my brother told me about Outreachy and told me to apply for it. Then I pray to God and started my work. First time when I tried my application was not approved for some reason. But this time I have my 6-week industrial training and I have much time to spend on my work. Time goes and Outreachy approved my applications. Full of happiness.

I was just confused between the projects. But spending time on it, I selected the Haiku organization. Community members are so friendly especially my mentor @PulkoMandy. He guided me and help me to make my first contribution towards the open source.

It was an awesome journey till now. When I told my parents about my selection they were shocked because I didn’t tell anybody except my mother and my brothers. Today we celebrate my selection party at home. All family members are very happy and thanks to god. My eyes were full of tears because I didn’t think that I got selected.

Finally, the good time comes, but now my finals exams are coming. In the day time, I started the preparations for my exams and at night I start working on my project. I hope it will be awesome summers.

Now I feel that I can also do something in my life. 🙂

Screenshot from 2019-05-06 21-42-47

Thank You @PulkoMandy for selecting me in Outreachy. 🙂


Initialized the main window of preferences in Haiku (OS)

From the last 2 weeks, I was busy in exams and final practicals. In those days I was not much able to work on Haiku. But from 29 April 2019, After conversationing with my mentor I started my next work. In which I have to make the UI of the Main Window as I showed in my proposal. Today I have completed my task a little bit.

When I start working, I have just confused about where I should start, but I kept on trying. Five times I write the code and made the files again and again but every time some error arises. Last night I keep my mind cool and think about the UI properly. I took my notebook ad start writing the steps to make the UI.

Then first I decide to initialize the main window In which all the devices preferences takes place.

And then, I start working on the code again. Before compiling my work I pray to god that please no errors.  🙂

Then, I completed my task and just made the main window. The next step is to make the vertical column on the left side in which the connected devices will be shown. 🙂

To run my code in Haiku OS, I followed the documentation as the link given below:


Screenshot from 2019-05-01 21-09-21



Merged Request

Today, I am working on my project. Just now I opened G-mail to check emails. There was the first email from Gerrit that my pull request was merged.  I am so happy because it was my first contribution in the open source and it was merged. As I am contributing to OS (Haiku). Pull request merged in Haiku OS motivates me now to work more on it. 🙂

The day started my work till now, I always talked with my brother and questioned him that when my pull request gets merged and he replied work on the next issue leave all other questions :p lol.

But, Today after spending the time on my work, I feel that now I start gaining the fruit of my hard work. 🙂


merged request



Blog at WordPress.com.

Up ↑