Archive for February, 2008

Karate Do and Self Defence

Nowadays there I have heard that as Self Defence there is no use of learning Karate. They say it is only a sport or a way of creating a healthy body and mind. But for me it can never be a good sport and it is the best form of self defence. With an opponent weilding a gun infront of you what self defence Karate can provide to you? they ask.

Before answering this question we must know the meaning of the phrase “Self Defence”. Defend the Self from whom?. Your opponent from whom you could defend yourself could be anything. It could be a flowing stream, a strong wind, a falling tree, a fierece dog, a burgler or it could be even a physical ailment and most of the time it is your own fear.

To defend from these opponents your self you must be always prepared mentally and physically. By practising Karate devotedly, diligently prepares you for this. It is moving meditation.

It may be true that you cannot avoid a bullet triggered at you in an alarming speed. But before that bullet is triggered at you, you have a thousand and one things to do to defend yourself if you have mastered Karate.

First you could avoid such confrontations by being not angered easily or by not making other ppl angered by you. You could avoid dangerous ppl and places by improving sense of awareness which is result of moving medition of Karate. Even then if you could not avoid such confrontations you could always hide or run before being confronted. To hide, to run effectively you need greater phsical ability. For example to instantly jump over an 8 feet high wall or nimbly climb up 15 feet tree require great phisical strength and some sense of correct technique which are all results of years of training(You don’t train to climb trees and jumping over walls while practsing Karate. But you are in a better possition than average ppl to successfully doing these when need arise.). Even if you cannot avoid the confrontation by these methods you can attack him in lightening speed before his finger touch the trigger(you are trained for such speed and power). Even if you could not avoid that then you can die bravely and unregrettedly which is the highest attainment the Karate traing could give you.

But realistically being confronted by a opponent with a gun is an incident that an ordinary person face not even once in a life time. But he is sure to be confronted by fear, decease and his own anger many times in life which could effectively devastate one’s self.

It is interesting to see that ppl who do not have time for practising this moving medition(or whatever form of exercise) at their younger age find ample time in thier old age to suffer from ailments which are unavoidable result of unhealthy mind and body.

I would like to produce following excerpts from the Master Text “Karate Do Kyohan” which has been my Bible for “self defence” for more than a decade.

* There is absolutely no need for concern about one-sided development of the body in Karate, and the fact that unform development may be considered to be on of the benefits of Karate.

* In most cases, only a minute or two is required to complete a Kata(my note:Predefined sequence of techniques that is soul of Karate) . Moreover, as one continues to practice, the movements become quicker and the training as a whole more vigours, so that one can get ample exercises from a relatively short period of time.

* No specific area, equipment, or even partner are necessary, for it can be performed in a garden, living room, hallway, at any time or place that one feels the desire to practise.

*Other contemporary karate experts such as masters Yamaguchi, Aragaki, chibana, Nakazato, Yahiku, Tokashiki, Sakihara, and chinen, have all lived to be over eighty. These examples are indicative of the role of Karate as a superier method of maintaining one’s health.

* It is not an exaggeration to assert that a man well trained in this form of defense may consider the whole body to be a weapon of awesomely effective offensive power.

* Although Karate does have throwing techiniques, it relies prinicipally on striking, kicking, and thrusting techiniques. These movements are much quicker and can escape the untrained eye. Block -attack combinations are executed simultaneously, and weaker individual, women or young boys, do have ample strength to control a more powerful opponent with them.

* An insight into this art, a mastery of its techniques a polishing of the virtues of courage, courtesy, integrity, humility, and self-control to make them the inner light to guide one’s daily actions:these require at the least ten or twenty years, if possible a lifetime of devotion to the study of this art.

* One who truely trains in this do and actually understands Karate-do is never easily drawn into a fight. One attack or a single kick determines life or death.

* True Karate, that is , Karate-do strives internally to train the mind to develop a clear conscience enabling one to face the world truthfully., while externally developing strength until one may overcome even ferocios wild animals. Mind and technique are to become one in true Karate.

