Social Icons

Friday, April 30, 2010

centeredAverage: Solutions for Javabat:15

This is somewhat “not-easy-as-it-seems” array question. because there are a lot of things which we would not consider at first. Only After a thorough testing we can get the ultimate solution.

Return the "centered" average of an array of ints, which we'll say is the mean average of the values, except not counting the largest and smallest values in the array. Use int division to produce the final average. You may assume that the array is length 3 or more.

centeredAverage({1, 2, 3, 4, 100}) → 3
centeredAverage({1, 1, 5, 5, 10, 8, 7}) → 5
centeredAverage({-10, -4, -2, -4, -2, 0}) → –3



public int centeredAverage(int[] nums) {
           if(nums.length <3 ) return 0;
           int len=nums.length; 
           int max=Integer.MIN_VALUE ; 
           int min=Integer.MAX_VALUE ; 
           int sum=0 ;  
           int mini=0; // subscript of max ,min
           int maxi=0;
           // get max,min values and their subscripts
           for(int i=0;i<len;i++){
           }// end for
           // compute the average
           for(int j=0 ; j<len; j++){
              if(maxi==mini) {// all the elements are same
              if(j != maxi && j != mini)
           }// end for
          return sum/(len-2);

Ubuntu 10.04 LTS released

A spanking new version of the Linux community favourite Ubuntu operating system has been released: 10.04, aka Lucid Lynx. This version is a "long term support" (LTS) release, meaning of course it will be around for quite a long time. 10.04 comes in standard, notebook and server editions, each free to all, naturally.
There's lots new this time around. First off, the look has been switched thanks to a colour palette swap (now based on purple, red and orange), new logos, icons, backgrounds and themes, a redone notification area, and a "pretty" design. Also, window controls now match OS X in that they're moved to the left instead of the right. Presumably a customization option will be available to switch this in some way or another for those that prefer otherwise.
Application-wise, there are new default selections like Simple Scan and the PiTiVi Movie Editor (currently very buggy). There's also an emphasis on social applications, with tools integrated into your desktop, allowing you to access your favourite networks efficiently. For instant messaging, Empathy now supports Facebook chat and adds multiple other features. Also, iPhone and iPod Touch support are now included, and cloud and sync service Ubuntu One is greatly improved.
Music lovers can now shop through the Ubuntu One Music Store with commercial, DRM-free releases with cloud support, while the updated Software Center is great for tool and game lovers -- providing a rich repository of freeware all in one location. Finally, file manager Nautilus has received significant upgrades which should make navigation that much more pleasant.

What’s new from UBUNTU 10.04 LTS:

Ubuntu 10.04 LTS RC includes the latest GNOME desktop environment with a number of great new features.

Linux kernel 2.6.32
Ubuntu 10.04 LTS RC includes the 2.6.32-21.32 kernel based on

KDE SC 4.4
Kubuntu 10.04 LTS RC features the new KDE SC 4.4. For more information about new features in Kubuntu, see the Kubuntu technical overview.

HAL removal
This release fully removes HAL from the boot process, making Ubuntu faster to boot and faster to resume from suspend.

Major new version of likewise-open
The likewise-open package, which provides Active Directory authentication and server support for Linux, has been updated to version 5.4. The package supports upgrades from both the officially supported versions 4.0 (Ubuntu 8.04 LTS) and 4.1 (Ubuntu 9.10), as well as the likewise-open5 packages from universe.
Since this upgrade involves a lot of configuration file changes and in-place database upgrades, testing and feedback is appreciated.

New default open source driver for nVidia hardware

The Nouveau video driver is now the default for nVidia hardware. This driver provides kernel mode setting, which will give improved resolution detection. This driver provides hardware accelerated 2D functionality, like the -nv driver it replaces. The nouveau driver is being actively developed upstream and we anticipate this will enable faster bug fixes for problems encountered.

Improved support for nVidia proprietary graphics drivers
Three different NVIDIA proprietary drivers are currently available: nvidia-current (190.53), nvidia-173, and nvidia-96. Thanks to a new alternatives system, it is now possible to install all three of these packages at the same time (although it is only possible to have one configured for use at a time).

Social from the Start
We now feature built-in integration with Twitter,, Facebook, and other social networks with the MeMenu in the panel, which is built upon the Gwibber project, which has a completely new, more reliable backend built on top of desktopcouch. Gwibber now also supports a multi-column view for monitoring multiple feeds simultaneously.

New boot experience
Multiple changes to look, feel and speed of the boot experience have been included in the Ubuntu 10.04 LTS Release Candidate.

New Indicators
The notification area now features more consistent user experience and design for communication, session management, and many other tasks. See the application indicators page for information on this change.

New Themes
The desktop has been beautified with the addition of two brand new themes, Ambiance and Radiance. New wallpaper and icons are also included.

Ubuntu One File Syncing
Select any folder in your home directory for sync, pick from your existing contacts when sharing folders. An updated preferences application has been added, with more features.

Ubuntu One Music Store
Millions of songs are available for purchase from your Ubuntu desktop, integrated with the Rhythmbox Music Player and using Ubuntu One cloud storage for backup and easy sync.

New features for Ubuntu Enterprise Cloud (UEC)
The Ubuntu Enterprise Cloud installer has been vastly improved in order to support alternative installation topologies. UEC components are now automatically discovered and registered, including for complex topologies. Finally, UEC is now powered by Eucalyptus 1.6.2 codebase.

Security Issue when upgrading from Lucid Alpha 2
If you installed Lucid prior to Alpha 3, you may have libmysqlclient16 7.0.9-1 installed. This package was present in the Ubuntu archive by mistake and was retracted, but because it has a later version number than the real libmysqlclient16 package, the real package will not be installed automatically on upgrade. To ensure that you have the official package installed on your Lucid system and will receive security support for it throughout Ubuntu 10.04 LTS, it is important that you run sudo apt-get install libmysqlclient16/lucid and follow the instructions.


File Size = 700MB (x86 and x64 editions)

Thursday, April 29, 2010

How to retrieve System properties in Java

This post contains the procedure to retrieve system data without using any external libraries. I use java.lang.System to retrieve data and java.util.Properties class to store them so that we can Iterate and retrieve system data in our code.
As you may know System class is a final class and cannot be instantiated , hence it provides us three static methods to retrieve system properties. Before using the second and third methods we need to know what these keys are.

System.getProperties(); // returns a Properties object
System.getProperty("key"); // returns the property specified by the key or null
System.getProperty("key", "default"); // returns the default val if key val is null

Apparently the first method returns a Properties object which essentially a Hashtable , because Properties class extends Hashtable. The Property object returned by the getProperties() has Object Keys and String values.hence we can retrieve keys of the Properties object and iterate through all the available keys in the Properties object. (Notice that getProperties method may throw a Security Exception in case the Security manger does not allow access to the System properties.)

import java.util.Properties;
import java.util.Iterator;
public class OS {
    public static void main(String[] a){
          String s="";
              Properties sys = System.getProperties();
              // Properties object is a hashtable
              // hence we need it's key to get it's properties
              // following for loop retirieve the keys 
              for(Iterator<Object> i= sys.keySet().iterator(); i.hasNext(); ){
          catch(SecurityException se){

Here are the Keys available in the Property object sys. I ordered them by  categories. In order to sort 
it according to the natural order Collections.sort() method can be used on the keyset of the Properties object


Now we know the keys we can get properties we want by calling getProperties(String key).Here is a little tool
I made to get all available info using System.getProperties().

First video sample out of the new Nokia N8

It is finally official. Due to hit “select markets” in Q3 of this year for 370 EUR ($495), it’s the first Symbian^3 handset from Nokia, and the first to feature a 12 megapixel camera plus 720p video shooting, but sadly at 25 fps, not 30 fps. The camera is something we’re eager to test out since Nokia say it has a “large sensor that rivals those found in compact digital cameras”. The N8 will also have built in software that allows users to edit their HD videos. Additional features, again things we’ve known about for a while now: Dolby Digital Plus, multi touch, flick scrolling, and pinch to zoom.
Here is the first video to come out a N8 , shot in 720p at a frame rate of 24fps.

Nokia N8 sample video from Nokia Conversations on Vimeo.

Wednesday, April 28, 2010

Komodo Edit - Free Code Editor

Komodo Edit is a free, open source editor from dynamic language experts.

Whatever Your Language

Komodo Edit supports PHP, Python, Ruby, Perl and Tcl, plus JavaScript, CSS, HTML and template languages like RHTML, Template-Toolkit, HTML-Smarty and Django.

Autocomplete and calltips

  • Write code faster and shorten the learning curve with code completion that guides you as you work
  • CSS, HTML, JavaScript, Perl, PHP, Python, Ruby, Tcl, XML and XSLT.
  • Schema-based XML/HTML completion
  • Multiple-language file support, such as CSS and JavaScript completion in HTML
  • Support for adding third-party libraries
  • Interpreter version differentiation of built-in and standard library information

Multi-language file support

Correct syntax coloring of multi-language files and templated files, common in many web programming frameworks. Add custom language support (User-Defined Languages or UDL, used to provide support for RHTML, Template-Toolkit, HTML-Mason, Smarty and Django).

Standard editing features

Code commenting, auto-indent and outdent, block selection, incremental search, reflow paragraph, join lines, enter next character as raw literal, repeat next keystroke and clean line endings on "save".

Syntax checking

Instant feedback for all fully-supported languages.

Syntax coloring

Spot errors easily and improve readability and context, even in multi-language files (unique to Komodo!).

Vi emulation

Modal Vi keybindings emulate navigation, text insertion and command behavior. Custom commands can be implemented by adding Komodo macros to a Vi Commands Toolbox folder.

Emacs keybindings

Emacs-like keybinding scheme supports new editor features modeled on Emacs, such as transient marks (similar to the Emacs "mark ring"), repeat next command and reflow paragraph.

Apple Releases iTunes 9.1.1

iTunes 9.1.1 provides a number of important bug fixes, including:
  • Addresses several stability issues with VoiceOver
  • Addresses a usability issue with VoiceOver and Genius Mixes
  • Addresses issues with converting songs to 128 kbps AAC while syncing 
  • Addresses other issues that improve stability and performance
New Features of iTunes 9.1.1
  • Sync with iPad to enjoy your favorite music, movies, TV shows, books and more on the go
  • Organize and sync books you've downloaded from iBooks on iPad or added to your iTunes library
  • Rename, rearrange, or remove Genius Mixes

Tuesday, April 27, 2010

jsoup: Java HTML Parser

Suppose you want to retrieve all the links in HTML page . And you stored the HTML code in a String . Using regex is a cumbersome task. you need extensive testing against number of variations. jsoup is a class library developed to this very reason. Here is the code using jsoup to parse the HTML String and retrieve all the links.


jsoup is a Java library for working with real-world HTML. It provides a very convenient API for extracting and manipulating data, using the best of DOM, CSS, and jquery-like methods.

  • parse HTML from a URL, file, or string
  • find and extract data, using DOM traversal or CSS selectors
  • manipulate the HTML elements, attributes, and text
  • clean user-submitted content against a safe white-list

jsoup is designed to deal with all varieties of HTML found in the wild; from pristine and validating, to invalid tag-soup; jsoup will create a sensible parse tree.

Nokia N8 - Flagship phone

The Nokia N8 was previewed yesterday on the web, and now the full specs of the device have leaked out. Read on for the full details.
This touchscreen Nokia is set to become the phone giant’s next flagship phone, and is also the first to sport the new Symbian^3 operating system. The Nokia N8’s top eye-catching features are its 12-megapixel camera, Xenon flash, HDMI output and 3.5-inch OLED screen.
The rest of its features are typically high-end, including GPS, Wi-FI and HSDPA, although the 680MHz CPU sounds a little underpowered next to the 1GHz Snapdragon processor of the HTC Desire and Google Nexus One. Here’s the full list of specs, as published on Unwired View.
  • Form factor: Touch screen monoblock
  • Protocols: WCDMA 850/900/1700/1900/2100 and GSM/EDGE 850/900/1800/1900
  • Codecs: AMR, NB AMR, WB AMR, FR, EFR
  • Display: 3.5” OLED, capacitive touch screen, widescreen 16:9 nHD with (640*360 pixels) 16M colors, active area 43.2 mm x 76.8 mm
  • Processor speed: 680MHz
  • Connectors: HDMI, 3.5 mm AV connector, micro USB interface to PC, uSD slot, 2mm DC jack
  • USB 2.0 High Speed, USB OTG, USB charging
  • Memory: 256MB RAM, 512 ROM
  • User Memory: 140 MB internal after boot-up, 16GB eMMC, Hot swappable microSD up to 32GB
  • 12Mpix AF camera with Carl Zeiss Tessar f/2.8 28mm wide-angle optics. Xenon Flash, focal length 29 mm, 20x digital zoom camera
  • Physical keys: application key, power key, camera key, lock key, volume up & down
  • Input methods: Finger touch support for text input and UI control: ITU keypad, full keyboard. Chinese handwriting recognition. Possibility to use capasitive stylus
  • Stereo FM Radio
  • Hands free speaker: Boosted Class D mono speaker
  • Integrated GPS
  • 3D Entry Accelerometer
  • Proximity sensor
  • Battery: BL-4D 1200mAh (inbox), up-to 7.7/5.4 2G/3G talk time, 719/603hrs stanby, 7.3 hrs H.264 video 720p playback, 3.2h 720p video recording
  • Dimensions: 113.5×59×12.9 mm
  • Volume: 86 cc
  • Weight: 135 g

maxMirror: Solutions for Javabat:14


Say that a "mirror" section in an array is a group of contiguous elements such that somewhere in the array, the same group appears in reverse order. For example, the largest mirror section in {1, 2, 3, 8, 9, 3, 2, 1} is length 3 (the {1, 2, 3} part). Return the size of the largest mirror section found in the given array.

maxMirror({1, 2, 3, 8, 9, 3, 2, 1}) → 3
maxMirror({1, 2, 1, 4}) → 3
maxMirror({7, 1, 2, 9, 7, 2, 1}) → 2


My Solution:

public int maxMirror(int[] nums) {
 int maxMirror=0 , mirrorCount=0;
            int len=nums.length;
            if(len<2) return len;
            for(int i=0 , j=len , k=0 , l=0 ; i<len-1 ; i++){
                // look for the currentvalue in the array
                while(--j>i && nums[j]!=nums[i]);
                if(j==i){ // no mirror starts from this val! check the next val
                    j=len-1; // next search must start from the end
                else{ // found a mirror
                    k=i; // store boundaries of the mirror
                    while( (++k <= l && --j >= i) && (nums[k] == nums[j])  )
                    if(mirrorCount > maxMirror)
                    k=0 ; j=len; mirrorCount=0;
            }// end for
            return maxMirror;

Opera 10.52 available for Windows

New in Opera 10.52

  • Enjoy unprecedented speed with our new Carakan JavaScript engine, Vega graphics library, and Opera Presto 2.5 browser engine.
  • Opera includes industry leading support for Web standards such as HTML 5, SVG and JavaScript.
  • Enhanced platform integration on Windows and Mac means that Opera looks and works better than ever on your operating system.
  • A beautiful, new design looks great on Windows, maximizing your view of the Web and fully utilizing Aero transparency on Windows 7 and Windows Vista.
  • Our improved dialogs will not get in your way or interrupt you. You can now switch between different pages without having to clear prompts first.
  • Searching is easier than ever, with Web search integrated right in the address field. You can also find pages from your history and bookmarks, as you type.
  • Displaying pages in the size you want is smoother than ever, with a new zoom slider in the status bar.
  • Rest assured that browsing stays personal with private browsing. Once you close a private tab or window, the data from that session is removed from the browser without a trace

Monday, April 26, 2010

ProGuard | Java Obfuscator (free)

ProGuard is a free Java class file shrinker, optimizer, obfuscator, and preverifier. It detects and removes unused classes, fields, methods, and attributes. It optimizes bytecode and removes unused instructions. It renames the remaining classes, fields, and methods using short meaningless names. Finally, it preverifies the processed code for Java 6 or for Java Micro Edition.

To run the proguard
  • Unzip to a desired location
  • Run proguardgui.jar ( ..\proguard4.4\proguard4.4\lib\ ) 

SPlayer - A Fully Featured Open Source Media Player

SPlayer is a lightweight media player with simple design that supports a great variety of formats and includes surprisingly powerful features. If you are a fan of VLC or KMPlayer here  is a perfect alternative for them.  Splayer loads if any matching subtitle available and has features for capturing thumbnails and screens. another excellent facility is the player was closed accidently while you were watching and when you start Splayer again it will continue to play the movie from the point where it had been stopped.

some screens.


English, Chinese Simp

SPlayer supports the following formats:


Recent changes in SPlayer:

  • Support for lyrics
  • Support for Traditional Chinese language interface

OS requirements for SPlayer:

OS: WinXP/2003/Vista/7

For more information on features available for SPlayer visit the Official Web site

Screenr - Online screen recording tool

Screenr is a web service which is able to create screencasts without downloading any software to your PC. Main goal of this web service to share casts with your Tweeter friends but it can be used to stream , publish in youtube , download your screencasts .  pretty easy to use and available for both Macs and PCs.

Here is a sample I recorded.

Sunday, April 25, 2010

seriesUp:Solutions for Javabat:13

Given integer n, create an array with the pattern {1,  1, 2, 1, 2, 3, ... 1, 2, 3 .. n} (spaces added to show the grouping). Note that the length of the array will be 1 + 2 + 3 ... + n, which is known to sum to exactly n*(n + 1)/2.

seriesUp(3) → {1, 1, 2, 1, 2, 3}
seriesUp(4) → {1, 1, 2, 1, 2, 3, 1, 2, 3, 4}
seriesUp(2) → {1, 1, 2}


An excellent Array question , I have posted a similar question before (squareIn). First thing to be done is declare a target array , as it’s size can be determined by the n*(n+1)/2 .

public int[] seriesUp(int n) {
  int x[]= new int[n*(n+1)/2];
  for(int i=0, k=0; i<n; i++)
    for(int j=0; j<=i;j++ ){
  return x;

Norton Antivirus 2011 & Internet Security 2011 Public Beta Released

Norton Antivirus 2011 and Internet Security 2011 offers,

1. Provides fast and light protection that won’t slow you down or get in your way.
2. Proactively notifies you when other applications are slowing you down and impacting your   PC performance.
3. Protects your online identity so that you can search, shop and browse with the confidence of knowing you won’t be a victim of cybercrime.


Kaspersky Antivirus 2011 & Kaspersky Internet Security 2011 Beta Released

The first public beta of Kaspersky Antivirus 2011 and Kaspersky Internet Security 2011 Build are up and available for testing purpose, which comes with 30 days trial for absolutely free.
The first change you will notice is “all in one installer” meaning both KIS 2011 and KAV 2011 are included in one single installer and you can choose between Kaspersky Antivirus 2011 or Kaspersky Internet Security 2011 while activating. This change might be temporary for beta testing purpose and final release may have two different installers

The X10 Saga: Episode VI The Return of Multi-Touch

The ‘does it/doesn’t it?’ Sony Ericsson xperia X10 multi-touch saga has apparently taken yet another twist if a video posted on a Japanese site is anything to go by. The video shows a user using Google Maps on his X10 and to zoom into the map he uses a multi-touch gesture. The video is below, you can skip pretty much all of it, the interesting part is 6:50 into the video, right at the end. Now maybe I am seeing things (it is after all ten past four in the morning here), but that sure as hell looks like multi-touch. If that is the case then it would seem to reinforce the rumour that cropped up the other day on that the X10 did support multi-touch after all. There are two other possibilities though: i) it isn’t multi-touch at all, but something else (what though?) or ii) it is multi-touch, but only some X10s support it. Personally neither of those seem particularly plausible.

SE Unofficial news 


Text Analyser Extended

Program underwent major changes in it's function code , My main goal was to achieve fast analysis but swing event dispatcher thread was lagging behind for like 150 ms for a 30 KB text file. Well that was disappointing , hence the code has now been improvised with Multithreading leaving the event dispatcher thread as it is, all the analysis and saving report procedures are executed in new threads. When I posted this in Javaranch i received some great ideas to improve it .


Saturday, April 24, 2010

Orbit Downloader | Free download manager

Downloading videos, Flash games, and large batches of files is greatly simplified with this freeware download manager, but Firefox users may have difficulty with integration.

Orbit's primary interface is bland, but the basic toolbar and info boxes guarantee everything is easy to find. Orbit shines with Internet Explorer integration. To get a media file, simply right-click a video or photo and choose Download from your context menu. Grabbing a Flash game is even easier. Hover over a Flash file, and Orbit displays a button for a fast download.

Fast and small are key traits of this application. It uses a bare minimum of memory, and downloads are much faster than with a browser alone. Where Orbit shines is its one-button simplicity for downloading multiple files on a site. From there, you can easily filter for file type. Orbit's numerous configuration options make it one of the more flexible download managers available.

Although designed to integrate with the IE, Firefox, Opera and Maxthon, we had great difficulty getting Orbit to work seamlessly with Firefox. We finally gave up trying to get the Flash download feature to work. Nevertheless, anyone downloading large numbers of files will find this freeware indispensable.

Spybot - Search & Destroy 1.6.2 | Free Anti Spyware

Spybot - Search & Destroy has been in the antispyware game for a long time offering features we've come to expect in the best apps in the category,
The program checks your system against a comprehensive database of adware and other system invaders. It also features several interface improvements, including multiple skins for dressing up its appearance. Scan results now appear arranged by groups in a tree, and a sliding panel lets you instantly view information about a selected item to help you decide whether to kill it or not. The Immunize feature blocks a plethora of uninvited Web-borne flotsam before it reaches your computer. Other useful tools, including Secure Shredder, complement the program's basic functionality for completely destroying files. Hosts File blocks adware servers from your computer, and System Startup lets you review which apps load when you start your computer.


Dell Thunder its next-gen Android handset leaked

Dell’s initial handset the Mini 3i was super sleek but seems like it was destined for just the far-east markets and it slowly moved westward. After probably realizing that this was not a good plan since the world’s Android craving is increasing, Dell is now gearing up to announce the Dell Thunder, their second Android smartphone. The Thunder is a high-end device that features a 4.1-inch touchscreen display (OLED, 800x480 pixels). The leaked details seem to talk about vague features like creating and editing high-quality content. I think this could mean capturing media on the built-in 8MP camera (presumably that’s able to capture data in HD) and allowing users to edit the same on the handset. Also mentioned was something called ‘curved glass’ which could pertain to the display or the body structure like Sony Ericsson’s Human Curvature design form. The new-age virtual keyboard called Swype will also be incorporated. 3G and Wi-Fi will also be available for speedy social networking.

Friday, April 23, 2010

Greenheart Portfolio - Sony Ericsson

 GreenHeart portfolio is an Eco friendly approach in Mobile phones industry pioneered by Sony Ericsson Company. Here are the phones of Greenheart portfilio . these phones are made from 50% recycled materials, have low-consumption charger, and reduced packaging – perfect if you’re really hankering to be green and connected.



NetBeans 6.9 Beta Released

A preview of the next NetBeans release, scheduled for June 2010, is available to download from This beta release ties in with JavaFX 1.3 as it supports the latest JavaFX SDK and is in fact bundled with it on the JavaFX site. The main reason for this is the beta JavaFX Composer plug-in that makes creating JavaFX applications easier.

The other NetBeans enhancements are highlighted in the beta release documentation.

☼ Top 10 Comedy Movies –part 2 ☼


5. Bad Santa (2003)



A very twisted minded man tries to befriend a boy with very low self esteem and a very innocent mind. The star of the movie is Billy Bob Thorton, he is a con man who only tries to work as little as possible, actually twice a year, he comes up with a grand plan to steal from this little boy and his family so he can have money a move to Miami, In the process he works for a Department Store as A Santa, not a sober Santa, but a very drunk Santa. This is a very dark comedy but still a comedy. You want to hate this man but end up loving him.

4. Bad Boys II (2003)



Mike Lowrey and Marcus Burnett are partners on the Miami PD's Tactical Narcotics Team. Although they used to be good friends, things have been going down hill and the two are keeping secrets from each other. Mike's secret is that he is dating Sydney Burnett, Marcus's sister and DEA paper-pusher. Marcus's secret is that he has requested a transfer away from Mike. While they attempt to work through their problems with each other, they must also try to stop the flow of ecstasy into Miami. The leader of the ecstasy trade is Hector Juan Carlos "Johnny" Tapia, a Cuban drug kingpin. Tapia is trying to control not only the ecstasy trade in Miami, but the ecstasy trade in all of the USA. Things really heat up when it is discovered that Sydney is actually working undercover trying to infiltrate Tapia's group in order to bring down the Russian mafia boss Alexei.


3. Kiss Kiss Bang Bang (2005)



Harry Lockhart (Robert Downey Jr.) was a small-time crook until he stumbled upon an acting job that whisked him away to California, where he would attend parties, acting lessons with Gay Perry (Val Kilmer), and witness the disposal of a girl's dead body. After this, Harry becomes the perfect patsy, and can't seem to rid himself of the body, the baggage of meeting an old crush (Michelle Monaghan), or his bad luck. Throw all this together with the fact that all these suspicious events seem to come straight out of a bad detective novel, and viewers will be kept on the edge of the edge of their seats while simultaneously laughing their heads off.

2. Lock, Stock And Two Smoking Barrels (1998)



Four young men raise the money for Eddie to get involved in a card game where the stakes go higher than they can handle. The game of three card brag quickly gets out of control and they end up deeply in debt to the local gangster/porn store operator to the tune of 500,000 Pounds. Harry Lonsdale the porn king gives the boys one week to come up with the money, or he will chop off all their fingers and finally take Eddie's father JD's(Sting) bar. The boys come up with a way to get the money but its very risky. With twists and turns involving Pot growers, Burglers, Harry's collector and Professional Robbers the climax brings them all together and money quickly changes hands.

1. Snatch (2000)



This action-packed drama set in London, and directed by Guy Ritchie, follows an assortment of characters connected to each other by way of a diamond heist. The story's primary characters, Mickey [Brad Pitt] and Turkish [Jason Statham] carry much of the plot, with much of the "shucking and jiving" being offered by the other colorful characters. An indestructible Russian with a thing for knives and cheating, a trio of clumsy two-bit hustlers, and a man with four-fingers and briefcase [Benicio Del Toro] complete the hilarious ensemble cast. The accents are strong, and the action is quick, with multiple story lines setting the pace.



Thought of adding an extra one , a comedy in which Robert Downey starring is too good to be discarded.

Tropic Thunder (2008)



This movie starts with an war rescue film going behind schedule and millions of dollars in debt within the first few days of shooting. The director Damien Cockburn (Steve Coogan) takes some bad advice from the author of the book, John "Four Leaf" Tayback (Nick Nolte) and decides to shoot the film guerrilla-style. Tugg Speedman (Ben Stiller) gets kidnapped by a drug cartel named Flaming Dragon and when they make ransom demands they get his agent Rick Peck (Matthew McConaughey) who only wants to know if he has TiVo and producer Lee Grossman (Tom Cruise) who insults and threatens Flaming Dragon. The rescue attempt is made by his fellow actors who spend most of their time bickering among themselves. Kirk Lazarus (Robert Downey Jr.) keeps trying to be in charge while pretending to be an African American and only succeeds in making a fool of himself and offending Alpa Chino (Brandon Jackson). Jeff Portnoy (Jack Black) losses his "jelly beans" and has the DT's. The only person that is able to see past his own ego is Kevin Sandusky (Jay Baruchel) who is also the only actor who bothered to read the script.


Blogger Templates