Sunday, 6 June 2010

Jai Guru dev

Most of out there may wonder what it means those who have a spiritual guru(Indian) would have heard this often.. If you wonder what it is or if you think its praising your guru or victory of your master.. Its time to think again.. An enlightened Satguru never needs your praise..

Jai means Victory
Guru means The great
Deva means the Divine who is fun-loving, playful, light and dignified

So "Jai Guru Dev" means victory of the greatness in you, victory of your mind/higher consiousness which is both playful and dignified**
:-)

Jai Guru Dev..
Harish..

Tuesday, 18 May 2010

Swami Vivekananda

When Swami Vivekananda went to USA, a lady asked him to marry her. When Swami asked the lady about what made her ask him such question. The lady replied that she was fascinated by his intellect. She wanted a child of such an intellect. So she asked Swami, whether he could marry her and give a child like him.

He said to that lady, that since she was attracted only by his intellect, there is no problem.

"My dear lady, I understand your desire. Marrying and bringing a child in to this world and understanding whether it is intelligent or not takes very long time. More over it is not guaranteed. Instead, to fulfil your desire immediately, I can suggest a guaranteed way. Take me as your child. You are my mother. Now your desire of having a child of my intellect is fulfilled."


The lady was speechless.


Only great souls like Swami Vivekananda can conceive such a spontaneous sensible response without getting upset or emotional!!

PS:- I got his as forwarded e-mail.

Friday, 7 May 2010

A Mystery

Do you like to read a good murder mystery? Not
even "Law & Order" would attempt to capture this mess. This is an
unbelievable twist of fate !!!!

Yes!
it's a true story


At the 1994 annual awards dinner given for
Forensic Science, AAFS President Dr Don Harper Mills astounded his
audience with the legal complications of a bizarre death.
Thus the
story: --------

On March 23, 1994...... The medical examiner
viewed the body of Ronald Opus, and concluded that he died from a
shotgun wound to the head.

Mr. Opus had jumped from the top of a ten story
building intending to commit suicide. He left a note to the effect
indicating his despondency.

As he fell past the 9th floor, his
life was interrupted by a shotgun blast passing through a window, which
killed him instantly.


Neither the shooter nor the deceased was aware that a safety
net had been installed just below the 8th floor level to protect some
building workers and that Ronald Opus would not have been able to
complete his suicide the way he had planned.


'Ordinarily,' Dr Mills continued, 'Someone who sets out to
commit suicide and ultimately succeeds, even though the mechanism might
not be what he intended, is still defined as committing suicide.' That
Mr. Opus was shot on the way to certain death, but probably would not
have been successful because of the safety net, caused the medical
examiner to feel that he had a "homicide" on his hands.


The room on the 9th floor, where the shotgun blast emanated,
was occupied by an elderly man and his wife. They were arguing
vigorously, and he was threatening her with a shotgun! The man was so
upset that when he pulled the trigger, he completely missed his wife,
and the pellets went through the window, striking Mr Opus.

When one intends to kill subject 'A' but kills subject 'B' in the
attempt, one is guilty of the murder of subject 'B.'


When confronted with the murder charge, the old man and his
wife were both adamant, and both said that they thought the shotgun was
not loaded.


The old man said it was a long standing habit to threaten his wife
with the unloaded shotgun. He had no intention to murder her. Therefore
the killing of Mr. Opus appeared to be an accident; that is, assuming
the gun had been accidentally loaded.

The continuing investigation turned up a witness who saw the old
couple's son loading the shotgun about six weeks prior to the fatal
accident.

It also transpired that the old lady had cut off her son's financial support and the son, knowing the
propensity of his father to use the shotgun threateningly, loaded the gun with the
expectation that his father would shoot his mother.


Since the loader of the gun was aware of this, he was guilty of
the murder even though he didn't actually pull the trigger. The case
now becomes one of murder on the part of the son for the death of Ronald
Opus.

Now comes the exquisite twist:
Further investigation revealed
that the son was, in fact, Ronald Opus. He had become increasingly
despondent over the failure of his attempt to engineer his mother's
murder. This led him to jump off the ten-story building on March 23rd,
only to be killed by a shotgun blast passing through the 9th story
window.



The son,
Ronald Opus, had actually murdered himself. So the medical examiner
closed the case as a suicide.

A true story
from Associated Press

Tuesday, 27 April 2010

Why do we shout in Anger!!

A saint asked his disciples, 'Why do we shout in anger? Why do people
shout at each other when they are upset?
'

