mrinalraj

Social and Technical Blogger

GroupPhoto Give respect to what you love and you will find the way to get it out to the world. Today I want to share with you my journey conducting WRITOFEST 2k19.

  • Establishment of app : We had a very solid idea but an uneven path on how we will implement this idea which was to make a platform for the readers. Our idea was unique as there were no such platforms where through the app users can get a quality quote and Shayari as the market was operating on the users' content.

  • Came up with daily writing contest idea As it was obvious that we had to face low user engagement in the beginning so we came up with the idea of “Daily Writing Contest” which gives the users a chance of getting featured on the wall of the Scriptink app under the title “Best writing of the day”. Fortunately, it worked, writings started coming. It was at this time we came in touch with various writers whose writings could become a part of the Scriptink Family.

  • Getting recognized as college group. There was a lot of confusion about whether opening a college group will distract us from our objective but in the end, we formed it intending to build a team that will continuously work for improving the product.

  • Came up with Writing competition. After being recognized as a college group first we need to conduct an event to establish our existence in the college. The “WRITOFEST 2K19” was our first National level Literary Fest.

  • Came up with the idea of including Poets Scriptink started walking on the path less traveled by. Including the events featuring famous poets was one of our masterpieces. But the path was not as easy as always. Contacting distinguished poets like Javed Akthar, Chetan Bhagat was full of fun and was like getting goosebumps every second with the excitement that we had talked with these celebrities.

  • Digital marketing Our digital marketing was damn too good. We somehow managed to get it posted on the INSTA and FB pages of Jai Ojha sir who had followers nationally. It was like WOW moments for us.

  • Sponsorship Some part of our event was college-sponsored but our budget requirement was much more. So we needed sponsorships. At some places, we got disappointment where they were ready to give support but later it didn't correspond with our college terms.

  • Conducted the event successfully The 10-day rigorous reach-out campaign resulted in having Jai Ojha sir(Poet), Alok Puranik (Satirist), Parameshwaran PS(Ted Speaker) as our chief guest. And the event went smoothly the better than we expected.

Our team spirit made impossible things possible. To which we will always pat ourselves.

Bond

Recently I was in Bangalore for attending Annual Convention 2K19 in BNMIT college. I had nothing to worry about because the round trip was being handled by the college. I can't help myself from feeling lonely as all my friends were busy submitting assignments but the knowledge I would gain was acting as a fuel to get me going.

At the end of the Convention, I realized that there was no one there from my college and to my utter surprise I found that I had 2 missed calls on my silent phone. The call was from one of the faculty coordinators. I callback him to find that the college bus has started, leaving me behind and there was no question of returning.

I won't hide the truth from you but I was scared at that time. Though I had multiple round trips from Tumkur to Majestic, this was a completely different situation for which I was not prepared. While I was estimating how much penny I am left with, a person called me. I only recognized him from his face as he was a senior and was also there during the trip. I came to know that he had purposely missed the bus as he was gonna stay with his friends in Bangalore itself. After I revealed to him that I am from SIT for attending the event, he offered me the accompany until he gets me a bus to Tumkur. I was completely amazed and pondered why is he caring about me? Is it because we are from the same college? Whatever it may be but this made me realize that there is some natural bond between seniors and juniors which is built on respect and these bonds is what built trust in him.

Today I had experienced my first phase 1 test for one of the major MNCs named as GOLDMAN SACHS. It came for the internship program for the associates level. Whatever it may be but it opened my eyes. It showed me what is my current position and made me crystal clear on what are the fields I should improve which I will reveal in this blog so be with me :) .

A total time limit of 2 hours was given to solve 15 questions on the hackerrank platform which include 2 Coding Question at the beginning followed by 10 MCQ related to basic C programming concept, 1 Advanced Programming question and 2 subjective questions which were to test your command on the English language.

It is suggested to first target the MCQs followed by the coding part and keep the subjective part for the end.

The problems on Advanced Programming were based on the application of Knapsack and backtracking.

As I mentioned earlier it was an eye-opening internship test for me where I came to know that now I need to think deeply about the applications of the algorithm. Just implementing and getting the output won't work. As someone has rightly said that coding comes from the practice and examples and not from the reading books.

