Microsoft’s New Search – Bing Coming Soon

May 30th, 2009 joy No comments

Microsoft on May 28 2009 introduced their new search engine named bing,which will be available world wide at www.bing.com from June 3rd.

bing

What’s new in this search engine? question may go through our mind. Microsoft Bing Team as the answer saying ,

We took a new approach to go beyond search to build what we call a decision engine. With a powerful set of intuitive tools on top of a world class search service, Bing will help you make smarter, faster decisions. We included features that deliver the best results, presented in a more organized way to simplify key tasks and help you make important decisions faster.

Let’s wait and see in the coming days the fight between Bing(Decision Engine) Vs King(Google Search Engine).

you can find more information on bing from discoverbing.com and decisionengine.com .

Popularity: 1% [?]

Categories: Tech Stuff Tags:

Java with JDBC

May 30th, 2009 Jaffar No comments

Combination of java and JDBC is very useful to lets the programmer run his/her program on different platforms. Java programs are secure, robust, automatically downloaded from the network.JDBC API enables Java applications to interact with different types of databases.

Some of the advantages of using Java with JDBC are
• Easy and economical
• Continued usage of already installed databases
• Development time is short
• Installation and version control simplified

JDBC does the following three things
• Establish connection with a database
• Send SQL statements
• Process the results

Popularity: 1% [?]

Categories: Java Tags: ,

Java Networking

May 29th, 2009 Jaffar No comments

Network is nothing but a set of computers which are physically connected together.internet is a network of networks.

Protocols:
Different networks requires certain set of rules called protocols.java networking is done using TCP/IP protocol

Different types of protocols are also available in this protocol they are:

*Http(Hyper Text Transfer Protocol)
*FTP(File Transfer Protocol)
*SMTP(Simple Mail Transfer Protocol)
*NNTP(Network News Transfer Protocol)

Sockets:
Sockets is used to plug in just like a electronic sockets.it is essential that they should follow a set of rules to communicate called protocols.
TCP/IP as protocol for communication and IP addresses are the address of the sockets.

Client/Server:
A computer request some service from another computer,is called a client.one that processes the request is called server.A server waits till one of its clients makes a request.it can accept multiple connections at a time.Multi-threading is used to serve multiple users at the same time.

Internet Addresses:

Every computer are connected to a network has a unique IP address.An IP address is a 32-bit number which has four numbers separate by periods.it is possible to connect to the Internet either directly or by using internet service provider.By connecting directly to the internet,the computer is assigned with a permanent IP address.

InetAddress:
InetAddress is one class,which is used to encapsulate th IP address and the DNS.to create a instance of InetAddress class,factory methods are used as there are no visible constructors available for this class.

Methods:

static InetAddress getLocalHost()
//Returns InetAddress object representing local host
static InetAddress getByName(String hostname)
//Returns InetAddress for the host passed to it.

Popularity: 2% [?]

Categories: Java Tags: ,

Know who is sharing with you in a shared hosting

May 28th, 2009 joy No comments

We would be curious to know who is sharing our IP in our shared hosting package.Here is a way to know that,Axandra free seo tool makes the task easy.

Not everybody can go for a dedicated IP which are better.So atleast we will know our neighbour’s which is good for some specific reasons,such as :-

  • To check websites hosted on our server are not spammer.
  • To check if porn websites are hosted on the same server we are sharing.
  • To check with others to clarify if there is a downtime in our shared server.

To look in a postive side we can also make friends with whom we are sharing our IP.

Link :- http://www.axandra.com/free-online-seo-tool/shared-hosting-check.php

Popularity: 1% [?]

How do you create a Thread

May 27th, 2009 Jaffar No comments

Threads:
Thread is a line of execution.In a single-threaded system there is only one execution line (i.e) only one part of program is in the process of execution at any one time

To create a new thread:

Thread mythread = new thread(this);

this referes the current applet & mythread is a variable

Example:

import java.awt.*;
import java.applet.Applet;
public class MovingBall extends Applet implements runnable
{
Thread mythread=null;
int position=0;
public void start()
{
mythread=new Thread(this);
mythread.start();
}
public void run()
{
while(true)
{
for(position=0;position) {
repaint();
try
{mythread.sleep(100);
}
catch(InterruptedException e)
{
}
}
}
}
public void stop()
{
mythread.stop();
mythread = null;
}
public void paint(Graphics g)
{
g.setColor(Color.gray);
g.fillOval(position,50,30,30);
g.setColor(Color.black);
g.fillOval(position+6,58,5,5);
g.fillOval(position+20,58,5,5);
g.drawLine(position+15,58, position+15,68);
g.drawLine(position+12,68, position+15,68);
g.drawLine(position,45,30,30,-50,-70);
}
}