Disciples thought for a while, one of them said, 'Because we lose our
calm,we shout for that.'

'But, why to shout when the other person is just next to you?' asked the
saint. 'Isn't it possible to speak to him or her with a soft voice? Why
doyou shout at a person when you're angry?'


Disciples gave some other answers but none satisfied the saint.

Finally he explained, 'When two people are angry at each other, their
hearts distance a lot. To cover that distance they must shout to be able to
hear each other. The angrier they are, the stronger they will have to shout
tohear each other through that great distance.'


Then the saint asked, 'What happens when two people fall in love? They
don't shout at each other but talk softly, why? Because their hearts are very
close. The distance between them is very small...'

The saint continued, 'When they love each other even more, what happens?
They do not speak, only whisper and they get even closer to each other
intheir love. Finally they even need not whisper, they only look at eachother
and that's all. That is how close two people are when they love each
other.'

MORAL: When you argue do not let your hearts get distant, do not say
words that distance each other more, else there will come a day when the
distance is so great that you will not find the path to return

PS:- Got this as a email and it touched me as I have had lost a few wonderful people because of ma anger.We often take pride of being anger and showing tantrums but its very easy to show your attitude ego and anger, and its very tough get a control over them and grow above it. Be skillful in handling relations, you can learn from mistakes so never worry about past. Love every one. Last but not least "Show your anger but don't get angry.. Sri Sri"

Monday, 18 January 2010

Flute

Flute is one of the instruments which can touch the soul of all living beings in earth.I started learning it few days back as it was my childhood passion now aim in life is to play the flute and make the person whoever listen it happy. The seed for this was dropped inside ma heart by a tuition master in my early teens however I started following the path when Im 26 and Im happy to start at this stage because I was able to start learning it from Vrindhavan Gurukul run by Pandit Shri Hariprasad Chaurasia, now my master Sameer Rao is helping to make ma dreams fruitful.

I like flute for the reason that it has to be controlled by breath which helps to calm the mind and I believe flute can make a conversation between soul to soul. Sri Sri Ravishankarji has once said in his knowledge sheet that a person who feel low/sad should remain silent attend satsang and also to listen to flute music to regain the peace of mind. I wonder if one who listens can get a peace of mind then one who plays can go beyond that and the flautist/any musician is thus doing a great service to the World.

Flute
Bansuri flute has six finger holes and one embouchure hole, and is used predominantly in the Hindustani music of Northern India. The Venu or Pullanguzhal, has eight finger holes, and is played predominantly in the Carnatic music of Southern India. Flute is one of the three original forms of rendering Indian Classical music according to ancient scriptures - Vaani (Vocal), Veena (String) and Venu (Flute). Flute is loved by most of the Indians as it was Lord Krishna’s instrument to. The western flute is different from the Indian flute in many ways and also it doesn’t create the smooth soothing sounds as such India flutes can.

Music is God’s gift to Us we have to respect it by exploring it, learn it, encourage it and spread it and spread smile around the world which move towards violence and trauma.

I am the Father of hundreds

A little boy got on the bus, sat next to a man reading a book, and noticed he had his collar on backwards.
The little boy asked why he wore his collar backwards.

The man, who was a priest, said 'I am a Father.'

The little boy replied 'My Dad doesn't wear his collar like that.'

The priest looked up from his book and answered 'I am the Father of many.'

The boy said 'My Dad has 4 boys, 4 girls and two grandchildren and he doesn't wear his collar that way'

The priest, getting impatient, said 'I am the Father of hundreds' and went back to reading his book.

The little boy sat quietly thinking for a while, then leaned over and said, 'Maybe you should use a condom and wear your pants backwards instead of your collar.'

Thursday, 3 December 2009

Pros n cons of different flash Delivery methods

If you want to work on flash streaming are confused to select a delivery method go through the below link.

http://www.digital-web.com/articles/efficient_video_delivery_over_the_internet/

Different Ways of delivering Video over Internet:-

HTTP Progressive Download:-
The basic way to deliver flash video over internet efficient for short video files doesnt need any additional software or hardware support. you cannot skip a particular portion of video and skip to a new position you have to wait for the complete download. Not an efficient method to lengthy videos.

RTMP Streaming:
This is the most efficient way to provide streaming as well as live broadcast streaming and also help to deliver access controllable videos. one main advantage over progressive download is you can jump to different time frames without waiting for the previous portion to be downloaded. Server should be configured to provide streaming.

