Posts

Showing posts from 2005

Wake up .. know where we are going ......

It has been clearly shown to the world that the western part of the world are the ppl who change the way the society moves ahead. We ppl are easily forgetting abt those years where our grand-grand parents have been made into slaves. Those are the days, even some of our ppl betrayed our ppl,which paved the way for them to have a base over here. After a long long struggle we have been freed . What made them to come here , what was the intention behind that, we had wealth within our country, so to plunder that they arrived here. Today again we have shown the world that we have great resource with us. Yes we have Minds, people with strong knowledge with us now. Cost-cutting ?? what does this word mean by ? MNC from the other parts of the world are moving inside saying this single word "Cost-Cutting" ,by providing the peanuts for those who work very hard. Western part of the world is moving ahead how to improve their society , but these eastern part are still wandering somewhere

My saturday :)

There's something satisfying abt saturdays.I really love the peacefulness and quietness. The world needs more peace like this. Until an idiot[my roommate] switched on the television for which he kept the volume too high (in such an way that ppl in the next flat can hear the programme) ! Idiot [ does not knew abt taste of early morning sleep ] . I woke up today [ saturday ] and wondered what should I do. *Sigh* My Saturdays are very routine. Wake up, eat, play some games, watch TV and then do the usual house chores. Yes, I'm domestically trained! :) I decided to watch a movie instead and ended up watching a program in Jaya TV ;). After that, it was back to washing clothes & cleaning. Then blogged something in PUZZLE Hahah...hmmmm..that's about it for my "eventful" Sunday

What is a view?

A view is a tailored presentation of the data contained in one or more tables (or other views). Unlike a table, a view is not allocated any storage space, nor does a view actually contain data; rather, a view is defined by a query that extracts or derives data from the tables the view references. These tables are called base tables. Views present a different representation of the data that resides within the base tables. Views are very powerful because they allow you to tailor the presentation of data to different types of users. Views are often used to: => provide an additional level of table security by restricting access to a predetermined set of rows and/or columns of a table => present the data in a different perspective from that of the base table => simplify commands for the user => isolate applications from changes in definitions of base tables => hide data complexity => express a query that cannot be expressed without using a view

I am the planner for my future ! do you ?

Little Changes , Big Changes Well, it may sound good , if ppl qouting " i am having the plan to do for my career ". But at real life are we meeting them as we dreamt ? May be our planning which don’t necessarily take the fact into account that LIFE can, and will, get in the way. i think i am back to the same problem , stick your head in the sand and ignore it all, the world changes so rapidly, like that u will be nowhere if u are not a " Proactive & Adaptable " person. Do we look out @ the microcosmic level, may b in positive for exempli gratia ; you get married, get promoted, or u cud even win a lottery. Here comes the word "Flexibility" ,the plan must be so flexible such that they can still be used when situation changes. i got a word to say here from my old schooling ;) . "oppurtunites are viewed as more important with the vision of hindsight" .The plan u made should not stop u from picking up the oppurtunity u have got now.It is impo

Bits for u

Question: Does Java pass objects by reference or by value? Answer: Since it makes no sense to begin any argument without agreed upon defintions let's formally define our terms. I will use abstract pseudocode to keep the issue from being clouded by the idiom of a particular language. The source of my information is the book "Advanced Programming Language Design" by Raphael A. Finkel. For those unfamiliar with the term below an L-value is an expression that can appear on the left side of an assignment statement. It is basically a way to address where a variable is stored. Variables and other ways to refer to locations in memory are L-values. Most expressions are not L-values, e.g. ( x * 2 ) We assume the presence of a procedure named f that takes a formal parameter s. We call that function giving it an actual parameter g. The calling code: f( g ) The function: procedure f( s ) begin -- body of the procedure end; There are several parameter passin

Conclusion

Parameter passing in Java - by reference or by value? Myth: "Objects are passed by reference, primitives are passed by value" Some proponents of this then say, "Ah, except for immutable objects which are passed by value [etc]" which introduces loads of rules without really tackling how Java works. Fortunately the truth is much simpler: Truth #1: Everything in Java is passed by value. Objects, however, are never passed at all . That needs some explanation - after all, if we can't pass objects, how can we do any work? The answer is that we pass references to objects. That sounds like it's getting dangerously close to the myth, until you look at truth #2: Truth #2: The values of variables are always primitives or references, never objects. This is probably the single most important point in learning Java properly. It's amazing how far you can actually get without knowing it, in fact - but vast numbers of things suddenly make sense when you gr

Pass by value and pass by reference

