Gazolinia - Life of Software Engineer
Creators of future world....
Showing posts with label www is all about. Show all posts
Showing posts with label www is all about. Show all posts

I have installed side wiki extension to my chrome browser.I wrote my first side wiki in my fav chrome browser and thought of publishing this in my blog . But it neither throwed error nor published. Is there any bug in addon or in my browser or within me(hoping Google don't come out with this sort of open bugs) ?

Bookmark and Share

 

Even sometimes Google search goes into exception with unexpected results. If you feel so, then please run your query on the following table and get confirmed it as an optimized query.

The following table summarizes how Google interprets your query.

Search BehaviorsDescriptions
Implicit ANDGoogle returns pages that match all your search terms. Because you don't need to include the logical operator AND between your terms, this notation is called an implicit AND.
Explicit OROR(Caps) or | operators can be used explicitly to intimate Google, to search for either of this alternative in web page.
Exact MatchingGoogle returns pages that match your search terms exactly. it cannot search for word inexpensive television when you search for cheap tv


Word Variation
Automatic Stemming


Google returns pages that match variants of your search terms.
Common-Word ExclusionGoogle ignores some common words called “stop words,” e.g., the, on, where, and how. Stop words tend to slow down searches without improving results.
32-Word LimitGoogle limits queries to 32 words.
Term ProximityGoogle gives more priority to pages that have search terms near each other.
Term OrderGoogle gives more priority to pages that have search termsin the same order as the query.
Case InsensitivityGoogle is case-insensitive; it shows both upper- and lowercase results.
Ignoring PunctuationGoogle ignores most punctuation and special characters including , . ; ? [ ] ( ) @ / * < >
Bookmark and Share

 

Just the basic difference .


DNS will work at global level i.e., when you type domain name google.com in browser, DNS lookup will take place and it will give the IP associated with the domain google.com .In general DNS translates a domain name ('gazolinia.blogspot.com') to an IP address (e.g. 209.85.231.191)

Whereas ARP will work at link layer and translates an IP adrress (e.g 192.168.0.1) to a MAC address (e.g. 00:11:12:13:14:15) .
Bookmark and Share

 


This question can be well answered by only people of OpenDNS. According to them they say the only advantage is faster, but they list too many of disadavantages. Some of them are
1) No dashboard control in Google Public DNS:
When you use OpenDNS, you get the Dashboard controls to manage your experience the way you want for you, your family or your organization.
2) Ad-redirection may happen in future :
Currently many DNS server on failure redirect you to search page . But Google public DNS e claims that this service is better because it has no ads or redirection. But you have to remember they are also the largest advertising and redirection company on the Internet.
3) Google will rule the future world :
From Chrome OS at the bottom of the stack to Google Search at the top, it is becoming an end-to-end infrastructure all run by Google, the largest advertising company in the world. I prefer a heterogeneous Internet with lots of parties collaborating to make this thing work as opposed to an Internet run by one big company.

Google DNS is faster for International users especially . They ran a script to contact Google DNS and other open DNS and compared the results.
Results are in ms

DNS Results (India)

DomainGoogle4.2.2.2OpenDNS
lifehacker.com110ms259ms224ms
facebook.com112ms258ms197ms
manu-j.com112ms259ms215ms
reddit.com159ms259ms202ms
tb4.fr111ms440ms195ms
bbc.co.uk111ms256ms220ms

DNS Results (NewYork)
DomainGoogle4.2.2.2OpenDNS
lifehacker.com212219
facebook.com202219
manu-j.com214442
reddit.com307320
tb4.fr12522157
bbc.co.uk1032298

To know more about the scripts and more comparison please click here .
Bookmark and Share

 

If you are the guy who wants to explore GIT, but basically hate reading whole lot of documentation(like me) here is the place to start. It all just started as an experiment to migrate from CVS to GIT . I was in a need to play around GIT for some time . But I don't know where exactly to start . I went through WIki page first then I reached here.

Created one free account here and installed GIT in my local box and continued, it was awesome to work here. This is really a cool place for the beginners like me to start exploring GIT, besides if you are the guy looking for safe secure fast online repository this must be your destination.

