<?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>My place</title>
	<atom:link href="http://jpangamarca.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jpangamarca.wordpress.com</link>
	<description>Juan Pablo Angamarca, bajo cielo lojano.</description>
	<lastBuildDate>Thu, 05 Jan 2012 07:58:56 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jpangamarca.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>My place</title>
		<link>http://jpangamarca.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jpangamarca.wordpress.com/osd.xml" title="My place" />
	<atom:link rel='hub' href='http://jpangamarca.wordpress.com/?pushpress=hub'/>
		<item>
		<title>links for 2011-09-21</title>
		<link>http://jpangamarca.wordpress.com/2011/09/22/links-for-2011-09-21/</link>
		<comments>http://jpangamarca.wordpress.com/2011/09/22/links-for-2011-09-21/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 05:11:34 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/09/22/links-for-2011-09-21/</guid>
		<description><![CDATA[JSF Central &#8211; Speed up your Data-Driven JSF/Seam Application by Two Orders of Magnitude – Part 2 In the first part of this article, I began briefing you on optimizations I made to maximize the responsiveness of a JSF application that I developed out in the field. I cited performance problems caused by casually accessing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=494&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://www.jsfcentral.com/articles/speed_up_your_jsf_app_2.html">JSF Central &#8211; Speed up your Data-Driven JSF/Seam Application by Two Orders of Magnitude – Part 2</a></div>
<div class="delicious-extended">In the first part of this article, I began briefing you on optimizations I made to maximize the responsiveness of a JSF application that I developed out in the field. I cited performance problems caused by casually accessing components from a JSF view, then presented a set of best practices to eliminate this unnecessary overhead. Despite the progress made by the end of the first part, you had not yet witnessed the two orders of magnitude in performance improvement that was promised.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/seam">seam</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/dan">dan</a> <a href="http://www.delicious.com/jpangamarca/allen">allen</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/web">web</a> <a href="http://www.delicious.com/jpangamarca/optimization">optimization</a> <a href="http://www.delicious.com/jpangamarca/performance">performance</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://jsfcentral.com/articles/speed_up_your_jsf_app_1.html">JSF Central &#8211; Speed up your Data-Driven JSF/Seam Application by Two Orders of Magnitude &#8211; Part 1</a></div>
<div class="delicious-extended">JavaServer Faces (JSF) has a reputation for having poor performance. Some claim that this &quot;runtime tax&quot; is simply the cost of using a component-based abstraction layer. After focused research, I have determined that by following a handful of best practices, you can get your JSF data tables to perform almost as well as hand-crafted HTML while still being able to retain the benefits of developing with an event-driven programming model. I begin by identifying some performance problems that occur when using JSF UI components, Seam components, and the EL carelessly, and then present, through a series of four lessons, ways to eliminate these problems one-by-one until you have observed a remarkable, two orders of magnitude improvement.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/seam">seam</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/dan">dan</a> <a href="http://www.delicious.com/jpangamarca/allen">allen</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/web">web</a> <a href="http://www.delicious.com/jpangamarca/optimization">optimization</a> <a href="http://www.delicious.com/jpangamarca/performance">performance</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.ajaxonomy.com/2007/java/making-the-most-of-java-50-enum-tricks">Making the Most of Java 5.0: Enum Tricks | Ajaxonomy</a></div>
</li>
<li>
<div class="delicious-link"><a href="http://download.oracle.com/javase/tutorial/java/javaOO/enum.html">Enum Types (The Java™ Tutorials &gt; Learning the Java Language &gt; Classes and Objects)</a></div>
</li>
<li>
<div class="delicious-link"><a href="http://www.informit.com/articles/article.aspx?p=349047">InformIT: Static, Final, and Enumerated Types in Java &gt; enum is a new keyword</a></div>
</li>
<li>
<div class="delicious-link"><a href="http://www.coderanch.com/t/107475/tools/Ant-copy-dir-exclude-subdir">Ant &#8211; copy dir, exclude subdir (Ant, Maven and Build Tools forum at JavaRanch)</a></div>
</li>
<li>
<div class="delicious-link"><a href="http://freddy33.blogspot.com/2007/05/why-java-enum-cannot-extends.html">Fred, Let it go!: Why java enum cannot extends?</a></div>
</li>
<li>
<div class="delicious-link"><a href="http://stackoverflow.com/questions/3824648/seam-effective-use-of-bypassinterceptors">java &#8211; SEAM: Effective use of @BypassInterceptors? &#8211; Stack Overflow</a></div>
</li>
<li>
<div class="delicious-link"><a href="http://www.devdaily.com/blog/post/java/how-exclude-files-classes-compile-java-project-ant">An Ant &#039;exclude classes&#039; example | devdaily.com</a></div>
</li>
<li>
<div class="delicious-link"><a href="http://seamframework.org/Community/ByPassInterceptorsOnWhichMethodsAndClass">Seam Framework &#8211; ByPassInterceptors on Which Methods and Class</a></div>
</li>
<li>
<div class="delicious-link"><a href="http://seamframework.org/77883.lace">Seam Framework &#8211; BypassInterceptors</a></div>
</li>
<li>
<div class="delicious-link"><a href="http://stackoverflow.com/questions/465099/best-way-to-build-a-plugin-system-with-java">design patterns &#8211; Best way to build a Plugin system with Java &#8211; Stack Overflow</a></div>
<div class="delicious-extended">How would you implement a Plugin-system for your Java application?</p>
<p>Is it possible to have an easy to use (for the developer) system which achieves the following:</p>
<p>    Users put their plugins into a subdirectory of the app<br />
    The Plugin can provide a configuration screen<br />
    If you use a framework, is the license compatible with commercial developement?</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/plugin">plugin</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://seamframework.org/Community/ComponentgetInstanceVsInjection">Seam Framework &#8211; Component.getInstance() vs. injection</a></div>
<div class="delicious-extended">So we know that all injected properties of a component are dynamically injected prior to business method execution. This means every time a business method is invoked whether or not those properties need to be re-freshed all of the properties marked @In are re-fresh/re-injected. So let&#039;s take a hypothetical case. Say we have 20 Seam components that need to be injected into component Foo.  Would it not be more efficient to use Component.getInstance(C1.class) instead of the unnecessarily repetitive and time-consuming &quot;swarm&quot; of dynamic injections? For a particular business method, you get the component you need at that exact time. Instead of getting all 20 of them when you may only need one of them for that particular business method. That&#039;s overkill. Use @In except when absolutely necessary like injecting SMPC and Log instance via @Logger.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/seam">seam</a> <a href="http://www.delicious.com/jpangamarca/components">components</a> <a href="http://www.delicious.com/jpangamarca/injection">injection</a> <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/web">web</a> <a href="http://www.delicious.com/jpangamarca/development">development</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/494/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=494&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/09/22/links-for-2011-09-21/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-09-16</title>
		<link>http://jpangamarca.wordpress.com/2011/09/17/links-for-2011-09-16/</link>
		<comments>http://jpangamarca.wordpress.com/2011/09/17/links-for-2011-09-16/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 05:21:16 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/09/17/links-for-2011-09-16/</guid>
		<description><![CDATA[Holy Java Blog : Weblog In this two-part tutorial you will learn how to get started with the development of Seam applications with RichFaces using Eclipse with JBoss Tools. In the 1st part we&#039;ve set up our environment, created, and run an empty shell Seam application. In this 2nd part we will create a simple [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=493&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://www.jroller.com/holy/entry/seam_tutorial_1_2_richfaces">Holy Java Blog : Weblog</a></div>
<div class="delicious-extended">In this two-part tutorial you will learn how to get started with the development of Seam applications with RichFaces using Eclipse with JBoss Tools. In the 1st part we&#039;ve set up our environment, created, and run an empty shell Seam application. In this 2nd part we will create a simple web page with a table presenting data on multiple pages using Ajax (a RichFaces component) and its model stored as a POJO Component in the Seam Conversation scope. I assume that you already have some basic knowledge of Seam and JSF, for instance that you know what a Component or the Conversation scope are. I&#039;ll present my path to this goal with all the mistakes so that you too can learn from them.</p>
<p>My aim in this tutorial series is to create a Seam portlet displaying data in a paged (and ideally also sortable and filterable, but lets be realistic) table running in the Liferay portal.</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/seam">seam</a> <a href="http://www.delicious.com/jpangamarca/tutorial">tutorial</a> <a href="http://www.delicious.com/jpangamarca/jsf">jsf</a> <a href="http://www.delicious.com/jpangamarca/richfaces">richfaces</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/493/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=493&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/09/17/links-for-2011-09-16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-09-15</title>
		<link>http://jpangamarca.wordpress.com/2011/09/16/links-for-2011-09-15/</link>
		<comments>http://jpangamarca.wordpress.com/2011/09/16/links-for-2011-09-15/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 05:01:50 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/09/16/links-for-2011-09-15/</guid>
		<description><![CDATA[Getting a list of time zones in Java and Seam &#124; Lunatech Research &#8211; IT consulting, product research and software development If you are building a web application with a user-interface for editing dates that supports time zones, then you are going to need a list of time zones. You need this if you want [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=492&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://www.lunatech-research.com/archives/2008/12/20/getting-list-time-zones-java-and-seam">Getting a list of time zones in Java and Seam | Lunatech Research &#8211; IT consulting, product research and software development</a></div>
<div class="delicious-extended">If you are building a web application with a user-interface for editing dates that supports time zones, then you are going to need a list of time zones. You need this if you want to edit or display times in &#039;local time&#039; and store them as UTC (universal time). This article shows the Java code and a handy Seam component that provides the list.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/seam">seam</a> <a href="http://www.delicious.com/jpangamarca/timezone">timezone</a> <a href="http://www.delicious.com/jpangamarca/date">date</a> <a href="http://www.delicious.com/jpangamarca/calendar">calendar</a> <a href="http://www.delicious.com/jpangamarca/set">set</a> <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://seamframework.org/Documentation/JSFEnhancementDefaultApplicationTimeZone">Seam Framework &#8211; JSF Enhancement: Default application time zone</a></div>
<div class="delicious-extended">The correct solution is to allow the time zone to be set per JSF application, configured in faces-config.xml. In fact, there is already an ideal place to put this configuration: within the &lt;locale-config&gt; element, complementing the default locale. The developer would specify a time zone ID in the &lt;default-time-zone-id&gt; element and JSF would resolve a TimeZone object from this ID. Here&#039;s an example showing the default time zone set to New York.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/seam">seam</a> <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/web">web</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/set">set</a> <a href="http://www.delicious.com/jpangamarca/timezone">timezone</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_calendar.html">6.11.1.  &lt; rich:calendar &gt; available since 3.1.0</a></div>
<div class="delicious-extended">The &lt;rich:calendar&gt; component provides the possibility to use internationalization method to redefine and localize the labels. You could use application resource bundle and define RICH_CALENDAR_APPLY_LABEL, RICH_CALENDAR_TODAY_LABEL, RICH_CALENDAR_CLOSE_LABEL, RICH_CALENDAR_OK_LABEL, RICH_CALENDAR_CLEAN_LABEL, RICH_CALENDAR_CANCEL_LABEL there.</p>
<p>You could also pack org.richfaces.renderkit.calendar resource bundle with your JARs defining the same properties.</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/richfaces">richfaces</a> <a href="http://www.delicious.com/jpangamarca/rich%3Acalendar">rich:calendar</a> <a href="http://www.delicious.com/jpangamarca/internationalize">internationalize</a> <a href="http://www.delicious.com/jpangamarca/internationalization">internationalization</a> <a href="http://www.delicious.com/jpangamarca/labels">labels</a> <a href="http://www.delicious.com/jpangamarca/change">change</a> <a href="http://www.delicious.com/jpangamarca/language">language</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://renaud.waldura.com/doc/java/final-keyword.shtml#methods">Renaud Waldura&#039;s The Final Word On the final Keyword</a></div>
<div class="delicious-extended">Some features of the Java language simply cannot be ignored. Consider for example interfaces, used extensively by every Java specification; or try/catch blocks, that form the basis for exception handling. Other features are more obscure – useful, but ignored by the masses. Without looking as far as volatile (probably the most obscure Java keyword), think about final. When was the last time you used final in your code?</p>
<p>Me, I&#039;m a final fan. Enamored with final, I&#039;m of the school of thought that inserts final any where, any time. Or almost. But why? In this article I shine the spotlight on the Java keyword final, and invite you to discover its subtle meanings, and the many Java idioms that make use of it. All for better code!</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/final">final</a> <a href="http://www.delicious.com/jpangamarca/keyword">keyword</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/practices">practices</a> <a href="http://www.delicious.com/jpangamarca/tips">tips</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://java.dzone.com/articles/use-mediator-pattern-jsf-appli">Mediator Pattern: Reducing Page Dependencies in JSF | Javalobby</a></div>
<div class="delicious-extended">Mediator Pattern: Reducing Page Dependencies in JSF</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/seam">seam</a> <a href="http://www.delicious.com/jpangamarca/jsf">jsf</a> <a href="http://www.delicious.com/jpangamarca/pattern">pattern</a> <a href="http://www.delicious.com/jpangamarca/patterns">patterns</a> <a href="http://www.delicious.com/jpangamarca/performance">performance</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.mojavelinux.com/blog/archives/2008/05/avoid_this_common_jsf_mistake/">Avoid this common JSF mistake | mojavelinux.com</a></div>
<div class="delicious-extended">Don&#039;t access the database in a method that feeds a UIData component! (e.g. &lt;h:dataTable&gt;) I see this mistake being made all the time. It&#039;s bad advice and just plain bad practice. Don&#039;t do it! The correct way to do this would be to bind the list to a context variable using a Seam factory component so that the list of users is populated exactly once per page, regardless of how many times the variable is resolved. Note that we are scrapping the managed bean definition and using a Seam component instead. The choice of page scope for the users variable ensures that the list is not refetched on a JSF postback either.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/seam">seam</a> <a href="http://www.delicious.com/jpangamarca/web">web</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/jsf">jsf</a> <a href="http://www.delicious.com/jpangamarca/tips">tips</a> <a href="http://www.delicious.com/jpangamarca/performance">performance</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://download.oracle.com/javase/1.5.0/docs/guide/javadoc/deprecation/deprecation.html#javadoc_tag">How and When to Deprecate APIs</a></div>
<div class="delicious-extended">How and When To Deprecate APIs</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/practices">practices</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/deprecate">deprecate</a> <a href="http://www.delicious.com/jpangamarca/deprecated">deprecated</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/492/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/492/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/492/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=492&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/09/16/links-for-2011-09-15/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-09-13</title>
		<link>http://jpangamarca.wordpress.com/2011/09/14/links-for-2011-09-13/</link>
		<comments>http://jpangamarca.wordpress.com/2011/09/14/links-for-2011-09-13/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 05:03:36 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/09/14/links-for-2011-09-13/</guid>
		<description><![CDATA[Merging Split Files $ split -b 1394786 big.log $ ls -1 x* xaa xab &#8230; xew Split creates its output files in decreasing alphabetic order. Thus when you list them in the shell they are in the order in which they were split. As such, you can simply use cat to merge the files. (Thanks [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=491&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://bashcurescancer.com/merging_split_files.html">Merging Split Files</a></div>
<div class="delicious-extended">$ split -b 1394786 big.log<br />
$ ls -1 x*<br />
xaa<br />
xab<br />
&#8230;<br />
xew</p>
<p>Split creates its output files in decreasing alphabetic order. Thus when you list them in the shell they are in the order in which<br />
they were split. As such, you can simply use cat to merge the files. (Thanks to Paul and Davidov for pointing out my for loop was superfluous.)</p>
<p>$ cat x* &gt;merged.big.log<br />
$ ls -l *.log<br />
-rw-rw-r&#8211;  1 brock brock 175743061 Oct 12 22:08 big.log<br />
-rw-rw-r&#8211;  1 brock brock 175743061 Oct 12 01:11 merged.big.log<br />
$ diff merged.big.log big.log<br />
$ md5sum *.log<br />
47de08911534957c1768968743468307  big.log<br />
47de08911534957c1768968743468307  merged.big.log</p>
<p>(cat works for files created with hjsplit, too)</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/linux">linux</a> <a href="http://www.delicious.com/jpangamarca/split">split</a> <a href="http://www.delicious.com/jpangamarca/join">join</a> <a href="http://www.delicious.com/jpangamarca/merge">merge</a> <a href="http://www.delicious.com/jpangamarca/files">files</a> <a href="http://www.delicious.com/jpangamarca/windows">windows</a> <a href="http://www.delicious.com/jpangamarca/hjsplit">hjsplit</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/491/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/491/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/491/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/491/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/491/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/491/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/491/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=491&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/09/14/links-for-2011-09-13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-09-09</title>
		<link>http://jpangamarca.wordpress.com/2011/09/09/links-for-2011-09-09/</link>
		<comments>http://jpangamarca.wordpress.com/2011/09/09/links-for-2011-09-09/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 07:11:36 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/09/09/links-for-2011-09-09/</guid>
		<description><![CDATA[Seam Framework &#8211; Creating Custom EL Functions Seam Framework &#8211; Creating Custom EL Functions (tags: java facelets jsf el expression language create custom functions)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=490&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://seamframework.org/Documentation/CreatingCustomELFunctions">Seam Framework &#8211; Creating Custom EL Functions</a></div>
<div class="delicious-extended">Seam Framework &#8211; Creating Custom EL Functions</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/facelets">facelets</a> <a href="http://www.delicious.com/jpangamarca/jsf">jsf</a> <a href="http://www.delicious.com/jpangamarca/el">el</a> <a href="http://www.delicious.com/jpangamarca/expression">expression</a> <a href="http://www.delicious.com/jpangamarca/language">language</a> <a href="http://www.delicious.com/jpangamarca/create">create</a> <a href="http://www.delicious.com/jpangamarca/custom">custom</a> <a href="http://www.delicious.com/jpangamarca/functions">functions</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/490/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/490/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/490/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/490/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/490/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/490/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/490/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/490/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/490/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/490/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/490/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/490/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/490/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/490/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=490&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/09/09/links-for-2011-09-09/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-08-26</title>
		<link>http://jpangamarca.wordpress.com/2011/08/27/links-for-2011-08-26/</link>
		<comments>http://jpangamarca.wordpress.com/2011/08/27/links-for-2011-08-26/#comments</comments>
		<pubDate>Sat, 27 Aug 2011 05:04:23 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/08/27/links-for-2011-08-26/</guid>
		<description><![CDATA[How to gracefully handle the SIGKILL signal in Java &#8211; Stack Overflow The way to handle this for anything other than kill -9 would be to register a shutdown hook. If you can use (SIGTERM) kill -15 the shutdown hook will work. (SIGINT) kill -2 DOES cause the program to gracefully exit and run the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=489&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://stackoverflow.com/questions/2541597/how-to-gracefully-handle-the-sigkill-signal-in-java">How to gracefully handle the SIGKILL signal in Java &#8211; Stack Overflow</a></div>
<div class="delicious-extended">The way to handle this for anything other than kill -9 would be to register a shutdown hook. If you can use (SIGTERM) kill -15 the shutdown hook will work. (SIGINT) kill -2 DOES cause the program to gracefully exit and run the shutdown hooks.<br />
I tried the following test program on OSX 10.6.3 and on kill -9 it did NOT run the shutdown hook, didn&#039;t think it would. On a kill -15 it DOES run the shutdown hook every time.</p>
<p>public class TestShutdownHook<br />
{<br />
    public static void main(final String[] args) throws InterruptedException<br />
    {<br />
        Runtime.getRuntime().addShutdownHook(new Thread()<br />
        {<br />
            @Override<br />
            public void run()<br />
            {<br />
                System.out.println(&quot;Shutdown hook ran!&quot;);<br />
            }<br />
        });</p>
<p>        while (true)<br />
        {<br />
            Thread.sleep(1000);<br />
        }<br />
    }<br />
}</p>
<p>There isn&#039;t any way to really gracefully handle a kill -9 in any program.</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/capture">capture</a> <a href="http://www.delicious.com/jpangamarca/sigterm">sigterm</a> <a href="http://www.delicious.com/jpangamarca/sigint">sigint</a> <a href="http://www.delicious.com/jpangamarca/sigkill">sigkill</a> <a href="http://www.delicious.com/jpangamarca/abnormal">abnormal</a> <a href="http://www.delicious.com/jpangamarca/termination">termination</a> <a href="http://www.delicious.com/jpangamarca/%5Ec">^c</a> <a href="http://www.delicious.com/jpangamarca/control">control</a> <a href="http://www.delicious.com/jpangamarca/c">c</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/server">server</a> <a href="http://www.delicious.com/jpangamarca/daemon">daemon</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.tutorialspoint.com/java/java_networking.htm">Java &#8211; Networking (Socket Programming) Tutorial</a></div>
<div class="delicious-extended">The term network programming refers to writing programs that execute across multiple devices (computers), in which the devices are all connected to each other using a network.</p>
<p>The java.net package of the J2SE APIs contains a collection of classes and interfaces that provide the low-level communication details, allowing you to write programs that focus on solving the problem at hand.</p>
<p>The java.net package provides support for the two common network protocols:</p>
<p>    TCP: TCP stands for Transmission Control Protocol, which allows for reliable communication between two applications. TCP is typically used over the Internet Protocol, which is referred to as TCP/IP.</p>
<p>    UDP: UDP stands for User Datagram Protocol, a connection-less protocol that allows for packets of data to be transmitted between applications.</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/socket">socket</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/client">client</a> <a href="http://www.delicious.com/jpangamarca/server">server</a> <a href="http://www.delicious.com/jpangamarca/servers">servers</a> <a href="http://www.delicious.com/jpangamarca/networking">networking</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://ladyxcid-scribbles.blogspot.com/2011/03/java-socket-programming.html">Scribbles: Java Socket Programming</a></div>
<div class="delicious-extended">I finally found a working codes for Java Socket Programming..<br />
from http://www.tutorialspoint.com/java/java_networking.htm</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/socket">socket</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/client">client</a> <a href="http://www.delicious.com/jpangamarca/server">server</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/489/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=489&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/08/27/links-for-2011-08-26/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-08-17</title>
		<link>http://jpangamarca.wordpress.com/2011/08/18/links-for-2011-08-17/</link>
		<comments>http://jpangamarca.wordpress.com/2011/08/18/links-for-2011-08-17/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 05:02:28 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/08/18/links-for-2011-08-17/</guid>
		<description><![CDATA[List of all Locales import java.text.SimpleDateFormat; import java.util.*; public class LocalesList { static public void main(String[] args) { Locale list[] = SimpleDateFormat.getAvailableLocales(); Set set = new TreeSet(); for (int i = 0; i &#60; list.length; i++) { set.add(list[i].getDisplayName() +&#34;\t\t\t:\t&#34;+ list[i].toString()); } Iterator it = set.iterator(); while (it.hasNext()) { System.out.println(it.next() ); } } } (tags: java [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=488&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://www.roseindia.net/tutorials/I18N/locales-list.shtml">List of all Locales</a></div>
<div class="delicious-extended">import java.text.SimpleDateFormat;<br />
import java.util.*;</p>
<p>public class LocalesList {</p>
<p>  static public void main(String[] args) {</p>
<p>  Locale list[] = SimpleDateFormat.getAvailableLocales();<br />
   Set set = new TreeSet();<br />
  for (int i = 0; i &lt; list.length; i++) {<br />
  set.add(list[i].getDisplayName()<br />
  +&quot;\t\t\t:\t&quot;+ list[i].toString());<br />
  }<br />
  Iterator it = set.iterator();<br />
  while (it.hasNext()) {<br />
  System.out.println(it.next() );<br />
  }<br />
  }<br />
}</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/locale">locale</a> <a href="http://www.delicious.com/jpangamarca/list">list</a> <a href="http://www.delicious.com/jpangamarca/internationalization">internationalization</a> <a href="http://www.delicious.com/jpangamarca/i18n">i18n</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.davesite.com/webstation/html/chap09.shtml#section2">HTML Code: MiniChapter 9: Navigation Within A Document</a></div>
<div class="delicious-extended">&lt;a href=&quot;#section2&quot;&gt;Go To Section 2&lt;/a&gt;&lt;br&gt;<br />
blah&lt;br&gt;<br />
blah&lt;br&gt;<br />
blah&lt;br&gt;<br />
blah&lt;br&gt;<br />
blah&lt;br&gt;<br />
blah&lt;br&gt;<br />
&lt;a name=&quot;section2&quot;&gt;Welcome To Section 2!&lt;/a&gt;</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/html">html</a> <a href="http://www.delicious.com/jpangamarca/anchor">anchor</a> <a href="http://www.delicious.com/jpangamarca/marcador">marcador</a> <a href="http://www.delicious.com/jpangamarca/page">page</a> <a href="http://www.delicious.com/jpangamarca/section">section</a> <a href="http://www.delicious.com/jpangamarca/link">link</a> <a href="http://www.delicious.com/jpangamarca/code">code</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://relation.to/11633.lace">In Relation To&#8230;  Using dynamically created RichFaces TabPanel for search results</a></div>
<div class="delicious-extended">The aim of this post is the same as for the previous one &#8211; to cover some component specific questions in RichFaces which frequently asked at RichFaces User Forum. Some points (or maybe all of them) could be already known for you&#8230; But do not forget that everybody sometimes starts something from scratch <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thus, my intention is to help the guys who just start RichFaces usage with some kickstart samples like this.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/richfaces">richfaces</a> <a href="http://www.delicious.com/jpangamarca/seam">seam</a> <a href="http://www.delicious.com/jpangamarca/jsf">jsf</a> <a href="http://www.delicious.com/jpangamarca/create">create</a> <a href="http://www.delicious.com/jpangamarca/dynamic">dynamic</a> <a href="http://www.delicious.com/jpangamarca/content">content</a> <a href="http://www.delicious.com/jpangamarca/tabs">tabs</a> <a href="http://www.delicious.com/jpangamarca/web">web</a> <a href="http://www.delicious.com/jpangamarca/development">development</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.regular-expressions.info/reference.html">Regular Expressions Reference &#8211; Basic Syntax</a></div>
<div class="delicious-extended">Regular Expression Basic Syntax Reference</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/regular">regular</a> <a href="http://www.delicious.com/jpangamarca/expressions">expressions</a> <a href="http://www.delicious.com/jpangamarca/expression">expression</a> <a href="http://www.delicious.com/jpangamarca/regex">regex</a> <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/488/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=488&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/08/18/links-for-2011-08-17/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-08-16</title>
		<link>http://jpangamarca.wordpress.com/2011/08/17/links-for-2011-08-16/</link>
		<comments>http://jpangamarca.wordpress.com/2011/08/17/links-for-2011-08-16/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 05:06:43 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/08/17/links-for-2011-08-16/</guid>
		<description><![CDATA[Selectors In CSS, pattern matching rules determine which style rules apply to elements in the document tree. These patterns, called selectors, may range from simple element names to rich contextual patterns. If all conditions in the pattern are true for a certain element, the selector matches the element. The case-sensitivity of document language element names [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=487&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://www.w3.org/TR/CSS2/selector.html">Selectors</a></div>
<div class="delicious-extended">In CSS, pattern matching rules determine which style rules apply to elements in the document tree. These patterns, called selectors, may range from simple element names to rich contextual patterns. If all conditions in the pattern are true for a certain element, the selector matches the element.</p>
<p>The case-sensitivity of document language element names in selectors depends on the document language. For example, in HTML, element names are case-insensitive, but in XML they are case-sensitive.</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/css">css</a> <a href="http://www.delicious.com/jpangamarca/selectors">selectors</a> <a href="http://www.delicious.com/jpangamarca/web">web</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/reference">reference</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.stockvault.net/tutorials/css-link-styles">Stockvault.net &#8211; CSS Link Styles</a></div>
<div class="delicious-extended">&lt;style&gt;<br />
&lt;!&#8211;<br />
a:link { color: #000099; text-decoration: none;}<br />
a:visited { color: #CCC; text-decoration: none;}<br />
a:active { color: #666; text-decoration: none;}<br />
a:hover { color: #000; text-decoration: underline;}<br />
&#8211;&gt;<br />
&lt;/style&gt;</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/css">css</a> <a href="http://www.delicious.com/jpangamarca/hyperlink">hyperlink</a> <a href="http://www.delicious.com/jpangamarca/hyperlinks">hyperlinks</a> <a href="http://www.delicious.com/jpangamarca/anchor">anchor</a> <a href="http://www.delicious.com/jpangamarca/visited">visited</a> <a href="http://www.delicious.com/jpangamarca/active">active</a> <a href="http://www.delicious.com/jpangamarca/hover">hover</a> <a href="http://www.delicious.com/jpangamarca/a">a</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.alanwood.net/unicode/arrows.html">Arrows – Test for Unicode support in Web browsers</a></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/unicode">unicode</a> <a href="http://www.delicious.com/jpangamarca/codes">codes</a> <a href="http://www.delicious.com/jpangamarca/special">special</a> <a href="http://www.delicious.com/jpangamarca/characters">characters</a> <a href="http://www.delicious.com/jpangamarca/code">code</a> <a href="http://www.delicious.com/jpangamarca/web">web</a> <a href="http://www.delicious.com/jpangamarca/development">development</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://orwell.ru/test/ISO/e?mmlextra">MMLEXTRA to Unicode</a></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/unicode">unicode</a> <a href="http://www.delicious.com/jpangamarca/character">character</a> <a href="http://www.delicious.com/jpangamarca/code">code</a> <a href="http://www.delicious.com/jpangamarca/codes">codes</a> <a href="http://www.delicious.com/jpangamarca/special">special</a> <a href="http://www.delicious.com/jpangamarca/symbols">symbols</a> <a href="http://www.delicious.com/jpangamarca/arrows">arrows</a> <a href="http://www.delicious.com/jpangamarca/web">web</a> <a href="http://www.delicious.com/jpangamarca/development">development</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://java.sun.com/products/jfc/tsc/articles/threads/threads1.html">Threads and Swing</a></div>
<div class="delicious-extended">Once a Swing component has been realized, all code that might affect or depend on the state of that component should be executed in the event-dispatching thread.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/swing">swing</a> <a href="http://www.delicious.com/jpangamarca/gui">gui</a> <a href="http://www.delicious.com/jpangamarca/threads">threads</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.herongyang.com/Java/Thread-interrupt-Method-to-Terminate-Thread.html">interrupt() &#8211; Method to Terminate Thread</a></div>
<div class="delicious-extended">There are 3 ways to terminate a thread:</p>
<p>    The thread has finished the work it is designed to do, and exits the run() method naturally.<br />
    The thread has received an interruption signal, while doing its work. It decides to not continue with work and exits the run() method. It may also decide to ignore the signal and continue to work.<br />
    The thread has been marked as daemon thread. When the parent thread who created this thread terminates, this thread will be forcefully terminated by the JVM.</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/terminate">terminate</a> <a href="http://www.delicious.com/jpangamarca/thread">thread</a> <a href="http://www.delicious.com/jpangamarca/stop">stop</a> <a href="http://www.delicious.com/jpangamarca/kill">kill</a> <a href="http://www.delicious.com/jpangamarca/threads">threads</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/reference">reference</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.javapractices.com/topic/TopicAction.do?Id=153">Java Practices -&gt; Swing threads</a></div>
<div class="delicious-extended">In a Swing application, most of the processing takes place in a single, special thread called the event dispatch thread.</p>
<p>This thread becomes active after a component becomes realized : either pack, show, or setVisible(true) has been called. When a top level window is realized, all of its components are also realized. Swing is mostly single-threaded : almost all calls to realized components should execute in the event dispatch thread. The thread-safe exceptions are</p>
<p>    some methods of JComponent : repaint, revalidate, invalidate<br />
    all addXXXListener and removeXXXListener methods<br />
    all methods explicitly documented as thread-safe</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/threads">threads</a> <a href="http://www.delicious.com/jpangamarca/swing">swing</a> <a href="http://www.delicious.com/jpangamarca/gui">gui</a> <a href="http://www.delicious.com/jpangamarca/thread">thread</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/tips">tips</a> <a href="http://www.delicious.com/jpangamarca/reference">reference</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.javapractices.com/topic/TopicAction.do?Id=86">Java Practices -&gt; Use System.exit with care</a></div>
<div class="delicious-extended">System.exit should be used with care. The normal method of terminating a program is to terminate all user threads.</p>
<p>Cases in which System.exit is appropriate :</p>
<p>    utility scripts<br />
    GUI applications, in which the event dispatch user thread is created in the background. Here, the program may be terminated by calling System.exit, or, for example, by setting : </p>
<p>JFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE)</p>
<p>From Sun&#039;s Portability Cookbook :</p>
<p>&quot;The System.exit method forces termination of all threads in the Java virtual machine. This is drastic&#8230;.System.exit should be reserved for a catastrophic error exit, or for cases when a program is intended for use as a utility in a command script that may depend on the program&#039;s exit code.&quot;</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/practices">practices</a> <a href="http://www.delicious.com/jpangamarca/system">system</a> <a href="http://www.delicious.com/jpangamarca/exit">exit</a> <a href="http://www.delicious.com/jpangamarca/finish">finish</a> <a href="http://www.delicious.com/jpangamarca/terminate">terminate</a> <a href="http://www.delicious.com/jpangamarca/application">application</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.java2s.com/Code/Java/Threads/Thesafewaytostopathread.htm">The safe way to stop a thread : Simple Threads « Threads « Java</a></div>
<div class="delicious-extended">// : c13:Stopping.java<br />
// The safe way to stop a thread.<br />
// From &#039;Thinking in Java, 3rd ed.&#039; (c) Bruce Eckel 2002<br />
// www.BruceEckel.com. See copyright notice in CopyRight.txt.</p>
<p>import java.util.Timer;<br />
import java.util.TimerTask;</p>
<p>class CanStop extends Thread {<br />
  // Must be volatile:<br />
  private volatile boolean stop = false;</p>
<p>  private int counter = 0;</p>
<p>  public void run() {<br />
    while (!stop &amp;&amp; counter &lt; 10000) {<br />
      System.out.println(counter++);<br />
    }<br />
    if (stop)<br />
      System.out.println(&quot;Detected stop&quot;);<br />
  }</p>
<p>  public void requestStop() {<br />
    stop = true;<br />
  }<br />
}</p>
<p>public class Stopping {<br />
  public static void main(String[] args) {<br />
    final CanStop stoppable = new CanStop();<br />
    stoppable.start();<br />
    new Timer(true).schedule(new TimerTask() {<br />
      public void run() {<br />
        System.out.println(&quot;Requesting stop&quot;);<br />
        stoppable.requestStop();<br />
      }<br />
    }, 500); // run() after 500 milliseconds<br />
  }<br />
} ///:~</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/thread">thread</a> <a href="http://www.delicious.com/jpangamarca/stop">stop</a> <a href="http://www.delicious.com/jpangamarca/threading">threading</a> <a href="http://www.delicious.com/jpangamarca/terminate">terminate</a> <a href="http://www.delicious.com/jpangamarca/threads">threads</a> <a href="http://www.delicious.com/jpangamarca/example">example</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://forward.com.au/javaProgramming/HowToStopAThread.html">http://forward.com.au/javaProgramming/HowToStopAThread.html</a></div>
<div class="delicious-extended">How to stop a Thread is a perannual question for Java programmers. Finally with the release of Java V5.0 (or V1.5), which incorporates java.util.concurrent, a definitive answer can be given. The answer is you stop a thread by using interrupt(). This article covers some of the background to stopping threads and the suggested alternatives and discusses why interrupt() is the answer. It also discusses interrupting blocking I/O and what else the programmer needs to do to ensure their threads and tasks are stoppable.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/threads">threads</a> <a href="http://www.delicious.com/jpangamarca/thread">thread</a> <a href="http://www.delicious.com/jpangamarca/threading">threading</a> <a href="http://www.delicious.com/jpangamarca/stop">stop</a> <a href="http://www.delicious.com/jpangamarca/kill">kill</a> <a href="http://www.delicious.com/jpangamarca/terminate">terminate</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/reference">reference</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.javapractices.com/topic/TopicAction.do?Id=85">Java Practices -&gt; Time execution speed</a></div>
<div class="delicious-extended">Here is an example of a utility Stopwatch class which can provide timings for any section of code.</p>
<p>For measuring the relative execution times of alternate implementations, consider turning off the HotSpot compiler, using java -Xint. This will ensure a uniform environment for the entire duration of a program.</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/measure">measure</a> <a href="http://www.delicious.com/jpangamarca/execution">execution</a> <a href="http://www.delicious.com/jpangamarca/speed">speed</a> <a href="http://www.delicious.com/jpangamarca/benchmark">benchmark</a> <a href="http://www.delicious.com/jpangamarca/benchmarks">benchmarks</a> <a href="http://www.delicious.com/jpangamarca/benchmarking">benchmarking</a> <a href="http://www.delicious.com/jpangamarca/time">time</a> <a href="http://www.delicious.com/jpangamarca/tips">tips</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.javapractices.com/topic/TopicAction.do;jsessionid=3616BCD2404B680455ACA2C60597EA9E?Id=104">Java Practices -&gt; Compile regular expressions once</a></div>
<div class="delicious-extended">Pattern objects compile the regular expressions which are passed to them. If a regular expression is used many times, then this compilation should be performed only once.</p>
<p>Be wary of the these convenience methods, which compile a regular expression each time they are called:</p>
<p>    Pattern.matches<br />
    String.matches<br />
    String.replaceAll<br />
    String.replaceFirst<br />
    String.split</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/regex">regex</a> <a href="http://www.delicious.com/jpangamarca/regular">regular</a> <a href="http://www.delicious.com/jpangamarca/expressions">expressions</a> <a href="http://www.delicious.com/jpangamarca/compile">compile</a> <a href="http://www.delicious.com/jpangamarca/tips">tips</a> <a href="http://www.delicious.com/jpangamarca/performance">performance</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/487/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=487&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/08/17/links-for-2011-08-16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-08-09</title>
		<link>http://jpangamarca.wordpress.com/2011/08/10/links-for-2011-08-09/</link>
		<comments>http://jpangamarca.wordpress.com/2011/08/10/links-for-2011-08-09/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 05:07:25 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/08/10/links-for-2011-08-09/</guid>
		<description><![CDATA[Load a text file contents as a String import java.io.File; import java.io.FileReader; import java.io.IOException; public class Main { public static String deserializeString(File file) throws IOException { int len; char[] chr = new char[4096]; final StringBuffer buffer = new StringBuffer(); final FileReader reader = new FileReader(file); try { while ((len = reader.read(chr)) &#62; 0) { buffer.append(chr, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=486&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://www.java2s.com/Tutorial/Java/0180__File/LoadatextfilecontentsasaString.htm">Load a text file contents as a String</a></div>
<div class="delicious-extended">import java.io.File;<br />
import java.io.FileReader;<br />
import java.io.IOException;</p>
<p>public class Main {<br />
  public static String deserializeString(File file)<br />
  throws IOException {<br />
      int len;<br />
      char[] chr = new char[4096];<br />
      final StringBuffer buffer = new StringBuffer();<br />
      final FileReader reader = new FileReader(file);<br />
      try {<br />
          while ((len = reader.read(chr)) &gt; 0) {<br />
              buffer.append(chr, 0, len);<br />
          }<br />
      } finally {<br />
          reader.close();<br />
      }<br />
      return buffer.toString();<br />
  }<br />
}</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/load">load</a> <a href="http://www.delicious.com/jpangamarca/text">text</a> <a href="http://www.delicious.com/jpangamarca/file">file</a> <a href="http://www.delicious.com/jpangamarca/as">as</a> <a href="http://www.delicious.com/jpangamarca/string">string</a> <a href="http://www.delicious.com/jpangamarca/tips">tips</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/developement">developement</a> <a href="http://www.delicious.com/jpangamarca/read">read</a> <a href="http://www.delicious.com/jpangamarca/contents">contents</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.javapractices.com/topic/TopicAction.do?Id=87">Java Practices -&gt; Parse text</a></div>
<div class="delicious-extended">protected void processLine(String aLine){<br />
    //use a second Scanner to parse the content of each line<br />
    Scanner scanner = new Scanner(aLine);<br />
    scanner.useDelimiter(&quot;=&quot;);<br />
    if ( scanner.hasNext() ){<br />
      String name = scanner.next();<br />
      String value = scanner.next();<br />
      log(&quot;Name is : &quot; + quote(name.trim()) + &quot;, and Value is : &quot; + quote(value.trim()) );<br />
    }<br />
    else {<br />
      log(&quot;Empty or invalid line. Unable to process.&quot;);<br />
    }<br />
    //no need to call scanner.close(), since the source is a String<br />
  }</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/parse">parse</a> <a href="http://www.delicious.com/jpangamarca/text">text</a> <a href="http://www.delicious.com/jpangamarca/token">token</a> <a href="http://www.delicious.com/jpangamarca/tips">tips</a> <a href="http://www.delicious.com/jpangamarca/programmins">programmins</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://commons.apache.org/exec/tutorial.html">Commons Exec &#8211; Apache Commons Exec Tutorial</a></div>
<div class="delicious-extended">You look at Commons Exec and think &quot;Wow &#8211; calling Runtime.exec() is easy and the Apache folks are wasting their and my time with tons of code&quot;. Well, we learned it the hard way that using plain Runtime.exec() can be a painful experience [...] you are invited to delve into commons-exec and have a look at the hard lessons the easy way&#8230;</p>
<p>CommandLine cmdLine = new CommandLine(&quot;AcroRd32.exe&quot;);<br />
cmdLine.addArgument(&quot;/p&quot;);<br />
cmdLine.addArgument(&quot;/h&quot;);<br />
cmdLine.addArgument(&quot;${file}&quot;);<br />
HashMap map = new HashMap();<br />
map.put(&quot;file&quot;,new File(&quot;invoice.pdf&quot;));<br />
commandLine.setSubstitutionMap(map);<br />
DefaultExecuteResultHandler resultHandler = new DefaultExecuteResultHandler();<br />
ExecuteWatchdog watchdog=new ExecuteWatchdog(60*1000);<br />
Executor executor = new DefaultExecutor();<br />
executor.setExitValue(1);<br />
executor.setWatchdog(watchdog);<br />
executor.execute(cmdLine, resultHandler);<br />
//some time later the result handler callback was invoked so we can safely request the exit value<br />
int exitValue=resultHandler.waitFor();</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/run">run</a> <a href="http://www.delicious.com/jpangamarca/external">external</a> <a href="http://www.delicious.com/jpangamarca/programs">programs</a> <a href="http://www.delicious.com/jpangamarca/command">command</a> <a href="http://www.delicious.com/jpangamarca/apache">apache</a> <a href="http://www.delicious.com/jpangamarca/commons-exec">commons-exec</a> <a href="http://www.delicious.com/jpangamarca/commons">commons</a> <a href="http://www.delicious.com/jpangamarca/exec">exec</a> <a href="http://www.delicious.com/jpangamarca/tips">tips</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://svn.apache.org/repos/asf/commons/proper/exec/tags/EXEC_1_0_0_RC2/src/test/java/org/apache/commons/exec/DefaultExecutorTest.java">DefaultExecutorTest.java</a></div>
<div class="delicious-extended">Apache Commons-exec samples</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/run">run</a> <a href="http://www.delicious.com/jpangamarca/external">external</a> <a href="http://www.delicious.com/jpangamarca/program">program</a> <a href="http://www.delicious.com/jpangamarca/command">command</a> <a href="http://www.delicious.com/jpangamarca/tips">tips</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://stackoverflow.com/questions/6295866/how-can-i-capture-the-output-of-a-command-as-a-string-with-commons-exec">How can I capture the output of a command as a String with Commons Exec?</a></div>
<div class="delicious-extended">Commons exec provides a PumpStreamHandler which redirects standard output to the Java process&#039; standard output. How can I capture the output of the command into a String? He&#039;re what I found:</p>
<p>import java.io.ByteArrayOutputStream;<br />
import org.apache.commons.exec.CommandLine;<br />
import org.apache.commons.exec.DefaultExecutor;<br />
import org.apache.commons.exec.Executor;<br />
import org.apache.commons.exec.PumpStreamHandler;</p>
<p>public String execToString(String command) throws Exception {<br />
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();<br />
    CommandLine commandline = CommandLine.parse(command);<br />
    DefaultExecutor exec = new DefaultExecutor();<br />
    PumpStreamHandler streamHandler = new PumpStreamHandler(outputStream);<br />
    exec.setStreamHandler(streamHandler);<br />
    exec.execute(commandline);<br />
    return(outputStream.toString());<br />
}</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/run">run</a> <a href="http://www.delicious.com/jpangamarca/external">external</a> <a href="http://www.delicious.com/jpangamarca/program">program</a> <a href="http://www.delicious.com/jpangamarca/process">process</a> <a href="http://www.delicious.com/jpangamarca/apache">apache</a> <a href="http://www.delicious.com/jpangamarca/commons-exec">commons-exec</a> <a href="http://www.delicious.com/jpangamarca/commons">commons</a> <a href="http://www.delicious.com/jpangamarca/exec">exec</a> <a href="http://www.delicious.com/jpangamarca/tips">tips</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/development">development</a> <a href="http://www.delicious.com/jpangamarca/interface">interface</a> <a href="http://www.delicious.com/jpangamarca/execute">execute</a> <a href="http://www.delicious.com/jpangamarca/command">command</a> <a href="http://www.delicious.com/jpangamarca/capture">capture</a> <a href="http://www.delicious.com/jpangamarca/output">output</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/486/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=486&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/08/10/links-for-2011-08-09/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-07-08</title>
		<link>http://jpangamarca.wordpress.com/2011/07/09/links-for-2011-07-08/</link>
		<comments>http://jpangamarca.wordpress.com/2011/07/09/links-for-2011-07-08/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 05:02:30 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/07/09/links-for-2011-07-08/</guid>
		<description><![CDATA[Matchmaking with regular expressions Use the power of regular expressions to ease text parsing and processing (tags: java regular expressions regex reference) Java Regular Expressions &#8211; detailed specification Summary of regular-expression constructs (tags: java regular expressions regex reference) Using Regular Expressions in Java Java 4 (JDK 1.4) and later have comprehensive support for regular expressions [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=485&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://www.javaworld.com/javaworld/jw-07-2001/jw-0713-regex.html?page=1">Matchmaking with regular expressions</a></div>
<div class="delicious-extended">Use the power of regular expressions to ease text parsing and processing</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/regular">regular</a> <a href="http://www.delicious.com/jpangamarca/expressions">expressions</a> <a href="http://www.delicious.com/jpangamarca/regex">regex</a> <a href="http://www.delicious.com/jpangamarca/reference">reference</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.wellho.net/regex/javare.html">Java Regular Expressions &#8211; detailed specification</a></div>
<div class="delicious-extended">Summary of regular-expression constructs</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/regular">regular</a> <a href="http://www.delicious.com/jpangamarca/expressions">expressions</a> <a href="http://www.delicious.com/jpangamarca/regex">regex</a> <a href="http://www.delicious.com/jpangamarca/reference">reference</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.regular-expressions.info/java.html">Using Regular Expressions in Java</a></div>
<div class="delicious-extended">Java 4 (JDK 1.4) and later have comprehensive support for regular expressions through the standard java.util.regex package. Because Java lacked a regex package for so long, there are also many 3rd party regex packages available for Java. I will only discuss Sun&#039;s regex library that is now part of the JDK. Its quality is excellent, better than most of the 3rd party packages. Unless you need to support older versions of the JDK, the java.util.regex package is the way to go.</p>
<p>Java 5 and 6 use the same regular expression flavor (with a few minor fixes), and provide the same regular expression classes. They add a few advanced functions not discussed on this page.</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/regular">regular</a> <a href="http://www.delicious.com/jpangamarca/expressions">expressions</a> <a href="http://www.delicious.com/jpangamarca/regex">regex</a> <a href="http://www.delicious.com/jpangamarca/reference">reference</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://java.sun.com/developer/technicalArticles/releases/1.4regex/">Regular Expressions and the Java Programming Language</a></div>
<div class="delicious-extended">Applications frequently require text processing for features like word searches, email validation, or XML document integrity. This often involves pattern matching. Languages like Perl, sed, or awk improves pattern matching with the use of regular expressions, strings of characters that define patterns used to search for matching text. To pattern match using the Java programming language required the use of the StringTokenizer class with many charAt substring methods to read through the characters or tokens to process the text. This often lead to complex or messy code.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/regular">regular</a> <a href="http://www.delicious.com/jpangamarca/expressions">expressions</a> <a href="http://www.delicious.com/jpangamarca/regex">regex</a> <a href="http://www.delicious.com/jpangamarca/reference">reference</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://leepoint.net/notes-java/data/strings/40regular_expressions/25sum-regex.html">Java: Regular expression summary</a></div>
<div class="delicious-extended">[This text is taken directly from the Java API documentation]</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/regular">regular</a> <a href="http://www.delicious.com/jpangamarca/expressions">expressions</a> <a href="http://www.delicious.com/jpangamarca/reference">reference</a> <a href="http://www.delicious.com/jpangamarca/regex">regex</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.iconarchive.com/">Leo&#039;s Icon Archive</a></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/icon">icon</a> <a href="http://www.delicious.com/jpangamarca/applications">applications</a> <a href="http://www.delicious.com/jpangamarca/icons">icons</a> <a href="http://www.delicious.com/jpangamarca/graphics">graphics</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/485/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=485&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/07/09/links-for-2011-07-08/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-06-29</title>
		<link>http://jpangamarca.wordpress.com/2011/06/30/links-for-2011-06-29/</link>
		<comments>http://jpangamarca.wordpress.com/2011/06/30/links-for-2011-06-29/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 05:05:03 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/06/30/links-for-2011-06-29/</guid>
		<description><![CDATA[encoding Problem with german special characters &#8230; again If you are dealing about special characters in page parameters and/or URL, you should add the uri-encoding=&#34;ISO-8859-1&#34; to Seam Manager properties in your components.xml, see JBSEAM-4330 (https://jira.jboss.org/jira/browse/JBSEAM-4330) : &#60;core:manager uri-encoding=&#34;ISO-8859-1&#34; &#8230;&#62; take into account &#60;web:character-encoding-filter encoding=&#34;UTF-8&#34; override-client=&#34;true&#34; url-pattern=&#34;*.seam&#34;/&#62; if first solution doesn&#039;t work (tags: seam special characters [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=484&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://www.seamframework.org/Community/EncodingProblemWithGermanSpecialCharactersAgain">encoding Problem with german special characters &#8230; again</a></div>
<div class="delicious-extended">If you are dealing about special characters in page parameters and/or URL, you should add the uri-encoding=&quot;ISO-8859-1&quot; to Seam Manager properties in your components.xml, see JBSEAM-4330 (https://jira.jboss.org/jira/browse/JBSEAM-4330) :</p>
<p>&lt;core:manager uri-encoding=&quot;ISO-8859-1&quot; &#8230;&gt;</p>
<p>take into account</p>
<p> &lt;web:character-encoding-filter 	encoding=&quot;UTF-8&quot;<br />
					override-client=&quot;true&quot;<br />
				        url-pattern=&quot;*.seam&quot;/&gt;</p>
<p>if first solution doesn&#039;t work</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/seam">seam</a> <a href="http://www.delicious.com/jpangamarca/special">special</a> <a href="http://www.delicious.com/jpangamarca/characters">characters</a> <a href="http://www.delicious.com/jpangamarca/caracteres">caracteres</a> <a href="http://www.delicious.com/jpangamarca/especiales">especiales</a> <a href="http://www.delicious.com/jpangamarca/url">url</a> <a href="http://www.delicious.com/jpangamarca/uri">uri</a> <a href="http://www.delicious.com/jpangamarca/tildes">tildes</a> <a href="http://www.delicious.com/jpangamarca/tilde">tilde</a> <a href="http://www.delicious.com/jpangamarca/acute">acute</a> <a href="http://www.delicious.com/jpangamarca/accent">accent</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/484/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=484&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/06/30/links-for-2011-06-29/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-06-10</title>
		<link>http://jpangamarca.wordpress.com/2011/06/11/links-for-2011-06-10/</link>
		<comments>http://jpangamarca.wordpress.com/2011/06/11/links-for-2011-06-10/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 06:05:17 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/06/11/links-for-2011-06-10/</guid>
		<description><![CDATA[etree.org &#124; md5sum.exe md5sum.exe &#8211; 48KB 88170 Downloads since 9/29/00 (tags: md5sum download check windows md5 software utilities tools checksum)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=483&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://etree.org/md5com.html">etree.org | md5sum.exe</a></div>
<div class="delicious-extended">md5sum.exe &#8211; 48KB         88170 Downloads since 9/29/00</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/md5sum">md5sum</a> <a href="http://www.delicious.com/jpangamarca/download">download</a> <a href="http://www.delicious.com/jpangamarca/check">check</a> <a href="http://www.delicious.com/jpangamarca/windows">windows</a> <a href="http://www.delicious.com/jpangamarca/md5">md5</a> <a href="http://www.delicious.com/jpangamarca/software">software</a> <a href="http://www.delicious.com/jpangamarca/utilities">utilities</a> <a href="http://www.delicious.com/jpangamarca/tools">tools</a> <a href="http://www.delicious.com/jpangamarca/checksum">checksum</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/483/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=483&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/06/11/links-for-2011-06-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-06-08</title>
		<link>http://jpangamarca.wordpress.com/2011/06/09/links-for-2011-06-08/</link>
		<comments>http://jpangamarca.wordpress.com/2011/06/09/links-for-2011-06-08/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 05:03:43 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/06/09/links-for-2011-06-08/</guid>
		<description><![CDATA[IPA transcription in Unicode The International Phonetic Alphabet in Unicode (tags: english language pronunciation phonetics linguistics phonetic) English-Spanish phonetic symbols English Pronunciation (tags: language english pronunciation phonetics)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=482&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://www.phon.ucl.ac.uk/home/wells/ipa-unicode.htm">IPA transcription in Unicode</a></div>
<div class="delicious-extended">The International Phonetic Alphabet in Unicode</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/english">english</a> <a href="http://www.delicious.com/jpangamarca/language">language</a> <a href="http://www.delicious.com/jpangamarca/pronunciation">pronunciation</a> <a href="http://www.delicious.com/jpangamarca/phonetics">phonetics</a> <a href="http://www.delicious.com/jpangamarca/linguistics">linguistics</a> <a href="http://www.delicious.com/jpangamarca/phonetic">phonetic</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.wordreference.com/es/phonetic_symbols.aspx">English-Spanish phonetic symbols</a></div>
<div class="delicious-extended">English Pronunciation</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/language">language</a> <a href="http://www.delicious.com/jpangamarca/english">english</a> <a href="http://www.delicious.com/jpangamarca/pronunciation">pronunciation</a> <a href="http://www.delicious.com/jpangamarca/phonetics">phonetics</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/482/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/482/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/482/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=482&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/06/09/links-for-2011-06-08/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-05-31</title>
		<link>http://jpangamarca.wordpress.com/2011/06/01/links-for-2011-05-31/</link>
		<comments>http://jpangamarca.wordpress.com/2011/06/01/links-for-2011-05-31/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 05:02:52 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/06/01/links-for-2011-05-31/</guid>
		<description><![CDATA[Java Examples &#8211; How do I get currency symbol? package org.kodejava.example.util; import java.util.Currency; import java.util.Locale; public class CurrencySymbol { public static void main(String[] args) { Currency currency = Currency.getInstance(Locale.JAPAN); System.out.println(&#34;Currency.getSymbol() = &#34; + currency.getSymbol()); currency = Currency.getInstance(Locale.UK); System.out.println(&#34;Currency.getSymbol() = &#34; + currency.getSymbol()); currency = Currency.getInstance(Locale.US); System.out.println(&#34;Currency.getSymbol() = &#34; + currency.getSymbol()); currency = Currency.getInstance(new Locale(&#34;in&#34;, &#34;ID&#34;)); [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=481&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://www.kodejava.org/examples/297.html">Java Examples &#8211; How do I get currency symbol?</a></div>
<div class="delicious-extended">package org.kodejava.example.util;</p>
<p>import java.util.Currency;<br />
import java.util.Locale;</p>
<p>public class CurrencySymbol {<br />
    public static void main(String[] args) {<br />
        Currency currency = Currency.getInstance(Locale.JAPAN);<br />
        System.out.println(&quot;Currency.getSymbol() = &quot; + currency.getSymbol());</p>
<p>        currency = Currency.getInstance(Locale.UK);<br />
        System.out.println(&quot;Currency.getSymbol() = &quot; + currency.getSymbol());</p>
<p>        currency = Currency.getInstance(Locale.US);<br />
        System.out.println(&quot;Currency.getSymbol() = &quot; + currency.getSymbol());</p>
<p>        currency = Currency.getInstance(new Locale(&quot;in&quot;, &quot;ID&quot;));<br />
        System.out.println(&quot;Currency.getSymbol() = &quot; + currency.getSymbol());<br />
    }<br />
}</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/get">get</a> <a href="http://www.delicious.com/jpangamarca/currency">currency</a> <a href="http://www.delicious.com/jpangamarca/symbol">symbol</a> <a href="http://www.delicious.com/jpangamarca/locale">locale</a> <a href="http://www.delicious.com/jpangamarca/code">code</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://stackoverflow.com/questions/248350/how-do-i-change-the-locale-that-jasper-uses">How do I change the locale that Jasper uses? &#8211; Stack Overflow</a></div>
<div class="delicious-extended">The locale is set during execution and is not stored in the JRXML file.</p>
<p>If you run the report through iReport, it is possible to set the report locale in the Options window under the &quot;Report execution options&quot; section in the General tab. This will change how iReport runs your report.</p>
<p>If you run the report embedded in Java, you set the REPORT_LOCALE parameter, like you mention. The following code is what I use:</p>
<p>Locale locale = new Locale(&quot;en&quot;, &quot;US&quot;);<br />
metadata.put(JRParameter.REPORT_LOCALE, locale);</p>
<p>Where metadata is the parameter map sent to fillReport(&#8230;).</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/ireport">ireport</a> <a href="http://www.delicious.com/jpangamarca/set">set</a> <a href="http://www.delicious.com/jpangamarca/locale">locale</a> <a href="http://www.delicious.com/jpangamarca/currency">currency</a> <a href="http://www.delicious.com/jpangamarca/symbol">symbol</a> <a href="http://www.delicious.com/jpangamarca/jasperreports">jasperreports</a> <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/reports">reports</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/481/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=481&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/06/01/links-for-2011-05-31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-05-30</title>
		<link>http://jpangamarca.wordpress.com/2011/05/31/links-for-2011-05-30/</link>
		<comments>http://jpangamarca.wordpress.com/2011/05/31/links-for-2011-05-30/#comments</comments>
		<pubDate>Tue, 31 May 2011 05:01:57 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/05/31/links-for-2011-05-30/</guid>
		<description><![CDATA[Seam Framework &#8211; How do I use multiple dynamic EntityManager&#039;s in Seam? For the purposes of this article a Seam project named example will be used. This is only important in regards to remembering the default generated naming of the persistence unit and other configuration, ect&#8230; which will default to the project name, example. (tags: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=480&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://seamframework.org/Documentation/HowDoIUseMultipleDynamicEntityManagersInSeam">Seam Framework &#8211; How do I use multiple dynamic EntityManager&#039;s in Seam?</a></div>
<div class="delicious-extended">For the purposes of this article a Seam project named example will be used. This is only important in regards to remembering the default generated naming of the persistence unit and other configuration, ect&#8230; which will default to the project name, example.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/seam">seam</a> <a href="http://www.delicious.com/jpangamarca/dynamic">dynamic</a> <a href="http://www.delicious.com/jpangamarca/entitty">entitty</a> <a href="http://www.delicious.com/jpangamarca/manager">manager</a> <a href="http://www.delicious.com/jpangamarca/change">change</a> <a href="http://www.delicious.com/jpangamarca/database">database</a> <a href="http://www.delicious.com/jpangamarca/connection">connection</a> <a href="http://www.delicious.com/jpangamarca/at">at</a> <a href="http://www.delicious.com/jpangamarca/runtime">runtime</a> <a href="http://www.delicious.com/jpangamarca/dynamically">dynamically</a> <a href="http://www.delicious.com/jpangamarca/programatically">programatically</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.coderanch.com/t/425402/open-source/byte-array-as-parameter-JasperReports">byte array as a parameter in JasperReports (Open Source Projects forum at JavaRanch)</a></div>
<div class="delicious-extended">I found the solution to my problem, I&#039;ll put the solution here if someone has the same problem.<br />
I was defining byte array parameter as an object and when I was adding it to the page it was by default added as a String in text field. The byte array was image which I wanted to display on the report, so first I had to convert byte array to ByteArrayInputStream on the Java side, define parameter as type InputStream, and then display it within the image, also as InputStream type.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/reports">reports</a> <a href="http://www.delicious.com/jpangamarca/jasperreports">jasperreports</a> <a href="http://www.delicious.com/jpangamarca/jasper">jasper</a> <a href="http://www.delicious.com/jpangamarca/ireport">ireport</a> <a href="http://www.delicious.com/jpangamarca/reporting">reporting</a> <a href="http://www.delicious.com/jpangamarca/show">show</a> <a href="http://www.delicious.com/jpangamarca/image">image</a> <a href="http://www.delicious.com/jpangamarca/byte">byte</a> <a href="http://www.delicious.com/jpangamarca/array">array</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/480/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=480&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/05/31/links-for-2011-05-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-05-27</title>
		<link>http://jpangamarca.wordpress.com/2011/05/28/links-for-2011-05-27/</link>
		<comments>http://jpangamarca.wordpress.com/2011/05/28/links-for-2011-05-27/#comments</comments>
		<pubDate>Sat, 28 May 2011 05:05:04 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/05/28/links-for-2011-05-27/</guid>
		<description><![CDATA[Capitalize.java public static String capitalize(String s) { if (s.length() == 0) return s; return s.substring(0, 1).toUpperCase() + s.substring(1).toLowerCase(); } (tags: capitalize string java tips programming) Recommendations for Charts and Graphics The Recommendations for Chart and Graphic comprise guidelines for the use of charts, graphics, images, colors and text. (tags: charts graficas graficos diseño design) label [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=479&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://introcs.cs.princeton.edu/java/31datatype/Capitalize.java.html">Capitalize.java</a></div>
<div class="delicious-extended">public static String capitalize(String s) { if (s.length() == 0) return s; return s.substring(0, 1).toUpperCase() + s.substring(1).toLowerCase(); }</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/capitalize">capitalize</a> <a href="http://www.delicious.com/jpangamarca/string">string</a> <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/tips">tips</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.sapdesignguild.org/resources/diagram%5Fguidelines/index.html">Recommendations for Charts and Graphics</a></div>
<div class="delicious-extended">The Recommendations for Chart and Graphic comprise guidelines for the use of charts, graphics, images, colors and text.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/charts">charts</a> <a href="http://www.delicious.com/jpangamarca/graficas">graficas</a> <a href="http://www.delicious.com/jpangamarca/graficos">graficos</a> <a href="http://www.delicious.com/jpangamarca/dise%C3%B1o">diseño</a> <a href="http://www.delicious.com/jpangamarca/design">design</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.logresource.com/Question/2780493/showall/#additionalAnswersMarker">label &#8211; How to wrap category labels in JfreeChart, Answer &#8211; LogResource</a></div>
<div class="delicious-extended">NumberAxis rangeAxis = (NumberAxis) plot.getRangeAxis();<br />
rangeAxis.setMaximumCategoryLabelLines(2);</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/jfreechart">jfreechart</a> <a href="http://www.delicious.com/jpangamarca/line">line</a> <a href="http://www.delicious.com/jpangamarca/break">break</a> <a href="http://www.delicious.com/jpangamarca/label">label</a> <a href="http://www.delicious.com/jpangamarca/split">split</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.jfree.org/phpBB2/viewtopic.php?p=75529&amp;sid=2836cfd433bfcb5a012d4bb485e4f00b">www.jfree.org • View topic &#8211; Remove space between bars in a horizontal bar Graph</a></div>
<div class="delicious-extended">(BarRenderer(renderer)).setItemMargin(0.0);</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/jfreechart">jfreechart</a> <a href="http://www.delicious.com/jpangamarca/remove">remove</a> <a href="http://www.delicious.com/jpangamarca/space">space</a> <a href="http://www.delicious.com/jpangamarca/between">between</a> <a href="http://www.delicious.com/jpangamarca/bars">bars</a> <a href="http://www.delicious.com/jpangamarca/barchart">barchart</a> <a href="http://www.delicious.com/jpangamarca/plot">plot</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://left.subtree.org/2007/08/14/rotate-labels-jfreechart/">Rotate Labels JFreeChart « Andrew E. Bruno</a></div>
<div class="delicious-extended">CategoryPlot plot = (CategoryPlot)chart.getPlot(); CategoryAxis xAxis = (CategoryAxis)plot.getDomainAxis(); xAxis.setCategoryLabelPositions(CategoryLabelPositions.UP_45);</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/jfreechart">jfreechart</a> <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/chart">chart</a> <a href="http://www.delicious.com/jpangamarca/rotate">rotate</a> <a href="http://www.delicious.com/jpangamarca/label">label</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/479/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/479/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=479&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/05/28/links-for-2011-05-27/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-05-24</title>
		<link>http://jpangamarca.wordpress.com/2011/05/25/links-for-2011-05-24/</link>
		<comments>http://jpangamarca.wordpress.com/2011/05/25/links-for-2011-05-24/#comments</comments>
		<pubDate>Wed, 25 May 2011 05:05:14 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/05/25/links-for-2011-05-24/</guid>
		<description><![CDATA[Backup your MySQL databases automatically with AutoMySQLBackup &#124; MDLog:/sysadmin AutoMySQLBackup has all the features I needed: it can backup a single database, multiple databases, or all the databases on the server; each database is saved in a separate file that can be compressed (with gzip or bzip2); it will rotate the backups and not keep [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=478&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://www.ducea.com/2006/05/27/backup-your-mysql-databases-automatically-with-automysqlbackup/">Backup your MySQL databases automatically with AutoMySQLBackup | MDLog:/sysadmin</a></div>
<div class="delicious-extended">AutoMySQLBackup has all the features I needed: it can backup a single database, multiple databases, or all the databases on the server; each database is saved in a separate file that can be compressed (with gzip or bzip2); it will rotate the backups and not keep them filling your hard drive (as normal in the daily backup you will have only the last 7 days of backups, the weekly if enabled will have one for each week, etc.). It has also some other features (check the project homepage for full details), that I am not using myself (like email logs for example), but other peoples might find interesting.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/mysql">mysql</a> <a href="http://www.delicious.com/jpangamarca/autobackup">autobackup</a> <a href="http://www.delicious.com/jpangamarca/backup">backup</a> <a href="http://www.delicious.com/jpangamarca/database">database</a> <a href="http://www.delicious.com/jpangamarca/sysadmin">sysadmin</a> <a href="http://www.delicious.com/jpangamarca/dba">dba</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.noupe.com/how-tos/10-ways-to-automatically-manually-backup-mysql-database.html">10 Ways to Automatically &amp; Manually Backup MySQL Database &#8211; Noupe Design Blog</a></div>
<div class="delicious-extended">MySQL is one of the most popular open source database management system for the development of interactive Websites.</p>
<p>If your site stores its sensitive data in a MySQL database, you will most definitely want to backup that information so that it can be restored in case of any disaster (we all have been there).</p>
<p>There are several ways to backup MySQL data. In this article we’ll look at how to backup your databases using different methods, we will also learn how to achieve an automatic backup solution to make the process easier. Starting with the mysqldump utility that comes with MySQL, we will review several examples using mysqldump, including the backup of your database to a file, another server, and even a compressed gzip file and send it to your email.</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/mysql">mysql</a> <a href="http://www.delicious.com/jpangamarca/backup">backup</a> <a href="http://www.delicious.com/jpangamarca/autobackup">autobackup</a> <a href="http://www.delicious.com/jpangamarca/database">database</a> <a href="http://www.delicious.com/jpangamarca/sysadmin">sysadmin</a> <a href="http://www.delicious.com/jpangamarca/dba">dba</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.debian-administration.org/articles/530">SSH with authentication key instead of password</a></div>
<div class="delicious-extended">SSH is a must use tool for system administrators. However, residing access security on a human entered password is not very wise. Script kiddies may break into your system due to a lazy user with a weak password. And it is beyond the system administrator power to make users choose good passwords.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/linux">linux</a> <a href="http://www.delicious.com/jpangamarca/ssh">ssh</a> <a href="http://www.delicious.com/jpangamarca/authentication">authentication</a> <a href="http://www.delicious.com/jpangamarca/key">key</a> <a href="http://www.delicious.com/jpangamarca/keys">keys</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://alexander.holbreich.org/2010/01/java-jboss-debian-linux/">JBoss 5 GA on Debian linux</a></div>
<div class="delicious-extended">This short tutorial describes how to configure JBoss Application Server (Jboss GA 5.1.0) on a debian linux (Debian GNU/Linux 5.x “Lenny” ). Article starts with installation of java JDK and continues with JBoss installation and basic configuration according to standard  file system hierarchy. Also init.d. scripts configuration is given here.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/jboss">jboss</a> <a href="http://www.delicious.com/jpangamarca/debian">debian</a> <a href="http://www.delicious.com/jpangamarca/linux">linux</a> <a href="http://www.delicious.com/jpangamarca/start">start</a> <a href="http://www.delicious.com/jpangamarca/as">as</a> <a href="http://www.delicious.com/jpangamarca/service">service</a> <a href="http://www.delicious.com/jpangamarca/howto">howto</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://seamframework.org/Community/15GotchasInSeam">Seam Framework &#8211; 15 gotchas in seam</a></div>
<div class="delicious-extended">15 gotchas in seam</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/seam">seam</a> <a href="http://www.delicious.com/jpangamarca/tips">tips</a> <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/framework">framework</a> <a href="http://www.delicious.com/jpangamarca/debug">debug</a> <a href="http://www.delicious.com/jpangamarca/gotcha">gotcha</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://shervinasgari.blogspot.com/2009_10_01_archive.html">Java, write once, run away!: October 2009</a></div>
<div class="delicious-extended">There seem to be a problem with IE8 and Seam applications. We are running Seam 2.1, JSF 1.2 and Facelets, and I cannot say for sure where the bug is. For all I know its a bug with IE8.</p>
<p>There seem to be problems when creating long-running conversations. In link using IE8 the cid doesnt appear. Somehow it is stripped or doesn&#039;t render correctly, and it causes some strange behaviour.<br />
When trying to create a long running conversation by pushing an edit link for instance, we get a &quot;Your session has timeout&quot; exception.</p>
<p>We fixed this IE8 problem by telling Internet Explorer to emulate IE7 in pages.xml</p>
<p>&lt;page view-id=&quot;*&quot;&gt;<br />
       &lt;header name=&quot;X-UA-Compatible&quot;&gt;IE=EmulateIE7&lt;/header&gt;<br />
&lt;/page&gt;</p>
<p>I suggest you do the same until the bug is identified and fixed.</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/seam">seam</a> <a href="http://www.delicious.com/jpangamarca/ie8">ie8</a> <a href="http://www.delicious.com/jpangamarca/internet">internet</a> <a href="http://www.delicious.com/jpangamarca/explorer">explorer</a> <a href="http://www.delicious.com/jpangamarca/8">8</a> <a href="http://www.delicious.com/jpangamarca/bug">bug</a> <a href="http://www.delicious.com/jpangamarca/ie7">ie7</a> <a href="http://www.delicious.com/jpangamarca/7">7</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/478/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/478/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/478/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/478/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/478/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/478/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/478/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=478&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/05/25/links-for-2011-05-24/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-05-20</title>
		<link>http://jpangamarca.wordpress.com/2011/05/21/links-for-2011-05-20/</link>
		<comments>http://jpangamarca.wordpress.com/2011/05/21/links-for-2011-05-20/#comments</comments>
		<pubDate>Sat, 21 May 2011 05:04:56 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/05/21/links-for-2011-05-20/</guid>
		<description><![CDATA[Obscured Clarity: Get First Day of Month Date Object in Java # import java.text.DateFormat; # import java.text.SimpleDateFormat; # import java.util.Calendar; # import java.util.Date; # # // Java 1.4+ Compatible # // # // The following example code demonstrates how to get # // a Date object representing the first day of the month # // [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=477&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://obscuredclarity.blogspot.com/2010/08/get-first-day-of-month-date-object-in.html">Obscured Clarity: Get First Day of Month Date Object in Java</a></div>
<div class="delicious-extended"># import java.text.DateFormat;<br />
# import java.text.SimpleDateFormat;<br />
# import java.util.Calendar;<br />
# import java.util.Date;<br />
#<br />
# // Java 1.4+ Compatible<br />
# //<br />
# // The following example code demonstrates how to get<br />
# // a Date object representing the first day of the month<br />
# // relative to a given Date object.<br />
#<br />
# public class GetFirstDayOfMonth {<br />
#<br />
#     public static void main(String[] args) {<br />
#<br />
#         Date today = new Date();<br />
#<br />
#         Calendar calendar = Calendar.getInstance();<br />
#         calendar.setTime(today);<br />
#<br />
#         calendar.set(Calendar.DAY_OF_MONTH, 1);<br />
#<br />
#         Date firstDayOfMonth = calendar.getTime();<br />
#<br />
#         DateFormat sdf = new SimpleDateFormat(&quot;yyyy-MM-dd&quot;);<br />
#         System.out.println(&quot;Today             : &quot; + sdf.format(today));<br />
#         System.out.println(&quot;First Day of Month: &quot; + sdf.format(firstDayOfMonth));<br />
#     }<br />
# }</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/java">java</a> <a href="http://www.delicious.com/jpangamarca/get">get</a> <a href="http://www.delicious.com/jpangamarca/first">first</a> <a href="http://www.delicious.com/jpangamarca/day">day</a> <a href="http://www.delicious.com/jpangamarca/of">of</a> <a href="http://www.delicious.com/jpangamarca/month">month</a> <a href="http://www.delicious.com/jpangamarca/tips">tips</a> <a href="http://www.delicious.com/jpangamarca/programming">programming</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/477/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=477&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/05/21/links-for-2011-05-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-05-13</title>
		<link>http://jpangamarca.wordpress.com/2011/05/14/links-for-2011-05-13/</link>
		<comments>http://jpangamarca.wordpress.com/2011/05/14/links-for-2011-05-13/#comments</comments>
		<pubDate>Sat, 14 May 2011 05:03:38 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/05/14/links-for-2011-05-13/</guid>
		<description><![CDATA[Midnight Commander / MC Tutorial Command line: For anonymous sites, the format is cd ftp://ftp.yoursite.com To connect to a site with a password (non-anonymous), cd ftp://username:password@ftp.yoursite.com (This may return an error message if you did not specify a directory, but will connect you anyway.) Or type in the full path: cd ftp://username:password@ftp.yoursite.com/public_html Left / Right [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=476&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://www.trembath.co.za/mctutorial.html#mozTocId427491">Midnight Commander / MC Tutorial</a></div>
<div class="delicious-extended">Command line: For anonymous sites, the format is cd ftp://ftp.yoursite.com</p>
<p>To connect to a site with a password (non-anonymous),<br />
cd ftp://username:password@ftp.yoursite.com<br />
   (This may return an error message if you did not specify a directory, but will connect you anyway.)<br />
    Or type in the full path: cd ftp://username:password@ftp.yoursite.com/public_html</p>
<p>Left / Right dropdown menu: will connect on that respective side. Arrow down to FTP link, or use hotkey P. A dialog box will request the FTP address in the same format:<br />
Anonymous: ftp.yoursite.com<br />
Non-anonymous: username:password@ftp.yoursite.com/public_html</p></div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/ftp">ftp</a> <a href="http://www.delicious.com/jpangamarca/file">file</a> <a href="http://www.delicious.com/jpangamarca/transfer">transfer</a> <a href="http://www.delicious.com/jpangamarca/mc">mc</a> <a href="http://www.delicious.com/jpangamarca/midnight">midnight</a> <a href="http://www.delicious.com/jpangamarca/commander">commander</a> <a href="http://www.delicious.com/jpangamarca/howto">howto</a> <a href="http://www.delicious.com/jpangamarca/manual">manual</a> <a href="http://www.delicious.com/jpangamarca/tutorial">tutorial</a> <a href="http://www.delicious.com/jpangamarca/midnightcommander">midnightcommander</a> <a href="http://www.delicious.com/jpangamarca/linux">linux</a> <a href="http://www.delicious.com/jpangamarca/sysadmin">sysadmin</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/476/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=476&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/05/14/links-for-2011-05-13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
		<item>
		<title>links for 2011-05-11</title>
		<link>http://jpangamarca.wordpress.com/2011/05/12/links-for-2011-05-11/</link>
		<comments>http://jpangamarca.wordpress.com/2011/05/12/links-for-2011-05-11/#comments</comments>
		<pubDate>Thu, 12 May 2011 05:02:32 +0000</pubDate>
		<dc:creator>Juan Pablo Angamarca</dc:creator>
				<category><![CDATA[delicious]]></category>

		<guid isPermaLink="false">http://jpangamarca.wordpress.com/2011/05/12/links-for-2011-05-11/</guid>
		<description><![CDATA[INDICADORES EN MANTENIMIENTO Uno de los problemas a los que se enfrenta un responsable de mantenimiento que quiere mejorar los resultados del departamento a su cargo es que debe MEDIR la evolución de los aspectos más importantes que definen o determinan la calidad de su trabajo. ¿pero cuales son esos indicadores? ¿Qué parámetros determinan que [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=475&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://www.renovetec.com/indicadores.html">INDICADORES EN MANTENIMIENTO</a></div>
<div class="delicious-extended">Uno de los problemas a los que se enfrenta un responsable de mantenimiento que quiere mejorar los resultados del departamento a su cargo es que debe MEDIR la evolución de los aspectos más importantes que definen o determinan la calidad de su trabajo. ¿pero cuales son esos indicadores? ¿Qué parámetros determinan que el trabajo de un departamento se está haciendo bien o mal?</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/mantenimiento">mantenimiento</a> <a href="http://www.delicious.com/jpangamarca/equipos">equipos</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.lockergnome.com/windows/2005/07/26/add-a-line-break-to-your-cell-excel-20022003/">Add A Line Break To Your Cell (Excel 2002/2003) Windows Fanatics</a></div>
<div class="delicious-extended">The trick to this is that if you want to add a line break within a cell, press Alt + Enter, instead of just Enter.</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/excel">excel</a> <a href="http://www.delicious.com/jpangamarca/insert">insert</a> <a href="http://www.delicious.com/jpangamarca/line">line</a> <a href="http://www.delicious.com/jpangamarca/break">break</a> <a href="http://www.delicious.com/jpangamarca/in">in</a> <a href="http://www.delicious.com/jpangamarca/cell">cell</a> <a href="http://www.delicious.com/jpangamarca/tips">tips</a> <a href="http://www.delicious.com/jpangamarca/office">office</a>)</div>
</li>
<li>
<div class="delicious-link"><a href="http://www.codeproject.com/KB/vista-security/UAC_Shield_for_Elevation.aspx">Add a UAC shield to a button when elevation is required for admin tasks &#8211; CodeProject</a></div>
<div class="delicious-extended">Any application that does not always need administrator privileges should not run with them by default. However, when a user wants to perform a task that requires elevation, you need to show them that this is required by displaying the Vista shield icon. When this is clicked, your application will then need to restart with administrator privileges. Interested? Then read on&#8230;</div>
<div class="delicious-tags">(tags: <a href="http://www.delicious.com/jpangamarca/uac">uac</a> <a href="http://www.delicious.com/jpangamarca/windows">windows</a> <a href="http://www.delicious.com/jpangamarca/vista">vista</a> <a href="http://www.delicious.com/jpangamarca/7">7</a> <a href="http://www.delicious.com/jpangamarca/shield">shield</a> <a href="http://www.delicious.com/jpangamarca/admin">admin</a> <a href="http://www.delicious.com/jpangamarca/task">task</a> <a href="http://www.delicious.com/jpangamarca/elevation">elevation</a> <a href="http://www.delicious.com/jpangamarca/codeproject">codeproject</a> <a href="http://www.delicious.com/jpangamarca/.net">.net</a> <a href="http://www.delicious.com/jpangamarca/C%23">C#</a>)</div>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpangamarca.wordpress.com/475/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpangamarca.wordpress.com/475/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpangamarca.wordpress.com/475/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpangamarca.wordpress.com/475/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpangamarca.wordpress.com/475/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpangamarca.wordpress.com/475/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpangamarca.wordpress.com/475/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpangamarca.wordpress.com/475/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpangamarca.wordpress.com/475/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpangamarca.wordpress.com/475/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpangamarca.wordpress.com/475/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpangamarca.wordpress.com/475/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpangamarca.wordpress.com/475/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpangamarca.wordpress.com/475/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpangamarca.wordpress.com&amp;blog=1033576&amp;post=475&amp;subd=jpangamarca&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpangamarca.wordpress.com/2011/05/12/links-for-2011-05-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2a1e7dc3c380ec5a8fc4d3a93d94ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jpangamarca</media:title>
		</media:content>
	</item>
	</channel>
</rss>