HTTP Streaming
This is a combination of the above two methodology but without any access control and is suitable for lengthy videos. Video content may be downloaded without actually being viewed, resulting in inefficient bandwidth usage. In addition, HTTP streaming is not supported by storage services only capable of serving static content

Partitioning Multiple Segments:-
The advantages of this approach are:

No special software required other than a standard web server to serve the video
It lets users jump close to any point in the video
Delivering close to only the number of bytes required for viewing the video
This approach requires video to be partitioned into multiple segments for a particular time interval.

Making Flash Video Player Skin visible and invisible

Hi Everybody
I faced a problem when I got a project to show and hide skin of a flash video player on roll over and roll out. I was not able to use th roll over and roll out events because the video player size is exactly same as the stage size. The help I found online dint helped me much. So I used the MouseEvent.MOUSE_MOVE event to show the skin and Event.MOUSE_LEAVE to hide the skin. After several trial and errors and several research I found a feasible solution for this yet it throws some Warning(not an error) rarely but it works properly.

Cheers
Harish..

Code :
stage.addEventListener(Event.MOUSE_LEAVE,skinHide);
stage.addEventListener(MouseEvent.MOUSE_MOVE,skinShow);

function skinShow(evt:MouseEvent):void {
this.flvVidPlayer.skin = skinURL ;
}
function skinHide(evt:Event):void {

try {
this. flvVidPlayer.skin =null;
this. flvVidPlayer.skinAutoHide = false
} catch (e:Error) {
trace("my error"+e);
}
}

Other Search terms:
Actionscript 3 skin flvplayer visible invisible
flash video player show hide bug error
Error #2044: Unhandled skinError:
fl.video::UIManager/http://www.adobe.com/2007/flash/flvplayback/

Wednesday, 6 May 2009

Flash CS3 CS4 Auto format Bug

Most of you guys would have come across a serious bug in Adobe Flash CS3 and CS4 during the autoformat. The bug is it removes all the parenthesis or round brackets when u press Ctrl + shift + F. Its a serious bug for a software like Flash in which mathematical and logical calculations plays an important role most of the forums let with no answer how ever in one forum which directed me to a weird idea but it worked make sure you have more than one fla file when u format the Class file. Strange but it works. I am really amazed how adobe dint noticed or not given much importance for this in their CS4 when the bug already exist in CS3. The most sarcastic was senocular's advice to manual formatting that was the biggest joke he would have made because 90% of developers are used to press ctrl+shift+f for auto align as well as for a compile check and then they save. Poor guy..


Search tags:-

flash cs3 cs4 parenthesis Missing
actionscript 3 parenthesis invisible after auto format
round bracket missing autoformat
auto format bug cs3 flash
auto format bug AS3 flash
auto format bug cs4 flash

Friday, 13 March 2009

Cross Domain Image load in AS3

About Cross Domain and the Policy File:
Flash player by default prevents loading data from cross-domain servers(i.e. the swf can load the data only from the server in which it is hosted by default). However this can be over come by placing a cross domain(crossdomain.xml) policy file in the root of the different server from which the data(content) is present. The xml file will allow other domains to load the content from it. The crossdomain.xml should be in the root directory.


In flash player 9 just placing the crossdomain.xml in the servers root folder will not be enough to load the image. You must instantiate a LoaderContext object and use it along with the loader.load(urlReqst,loaderContext) function to load the image from a different domain successfully.

function loadImage(imURL:String) {
var crsDomainLoader:LoaderContext;
crsDomainLoader= new LoaderContext();
crsDomainLoader.checkPolicyFile=true;
var imgLoader:Loader=new Loader();
imgLoader.contentLoaderInfo.addEventListener(Event.INIT,imgLoaded,false, 0,true);
imgLoader.load(new URLRequest(imURL),crsDomainLoader);
}

This is the best solution I have found and it will work finely provided the crossdoamin.xml is placed on the proper location.

Search Tags:
Cross domain image not loading
Image not loading in AS3
Image not loaded from different server
crossdomain AS3 Bug solution

Wednesday, 25 February 2009

Slumdog Millionaire Oscars


Finally a film Slumdog Millionaire based on India got 8 Oscars and brought 3 Oscars to India in the 81st Academy Award. The film was based on a novel QnA written by Vikas Swarup.
A.R. Rahman the maestro of Indian film industry got two awards for Best Original song for "Jai Ho" and best background score.