Thanks to GITHUB for helping me to get kick started ..

Thanks,
Jai(gazolinia)

in reference to: Secure source code hosting and collaborative development - GitHub (view on Google Sidewiki)
Bookmark and Share

 

I always feel 'The guys in Google can make anything out of nothing' .To add more support here is their new simple change . This implementation may seems simple but its impact will be awesome. I am sure that this will be trending topic for few days in Twitter, status message for all IMs,facebook,Orkut and everywhere.Its the revolution created by Google in the last decade or so.

Now I believe that this few lines of javascript gonna be the most rendered code by any browser in a day.

in reference to: Official Google Blog: Now you see it, now you don't (view on Google Sidewiki)
Bookmark and Share

 

Like everybody, I also have great passion towards open source software. I always think why people write some complex code and put it on the net for free . In my list of open source application this swfupload.org always have some special place.

I still remember that one interesting and thrilling week when I worked on this swfupload app. The project is simple just upgrade the swfupload app from 0.83 to 2.5.0 (Its all bcoz of the release of flash 10 with some security advancement) . We all thought it would be as simple as copy paste. But it was not, it demanded few changes in perl, javascript and html on our existing code. My passion towards the open source just dragged me towards this project. I started and completed it successfully, only bcoz of help from the members of this community.

This swfupload is one of the great tool to be used when your requirements are any of these.

* Upload multiple files at once by ctrl/shift-selecting in dialog
* Javascript callbacks on all events
* Get file information before upload starts
* Style upload elements with XHTML and css
* Display information while files are uploading using HTML
* No page reloads necessary
* Works on all platforms/browsers that has Flash support.
* Degrades gracefully to normal HTML upload form if Flash or javascript is unavailable
* Control filesize before upload starts
* Only display chosen filetypes in dialog
* Queue uploads, remove/add files before starting upload

Finally I thank swfupload.org and their members timely help in completing the project successfully .

Thanks,
Jai

in reference to: SWFUpload News | SWFUpload (view on Google Sidewiki)
Bookmark and Share

 

Steps to setup remote repository in remote_repo_server.com

1) ssh to 'remote_repo_server.com'
2) cd /home/username/git_remote/
3) mkdir remote_repository1.git
4) cd remote_repository1.git
5) git --bare init

Steps to setup local repo and link to above remote repository

1) ssh to local_repo_server.com
2) cd /home/username/git_local
3) mkdir local_repository1
4) cd local_repository1
5) git init
6) touch README
7) git add README
8) git commit -m 'first commit'
9) git remote add my_remote_repo_server ssh://remote_repo_server.com/home/username/git_remote/remote_repository.git
10) git push my_remote_repo_server master

This is my finalized steps which I got from link

Bookmark and Share

 

After I successfully Installed the GIT in my local user . I need to setup the remote repository in server end. When I am googling this I got this page which proves my work is done most. Setting up GIT remote server is as easy as creating the user in Unix.

They say its only 4 steps.

1) Install GIT what I did previously
2) Create one user git in your box.

sudo adduser git

3) Then Create the repository .

# login to remote server
ssh git@REMOTE_SERVER
# once logged in
mkdir example.git
cd example.git
git --bare init

4) Commit to this new repository .

mkdir example
cd example
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@REMOTE_SERVER:example.git
git push origin master

With the above doc help I worked out in my local box and added few more steps .
To know more on this please see my sidewiki link.

in reference to:

"mkdir example cd example git init touch README git add README git commit -m 'first commit' git remote add origin git@REMOTE_SERVER:example.git git push origin master"
- CommonThread Blog Setting Up a Git Server (view on Google Sidewiki)

Bookmark and Share

 

The Internet says the answer is GIT, so for the past few days I have been trying to learn something about GIT( but still Iam a CVS user).

Git is a free distributed revision control, or software source code management project with an emphasis on being fast. Git was initially designed and developed by Linus Torvalds for Linux kernel development.