* It is the small-minded individual who likes to brag upon acquiring some small skill, and those with little knowledge who carry on as if they were experts are childish. It is because of the large number of false martial artists in the world that the public tends either to ignore the martial artist or to consider him wild.

* For the Karate-do student, the most shameful trait is indecisiveness.

I hope these ideas let newcommers to do correctly


Read Full Post »

These days I’m working on a command line web services client to consume Amazon AWS Web services.

The idea is to use this tool from command line easily to do transactions with amazon. It can search for items, then lookup for searched items for details and review the details of items and when finally decide to buy it and add to the amazon shopping cart.

The name I put for the client is amazoneclient(subjected to change).

User can get help for using the tool by

amazoneclient –help.

There are two kinds of options user can provide; general options and operation specific options.

For example

$amazoneclient –subscription_id=<your access key> –op=ItemLookup –op_args=”ItemId=B00008OE6I ResponseGroup=OfferFull”

–subscription_id is a general option. Item_id is a operation specific option for the operation ItemLookup.

wsclient internally use wsf/c wsclient as the web sevices client. I hope to finish the work on this tool within a week. I’ll update you with more information then.

Read Full Post »

Be Humble, Be Honest

I read this article about the life style of Iranian President. This is unbelievable cosidering the fact that Iran is much more wealthier country compared to Sri Lanka. Whatever their political view every politician in Sri Lanka should consider the facts in this article seriously provided they claim themselves as volunteers dedicated for the benefit of the country and it’s people. Not only politicans, we all should know what is the economy of our country(family) could afford and do accordingly. 🙂


Read Full Post »

Soap Action and Addressing action

For me it has alway been a headache to understand and remember the complexity behind soap action and web services addressing action. As I have again started working on WSFC/wsclient a wget like command line tool specifically designed for consuming web services, I thought of writing down the facts from the corresponding authentic sources clearly for the benefit of at least me for future reference.

In WS-I version 1.1 it states

The SOAPAction header is purely a hint to processors. All vital information regarding the intent of a message is carried in the envelope.

`A HTTP request MESSAGE MUST contain a SOAPAction HTTP header field with a quoted value equal to the value of the soapAction attribute of soapbind:operation, if present in the corresponding WSDL description.`

`A HTTP request MESSAGE MUST contain a SOAPAction HTTP header field with a quoted empty string value, if in the corresponding WSDL description, the soapAction of soapbind:operation is either not present, or present with an empty string as its value.`

Again the `Web Services Addressing 1.0 – WSDL Binding` states clearly about the explicit association between wsa:action and SOAPAction as follows

`WS-Addressing defines a global attribute, wsaw:Action, that can be used to explicitly define the value of the [action] property for messages in a WSDL description. The type of the attribute is xs:anyURI and it is used as an extension on the WSDL input, output and fault elements. A SOAP binding can specify SOAPAction values for the input messages of operations. In the absence of a wsaw:Action attribute on a WSDL input element where a SOAPAction value is specified, the value of the [action] property for the input message is the value of the SOAPAction specified. Web Services Addressing 1.0 – SOAP Binding[WS-Addressing SOAP Binding] specifies restrictions on the relationship between the values of [action] and SOAPAction for SOAP 1.1 and SOAP 1.2.

The inclusion of wsaw:Action without inclusion of wsaw:UsingAddressing has no normative intent and is only informational. In other words, the inclusion of wsaw:Action attributes in WSDL alone does not imply a requirement on clients to use Message Addressing Properties in messages it sends to the service. A client, however, MAY include Message Addressing Properties in the messages it sends, either on its own initiative or as described by other elements of the service contract, regardless of the presence or absence of wsaw:UsingAddressing. Other specifications defining the value of [action] are under no constraint to be consistent with wsaw:Action.`



I do not like to interpret the above readings from the specifications with my own wording and confuse the reader or myself later. The best thing is to re-read the above and to refer if neccessary to the relevant sources to understand this clearly.

Read Full Post »