Resul Pookutty won the best sound mixing oscar award along with Ian Tapp and Richard Pryke. Resul Pookutty is from Vilakkupara, Kollam in Kerala. He is the first Indian and only Asian to win the Academy Award for Best Sound Mixing.


Hats of to you guys and Dany Boyle to make India proud




The awards won by Slum dog Millionaire are:-
1. Best Picture
2. Director
3. Music (Song)
4. Music (Score)
5. Film Editing
6. Sound Mixing
7. Cinematography
8. Writing (Adapted Screenplay)

Thursday, 19 February 2009

AS3 Double Click

The double click event introduced in AS3 (MouseEvent.DOUBLE_CLICK) will be working only if the button property "doubleClickEnabled" is set to true explicitly. If this property is not set the double click event will not be triggered.

customButton.doubleClickEnabled = true;
customButton.addEventListener(MouseEvent.DOUBLE_CLICK,onThumbClick,false ,0,true);

function onThumbClick(event:MouseEvent) {
trace(event.currentTarget);
}

Tuesday, 20 January 2009

AS 3 Startdrag with co-ordinates

The drag and drop functionality is a inevitable functionality which a flash programmer can't avoid. The startDrag() function however has undergone a simple modification in the latest version which gives a bit trouble to lots of programmers who have used the earlier version.

The AS3 startDrag was different from the previous version(in the parameter specification). The AS3 start drag require two parameters the first parameter is a Boolean value for lock center(same as previous versions), the second parameter is a rectangle object which specify the bound/co-ordinates. The Rectangle bound area has to be created with four parameters(1st two or x,y and later two or width and height) which specify the bounding area which is some how similar to the AS2.


You can use the following generic code in two different scenarios either your drag object is smaller than the stage size or even if it is larger than the stage size.


//manually defining the stagewidth and height
//you can use stage.stageWidth and stage.stageHeight

var stagWit=550;
var stagHit=400;

//fn to drag the mc
//the movieclip used have the registration point @ left top..
//this method is ideal when the drag object is smaller than stage as well as when the drag object is larger than stage//dragable area..
function startMoveDrag(event:MouseEvent):void {
var left:Number=stagWit-drag.width;
var top:Number=stagHit-drag.height;

var right:Number=0;
var bottom:Number=0;

var myWidth:Number=right-left;
var myHeight:Number=bottom-top;

//create the rectangle using the above co-ordinates
var boundRect:Rectangle=new Rectangle(left,top,myWidth,myHeight);

//create the drag funcction
drag.startDrag(false,boundRect);
}
function stopMoveDrag(event:MouseEvent):void {
drag.stopDrag();
}

stage.addEventListener(MouseEvent.MOUSE_DOWN,startMoveDrag);
stage.addEventListener(MouseEvent.MOUSE_UP,stopMoveDrag);


Search terms:
startDrag second parameter
startDrag AS3 not working
How to define startDrag AS 3 actionscript 3.0
startDrag parameter
startDrag rectangle problem

Thursday, 8 January 2009

Digitally signed certificates for AIR application created by individual user

Digitally signing your applications will give the assurance to the user that the application doesn't do any harmful or malicious act with the users data. Previously the air applications have only corporate certification; now individuals(developers) can also create signatures for AIR application. You can obtain the certificate from CHOOSEN certificate authority (CA) or any other CA. You can find more details about the certificate in this pdf.

To know more about the necessity of Signed application click here. With this developers can easily create useful application and make it easily available to the users easily.

Monday, 29 December 2008

Some cool stuffs about Data Binding by Michael Labriola

Diving in the Data Binding Waters with Michael Labriola

Adoobe-HD video

Adobe supports High definition videos now with the support of Adobe flash media server 3 and the latest flash player which supports H.264 encoding. With Flashon and AMP flash videos gonna rock again in the internet as well as in TV. The latest update of PlayStation 3 supports flash player which again will help you to connect to the internet and watch flash videos online in your PS3. You tube has already implemented the High definition video view option. With all this we can expect flash installed PC around the world as 100% soon.

Six Things You should not forget when you create a Rich Internet Application(RIA)

hey folks
I just gone through a useful link by Serge in which he states 6 points you should follow while developing a RIA which wont annoy the end user as well as make sure they wont uninstall your application if you take care of some small stuffs while devloping it.

Your RIA should be compatible to all the below scenarios and less annoying.
1 Launching your application on login/startup-(Ask user preference after installation or add a checkbox to preference tab)
2 Always in front-(Ask user preference)
3 Automatically setting the file type-(Ask user preference)
4 Full screen applications(Should be based on the necessity and in full screen mode add buttons or shortcuts to jump to other applications)
5 Custom chrome- Minimize and close button is a must
6 Self signed applications- Get signed certificates for commercial application everybody is scared of harmful application.