Why the name GIT ?
Linus Torvalds has quipped about the name "git", which is British English slang for a stupid or unpleasant person. "I'm an egotistical bastard, and I name all my projects after myself. First Linux, now git." This self-deprecating humor is tongue-in-cheek, as Torvalds was actually pressured into naming Linux after himself .

I guess its enough of wikipedia's history let me share my little knowledge on GIT to you people. Before installing the server as your own, try this GITHUB social coding site . First create a free repository here, then install the GIT client in your end (I installed this in solaris, not a big deal just gzip -d , untar and make install ) . Just for the try I commited few files and checked it. Its really coooolllll.

Now my next step is to install the GIT server in my local box . I am not sure whether it will be easy or not ? After then its migration from CVS to GIT if possible. Let see how this project goes for me................

in reference to: jkamaraj's Gazolinia at master - GitHub (view on Google Sidewiki)
Bookmark and Share

 

Since the blogger is very aware of XSS attack I am not able write it as a text ,So I am just print screening my post and adding .Please read it .

Bookmark and Share

 

Now you have installed the Apache server in your local system /remote system ,if you want to change the default home directory of the server to some specified directory in your machine .Just find the httpd.conf file normally if you installed apache in windows it will be in C:\Program Files\Apache Group\Apache2\conf\httpd.conf file. This is Apache's configuration file, which is very tough for beginners .So better don't worry about that just do the following steps.

In this httpd.conf file, comment out the line that starts with DocumentRoot and add another with your directory, like this:

#DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs";
DocumentRoot "C:/MYSITE/www"

Then, comment out the line that starts with <Directory "C:/Program... and add another with your directory, like this:

#<Directory "C:/Program Files/Apache Group/Apache2/htdocs">
<Directory "C:/Gina/My Music">
Last, about 20 lines below that <Directory line, there is a line that reads:

AllowOverride None

Change it to:
AllowOverride All

When you're done, save httpd.conf. Then, click on the Apache icon in your taskbar and choose "Restart." If Apache restarts successfully [6], you edited your the file correctly. Visit http://servername/ in your web browser. This time you should see a listing of files from the directory C:/MYSITE/www.

Bookmark and Share

 


Definition: People search engines will help you identify people more easier and efficient than other search engines.If you just give the mail id of the person you want to know , their biography is in your hand.

Yeah man its really cool . These business people are always clever and simple , no need to develop some complex algo to rock this world ,just use your common sense .This is what motto of spokeo.com and rapleaf.com , these guys didn't develop any clever search engine algorithm to develop this site they just innovated from the existing ones.

Their algorithm is simple get members most used mail id and his password,import all his contacts and search those mail ids in the major public social networking sites and aggregate the result in a clever and intersting way . I just tried my mail id and saw really good result ,which even google cannot produce . Here people cannot complain of thieir privacy ,because they track and report things which are already available in the net as public one.

The big part is ,it gonna revolutionize the new entire tartgetted marketing world . By having your mail id ,the marketing agency can find your interest, hobbies ,habit ,everything and hit you at right time with right product. This technology is very young to the market , but sure its gonna create a new revolution in internet.

Bookmark and Share

 

Re-captcha :



All know about the captcha ,where some junk images containing distorted characters are put in many web pages for human identification. The only benefit is the web masters can identify the spammer scripts. But for the million's of real users its mear wastage of time. So to make use of such human resource here comes the new technique called ReCaptcha. Here we go for it ...

Advantages:

There are many number of useful old books written by authors in hand are available in library , but what is the use in this 21st century of having book in paper-book format. The only medium available is Internet for effective sharing of knowledge. Since there is no effective artificial algorithm available to scan those scanned images of the books, it really hard to digitize them. Here our Recaptcha technique make use of above said human resources in useful way to digitize those books.

OCR can do only this thing :



reCAPTCHA improves the process of digitizing books by sending words that cannot be read by OCR to the Web in the form of CAPTCHAs for humans to decrypt, It is mutually beneficial , web masters can crack the spammers and importantly on the other end old books are getting digitized. More specifically, each word that cannot be read correctly by OCR is placed on an image and used as a CAPTCHA. This is possible because most OCR programs alert you when a word cannot be read correctly.

