Sunday, 13 October 2013

How just dial works | How Just dial search functions

How Justdial Works Overview

About Justdial


Justdial, founded by V.S.S Mani, is one of the India’s leading local search engines. It’s grown by leaps and bounds, and now caters to over 25 million unique users across 240 cities in India. It employs over 4,000 people and has more than 125,000 SME advertisers today. And behind this successful business is none other than the “open” hand!


Functioning Of Justdial

Justdial relies on open source technology which supports scalability in a seamless manner. Just dial adopted CLAMP Stack, about 300 servers connecting 3500 workstations at just dial, are powered by this CLAMP stack. CLAMP stands for Cloud Flare + LAMP (LINUX, APACHE, MYSQL and PHP).


Significance of CLAMP

Justdail using Cloud Flare to extend the scalability of the LAMP stack from an individual machine to a global network. Cloud Flare cuts the load on a typical LAMP stack web server by nearly 70%. That allows you to put twice the load on a single server the LAMP burning out.


REDHAT AND LINUX

Just Dial chose Red Hat Enterprise Linux (RHEL) to power its servers, Ubuntu on the desktop front, MySQL, PostgreSQL and MongoDB for database management, and WebHuddle for Web conferencing and video conferencing. While performance, security of the platform and trust in Red Hat made Just Dial bet on RHEL, the optimal network stack in Ubuntu won Just Dial’s confidence in the Ubuntu OS. Moreover open source technologies helps in refining the search logic. 


Justdail search Functioning

The company uses a search engine called Sphinx, a standalone search engine, which is a full text search engine written in C code that designed well to integrate with SQL databases on its LAMP architecture that is where non database queries searches gains relevance. The built in drivers helps in fetching the data either via direct connection to MYSQL or PostergeSQL.


Why Open source

Reasons why Just dial Choses an Open Source Platform 
1) Secure 
2) High Performance
3) Flexibility 
4) Cost Efficiency 
5) Scalability 

Open source mainly reduces the cost burden for any concern. if anyone choses Microsoft, they would have bled paying the licensing fees for 4,000 desktops and 200 servers(in justdial). But Justdial paid only Redhat subscription fee and MYSQL’s golden ticket fee, which is minimum when compared to any proprietary vendor.


Maintenance of the infrastructure

Maintenance of such an infrastructure could have been a nightmare, especially with all the innovation embedded into it. With the support of Redhat and Just Dial’s fully equipped IT team, helped Justdial address this challenge without too much trouble.

Tuesday, 1 October 2013

Best Ways To Create Free Website | How To Create Free Professional Website | Tutorial

Steps To Create Good Looking Website : Tutorial

There several ways for creating a free good looking websites. Either you can develop your own website or you can hire a designer for creating a website.

What are the steps for creating a website


1) Set up the code for your website.

2) Test run your website on your local server.

3) Then the next thing you need is, a domain name (www.example.com) to host your website.

4) After that you need a hosting center (Ex:- Godaddy.com) where your website is hosted. Don't worry about hosting I will let you know in the coming chapters. 

 These are the simple basic steps you need to create a website.

Where can you get your domain name ?
There are several website which lets you register your domain for 1 to 5 years. After that you can extend the duration as per your need. 

There are lot of technical and general tactics involved in creating a website. The building and maintenance of website is not as difficult as you and also not as easy you think. I will give you the complete information about running a professional website both in general and technical ways. 


Friday, 28 June 2013

Best Adsense Alternatives | Best way to earn money with out adsense

Best Adsense Alternatives in India | Best way to earn money with out adsense in India

Most of the bloggers think that once their blog got deneid by Google adsense, They thinking that their blogging carrier is going to End.
There are various ways to earn money in online.

Chitika Review

An American based ad network. Getting approval from Chitika is very Easy. There are banner ads, In line text adds and Pop up ads are available. It can be used along with adsense.

Drawbacks:
They pay only for US and Canada traffic, Clicks & views from Indian users will not be validated . Payout is low when compared to Adsense.

