Feeds:
Posts
Comments

Proxy servers

In computer networks, a proxy server is a server (a computer system or an application program) that acts as an intermediary for requests from clients seeking resources from other servers. A client connects to the proxy server, requesting some service, such as a file, connection, web page, or other resource, available from a different server. The proxy server evaluates the request according to its filtering rules.

It is server which acts as a “proxy” for an application by making a request on the Internet in its stead. This way, whenever a user connects to the Internet using a client application configured to use a proxy server, the application will first connect to the proxy server and give it its request. The proxy server then connects to the server which the client application wants to connect to and sends that server the request. Next, the server gives its reply to the proxy, which then finally sends it to the application client.

Features:

Caching
Filtering
Authentication

Reverse proxy

A reverse proxy is a proxy server that is installed in a server network. Typically, reverse proxies are used in front of Web servers. All connections coming from the Internet addressed to one of the Web servers are routed through the proxy server, which may either deal with the request itself or pass the request wholly or partially to the main web servers.

Features:

Security
Load distribution
Encryption
Caching
Compression

Criticism

A young couple moves into a new neighborhood.

The next morning, while they are eating breakfast, the young woman sees her neighbor hang the wash outside.

That laundry is not very clean, she said, she doesn’t know how to wash correctly.

Perhaps she needs better laundry soap. Her husband looked on, but remained silent.

Every time her neighbor would hang her wash to dry, the young woman would make the same comments.

About one month later, the woman was surprised to see a nice clean wash on the line and said to her husband:

Look! She has learned how to wash correctly. I wonder who taught her this.

The husband said: I got up early this morning and cleaned our windows!

And so it is with life:

What we see when watching others depends on the purity of the window through which we look.

Before we give any criticism, it might be a good idea to check our state of mind and ask ourselves if we are ready to see the good rather than to be looking for something in the person we are about to judge.

And you?

On Night 4 college students were playing till late night and could not study for the test which was scheduled for the next day.

In the morning they thought of a plan. They made themselves look as dirty with grease and dirt. They then went up to the Dean and said that they had gone out to a wedding last night and on their return the tire of their car burst and they had to push the car all the way back and that they were in no condition to appear for the test. So the Dean said they could have the re-test after 3 days. They thanked him and said they would be ready by that time.

On the third day they appeared before the Dean. The Dean said that as this was a Special Condition Test, all four were required to sit in separate classrooms for the test. They all agreed as they had prepared well in the last 3 days.

The Test consisted of 2 questions with a total of 100 Marks.

See Below for the question Paper

Q.1. Your Name…………………………………………………… (2 MARKS)

Q.2. Which tire burst? (98 MARKS)
a) Front Left b) Front Right
c) Back Left d) Back Right

A computer on the Internet is identified by its IP address. In order to avoid address conflicts, IP addresses are publicly registered with the Network Information Centre (NIC). Computers on private TCP/IP LANs however do not need public addresses, since they do not need to be accessed by the public. For this reason, the NIC has reserved certain addresses that will never be registered publicly. These are known as private IP addresses, and are found in the following ranges:

From 10.0.0.0 to 10.255.255.255
From 172.16.0.0 to 172.31.255.255
From 192.168.0.0 to 192.168.255.255

Got this issue. No worries.

Open up environment.rb and Add;

config.gem ‘twitter-auth’, :lib => ‘twitter_auth’

That should fix ur issue

To delete all .svn folders in Linux;

  1. Move to your current/working directory (i.e) your project folder (ex: /usr/local/myproject/test).
  2. This will delete all the .svn folders under this directory.
  3. Execute the following command;
  4. find ./ -name “.svn” | xargs rm -Rf

Done.

Faced this isuue after upgrading to Rails-2.

Removing “encoding: utf8″ from database.yml fixed the problem.

Don’t know the exact reason. May be included with the rails core?. Suggestions welcome.

The –prefic option in mongrel configuration causes this error.

Go to RAILS_APP/config/mogrel_cluster.yml and remove the “prefix” option

If you are having problem in starting the server, without “–prefix” option.  Pls refer the workaroung suggested. (http://www.nabble.com/Problem-when-migrating-from-rails-2.2.2-to-rails-2.3.2-on-linux–SLES10-%2B-apache-2-td22961256.html)

Copy this file in my_rails_app/config/initializers :

abstract_request.rb

module ActionController
class AbstractRequest < ActionController::Request
def self.relative_url_root=(path)
ActionController::Base.relative_url_root=(path)
end
def self.relative_url_root
ActionController::Base.relative_url_root
end
end
end

I heard someone whistling around the house. But it was from the TV(Doordarshan channel). Though it was a different song, it was done by this performer. Just wanted to share this talent performance.

« Newer Posts - Older Posts »