<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Dilunika&#039;s Blog</title>
	<atom:link href="http://dilunika.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dilunika.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 08 Apr 2010 18:01:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dilunika.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Dilunika&#039;s Blog</title>
		<link>http://dilunika.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dilunika.wordpress.com/osd.xml" title="Dilunika&#039;s Blog" />
	<atom:link rel='hub' href='http://dilunika.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Cannot build maven project without settings.xml &#8211; eclipse</title>
		<link>http://dilunika.wordpress.com/2010/04/08/cannot-build-maven-project-without-settings-xml-eclipse/</link>
		<comments>http://dilunika.wordpress.com/2010/04/08/cannot-build-maven-project-without-settings-xml-eclipse/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 18:01:08 +0000</pubDate>
		<dc:creator>dilunika</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://dilunika.wordpress.com/?p=8</guid>
		<description><![CDATA[I faced this issue when i was building a maven project in eclipse 3.6 in linux enviorement. I could n&#8217;t build the project, maven made the build failed by searching for a settings.xml file. [Error : The specified user settings file does not exist {HOME}/.m2/settings.xml] I knew that settings.xml file is not a mandatory one. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dilunika.wordpress.com&amp;blog=12416846&amp;post=8&amp;subd=dilunika&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul>
<li>I faced this issue when i was building a maven project in eclipse 3.6 in linux enviorement. I could n&#8217;t build the project, maven made the build failed by searching for a settings.xml file.<br />
[Error : The specified user settings file does not exist {HOME}/.m2/settings.xml]</li>
<li>I knew that settings.xml file is not a mandatory one. When I was looking, i figured out, though the file is not provided, eclipse has placed an entry in Maven &#8211;&gt; User Settings.<br />
[Window --&gt; Preferences --&gt;Maven --&gt; User Settings]</li>
<li>Delete that entry and build the project, then it works fine.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dilunika.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dilunika.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dilunika.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dilunika.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dilunika.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dilunika.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dilunika.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dilunika.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dilunika.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dilunika.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dilunika.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dilunika.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dilunika.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dilunika.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dilunika.wordpress.com&amp;blog=12416846&amp;post=8&amp;subd=dilunika&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dilunika.wordpress.com/2010/04/08/cannot-build-maven-project-without-settings-xml-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>7.086531 79.292631</georss:point>
		<geo:lat>7.086531</geo:lat>
		<geo:long>79.292631</geo:long>
		<media:content url="http://1.gravatar.com/avatar/98293c6ebb8e53edac33b2eb8b321ba2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dilunika</media:title>
		</media:content>
	</item>
		<item>
		<title>Eclipse Shortcut Keys</title>
		<link>http://dilunika.wordpress.com/2010/03/06/eclipse-shortcut-keys/</link>
		<comments>http://dilunika.wordpress.com/2010/03/06/eclipse-shortcut-keys/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 07:00:11 +0000</pubDate>
		<dc:creator>dilunika</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://dilunika.wordpress.com/?p=5</guid>
		<description><![CDATA[http://www.summa-tech.com/blog/2009/05/19/top-10-not-so-popular-eclipse-shortcuts/ http://eclipse.dzone.com/news/effective-eclipse-shortcut-key<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dilunika.wordpress.com&amp;blog=12416846&amp;post=5&amp;subd=dilunika&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a title="Eclipse Shortcuts" href="http://www.summa-tech.com/blog/2009/05/19/top-10-not-so-popular-eclipse-shortcuts/" target="_blank">http://www.summa-tech.com/blog/2009/05/19/top-10-not-so-popular-eclipse-shortcuts/</a></p>
<p><a title="Eclipse Shortcut Keys" href="http://eclipse.dzone.com/news/effective-eclipse-shortcut-key" target="_blank">http://eclipse.dzone.com/news/effective-eclipse-shortcut-key</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dilunika.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dilunika.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dilunika.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dilunika.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dilunika.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dilunika.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dilunika.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dilunika.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dilunika.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dilunika.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dilunika.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dilunika.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dilunika.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dilunika.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dilunika.wordpress.com&amp;blog=12416846&amp;post=5&amp;subd=dilunika&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dilunika.wordpress.com/2010/03/06/eclipse-shortcut-keys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/98293c6ebb8e53edac33b2eb8b321ba2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dilunika</media:title>
		</media:content>
	</item>
		<item>
		<title>Rabin Karp Algorithm..</title>
		<link>http://dilunika.wordpress.com/2010/03/06/rabinkarp/</link>
		<comments>http://dilunika.wordpress.com/2010/03/06/rabinkarp/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 06:41:36 +0000</pubDate>
		<dc:creator>dilunika</dc:creator>
				<category><![CDATA[Algorithm]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Rabin–Karp is inferior for single pattern searching to Knuth-Morris-Pratt algorithm, Boyer-Moore string searching algorithm and other faster single pattern string searching algorithmsbecause of its slow worst case behavior. However, Rabin–Karp is an algorithm of choice for multiple pattern search. That is, if we want to find any of a large number, say k, fixed length patterns in a text, we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dilunika.wordpress.com&amp;blog=12416846&amp;post=1&amp;subd=dilunika&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Rabin–Karp is inferior for single pattern searching to <a title="Knuth-Morris-Pratt algorithm" href="http://en.wikipedia.org/wiki/Knuth-Morris-Pratt_algorithm">Knuth-Morris-Pratt algorithm</a>, <a title="Boyer-Moore string searching algorithm" href="http://en.wikipedia.org/wiki/Boyer-Moore_string_searching_algorithm">Boyer-Moore string searching algorithm</a> and other faster single pattern <a title="String searching algorithm" href="http://en.wikipedia.org/wiki/String_searching_algorithm">string searching algorithms</a>because of its slow worst case behavior. However, Rabin–Karp is an algorithm of choice for <a title="String searching algorithm" href="http://en.wikipedia.org/wiki/String_searching_algorithm#Algorithms_using_finite_set_of_patterns">multiple pattern search</a>.</p>
<p>That is, if we want to find any of a large number, say <em>k</em>, fixed length patterns in a text, we can create a simple variant of Rabin–Karp that uses a <a title="Bloom filter" href="http://en.wikipedia.org/wiki/Bloom_filter">Bloom filter</a> or a <a title="Set data structure" href="http://en.wikipedia.org/wiki/Set_data_structure">set data structure</a> to check whether the hash of a given string belongs to a set of hash values of patterns we are looking for:</p>
<pre> <strong>function</strong> RabinKarpSet(<em>string</em> s[1..n], <em>set</em> of <em>string</em> subs, m) {
     <em>set</em> hsubs := emptySet
     <strong>for each</strong> sub <strong>in</strong> subs
         insert hash(sub[1..m]) into hsubs
     hs := hash(s[1..m])
     <strong>for</strong> i <strong>from</strong> 1 <strong>to</strong> n-m+1
         <strong>if</strong> hs ∈ hsubs
             <strong>if</strong> s[i..i+m-1] = a substring with hash hs
                 <strong>return</strong> i
         hs := hash(s[i+1..i+m])
     <strong>return</strong> not found
 }</pre>
<p>Here we assume all the substrings have a fixed length <em>m</em>, but this assumption can be eliminated. We simply compare the current hash value against the hash values of all the substrings simultaneously using a quick lookup in our set data structure, and then verify any match we find against all substrings with that hash value.</p>
<p>Other algorithms can search for a single pattern in O(<em>n</em>) time, and hence they can be used to search for <em>k</em> patterns in O(<em>n</em> <em>k</em>) time. In contrast, the variant Rabin–Karp above can find all <em>k</em>patterns in O(<em>n</em>+<em>k</em>) time in expectation, because a hash table checks whether a substring hash equals any of the pattern hashes in O(1) time.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dilunika.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dilunika.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dilunika.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dilunika.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dilunika.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dilunika.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dilunika.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dilunika.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dilunika.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dilunika.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dilunika.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dilunika.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dilunika.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dilunika.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dilunika.wordpress.com&amp;blog=12416846&amp;post=1&amp;subd=dilunika&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dilunika.wordpress.com/2010/03/06/rabinkarp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/98293c6ebb8e53edac33b2eb8b321ba2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dilunika</media:title>
		</media:content>
	</item>
	</channel>
</rss>