The algorithm teaches us that the problems can be solved in many ways but solving it efficiently to help solve the real-world issues is what matters because while practical implementation data is available in billions and you can imagine how a slacky program can eat up the resources. A lot to learn a lot discuss. Till then keep coding.

Before jumping to the answer let us first understand what is a non-technical group. The non-technical group is the group that conducts events and activities which are directly or indirectly related to managing the public at large. In my current college days, I have been part of several non-technical groups like Avalanche, Scriptink and some technical group like Decoders, Dgplug Technical groups are always a good option as they directly build your academics and problem-solving skills.

HENCE

Is it not economical to be a part of some technical groups as they also conduct competitions where I can interact with public? Yes, you can but just being in the technical group won't give you all skills related to Interpersonal as well as Intrapersonal. Interpersonal skills include teamwork, leadership, fluent communication, etc. Intrapersonal skills are the way you talk to yourself; includes self-esteem, open-mindedness, etc.

Advantage for being in Non-Technical groups

When you conduct non-technical events, you need to attract the crowd as they show little interest unless it is properly advertised and spoon-fed. Most of them find it a waste of time and the situation becomes worse if it has some entry fees. Then there comes your selling skills which include efficient communication, convincing power, body language, confidence and lot more. Below are the following positions where a group act as a sculpture which helps to give the right shape to your personality.

  • Letter permission: Drafting a letter is one of the important tasks as it is the first step to get permission. Here you learn how to frame a letter with utmost care.
  • Event Planning: Now deciding an event name and the idea requires a lot of creativeness. Because this will decide whether your audience will leave the venue happily or not.
  • Digital Poster: Now after the events are decided and date is fixed it's time to reach the maximum audience. Digital poster and pamphlets are the best and cheapest way to advertise. Here you learn editing tools like Adobe Photoshop, Premiere Pro, etc.
  • Handmade poster: Here you get to showcase your creativity in forms of brush and paints.
  • Sponsorship: To make all this stuffs require lots of money. Hence getting sponsors for your event is one of the most important tasks. Here you will develop marketing skills. No matter how good your product is but without proper marketing it is worthless.
  • Treasury: All the purchasing related kinds of stuff are handled by this person. Treasury is considered to be the backbone of the group. Here you will develop skills on where and how to spend money efficiently.
  • Team player : Great teams consist of the right people, not the best people. Every team member must understand the importance of working in a team because the team needs dedication and perseverance.
  • Anchoring: Anchoring helps you to overcome stage fear, enhances the ability to engage the audience and also improves your body language.

Technical Vs Non Technical Groups

Conclusion

So by now you might have got a fair idea on how non-technical groups work and how it helps in shaping your social interaction. But getting into these elite groups is not always an easy task. They have their rigorous recruitment test which includes: 1. Quantitative round, 2. Group Activity 3. GD (Group Discussion) 4. PI (Personal Interview) Being in a group helps in making your college life super memorable. ALL THE BEST!

grep "unix" filename.txt : prints only line containing unix also higlights the “unix ” wherever it is present. unix is great os. unix is opensource. unix is free os. unix linux which one you choose. unix is easy to learn.unix is a multiuser os.Learn unix .unix is a powerful.

grep -n "unix" filename.txt : prints only line containing unix and also gives the no. line. 1:unix is great os. unix is opensource. unix is free os. 3:unix linux which one you choose. 4:unix is easy to learn.unix is a multiuser os.Learn unix .unix is a powerful.

$grep "[2-3][0-9]" emp : Check for the string from 20 to 39 TCS101 Anu Engineer Manufacturing 30 35000 INFY02 Sona Developer Development 25 29000 TCS102 Raki Accountant Admin 31 32000 INFY03 Arun Engineer Manufacturing 28 34000 INFY04 Amit Accountant Admin 24 27000 TCS103 Nanda Engineer Manufacturing 29 37000 TCS104 Swathi Developer Development 28 29000

$ grep -v "[2-3][0-9]" emp :Invert the sense of matching, to select non-matching lines.