Here comes the cleverness of Recaptcha technique and little disadvantage for web masters :

If a computer can't read such a CAPTCHA, how does the system know the correct answer to the puzzle? Here's how: Each new word that cannot be read correctly by OCR is given to a user in conjunction with another word for which the answer is already known. The user is then asked to read both words. If they solve the one for which the answer is known, the system assumes their answer is correct for the new one. The system then gives the new image to a number of other people to determine, with higher confidence, whether the original answer was correct. Yeah its good and clever ,but till then this technique confirms from many no of people ,there is always a chance for spammers to prove their point of surveillance.

Currently, REcaptcha are helping to digitize books from the Internet Archive and old editions of the New York Times.

Bookmark and Share

 




After AdSense came into picture , many useless sites started to appear in the web.Most of them are created for the sole purpose of making money from AdSense. Some of them contain useful information worth putting in net and sharing , but most of them contains only ads from adsense. Besides they contain some duplicated data which are copied from some other sites.

The few sites that have been created with genuine, useful content are perfectly good and it is worth clicking their ad on visiting them. The rest of them are spam that make the Web a useless one. With their clever knowledge somehow they will increase their page rank and get listed higher than the original content sites (Very pity on such situation). I am not telling that adsense is a spoiler of web ,they should implement some validation of sites technique before displaying the ads in that site .It would be better if they develop some clever algo's to detect those spamming sites.

Bookmark and Share

 


When will I get this Adsense Cheque !!!!



From the knowledge what I have ,I guess there is only two ways adsense server can identify the user clicking the ads .

1)One by the IP from where the click has come .
2)The other by cookies set by adsense or set under the google.com domain.

So if member uses dynamic Ip addresses and have cookies blocked in his browser.
Will the adsense work ? Will Google be able to identify the false click under such situation? ,if so what else the technique available to identify the users?

This post is not written with an idea of cheating Google Adsense , its purely for knowing what are the other ways available in the web world to identify the users distinctly.

commercial property businesses for sale
Compucert IT and Computer Training

Bookmark and Share

 























Yeah what the image shows about google is not nearly equal. But I felt something worth making it as blog.

Bookmark and Share

 


Hey guys ,I got this image when surfing through the net which is 100 percent true in reflecting the standings of FACEBOOK, MYSPACE ,ORKUT in various countries . Just click the image enlarge it and check . This data is obtained from Alexa.com....



Free Online Web Directory- Add your website Link
The Free URL Submission Directory
Bookmark and Share

 

VoIP stands for Voice over Internet Protocol. It is also referred to as IP Telephony. It is another way of making phone calls, though the ‘phone’ part is not always present anymore, as you can communicate without a telephone set. VoIP is especially popular with long-distance calls. VoIP systems usually interface with the traditional public switched telephone network (PSTN) to allow for transparent phone communications worldwide.

VoIP systems employ session control protocols to control the set-up and tear-down of calls as well as audio codecs which encode speech allowing transmission over an IP network as digital audio via an audio stream. Codec use is varied between different implementations of VoIP (and often a range of codecs are used); some implementations rely on narrowband and compressed speech, while others support high fidelity stereo codecs.

How does VoIP work? Before going to basics of VoIP technology, lets take a look on how our 100-year-old traditional telephone system works.

Traditional telephone system works on circuit switching, means when a call is made a connection is set up between source and destination, in both directions, and it is maintained till duration of call. This is a dual directional i.e. we are connecting two ports in both directions, so it will make a circuit.

There is one drawback in this system, i.e. the telephone line cannot distinguish between useful talking and silence. Like if conversation is going on between two persons then one will be talking and other will be silent, so half of the transmission data is wasted in this case. Apart from this, there are many instances when there is pause between conversation that silence is also treated as data and its transmission is a waste. So if we can handle these two issues that is if we can transmit only useful data and remove unwanted instances then we can cut data transmission by more then half.

VoIP technology took care of this drawback, so it uses packet switching, in this case it opens connection just long enough to send bits of useful data called packet from one system to another. This scenario is same as your computer is making connection to any website, as and when it is required, otherwise internet connection will be very slow, if it will constantly maintain connection with any web page.