Popularity: 6% [?]

Categories: Java Tags: ,

Ms-Dos Command – Copy & Move

May 26th, 2009 Jaffar No comments

1.Copy a Specify File From One Location to Another.


Copy a Specify File From One Location to Another

2.Copy all the File From One Folder to Another.


Copy all the File From One Folder to Another

3.Move all the File and Sub-Folder From One Folder to Another.


Move all the File and Sub-Folder From One Folder to Another

Popularity: 4% [?]

Categories: Windows Tags:

Delete Automatic Updates,Ready To Install

May 23rd, 2009 Jaffar No comments

Presuming : you downloaded this update through Window Updates and not manually

Remove Window Update downloads from the temporary folder:-

1.Stop the Automatic Updates service (Click Start, Choose Run.
In the Run box, type services.msc.Click OK.Right-click the Automatic Updates service.Click Stop.Stopping the service will take a moment.)

2.Delete the contents of the Download folder(Click Start. Choose Run.In the Run box, type %windir%\SoftwareDistribution
Click OK.Open the Download folder. Delete all contents of the Download folder.Close the window.)

3.Start the Automatic Updates service(Click Start. Choose Run.
In the Run box, type services.msc.Click OK.Right-click the Automatic Updates service.Click Start.Starting the service will take a moment.)

By deleting the contents of the Download folder - you have removed any downloaded updates.

Popularity: 2% [?]

Categories: Windows Tags:

What is SVG?

May 21st, 2009 Kathir No comments

Scalable Vector Graphics (SVG) is a XML based language for describing 2D (two dimension) graphics, both static and dynamic.

SVG is an open standard developed by W3C (World Wide Web Consortium). Since the SVG images are defined in XML, they can be searched, indexed, compressed. SVG images can be edited using any text editors.

All major web browsers except Internet Explorer supports and renders the SVG images. Internet Explorer needs a plugin for rendering SVG images.

SVG allows 3 types of graphics:

1. Vector Graphics

2. Raster Graphics

3. Text

A typical SVG image’s xml look like

<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
         "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink">
  <polygon fill="red" stroke-width="10" fill-opacity="0.4"
           points="350, 75 379,161 469,161 397,215
                   423,301 350,250 277,301 303,215
                   231,161 321,161"
           transform="translate(-350,-200) scale(2) rotate(10)" />
</svg>

and its Image output

Popularity: 1% [?]

Categories: What-is Tags:

CASE Function in SQL Server 2005

March 29th, 2009 admin No comments

Sql Case Function :

  • The CASE function allows you to evaluate a column value on a row against multiple criteria, where each criterion might return a different value
  • CASE is just a searched (or lookup) expression – you cannot RETURN from inside it – it’s kind of like IF() in Excel


Sql Case Function has two Types.

  • Simple Function
  • Searched Function

Simple Function :

Syntax :

case @Type
when expression then Result
when expression then Result
else Result

Example for Simple Function:

Set @state=’IND’

Select
state,
case @state
when ‘IND’ then ‘INDIA’
when ‘PAK’ then ‘Pakistan’
when ‘RSA’ then ‘South Africa’
when ‘Lanka’ then ‘Sri Lanka’
end as State Name
from State_name

Result:

State State_name
==== =========
IND INDIA

Searched Function :

Syntax :

case
when boolean_expression then Result
when boolean_expression then Result
else Result

Example for Searched Function:

Table :
Code State
=== ====
1 I
2 IND
3 PAK
4 RSA
5 SL

Select
state,
case
when state in (‘IND’,'I’) then ‘INDIA’
when state in (‘PAK’,'P’) then ‘Pakistan’
when state in (‘RSA’,'SA’) then ‘South Africa’
when state in (‘Lanka’,'SL’) then ‘Sri Lanka’
end as State Name
from State_name

Result :

State State Name
==== =========
I INDIA
IND INDIA
PAK Pakistan
RSA South Africa
SL Sri Lanka

Popularity: 20% [?]

Categories: Sql Server Tags:

How to view source of a show modal dialog page

March 17th, 2009 admin No comments

We can view a page source normally from the menu view->source in mozilla or ie.But how would we view a page source of a showmodal page.

we can achieve it by the following code.

function viewSource() 
{
d=window.open();
d.document.open('text/plain').write(document.documentElement.outerHTML);
return false;
}

Popularity: 3% [?]