$ grep -n "[2-3][0-9]" emp : Displays in ordered list.(i.e. with line number) with string matching from 20 to 39. 1:TCS101 Anu Engineer Manufacturing 30 35000 2:INFY02 Sona Developer Development 25 29000 3:TCS102 Raki Accountant Admin 31 32000 4:INFY03 Arun Engineer Manufacturing 28 34000 5:INFY04 Amit Accountant Admin 24 27000 6:TCS103 Nanda Engineer Manufacturing 29 37000 7:TCS104 Swathi Developer Development 28 29000

$ grep -n "TCS[0-3][0-9][0-9]" emp : Displays only TCS employee details with line number present in the original file ranging from TCS000 to TCS399. 1:TCS101 Anu Engineer Manufacturing 30 35000 3:TCS102 Raki Accountant Admin 31 32000 6:TCS103 Nanda Engineer Manufacturing 29 37000 7:TCS104 Swathi Developer Development 28 29000

*NOTE : emp and student are the file names.*

unix is great os. unix is opensource. unix is free os. learn operating system. unix linux which one you choose. unix is easy to learn.unix is a multiuser os.Learn unix .unix is a powerful.

sed -e 's/unix/UnIx/g' filename.txt : Searches for unix and replaces it with UnIx everywhere. Here g stands for making changes globally. UnIx is great os. UnIx is opensource. UnIx is free os. learn operating system. UnIx linux which one you choose. UnIx is easy to learn.UnIx is a multiuser os.Learn UnIx .UnIx is a powerful. linux is easy to learn.linux is a multiuser os.Learn linux .linux is a powerful.

sed 's/unix/UnIx/1g' filename.txt : Replaces with Unix globally from the first occurrence in a line. UnIx is great os. UnIx is opensource. UnIx is free os. learn operating system. UnIx linux which one you choose. UnIx is easy to learn.UnIx is a multiuser os.Learn UnIx .UnIx is a powerful. linux is easy to learn.linux is a multiuser os.Learn linux .linux is a powerful.

sed '3,5s/unix/UnIx/' filename.txt : It will replace the unix with UnIx from 3rd line till 5th line if present. unix is great os. unix is opensource. unix is free os. learn operating system. UnIx linux which one you choose. UnIx is easy to learn.unix is a multiuser os.Learn unix .unix is a powerful. linux is easy to learn.linux is a multiuser os.Learn linux .linux is a powerful.

sed '1,2s/unix/UnIx/' filename.txt: It will replace the unix with UnIx from 1st line and 2nd line. UnIx is great os. unix is opensource. unix is free os. learn operating system. unix linux which one you choose. unix is easy to learn.unix is a multiuser os.Learn unix .unix is a powerful. linux is easy to learn.linux is a multiuser os.Learn linux .linux is a powerful.

sed '1,$s/unix/UnIx/' filename.txt : It will replace the unix with UnIx from 1st line till the last line. Here “$” indicates end line. UnIx is great os. unix is opensource. unix is free os. learn operating system. UnIx linux which one you choose. UnIx is easy to learn.unix is a multiuser os.Learn unix .unix is a powerful. linux is easy to learn.linux is a multiuser os.Learn linux .linux is a powerful.

sed '/unix/ a "Add a new line"' filename.txt : It adds “Add a new line” at the end of the line in which unix occurred. unix is great os. unix is opensource. unix is free os. “Add a new line” learn operating system. unix linux which one you choose. “Add a new line” unix is easy to learn.unix is a multiuser os.Learn unix .unix is a powerful. “Add a new line” linux is easy to learn.linux is a multiuser os.Learn linux .linux is a powerful.

sed '/unix/ i "Add a new line"' filename.txt : i means insert the “Add new line” before the occurence of unix “Add a new line” unix is great os. unix is opensource. unix is free os. learn operating system. “Add a new line” unix linux which one you choose. “Add a new line” unix is easy to learn.unix is a multiuser os.Learn unix .unix is a powerful. linux is easy to learn.linux is a multiuser os.Learn linux .linux is a powerful.

sed '/unix/ c "Add a new line"' filename.txt : replace the line containing unix with the content “Add new line” “Add a new line” learn operating system. “Add a new line” “Add a new line”

In Python there is no need to import any external libraries for file handling as it comes with an inbuilt library There are 3 main operations associated with the file. 1. Creating/Opening a file. 2. Writing into the file/ Reading from the file. 3. Closing a file.