This type of system allows the network to send our call (in packet) along the least congested and cheapest line available, we can say that about 3 to 4 calls from a VoIP system could fit in the space of our call from a circuit switch system. This is the basic reason why VoIP is cheaper then conventional calling plans.

There are different types of VoIP calling some of them are mentioned below.

* ATA (Analog Telephone Adaptor) this adaptor enables us to make use of standard telephone for VoIP options, it actually allows to connect phone that is already at our home to our computer internet connection .ATA converts analog signal to digital signal, that can be easily transmitted through internet.
* The next type of calling is through IP phones; they look just like our normal phones with same buttons. This only difference is they replace old style wall jack connector with Ethernet connectors, so it gets plugged directly into the router.
* The most common type of calling is from computer-to-computer. This is the simplest and cheapest way to use VoIP. These calls are entirely free, only thing you need software that you can download from Internet, a broadband or DSL connection, microphone, speaker and sound card.
* The latest technology that is emerging in the market and gaining popularity is Wi-Fi phones. This hybrid-Phone let people make connections using a local wireless Internet access point seamlessly switch over to a cell network whenever necessary.


Other than saving money there are more benefits from using VoIP system. What all benefits you get depend on provider also, some of the benefits are listed below.

* Much cheaper long distance and international calls.
* Many features (depends on provider) like Email alert for new voicemail, web access to voicemail, auto forward, caller ID, call waiting caller ID, call forwarding etc.
* Flexibility, some explanation needed here. When we use VoIP phone service, our phone number is programmed into the converter, so we can take our converter and phone number anywhere in the world we want. As long as we have access to Internet connection we can use our phone number. We have option to choose area code for our phone number. Some providers allow us to have more then one phone number in different area codes, this means we get extra numbers that rings the same phone. These numbers are known as Virtual Phone Numbers. One advantage here is these numbers are local number to any area code; here we will be saving money. How? Suppose you go to some other city where you have many friends and family then they can call you on a local number, instead of paying for long distance charges to contact us.


There are many providers in the market with their own strength. As the technology is growing fast and incredible amount of work is dedicated to VoIP, some of the disadvantages that are associated with VoIP are going to resolve within next few years, it is expected that after some time VoIP will have widespread consumer acceptance.

Bookmark and Share

 

DNS and Name Resolution

We know that each computer on the Internet has its own IP address. Although this is sufficient to identify a computer for purposes of transmitting packets, it is not particularly accommodating to people. Also, if a computer were to be relocated we would like to still identify it by the same name.
Hence each computer is given a descriptive textual name. The basic textual name of a machine is called the unqualified-hostname31.1 and is usually less than eight characters and contains only lowercase letters and numbers (and especially no dots). Groups of computers have a domainname. The full name of machine is unqualified-hostname.domainname and is called the fully qualified hostname31.2or the qualified-hostname31.3 For example, my computer is cericon. The domainname of my company is obsidian.co.za, and hence the qualified-hostname of my computer is cericon.obsidian.co.za, although the IP address might be 160.124.182.1.
Often the word domain usally is synonymous with domainname, and the word hostname on its own can mean either the qualified or unqualified hostname.
This system of naming computers is called the Domain Name System (DNS)