Clicksor Review 

It is another ad network which is when clicked will the ad open in a new window and also banner ads are available in clicksor.



Drawbacks:
Like Chitika they also pay only for US traffic, Clicks & views from Indian users will not be given more importance. Payout is low when compared Adsense.

Infolinks Review

Infolinks network are the best network for In-line text adds which will not distract users while reading contents. It  also can be used along with adsense. Getting Approval is bit easier than Adsense.

Drawbacks: High pay for Europe and American traffics. When compared to adsense cost per click  is low.


Kontera Review

Kontera serves more than 15,000 quality publishers every day . Getting approval is very very easy. Like Infolinks it is also a text-based ads. On mousehover ads will be displayed.

Drawbacks:
Low pay out and not good for Indian traffic.

Bidvertiser Review

Bidvertiser is a pay per click affiliating system. They are providing various types of ads such as banner ads, sky scrapper, mobile ads etc., BidVertiser can be used in conjunction with Adsense.

Draw backs:
Payout is not as good as adsense and not good for Indian traffic.

Admaya Review

This ad network is based on India, website with good page views daily can be approved by them.

Drawback:
When I read review about them in web, there was more negatives than positives, so think thrice before applying to this net work

Technoratimedia Review

Technoratimedia is one of a huge ad network which is considered as the best by most bloggers after adsense. This is an American based network. 
Getting approval is quiet easy and not as strict as google Adsense.

Drawback:

However the payout is not good for Indian publishers when compared to Google Adsense.

Java matrix multiplication simple example

Java matrix multiplication simple example

Here is a simple example of Matrix program. Normally Matrix program is bit complex when compared to other programs and we may get confused.
Here we have shared a small matrix program with proper comments.
Please post your doubts if you have :)

package hello;

/**
 *
 * @author surendar
 */
import java.io.*;

class mat //super class
{
int i,j,m=0,n=0;
int a[][]=new int[10][10];
int b[][]=new int[10][10];
int s[][]=new int[10][10];

BufferedReader br=new BufferedReader(new InputStreamReader(System.in));

void get() throws IOException //method for getting the values
{
    System.out.println("enter the number of rows and columns");
    m=Integer.parseInt(br.readLine());  //row of first matrix and column of second matrix
    n=Integer.parseInt(br.readLine());   //column of first matrix and row of second matrix
    System.out.println("enter the first "+m+" * "+n+" matrix value");

    for(i=1;i<=m;i++)
    {
        for(j=1;j<=n;j++)
        {
            System.out.println("enter the "+i+"th row "+j+"th column value");
            a[i][j]=Integer.parseInt(br.readLine());//gets the input for first matrix
        }
    }
    System.out.println("enter the second "+n+" * "+m+" matrix value");
    for(i=1;i<=n;i++)
    {
        for(j=1;j<=m;j++)
        {
            System.out.println("enter the "+i+"th row "+j+"th column value");
            b[i][j]=Integer.parseInt(br.readLine());//gets the input for second matrix
        }
    }
}
}

class mul extends mat
{
   
void calc()//function for calculating the matrix multiplication
{int k;
    for(i=1;i<=m;i++)
    {
        for(j=1;j<=m;j++)
        {
            for(k=1;k<=n;k++)
            {
            s[i][j]=s[i][j]+a[i][k]*b[k][j]; //formula to calculate matrix multiplication
            }
        }
    }
 }

void disp()
{
    System.out.println("The solution matrix is:");
    for(i=1;i<=m;i++)
    {
        for(j=1;j<=m;j++)
        {
            System.out.print(s[i][j]+"  ");   // displays the solution matrix
        }
        System.out.println("\n");
       
}

}
}
public class matrix {
    public static void main(String args[]) throws IOException
    {
        mul m=new mul();
        m.get();
        m.calc();
        m.disp();
       
    }
   
}

Hope this example will give you a clear idea about matrix coding in java.

