Thursday, October 29, 2009

Home Made Dry Fruits Medicine

Home Made Dry Fruits Medicine:
In order to improve blood circulation & to get face glow, here is the best medicine from dry fruits.
Ingredients:
Kishmish (Raisins): 36
Dry dates (dry Kajoor): 2
Fig (Anjeer): 2
Method to prepare:
In the night, take a bowl, place all the above ingredients in the bowl & pour water into it.
After 12 hrs, In the morning, take this as the first food, chew the dry fruits, & drink the ingredients water also.
Test yourself after 30, 60, 90 days.
After 30 days, we start observing the change,
After 60 days , considerable glow in the face,
After 90 days , we have to tell thanks to dry fruits with out any option.
Advantages:
Improves blood circulation,
Removes bad blood impurities.
Improves complexion of the skin.
Acts as a medicine instead of Folic acid.

P.S: All this can be easily available in all super markets, so easy to prepare & easy to use also.
So Our beauty is in our hands now... Try it out & feel yourself better.

Alovera- Miracle Plant.



Alovera plant is also called as 'miracle plant' or the 'natural healer'.
Alovera gel can be used in different ways.

Alovera as a
1) Ointment: Alovera gel works as good healing agent when applied to burns, scrapes and wounds, continuous massage with Alovera gel will reduce the muscle pain & stains.
2) Conditioner: Alovera gel reduces the hair loss, white hair & also dandruff.
3) Medicine: Alovera gel is good for BP Patients & it also provides relief form kidney ailments when mixed with milk.
4) Face Pack: Alovera gel when applied to face, it reduces wrinkles, under eye dark circles, black marks.
5) Oil: Boil Alovera gel until it changes its color in a hot pan, filter it & mix the same quantity of coconut oil. Apply this mixture to hair , works as best oil to strengthen the hair.
6) Show Plant : It is very good to see also , So can be used a show plant also.

P.S: All the above advantages we can avail it in our home only, Alovera plant can be grown in our house only, It does not require any special care also. Just a warm sun & little water.
So what we are waiting for... Enjoy the Home Medicine Plant

Monday, October 19, 2009

Some Awareness regarding SQL

Hi,
Here are some basic points regarding the SQL.
SQL : Structured Query Lang, which is developed by IBM in 1970's.
It has 4 sub lang.
1) DDL(Data definition lang) : Meta data, like size, type, : create, alter, drop.
2) DML(Data Manipulation lang) select, insert, update, delete.
3) TCL(Transaction control lang) (commit, rollback, save point).
4) DCL(Data Control lang).
RDBMS
RDBMS : It is conceptual accepts , specifies how the data to be persisted... & some rules how to arrange the data so that the retrieval/insertion/processing the logic will be easy.
RDBMS : is the root & we can have so many implementations for RDBMS like Oracle, SQL Server, Sybase....

In General all the RDBMS will follow 4 properties which are called as ACID.
ACID :
1) Atomicity (bunch of statements should execute at a time or rollback)
2) Consistency( All the time the data should maintain some consistency)
3) Isolation( one transaction should not effect the other transaction )
4) Durability. ( No data loss...Achieved using the locks)

MS SQL Server : Bulk Insert

Two ways for bulk insert in MS SQL Server:
1) select au_fname +','+ au_lname as autName into tempAuth from authors
Here tempAuth table should not exists in the database. so in the execution time the table will be created with the constraints of the parent table authors.
2) insert into tempAutho select au_fname +','+ au_lname as autName from authors
Here we are supposed have the table already exist with the same column constraints...

Monday, October 5, 2009

Java NIO

Here are some of the points which convers the Java NIO.

1) NIO provides high-speed, block-oriented I/O in standard Java code
2) NIO was created to allow Java programmers to implement high-speed I/O without having to write custom native code. NIO moves the most time-consuming I/O activities (namely, filling and draining buffers) back into the operating system, thus allowing for a great increase in speed.
3) original I/O deals with data in streams, whereas NIO deals with data in blocks.
4) Filtering is simple in streams, as it accepts one byte at a time.. at the same time it is much slower to process the data...
5) Processing & consuming the data will takes place in blocks , so that it becomes much faster than streams.
6) Integrated I/O : In JDK 1.4 IO has intregated NIO...
7) Channels & buffers: channels are like streams in NIO, buffer is the extra thing which added in NIO.
8) Buffer is placed infornt to channel, so any thing which has to be read/ write has pass through the buffer.
9) Buffers provides structured access to data and keeps track ofsystems read/write processes.
10 ) kinds of buffers : all these are instance of the buffer interface.
11 ) Most frequently we use byteBuffer.
12) Channels are bidirectlional , where streams are uin directional.
13) Some of the most frequently used methods in NIO are
fcin.read(buffer); fcout.write( buffer ); buffer.flip();
14) some of the buffer materials which are used in the NIO to process the data fastly.
state variables ( Data to/fro from the channels), accessor( directly deal with the data).
15) In state variables, we have Position, limit, & capcity are present, which describes the state of a particualr variable.
16) In Accessor we have some methods like get(), put().
17) we have some more methods in buffers like allocate(), wrap(), slice().
18) Kinds of buffers
i) Read only buffers : used for protecting data
ii) Direct Buffers: Used to increase IO speed.
iii) Indirect Buffers : Normal buffers, i.e with the channels
19) IN Java NIO there is concept called " file Locking" : they are just like Java object locks. some of the methods are there like lock(), release().
20) Asynchronous IO: It lets you do I/O from a great many inputs and outputs at the same time. The central object in asynchronous I/O is called the Selector.
21) Selectors : A Selector is where you register your interest in various I/O events, and it is the object that tells you when those events occur.
22) some of the methoda are open(), selector, accept(), remove().
A good pdf is posted in the below link.
http://www.cs.brown.edu/courses/cs161/papers/j-nio-ltr.pdf

Sunday, October 4, 2009

Antibiotic Vs Antiseptic .

Antibiotic - a medicine or chemical that can destroy harmful bacteria in the body or limit their growth: examples : savlon, germonline, dettol etc.
Antiseptic -a chemical used for preventing infection in an injury, especially by killing bacteria., like a preventive measure.
Example:
When you cut yourself, you would use antiseptic lke savlon, germonline, dettol etc to clean the wound and kill any germs/bacteria that might have got it. If you were unfortunate enough for the cut to get infected, the Doc would prescribe antibiotics.