Sunday, February 26, 2006

What is Segmentation Fault

What is Segmentation Fault? This is the question that i was asked by many students when i am taking Data Structures Lab. A Segmentation fault occurs when your program is accessing a memory location that is not allowed to access.
A simple Example is
...
scanf("%d",i);
....
here i forgotten to insert '&' before i, and when i tried to run this program, and if i value entered is 100, the compiler is going to access the memory location '100', which is not accessible by our program. Since in the scanf() we must pass the address of the variable to store the value.

Another situation occurs when we are trying access index of an array which is out of its range.
say, if
...
int a[20],i;
...
i=30;
a[i]=50;
....
here, a, is an array of size 20, and some location a[30] is about to access(write), so its giving segmentation fault.

It may also exist when we freed some memory location and are trying to access the same location after some time, which means that we are about to access a memory location which is non-existing.

So collectively, in the view of operating systems concepts, a segmentation fault occurs when we are trying to either read or write non-existing segment (a block of physical memory), which may crash ur system.

One way to find out where the error is occuring is using debugger. Its better to use coredump { the CORE(RAM memory) contents are copied into some location, when a process is aborted.}, and try in gdb to locate the error.

Saturday, February 25, 2006

RSS feed for this blog

Here is the RSS feed for my blog, http://eswars.blogspot.com/atom.xml
I am trying to findout whether there are any external applications available to provid rss feeds for websites of our interest, so that we can be up-to-date whenever a change in a site without manually checking.

Tuesday, February 21, 2006

An interesting defintion of DOCUMENT

I found this definition for DOCUMENT while i was searching for some related content.

D - Data types and Document types,
O - Organizational processes,
C - Context ( types of products or services, industry, geography, regulatory considerations),
U - User types and special user requirements,
M - Models, patterns, or standards that apply,
E - Enterprises and eco systems (ex, Trading communities, standards bodies),
N - Needs (Business case) during the enterprise(s),
T - Technology constraints and opportunities.

This acronym mentions all the related information that we need when we are working on Documents. Simply document centric. Since forms move around the organizations as a part of some business processes, the document process starts with handling several document types, their process models, and the context in which they are working, the kinds of users connected with the documents, and the respective models (document model, like process based, state based, etc).
I got this while i was searching for content related to document modeling. I am doing Masters thesis on document modeling. Many organizations still depends on documents for their daily processes. In this scenario a person submits a document to one authority and that document will move around the organization to get processed, by means of either approving that document, or forwarding, or just receiving. This involves a case where the document initiators may not know to whom to submit the document and how the document will route in the business network. This motivated me to work on this problem. We were approaching this problem by focusing entirely on document (other approaches are on workflow, where some implementations exist), its state, and the routing info( which is adaptive according to the changing rules of an organization). we were presently working on the formulation of document schema for this kind of problems.

My Name from flickr

Nature\MAsign mAHhhhheSW websterA 006RA 006rA'\

try this game at this site

My Name as an Acronym

This is the Acronym Generated for my short name 'uma', usually my freinds call me.


UUnforgettable
MMeek
AAltruistic



Acronym generated for complete name is

UUnforgettable
MModern
AAmazing
MMystical
AAmazing
HHealthy
EExhausting
SSloppy
WWhimsical
AAltruistic
RRadiant
AAppealing
RRare
AAstounding
OOverwhelming


U can try for your own acronym here.
Name / Username:


Name Acronym Generator
From Go-Quiz.com

Monday, February 20, 2006

My profile in telugu

Here is my profile in Telugu, My Mother Toungue.

నా పేరు~: ఉమా మహేశ్వర రావు లంకోటి,
తండ్రి~: రామ మోహన రావు,
తల్లి~: రమాదేవి,
చెల్లి~: లక్శ్మి సుజాత,
స్వగ్రామం~: బ్రాహ్మణ కోడూరు,
మండలం~: పొన్నూరు,
జిల్లా~: గుంటూరు,
రాష్టృం~: ఆంధ్ర ప్రదేశ్,
దేశం~: భారత దేశం.

చదువు~: ఎమ్.టెక్. (సాఫ్ట్వేర్ ఇంజనీరింగ్), మోతీలాల్ నెహ్రు నేషనల్ ఇన్స్టిట్యు ట్ ఆఫ్ టెక్నాలజీ, అలహాబాద్, ఉత్తరప్రదేశ్, భారత దేశం.

For details, i created this post using telugu language converter, http://www.iit.edu/~laksvij/language/telugu.html . Just copy the telugu text into the blog form and publish for the sweetness of telugu.

Saturday, February 11, 2006

My Astro sign and me

My birth day is on 22nd Aug and naturally a LEO. I came across the listing of behavior of a typical LEO at an Astrology site , described as below.

Generous and warmhearted
Creative and enthusiastic
Broad-minded and expansive
Faithful and loving

On the dark side....
Pompous and patronizing
Bossy and interfering
Dogmatic and intolerant
Many of these words represent me. U can observe these +ves and -ves with me and my behavior with others.

My first Post

Hey this is my first post. I would try blog everyday with the content that i learnt through that day.