Step 1: Creating Opening a file :

Syntax : filePtr = open("your_file_name.txt", "mode") Following are the modes supported in python: 1. “w”, “r”, “a”: To open files in write mode, read mode and append mode respectively. ex: filePtr = open("my_file.txt", "w") It will create a new file if the given file name doesn't exist else it will overwrite the contents of the given file.

filePtr = open("my_file.txt", "r") It will open a file only if it exists in the reading mode. i.e. we cannot edit the contents of the file.

filePtr = open("my_file.txt" , "a") It will append the contents of the file if already exists else it will create a new one.

  1. “w+”, “r+”, “a+” : To open a file in write and read mode, read and write mode, and append and read mode.

filePtr = open("my_file.txt", "w+") It will create a new file if the given file name doesn't exist else it will overwrite the contents of the given file. In this mode, we can also read the content of the file at the same time.

filePtr = open("my_file.txt", "r+") It will open a file only if it exists in the reading mode also we can edit the contents of the file unlike in “r” mode. ** Note: +r differs from +w mode as in +r mode it doesn't delete the content also it doesn't create a new file if doesn't exist.**

filePtr = open("my_file.txt" , "a+") It will allow simultaneous read and append operation on the file.

  1. “wb”, “rb”, “ab”: To open files in write, read and append in binary mode respectively. ex: filePtr = open("my_file.txt", "wb") It will create a new file if the given file name doesn't exist else it will overwrite the contents of the given file.

filePtr = open("my_file.txt", "rb") It will open a file only if it exists in the reading mode. i.e. we cannot edit the contents of the file.

filePtr = open("my_file.txt" , "ab") It will append the contents of the file if already exists else it will create a new one.

  1. “wb+”, “rb+”, “ab+” : To open a file in write and read, **read and write **, and append and read in binary mode.

filePtr = open("my_file.txt", "wb+") It will create a new file if the given file name doesn't exist else it will overwrite the contents of the given file. In this mode, we can also read the content of the file at the same time.

filePtr = open("my_file.txt", "rb+") It will open a file only if it exists in the reading mode also we can edit the contents of the file unlike in “r” mode.

filePtr = open("my_file.txt" , "ab+") It will allow simultaneous read and append operation on the file.


Step 2: Writing in a file/ Reading from the file:

We can write in a file using write() function Syntax : filePtr.write("THIS is a file CONTENT")

We can read from the file using read() and readline() function ex: content = filePtr.read(): This return the entire content of the file. content = filePtr.readline(): This returns only the content of one line in a file.


Step 3: Closing a file

Closing a file is very important as if it exceeds the top limit it can lead to the crashing of the program. So it is advisable to close a file. Syntax : filePtr.close()

Today I tried to install UBUNTU 18.04 LTS into my friend's laptop. I will say it was quite a mixed experience. Below are the following steps I did for installing:

Step 1 : Partition

Click on windows icon type “Create and format Disc”. There you will see the following : Create and Format Disc

  • Right-click on C Drive.
  • Go to shrink Volume.
  • It is preferred to choose 30GB to 100Gb for UBUNTU OS. Here we will choose 60GB .i.e . 61440MB You will now see some free space being allocated. Note that during partition the unallocated free space must be at the end of all drives refer to this post on how to move unallocated spaces to the right.

Step 2: Creating a USB flash drive

Meanwhile, download the ISO file for UBUNTU 18.04 (LTS bionic). Also, download Etcher for creating flash USB. Give the path for downloaded iso file. Etcher image

Step 3 : Restart

Go to the BIOS setup. For my dell Vostro laptop. I will press F12 just as the dell image logo is visible. BIOS setup * Go to your USB drive * Select “Open UBUNTU without installing”

