Minggu, 31 Januari 2010

Poker Probabilities

There are 311,875,200 ways (permutations) of being dealt five cards from a 52 card deck,but since the order of cards does not matter there are only possible distinct hands.

ROYAL FLUSH and STRAIGHT FLUSH
There are 40 possible straight flushes, including the four royal flushes. The probability of being dealt one in a five-card deal is

QUADS/FOUR OF KIND
There are 624 possible hands including four of a kind; the probability of being dealt one in a five-card deal is .

FULL HOUSE
There are 3,744 possible full houses; the probability of being dealt one in a five-card hand is

FLUSH
There are 5,148 possible flushes, of which 40 are also straight flushes; the probability of being dealt a flush in a five-card hand is

STRAIGHT
There are 10,240 possible straights, of which 40 are also straight flushes; the probability of being dealt a straight in a five-card deal is

THREE OF KINDS
here are 54,912 possible three of a kind hands in a five-card deal which are not also full houses; the probability of being dealt one in a five-card hand is .

TWO PAIR
There are 123,552 possible two pair hands that are not also full houses; the probability of being dealt one in a five-card deal is

ONE PAIR
There are 1,098,240 possible one pair hands; the probability of being dealt one in a five-card deal is .

HIGH CARD
Of the 2,598,960 possible hands, 1,302,540 do not contain any pairs and are neither straights nor flushes. As such, the probability of being dealt "no pair" in a five-card deal is

LIST OF PROBABILITIES FROM HIGH
1. 50% = High Card
2. 42% = One Pair
3. 4,8% = Two Pair
4. 2,1% = Three of Kinds
5. 0,39% = Straight
6. 0,20% = Flush
7. 0,14% = Full House
8. 0,024% = Quads/Four of Kinds
9. 0,0015% = Straight Flush /Royal Flush

Zynga Poker Priority

This is zynga poker winning priority:

POKER HAND:
1. First ROYAL FLUSH - suited A-K-Q-J-10.
2. Straight Flush - a hand that contains five cards in sequence, all of the same suit. steel wheel.
3. Four of Kinds - Quads - a poker hand such as 9♣ 9♠ 9♦ 9♥ J♥, which contains four cards of one rank, and an unmatched card of another rank.
4. Full House - Full boat - three matching cards of one rank, and two matching cards of another rank.
5. Flush - a poker hand such as Q♣ 10♣ 7♣ 6♣ 4♣, which contains five cards of the same suit, not in rank sequence..
6. Straight - A straight is a poker hand such as Q♣ J♠ 10♠ 9♥ 8♥, which contains five cards of sequential rank but in more than one suit. Two straights are ranked by comparing the highest card of each..
7. Three of a kind, also called trips or a set, is a poker hand such as 2♦ 2♠ 2♣ K♠ 6♥, which contains three cards of the same rank, plus two unmatched cards.
8. Two pair - A poker hand such as J♥ J♣ 4♣ 4♠ 9♥, which contains two cards of the same rank, plus two cards of another rank (that match each other but not the first pair), plus one unmatched card, is called two pair.
9. One pair is a poker hand such as 4♥ 4♠ K♠ 10♦ 5♠, which contains two cards of the same rank, plus three other unmatched cards. Higher ranking pairs defeat lower ranking pairs; if two hands have the same pair, the non-paired cards (the kickers) are compared in descending order to determine the winner.
10. High Card - A high-card or no-pair hand is a poker hand such as K♥ J♣ 8♣ 7♦ 3♠, in which no two cards have the same rank, the five cards are not in sequence, and the five cards are not all the same suit. Nevertheless, they sometimes win a pot if the other players fold or even at a showdown. Two high-card hands are ranked by comparing the highest ranking card. If those are equal, then the next highest ranking card from each hand is compared, and so on until a difference is found.

High card hands are described by the one or two highest cards in the hand, such as "king high", "ace-queen high", or by as many cards as are necessary to break a tie. They are also referred to as "nothing", "garbage," and other derogatory terms.

The lowest possible high card is seven-high (such as 7♠ 5♣ 4♦ 3♦ 2♣), because a hand such as 6♦ 5♣ 4♠ 3♦ 2♥ would be a straight.

Jumat, 29 Januari 2010

Glary Utility

Glary Utility available for free at http://www.glaryutilities.com/gu.html. You can use it to fix registry, clean up temporary files and find duplicate file created by worm.

Kamis, 28 Januari 2010

History of Poker

