Allama Iqbal – Selective verses iii
“Hawas ne tukre tukre kar diya hay na’u insan ko ukhuwwat ka bayan ho ja mohabbat ki zaban ho ja ye Hindi, wo Khurasani, ye Afghani, wo Turani tu ay sharmindayeh sahil uchhal kar bekaraan ho ja” Meaning: “Greed has torn apart humankind. You (Muslims),…
Accessing Twitter Resources Using OAUTH
OAuth is an Authorization scheme to protect resources. It is widely used to share private resources (e.g. photos, videos, contact lists) stored on one site with another site without having to hand out their credentials.
Resurrecting the dead ones in Java
In one of the puzzle at his blog site, Wouter came up with this java puzzle : Who came first Chicken or Egg. Here is the puzzle from his website:
A conversation between a Soldier and Software Engineer
Vivek Pradhan was not a happy man. Even the plush comfort of the air-conditioned compartment of the Shatabdhi express could not cool his frayed nerves. He was the Project Manager and still not entitled to air travel. It was not the prestige he sought;…
Axis1 date datatype workaround
If you are handling a legacy system, using Axis (1.4) webservices you must have come across Java2WSDL and WSDL2Java tools.
Thread unsafe Format in Java
Recently I was asked by one of our team mate that during load testing, order creation was failing because of wrong inputs(One of the application I am working on is an Order Management Application)
Sach hai, Vipatti jab aati hai
Nice Poem (Veer : Brave) by great Hindi Poet, Ramdhari Singh Dinkar ji सच है, विपत्ति जब आती है, कायर को ही दहलाती है, सूरमा नही विचलित होते, क्षण एक नहीं धीरज खोते, विघ्नों को गले लगाते हैं, काँटों में राह बनाते हैं मुँह…
Java hangs converting 2-2250738585072012e-308
As explained @exploringbinary.com, try following code to get your runtime hanged.
Quick logger
Post JDK1.5 you can create a quick logger(if you are not using apache log4j for some reason)as below:
When false is true
While trying to explain reflection to one my young friend, I finally ended up writing this code: This won’t work in 1.3/.4 but will work in higher/lower version of JDK The bug #5044412 fix(?) may disallow setting of value of fields.
Why I must believe in GOD
Not sure how to put it, because of the literary skills I lack but still. There can be many reasons why Theists believe in God. Recently I found one more. It was not more than a couple of days, I was frustrated, saddened and…