Thursday, 23 May 2013

How to give different colors for different rows in a table CSS | Different Colors To Row In TableCSS

How to give different colors for different rows in a table CSS | Different Colors To Row In Table CSS

In this tutorial I am going to Explain How to give Different Colors to Different rows in a Tables. Using CSS We can give different colors to different tables easily !!!

Look at the following code keenly, Because rows are defined with classes namely odd and even.
The header class is different.

Consider the html code

<html>
<head>
</head>
<body>
<table border="0">
<tr class="trhead" align="center">
<th>Row</th>
<th>Colors</th>
</tr>
<tr class="odd" align="center">
<td>odd row</td>
<td>blue color</td>
</tr>
<tr class="even" align="center">
<td>Even Row</td>
<td>Yellow Color</td>
</tr>
<tr class="odd" align="center">
<td>odd row</td>
<td>blue color</td>
</tr>
<tr class="even" align="center">
<td>Even Row</td>
<td>Yellow Color</td>
</tr>
<tr class="odd" align="center">
<td>odd row</td>
<td>blue color</td>
</tr>
<tr class="even" align="center">
<td>Even Row</td>
<td>Yellow Color</td>
</tr>
<tr class="odd" align="center">
<td>odd row</td>
<td>blue color</td>
</tr>
<tr class="even" align="center">
<td>Even Row</td>
<td>Yellow Color</td>
</tr>
</table>
</body>
If you paste the above code you will get a blank normal table.

In order to add color to it follow the below code. In this second piece of code I have added style to the table using CSS. Note that I didn't created a separate CSS file. I just given the CSS tag in the head tag using <style> tag.
Just see the below code to know how it woks.

The CSS code is:
<style>
.odd
{
background: blue;
}

.even

{
background: yellow;
}
</style>

Paste this CSS code in the head tag like in the below example. You will get different colours for your rows.


<html>
<head>
<style>
.odd
{
background: blue;
}

.even

{
background: yellow;
}
</style>
</head>

</head>
<body>
<table border="0">
<tr class="trhead" align="center">
<th>Row</th>
<th>Colors</th>
</tr>
<tr class="odd" align="center">
<td>odd row</td>
<td>blue color</td>
</tr>
<tr class="even" align="center">
<td>Even Row</td>
<td>Yellow Color</td>
</tr>
<tr class="odd" align="center">
<td>odd row</td>
<td>blue color</td>
</tr>
<tr class="even" align="center">
<td>Even Row</td>
<td>Yellow Color</td>
</tr>
<tr class="odd" align="center">
<td>odd row</td>
<td>blue color</td>
</tr>
<tr class="even" align="center">
<td>Even Row</td>
<td>Yellow Color</td>
</tr>
<tr class="odd" align="center">
<td>odd row</td>
<td>blue color</td>
</tr>
<tr class="even" align="center">
<td>Even Row</td>
<td>Yellow Color</td>
</tr>
</table>
</body>

Your output will be ...

If you want each row to be displayed in different colors just give a class to that row and right a CSS for that , Then you will easily display a table with multicolored rows. 

Just try it your self with diving colors to separate rows and columns, Feel free to post you doubt as comments here.

Hope this post would have helped you regarding building a table with different colors.

Friday, 17 May 2013

Image border In IE | How to remove image border in IE

How to remove image border in IE


Normally there are some issues which may work fine in some browsers and not in other browsers.
For example ,
Image tags may work fine in Chrome, Mozilla and Saffari but not in IE 6 like browsers.
Mostly browser compatibility issues arise when we start cecking our website in IE and other browsers.

Here is one of the issue and how to rectify it.
Some times we may see unnecessary image borders in Internet Explorer. We no need to be panic to remove those border.

Just give the value of border = "0".

Consider the example !

You may give a logo image for your website. And your code will look like 
<img src="logo.png"></img>

Just change the code to

<img src="logo.png" border="0"></img>
Now everything will work fine.

