<?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>Java. Internet. Algorithms. Ideas. &#187; eclipse</title>
	<atom:link href="http://philippeadjiman.com/blog/tag/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://philippeadjiman.com/blog</link>
	<description>Just Another Blog About Geek Stuff, by Philippe Adjiman</description>
	<lastBuildDate>Tue, 25 May 2010 06:58:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>5 Video Tutorials Of Small To Killer Eclipse Shortcuts</title>
		<link>http://philippeadjiman.com/blog/2009/10/11/5-video-tutorials-of-small-to-killer-eclipse-shortcuts/</link>
		<comments>http://philippeadjiman.com/blog/2009/10/11/5-video-tutorials-of-small-to-killer-eclipse-shortcuts/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 16:29:06 +0000</pubDate>
		<dc:creator>padjiman</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://philippeadjiman.com/blog/?p=348</guid>
		<description><![CDATA[ I believe that when you spend a significant percentage of your time on a specific software, it is an obligation to become &#8220;mouse-less&#8221; using it. Few years ago when I started to use the powerful eclipse shortcuts, I observed that my productivity was dramatically improving. You&#8217;ll be able to find a lot of posts [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.eclipse.org/"><img title="eclipse" src="http://philippeadjiman.com/blog/wp-content/uploads/2009/10/eclipse.png" alt="eclipse" hspace="15" width="128" height="128" align="left" /></a> I believe that when you spend a significant percentage of your time on a specific software, it is an obligation to become &#8220;mouse-less&#8221; using it. Few years ago when I started to use the powerful <a href="http://eclipse-tools.sourceforge.net/Keyboard_shortcuts_%283.0%29.pdf" target="_blank">eclipse shortcuts</a>, I observed that my productivity was dramatically improving. You&#8217;ll be able to find a lot of posts promoting some lists of &#8220;Top 10 eclipse shortcuts&#8221; (I like <a href="http://rayfd.wordpress.com/2007/05/20/10-eclipse-navigation-shortcuts-every-java-programmer-should-know/" target="_blank">this one</a>). I believe that small video tutorials can show more easily (rather than a bunch of screenshots) the power that some shortcuts can unleash.</p>
<p>So here 5 small video tutorials of shortcuts ranging from small ones to killer ones, all of them together making my day on eclipse much more easier and productive. The first two are small ones but still nice and useful. The remaining ones are more advanced and really have impact since you can potentially use them every couple of line of codes.</p>
<ol>
<h2>
<li> <strong>Ctrl + Alt + Arrow (up or down): duplicating lines.</strong></li>
</h2>
<p><strong>Impact on productivity:</strong><strong> low to medium</strong></p>
<p><!-- Smart Youtube --><span class="youtube"><object width="480" height="360"><param name="movie" value="http://www.youtube.com/v/U80IhJLLxE8&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D22" /><param name="allowFullScreen" value="true" /><embed wmode="transparent" src="http://www.youtube.com/v/U80IhJLLxE8&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D22" type="application/x-shockwave-flash" allowfullscreen="true" width="480" height="360" ></embed><param name="wmode" value="transparent" /></object></span></p>
<h2>
<li>Alt + Arrow (up or down): moving lines</li>
</h2>
<p><strong>Impact on productivity: low to medium</strong></p>
<p><!-- Smart Youtube --><span class="youtube"><object width="480" height="360"><param name="movie" value="http://www.youtube.com/v/9N8HUiYPAe0&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D22" /><param name="allowFullScreen" value="true" /><embed wmode="transparent" src="http://www.youtube.com/v/9N8HUiYPAe0&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D22" type="application/x-shockwave-flash" allowfullscreen="true" width="480" height="360" ></embed><param name="wmode" value="transparent" /></object></span></p>
<h2>
<li>Ctrl +1: How To Directly or Indirectly Use The Power Of Quick Fixes.</li>
</h2>
<p><strong>Impact on productivity: huge</strong></p>
<p><!-- Smart Youtube --><span class="youtube"><object width="480" height="360"><param name="movie" value="http://www.youtube.com/v/rnixsV-pEYk&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D22" /><param name="allowFullScreen" value="true" /><embed wmode="transparent" src="http://www.youtube.com/v/rnixsV-pEYk&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D22" type="application/x-shockwave-flash" allowfullscreen="true" width="480" height="360" ></embed><param name="wmode" value="transparent" /></object></span></p>
<h2>
<li>Alt + Shift + L: Extract Local Variables</li>
</h2>
<p><strong>Impact on productivity: medium</strong></p>
<p><!-- Smart Youtube --><span class="youtube"><object width="480" height="360"><param name="movie" value="http://www.youtube.com/v/6YkAKK5XQ5w&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D22" /><param name="allowFullScreen" value="true" /><embed wmode="transparent" src="http://www.youtube.com/v/6YkAKK5XQ5w&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D22" type="application/x-shockwave-flash" allowfullscreen="true" width="480" height="360" ></embed><param name="wmode" value="transparent" /></object></span></p>
<h2>
<li>Ctrl + Space: Beyond Auto Completion, The Template Assistant (+ customization)</li>
</h2>
<p><strong>Impact on productivity: high if heavily customized</strong></p>
<p><!-- Smart Youtube --><span class="youtube"><object width="480" height="360"><param name="movie" value="http://www.youtube.com/v/ZYwo6mTkT7A&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D22" /><param name="allowFullScreen" value="true" /><embed wmode="transparent" src="http://www.youtube.com/v/ZYwo6mTkT7A&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D22" type="application/x-shockwave-flash" allowfullscreen="true" width="480" height="360" ></embed><param name="wmode" value="transparent" /></object></span></p>
<p>Except those, I highly recommend to heavily use those five ones (for which I think a video is less useful):</p>
<ul>
<li><strong>Ctrl + Shift + R</strong> (open resources)</li>
<li><strong>Ctrl + O</strong> (quick outline). Pressing Ctrl + O again will show inherited members.</li>
<li><strong>Ctrl + E</strong> (quick switch editor). Very handy to navigate between files.</li>
<li><strong>Alt + Shift + R</strong> (rename variable). A very powerful one since it resolves all the possible dependencies on the renamed variable (works also on filenames).</li>
<li><strong>Ctrl + T</strong> (quick type hierarchy).</li>
</ul>
<p>Become as much mouse-less as possible in Eclipse. Don&#8217;t try to start using them all in one day, try to integrate one per day, even week. You&#8217;ll end up much more productive anyway.</p>
]]></content:encoded>
			<wfw:commentRss>http://philippeadjiman.com/blog/2009/10/11/5-video-tutorials-of-small-to-killer-eclipse-shortcuts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Open Calais From Java: Get Ready To Extract Entities, Facts And Events In 4 Minutes!</title>
		<link>http://philippeadjiman.com/blog/2009/09/16/open-calais-from-java-with-eclipse-extract-entities-facts-and-events-in-4-minutes/</link>
		<comments>http://philippeadjiman.com/blog/2009/09/16/open-calais-from-java-with-eclipse-extract-entities-facts-and-events-in-4-minutes/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 09:28:06 +0000</pubDate>
		<dc:creator>padjiman</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[open calais]]></category>

		<guid isPermaLink="false">http://philippeadjiman.com/blog/?p=129</guid>
		<description><![CDATA[I&#8217;m a big fan of Open Calais, the well known web service that allows you to perform Named Entity, Facts and Events Extraction on free english text (and now also in french since version 4.0).
In the video tutorial below, I show you how in only 4 minutes you can build the material that allows you [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a big fan of <a href="http://www.opencalais.com/" target="_blank">Open Calais</a>, the well known web service that allows you to perform Named Entity, Facts and Events Extraction on free english text (and now also in french since version 4.0).</p>
<p>In the video tutorial below, I show you how in only 4 minutes you can build the material that allows you to make a call to the Open Calais web service from a Java program, and to  perform Entity, Facts and Events Extraction on a news article took from CNN.</p>
<p>The tutorial supposes that you already have <a href="http://java.sun.com/javase/downloads/index.jsp" target="_blank">Java </a>and <a href="http://www.eclipse.org/downloads/" target="_blank">Eclipse for Java EE</a> developers installed along with an Open Calais API developer key (else go get one <a href="http://www.opencalais.com/user/register" target="_blank">here</a>, it is a very light process to obtain the key).</p>
<p>Note that you can watch the tutorial in <strong>HD</strong>.</p>
<p>Also, check the remarks below to more easily reproduce and  get more detailed explanations on what you&#8217;ll see in the tutorial.</p>
<p><strong>To see the video in its best quality, just <a href="http://www.youtube.com/watch?v=zUAvGh42tw4" target="_blank">click here</a>.</strong></p>
<p><!-- Smart Youtube --><span class="youtube"><object width="480" height="360"><param name="movie" value="http://www.youtube.com/v/zUAvGh42tw4&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D22" /><param name="allowFullScreen" value="true" /><embed wmode="transparent" src="http://www.youtube.com/v/zUAvGh42tw4&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;ap=%2526fmt%3D22" type="application/x-shockwave-flash" allowfullscreen="true" width="480" height="360" ></embed><param name="wmode" value="transparent" /></object></span></p>
<p><strong>Remarks/Complementary information:</strong></p>
<ul>
<li>The open calais web service WSDL showed in the demo is: <a href="http://api.opencalais.com/enlighten/?wsdl" target="_blank">http://api.opencalais.com/enlighten/?wsdl</a></li>
<li>The method <strong>enlighten</strong> which allows to call the Open Calais web service via soap has three parameters:
<ul>
<li><em>licenseId</em>. This is your API key that you can get <a href="http://www.opencalais.com/user/register" target="_blank">here</a>.</li>
<li><em>paramsXML</em>. Those are the INPUT parameters of the service in XML format (documentation <a href="http://www.opencalais.com/documentation/calais-web-service-api/forming-api-calls/input-parameters" target="_blank">here</a>). In the tutorial, for sake of simplicity I put the parameter as a raw String, of course it is better to read them from a file. Here are the parameters that I used:  <a href="http://philippeadjiman.com/blog/wp-content/uploads/2009/09/calaisParams.xml" target="_blank">calaisParams.xml</a>.</li>
<li><em>content</em>. This is the content on which the extraction will be performed. Again, for sake of simplicity I put the parameter as a raw String, and again, it is of course better to read it from a file (put whatever free text you want there). Here the <a href="http://philippeadjiman.com/blog/wp-content/uploads/2009/09/content1.txt" target="_blank">content</a> I used (from CNN).</li>
</ul>
</li>
<li>Pasting in a Java source code a long text copied from the web can be a nightmare because of the escape characters. The workaround I used in the demo is this <a href="http://rishida.net/scripts/uniview/conversion.php" target="_blank">general converter</a> that knows (among other things) where to add the &#8216;\&#8217; automatically at the good place.</li>
<li>Here is the <a href="http://philippeadjiman.com/blog/wp-content/uploads/2009/09/output.txt" target="_blank">output</a> of the tutorial.</li>
<li>Here is the list of <a href="http://www.opencalais.com/documentation/calais-web-service-api/interpreting-api-response/simple-format" target="_blank">Open Calais possible outputs</a>.</li>
</ul>
<p>If you&#8217;re like me, you&#8217;re obviously more interested about the algorithms behind the scene. To know more about the methods/algorithms involved, you can read about <a href="http://en.wikipedia.org/wiki/Morphology_%28linguistics%29" target="_blank">morphological analysis</a>, <a href="http://en.wikipedia.org/wiki/Part-of-speech_tagging" target="_blank">POS tagging</a>, <a href="http://www.cs.tau.ac.il/~nachumd/NLP/shallow-parsing.pdf" target="_blank">Shallow Parsing</a>. On the Open Calais website, they also mention <a href="http://www.opencalais.com/how-does-calais-learn" target="_blank">in a discussion</a> that they have developed their own rule-based system with their own programming language. They are also using lexicons.</p>
<p>The problems addressed by Open Calais are tough and it&#8217;s hard to be perfect, but I think they are doing a pretty good job at it. It would be interesting to compare relevance results with the <a href="http://www.alchemyapi.com/" target="_blank">Alchemy API</a> that offers pretty much the same service.</p>
]]></content:encoded>
			<wfw:commentRss>http://philippeadjiman.com/blog/2009/09/16/open-calais-from-java-with-eclipse-extract-entities-facts-and-events-in-4-minutes/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
