Thursday, October 4, 2012

Windows 7 Sound issue- error 1722 recovered


Problem

I Lost my sound- Got the below error when starting services->windows audio endpoint builder

 error 1722 the rpc server is unavailable

My solution

For some reason my "Power" service was off .
Start the "Power" service and then start "windows audio endpoint builder" and" windows audio" service -  now my audio services started and I got my sound again back. 



Saturday, June 16, 2012

Donate Blood, Save Life


Type
Donate to
Receive from
A+
A+ , AB+
A+ , A- ,O+ , O-
A-
A+ , A- , AB+ , AB-
A -, O-
O+
O+ , A+ , B+ , AB+
O+ , O-
O-
EVERYONE
O-
B+
B+ , AB+
B+ , B- , O+, O-
B-
B+, B- AB+ , AB-
B- , O-
AB+
AB+
EVERYONE
AB-
AB+ , AB-
AB- , A- , B-, O-


Blood bank Url's

  • http://www.bharatbloodbank.com/
  • http://www.indianblooddonors.com/
  • http://www.blooddonorsindia.org/
  • http://www.sakshum.org/ui/page/FindDonor.jsp



Thursday, June 14, 2012

Java Interview questions

Let me note down the questions which i faced so far:- wl discuss more in detail one by one:-


  • Write code for singleton pattern/Factory Pattern
  • Synchronizhation is better in method or block in this case?
  • Write code to validate ip address
  • write code to retrive data from vector/arraylist in perticular index
  • Write code for add and retrive data from hashmap
  • Internal storing and retrival of hashmap( equals and hashcode? )
  • Exception hirarchy?
  • How to write validater.xml if 50000 records retived has to validate
  • Flow/architecture of the application currently working
  • Call back function in ajax
  • can we call action class from ajax
  • call back is sync/ acsynch ?
  • Explain concept of ENUM
  • Explain How Hashmap works internally
  • Different types of servlet
  • What happend to transient field after deserialization
  • Externalizable
  • How you extract and sort a string having repeated words in it
  • How the transient variable object will be restored in deserilsation?- null or default for premitives
  •  How marker interfaces are interpreted by JVM(serializable,clonable), as it doesn't hv any method implementation 
  • Why IT industry is down mainly the telecom now?
  •  Priority of Thread?
  • How java do memory management in java?
  • when servlet will call destroy()
  • How to manage with session if the session size is large
  • Http is sateless/how session tracking?
  • Why String class is final?
  •  Can a class be static?
  • wht is difference b/w abstract class?or why abstract class as we can do it with out abstract also?
  • Explain singleton and loop holes of singleton and how to overcome


Friday, March 16, 2012

Load Table from a file

Load a file with tab seperated to a table

filename.txt

col1_data1 col2_data1 col3_data1 col4_data1 col5_data1
col1_data2 col2_data2 col3_data2 col4_data2 col5_data2


load Table Table_name (
col1,
col2,
col3,
col4,
col5
)
FROM '/home/sujith/filename.txt'
QUOTES ON
ESCAPES OFF
FORMAT BCP
STRIP OFF


col1 col2 col3 col4 col5
col1_data1 col2_data1 col3_data1 col4_data1 col5_data1
col1_data2 col2_data2 col3_data2 col4_data2 col5_data2

Friday, February 3, 2012

Scotch whisky

Scotch whisky is basically divided into 5 types:-


Single malt Scotch whisky

Produced from only water and malted barley at a single distillery by batch distillation.

Single grain Scotch whisky

Distilled at a single distillery but, in addition to water and malted barley, might involve whole grains of other malted or un-malted cereals.

Blended malt Scotch whisky

Blend of two or more single malt Scotch whiskies from different distilleries

Blended grain Scotch whisky

Blend of two or more single grain Scotch whiskies from different distilleries

Blended Scotch whisky

Blend of one or more single malt Scotch whiskies with one or more single grain Scotch whiskies

All Scotch whisky must be aged in oak barrels for at least three years.

Sunday, January 8, 2012

Banned Medicines

Banned Cold and cough Medicines

Cold and cough tablets in India still have the chemical phenylpropanolamine which was banned by the FDA !!!

Because it showed an increased risk of a hemorrhagic stroke in women.


More cold medicines using the above banned chemical:
D Cold
Vicks Action- 500
Actifed
Coldarin
Cosome
Nice
Nimulid
Cetrizet-D



More such banned chemicals still in use in India:-
__________________________________________________
ANALGIN:
This is a pain-killer. Reason for ban: Bone marrow depression.
Brand name: Novalgin
__________________________________________________
CISAPRIDE:
Acidity, constipation. Reason for ban : irregular heartbeat
Brand name : Ciza, Syspride
__________________________________________________
DROPERIDOL:
Anti-depressant. Reason for ban : Irregular heartbeat.
Brand name : Droperol
__________________________________________________
FURAZOLIDONE:
Antidiarrhoeal. Reason for ban : Cancer.
Brand name : Furoxone, Lomofen
__________________________________________________
NIMESULIDE:
Painkiller, fever. Reason for ban : Liver failure.
Brand name : Nise, Nimulid
__________________________________________________

NITROFURAZONE:
Antibacterial cream. Reason for ban : Cancer.
Brand name : Furacin
__________________________________________________

PHENOLPHTHALEIN:
Laxative. Reason for ban : Cancer.
Brand name : Agarol
______________________________
OXYPHENBUTAZONE:
Non-steroidal anti-inflammatory drug. Reason for ban : Bone marrow depression.
Brand name : Sioril
__________________________________________________
PIPERAZINE:
Anti-worms. Reason for ban : Nerve damage.
Brand name : Piperazine
__________________________________________________
QUINIODOCHLOR:
Anti-diarrhoeal. Reason for ban : Damage to sight.
Brand name: Enteroquinol

Courtesy: Internet