Skip to main content

Posts

Speed up Firefox

Forevergeek.com has a useful guide on speeding up firefox for broadband users. basically after getting to the hidden config settings you set the browser to request more data that it usually does. 1.Type “about:config” into the address bar and hit return. Scroll down and look for the following entries: network.http.pipelining network.http.proxy.pipelining network.http.pipelining.maxrequests Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading. 2. Alter the entries as follows: Set “network.http.pipelining” to “true” Set “network.http.proxy.pipelining” to “true” Set “network.http.pipelining.maxrequests” to some number like 30. This means it will make 30 requests at once. 3. Lastly right-click anywhere and select New-> Integer. Name it “nglayout.initialpaint.delay” and set its value to “0″. This value is the amount of time the browser waits before it acts on...

Indian Education System

“ Real education must ultimately be limited to men who insist on knowing, the rest is mere               sheep-herding . ” - Ezra Pound   The education system in India is considered to be one of the largest and in the ancient world it was most valued. The relationship between the Guru and students have been valued most in this country. The history of the education system in India dates back to the first centuries, when the young children were taught in the Gurukuls and the Guru-Shishya system was the most common means of education. After that the famous universities like Nalanda, Takshashila, Ujjain and Vikramshila came into existence and enhanced the scope for the students. The Mughal period shows us the inception of Madarasah. Now in this era modern schools and university are providing top notch and high quality education to students around the world. Online courses are even popular as they can be subscribed by peo...

Fundamentals of the Organization Success

Read this article by keeping in mind that i am talking about Small medium business corporations. Today i was thinking about the organization success ,according to the top managers and business gurus companies top asset is the human asset and unfortunatily we are wasting this asset a lot,problem may be any thing like communication skills,unplanned work misunderstanding of responsibility etc.But these are the things which we can improve easily and the peoples are improving also may be others don't have time to notice or may be i am wrong but this is the general case.According to me the fundamental pillars of success is the step by step process of utilizing the human assets.Now a days what companies are doing is they recruits the candidates fix them in certain project from there first day and they give pressure gradually,if the person is able to satisfy the management by his performance than ok otherwise fire him and conduct second round of recruitment,i dont know we have a gre...

SingleTon DesignPattern

Singleton pattern comes into creational design pattern category, the main objective of the creational pattern is to instantiate an object and with Singleton Pattern we will allow only one instance of the class to be created. Here in this article we will understand how we can create an Singleton class in Java. Singleton Class Code: package designpattern.creational.singleton ; public class MySingleTon { private MySingleTon ( ) { } private static MySingleTon instance = null ; public static synchronized MySingleTon getInstance ( ) { if ( instance == null ) { System . out . println ( "Creating New Instance" ) ; instance = new MySingleTon ( ) ; } else { System . out . println ( "Returning Existing Instance" ) ; } return instance ; } public Object clone ( ) throws CloneNotSupportedException { throw new CloneNotSupportedException ( ) ; } } Code Explanation: W...

Invoking Class Methods using Reflection in Java

Sometimes we want the code should be dynamic and we even want to call the class methods dynamically. This article describes on how we can invoke the class methods dynamically using variables. To achieve the above operation we use the concept of Reflection in Java . Here in this article i am using 2 java files, Client.java and Server.java. Server.java will be the class that we want to load dynamically and Client.java will have the code responsible for calling the Server class dynamically . Server.java: Client.java: import java.lang.reflect.Method ; public class Client { public static void main ( String args [ ] ) { try { Class dynamicClass = null ; dynamicClass = Class . forName ( "Server" ) ; //Loading methods parameters Class [ ] parameter = new Class [ 1 ] ; parameter [ 0 ] = int . class ; Object iClass = dynamicClass. newInstance ( ) ; //Loading and Invoking setPort metho...

Sub Class Mapping

Mapping Inheritance with Java Classes In just about any application, some kind of inheritance hierarchy needs to be mapped to permanent stor- age. As you saw there are several ways to map the inherence hierarchy. In our mapping, we’ll consider the following methods: ❑ Table-per-class hierarchy ❑ Table-per-subclass ❑ Table-per-concrete class

Prototype

In most of the interview and from the most of the intelligent peoples this question comes if you will tell them that now i know the java script ,without wasting much time they will launch the question what is prototype in java script? My this article will expain the concept behind the java script's prototype Prototype is nothing but the way to extend and override the existing functionality of the java script object if you want to override the functionality you can,if you want to add extra functionality you can! i am giving the example here String. prototype . divide = function ( ) { var x = this ; return x. split ( " " ) ; } var str_data = "Gajendra Kumar Choudhary" ; var test = str_data. divide ( ) ; alert ( test ) ; now i think all doubts are clear.