<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Programming Geeks - Coding Logic</title>
	<atom:link href="http://programminggeeks.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://programminggeeks.com</link>
	<description>For the crazy programming geeks</description>
	<lastBuildDate>Sat, 23 Jul 2011 04:55:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
<link>http://programminggeeks.com</link>
<url>http://programminggeeks.com/wp-content/mbp-favicon/5.jpg</url>
<title>Programming Geeks - Coding Logic</title>
</image>
		<item>
		<title>Stanford Computer Scientists Find Internet Security Flaw</title>
		<link>http://programminggeeks.com/stanford-computer-scientists-find-internet-security-flaw/</link>
		<comments>http://programminggeeks.com/stanford-computer-scientists-find-internet-security-flaw/#comments</comments>
		<pubDate>Fri, 27 May 2011 14:30:41 +0000</pubDate>
		<dc:creator>Saurabh</dc:creator>
				<category><![CDATA[TechNews]]></category>

		<guid isPermaLink="false">http://programminggeeks.com/?p=1009</guid>
		<description><![CDATA[
Stanford University researchers have found a security flaw in audio-based completely automated public Turing test to tell computers and humans apart (CAPTCHAs), which are designed to provide Internet security for the visually impaired. Audio CAPTCHAs require users to listen to a string of spoken letters or numbers disguised with background noise. However, Stanford professor John [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://programminggeeks.com/wp-content/uploads/2011/05/captcha_news4.jpg"><img class="aligncenter size-medium wp-image-1016" title="captcha_news" src="http://programminggeeks.com/wp-content/uploads/2011/05/captcha_news4-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>Stanford University researchers have found a security flaw in audio-based completely automated public Turing test to tell computers and humans apart (CAPTCHAs), which are designed to provide Internet security for the visually impaired. Audio CAPTCHAs require users to listen to a string of spoken letters or numbers disguised with background noise. However, Stanford professor John Mitchell and postdoctoral fellow Eli Bursztein developed Decaptcha, a program that can understand commercial audio CAPTCHAs used by Digg, eBay, Microsoft, Yahoo, and reCAPTCHA. During testing, Decaptcha was able to decode Microsoft&#8217;s audio CAPTCHA about 50 percent of the time. In addition, it broke about one percent of reCAPTCHA&#8217;s codes, and even this small a success rate can result in a major security breach for Web sites such as YouTube and Facebook, which get hundreds of millions of page views a day. Decaptcha can recognize the distinct sounds of each letter and number, and compares the sounds it hears in audio CAPTCHAs to those sounds stored in its memory. The researchers created four million audio CAPTCHAs mixed with white noise, echoes, or music, and found that music gave the computer systems the most trouble.<br />
<a href="http://news.stanford.edu/news/2011/may/captcha-security-flaw-052311.html" target=" ">View Full Article </a>
<p><font color="#B4B4B4" size="-2"> <a href="http://www.freetimefoto.com/add_post_footer_plugin_wordpress" style="color: #B4B4B4; text-decoration:underline;"> </a> </font></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fprogramminggeeks.com%2Fstanford-computer-scientists-find-internet-security-flaw%2F&amp;linkname=Stanford%20Computer%20Scientists%20Find%20Internet%20Security%20Flaw"><img src="http://programminggeeks.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://programminggeeks.com/stanford-computer-scientists-find-internet-security-flaw/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apostek Apps Launches Pocket Bingo for Android</title>
		<link>http://programminggeeks.com/apostek-apps-launches-pocket-bingo-for-android/</link>
		<comments>http://programminggeeks.com/apostek-apps-launches-pocket-bingo-for-android/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 13:49:44 +0000</pubDate>
		<dc:creator>Saurabh</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://programminggeeks.com/?p=993</guid>
		<description><![CDATA[Apostek Apps recently announced the launch of their brand new UK Style 90 Ball Bingo game for the Android, Pocket Bingo. Pocket Bingo which is already the top ranked game on the iOS now comes to the Android platform. Never seen before in the history on Bingo on Android. Players can play up to two tickets simultaneously [...]]]></description>
			<content:encoded><![CDATA[<p>Apostek Apps recently announced the launch of their brand new <strong>UK Style 90 Ball Bingo game for the Android, Pocket Bingo</strong>. Pocket Bingo which is already the top ranked game on the iOS now comes to the Android platform. Never seen before in the history on Bingo on Android. Players can play up to two tickets simultaneously from a choice of six, choose from a selection of eight colorful daubers and get their Bingo numbers called in the traditional way with UK style nicknames!</p>
<p>Marking a departure from the traditional game play elements of past Bingo games, this authentic full feature Pocket Bingo gives players a world of options.  Players can choose a room to play in and up the winnings they stand to make. Every room whether it&#8217;s <strong>Standard, Gold or Platinum</strong> pays out differently. Players set the rules and play it in their style: <strong>Multiple lines, Corners, Bull&#8217;s Eye, Up to 2 Full Houses</strong> and there&#8217;s even a <strong>Super Jackpot</strong> to win! For the competitor in you, there’s <strong>OpenFeint with Leader Boards and Badges</strong> to show off your achievements. And if you’re a social climber, <strong>HeyZap</strong> is where you should be.</p>
<p>“It brings memories back to life, giving players a chance to go back to their days of childhood and family time on weekends spent playing Bingo” said Amitabh Sharma, Program Director for Apostek Apps. “Now, that same feeling can be experienced in Pocket Bingo.&#8221; The premise of the Game is simple: Call &#8216;Bingo&#8217; upon completion of a designated pattern and win your prize!</p>
<p><strong>App Screenshots :</strong></p>
<p><strong><a href="http://programminggeeks.com/wp-content/uploads/2011/03/bingo11.jpg"><img class="alignleft size-full wp-image-999" title="bingo1" src="http://programminggeeks.com/wp-content/uploads/2011/03/bingo11.jpg" alt="Android Bingo" width="192" height="288" /></a><a href="http://programminggeeks.com/wp-content/uploads/2011/03/bingo21.jpg"><img class="aligncenter size-full wp-image-1000" title="bingo2" src="http://programminggeeks.com/wp-content/uploads/2011/03/bingo21.jpg" alt="Android Bingo" width="192" height="288" /></a></strong></p>
<p><span style="text-decoration: underline;"><strong>DOWNLOAD LINKS</strong></span></p>
<p>The Pocket Bingo Free version with Ads will be available on the Android Market here: <a href="http://bit.ly/pocketbingo_android" target="_blank">http://bit.ly/pocketbingo_android</a>
<p><font color="#B4B4B4" size="-2"> <a href="http://www.freetimefoto.com/add_post_footer_plugin_wordpress" style="color: #B4B4B4; text-decoration:underline;"> </a> </font></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fprogramminggeeks.com%2Fapostek-apps-launches-pocket-bingo-for-android%2F&amp;linkname=Apostek%20Apps%20Launches%20Pocket%20Bingo%20for%20Android"><img src="http://programminggeeks.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://programminggeeks.com/apostek-apps-launches-pocket-bingo-for-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Code for generating Unique Random Numbers</title>
		<link>http://programminggeeks.com/java-code-for-generating-unique-random-numbers/</link>
		<comments>http://programminggeeks.com/java-code-for-generating-unique-random-numbers/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 05:32:24 +0000</pubDate>
		<dc:creator>Saurabh</dc:creator>
				<category><![CDATA[Algorithms]]></category>
		<category><![CDATA[Codes]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://programminggeeks.com/?p=986</guid>
		<description><![CDATA[Generating Random Numbers is quite simple. Just use the class Random and method nextInt as :
 new Random().nextInt(10);
This will generate a unique random number between 0 and 9 (both inclusive). Similarly if you want to generate a unique random number between a fixed length, say 10 to 100, use can use a code something like [...]]]></description>
			<content:encoded><![CDATA[<p>Generating Random Numbers is quite simple. Just use the class Random and method nextInt as :</p>
<pre><span style="color: #3366ff;"> new Random().nextInt(10);</span></pre>
<p>This will generate a unique random number between 0 and 9 (both inclusive). Similarly if you want to generate a unique random number between a fixed length, say 10 to 100, use can use a code something like :</p>
<pre><span style="color: #3366ff;"> new Random().nextInt(90)+11;</span></pre>
<p>However, while developing games or implementing Artificial Intelligence, we often require an efficient algorithm or piece of code which can generate unique random numbers within a given range.<br />
The logic behind this is pretty simple. Take a for loop and insert all the numbers which you want to be called randomly in an ArrayList, shuffle the ArrayList and extract the numbers one by one.<br />
The java code for this is presented below :</p>
<pre><span style="color: #3366ff;">public class RandomNumberGenerator {
    ArrayList numbersList = new ArrayList ();
    public RandomNumberGenerator(int length) {
        for(int x=1;x&lt;=length;x++)
            numbersList.add(x);
        Collections.shuffle(numbersList);
    }
    public int generateNewRandom(int n) {
        return numbersList.get(n);
    }
}</span></pre>
<p>Now you can use this class for generation of unique random numbers in your program. Just pass the required arguement in the constructor and then use the method generateNewRandom()
<p><font color="#B4B4B4" size="-2"> <a href="http://www.freetimefoto.com/add_post_footer_plugin_wordpress" style="color: #B4B4B4; text-decoration:underline;"> </a> </font></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fprogramminggeeks.com%2Fjava-code-for-generating-unique-random-numbers%2F&amp;linkname=Java%20Code%20for%20generating%20Unique%20Random%20Numbers"><img src="http://programminggeeks.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://programminggeeks.com/java-code-for-generating-unique-random-numbers/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How a New Software Can Help Save the Planet</title>
		<link>http://programminggeeks.com/how-a-new-software-can-help-save-the-planet/</link>
		<comments>http://programminggeeks.com/how-a-new-software-can-help-save-the-planet/#comments</comments>
		<pubDate>Sat, 29 Jan 2011 15:31:10 +0000</pubDate>
		<dc:creator>Saurabh</dc:creator>
				<category><![CDATA[TechNews]]></category>

		<guid isPermaLink="false">http://programminggeeks.com/?p=974</guid>
		<description><![CDATA[Lisbon University computer scientists have developed SPIRIT, software that reduces carbon dioxide (CO2) emissions by turning certain computers on a server off if those computers are not being used, and then turn them on again when they are needed. SPIRIT was used on 200 computers at Lisbon University last year and saved the equivalent of [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #000000;">Lisbon University computer scientists have developed SPIRIT, software that reduces carbon dioxide (CO2) emissions by turning certain computers on a server off if those computers are not being used, and then turn them on again when they are needed. SPIRIT was used on 200 computers at Lisbon University last year and saved the equivalent of five tons of CO2 emissions. If the system is &#8220;used worldwide, SPIRIT could result in yearly savings equivalent to the energy produced by a 1000 MW Nuclear Power Station, or, in other words, a reduction of about 5 million tons of CO2 emissions every year,&#8221; say Lisbon researchers Carlos Reis and Jorge Pacheco. They say SPIRIT is especially effective in parallel computing, in which large projects are divided into small tasks that can then be run in parallel on the server&#8217;s computers. When all the computers are being used, new tasks are added to a queue to wait for the next available computer. SPIRIT works with the queue, turning off idle computers when the queue is empty and then turning the computers back on as new tasks are added.</span><br />
<a href="http://www.alphagalileo.org/ViewItem.aspx?ItemId=94490&amp;CultureCode=en" target=" ">View Full Article</a>
<p><font color="#B4B4B4" size="-2"> <a href="http://www.freetimefoto.com/add_post_footer_plugin_wordpress" style="color: #B4B4B4; text-decoration:underline;"> </a> </font></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fprogramminggeeks.com%2Fhow-a-new-software-can-help-save-the-planet%2F&amp;linkname=How%20a%20New%20Software%20Can%20Help%20Save%20the%20Planet"><img src="http://programminggeeks.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://programminggeeks.com/how-a-new-software-can-help-save-the-planet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java code for shuffling</title>
		<link>http://programminggeeks.com/java-code-for-shuffling/</link>
		<comments>http://programminggeeks.com/java-code-for-shuffling/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 16:12:26 +0000</pubDate>
		<dc:creator>Saurabh</dc:creator>
				<category><![CDATA[Codes]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://programminggeeks.com/?p=868</guid>
		<description><![CDATA[Many times we are required to shuffle a particular set of objects so that they may mix up properly. A standard way to shuffle any set of objects is to swap their positions randomly. The code given below does this by swapping the position of all the numbers of the array. The code uses the [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #000000;">Many times we are required to shuffle a particular set of objects so that they may mix up properly. A standard way to shuffle any set of objects is to swap their positions randomly. The code given below does this by swapping the position of all the numbers of the array. The code uses the Random utility of utils class for generating random numbers.</span></p>
<pre><span style="color: #3366ff;">Random obj = new Random();
int[] items = new int[10];
int randomPosition;

for (int i=0; i&lt;items.length; i++) {
    items[i] = i;
}

//--- Shuffle by exchanging each element randomly
for (int i=0; i&lt;tems.length; i++) {
    randomPosition = obj.nextInt(items.length);
    int temp = items[i];
    items[i] = items[randomPosition];
    items[randomPosition] = temp;
}</span></pre>
<p><font color="#B4B4B4" size="-2"> <a href="http://www.freetimefoto.com/add_post_footer_plugin_wordpress" style="color: #B4B4B4; text-decoration:underline;"> </a> </font></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fprogramminggeeks.com%2Fjava-code-for-shuffling%2F&amp;linkname=Java%20code%20for%20shuffling"><img src="http://programminggeeks.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://programminggeeks.com/java-code-for-shuffling/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

