Skip to main content

Posts

Machine Learning (Introduction)

Let us start by simple question. What is Machine Learning? Machine Learning is one of the most popular fields in computer science. Basically machine learning are some computer algorithms that improve automatically with experience. Using these algorithms computers can provide sense to data in much the same way as human beings do. The mail goal of ML algorithms are to extract some kind of pattern from raw data. One of the famous definition of Machine Learning is: A computer program is said to learn from experience E with respect to some class of tasks T and performance measure P, if its performance at tasks in T, as measured by P, improves with experience E. Need of Machine Learning? One of the main question people ask is what is the need of machine learning. Humans being one of the most advanced species in the whole world, we can make decisions and evaluate complex problems, so why do we need machine learning. The Artificial intelligence still being in it developing state, is slowly evo...
Recent posts

Poker Analysis using Python (numpy and pandas)

In this I did an analysis on poker. I made my own dataset by randomly selecting 7 cards from the dataset. It does not gives the actual results. It is more of a simulation of actual data. I have used jupyter-notebook for this you can use any IDE according to your liking. Start by importing the modules. import pandas as pd import numpy as np import random import time Then I created a function calculate_hand which takes hand as a list and returns a boolean list with the corresponding values [royal_flush, straight_flush, four_of_a_kind, full_house, flush, straight, three_of_a_kind, two_pairs, pair, highcard] . If the hand has three cards of same value three_of_a_kind will be True , also pair will be True because if a hand has three of a kind, it also has a pair. Highcard always return the high card. ALL_CARDS_NUM = {'2': 2, '3': 3, '4': 4, '5': 5, '6': 6, '7': 7, '8': 8, '9': 9, 'T': 10, 'J': ...

Deeper dive into Deindividuation!!

According to wikipedia.org: Deindividuation is a concept in social psychology that is generally thought of as the loss of self-awareness in groups, although this is a matter of contention. Now some of us will think that if we carry ourselves (identity) with us, how can we lose our self-awareness, well there are many ways, some examples are: Becoming a part of a large group, such as a mob or army. Becoming engrossed in an interesting task, such as a hobby. Meditation and other contemplative activities. Deindividuation is when a person loses his individual identity and gains the identity of the group. We have often noticed, when two groups argue or fight, it often looks like two people are fighting/arguing. Factors of deindividuation in a group are: Anonymity, so I can not be found out. Diffused responsibility, so I am not responsible for my actions. Group size, as a larger group increases the above two factors. Conformity  to a social norm When you are in a group...

Hacking WiFi passwords using aircrack-ng (Kali/other linux)

Hacking.. Wouldn't it be great if you can hack you neighbours wifi password and use that for rest of your life. Yeah it would be.. But there is a problem if they find out you can end up in jail. But for the purpose of your curosity I will tell you how can you hack the wifi password using Kali Linux. But use this only for the purpose of your curosity as it is a voilation of somebodies privacy. We don't recommend using this on strangers/friends/neighbours.. anybody. Requirements: Linux (I used Kali) - if you don't have Kali use this link   aircrack-ng (apt-get install aircrack-ng) Word dictionary (https://github.com/brannondorsey/naive-hashcat/releases/download/data/rockyou.txt) I recommend installing/downloading them before you begin as the connection is lost when you begin the process. Step 1 : Open the terminal. Install aircrack sudo apt-get install aircrack-ng Complete the installation Step 2 :  Type airmon-ng command prompt. You will see the interfaces...

Abilene paradox: Group think

According to Wikipedia: In the Abilene paradox, a group of people collectively decide on a course of action that is counter to the preferences of many or all of the individuals in the group. In simple words, Abilene paradox is when each member of a group is a against the popular choice of the group and mistakenly believe that opposing it will cause a problem. It is a major problem in a big organization as well as in real life. The term was introduced by management expert Jerry B. Harvey in his 1974 article "The Abilene Paradox: The Management of Agreement". It was named like this because one day he and his family were sitting outside playing and having fun. His father-in-law jokingly suggested taking a trip to Abilene which was 44 miles away for supper. They all agreed because everyone thought other person wanted to go. But it turns out that it was an awful trip and a waste of a perfect Sunday. So, whenever such situations occur he is always reminded of that trip to Abil...

Install Kali Linux (live) on USB/Hard disk

Kali Linux is a Debian-derived Linux distribution designed for digital forensics and penetration testing. It is maintained and funded by Offensive Security Ltd. It is commonly used for hacking. So, in this post I will tell you how to install on external USB or Hard disk. Best thing about Kali is that it can be used directly from your external device and you don't have to install in on your computer. Things required:  External USB/Hard disk. Kali Linux iso file Rufus (Optional) Minitool Step 1 : Download Kali Linux . Any version that suits you. The light version will have less applications installed. Step 2 : Download Rufus . Rufus will help us make the USB bootable. I download the portable version.  Step 3 : Open Rufus, Select the device (If you are using an external hard disk press Alt + F, it will enable detection of the Hard disk) and ISO file for Kali linux in Boot Selection. Then click start   There will be some prompts just press ...