Any doubts please post here in comments, I will help you over come it.
Subscribe to us for More Updates...

Friday, 10 May 2013

How to partition a width/class in css | partitioning width

How to partition a width/space/class in css | Partitioning width in Website | HTML


Some times designers may think on how to do partition in css. It is as simple as you like.

Consider a ID(container) whose width is 900 and height is 300 and name of the class is "container"(any name of your wish can be given).  
Then the CSS for the above is

#container                                  <!--- Class name --- !>
{
width: 900px;
height: 300px;
}

Let us partition the container(ID) into three partitions (three sub classes) and their names inner1, inner2 and inner3 respectively.

Then we have to write the CSS accordingly.



.inner1
{
width: 290px;
margin-right: 10px;          // Space Between two classes
float: left;        <!----- Must needed -----!> // This is where the partition takes place
}

.inner2
{

width: 290px;
margin-right: 10px;
float: left;
}

.inner3
{

width: 290px;
margin-right: 10px;
float: right;
}

How to use it in HTML !!! (Copy paste this following code in your html and you can see how a particular space is partitioned and will add fuel to your desire towards CSS and web designing )

<html>
<head>
<style>
#container
{
width: 900px;
height: 300px;
}
#container .inner1
{
width: 290px;
         // Space Between two classes
float: left;
height: 300px;
      <!----- Must needed -----!> // This is where the

partition takes place
}

#container .inner1
{
width: 290px;
margin-right: 10px;
float: left;
height: 300px;
}


#container .inner2
{
width: 290px;
margin-right: 10px;
float: left;
height: 300px;
}

#container .inner3
{
width: 290px;
margin-right: 10px;
float: right;
height: 300px;
}
</style>
</head>
<body bgcolor="yellow">
<div id="container">
<div class="inner1">
<p> This space occupies 300 pixels of width and floats to

the left </p>
</div>
<div class="inner2">
<p> This space occupies 300 pixels of width and floats to

the left  follows the first class (inner1)</p>
</div>
<div class="inner3">
<p> This space occupies 300 pixels of width and floats to

the right  follows the second class(inner2)</p>
</div>
</div>
</body>
</html>

Your Output is:

After copy pasting try it with your own contents and images etc., Note that width and height should be accurate.

Please do subscribe more Updates on CSS... If any doubts in this tutorial please feel free to comment you doubts here !

Monday, 6 May 2013

Techniques to increase page likes | How to develop a FB page | Getting Likes for new Facebook page

How To get more likes for my page | Ways to get more likes in my page

I want tell you the technique of how to improve Facebook page Likes.

Nowadays Facebook is widely used and users adhered to that social networking site is keep on increasing. Most users want to increase their page likes in order to make their post to reach many people.



Starting page is easily but how to Increase Likes ??? First thing is to give an attractive page Title, then follow the below steps.

I want to share few steps to get "LEGAL"likes to a FB page !!!

1. After Staring your page put some quality posts and invite you friends through invite friends option.

2. After inviting your friends there will be some decent likes for your new page then you have to Tag you friends on the posts you were posting in your page.
RESULT ?
Friends of your friends will come to know about your page and they will like it, If the post quality is good they will share your posts.
3. In turn people who saw those shares will mostly like your page and they may share, Your likes will keep on increasing.

4. Now join groups and post your page link with a description that lures people to like your page. Advantage of facebook group now is, If any user post in group that post will reach all the users of that group in the news feed, so it is good to share your page in groups and get more likes.

5. Next important thing to increase page likes. Ask pages of other admins to share your page.
But how to do ?
There are many page admin groups in FB which you can simple search like "facebook page admins" or some key word related to that. And you can post your page link in those groups and can ask those admins to share your page.

These are the ways to get Likes legally to your facebook page. If you go for getting FB likes in an illegal way like software or apps there is a huge threat of loosing your password and giving your facebook page to hackers. 

Be safe go safe :)

Saturday, 4 May 2013

