Posts

Showing posts from November, 2018

Learning : 2 Years : EXAMZ (2)

Image
About 2 years have been passed in the university and I have learned a lot in these two years. By "learned a lot" I don't mean only the academic learning but it also involves non-academic learning. When I was in my college, I read in my English book, that you had less number of classes to attend and less number of books to study in the university, but this is not the case, NOT AT ALL! This is true that courses are less in number but they are much in content... So coming back to the learning point, let's have a look at the list below: Always try to do your own work by yourself, never ask for help to other people a lot , people might help you in the beginning but when you ask them a lot then they will   be annoyed of you. So, do your work by yourself till the end point, and when you try your best, when you give your best, the best will come to you. No matter how much is the task difficult, if you are trying but are not succeeding in it, you will witness ...

Github : EXAMZ (1)

Image
You can visit some of my codes here . I will add more code in the coming days Insha'Allah. That's it for today? Yes, for today's post that's it ! EXAMS SEASON....

GDG Islamabad : DevFest GDG 2018

Image
On 17th November, 2018, there was a 4th session of GDG Islamabad naming DevFest GDG 18 , at NUST  NICE  H-12 , Islamabad Pakistan. The event commenced at 1100 hours. The whole hall was full of business owners, entrepreneurs, developers and students. A boosting music was playing in the background.  In the beginning, community co-manager of GDG Islamabad introduced GDG. He said that digital wellbeing is the main focus of Google technologies.  Saad Hamid is a manager at GDG Islamabad. Muhammad Bin Masood is its co-manager. In the session the audience were told about different technologies of Android P mobiles. Some of these technologies and applications are: Gesture Navigation (Much needed Application) Wind down Notch support Lock-down Mode Smart Notification Auto-Rotate Button Media Panel Digital wellbeing Disconnect at night Time spent on app MOTO OF DIGITAL WELLBEING: " GREAT TECHNOLOGIES SHOULD IMPROVE LIFE, NOT DISTRACT FROM IT " ...

Pintos : Series : Part3 : Project 1 : Alarm Clock

Image
The PintOS project has 27 test cases that we need to pass. In the first project we are just going for the five test cases related to alarm clock that are as under: alarm_multiple alarm_single alarm_simultaneous alarm_negative alarm_zero But before jumping into the code, let's first understand the basic structure of PintOS and how it runs. Consider the following diagram: Here QEMU is an emulator on which pintOS runs. Test cases are the processes that we run on the PintOS (Operating System). So we only need to modify the PintOS code, we are not allowed to make any change to the test cases code as this would be a cheating. When you open up the PintOS directory, in tests/threads/tests.c all the test cases are declared. And in the tests/threads/ directory you can observe files with the extension " .ck " and " .c ". So the " test_Name.c " files are the files in which test cases are defined, while " test_Name.ck " file...

Commitments...

Image
First I would like to thank you all for respecting that I didn't post on Thursday, as I said to do so... But due to a lot of tasks I couldn't post on Thursday... You may have heard of :" Nothing's happened without a reason ". So by not posting, I also learned something that I want to share with you.. Learning: We all have different priorities, and we all try to cope with them. But most of the time we couldn't. The reason that I found is, we set our priorities wrongly. To do, what you have committed, is a foremost task but it demands a lot of will power and strong believe. You must divide your day or time into small chunks so that you can get your tasks done. Just concentrate on what you are assigned to do (by yourself or by someone else). Have peace and calmness in your mind. Stay consistent. Have faith and believe. Do not ask for help a lot . (to other people) Try to give your best. Don't waste your energy in any manner, but use i...

PintOS : Series : Part 2

Image
I hope you have installed PintOS . Now it's time to move forward... In the first assignment we need to check and pass first six test cases of alarm. These are as under: alarm-single alarm-multiple alarm-simultaneous alarm-priority alarm-negative alarm-zero You will find them in " /tests/threads " directory. You need to make changes to " timer_sleep() " function in " timer.c " file under " devices " directory, to pass these tests. But first you should start learning from : here also I have a paper :  here After reading and understanding the reading material, you will be able to start coding! (exceptional cases are always there...) I also need to read it first, so I will let you know more later (after understanding it fully..) So, let's jump right into it (I mean let's start reading!)

Pintos : Series : Part 1 : Installation

Image
PintOS is an Operating system, but this is not a complete OS. There are many kernel level functions implemented but we need to modify it to implement it correctly. So, if you are taking OS course or interested in Operating Systems then you can follow my PintOS Series. As installation of PintOS is the most important and tedious task, so we need to do it first! Actually I have learnt about the installation steps from various sites, I will share their links side by side. What I grasped from there, I will compose it into this post. I know you might be thinking if the installation steps are already available on-line, then why am I writing them for you? The reason for this is that, when I installed PintOS, I found a lot of problems initially but then it worked. So, what I understood from my experience and from the sites, I will share that. I believe that if learning is done through mutual cooperation,  then this will benefit everyone . So, let's learn together.... First Mist...