Nice little tricks: Find out processes that are using up all the RAM.
Looked up stack over flow and found the following answer:
http://superuser.com/questions/398862/linux-find-out-what-process-is-using-all-the-ram
“On Linux in the top process you can press < key to shift the output display sort left. By default it is sorted by the %CPU so if you press the key 4 times you will sort it by VIRT which is virtual memory size giving you your answer.
Another way to do this is:
ps -e -o pid,vsz,comm= | sort -n -k 2
should give you and output sorted by processes virtual size."
2012 in review
The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog.
Here’s an excerpt:
600 people reached the top of Mt. Everest in 2012. This blog got about 12,000 views in 2012. If every person who reached the top of Mt. Everest viewed this blog, it would have taken 20 years to get that many views.
A Comparison of java.net.URLConnection and HTTPClient
Good Comparision between above 2:
http://www.innovation.ch/java/HTTPClient/urlcon_vs_httpclient.html
Progress Listeners for your firefox plugin !!
Following are some sample code snippets and links to make use of to write awesome firefox plugins:
Progress Listeners allow extensions to be notified of events associated with documents loading in the browser and with tab switching events. Progress listeners implement the nsIWebProgressListener interface.
https://developer.mozilla.org/en/Code_snippets/Progress_Listeners
Good Read: Producer Consumer Example
Reference:
http://www.cin.ufpe.br/~java/docs/tutorial/essential/threads/synchronization.html
Gives an example of Producer Consumer using java threads and synchronization and then via lock from the concurrency package