UDI-12560 operation generated oracle error | ORA-12560 TNS protocol adapter error

UDI-12560 operation generated oracle error

This error is commonly seen in SQLPLUS.
No need to panic while seeing this error just follow the basic steps.

 While installing Dump you will be fired UDI-12560 operation generated oracle error 12560.
If this error occurs, it means that you have not created the user for the database.

Action:

create user user_name identified by password default tablespace tablespace_name quota unlimited on autosalvage;

Then your issue will be resolved.

If Your issue is not resolved please post your comment here.

Thursday, 2 May 2013

How To add Oracle Listener

How to Add oracle Listener | Adding Listener for Oracle Database

STEPS TO FOLLOW :

Basically Listener is used to receive incoming connection requests and to manage the traffic of these requests to the DB server accordingly.  I am going tell you how to create an Oracle Listener.

Go to Start

Click Oracle database Home 11g


Click configuration and Mitigation tools and 
 keep the cursor on "Net Configuration Assistant" and Right click it and run it as an administrator



Click Listener configuration and click Next




Give your listener name and click Next




Choose Your Protocol (Basically TCP is chosen mostly by default) and click Next




You will be prompted for other Listener, Just click the "No" radio button and give next.




After clicking next then click Finish



Then after adding Listener you have to check whether the listener is started or not right ???

Give The Command LSNRCTL STATUS  in your command prompt to check that you have added listener properly or not.


Hope this will help you, If you have further queries please feel free to ask me.

How To Create A Face Book Page

Creating a Facebook Page | With Screen shots


Creating facebook page is like a bread and butter for everyone. Just follow the simple steps.

Login to your profile ... Click Home Button and just start creating the page.

See the left hand side, There you can see the options " Page" below that you will have option create page. Click the "Create Page" option.

                              

Choose The type of your page, you going to start


Here Below I chosen Artist, brand or public figure and my category is artist. The Click Get started option.

You can Add what your page is about and in the second step you can add a profile picture that is relevant to your page and if you want you can enable advertisements.

Click home then, If your created page name is displayed below the pages option like in the below picture, then you have created your page successfully.





















If you have any doubts regarding the creation of page , Please feel free to comment here for further queries.

Thank you.

Monday, 29 April 2013

TNS Listener Starting Problem | Listener Not Working

TNS Listener Starting Problem in oracle, How to resolve TNS Listener Service not starting problem

Some times you may find that TNS listener is not working or TNS Listener service not found ...

Let Me Explain Briefly and precisely ...

How to Add Listener ?

1. Go to Listener configuration option and click add listener and then finish creating the Listener.

How to check whether the Listener service is started or not ?

1. Go to "Net Manager" in Oracle and open the drop down one by one. If the listener is listed then no problem in Listener service.
If not ??? !!!

Just do this simple steps to add your listener.

1. Right Click My computer
2. Go to advanced settings
3. Then click Environment Variables
4. Add Path name= PATH, And Value = "Your oralce "db_home1"" folder location.

If already a path name exists just add you folder location and place a semi colon. 

Your problem will be solved ... Any doubts regarding this feel free to comment here :)

Thank youu.

imdp not recognized as internal or external Command | Error in importing dump oracle

imdp not recognized as internal or external Command | Oracle Error


When We try to import an oracle dump file we may get this error , The most probably the reason  for such error is simple. 

Consider the following command,
" <sql> impdp username/password dumpfile=dump_file.dmp log=impdpas.log schemas=schema_name "

When You execute that command, you will get the following error


'imdp' is not recognized as an internal or external command,
operable program or batch file.

Solution is that you are not supposed to execute the command in "SQL"command prompt.
You Should exit SQL command prompt and execute that in Normal CMD (windows command Prompt)

C:\Windows\system32>  impdp username/password dumpfile=dump_file.dmp log=impdpas.log schemas=schema_name

Hope This will help you to resolve your issue.

Subscribe to me for more updates :)