Click on the “Install UBUNTU 18.04.1 LTS” and it will ask for the following configuration.

  1. Select Normal Installation. Uncheck download updates while installing Ubuntu. Normal Installation Now there are two steps 1. Easy Step 2. Creating our configuration

    Easy Step

  2. Select “Install Ubuntu alongside Windows Boot Manager” and goto Step 8 Windows Boot Manager

    Our Configuration for home, root, and swap

  3. Select “Something ElseSometing Else Find where there is free space you have created. Free Space

  4. Select and click on the “+” icon and we will allocate the space for “swap” and “home” and “root” directory.

  5. Select logical memory and / signifies root, allocate 20 GB for it.

  6. Select swap memory for 4GB (half the RAM size is preferred, for my Laptop of 8GB, it's 4096 MB).

  7. Now give the rest of the space for the home.

  8. Now select install now. Install now and Continue Continue Click on continue. And wait for the installation to finish. Yay! we are all done.

Learning Unix commands are very essential as it helps you to navigate easily in your directories and files. Today we will learn some basics Unix commands which is easy for any beginners to begin with. Also you will get to know some bonus tips in the end.

Let's begin with creating new file.

cat > filename : creates a new file, if files already exists then overwrites it.

cat >> filename: appends the content in the already existing filename, else if not found then creates a new one.

Now to see if file is created or not.

ls -li : long list the files present in that directory with the inode no.

Now if you want to list files which is in some other directory or same working directory then there comes the concept of Relative addressing and Absolute addressing.

Relative addressing and absolute addressing


Relative addressing: here we can move to the directory which is under that directory.

username@hostname directoryname$ cd directory_name

Absolute Addressing: here we specify address from the root username@hostname directoryname$ cd /home/username/directory_name

Lets play with calendar commands.

cal: prints the calendar of current month

cal mm yyyy : will print calendar of that year of that month.

cal year : will print the calendar of that year

In Unix, you can do calculations as well.

bc: It will open binary calculator. Here you can perform calculations.


ln filename linkname : it creates a new link pointing to the existing file “file_name”

where cp filename newfilename : creates a new file with “newfilename” and then copies the content of the filename into it.

Note ls -li will confirm that in the copy command there will be different inode number while link command creates a new link to file as they have the same inode no.

mkdir is used to make a directory and rmdir is to remove a directory

rm file_name: is used to remove a file_name

Till now we learned some basic tips. Time for some Bonus Tips.

passwd : this command is used to change the current password

sudo passwd -l username : to lock that username from the system

sudo passwd -u username: to unlock that username from the system

sudo passwd -e username: to expire the username password next time he logins he has to give new passwd

sudo passwd -d username: deletes the password of that account and sets that account passwordless.

In recent years, we have been in so much love for the free commodity without realizing we ourselves have become the commodity. We install only free apps from stores. This is to make you aware of the possible threat to our Right to Privacy which is very important:

What the problem is?

We have used Facebook like various free social networking sites which claims connecting people. Have you ever wondered how these proprietary companies are offering users its product for free? Yes, Facebook gets lots of revenue from adds. But how these adds are unknowingly so accurate? There has to be something tracking our data. These trackers know very effectively which sites have I visited and which product I looked in the cart. There has been many cases of phone tapping and call records that itself has put the citizens privacy a question.

Whom will our data benefit?

You might have gone through various surveys that asks you varieties of question and it will predict your personality. You fill it and submit ignoring the Terms and Condition. These can give them permissions to our personal data likes messages our locations etc. Now these contents are connected to my profile. Giving the direct access to any buyer about my pulse. These companies can now target the user by bombarding with the polarised content which is designed for me and seen only by me.

Why us?

We spent most of our time on these social sites liking and disliking the contents, called as data points . These data points can describe our personality. Through these personality they target those user whose decision can be influenced. These data are so much important to the buyer's that they can pay any amount. Most of the buyers are the political parities who want to influence the election by targeting its citizens. This is cheating democratic process of election. There is a instance during the Trump's Election campaign where a candidate named Ted Cruz won the election on the basis of the user's Facebook like. See how big that difference can cause. Data mining companies like Cambridge analytica had major role in his winning. According to the report Cambridge Analytica has stated that it has around 5000 data points of around millions of American's citizens.

Our privacy is our responsibility

We have to skeptic about our data sharing. You don't know how can some companies mines your data and influence you in their reasoning. Our society has to be updated with the current threat and unethical business model. As the world is getting more advanced keeping our data secure and private is very challenging. There have been many cases of data phishing and fraud calls where we unknowing share our personal and crucial details. The reason behind this is lack of awareness among the people. It is our duty to find the solution so that the technologies we build for human life enhancement should not break it.