The exact origins of poker are unclear. It seems to have originated from a 16th century Persian card game known as As Nas. This game was played with 25 cards with 5 different suits. The game played in a similar fashion to modern 5 card stud and possessed similar poker hands rankings, such as three-of-a-kind. When Europeans began to play the game, they called it 'poque' or 'pochen.' While poker's origins may lie in Europe and Persia, it truly developed in the United States. Poker was first widely played in New Orleans in the early 1800's. Prior to the American Civil War, poker spread quickly from New Orleans to towns throughout the Western frontier. Poker's spread was the result of a general spread of gambling during the era. The West was comprised largely of speculators and travelers, both groups that enjoyed gambling. Gambling suited the speculator's individualistic and risk-taking traits. Unburdened by family needs and the social stigmas of Southern and Northern culture, travelers were allowed to indulge in this vice for their own entertainment

Rabu, 27 Januari 2010

Insert Retweet Button on blogger

To do this on blogger.com:

1. Go to Layout
2. Edit HTML
3. Check Expand Template Widget
4. Find <data:post.body/ >
5. Insert <div style="float:right;padding:4px;">

<script type="text/javascript">
tweetmeme_url = '<data:post.url/>';
tweetmeme_source = 'PUT YOUR TWITTER USER NAME HERE';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
</div>

Selasa, 26 Januari 2010

How to speed up Windows XP

1. Format hard drive using NTFS.
2. Defragment hard drive twices a month.
3. Disable fast user switching:
- Start > Run, and typing ‘control userpasswords’ and pressing [Enter].
- On the User Accounts window, click on ‘Change the way users log on or off ‘ ; make sure the ‘Use the Welcome screen’ option is ticked, and uncheck ‘Use Fast User Switching’. Click on Apply Options and close the window.
4. Turn off all the effect
  • Go to Start
  • Click Settings
  • Click Control Panel
  • Click System
  • Click Advanced tab
  • In the Performance tab click Settings
  • Leave only the following ticked:
  • Show shadows under menus
  • Show shadows under mouse pointer
  • Show translucent selection rectangle
  • Use drop shadows for icons labels on the desktop
  • Use visual styles on windows and button.
5. Update windows
6. Optimize virtual memory
  • Press [Windows] + [Pause Break]
  • Go to Advanced.
  • under Performance click on Settings.
  • go to Advanced tab.
  • Make sure ‘programs’ is selected for both Processor scheduling and Memory usage.
  • under Virtual memory, click on change.
  • If you have two physically separate hard drives, set the virtual memory on the drive that doesn’t hold XP.
  • If you have only one hard drive, set it to another partition that does not hold XP.
  • select the drive where you wish to place your page file, and select ‘Custom size’.
  • Enter a number that is twice the size of your installed RAM in the initial as well as maximum size dialog boxes and click on ‘Set’.
  • click OK thrice and restart the computer for the settings to take effect.
7. Remove unwanted program from startup.
  • Start > Run, type ‘msconfig’ and press [Enter].
  • Click on the Startup tab and uncheck any programs you dont want Windows to load at startup
8. Turn-off system restore
  • Press [Windows] + [Pause Break].
  • Click on System Restore, and select ‘Turnoff System Restore on all drives’ and click ‘Apply’.
9. Disable sounds, wallpapers and screensavers.
  • Go to Start > Settings > Control Panel > Sounds and Audio Devices, and click on Sounds.
  • Disable all sounds you don’t want. To speed up booting of Windows disable the Windows Startup and Shutdown sounds.
10. Disable compressions and indexing.
Right-click on an NTFS drive and select properties. At the bottom of the dialog that pops up you will see two check boxes called ‘Compress drive to save disk space’ and ‘Allow Indexing Service to index this disk for fast file searching’. Uncheck both check boxes and click ‘Apply’.
11. Remove unwanted fonts and programs.
12. Disable Services.
Go to Start > Run, type in ’services.msc’.
Disabled under Startup type.For normal use, disable the following services:
  • Alerter
  • Background Intelligent Transfer Service
  • ClipBook
  • Computer Browser
  • Error Reporting Service
  • Help and Support
  • Indexing Service
  • IPSEC Services
  • Messenger
  • NetMeeting Remote Desktop Sharing
  • Network DDE
  • Network DDE DSDM
  • Performance Logs and Alerts
  • Portable Media Serial Number
  • QOS RSVP
  • Remote Desktop Help Session Manager
  • Remote Registry
  • Secondary Logon
  • Server
  • Smart Card
  • Smart Card Helper
  • SSDP Discovery Service
  • System restore Service
  • TCP/IP NetBIOS Helper
  • Uninterruptible Power Supply
  • Universal Plug and Play Device Host
  • WebClient
  • Windows time
  • Wireless Zero Configuration
  • WMI Performance Adapter

Simple Ways to speed up Windows XP

1. Disable Indexing Service
2. Optimize Display Setting
3. Speedup Folder Browsing
4. Disable Performance Counters
5. Improve Memory Usage
6. Optimize internet connection
7. Optimize pagefile
8. Improve Boot Times
9. Remove Desktop Picture
10. Remove Fonts for speed