Click the following URL for more details.

Best practices for RIA

Friday, 19 December 2008

API Key initailization bug for flash google map

Google Maps API for Flash This API lets flash/Flex developers embed Google Maps in Flash applications.

While generating the API key you have to specify the exact URL of the website in which the application will be hosted otherwise it will throw an error "Initialization failed: please check the API key, swf location, version and network availability"

If you created the API key with your IP or doamin adress and after hosting if you browse it with the actual URL the application wont work for the same key.

Cheers and Have fun with Flash
Harish

Tuesday, 16 December 2008

Vulnerable IE 7.0(flaws in IE 7.0)

Hey Guys
The Internet Explorer 7.0 has a major BUG openly exposed now which can be a very good treat for Hackers. It is best to avoid using IE 7 for time being and try to update your IE7.0 with the patches once MS release it.

The PC WORLD says The IE may drop some malicious code in the clients/users PC which will be downloading other harmful software.

So don't visit susceptible Webpages from IE 7.0 or use alternate browser which will be the best option...

again Microsoft proves themselves as a bug home..

Keep Watching
harish

Monday, 15 December 2008

To my Love

To the eyes which twinkles when our eyes get locked..

To the cheeks which turn red when you think of me..

To the lips which smile when you see me..

To the throat which sounds really sweet when you talk 2 me...

To the shoulders which gonna carry me forever throughout our journey..

To those soft fingers which are ready to hold ma hands for ever

To the heart which has lots and lots of love for me..

I just ve a very few words to express myself.. I LOVE YOU

Web Content Accessibility Guidelines (WCAG) 2.0

WCAG 2.0 defines how to make Web content more accessible to people with disabilities(visual, auditory, physical, speech, cognitive, language, learning, and neurological disabilities). WCAG is developed by W3C(World Wide Web Consortium) along with the join co-operation of Individual, organization and government with the consideration of forming a standard which can be followed by the developers all over the world.

For more details :WCAG 2.0 and a Quick reference

Cheers
Harish..

Wednesday, 16 July 2008

BUZZWORD

Hey guys
Adobe had came out with yet another product a word processor called BUZZWORD which is built on flash platform and running in flash player hooraayyyy..

Features:
Its a web application so no more worries about carrying documents in CD/USB.
Its very easy to work.. n ve cool image editing option which is million times better than MS word especially in table and image options.
the best part of Buzzword is it export files to Adobe PDF and it can import all other word processor formats.

You can share the document also by inviting other through email and assigning preferences to them
* Co-author - full writing privileges
* Reviewer - can only add comments to the document
* Reader - can only read the document
Check it out.. https://buzzword.acrobat.com u have many more to reveal by urself.. :)

thanks
harish

Wednesday, 9 April 2008

Adobe Media Player 1.0

Its been very proud to say that Adobe has released its own media player AMP 1.0. Its a Desktop Flash media player which can play flv file. The best thing is using RSS feed you AMP can download the latest updated video from the websites and watch whenever you want so that you can watch them even when you are offline also. You can queue up and download your favorite Internet TV content, track and download new episodes automatically, and manage your personal video library for viewing at your convenience. It has already partner ship with our favourite channels such as MTV, Nickelodeon, Universal Music Group, CBS, blip.tv etc.. So know you can watch your favourites in you computer. Enjoy.. Check out another product of abobe ADOBE TV which is goanna ROCK soon.

To download Adobe Media Player click here

Monday, 17 March 2008

Webservice in AS3

The biggest disappointment for me with flash CS3 was when I realized that there is no webservice support from AS3 eventhough it is supported in flex. I have to connect with webservice almost in all projects which lead me to conclude there is no way out for me until I found this sites http://manmachine-tech.blogspot.com and http://labs.alducente.com/?page_id=13.

There are few more sites I came across this one is the best which works fine with array of complex data-types also.

:)
harish

Monday, 11 February 2008

Laptop in Envelope

Have you ever worried about carrying a huge size laptop on ur back.... Here u go with the thinest laptop Mac Book Air. With all the functionalities of a normal lap and @ 13.3 inch wide display fully functional key board touch pad n strategically hidden I/O ports built in camera wifi 5hrs batery n alot more. Iam very much excited and waiting for the day to touch it..
check it out http://www.apple.com/macbookair/