Getting started with Python for Data Analytics

Hey are you one of them, who is interested in Data Analytics and pondering of learning Python?? But at the same time you might be having a lots of questions in your mind like how to get started, what are the tools do I require or what are the basic requirements to learn Python.

So you can take a deep breath and just relax as learning Python is not a rocket science.

You just need to be a enthusiast learner with any prior programming language(like C or Java). This post will help you to get some guidelines to get yourself involved and show you the proper road map to enhance your analytics skill in Python.

Roadmap:

  1. Get the Anaconda distribution Package. Install it into your system and try to explore the GUI of it
  2. Learn the Programming Basics of Python.
  3. Explore about the basic data structures and the purpose of using them(List, Dictionary and Tuples)
  4. There are a lots of packages for Data Analytics. But as a beginner you can get started with numpy and pandas
  5. For visualization learn matplotlib

 

How to develop a website and desktop aplication using a single stack Technology

Every single web developer face the challenge if they want their project to be done on both web and
application stack. Even if the developer have the knowledge of both the stack, e.g. Application:(VB.NET, C#) or
Web:(php,HTML,javascript,CSS,ASPX), then it’s almost a situation where one would think either of working
on both technology paralelly or choosing the other option i.e. one after another. Somehow it could be done choosing
one of those options with some worse head bang efforts.
But, will it be a better approach if there is a time constraint??Than certainly, it’s a NO.
So if you are a PHP developer thinking of getting a solution over this situation than you are in the better place.
Following are the components you need to know before getting it started:
(1)PHPDesktop Chrome
(2)SQlite Database
(3)PHP using PDO
(4)InnoSetup Installer

The upcoming Post coming soon will be helpful to you, where I will tell you step by step about each component that you must know before developing your application/website. Stay Tuned!

PHP Developers won’t be stressed anymore!!

Are you a PHP developer and tired of web development. Are you looking forward to work on desktop application development but still hate the limitations and constraints of .NET, than don’t worry there is a option. PHP Desktop Chrome will help you out to fulfill your needs without learning any new programming language.
PHP Desktop chrome runs on a chrome engine which will run your all php scripts in a window based GUI without any URL.

Maintain your 1k lines of codes and make it more legible.

How would you write your code to make it more understandable?? Do you think there are some coding standards over Internet? Will you be able to follow it strictly??
Precisely saying, yes it’s obvious there are coding etiquette which is followed by various giant IT companies. But the point is, it’s a choice for a Developer as because every developer may have their own convenient way of writing programs.
Here I have mentioned some of the fundamental coding standards which one could adapt it to maintain their code legibly:

1.Formatting
*Line length can be limited to 80-100 characters and not more than one statement per line
*Using of spaces is a good practice instead of using tab
*For every block-like construct (class, method or constructor) following of the rules can be followed:
-Braces are used with ( if, else, for, do, while ) statement even if the body is empty or contains a single statement
e.g
if ()
{

}

-Each time a new block-like construct is opened, the indent can increased by two spaces
-Control statement ( if, else, elseif, switch) can have one space between the control keyword and opening parenthesis to distinguish them from function calls
e.g.
switch (condition){
case 1: action;
break;
default: defaultaction;
break;
}

*Long if statements can be split into several lines when character/line limit get exceeded
e.g.
if ( ( condition1
|| condition2 )
&& condition3
&& condition4 )
{
//code goes here
}

*Assigning value to a variable can have one or multiple spaces on either side of an equals   ( = ) sign in order to promote readability

$short               = 321 ;
$long_variable = 456 ;

*Functions should be called with no spaces between the function name, the opening between the function name, the opening
paranthesis, and the first parameter; spaces between commas and each parameter, and no space betweeen the last parameter
,the closing paranthesis, and the semicolon
e.g.
var = function($var,  $bar,  $small_var);

2.Naming
*Class names can be written in UpperCamelCase

e.g. $LongVariable
*Method names can be written in lowerCamelCase

e.g. $smallVariable
*Constant names can be all uppercase letters, with words separated by underscores
e.g. CONSTANT_CASE
*Local variables and Parameter names can be written in lowerCamelCase

e.g. $variableLength

3.Commenting
*Proper commenting of each method can be done using singled or multiple line comment
e.g.
void function()
{
//this is the content of the body
}

void new_function()
{
/*This method
*passes the variable to
*another function and returns
*Boolean value */
}

How to Connect Two Computers Together with an Ethernet Cable

Note: Verify that you have a crossover Ethernet cable.

Step 1: Examine the wire color patterns at each end of the Ethernet cable to determine whether or not the colors match up.

Step 2: Plug each end of the Ethernet cable into an Ethernet network port on each computer to connect the computers together with the cable.

Step 3: Go to any one of your computers, and click on the “Start” menu->”Control Panel”

Step 4: Type “network” into the search box provided to you within Control Panel.

Step 5: Select “Network and Sharing Center” from the options displayed in the window.

Step 6: Select and open the icon labeled “Unidentified network” from the network map at the top of the Network and Sharing Center window. This icon may display as “Multiple networks” if you have more than one network.

In Windows 8, click change advanced sharing settings (on the left list).

Step 1: Click on the message that prompts you to change the network discovery and file sharing settings, then click on the option that reads, “Turn on network discovery and file sharing. “

Step 2: Type the administrator password for the computer if prompted to do so, then press “Enter” on your keyboard. Both of your computers will now be visible in the Network and Sharing Center window, and you will have the ability to share files and other resources.

How to Block Adult Sites using Browser Extensions / Add-ons

Step 1: Open the Internet browser you use.

Step 2: Navigate to your browser’s extensions or add-ons menu. For example, if using Google Chrome, click on the Chrome Menu button and select “Extensions” from the left pane. If using Firefox, click on the “Tools” -> “Add-ons” menu.

Step 3: Select the option to browse, or get more extensions. A new tab will open in your browser session that allows you to search for more extensions.

Step 4: Type keywords into the search field to locate extensions and add-ons that block adult sites. For example, type “parental controls” or “block adult sites.”

Step 5: Browse through extensions and add-ons until you find an extension you can download that blocks adult sites. Examples of such extensions are WebFilter Pro and Website Blocker.

Step 6: Select the option to download or add the extension to your Web browser. Based on the extension you download, you may need to modify certain settings to ensure adult content is blocked.

How to create a WiFi in Window PC using Command Pormpt

Step 1: Press the “Windows key” and “R” buttons at the same time. The Run window will pop up.

Step 2: Type “cmd” in the box then hit “Enter“. The Command Prompt will pop up, with Administrative Privileges.

Step 3: Type netsh wlan show drivers in command prompt and press enter. Search for the field “Hosted network supported :Yes” which means the PC supports hosted networks. Verify this.

Step 4: Type netsh wlan set hostednetwork mode=allow ssid=Hotspotname key=password in Command prompt. This will create a Hotspot but it is currently offline.

Step 5:  Type netsh wlan start hostednetwork in command prompt to start the hotspot.

Note: 

Type netsh wlan stop hostednetwork in command prompt to stop the hotspot.

Type netsh wlan show hostednetwork to check the hotspot status.

To share your internet connection on this hotspot:

  1. Network and sharing center> Change adapter setting.
  2. Right click on the Connection>select properties.
  3. In properties go to Sharing tab and check the box “Allow other network users to connect through this computer’s internet connection”. 
  4. Select the network connection name that is used by your hotspot.(For this check the Network Connection Window and look for Connection which says Microsoft Hosted Network Virtual Adapter). And save it.

Now your internet connection is shared.

 

How to access your PC remotely with Google Chrome Browser from your Android Mobile

Step 1: Open Chrome Browser and login your Gmail account.

Step 2: Follow this url:  https://chrome.google.com/remotedesktop.

Step 3: Click on the button “+ADD TO CHROME” and the Remote Desktop Extension will be added to the browser.

Step 4: A popup comes on the screen to authorize and continue. Click “Authorize”  and then “Continue”.

Step 5: A window with two section appears: a)Remote Assistance b)My Computers

Under the section “Remote Assistance” click on Share and a Access code is generated.

Under the section “My Computers” click Enable remote connections and give a PIN to protect the PC for security purpose(Mostly required while accessing from different location)

Step 6: Now download the App “Chrome Remote Desktop” from Google Play Store from the Android Phone.

Step 7: You Can See the Host Name in your mobile .Click on that and give the Access Code/ PIN code.

Android Phone will be connected with the shared PC.

Google invites entries for contest: ‘Doodle 4 Google’

Google India has launched the eighth edition of its ‘Doodle 4 Google‘ contest, inviting students from classes 1 to 10 to send their artwork for a chance to have it featured on the Google homepage. The doodle must incorporate “Google” with the theme, “If I could teach anyone anything, it would be…” The last date for entries is October 21.