With the exception of arrays and functions , C always passes arguments `by value': a copy of the value of each argument is passed to the function; the function cannot modify the actual argument passed to it: void foo(int j) { j = 0; /* modifies the copy of the argument received by the function */ } int main(void) { int k=10; foo(k); /* k still equals 10 */ } If you do want a function to modify its argument you can obtain the desired effect using pointer arguments instead: void foo(int *j) { *j = 0; } int main(void) { int k=10; foo(&k); /* k now equals 0 */ } This is sometimes known as `pass by reference' in other languages.

Now the details...

The problem we're facing here is statements like In Java, Objects are passed by reference, and primitives are passed by value. This is half incorrect. Everyone can easily agree that primitives are passed by value; there's no such thing in Java as a pointer/reference to a primitive. However, Objects are not passed by reference . A correct statement would be Object references are passed by value . This may seem like splitting hairs, bit it is far from it. There is a world of difference in meaning. The following examples should help make the distinction. In Java, take the case of public void foo(Dog d) { d = new Dog( "Fifi" ); } Dog aDog = new Dog( "Max" ); foo(aDog); the variable passed in (aDog) is not modified! After calling foo, aDog still points to the "Max" Dog! Many people mistakenly think/state that something like public void foo(Dog d) { d.setName( "Fifi" ); } shows that Java does in fact pass obj

Java is Pass-By-Value ?? is it ?

I finally decided to write up a little something about Java's parameter passing. I'm really tired of hearing folks (incorrectly) state C i also having pass by reference. The terms "pass-by-value" semantics and "pass-by-reference" semantics have very precise definitions, and they're often horribly abused when folks talk about Java in that case C , C++. I want to correct that... The following is how I'd describe these Pass-by-value The actual parameter (or argument expression) is fully evaluated and the resulting value is copied into a location being used to hold the formal parameter's value during method/function execution. That location is typically a chunk of memory on the runtime stack for the application (which is how Java handles it), but other languages could choose parameter storage differently. Pass-by-reference The formal parameter merely acts as an alias for the actual parameter. Anytime the method/function uses the formal

If Miss.Selvi becomes an Developer

Just thought what would happen if SHE becomes developer ha ha ha ahaaa ! First thing She will ask for an Laptop :) Even if she is working on only one record of a table .. she will force lock the entire table for herself. and not release it ... If she like her code to be the Core one, she wil pass an Bill immediately to make that. She will say her birthday has to be celebrated as Developer's day.

Thought

I complained that I had no shoes until I saw a man who had no feet. Ha haaahaaa

I just got remember something !

Hope , The Light of Life ! “Hope is an orientation of the spirit, an orientation of the heart. It is not the conviction that something will turn out well, but the certainty that something makes sense, regardless of how it turns out.” What do these words mean ? do that mean you can develop an orientation of the heart that allows you to believe that no matter what happens, regardless of how things turn out – even if you are disappointed – that things have meaning? These question keeps lingering me when ever anybody say word "Hope " :) Lesson to be learn't Just because you know what you want and you have asked, it doesn’t necessarily mean you’ll get it. You can ask your boss for a raise, but that doesn’t mean you’ll get that. In fact, the things you’re least likely to get are those that are solely dependent on someone else’s cooperation and needs. If you’re feeling discouraged by the idea of not getting what you want, don’t be. If u are i think u must not h

Life like that :)

What u want ? Remember, when u are young it is easy, you're more apt & settle with ur surroundings, but when we grow our needs also grows along with us, so what is the reason , where ppl come & say that corporate life is "CRAP", what do you mean by that word. everything is in you , Its ur life , u have the key with u which opens the door, even if somebody is there , they can guide you, but not accompany you always. try to figure out where u are now,what u want now. i found something , we need clarity,hope, action to acheive what u want . There is no time better than the present, so act . Money is the criteria that i haven't said, but still that itself will not satisfy you, The best and only thing to clearly show the differnece between the wants and needs is Money. if u ask somebody "how much u wanted to be paid ?". They may want to make six figures but we need far less to meet our basic needs. :) and remember to ask question urself “What am I t

Thirst

Still the thirst for Technology is in me... i heard saying similar to the person who needs more will get less. am getting the work which i don't like it , which am doing it with half-heartedly.... still i can manage :) ^ Live Life on Purpose ^ Work at What You Love ^ Follow Your Own Road

I also started to blog :)

Let me start this one with powerful sentence. Never stop caring abt the little things in life. Never stop dreaming or give in to strife Never stop building bridges Never stop Smiling :) Never stop shining in your own special way & finally remember the brighter tommorrow are near ................(dont forget ) Troy The one of the best movie i saw, I like the character done by Eric Bana." The Great Hector ". "Hector is going to give his enemies no rest until Achilles comes to life again " Hector himself acknowledges that his efforts will be fruitless: "Deep in my heart I know the day is coming when Troy will be destroyed."