Saturday 2 July 2011

how to capture console output from Eclipse IDE into a local file

Problem: Every time a program runs the console is filled up and I am not able to see the messages at the top.

Solution:

Into your Eclipse IDE go to the Run -> Run configurations
Then go to the common tab at the end. Check the File check box at the bottom click on File system select a file to write on.

Apply and then close.

The next time you will have the console out put in eclipse IDE as well as as the file where you saved. Do remember to clean the file every now and then else it will keep on filling up.

Buffering goes on maximizing the youtube video windows 7

Problem: While watching youtube video if you maximize the screen the buffered video is gone and you are pissed off blaming IE or flash player.

Description : . Dont worry its not a bug or your IE or flash player issue.. Youtube tries to act smart here ending up screwing your video watch. You tube before downloading the video examines your interenet connection if it is slow it starts buffering at a lower resolution. generally at 360p. When you maximinze the video,  in order to give you the same viewing experience it switches to higher resolution to 480p and ends up deleting your previously buffered video to buffere the same video at higher resl.



If you look at the highlighted part at the image you'll see that the 360p is changed to 480p on maximizing...Yes I was watching coke studio.. the music is nice and babes are good.


Solution:
1.If you are confident about your internet speed you can start off at 480p , then it wont delete the buffer on maximizing.
2. You can permanently set the resolution on your youtube acount settings. But then you'll have to be logged in to watch the video.
3. It works sometime... You can manually set the resloution at the start of buffer. It generally sticks to the resolution even when you maximize. In case you the initial set value is 360p and you want to keep it as 360p still u'll change to to some other value and bring it back to 360p and youtube will take a note of it and wont change it.

Njoy!