Top Level Domains (TLD's)
Domain's always end in a standard set of things. Here is a complete list of things that the last bit of a domain can be:


.com A US or international company proper. In fact, any organisation might have a .com domain.
.gov A US government organisation.
.edu A US university.
.mil A US military department.
.int An organisation established by international treaties.
.org A US or non-profit organisation. In fact, anyone can have a .org domain.
.net An Internet service providor. In fact, any bandwidth reseller, IT company or any company at all might have a .net domain.

Besides the above, the domain could end in a two letter country code.

Within each country, a domain may have things before it for better description. Each country may implement a different structure. Some examples are:

.co.za A South African company. (za = Zuid Afrika, for the old Dutch postal codes.)
.org.za A South African non-profit organisation.
.ac.za A South African academic university.
.edu.au An australian tertiary educational institution.
.gov.za A South African government organisation.

Note that a South African company might choose a .com domain or a .co.za domain. In our case we use obsidian.co.za. The same applies everywhere, so there is no hard and fast rule to locate an organisation from its domain.

Resolving DNS names to IP addresses :

In practice, a user will type a hostname (say www.obsidian.co.za) into some application like a web browser. The application has to then try find the IP address associated with that name, in order to send packets to it. This section describes the query structure used on the Internet so that everyone can find out anyone else's IP address.
An obvious way to do this is to distribute a long table of hostname vs. IP numbers to every machine on the Internet. But as soon as you have more than a few thousand machines, this becomes impossible.
Another obvious way to do this is to have one huge computer on the Internet somewhere who's IP address is known by everyone. This computer would be responsible for servicing requests for IP numbers, and the said application running on your local machine would just query this big machine. Of course with their being billions of machines out their, this will obviously create far too much network traffic.
The DNS structure on the Internet actually works like this:
There are computers that service requests for IP numbers -- millions of them. They are called name servers (or DNS servers), and a request is called a DNS lookup. However, each name server only has information about a specific part of the Internet, and they constantly query each other.

There are 13 root name servers on the Internet:

a.root-servers.net 198.41.0.4
b.root-servers.net 128.9.0.107
c.root-servers.net 192.33.4.12
d.root-servers.net 128.8.10.90
e.root-servers.net 192.203.230.10
f.root-servers.net 192.5.5.241
g.root-servers.net 192.112.36.4
h.root-servers.net 128.63.2.53
i.root-servers.net 192.36.148.17
j.root-servers.net 198.41.0.10
k.root-servers.net 193.0.14.129
l.root-servers.net 198.32.64.12
m.root-servers.net 202.12.27.33

Each country also has a name server, and in turn each organisation has a name server. Each name server only has information about machines in its own domain, as well as information about other name servers. The root name servers only have information on the IP addresses of the name servers of .com, .edu, .za etc. The .za name server only has information on the IP addresses of the name servers of .org.za, .ac.za, .co.za etc. The .co.za name server only has information on the name servers of all South African companies, like .obsidian.co.za, .icon.co.za, .mweb.co.za, etc. The .obsidian.co.za, name server only has info on the machines at Obsidian Systems, like www.obsidian.co.za.
Your own machine will have a name server defined in its configuration files that is geographically close to it. The responsibility of this name server will be to directly answer any queries about its own domain that it has information about, and also to answer any other queries by querying as many other name servers on the Internet as is necessary.
Now our application is presented with www.obsidian.co.za. The following sequence of lookups take place to resolve this name into an IP address. This procedure is called hostname resolution and the algorithm that performs this operation is called the resolver.


1. The application will check certain special databases on the local machine. If it can get an answer directly from these, it proceeds no further.
2. The application will look up a geographically close name server from the local machines configuration file. Lets say this machine is called ns.
3. The application will query ns with ``www.obsidian.co.za?''.
4. ns will decide if that IP has been recently looked up before. If it has, there is no need to ask further, since the result would be stored in a local cache.
5. ns will see if the domain is local. I.e. if it is a computer that it has direct information about. In this case this would only be true if the ns were Obsidian's very own name server.
6. ns will strip out the TLD (Top Level Domain) .za It will query a root name server, asking what name server is responsible for .za The answer will be ucthpx.uct.ac.za of IP address 137.158.128.1.
7. ns will strip out the next highest domain co.za It will query 137.158.128.1, asking what name server is responsible for co.za The answer will be secdns1.posix.co.za of IP address 160.124.112.10.
8. ns will strip out the next highest domain obsidian.co.za It will query 160.124.112.10, asking what name server is responsible for obsidian.co.za The answer will be lava.obsidian.co.za of IP address 196.28.133.1.
9. ns will query 196.28.133.1 asking what the IP address is of www.obsidian.co.za The answer will be 160.124.182.1.
10. ns will return the result to the application.
11. ns will store each of these results in a local cache with an expiry date. To avoid having to look them up a second time.

Thus the basics of DNS ends.

Bookmark and Share