<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;AkcHSHo-eyp7ImA9WhRRFE4.&quot;"><id>tag:blogger.com,1999:blog-19000979</id><updated>2011-11-27T15:53:59.453-08:00</updated><category term="kaiser" /><category term="flooding" /><category term="continuous integration" /><category term="divx" /><category term="dashboard plugin" /><category term="chamrousse" /><category term="space manager" /><category term="resource files" /><category term="france" /><category term="powerball" /><category term="benchmark" /><category term="tomcat" /><category term="youtube" /><category term="mind mapping" /><category term="dvd" /><category term="maven 2" /><category term="grimchallenge" /><category term="firefox" /><category term="httpunit" /><category term="carpal tunnel syndrome" /><category term="disk apace" /><category term="browser" /><category term="mpeg" /><category term="windirstat" /><category term="tony buzan" /><category term="parametrised resources" /><category term="anthill" /><category term="Allen Carr" /><category term="solaris" /><category term="anthillpro" /><category term="plugin eclipse" /><category term="brasil" /><category term="powerpoint" /><category term="SCM" /><category term="santa catarina" /><category term="ant" /><category term="tendinitis" /><category term="java" /><category term="tropa de elite movie" /><category term="ahp" /><category term="Exporting youtube videos" /><category term="quit smoking" /><category term="htc" /><category term="Google PowerPoint Clone" /><category term="videos" /><category term="decompilador" /><category term="XML" /><category term="Presentation Tool" /><category term="maven2" /><category term="City of God" /><category term="brazil" /><category term="google chrome" /><category term="resin" /><category term="imindmap" /><category term="android" /><category term="maven plugin" /><category term="blogger" /><category term="decompiler" /><category term="rotor" /><category term="Google Docs presentations feature" /><category term="office applications" /><category term="smoking" /><category term="multi rows tabs" /><category term="log" /><category term="environment resources" /><category term="snowboarding" /><category term="oracle dates" /><category term="Nightly builds" /><category term="gmail" /><category term="oracle timestamps" /><category term="google" /><category term="snowboard" /><title>Echo in UK</title><subtitle type="html">SOA, Java and life in UK</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://echofloripa.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>33</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/lvXV" /><feedburner:info uri="blogspot/lvxv" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;C0cERXs5eSp7ImA9WxRbGE4.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-8518245629369900722</id><published>2008-12-09T04:22:00.000-08:00</published><updated>2008-12-09T05:56:44.521-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-09T05:56:44.521-08:00</app:edited><title /><content type="html">&lt;div&gt;Hi All&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I've made it!!!!  &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Against all odds, lack of proper training and my injured knee, I managed to finish the 8 miles (12.8 km) race,  in 1:18 hour, in 648th place, from a total of 2.500 participants. Not bad at all : ) &lt;/div&gt;&lt;div&gt;It wasn't easy though: a circuit loaded with huge ponds, 1/2 meter deep mud, hills, downhills and steep eroded parts, it was for sure the hardest physical activity I ever did so far in my life. At the end of the race your body just ask you to stop and you try to not listen to it and just carry on until the end. I think it will take one week for me to be able to walk normally again : )&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;But it was definitely worth it and I will surely do it again next year, with a healthy knee and plenty of training!!! &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The rain have stopped in my state Santa Catarina, leaving a total of 122 deaths and more than 80 people missing, but there are still thousands of people homeless and in need of basic help. &lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;My initiative even attracted the attention of the Brazilian media. See here a report that was broadcasted last week. it seems I'm sort of famous in Brazil now : )&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://uk.youtube.com/watch?v=QUThtCOEhUI&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;More pictures and videos of the race:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;http://echofloripa.multiply.com/photos/album/115/Grim_Challenge&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://uk.youtube.com/watch?v=tPBtmC_p0I8&lt;/div&gt;&lt;div&gt;http://uk.youtube.com/watch?v=B9KJb-eEheI&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Some recent news about the flooding:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://news.xinhuanet.com/english/2008-12/07/content_10467685.htm&lt;/div&gt;&lt;div&gt;http://www.clicrbs.com.br/especial/sc/sos-sc/galeria/lista&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-8518245629369900722?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/8518245629369900722/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=8518245629369900722" title="41 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/8518245629369900722?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/8518245629369900722?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/58TNFJvGa8o/hi-all-ive-made-it-against-all-odds.html" title="" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><thr:total>41</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/12/hi-all-ive-made-it-against-all-odds.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkEGSH89eSp7ImA9WxRbFkU.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-4972612689520325684</id><published>2008-12-07T08:26:00.000-08:00</published><updated>2008-12-07T14:23:49.161-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-07T14:23:49.161-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="flooding" /><category scheme="http://www.blogger.com/atom/ns#" term="grimchallenge" /><title>Grim Challenge 8 2008 Race</title><content type="html">&lt;div&gt;Just a short update, I went quite well in the race, I finished it!!! It was muh much garder than I could had ever imagined!!!&lt;div&gt;I was with my knee injured and I thougth even that wouldn't be able to compete.&lt;/div&gt;&lt;div&gt;Tomorrow I will put more info herewith  the results, timing and position.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;They will be published here:&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.grimchallenge.co.uk/grim8/results.html"&gt;http://www.grimchallenge.co.uk/grim8/results.html&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;A few videos:&lt;/div&gt;&lt;div&gt;&lt;a href="http://uk.youtube.com/watch?v=tPBtmC_p0I8"&gt;http://uk.youtube.com/watch?v=tPBtmC_p0I8&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;A few pictures of the event:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Getting ready!!!!&lt;/div&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV52zvwZVWY/STwMGOS3-TI/AAAAAAAAAWw/8U4sB-BQymM/s1600-h/P1000243.JPG"&gt;&lt;img src="http://2.bp.blogspot.com/_dV52zvwZVWY/STwMGOS3-TI/AAAAAAAAAWw/8U4sB-BQymM/s320/P1000243.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5277106164427389234" style="cursor: pointer; width: 240px; height: 320px; " /&gt;&lt;/a&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_dV52zvwZVWY/STxMbwWbocI/AAAAAAAAAYI/GsmtEzMAJZ0/s1600-h/DSC03452.JPG"&gt;Where is wally?&lt;br /&gt;&lt;img src="http://1.bp.blogspot.com/_dV52zvwZVWY/STxMbwWbocI/AAAAAAAAAYI/GsmtEzMAJZ0/s320/DSC03452.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5277176903090545090" style="cursor: pointer; width: 240px; height: 320px; " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV52zvwZVWY/STwMGUn2y0I/AAAAAAAAAW4/hfSCrZ960Ng/s1600-h/P1000253.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 240px; height: 320px;" src="http://2.bp.blogspot.com/_dV52zvwZVWY/STwMGUn2y0I/AAAAAAAAAW4/hfSCrZ960Ng/s320/P1000253.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5277106166126005058" /&gt;&lt;/a&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV52zvwZVWY/STwMGzHwA7I/AAAAAAAAAXA/wydvh5D8X30/s1600-h/P1000255.JPG"&gt;Almost there....:&lt;br /&gt;&lt;img src="http://2.bp.blogspot.com/_dV52zvwZVWY/STwMGzHwA7I/AAAAAAAAAXA/wydvh5D8X30/s320/P1000255.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5277106174312842162" style="cursor: pointer; width: 320px; height: 240px; " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_dV52zvwZVWY/STxMcTlt6oI/AAAAAAAAAYY/5kesxlFgHAw/s1600-h/DSC03458.JPG"&gt;&lt;img src="http://1.bp.blogspot.com/_dV52zvwZVWY/STxMcTlt6oI/AAAAAAAAAYY/5kesxlFgHAw/s320/DSC03458.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5277176912549898882" style="cursor: pointer; width: 320px; height: 240px; " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); text-decoration: underline;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0); "&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV52zvwZVWY/STwMHATLvhI/AAAAAAAAAXI/Br5B1amkj8I/s1600-h/P1000263.JPG"&gt;&lt;img src="http://2.bp.blogspot.com/_dV52zvwZVWY/STwMHATLvhI/AAAAAAAAAXI/Br5B1amkj8I/s320/P1000263.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5277106177850457618" style="cursor: pointer; width: 240px; height: 320px; " /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV52zvwZVWY/STwMHlP1MkI/AAAAAAAAAXQ/MHsuWabHfCU/s1600-h/P1000265.JPG"&gt;&lt;img src="http://2.bp.blogspot.com/_dV52zvwZVWY/STwMHlP1MkI/AAAAAAAAAXQ/MHsuWabHfCU/s320/P1000265.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5277106187768508994" style="cursor: pointer; width: 320px; height: 240px; " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_dV52zvwZVWY/STxMcpuMwQI/AAAAAAAAAYo/yDeEwAWDmew/s1600-h/DSC03462.JPG"&gt;&lt;img src="http://1.bp.blogspot.com/_dV52zvwZVWY/STxMcpuMwQI/AAAAAAAAAYo/yDeEwAWDmew/s320/DSC03462.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5277176918491054338" style="cursor: pointer; width: 240px; height: 320px; " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV52zvwZVWY/STxMcXsGnGI/AAAAAAAAAYg/A6_RCklxEJo/s1600-h/DSC03459.JPG"&gt;&lt;img src="http://2.bp.blogspot.com/_dV52zvwZVWY/STxMcXsGnGI/AAAAAAAAAYg/A6_RCklxEJo/s320/DSC03459.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5277176913650424930" style="cursor: pointer; width: 240px; height: 320px; " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dV52zvwZVWY/STxMcHyQhVI/AAAAAAAAAYQ/Rx6W5vQt1d0/s1600-h/DSC03456.JPG"&gt;&lt;img src="http://3.bp.blogspot.com/_dV52zvwZVWY/STxMcHyQhVI/AAAAAAAAAYQ/Rx6W5vQt1d0/s320/DSC03456.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5277176909381272914" style="cursor: pointer; width: 240px; height: 320px; " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-4972612689520325684?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/4972612689520325684/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=4972612689520325684" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/4972612689520325684?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/4972612689520325684?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/C4rBOGT0gKc/grim-challenge-8-2008-race.html" title="Grim Challenge 8 2008 Race" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_dV52zvwZVWY/STwMGOS3-TI/AAAAAAAAAWw/8U4sB-BQymM/s72-c/P1000243.JPG" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/12/grim-challenge-8-2008-race.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUEQH0-fSp7ImA9WxRbFks.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-81935904665376793</id><published>2008-11-29T04:12:00.000-08:00</published><updated>2008-12-07T08:26:41.355-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-07T08:26:41.355-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="flooding" /><category scheme="http://www.blogger.com/atom/ns#" term="santa catarina" /><title>HELP FOR THE VICTIMS OF THE FLOODINGS IN BRAZIL. My 8 miles race challenge!!</title><content type="html">&lt;span class="Apple-style-span"   style="border-collapse: collapse; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;font-family:arial;font-size:13;"&gt;&lt;span style="font-size:100%;"&gt;Hi All&lt;br /&gt;&lt;br /&gt;I am going to be &lt;a href="http://www.grimchallenge.co.uk/"&gt;running 8 miles in the mud&lt;/a&gt; on Saturday 6th December&lt;br /&gt;to raise money for the victims of the flooding in the south of Brazil&lt;br /&gt;(in my home state Santa Catarina). The flood has claimed more than 109&lt;br /&gt;lives and left more than 80000 people without homes, food or water. The situation is overwhelming, people really need help now!!!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://ibahia.globo.com/recursos/BancoImagens/%7B060385D3-A126-48CE-BAC7-B74CDC56E634%7D_sc.jpg"&gt;&lt;img style="cursor: pointer; width: 263px; height: 197px;" src="http://ibahia.globo.com/recursos/BancoImagens/%7B060385D3-A126-48CE-BAC7-B74CDC56E634%7D_sc.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://newsimg.bbc.co.uk/media/images/45248000/jpg/_45248106_-241.jpg"&gt;&lt;img style="cursor: pointer; width: 260px; height: 195px;" src="http://newsimg.bbc.co.uk/media/images/45248000/jpg/_45248106_-241.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"   style="border-collapse: collapse; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;font-family:arial;font-size:13;"&gt;&lt;span style="font-size:100%;"&gt;For more details of the challenge I have set myself see:&lt;br /&gt;&lt;a href="http://www.grimchallenge.co.uk/" target="_blank" style="color: rgb(51, 51, 204);"&gt;http://www.grimchallenge.co.&lt;wbr&gt;uk/&lt;/a&gt;&lt;br /&gt;For more information of the Brazilian flooding:&lt;br /&gt;&lt;a href="http://news.bbc.co.uk/1/hi/world/americas/7753744.stm" target="_blank" style="color: rgb(51, 51, 204);"&gt;http://news.bbc.co.uk/1/hi/&lt;wbr&gt;world/americas/7753744.stm&lt;/a&gt;&lt;br /&gt;http://english.aljazeera.net/news/americas/2008/11/20081129101739685948.html&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="border-collapse: separate;  font-family:Georgia;"&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Update:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Georgia;"&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Verdana;"&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana; font-weight: bold; "&gt; If you woul like to donate directly, please use the bank accounts in brasil provided in the civil defense page:&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Verdana;"&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Verdana;"&gt;&lt;a href="http://www.desastre.sc.gov.br/index.php?option=com_content&amp;amp;view=article&amp;amp;id=5:contas-bancarias&amp;amp;catid=13:doacoes&amp;amp;Itemid=2"&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;http://www.desastre.sc.gov.br/index.php?option=com_content&amp;amp;view=article&amp;amp;id=5:contas-bancarias&amp;amp;catid=13:doacoes&amp;amp;Itemid=2&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Verdana;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://newsimg.bbc.co.uk/media/images/45238000/gif/_45238140_brazil_floods_466.gif"&gt;&lt;img style="cursor: pointer; width: 474px; height: 245px;" src="http://newsimg.bbc.co.uk/media/images/45238000/gif/_45238140_brazil_floods_466.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I decided to do this only 2 days ago. I was going to do a donation myself, then I thought: "I think I could get more people to help", and then a friend of mine told me she couldn't run in the race as she got injured, my chance then, I set-up this separated account in my bank, sent an email around the work asking for sponsorship, and now I make this request online, to anyone who would like to help. I consider myself a relatively fit person :) But I think 8 miles (13 kms) on the mud won't be an easy job, so I started training harder at the gym since yesterday. I did 4 kms yesterday, not too bad  for the first day. Now I will try to increase 2 kms every day, so being very optmistic by tuesday/wednesday I would be reaching the necessary 13 kms!!! :) Then put a huge pond ont he top of it, and you've got a real challenge. I'm totally sure it will be worth it to help my countryman in need!!!&lt;br /&gt;&lt;br /&gt;Map with cities and roads affectted:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.estadao.com.br/fotos/novo_mapa_calamidades_27-11.gif"&gt;&lt;img style="cursor: pointer; width: 318px; height: 549px;" src="http://www.estadao.com.br/fotos/novo_mapa_calamidades_27-11.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-style-span"   style="border-collapse: collapse; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;font-family:arial;font-size:13;"&gt;&lt;span style="font-size:100%;"&gt;Thanks&lt;br /&gt;Emerson Cargnin&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-81935904665376793?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/81935904665376793/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=81935904665376793" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/81935904665376793?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/81935904665376793?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/en4VHQck02M/help-for-victims-of-floodings-in-brazil.html" title="HELP FOR THE VICTIMS OF THE FLOODINGS IN BRAZIL. My 8 miles race challenge!!" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/11/help-for-victims-of-floodings-in-brazil.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUIMQng9eSp7ImA9WxRVEEg.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-7013042296663698685</id><published>2008-11-06T09:31:00.003-08:00</published><updated>2008-11-07T02:26:23.661-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-07T02:26:23.661-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="log" /><category scheme="http://www.blogger.com/atom/ns#" term="tomcat" /><category scheme="http://www.blogger.com/atom/ns#" term="solaris" /><title>TOMCAT LOGS: Rotating catalina.out on a solaris box</title><content type="html">I tried several different solutions for getting a rotated log on tomcat. I tried configuring a new tomcat.log and putting log4j and commonslog jars inside common/lib, but that just created a new log. When I thought I would have to live with the endless catalina.out, I tried logadm, which with a few configurations actually worked just as I wanted!!!&lt;br /&gt;&lt;br /&gt;So here it goes.&lt;br /&gt;&lt;br /&gt;1) In a directory which the user you are running tomcat can write create a file called  logadm.conf with the following content (assuming tomcat is in the  /opt/tomcat/ folder):&lt;br /&gt;&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;&lt;/span&gt;/opt/tomcat/logs/catalina.out -C 15 -c -t '/opt/tomcat/logs/$basename.%Y-%m-%d'&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;2) Create a cron job for the same user (assuming you saved the configuration in /opt/tomcat/logrotate):&lt;br /&gt;&lt;br /&gt;You can add the cron entry to the user that is running tomcat in the following way:&lt;br /&gt;&lt;br /&gt;export EDITOR=vi&lt;br /&gt;crontab -e&lt;br /&gt;&lt;br /&gt;add the line:&lt;br /&gt;&lt;br /&gt;0 0 * * * logadm -f /opt/tomcat/logrotate/logadm.conf&lt;br /&gt;&lt;br /&gt;This will make it run every midnight of everyday.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Explanation on the parameters of  logadm&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;This command, that exists since the solaris 9, will rotate the catalina.out, will rotate the specified log file. The -C tells how many old copies of the files will be kept. The -c is the secret here. It will truncate the log file instead of renaming. This way tomcat keeps the handle to the file and can keep logging. -t uses a template to create the rotated files. Without that it will just append a .1, .2, etc.&lt;br /&gt;&lt;br /&gt;You should run it manually before adding to your crontab.&lt;br /&gt;&lt;br /&gt;That should be all!!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-7013042296663698685?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/7013042296663698685/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=7013042296663698685" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/7013042296663698685?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/7013042296663698685?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/8YBGjDG1loo/tomcat-logs-rotating-catalinaout-on.html" title="TOMCAT LOGS: Rotating catalina.out on a solaris box" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><thr:total>3</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/11/tomcat-logs-rotating-catalinaout-on.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYBSXYycCp7ImA9WxRSGE8.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-2394480144535209328</id><published>2008-09-18T18:00:00.000-07:00</published><updated>2008-09-19T03:29:18.898-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-19T03:29:18.898-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="google chrome" /><title>Update to new version Chrome  0.2.149.30 - Release notes?</title><content type="html">&lt;div&gt;I just updated my version of Chrome to 0.2.149.30. Surprisingly it doesn't come with a "new release detector", so you will have to go to tools button and them choose "about google chrome" and then it will detect it's outdated and you can press in the link to upgrade. &lt;/div&gt;&lt;div&gt;I had posted before with my first impressions of my first week using google chrome:&lt;br /&gt;&lt;/div&gt;&lt;a href="http://echofloripa.blogspot.com/2008/09/google-chrome-7-days-after-updated.html"&gt;http://echofloripa.blogspot.com/2008/09/google-chrome-7-days-after-updated.html&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I could notice that the problem with the link was solved. Also the mouse wheel problem now seems to be solved as well. But still the lack of add-ons is really annoying.&lt;/div&gt;&lt;div&gt;&lt;div&gt;What I see as a problem is the lack of a release notes with the changes made to this new version. Is it or not an open-source software? It should come with a proper release notes of the major  changes made.&lt;/div&gt;&lt;div&gt;[edit] Just found out that there is a blog with the &lt;a href="http://googlechromereleases.blogspot.com/2008/09/beta-release-0214930.html"&gt;release notes&lt;/a&gt;. Why google doesn't make our lives easier putting a link in the download page or in the official google blog, I don't know :)&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://googlechromereleases.blogspot.com/"&gt;http://googlechromereleases.blogspot.com/&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;[edit] Aparently they've made some improvement for the  "on-demand installation".&lt;/div&gt;&lt;div&gt;[edit] Just found another problem, if you are inside a text box and try to select with the left button  and use the mouse wheel (to go down or up and continuing to select) it doesn't work.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;regards&lt;/div&gt;&lt;div&gt;Emerson&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-2394480144535209328?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/2394480144535209328/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=2394480144535209328" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/2394480144535209328?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/2394480144535209328?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/gzZ0HTvCICg/update-to-new-version-chrome-0214930.html" title="Update to new version Chrome  0.2.149.30 - Release notes?" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/09/update-to-new-version-chrome-0214930.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUHQn4-eip7ImA9WxRTGE4.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-5844191760356256904</id><published>2008-09-07T17:58:00.000-07:00</published><updated>2008-09-07T18:10:33.052-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-07T18:10:33.052-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="blogger" /><category scheme="http://www.blogger.com/atom/ns#" term="XML" /><title>Adding XML to your Posts in the Blogger</title><content type="html">Have you ever tried to post some XML to your posts and got only some values of the tags, loosing all of the XML?&lt;br /&gt;&lt;br /&gt;So that an XML like:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;dependency&amp;gt;&lt;br /&gt; &amp;lt;groupId&amp;gt;javanettasks&amp;lt;/groupId&amp;gt;&lt;br /&gt; &amp;lt;artifactId&amp;gt;httpunit&amp;lt;/artifactId&amp;gt;&lt;br /&gt; &amp;lt;version&amp;gt;1.7&amp;lt;/version&amp;gt;&lt;br /&gt; &amp;lt;scope&amp;gt;compile&amp;lt;/scope&amp;gt;&lt;br /&gt;&amp;lt;/dependency&amp;gt; &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;becomes:&lt;br /&gt;&lt;br /&gt;&lt;dependency&gt;&lt;br /&gt; &lt;groupId&gt;javanettasks&lt;/groupId&gt;&lt;br /&gt; &lt;artifactId&gt;httpunit&lt;/artifactId&gt;&lt;br /&gt; &lt;version&gt;1.7&lt;/version&gt;&lt;br /&gt; &lt;scope&gt;compile&lt;/scope&gt;&lt;br /&gt;&lt;/dependency&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Why is that????&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The problem is that the XML is been interpreted as part of the HTML.&lt;br /&gt;To avoid this you can use the following site:&lt;br /&gt;&lt;br /&gt;http://www.elliotswan.com/postable/&lt;br /&gt;&lt;br /&gt;It will replace the '&lt;' and '&gt;' symbols (among others) to XML entities, that will be shown correctly in the html but won't make your browser think that they are part of the HTML. You paste the xml there, and as a result you will get something like:&lt;br /&gt;&lt;br /&gt;&amp;amp; lt;dependency&amp;amp; gt;&lt;br /&gt; &amp;amp; lt;groupId&amp;amp; gt;javanettasks&amp;amp; lt;/groupId&amp;amp; gt;&lt;br /&gt; &amp;amp; lt;artifactId&amp;amp; gt;httpunit&amp;amp; lt;/artifactId&amp;amp; gt;&lt;br /&gt; &amp;amp; lt;version&amp;amp; gt;1.7&amp;amp; lt;/version&amp;amp; gt;&lt;br /&gt; &amp;amp; lt;scope&amp;amp; gt;compile&amp;amp; lt;/scope&amp;amp; gt;&lt;br /&gt;&amp;amp; lt;/dependency&amp;amp; gt; &lt;br /&gt;&lt;br /&gt;That then you can paste safely in your post. To get the best formatting, add a &amp;lt;/pre&amp;gt;&amp;lt;/pre&amp;gt; tags before and after the text.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-5844191760356256904?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/5844191760356256904/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=5844191760356256904" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/5844191760356256904?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/5844191760356256904?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/cP0lAL5eNH4/adding-xml-to-your-posts-in-blogger.html" title="Adding XML to your Posts in the Blogger" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/09/adding-xml-to-your-posts-in-blogger.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUCRn05eCp7ImA9WxRSEEs.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-6981790684823839807</id><published>2008-09-07T17:03:00.001-07:00</published><updated>2008-09-10T09:14:27.320-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-10T09:14:27.320-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="google chrome" /><category scheme="http://www.blogger.com/atom/ns#" term="browser" /><title>Google Chrome - 7 days after - Updated review</title><content type="html">So, after 6 days I've been using Chrome, I believe I got some updates on my views.&lt;br /&gt;&lt;br /&gt;First of all, I'm using Chrome's last release, that I updated via a very intelligently auto upgradeable. The current version is 0.2.149.29.&lt;br /&gt;&lt;br /&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;Pros&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Speed:&lt;/span&gt; I can't deny that Chrome, even lacking the maturity of other browsers, is pretty fast. The start up time to get an empty browser is impressive.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Omnibox:&lt;/span&gt; I don't care that much if google is storing all my searches, the omnibox is very good, especially after a bit of use. I was used to using this style of browsing with firefox already, just typing the first letters of the website, but Chrome takes it one level above searching the possible websites even if you never accessed that before.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Task Manager:&lt;/span&gt; The task manager shows exactly which page or plugin are putting your system down. I believe it's really useful.&lt;div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Memory Consumption:&lt;/span&gt; The way it control the memory access with a process per tab and other optmizations make Chrome the best browser in terms of memory consumption. In firefox I have to restart once in a while my whole browser when it's getting above 500-700 megabytes. &lt;/div&gt;&lt;div&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;Cons&lt;/li&gt;&lt;/ul&gt;I still have some critics, which I believe will soon be dealt with.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Task manager:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;The task manager could allow for sorting using its fields, the same way the task manager does.&lt;br /&gt;It could also show the totals directly in the main task manager (you can see that in the "Stats for nerds").&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;And Chrome has something very interesting, if you click "Stats for nerds" link in the task manager it shows the total memory used by all I tried to put it to test then. I put the same tabs in fresh just new chrome, firefox and internet explorer. Here are the results:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV52zvwZVWY/SMSBKue5ddI/AAAAAAAAAQY/F4xDZENGMaE/s1600-h/taskManagerNerds.JPG"&gt;&lt;img style="cursor: pointer; width: 569px; height: 124px;" src="http://2.bp.blogspot.com/_dV52zvwZVWY/SMSBKue5ddI/AAAAAAAAAQY/F4xDZENGMaE/s400/taskManagerNerds.JPG" alt="" id="BLOGGER_PHOTO_ID_5243457887442400722" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It seems like Chrome is the one that occupies more memory for the same exact tabs opened.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Find Box: &lt;/span&gt;The find box seems interesting, counting which occurrence it is at the moment (eg: 1 of 20). It doesn't seem to work properly when what you are looking for is inside a text box.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Integration with google's services&lt;/span&gt;: It could have a better integration with google's services. I would like to have all the tools in the Google's Toolbar that I use in firefox, for example the super useful auto-fill feature.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Error in loading some pages: &lt;/span&gt;&lt;a href="http://www.estadao.com.br/"&gt;This page&lt;/a&gt; gets loaded without its html tabs when some of the sections are chosen (try "International" tab for example).&lt;br /&gt;&lt;br /&gt;How it should be (in firefox):&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_dV52zvwZVWY/SMSEwDG2kpI/AAAAAAAAAQg/9M9HlEOI3_E/s1600-h/estadaoFF.JPG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_dV52zvwZVWY/SMSEwDG2kpI/AAAAAAAAAQg/9M9HlEOI3_E/s400/estadaoFF.JPG" alt="" id="BLOGGER_PHOTO_ID_5243461827168735890" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;How it is shown in Chrome:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dV52zvwZVWY/SMSFRSwvJwI/AAAAAAAAAQw/XefS9SpdVQY/s1600-h/estadaoChrome.JPG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_dV52zvwZVWY/SMSFRSwvJwI/AAAAAAAAAQw/XefS9SpdVQY/s400/estadaoChrome.JPG" alt="" id="BLOGGER_PHOTO_ID_5243462398306625282" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So the only way to get the main sections is returning to the main page.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Links not working: &lt;/span&gt;I just tested again and now it seems to work. But &lt;a href="http://waves.terra.com.br/"&gt;this site &lt;/a&gt;had the main news links not working (in red and blue).&lt;br /&gt;&lt;br /&gt;Plugins: Some plugins are not detected correctly and some just don't work. The following image is while trying to use the Photos Uploader of facebook.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_dV52zvwZVWY/SMSGBbA5mDI/AAAAAAAAAQ4/tebACFraJk4/s1600-h/pluginNotFound.JPG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_dV52zvwZVWY/SMSGBbA5mDI/AAAAAAAAAQ4/tebACFraJk4/s400/pluginNotFound.JPG" alt="" id="BLOGGER_PHOTO_ID_5243463225155622962" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Whell-button scroll:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The scroll goes down but don't go up!!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Conclusion is that it is fast, good, but still in its beginning and lacks a lot of things to make me replace firefox.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-6981790684823839807?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/6981790684823839807/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=6981790684823839807" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/6981790684823839807?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/6981790684823839807?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/yLJDAC6MfKY/google-chrome-7-days-after-updated.html" title="Google Chrome - 7 days after - Updated review" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_dV52zvwZVWY/SMSBKue5ddI/AAAAAAAAAQY/F4xDZENGMaE/s72-c/taskManagerNerds.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/09/google-chrome-7-days-after-updated.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0ABQX4ycSp7ImA9WxRTGU8.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-7026019745226659197</id><published>2008-09-07T15:38:00.000-07:00</published><updated>2008-09-08T17:55:50.099-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-08T17:55:50.099-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="maven2" /><category scheme="http://www.blogger.com/atom/ns#" term="httpunit" /><title>Loading a page with javascript  programatically - Httpclient  x HtttUnit</title><content type="html">Hi Guys&lt;br /&gt;&lt;br /&gt;You might know that I appreciate very much surfing. As a sport for practicing myself, although after moving to England I haven't done as much as I could/should, and  for viweing. I quite like following WCT, the main and closed championship with the best 45 surfers int he world, and its qualifier, the WQS. In my spare time, I was getting together a simple app to load the current rankings, then based on the current situation of incomplete competitions that might be running, generate an updatet ranking.&lt;br /&gt;&lt;br /&gt;I thought in using httpclient to load the &lt;a href="http://www.aspworldtour.com/2008/ratings.asp?rView=w&amp;amp;rpage=menwqs&amp;amp;rRat=menwqs1&amp;amp;rNav=Men"&gt;current rankings page&lt;/a&gt;, but the page uses javascript with &lt;span style="font-style: italic;"&gt;document.writeln(' &lt;/span&gt;to write the table, and httpclient doesn't run javascript.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;HttpUnit&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Then I remembered that in the past I had done some website client automation with httpunit, then decided to use it.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Httpunit Maven dependency POM&lt;/li&gt;&lt;/ul&gt;First problem is to add it as a maven dependency. The last release, 1.7 from march/2008), is not available in the &lt;a href="http://www.ibiblio.org/maven2"&gt;ibiblio main maven2 &lt;/a&gt;repository. I found it at the &lt;a href="http://download.java.net/maven/2"&gt;java.net maven 2 repository&lt;/a&gt;. To configure maven2 to use it add a settings.xml to your .m2 folder in your home directory with the following content:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;settings&amp;gt;&lt;br /&gt;&amp;lt;profiles&amp;gt;&lt;br /&gt;&amp;lt;profile&amp;gt;&lt;br /&gt; &amp;lt;id&amp;gt;myprofile&amp;lt;/id&amp;gt;&lt;br /&gt; &amp;lt;repositories&amp;gt;&lt;br /&gt;  &amp;lt;repository&amp;gt;&lt;br /&gt;  &amp;lt;id&amp;gt;java.net-maven2-repository&amp;lt;/id&amp;gt;&lt;br /&gt;  &amp;lt;url&amp;gt;http://download.java.net/maven/2/&amp;lt;/url&amp;gt;&lt;br /&gt;&amp;lt;/repository&amp;gt;&lt;br /&gt; &amp;lt;/repositories&amp;gt;&lt;br /&gt;&amp;lt;/profile&amp;gt;&lt;br /&gt;&amp;lt;/profiles&amp;gt;&lt;br /&gt;&amp;lt;activeProfiles&amp;gt;&lt;br /&gt;&amp;lt;activeProfile&amp;gt;myprofile&amp;lt;/activeProfile&amp;gt;&lt;br /&gt;&amp;lt;/activeProfiles&amp;gt;&lt;br /&gt;&amp;lt;/settings&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The following xml need to be added to your POM in order to import the right libraries into my project:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;dependency&amp;gt;&lt;br /&gt;  &amp;lt;groupId&amp;gt;javanettasks&amp;lt;/groupId&amp;gt;&lt;br /&gt;  &amp;lt;artifactId&amp;gt;httpunit&amp;lt;/artifactId&amp;gt;&lt;br /&gt;  &amp;lt;version&amp;gt;1.7&amp;lt;/version&amp;gt;&lt;br /&gt;  &amp;lt;scope&amp;gt;compile&amp;lt;/scope&amp;gt;&lt;br /&gt;&amp;lt;/dependency&amp;gt; &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Missing something?&lt;/li&gt;&lt;/ul&gt;Ok, I re-run the mvn eclipse:eclipse to re-generate my eclipse project files, then I got a  java snippet with a simple request of a webpage and printing it. That should show my ranking, as HttpUnit &lt;a href="http://httpunit.sourceforge.net/doc/javascript-support.html"&gt;in this page &lt;/a&gt;states that it supports "document.writeln".&lt;br /&gt;First problem: It gives a &lt;span style="font-style: italic;"&gt;java.lang.NoClassDefFoundError: org/mozilla/javascript/Scriptable&lt;/span&gt;. After a bit more researching, I found the library that implements it, the &lt;a href="http://www.mozilla.org/rhino"&gt;mozilla Rhino&lt;/a&gt;,  and added it to my POM.xml:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;     &lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;dependency&amp;gt;&lt;br /&gt;&amp;lt;groupId&amp;gt;rhino&amp;lt;/groupId&amp;gt;&lt;br /&gt;&amp;lt;artifactId&amp;gt;js&amp;lt;/artifactId&amp;gt;&lt;br /&gt;&amp;lt;version&amp;gt;1.6R5&amp;lt;/version&amp;gt;&lt;br /&gt;&amp;lt;scope&amp;gt;compile&amp;lt;/scope&amp;gt;&lt;br /&gt;&amp;lt;/dependency&amp;gt; &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Error during javascript processing:&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Regenerating again the pom and regreshing the project in eclipse, just to find out that I would get still a further problem:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;RHINO USAGE WARNING: Missed Context.javaToJS() conversion:&lt;br /&gt;Rhino runtime detected object [Ljava.lang.Object;@110003 of class [Ljava.lang.Object; where it expected String, Number, Boolean or Scriptable instance. Please check your code for missing Context.javaToJS() call.&lt;br /&gt;java.net.ConnectException: Connection refused: connect&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;I noticed in the &lt;a href="http://httpunit.sourceforge.net/doc/release_notes.html"&gt;1.7 release notes for HttpUnit&lt;/a&gt; that the Rhino library was upgraded to the version 1.6R5. I tried changing to that version, but it doesn't seem to help much more.&lt;br /&gt;&lt;br /&gt;Depending on the page I try to load I get a different message, for example the fotolog.net site:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;failed: org.mozilla.javascript.EcmaError: TypeError: Cannot find function attachEvent in object [object Window]. (httpunit#10(eval)#1)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Any suggestion to make this work?&lt;br /&gt;&lt;br /&gt;My resolved classpath (created by maven)  is:&lt;br /&gt;httpunit-1.7.jar&lt;br /&gt;js-1.6R5.jar&lt;br /&gt;jtidy-4aug2000r7-dev.jar&lt;br /&gt;junit-3.8.1.jar&lt;br /&gt;nekohtml-0.9.5.jar&lt;br /&gt;servlet-api-2.4.jar&lt;br /&gt;xercesImpl-2.4.0.jar&lt;br /&gt;&lt;br /&gt;I'm using the following piece of code below to test:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;import com.meterware.httpunit.GetMethodWebRequest;&lt;br /&gt;import com.meterware.httpunit.WebConversation;&lt;br /&gt;import com.meterware.httpunit.WebRequest;&lt;br /&gt;import com.meterware.httpunit.WebResponse;&lt;br /&gt;&lt;br /&gt;public class Main {&lt;br /&gt;public static void main(String[] args) throws Exception {&lt;br /&gt;String URL="http://www.aspworldtour.com/2008/ratings.asp?rView=w&amp;amp;rpage=menwqs&amp;amp;rRat=menwqs1&amp;amp;rNav=Men";&lt;br /&gt;WebConversation wc = new WebConversation();&lt;br /&gt;WebRequest     req = new GetMethodWebRequest( URL );&lt;br /&gt;WebResponse   resp = wc.getResponse( req );&lt;br /&gt;String text = resp.getText();&lt;br /&gt;System.out.println(text);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;pre&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre&gt;UPDATE:&lt;/pre&gt;&lt;pre&gt;I tried then to use HtmlUnit (like mrs.gredler suggested&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Arial; font-size: 11px; font-weight: bold; line-height: 15px; text-transform: lowercase; white-space: nowrap; "&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: -webkit-monospace; font-size: 13px; font-weight: normal; line-height: normal; text-transform: none; white-space: pre; "&gt;) onthe same site, and that's the error I get instead:&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Exception in thread "main" ======= EXCEPTION START ======== Exception class=[org.mozilla.javascript.WrappedException] com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: &lt;/span&gt;Wrapped com.gargoylesoftware.htmlunit.ScriptException: Connection refused: connect (http://ad.outsidehub.com/st?ad_type=ad&amp;amp;ad_size=728x90&amp;amp;section=337979#1) (http://oascentral.surfline.com/RealMedia/ads/adstream_mjx.ads/www.aspworldtour.com/1552025455@Top?#8)&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-7026019745226659197?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/7026019745226659197/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=7026019745226659197" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/7026019745226659197?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/7026019745226659197?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/GBO5454llRs/loading-page-with-javascript.html" title="Loading a page with javascript  programatically - Httpclient  x HtttUnit" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/09/loading-page-with-javascript.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkAAR349fyp7ImA9WxRTFEU.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-4361467404622163882</id><published>2008-09-02T17:16:00.000-07:00</published><updated>2008-09-03T17:39:06.067-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-03T17:39:06.067-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="gmail" /><category scheme="http://www.blogger.com/atom/ns#" term="google chrome" /><title>Google Chrome - first impressions and the crash</title><content type="html">&lt;span style="font-weight: bold;"&gt;Hi Guys&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You've all have heard about the google &lt;a href="http://www.google.com/chrome/"&gt;Chrome&lt;/a&gt;.&lt;br /&gt;First impression was that it doens't really have anything that special. Maybe only a slightly impression it's a bit faster, but still lacks the normal google bar, that I use quite a bit on firefox, and maybe easier ways to get googles apps integrated. Google's notebook, for example, I don't think there is any way to install it yet.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Addons&lt;/li&gt;&lt;/ul&gt;I quite use a couple of addons for firefox. Dictionary tip, for example, that I can use inside a browser, would be something Google could add easily to the Chrome. Add-block is another one that hsould be integrated somehow. I don't know if the strategy of google will be to not allow developers to create their own plugins to not risk security and reliability. Most of memory leaks with firefox are due to bad-behaving  plugins.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Crash&lt;/li&gt;&lt;/ul&gt;Suddenly, when I was messing with the task manager (which is quite interesting by the way), the whole Chrome crashed.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV52zvwZVWY/SL3aULSWPfI/AAAAAAAAAQA/Tlb71hsaTOA/s1600-h/crashed.JPG"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_dV52zvwZVWY/SL3aULSWPfI/AAAAAAAAAQA/Tlb71hsaTOA/s400/crashed.JPG" alt="" id="BLOGGER_PHOTO_ID_5241585581491109362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Google's advertisement: &lt;span style="font-style: italic;"&gt;"Every tab you're using is run independently in the browser, so if one app crashes it won't take anything else down."&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Not quite....&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;[edited]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;Today I tried to use chrome all night at home. I faced then, the tab crash. Just note the app that made the tab crash. Exactly, gmail. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;img src="http://4.bp.blogspot.com/_dV52zvwZVWY/SL8t5oAcKTI/AAAAAAAAAQI/JZCI4TOQqVI/s400/error_tab.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5241958959297603890" style="cursor: pointer; " /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Summary&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Positives points:&lt;/span&gt; task manager (try the "stats for nerds view"), the thumbnails view, the element inspector for developers, the history, among others.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Negative points:&lt;/span&gt; no integration with google toolbar and add-ons (no yet at least), seems like lacking something... And also, of course the fact that it crashed in the first run.&lt;br /&gt;&lt;br /&gt;See ya next time and good browsing&lt;br /&gt;emerson&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-4361467404622163882?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/4361467404622163882/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=4361467404622163882" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/4361467404622163882?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/4361467404622163882?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/XKEDHjJm1Jc/google-chrome-first-impressions-and.html" title="Google Chrome - first impressions and the crash" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_dV52zvwZVWY/SL3aULSWPfI/AAAAAAAAAQA/Tlb71hsaTOA/s72-c/crashed.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/09/google-chrome-first-impressions-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQNRH86cCp7ImA9WxdXEkk.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-8843612751433307631</id><published>2008-06-23T09:40:00.000-07:00</published><updated>2008-06-23T10:49:55.118-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-06-23T10:49:55.118-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="resin" /><category scheme="http://www.blogger.com/atom/ns#" term="tomcat" /><category scheme="http://www.blogger.com/atom/ns#" term="benchmark" /><title>Resin vs Tomcat Benchmark</title><content type="html">A company that I know have been using resin for years so far. Now that resin changed its license so that it will be charged per CPU core, they are looking in migrating to tomcat.&lt;br /&gt;&lt;br /&gt;I've been told ( by someone in  this company) that resin was chosen because a benchmark done years ago showed that it was much much faster.&lt;br /&gt;&lt;br /&gt;Ok, then, I've been doing a bit of tests and benchmark to find out if that statement was still true.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blog.caucho.com/?p=31#comment-5"&gt;Another statement&lt;/a&gt; found in the caucho's blog was that:&lt;br /&gt;&lt;blockquote&gt;"Resin Open Source is about 45% faster than Tomcat, Resin Professional is about 80% faster than Tomcat."&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Quite a bold statement, that hasn't proved to be true.&lt;br /&gt;&lt;br /&gt;Let's go to the benchmark, if you allow me.&lt;br /&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;Tools&lt;/li&gt;&lt;/ul&gt;I used Jmeter to simulate concurrent users, and got a couple of URL's from a live log to simulate production conditions. I then used excel to plot the charts and a in-house tool to show CPU usage. The application uses heavily network access to a separate backend.&lt;br /&gt;&lt;br /&gt;I used resin 3.0.14 and tomcat 5.5.26.&lt;br /&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;Tests&lt;/li&gt;&lt;/ul&gt;I run three types of tests:&lt;br /&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Long run (or overnight) test&lt;/span&gt;: running over night . I run this only with tomcat to prove that it would be reliable over a greater period of time&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Progressive load:&lt;/span&gt; I made separated test runs, increasing the number of users, from 5-170&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Ramp-up comparison: &lt;/span&gt;In the same test I used the jmeter ramp-up mode to simulate an increment of users.&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Results:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Long run. &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;No. of samples:  205.289&lt;br /&gt;Average response time: 9106 ms&lt;br /&gt;Minimum response time: 3.150 ms&lt;br /&gt;Maximum response time: 22 seconds&lt;br /&gt;Percentage of error: 0%&lt;br /&gt;Final throughput 6.2 per second&lt;br /&gt;&lt;br /&gt;This test only shows that tomcat is indeed reliable.&lt;br /&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;Progressive Load&lt;/li&gt;&lt;/ul&gt;The chart below shows the final chart with the different tests executed.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dV52zvwZVWY/SF_WEwUyfII/AAAAAAAAAPA/jThNyDOHcGw/s1600-h/response_time_tc_resin.PNG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_dV52zvwZVWY/SF_WEwUyfII/AAAAAAAAAPA/jThNyDOHcGw/s400/response_time_tc_resin.PNG" alt="" id="BLOGGER_PHOTO_ID_5215122270698241154" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The chart shows that the response time is almost the same, however tomcat is slightly superior in all of the tests.&lt;br /&gt;&lt;br /&gt;The main thing I noticed in this test is the CPU consumption. Tomcat is visibly lighter in this regard. The graph below shows a run using tomcat, following a run with resin:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dV52zvwZVWY/SF_Xcvd7Z6I/AAAAAAAAAPI/SCwfLf0rNPw/s1600-h/cpu_use_100.PNG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_dV52zvwZVWY/SF_Xcvd7Z6I/AAAAAAAAAPI/SCwfLf0rNPw/s400/cpu_use_100.PNG" alt="" id="BLOGGER_PHOTO_ID_5215123782296627106" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This chart was done when I was testing 100 concurrent threads sending requests to one server at a time.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Ramp-up comparison&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;On this test I used the rampup optin in Jmeter to simulate an increment of users during the same test. I then got the final report ("View Results in Table" listener in Jmeter) and plotted a graph.&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;&lt;span class="mw-headline"&gt;Tomcat&lt;/span&gt; Results: &lt;/h4&gt; &lt;ul&gt;&lt;li&gt; Samples: 1067 &lt;/li&gt;&lt;li&gt; Average: 10427 &lt;/li&gt;&lt;li&gt; Min: 3216 &lt;/li&gt;&lt;li&gt; Max: 27350 &lt;/li&gt;&lt;li&gt; Throughput: 4.4/sec &lt;/li&gt;&lt;li&gt; Kb/Sec: 66.34KB/sec &lt;/li&gt;&lt;/ul&gt;&lt;h4&gt;&lt;span class="mw-headline"&gt;Resin&lt;/span&gt; Results: &lt;/h4&gt;  &lt;ul&gt;&lt;li&gt; Samples: 1090 &lt;/li&gt;&lt;li&gt; Average: 10450 &lt;/li&gt;&lt;li&gt; Min: 3434 &lt;/li&gt;&lt;li&gt; Max: 32360 &lt;/li&gt;&lt;li&gt; Throughput: 4.5/sec &lt;/li&gt;&lt;li&gt; Kb/Sec: 66.6/sec &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_dV52zvwZVWY/SF_YWd_ypBI/AAAAAAAAAPY/7Qqm7q5tRbc/s1600-h/Resingraphrampup.PNG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_dV52zvwZVWY/SF_YWd_ypBI/AAAAAAAAAPY/7Qqm7q5tRbc/s400/Resingraphrampup.PNG" alt="" id="BLOGGER_PHOTO_ID_5215124774039233554" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_dV52zvwZVWY/SF_YM3t8v4I/AAAAAAAAAPQ/_UzPBOHPAYk/s1600-h/Tcgraphrampup.png"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_dV52zvwZVWY/SF_YM3t8v4I/AAAAAAAAAPQ/_UzPBOHPAYk/s400/Tcgraphrampup.png" alt="" id="BLOGGER_PHOTO_ID_5215124609145028482" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Not much difference here (a little advantage for tomcat though), although I would say that the resin is a little bit more erratic on its response time.&lt;br /&gt;&lt;br /&gt;Again, the CPU monitoring shows that the resin consumed a lot more CPU than tomcat (the graph shows tomcat and ):&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV52zvwZVWY/SF_Y24iBIVI/AAAAAAAAAPg/VdCaYZy-85k/s1600-h/cpu_use_progressive.PNG"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_dV52zvwZVWY/SF_Y24iBIVI/AAAAAAAAAPg/VdCaYZy-85k/s400/cpu_use_progressive.PNG" alt="" id="BLOGGER_PHOTO_ID_5215125330917925202" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;Conclusion&lt;/li&gt;&lt;/ul&gt;From the different tests I've made, we can say that tomcat is slighly superior in terms of performance and visibly superior in terms of memory consumption. I want to clarify here that I used an specific version of resin, not the latest one available (3.1.6 been the latest). I also found several references stating that tomcat 6 uses has several improvements regarding performance, but we have decided to stick to 5.5.&lt;br /&gt;&lt;br /&gt;Besides the performance, during  the port of the application to tomcat, I also found out some other issues with resin:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;- Resin xml validation is less strict&lt;/span&gt;: this means that a web.xml that work in resin might fail in tomcat. Resin also allows to use a non-compliant web.xml, based on a resin's schema.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;- Resin allow mounting external path-mappings.&lt;/span&gt; This "feature" is used, for example to locate JSP's outside the war. Tomcat, in its version 6 had received a patch that allowed to do the same, but the patch was vetoed as this is against the specification.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;- &lt;span style="font-weight: bold;"&gt;Shutdown and Start up:&lt;/span&gt; Contrary to my expectation, resin had a fast startup, which I'm counting until it comes back with the request response. It took 20 seconds both. From my experience I would say resin start was quite slow. Shutting resin down also is a bit problematic.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-8843612751433307631?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/8843612751433307631/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=8843612751433307631" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/8843612751433307631?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/8843612751433307631?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/OHWFf8SWTug/resin-vs-tomcat-benchmark.html" title="Resin vs Tomcat Benchmark" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_dV52zvwZVWY/SF_WEwUyfII/AAAAAAAAAPA/jThNyDOHcGw/s72-c/response_time_tc_resin.PNG" height="72" width="72" /><thr:total>4</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/06/resin-vs-tomcat-benchmark.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQBQHozeip7ImA9WxdQEUw.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-2501881108256685687</id><published>2008-06-10T08:29:00.000-07:00</published><updated>2008-06-10T08:55:51.482-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-06-10T08:55:51.482-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="anthillpro" /><category scheme="http://www.blogger.com/atom/ns#" term="SCM" /><category scheme="http://www.blogger.com/atom/ns#" term="anthill" /><title>Security interface in Anthill - Adding permissions to N resources at a time</title><content type="html">If I was to point one of the most annoying weaknesses in Anthill I would say that it is it's web interface when setting security.&lt;br /&gt;&lt;br /&gt;There is no way to apply the security for several resources at once, or to apply several permission at once.&lt;br /&gt;&lt;br /&gt;I had to add execution permission to our server operations team, but I didn't want to spend 1 hour opening all of the 20 projects and 60 workflows and add one by one.&lt;br /&gt;&lt;br /&gt;So I decided to use remote scripting to achieved what I wanted. Remote scripting enables you to use Beanshell language with the AnthillPro API and add the permissions programatically.&lt;br /&gt;&lt;br /&gt;The script that follows add a read permission to all projects and execution permission to all workflows that have deploy in its name. You can change it as you want to tailor it to your needs.&lt;br /&gt;&lt;br /&gt;To execute it, you need to :&lt;br /&gt;1) save it in a text file ("script.bsh", for example)&lt;br /&gt;2) Get the remote scripting API at your local AHP server: http://subversion:18080/tools/remoting/anthill3-remoting.zip&lt;br /&gt;3) Expand it and run your script using: &lt;br /&gt;ah3client.cmd [file_name]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;import com.urbancode.anthill3.main.client.AnthillClient;&lt;br /&gt;import com.urbancode.anthill3.persistence.UnitOfWork;&lt;br /&gt;import com.urbancode.anthill3.domain.project.*;&lt;br /&gt;import com.urbancode.anthill3.domain.workflow.*;&lt;br /&gt;import com.urbancode.anthill3.domain.security.*;&lt;br /&gt;&lt;br /&gt;String serverHost = "server";&lt;br /&gt;int serverPort = 4567;&lt;br /&gt;String userName = "admin";&lt;br /&gt;String password = "adminpasswd";&lt;br /&gt;// obtain connection to the Anthill server&lt;br /&gt;AnthillClient anthill = AnthillClient.connect(serverHost, serverPort,&lt;br /&gt;userName, password);&lt;br /&gt;// create a Unit of Work&lt;br /&gt;UnitOfWork uow = anthill.createUnitOfWork();&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;String roleName = "Tech Lead"; // change to the name of the role you want to grant permission to&lt;br /&gt;Role role = RoleFactory.getInstance().restoreForName(roleName);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    //adding role permission to all deployment workflows&lt;br /&gt;    Project[] projects = ProjectFactory.getInstance().restoreAll();&lt;br /&gt;    for (int i = 0; i &lt; projects.length; i++) {&lt;br /&gt;      Project project=projects[i];&lt;br /&gt;      //giving permission for the project&lt;br /&gt;      Resource resource =ResourceFactory.getInstance().restoreForPersistent(project);&lt;br /&gt;      Permission perm = new Permission(true, resource, "read",role);&lt;br /&gt;      perm.store();              &lt;br /&gt;      &lt;br /&gt;      Workflow[] workflowArray = project.getWorkflowArray();&lt;br /&gt;      for (int j = 0; j &lt; workflowArray.length; j++) {&lt;br /&gt;        Workflow workflow = workflowArray[j];&lt;br /&gt;        if (workflow.getName().indexOf("deploy")&gt;0) {&lt;br /&gt;           System.out.print("Adding server support permission to: "+project.getName()+"  -  "+workflow.getName()+"--"+workflow.getDescription());&lt;br /&gt;           System.out.println();&lt;br /&gt;    Resource resource =ResourceFactory.getInstance().restoreForPersistent(workflow);&lt;br /&gt;           Permission perm = new Permission(true, resource, Workflow.SEC_PERM_EXEC,role);&lt;br /&gt;           perm.store();           &lt;br /&gt;        }&lt;br /&gt;      }&lt;br /&gt;      &lt;br /&gt;    }&lt;br /&gt;    uow.commitAndClose();&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Some more info here in the docs:&lt;br /&gt;http://www.anthillpro.com/anthill3-help-3.5/html/ch46.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-2501881108256685687?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/2501881108256685687/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=2501881108256685687" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/2501881108256685687?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/2501881108256685687?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/s5oTS3tdbtw/security-interface-in-anthill-adding.html" title="Security interface in Anthill - Adding permissions to N resources at a time" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/06/security-interface-in-anthill-adding.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMARHo9fip7ImA9WxZbGE8.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-972916548219338537</id><published>2008-04-21T17:10:00.001-07:00</published><updated>2008-04-21T17:34:05.466-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-21T17:34:05.466-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="snowboarding" /><category scheme="http://www.blogger.com/atom/ns#" term="snowboard" /><category scheme="http://www.blogger.com/atom/ns#" term="chamrousse" /><category scheme="http://www.blogger.com/atom/ns#" term="france" /><title>Snowboard Chamrousse - March 2008</title><content type="html">&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;&lt;object height="350" width="425"&gt;&lt;param value="http://youtube.com/v/QsTQxmg5gCc" name="movie"&gt;&lt;embed type="application/x-shockwave-flash" src="http://youtube.com/v/QsTQxmg5gCc" height="350" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;&lt;p&gt;A video made from a couple of pictures and movies. Some fun wipe outs but I quite managed to do some nice jumps, and even I got the way in carving switched : ) I snowed so much the last days, and got so foggy, you couldn't see actually anything (see in the movie).&lt;br /&gt;This was from 17th to 22nd  of march in Chamrousse, southeast of France, in a friend's girlfriend flat.&lt;/p&gt;&lt;p&gt;Note after the beginning of the movie after a do a jump (a few of the succeeded ones :))  a guy comes behing and come rolling down the hill :) And that thing horrible at the end is myself trying to do a rodeo... Almost broke my neck : )&lt;/p&gt;&lt;p&gt;background music: joe satriani-Crushing day and Red Hot Chilly Peppers-Dani California&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-972916548219338537?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/972916548219338537/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=972916548219338537" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/972916548219338537?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/972916548219338537?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/MbZqLINunxM/snowboard-chamrousse-march-2008.html" title="Snowboard Chamrousse - March 2008" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/04/snowboard-chamrousse-march-2008.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkICSHgycSp7ImA9WxZbFE8.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-4453916877540945420</id><published>2008-04-16T18:39:00.000-07:00</published><updated>2008-04-17T01:22:49.699-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-17T01:22:49.699-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="htc" /><category scheme="http://www.blogger.com/atom/ns#" term="kaiser" /><category scheme="http://www.blogger.com/atom/ns#" term="android" /><title>Android in Kaiser - T-Mobile MDA VARIO III</title><content type="html">Hi guys, I tested a modified version of android image for Kaiser, t-mobile MDA VARIO III.&lt;br /&gt;&lt;br /&gt;Download the files here:&lt;br /&gt;&lt;a href="http://it029000.massey.ac.nz/vogue/" target="_blank"&gt;http://it029000.massey.ac.nz&lt;wbr&gt;/vogue/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt; Don't try to download directly in the phone, I think some files it&lt;br /&gt; downloads as text. Or maybe it just didn't work first time.&lt;br /&gt;&lt;br /&gt; Thread at xda-developers:&lt;br /&gt; Original thread:&lt;br /&gt; &lt;a href="http://forum.xda-developers.com/showthread.php?p=2083117" target="_blank"&gt;http://forum.xda-developers&lt;wbr&gt;.com/showthread.php?p=2083117&lt;/a&gt;&lt;br /&gt; Another branched thread:&lt;br /&gt; &lt;a href="http://forum.xda-developers.com/showthread.php?t=383695" target="_blank"&gt;http://forum.xda-developers&lt;wbr&gt;.com/showthread.php?t=383695&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also is good to have some spare memory, I removed some apps i had store on the main memory.&lt;br /&gt;&lt;br /&gt;I had it working without proper keyboard and touch screens. A combination of keys enable some navigation ont he menus: s+ok(keyboard ok)  and z+ok. See the main post to see more details.&lt;br /&gt;&lt;br /&gt;Aparently using&lt;br /&gt; the remote console, it's possible to have it full working. Haven't tried this yet though.&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="350"&gt; &lt;param name="movie" value="http://www.youtube.com/v/snUbguqpoJQ"&gt; &lt;/param&gt; &lt;embed src="http://www.youtube.com/v/snUbguqpoJQ" type="application/x-shockwave-flash" width="425" height="350"&gt;&lt;/embed&gt;  &lt;/object&gt;&lt;br /&gt;&lt;br /&gt; regards&lt;br /&gt; Emerson&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-4453916877540945420?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/4453916877540945420/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=4453916877540945420" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/4453916877540945420?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/4453916877540945420?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/gahj0YuXKn0/android-in-kaiser-t-mobile-mda-vario.html" title="Android in Kaiser - T-Mobile MDA VARIO III" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/04/android-in-kaiser-t-mobile-mda-vario.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0IARXkzfSp7ImA9WxZUFkU.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-4363342560609790250</id><published>2008-04-08T11:05:00.000-07:00</published><updated>2008-04-08T12:05:44.785-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-08T12:05:44.785-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="anthillpro" /><category scheme="http://www.blogger.com/atom/ns#" term="ahp" /><category scheme="http://www.blogger.com/atom/ns#" term="Nightly builds" /><title>Creating Nightly Builds with Anthill Pro</title><content type="html">Hi There&lt;br /&gt;&lt;br /&gt;From today on I will start to post a series of posts on &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;AnthillPro&lt;/span&gt;.&lt;br /&gt;Just implemented a nightly build for one of our &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;workflows&lt;/span&gt;. Here is the main points:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Stamp strategy&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;You will want to copy or continuous integration &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;workflow&lt;/span&gt; first. After doing so, you will want to change the stamp strategy. I used the following &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;beanshell&lt;/span&gt; expression (put it all in one line):&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;NIGHTLY-build-${bsh:java.util.GregorianCalendar calendar = new java.util.GregorianCalendar(); calendar.add(java.util.Calendar.DATE,1); Date date = calendar.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;getTime&lt;/span&gt;(); new java.text.SimpleDateFormat("MM/dd/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;yyyy&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;HH&lt;/span&gt;:mm").format(date)}&lt;/blockquote&gt;&lt;br /&gt;This will create a stamp of the following pattern: "NIGHTLY-build-04/09/2008-19:38", you can change to suit your needs.&lt;br /&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;Cron&lt;/span&gt; schedule&lt;/li&gt;&lt;/ul&gt;Then you will need a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;cron&lt;/span&gt; based schedule. Go to System-Schedules and click at "create schedule" button. Then choose "&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;Cron&lt;/span&gt; Expression Schedule". Then give it a name, "Nightly builds" might be a good one.&lt;br /&gt;I'm not that expert in &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;cron&lt;/span&gt; expressions, but that's the one I used: "0 0 3 ? * MON-FRI"&lt;br /&gt;First 0 stands for 0 seconds, then 0 minutes, and 3 is the hour (3am), then not specifying the day of the month (with '?')  and for last from &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;monday&lt;/span&gt; to &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;friday&lt;/span&gt;, as we don't usually work at weekends.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Trigger&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;The last thing is the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;workflow&lt;/span&gt; trigger, where we will associate with the schedule we create before. Choose for the type "Scheduled trigger", give it a name, select the "Nightly builds" schedule you create before and set any &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;workflow&lt;/span&gt; property you might have. For example I have two property to execute or not the tests and to choose the branch.&lt;br /&gt;&lt;br /&gt;Now just wait until 3am to see if works : )&lt;br /&gt;&lt;br /&gt;In the next articles I will show:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;How to create a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;workflow&lt;/span&gt; to build from the tag&lt;/li&gt;&lt;li&gt;How to run &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;QTP&lt;/span&gt; (quick test professional) from anthill&lt;/li&gt;&lt;li&gt;How to best reuse jobs and &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;workflow&lt;/span&gt; definitions&lt;/li&gt;&lt;li&gt;How to deploy resources for various environments using ant and anthill without duplicating files&lt;/li&gt;&lt;li&gt;and more... : )&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-4363342560609790250?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/4363342560609790250/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=4363342560609790250" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/4363342560609790250?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/4363342560609790250?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/QKsjP-t0JQM/creating-nightly-builds-with-anthill.html" title="Creating Nightly Builds with Anthill Pro" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/04/creating-nightly-builds-with-anthill.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQDQXk5cCp7ImA9WxZVGEQ.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-1820466988478040388</id><published>2008-03-30T08:41:00.000-07:00</published><updated>2008-03-30T08:52:50.728-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-30T08:52:50.728-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="space manager" /><category scheme="http://www.blogger.com/atom/ns#" term="windirstat" /><category scheme="http://www.blogger.com/atom/ns#" term="disk apace" /><title>WindDirStat - A great Disk space manager</title><content type="html">Since a couple of months I've been using this great tool to quickly do a clean up on my disks at work, and today while I was trying to burn a DVD and needed to freee up some disk space, I remembered of this tool and also installed at home.&lt;br /&gt;&lt;br /&gt;It's name is &lt;a href="http://windirstat.info/"&gt;WinDirStat&lt;/a&gt;, and opensource tool hosted in sourceforge. It also shows the files as TreeMaps. Treemaps were invented by Ben Shneiderman, and they provide a compact visualization of directory tree structures. See the history of TreeMaps &lt;a href="http://www.cs.umd.edu/hcil/treemap-history/"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Below is a screenshot of windirstat in action:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dV52zvwZVWY/R--2CWgMFOI/AAAAAAAAAOA/6I6fkQ1UY9Y/s1600-h/WinDirStat.JPG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_dV52zvwZVWY/R--2CWgMFOI/AAAAAAAAAOA/6I6fkQ1UY9Y/s400/WinDirStat.JPG" alt="" id="BLOGGER_PHOTO_ID_5183561847643313378" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It's a great tool, very easy to use and will definitelly help you to get rid of those hidden old big files : )&lt;br /&gt;&lt;br /&gt;-Emerson&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-1820466988478040388?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/1820466988478040388/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=1820466988478040388" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/1820466988478040388?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/1820466988478040388?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/kW90mKQQEJI/winddirstat-great-disk-space-manager.html" title="WindDirStat - A great Disk space manager" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_dV52zvwZVWY/R--2CWgMFOI/AAAAAAAAAOA/6I6fkQ1UY9Y/s72-c/WinDirStat.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/03/winddirstat-great-disk-space-manager.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYFQXk7eip7ImA9WxZQGU0.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-4437698432514525878</id><published>2008-01-28T22:29:00.000-08:00</published><updated>2008-02-24T16:41:50.702-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-02-24T16:41:50.702-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="powerball" /><category scheme="http://www.blogger.com/atom/ns#" term="rotor" /><category scheme="http://www.blogger.com/atom/ns#" term="carpal tunnel syndrome" /><category scheme="http://www.blogger.com/atom/ns#" term="tendinitis" /><title>Powerball and Tendinitis</title><content type="html">&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://ecx.images-amazon.com/images/I/51ZDExIl2LL._AA280_.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 161px; height: 161px;" src="http://ecx.images-amazon.com/images/I/51ZDExIl2LL._AA280_.jpg" alt="" border="0" /&gt;&lt;/a&gt;Hi, quite a time since the last post, busy with holidays : )&lt;br /&gt;&lt;br /&gt;In december when I was going around amazon I saw an ad of a "Powerball".&lt;br /&gt;&lt;br /&gt;At first i thought it was some kind of portable batteries, eheheh, power+ball : )&lt;br /&gt;After some research I found out that it was a rotor that works at high speeds and generate a strong force and that was recommended to tendinitis and &lt;a href="http://www.blogger.com/en.wikipedia.org/wiki/Carpal_tunnel_syndrome"&gt;carpal tunnel syndrome&lt;/a&gt;. I used to have tendinitis and playing guitar and typing too much never went very well for me. It seemed quite fun, then I decided to give it a try and I got three of these, also as a present to my girlfriend.&lt;br /&gt;&lt;br /&gt;Well, it turned up a really good for forearm muscles, and I really feel that it helped a lot with my tendinitis. I can play guitar now and then, and also working without feeling some annoying pains I would get normally.&lt;br /&gt;&lt;br /&gt;And they even have a life-time guarantee for changing parts or broken ball. One of the ones I bought does a bit of strange noise and doesn't go too high anymore, they might be sending the changing parts next days.&lt;br /&gt;&lt;br /&gt;And it's really fun and addictive. It has a sort of speedometer that shows the number of rotations for minute. My record so far is 12.400. I know not too high, but I haven't spend so much time also. You usually do sessions, that you keep it rotating with the weak hand (my left) and then transfer to the right to get the highest speed. It's funny that when I start I get around 11.000, after 10-15 minutes I get close to my record, 12.000.&lt;br /&gt;&lt;br /&gt;It's also funny when you see someone else doing it (don't' think of anything else). In this movie, the powerball world champion at more than 16.000 rotations per minute speed.&lt;br /&gt;&lt;br /&gt;&lt;object height="355" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/J_lsnKMjBF0&amp;amp;rel=1"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/J_lsnKMjBF0&amp;amp;rel=1" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;I have it for a bit more than a month but I can tell that it's really worthwhile. If you have tendinitis or any other hand or arm injure, start slow, but you definitely will feel improvements.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;To buy:&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;I bought with amazon.  A "professional" version, which is the one with the counter (no fun if you can't see how fast you go) in amazon is 13 pounds. In the original website is 23!! Don't ask me how amazon manage to sell so cheap...&lt;br /&gt;&lt;br /&gt;You can buy cheap here:&lt;br /&gt;&lt;iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=ecinuk-21&amp;o=2&amp;p=8&amp;l=as1&amp;asins=B000OT8JQE&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;A couple of links:&lt;br /&gt;http://www.powerballs.com/benefits_rehab.php&lt;br /&gt;http://www.powerballs.com/forum/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-4437698432514525878?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/4437698432514525878/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=4437698432514525878" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/4437698432514525878?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/4437698432514525878?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/RKMf9wFWarQ/powerball-and-tendinitis.html" title="Powerball and Tendinitis" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/01/powerball-and-tendinitis.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcMR3g9eCp7ImA9WxZTFkU.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-5709502067999236070</id><published>2008-01-18T11:09:00.000-08:00</published><updated>2008-01-18T11:54:46.660-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-01-18T11:54:46.660-08:00</app:edited><title>Oracle, XMLType, Spring and a couple of wasted hours</title><content type="html">I had written an application that reads a set of XML files and writes them to an Oracle database.&lt;br /&gt;I was using Spring configuration injection to get a DataSource and Connection and Spring JDBCTemplate to read and write to the database.&lt;br /&gt;&lt;br /&gt;The field in the database I should write to was an Oracle XMLType, which is a kind of clob.&lt;br /&gt;&lt;br /&gt;At the beggining to write using the JDBCTemplate I would use the following:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt; LobHandler lobHandler = new DefaultLobHandler();  &lt;br /&gt; Object clob = new SqlLobValue(xmlString, lobHandler);&lt;br /&gt; insert.update(new Object[] {new Long(key),...&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;That did the job until today, when we needed XML files bigger than 4k bytes to be written.&lt;br /&gt;I started getting the following error:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;  java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column&lt;/blockquote&gt;It happens that the LONG for oracle is  the CLOB, but it just treats as CLOB when the sizes is bigger than 4k (or somewhere around).&lt;br /&gt;&lt;br /&gt;First I try to use OracleLobHandler instead of the Default one, then it would give:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;org.springframework.dao.InvalidDataAccessApiUsageException: OracleLobCreator needs to work on [oracle.jdbc.OracleConnection], not on [org.apache.commons.dbcp.PoolableConnection]: specify a corresponding NativeJdbcExtractor; nested exception is java.lang.ClassCastException: org.apache.commons.dbcp.PoolableConnection&lt;br /&gt;java.lang.ClassCastException: org.apache.commons.dbcp.PoolableConnection&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;If I use directly an OracleDataSource on my spring configuration or if I would apply this NativeJdbcExtractor I would then got:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;ORA-00932: inconsistent datatypes: expected NUMBER got CLOB&lt;/blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;Ok, now I'm totally stuck I thought. Then  I completely gave up using JdbcTemplate and went straight to JDBC. Well,  even then things didn't go as smooth as I thought they would.&lt;br /&gt;&lt;br /&gt;First thing, after some research I had to use the following getClob method, which I got in this Oracle OTN page &lt;a href="http://www.oracle.com/technology/sample_code/tech/java/codesnippet/xmldb/Example_Code.html#loadclob"&gt;here&lt;/a&gt;:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;private CLOB getCLOB(String xmlData, Connection conn) throws Exception{&lt;br /&gt;    CLOB tempClob = null;&lt;br /&gt;      tempClob = CLOB.createTemporary(conn, true, CLOB.DURATION_SESSION);&lt;br /&gt;      tempClob.open(CLOB.MODE_READWRITE);&lt;br /&gt;      Writer tempClobWriter = tempClob.getCharacterOutputStream();&lt;br /&gt;      tempClobWriter.write(xmlData);&lt;br /&gt;      tempClobWriter.flush();&lt;br /&gt;      tempClobWriter.close();&lt;br /&gt;      tempClob.close();   &lt;br /&gt;  &lt;br /&gt;    return tempClob;&lt;br /&gt;  }&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Then when setting it inside your preparedstatement:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;     CLOB clob = getCLOB(myStringObj, connection);           &lt;br /&gt;      stmt.setClob(4, clob);&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Also, in your SQL you should have something like:&lt;br /&gt;&lt;blockquote&gt;insert into table (XML)   values(XMLType(?)&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Ok, after all this I still got the following stacktrace:&lt;br /&gt;&lt;blockquote&gt;java.lang.ClassCastException: org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper&lt;br /&gt;    at oracle.sql.CLOB.createTemporary(CLOB.java:754)&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Then I tried to use instead of org.apache.commons.dbcp.BasicDataSource to use directly OracleDataSource, which worked, but the properties to set are different from those I used for DBCP, url is URL and username is user and I would like to keep it generic. That's when I tried to use Spring's org.springframework.jdbc.datasource.DriverManagerDataSource for my datasource configuration,  which then finally got it working.&lt;br /&gt;&lt;br /&gt;After this I tried to get back to have it working through JdbcTemplate and the new DataSource, but with no luck.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-5709502067999236070?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/5709502067999236070/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=5709502067999236070" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/5709502067999236070?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/5709502067999236070?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/nhALvWxTKjk/oracle-xmltype-spring-and-couple-of.html" title="Oracle, XMLType, Spring and a couple of wasted hours" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2008/01/oracle-xmltype-spring-and-couple-of.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkYER3c-eip7ImA9WB9VGEg.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-3796943885571751272</id><published>2007-12-05T02:26:00.000-08:00</published><updated>2007-12-05T04:35:06.952-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-12-05T04:35:06.952-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="maven 2" /><category scheme="http://www.blogger.com/atom/ns#" term="dashboard plugin" /><category scheme="http://www.blogger.com/atom/ns#" term="maven plugin" /><title>Maven2 Dashboard Plugin</title><content type="html">What a trouble to have the maven 2  &lt;a href="http://mojo.codehaus.org/dashboard-maven-plugin"&gt;dashboard plugin&lt;/a&gt; working...&lt;br /&gt;&lt;br /&gt;I will later tell you my saga on upgrading my project to maven 2, but now I just would like to write down the procedure to have a maven 2 multiproject built with the dashboard plugin.&lt;br /&gt;In the plugin page (&lt;a href="http://mojo.codehaus.org/dashboard-maven-plugin/usage.html"&gt;this one&lt;/a&gt;) it miss some information.&lt;br /&gt;&lt;br /&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;1- Add the repository to your parent pom.xml&lt;/li&gt;&lt;/ul&gt;As the plugin is a snapshot version, you need to add a pluginRepository section to your parent pom (this can be done at the end of the pom, before the ) :&lt;br /&gt;  &amp;lt;pluginRepositories&amp;gt;&lt;br /&gt;     &amp;lt;pluginRepository&amp;gt;&lt;br /&gt;       &amp;lt;id&amp;gt;Codehaus Snapshots&amp;lt;/id&amp;gt;&lt;br /&gt;       &amp;lt;url&amp;gt;http://snapshots.repository.codehaus.org/&amp;lt;/url&amp;gt;&lt;br /&gt;       &amp;lt;releases&amp;gt;&lt;br /&gt;         &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;       &amp;lt;/releases&amp;gt;&lt;br /&gt;       &amp;lt;snapshots&amp;gt;&lt;br /&gt;         &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;       &amp;lt;/snapshots&amp;gt;&lt;br /&gt;     &amp;lt;/pluginRepository&amp;gt;&lt;br /&gt;   &amp;lt;/pluginRepositories&amp;gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;2- Insert the report section into the POM&lt;/li&gt;&lt;/ul&gt;This need to be inserted as the last report into your parent pom.xml&lt;br /&gt;&lt;reporting&gt;&lt;plugins&gt;&lt;plugin&gt;&lt;br /&gt; &lt;groupid&gt;&lt;/groupid&gt;&lt;span style="font-weight: bold;"&gt;&lt;version&gt;&lt;/version&gt;&lt;/span&gt;&lt;/plugin&gt;&lt;/plugins&gt;&lt;/reporting&gt;&lt;blockquote&gt;&lt;reporting&gt;&lt;plugins&gt;     &lt;plugin&gt;         &amp;lt;plugin&amp;gt;&lt;br /&gt;         &amp;lt;groupId&amp;gt;org.codehaus.mojo&amp;lt;/groupId&amp;gt;&lt;br /&gt;         &amp;lt;artifactId&amp;gt;dashboard-maven-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;         &amp;lt;version&amp;gt;1.0-SNAPSHOT&amp;lt;/version&amp;gt;&lt;br /&gt;       &amp;lt;/plugin&amp;gt;&lt;/plugin&gt;&lt;/plugins&gt;&lt;/reporting&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;what was missing here in the official page was the version, as it doesn't auto-resolve the version for snapshot releases.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;3 - Run the site and the dashboard&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;This is a two step process. First you need to run the site:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;mvn site:site&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and this is the catch, when running the dashboard plugin (which aggregates results and regenerates the dashboard html) you need to specify the version. This is not on the usage page as well:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;mvn org.codehaus.mojo:dashboard-maven-plugin:1.0-SNAPSHOT:dashboard&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you want to have the aggregate page as in the maven 1 dashboard plugin, you should use:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;plugin&gt;&lt;br /&gt;    &lt;groupid&gt;         &amp;lt;plugin&amp;gt;&lt;br /&gt;         &amp;lt;groupId&amp;gt;org.codehaus.mojo&amp;lt;/groupId&amp;gt;&lt;br /&gt;         &amp;lt;artifactId&amp;gt;dashboard-maven-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;         &amp;lt;version&amp;gt;1.0-SNAPSHOT&amp;lt;/version&amp;gt;&lt;br /&gt;         &amp;lt;configuration&amp;gt;&lt;br /&gt;           &amp;lt;m1LikeRendering&amp;gt;true&amp;lt;/m1LikeRendering&amp;gt;&lt;br /&gt;         &amp;lt;/configuration&amp;gt;&lt;br /&gt;       &amp;lt;/plugin&amp;gt;&lt;/groupid&gt;&lt;br /&gt;  &lt;/plugin&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;After this you might have the snapshot report on your parent page of your site (reports section), the report that follows is the sub-project one. I used the &lt;span style="font-style: italic;"&gt;m1LikeRendering &lt;/span&gt;property set to true.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV52zvwZVWY/R1aSWulnfJI/AAAAAAAAAKM/Qsy0yq_KQtI/s1600-h/repo1.JPG"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_dV52zvwZVWY/R1aSWulnfJI/AAAAAAAAAKM/Qsy0yq_KQtI/s400/repo1.JPG" alt="" id="BLOGGER_PHOTO_ID_5140456943850585234" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV52zvwZVWY/R1aazulnfLI/AAAAAAAAAKc/VU9L8qGaAos/s1600-h/repo2.JPG"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_dV52zvwZVWY/R1aazulnfLI/AAAAAAAAAKc/VU9L8qGaAos/s400/repo2.JPG" alt="" id="BLOGGER_PHOTO_ID_5140466238159813810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;One problem though that I couldn't fix: the links from the the aggregate dashboard report doesn't  work for all submodules, just got one to work, aparently, if your sub-module name has a '.' it gets clipped when creating the link.&lt;br /&gt;&lt;br /&gt;Emerson&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-3796943885571751272?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/3796943885571751272/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=3796943885571751272" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/3796943885571751272?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/3796943885571751272?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/0zEWAXOAcfE/maven2-dashboard-plugin.html" title="Maven2 Dashboard Plugin" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_dV52zvwZVWY/R1aSWulnfJI/AAAAAAAAAKM/Qsy0yq_KQtI/s72-c/repo1.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2007/12/maven2-dashboard-plugin.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkEFQHs8cSp7ImA9WB9XGUs.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-4495694328215382349</id><published>2007-11-13T07:34:00.000-08:00</published><updated>2007-11-13T07:43:31.579-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-13T07:43:31.579-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="firefox" /><category scheme="http://www.blogger.com/atom/ns#" term="multi rows tabs" /><title>multiple rows for firefox tabs</title><content type="html">A while ago when I had to reinstall everything on my computer I couldn't find again which was the plugin that enables the tabs to be shown in multiple rows. When searching in google all I found was a tweak&lt;blockquote&gt;&lt;pre&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;tabbrowser&lt;/span&gt;&lt;span class="punct"&gt;-&lt;/span&gt;&lt;span class="ident"&gt;tabs&lt;/span&gt; &lt;span class="punct"&gt;&gt;&lt;/span&gt; &lt;span class="ident"&gt;hbox&lt;/span&gt; &lt;span class="punct"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="ident"&gt;display&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt; &lt;span class="ident"&gt;block&lt;/span&gt; &lt;span class="punct"&gt;!&lt;/span&gt;&lt;span class="ident"&gt;important&lt;/span&gt;&lt;span class="punct"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="punct"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;tabbrowser&lt;/span&gt;&lt;span class="punct"&gt;-&lt;/span&gt;&lt;span class="ident"&gt;tabs&lt;/span&gt; &lt;span class="ident"&gt;tab&lt;/span&gt; &lt;span class="punct"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="punct"&gt;-&lt;/span&gt;&lt;span class="ident"&gt;moz&lt;/span&gt;&lt;span class="punct"&gt;-&lt;/span&gt;&lt;span class="ident"&gt;appearance&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt; &lt;span class="ident"&gt;none&lt;/span&gt; &lt;span class="punct"&gt;!&lt;/span&gt;&lt;span class="ident"&gt;important&lt;/span&gt;&lt;span class="punct"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="ident"&gt;display&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt; &lt;span class="ident"&gt;inline&lt;/span&gt; &lt;span class="punct"&gt;!&lt;/span&gt;&lt;span class="ident"&gt;important&lt;/span&gt;&lt;span class="punct"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="ident"&gt;width&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt; &lt;span class="number"&gt;16&lt;/span&gt;&lt;span class="punct"&gt;%&lt;/span&gt; &lt;span class="punct"&gt;!&lt;/span&gt;&lt;span class="ident"&gt;important&lt;/span&gt;&lt;span class="punct"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="ident"&gt;min&lt;/span&gt;&lt;span class="punct"&gt;-&lt;/span&gt;&lt;span class="ident"&gt;width&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt; &lt;span class="number"&gt;16&lt;/span&gt;&lt;span class="punct"&gt;%&lt;/span&gt; &lt;span class="punct"&gt;!&lt;/span&gt;&lt;span class="ident"&gt;important&lt;/span&gt;&lt;span class="punct"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="ident"&gt;max&lt;/span&gt;&lt;span class="punct"&gt;-&lt;/span&gt;&lt;span class="ident"&gt;width&lt;/span&gt;&lt;span class="punct"&gt;:&lt;/span&gt; &lt;span class="number"&gt;16&lt;/span&gt;&lt;span class="punct"&gt;%&lt;/span&gt; &lt;span class="punct"&gt;!&lt;/span&gt;&lt;span class="ident"&gt;important&lt;/span&gt;&lt;span class="punct"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="punct"&gt;}&lt;/span&gt;   &lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;Actually it's not that elegant. I prefer to use some addon for it. So i found again what I had been using before. It's the &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/1122"&gt;Tab Mix Plus&lt;/a&gt;, that among several features, enables to show tabs in as many rows as you want:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV52zvwZVWY/RznFhY21rsI/AAAAAAAAAJs/4xpwECia7E8/s1600-h/firefoxmultirow.JPG"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_dV52zvwZVWY/RznFhY21rsI/AAAAAAAAAJs/4xpwECia7E8/s400/firefoxmultirow.JPG" alt="" id="BLOGGER_PHOTO_ID_5132350427764207298" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The configuration for this is a bit hidden. Tools -&gt; Options -&gt; tabs -&gt; Tab Mix Plus Options -&gt; Display -&gt; Tab Bar -&gt; When tabs don't fit width -&gt; Multi- row, and then specify the number of rows you need.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dV52zvwZVWY/RznFQo21rrI/AAAAAAAAAJk/K2ovHKFQ4fY/s1600-h/firefoxmultirow.JPG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_dV52zvwZVWY/RznFQo21rrI/AAAAAAAAAJk/K2ovHKFQ4fY/s400/firefoxmultirow.JPG" alt="" id="BLOGGER_PHOTO_ID_5132350140001398450" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-4495694328215382349?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/4495694328215382349/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=4495694328215382349" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/4495694328215382349?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/4495694328215382349?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/pi2pZTj6D_U/multiple-rows-for-firefox-tabs.html" title="multiple rows for firefox tabs" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_dV52zvwZVWY/RznFhY21rsI/AAAAAAAAAJs/4xpwECia7E8/s72-c/firefoxmultirow.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2007/11/multiple-rows-for-firefox-tabs.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkEHRnwyeyp7ImA9WB9XGUo.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-616430875922330346</id><published>2007-11-12T03:06:00.001-08:00</published><updated>2007-11-13T08:17:17.293-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-13T08:17:17.293-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ant" /><category scheme="http://www.blogger.com/atom/ns#" term="resource files" /><category scheme="http://www.blogger.com/atom/ns#" term="parametrised resources" /><category scheme="http://www.blogger.com/atom/ns#" term="environment resources" /><title>Centralising enviroment variables in resource files</title><content type="html">It's always a pain to manage different resource files, which most of times, share non-environmental properties with environmental dependent properties. Keeping one copy of each file per environment is not always a good option, for the following reasons:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;To create a new environment, it's needed to go through all files looking for environment dependent ones.&lt;/li&gt;&lt;li&gt;Changes to environment dependent files need to be in sync with all different environment&lt;/li&gt;&lt;li&gt;Duplication of the same properties in different resource files&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;One solution of this problems is to parametrise the environment dependent values into a central and single file, which is then processed using Ant (or other tool if you prefer).&lt;br /&gt;&lt;br /&gt;In &lt;a href="http://www.javalobby.org/articles/ant-preprocessor/"&gt;this article&lt;/a&gt;,         Pete Eakle, shows how to use Ant to replace tokens in css files and resource files.&lt;br /&gt;&lt;br /&gt;I think it was missing what Ant replacement can do best, to separate the environmental dependencies in one central file per environment (and possibly also per application).&lt;br /&gt;&lt;br /&gt;The following figure shows how the approach would work:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_dV52zvwZVWY/Rzg7uo21roI/AAAAAAAAAIw/nTyVhhNtz3c/s1600-h/resourcesmerging.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_dV52zvwZVWY/Rzg7uo21roI/AAAAAAAAAIw/nTyVhhNtz3c/s400/resourcesmerging.jpg" alt="" id="BLOGGER_PHOTO_ID_5131917447816130178" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The env files (eg: dev.properties, qa.properties) would contain only environmental name=values entries. Those names would be tokens in the central resource files.&lt;br /&gt;&lt;br /&gt;For example:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;dev.properties:&lt;br /&gt;&lt;/span&gt;...&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;&lt;/span&gt;#HOST FOR THE DB&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;&lt;/span&gt;DB_HOST=xdbserver&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;&lt;/span&gt;...&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;and inside my central resource file:&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;myspring.properties :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:monospace;"&gt;&lt;/span&gt;db_host=${DB_HOST}&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;In this way, i can change the properties on the fly during build, and before deploying. Using the replacement token ${xxx} is not mandatory and can be changed in the ant script.&lt;br /&gt;&lt;br /&gt;The example should be used with the following structure:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;root&lt;br /&gt;|-resources-|-myspring.properties&lt;br /&gt;|           |-x.properties&lt;br /&gt;|-build.xml&lt;br /&gt;|-dev.properties&lt;br /&gt;|-live.properties&lt;br /&gt;|-target-&lt;br /&gt;|-resources&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The build file can be something like the following:&lt;br /&gt;&lt;span style="font-family:monospace;"&gt;&lt;project name="resources_merging" basedir="." default="filter_resources"&gt;&lt;target name="filter_resources" depends="describe" if="env_type"&gt;&lt;echo message="Replacing tokens for resource files using ${env_type}.properties"&gt;&lt;copy todir="./target/resources/" overwrite="true"&gt;&lt;filterset begintoken="$${" endtoken="}"&gt;&lt;filtersfile file="./${env_type}.properties"&gt;&lt;/filtersfile&gt;&lt;fileset dir="./resources" includes="**/*.*"&gt;&lt;/fileset&gt;&lt;/filterset&gt;&lt;target name="describe" unless="env_type"&gt;&lt;echo message="Deployment type required, eg.: ant -Denv_type=local filter_resources"&gt;&lt;/echo&gt;&lt;/target&gt;&lt;br /&gt;&lt;/copy&gt;&lt;/echo&gt;&lt;/target&gt;&lt;/project&gt;&lt;blockquote&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;&amp;lt;project name="resources_merging" basedir="." default="filter_resources"&amp;gt;&lt;br /&gt;   &amp;lt;target name="filter_resources" depends="describe" if="env_type"&amp;gt;&lt;br /&gt;       &amp;lt;echo message="Replacing tokens for resource files using ${env_type}.properties"&amp;gt;&lt;br /&gt;       &amp;lt;copy todir="./target/resources/" overwrite="true"&amp;gt;&lt;br /&gt;           &amp;lt;filterset begintoken="$${" endtoken="}"&amp;gt;&lt;br /&gt;                &amp;lt;filtersfile file="./${env_type}.properties" /&amp;gt;&lt;br /&gt;            &amp;lt;/filterset&amp;gt;&lt;br /&gt;            &amp;lt;fileset dir="./resources" includes="**/*.*" /&amp;gt;&lt;br /&gt;        &amp;lt;/copy&amp;gt;&lt;br /&gt;    &amp;lt;/target&amp;gt;&lt;br /&gt;    &amp;lt;target name="describe" unless="env_type"&amp;gt;&lt;br /&gt;        &amp;lt;echo message="Deployment type required, eg.: ant -Denv_type=local filter_resources" /&amp;gt;&lt;br /&gt;    &amp;lt;/target&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/project&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/span&gt;To use this scrip, you need to provide an environment parameter, like:&lt;br /&gt;&lt;br /&gt;ant &lt;span style=";font-family:courier new;font-size:85%;"  &gt;-Denv_type=dev &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;filter_resources&lt;br /&gt;&lt;br /&gt;This will replace the values provided in dev.properties in all the resource files, and copy all of them to the target/resources folder (that needs to be created beforehand).&lt;br /&gt;&lt;br /&gt;It uses the filterset option of the copy ant task, which will search for all the parameters in all the files (in this case in a recursive way).&lt;br /&gt;&lt;br /&gt;If you have any doubt about this approach or would like to discuss it, please let me know!!&lt;br /&gt;&lt;br /&gt;Emerson Cargnin&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-616430875922330346?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/616430875922330346/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=616430875922330346" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/616430875922330346?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/616430875922330346?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/0tjvLuLpX4Y/centralising-enviroment-variables-in_12.html" title="Centralising enviroment variables in resource files" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_dV52zvwZVWY/Rzg7uo21roI/AAAAAAAAAIw/nTyVhhNtz3c/s72-c/resourcesmerging.jpg" height="72" width="72" /><thr:total>3</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2007/11/centralising-enviroment-variables-in_12.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0MARHwycSp7ImA9WB9XEE0.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-3229858551563786626</id><published>2007-11-02T05:44:00.000-07:00</published><updated>2007-11-02T06:17:25.299-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-02T06:17:25.299-07:00</app:edited><title>Google Presentation Reloaded (export as PDF)</title><content type="html">Hi all&lt;br /&gt;&lt;br /&gt;In september I wrote &lt;a href="http://echofloripa.blogspot.com/2007/09/googles-powerpoint.html"&gt;this post&lt;/a&gt; about google's presentation webapp.&lt;br /&gt;&lt;br /&gt;Today i tried again to see which improvements we would have after 1.5 months. And guess what? I didn't notice any major improvement. Still unable to export as PDF, still without a image library or vector graphics, and the list continues.&lt;br /&gt;&lt;br /&gt;But actually i wrote this post to help you to export your google presentation as PDF.&lt;br /&gt;There is &lt;a href="http://www.myplick.com"&gt;this presentation sharing website&lt;/a&gt; called www.myplick.com, which now accepts google presentation to import. And it supplies an export as PDF.&lt;br /&gt;&lt;br /&gt;So to do it you go to the next page:&lt;br /&gt;http://www.myplick.com/upload.do?t=g&lt;br /&gt;&lt;br /&gt;And you can add the link to your presentation and even an mp3 with sound (good missing feature for google presentation to copy...)&lt;br /&gt;&lt;br /&gt;And after submitting the presentation, which doesn require you to register, you can export it as a pdf (button on the botton right).&lt;br /&gt;&lt;br /&gt;Here is my presentation there:&lt;br /&gt;http://www.myplick.com/view/eACtc3maRQ2/Test&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-3229858551563786626?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/3229858551563786626/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=3229858551563786626" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/3229858551563786626?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/3229858551563786626?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/mgoPpvHMCE4/google-presentation-reloaded-export-as.html" title="Google Presentation Reloaded (export as PDF)" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2007/11/google-presentation-reloaded-export-as.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUCRXkzfip7ImA9WB9XEE0.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-3127717090913882301</id><published>2007-11-02T04:26:00.000-07:00</published><updated>2007-11-02T04:34:24.786-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-02T04:34:24.786-07:00</app:edited><title>Changing windows title for dos command line and putty windows</title><content type="html">Have you ever got confused with lots of  different putty/command line windows for several different servers/different users and wanted to distinguish them?&lt;br /&gt;&lt;br /&gt;Now all your problems came to an end!!!!&lt;br /&gt;&lt;br /&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;Change Putty window's title bar:&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt; PROMPT_COMMAND='echo -ne "\033]0;london box - tomcat \007"'&lt;br /&gt;&lt;br /&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;Change command's window title bar:&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt; cmd /k title that's my dev trunk build window&lt;br /&gt;&lt;br /&gt;Emerson&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-3127717090913882301?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/3127717090913882301/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=3127717090913882301" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/3127717090913882301?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/3127717090913882301?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/hadIk7JNPKQ/changing-windows-title-for-dos-command.html" title="Changing windows title for dos command line and putty windows" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2007/11/changing-windows-title-for-dos-command.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0cDRXw4eCp7ImA9WB9QFk8.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-1222981078244965717</id><published>2007-10-28T15:33:00.000-07:00</published><updated>2007-10-28T18:24:34.230-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-10-28T18:24:34.230-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="videos" /><category scheme="http://www.blogger.com/atom/ns#" term="Exporting youtube videos" /><category scheme="http://www.blogger.com/atom/ns#" term="dvd" /><category scheme="http://www.blogger.com/atom/ns#" term="divx" /><category scheme="http://www.blogger.com/atom/ns#" term="mpeg" /><category scheme="http://www.blogger.com/atom/ns#" term="youtube" /><title>Exporting youtube videos to dvd format</title><content type="html">Hey guys, a while I haven't been here. Since two weeks ago I started going to a capoeira class here in UK, maybe trying to get back to my roots : )  I found some good lessons on youtube and other similar sites, but as my room is not that big to train capoeira inside : ) I had thought in recording them into dvd format. It came out quite tricky to find the right set of tools to do the job.&lt;br /&gt;&lt;br /&gt;So here goes my how-to:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1- Downloading youtube videos in flv format:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You need first to get the video from any video website. For this we will use a firefox plugin called Video DownloadHelper.  If you are not using firefox, a good chance for you to get rid of evil ms iexplorer.  Install the plugin in the following page:&lt;br /&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/3006"&gt;https://addons.mozilla.org/en-US/firefox/addon/3006 &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After installing it and going to your &lt;a href="http://www.youtube.com/watch?v=CJ4QQnrkNXM"&gt;favorite video page&lt;/a&gt;, you will see an animated icon at the right side of the address bar:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dV52zvwZVWY/RyUTlXLeB8I/AAAAAAAAAHs/xjsDr083I40/s1600-h/youtubegrab.JPG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_dV52zvwZVWY/RyUTlXLeB8I/AAAAAAAAAHs/xjsDr083I40/s400/youtubegrab.JPG" alt="" id="BLOGGER_PHOTO_ID_5126525283429386178" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Don't get scared with the image above, that's me playing harmonica with a sort of Andy Warhol's painting filter to the camera :)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2- Converting from flv to mpg4&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;This one was the hardest to find. There is quite a lot of apps that do the job, but most that i found you could use for free with a logo watermark on it, so not that useful, or you would have to pay for it. well, I ended up finding SUPER, which is a Universal Player Encoder &amp;amp; Renderer. It does the job well, even working in batch mode with loads of files, as it was my case. They have a good slogan which i confirm as true : "&lt;span style="color: rgb(0, 0, 112);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;SUPER © does for FREE what other encoders CAN'T do for money.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;". So if you want to donate and make them happy, click &lt;a href="https://www.paypal.com/xclick/business=support%40eRightSoft.com&amp;amp;item_name=Donation+for+SUPER%28C%29&amp;amp;amount=0.00&amp;amp;page_style=Primary&amp;amp;no_note=1&amp;amp;currency_code=USD"&gt;here&lt;/a&gt; :) and if you want to make me happy, please check the google links on the top or botton :P  Finding the link to download that would work was the trickest part.  You can try the following ones:&lt;br /&gt;&lt;a href="http://www.erightsoft.info/GetFile.php?SUPERsetup.exe"&gt;http://www.erightsoft.info/GetFile.php?SUPERsetup.exe&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.erightsoft.net/S6Kg1.html"&gt;http://www.erightsoft.net/S6Kg1.html&lt;/a&gt;&lt;br /&gt;If it doesn't work, try in another browser, i had to use evil ms internet explorer, can you believe it? : ) well, nothing can be so easy, isn't? Just to give some challenge to the task :)&lt;br /&gt;&lt;br /&gt;They say the following related to the problem of downloading:&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;   To download from this site without looping back to the same page you need to:&lt;br /&gt;  Enable your &lt;u&gt;JavaScript&lt;/u&gt;, clear your &lt;u&gt;MSIE cache&lt;/u&gt;, do not block your &lt;u&gt;http_referrer&lt;/u&gt; (with ZoneAlarm or similar), do not use a &lt;u&gt;proxy.&lt;/u&gt;&lt;br /&gt;  Queries concerning this issue will not be answered. &lt;a href="http://www.erightsoft.net/dlhelp.html" target="_blank"&gt;We do not know any other answer to give&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After installing, when running, to do a quick transformation use the following settings:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_dV52zvwZVWY/RyUUNnLeB9I/AAAAAAAAAH0/L1rMUb9Eboo/s1600-h/super.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_dV52zvwZVWY/RyUUNnLeB9I/AAAAAAAAAH0/L1rMUb9Eboo/s400/super.JPG" alt="" id="BLOGGER_PHOTO_ID_5126525974919120850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Actually the only thing I've changed was the first line: output container -&gt; MPG4, output video codec -&gt; DIVX and output audio codec-&gt; AAC. The rest was default already. One thing that is not so intuitive is how to set the output folder. You need to right click and choose the "Output File Save Management".  To choose the files you want to convert, you can right click and choose "Add Multimedia File(s)". After everything ready, hit "Encode (Active files)" button and wait the files to be processed.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3- Creating a dvd with the files&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Up to this moment you could already burn a CD with the files and play at most of new dvds. But if you want to burn a DVD you will need an app that can convert conventional MPG files into DVD format. Most os applications that burn DVD are paid, like nero. But as I wouldn't let you without an alternative, I discovered this really cool opensource project that came out quite good and easy to use. It's called &lt;a href="http://www.dvdflick.net/"&gt;dvdflick&lt;/a&gt;, an opensource project from sourceforge. Use the following link to download it:&lt;br /&gt;&lt;a href="http://sourceforge.net/project/showfiles.php?group_id=170196"&gt;http://www.dvdflick.net/download.php&lt;/a&gt;&lt;br /&gt;It was released last month (september), but it looks really good and stable, and with the same features of the other apps.&lt;br /&gt;&lt;br /&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;Main window- Adding media files&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_dV52zvwZVWY/RyUaGXLeCBI/AAAAAAAAAIQ/zVfcMm9aDtw/s1600-h/dvdflick1.JPG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_dV52zvwZVWY/RyUaGXLeCBI/AAAAAAAAAIQ/zVfcMm9aDtw/s400/dvdflick1.JPG" alt="" id="BLOGGER_PHOTO_ID_5126532447434835986" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Configuring the project:&lt;/li&gt;&lt;/ul&gt;You need to choose the second option only (burn the project to the disc), if you choose both you will get an error message and if you don't choose any nothing will be saved in the DVD.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_dV52zvwZVWY/RyUpvnLeCEI/AAAAAAAAAIo/oi38L48XQDY/s1600-h/dvdflick4.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_dV52zvwZVWY/RyUpvnLeCEI/AAAAAAAAAIo/oi38L48XQDY/s400/dvdflick4.JPG" alt="" id="BLOGGER_PHOTO_ID_5126549648778856514" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Generating the dvd.&lt;/li&gt;&lt;/ul&gt;This following windows will appear when you press the "Create DVD" button in the main window:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_dV52zvwZVWY/RyUaLnLeCCI/AAAAAAAAAIY/k0j_-P6zTvc/s1600-h/dvdflick2.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_dV52zvwZVWY/RyUaLnLeCCI/AAAAAAAAAIY/k0j_-P6zTvc/s400/dvdflick2.JPG" alt="" id="BLOGGER_PHOTO_ID_5126532537629149218" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Conclusion&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As you could see, it's not rocket science to get a bunch of videos from youtube playing in a DVD. It's just about finding the right tools for the right job : ) And all free (and mainly: without limitations) tools so that might facilitate things for everyone.&lt;br /&gt;&lt;br /&gt;Also, most of the previous softwares shown here use &lt;a href="http://en.wikipedia.org/wiki/FFmpeg"&gt;ffmpeg&lt;/a&gt; command line tool. This is the big guy when talking about sound and video conversion.&lt;br /&gt;&lt;br /&gt;Hope this might be useful to you guys, feel free to leave suggestions or critics.&lt;br /&gt;&lt;br /&gt;Emerson&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-1222981078244965717?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/1222981078244965717/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=1222981078244965717" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/1222981078244965717?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/1222981078244965717?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/TskWO-k5QmE/exporting-youtube-videos-to-dvd-format.html" title="Exporting youtube videos to dvd format" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_dV52zvwZVWY/RyUTlXLeB8I/AAAAAAAAAHs/xjsDr083I40/s72-c/youtubegrab.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2007/10/exporting-youtube-videos-to-dvd-format.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0EARn0yfyp7ImA9WB9RFUk.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-387337491249114186</id><published>2007-10-15T08:35:00.000-07:00</published><updated>2007-10-16T08:47:27.397-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-10-16T08:47:27.397-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="oracle dates" /><category scheme="http://www.blogger.com/atom/ns#" term="oracle timestamps" /><title>Oracle and Dates</title><content type="html">&lt;p&gt;Something i usually suffer is on how to format date on Oracle. Here goes some tips on fomatting, inserting and comparing oracle dates:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The following brings the current date/time:&lt;/p&gt; &lt;p&gt;&lt;code&gt;SELECT sysdate FROM dual;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;SYSDATE&lt;br /&gt;———&lt;br /&gt;14-SEP-05&lt;/p&gt;   &lt;p&gt;This simple select statement returns the date in the standard format (typically DD-MON-YY.)  &lt;/p&gt; &lt;p&gt;&lt;code&gt;SELECT systimestamp FROM DUAL;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;SYSTIMESTAMP&lt;br /&gt;—————————————————————————&lt;br /&gt;14-SEP-05 04.06.31.264201 PM -04:00&lt;/p&gt; &lt;p&gt;Here we see that systimestamp reports more detail than sysdate, including the offset from GMT.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Displaying Dates&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;The &lt;code&gt;to_char&lt;/code&gt; function will allow you to describe how you want dates displayed and will convert them to a character string in that format. For Oracle , the default is DD-MON-YY.&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;SELECT to_char(sysdate, 'MM/DD/YYYY') FROM dual;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;TO_CHAR(SYSDATE,'mm/DD/YYYY')&lt;br /&gt;———-&lt;br /&gt;09/14/2005&lt;/p&gt; &lt;p&gt;the to_char function requires two parameters: a date to display, and the format you want it to be in. There are several formatting options, but here are some common ones:&lt;/p&gt; &lt;p&gt;&lt;code&gt;SELECT to_char(sysdate, 'MM/DD/YY') FROM dual;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;09/14/05&lt;/p&gt; &lt;p&gt;SELECT to_char(sysdate, ‘MM/DD/YYYY HH:MI:SS’) FROM dual;&lt;/p&gt; &lt;p&gt;09/14/2005 04:09:03&lt;/p&gt; &lt;p&gt;SELECT to_char(sysdate, ‘DAY, MONTH DD, HH12:MI AM’) FROM dual;&lt;/p&gt; &lt;p&gt;WEDNESDAY, SEPTEMBER 14, 04:09 PM&lt;/p&gt; &lt;p&gt;SELECT to_char(sysdate, ‘YYYY BC’) FROM dual;&lt;/p&gt; &lt;p&gt;2005 AD&lt;/p&gt; &lt;p&gt;SELECT to_char(systimestamp, ‘HH24:MI:SS.FF3′) FROM dual;&lt;/p&gt; &lt;p&gt;16:09:24.606&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Inserting Dates&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;The function &lt;code&gt;to_date&lt;/code&gt; works similarly to the &lt;code&gt;to_char&lt;/code&gt; function above. You must specify a date, typically enclosed by single quotes, then describe the format with the date components as above. To demonstrate this let's create a table we can insert some dates into.&lt;/p&gt; &lt;p&gt;&lt;code&gt;CREATE TABLE dates&lt;br /&gt;(&lt;br /&gt;entry NUMBER,&lt;br /&gt;entry_date DATE,&lt;br /&gt;CONSTRAINT pk_dates PRIMARY KEY (entry)&lt;br /&gt;);&lt;/code&gt;&lt;/p&gt; &lt;p&gt;Now a few inserts:&lt;/p&gt; &lt;p&gt;&lt;code&gt;INSERT INTO dates (entry, entry_date)&lt;br /&gt;VALUES (1, sysdate);&lt;/code&gt;&lt;/p&gt; &lt;p&gt;Inserts the current date and time to the second.&lt;/p&gt; &lt;p&gt;&lt;code&gt;INSERT INTO dates (entry, entry_date)&lt;br /&gt;VALUES (2, to_date(’09/27/05′, ‘MM/DD/YY’));&lt;/code&gt;&lt;/p&gt; &lt;p&gt;INSERT INTO dates (entry, entry_date)&lt;br /&gt;VALUES (3, to_date(’10/02/2005 10:05:33 PM’, ‘MM/DD/YYYY HH:MI:SS AM’));&lt;/p&gt; &lt;p&gt;INSERT INTO dates (entry, entry_date)&lt;br /&gt;VALUES (4, to_date(’17:01:24′, ‘HH24:MI:SS’));&lt;/p&gt; &lt;p&gt;INSERT INTO dates (entry, entry_date)&lt;br /&gt;VALUES (5, to_date(’Monday, September 12, 2:30 PM’, ‘DAY, MONTH DD, HH:MI AM’));&lt;/p&gt; &lt;p&gt;COMMIT;&lt;/p&gt; &lt;p&gt;Now let’s take a look at the data in the dates table:&lt;/p&gt; &lt;p&gt;&lt;code&gt;SELECT entry, to_char(entry_date, 'MM/DD/YYYY HH:MI:SS AM')&lt;br /&gt;FROM dates;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;1  09/14/2005 09:08:32 PM&lt;br /&gt;2  09/27/2005 12:00:00 AM&lt;br /&gt;3  10/02/2005 10:05:33 PM&lt;br /&gt;4  09/01/2005 05:01:24 PM&lt;br /&gt;5  09/12/2005 02:30:00 PM&lt;/p&gt; &lt;p&gt;We can see that the current date and time was entered in entry 1 down to the second.&lt;/p&gt; &lt;p&gt;Entry 2 contains the date we entered, but since we did not specify the time it has defaulted to midnight.&lt;/p&gt; &lt;p&gt;Entry 3 shows a complete timestamp exactly as we specified.&lt;/p&gt; &lt;p&gt;In entry 4 we see the time as we specified, but since we didn’t specify a date it has defaulted to the first of this month. I have a feeling this varies from database to database. Probably best not to rely on this.&lt;/p&gt; &lt;p&gt;Entry 5 shows the date and time, however since we did not specify seconds they display as :00.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Comparing Dates&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Dates can be compared much like other values.  To demonstrate this we’ll do some quick selects on the table we just created.&lt;/p&gt; &lt;p&gt;&lt;code&gt;select entry, to_char(entry_date, 'MM/DD/YYYY HH:MI:SS AM')&lt;br /&gt;from dates&lt;br /&gt;where entry_date &gt; to_date(’09/20/2005′, ‘MM/DD/YYYY’);&lt;/code&gt;&lt;/p&gt; &lt;p&gt;2  09/27/2005 12:00:00 AM&lt;br /&gt;3  10/02/2005 10:05:33 PM  &lt;/p&gt; &lt;p&gt;select entry, to_char(entry_date, ‘MM/DD/YYYY HH:MI:SS AM’)&lt;br /&gt;from dates&lt;br /&gt;where entry_date &lt;&gt; &lt;/p&gt;&lt;p&gt;1  09/14/2005 09:08:32 PM&lt;br /&gt;4  09/01/2005 05:01:24 PM&lt;br /&gt;5  09/12/2005 02:30:00 PM  &lt;/p&gt; &lt;p&gt;select entry, to_char(entry_date, ‘MM/DD/YYYY HH:MI:SS AM’)&lt;br /&gt;from dates&lt;br /&gt;order by entry_date;&lt;/p&gt; &lt;p&gt;4  09/01/2005 05:01:24 PM&lt;br /&gt;5  09/12/2005 02:30:00 PM&lt;br /&gt;1  09/14/2005 09:08:32 PM&lt;br /&gt;2  09/27/2005 12:00:00 AM&lt;br /&gt;3  10/02/2005 10:05:33 PM&lt;/p&gt; &lt;p&gt;These are the main things you can do with dates in Oracle, if you think of anything else, please let me know.&lt;/p&gt;&lt;br /&gt;Emerson&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-387337491249114186?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/387337491249114186/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=387337491249114186" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/387337491249114186?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/387337491249114186?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/1aN99S90r9g/oracle-and-dates.html" title="Oracle and Dates" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2007/10/oracle-and-dates.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8NRH45fCp7ImA9WB9SGEU.&quot;"><id>tag:blogger.com,1999:blog-19000979.post-6949207490909677036</id><published>2007-10-08T14:09:00.000-07:00</published><updated>2007-10-08T16:08:15.024-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-10-08T16:08:15.024-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="City of God" /><category scheme="http://www.blogger.com/atom/ns#" term="tropa de elite movie" /><category scheme="http://www.blogger.com/atom/ns#" term="brazil" /><category scheme="http://www.blogger.com/atom/ns#" term="brasil" /><title>Tropa de Elite, the new (and the best, according to some) brazilian movie</title><content type="html">&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://cifraclub.terra.com.br/contrib/noticias/bope_1154978123.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 95px; height: 94px;" src="http://cifraclub.terra.com.br/contrib/noticias/bope_1154978123.jpg" alt="" border="0" /&gt;&lt;/a&gt;Hi guys, yesterday I've finished watching the movie "&lt;a href="http://en.wikipedia.org/wiki/Tropa_de_Elite"&gt;Tropa de Elite&lt;/a&gt;", a new brazilian movie just released a couple of days ago. This movie created such a comotion even before been released, been so by far the most copied (brazilian) movie in brazil. Because of this the movie was re-scheduled to the 5th of October instead of 2th, the original schedule.&lt;br /&gt;The movie is a story based on real facts about the BOPE, in english "Especial Operations Police Battalion", a special police of Rio de Janeiro city. It shows the cruel reality of the poverty in the favelas of Rio de Janeiro, where the criminality and drug dealing goes along (and well) with the police, that by getting such a small salary almost always end up getting  corrupted. The BOPE isn't like that (at least in the movie), and it's feared by the other kinds of police and the criminals in the favelas, giving a hope that not all police would be corrupt. But this special operations group also show a different view that seems to be more and more accepted by the society, not  that this movie created, but just made it brought it up: the acceptance of the rule of "an eye for an eye and a tooth for a tooth" (&lt;a href="http://www.wsu.edu:8080/%7Ewldciv/world_civ_reader/world_civ_reader_1/hammurabi.html"&gt;Hammurabi's law&lt;/a&gt;). As the brazilian people see their corrupt politicians (pleonasm?) not been punished, the drug dealers commanding the favelas and the police charging to do their work, people start to accept this radical way of solving things.&lt;br /&gt;&lt;br /&gt;Following is the first 7 minutes of the movie, with subtitles in English. Some weird translations here and there : )&lt;br /&gt;&lt;br /&gt;&lt;object height="353" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/EqXsvbkD-Sw"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/EqXsvbkD-Sw" type="application/x-shockwave-flash" wmode="transparent" height="353" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Before anything I would like to highlight that the reality shown in this movie is NOT what you will see everywhere in Brazil. Even in Rio de Janeiro, apart if you really look for trouble, you won't see things that happen in this movie, as police and criminals going around shooting randomly. &lt;br /&gt;&lt;br /&gt;The danger of movies that explore the extremes of Brazil's poverty and criminality like "City of God" or now "Tropa de Elite" is that people will create this stereotype that Brazil is just that everywhere. I lost count of how many times people told me in Europe: "Are you brazilian? Ahhh, I've seen 'City of God', is it really like that? ". At least it doesn't go the the extremes as the movie  "Tourists", which shows americans and british tourists been kidnapped and having their organs taken alive... Really something I've NEVER heard about....&lt;br /&gt;&lt;br /&gt;People don't know that for example, in the south of Brazil we have places that you would just feel like being in Germany, from the architecture or even from the language in some places. &lt;a href="http://en.wikipedia.org/wiki/Blumenau"&gt;Blumenau&lt;/a&gt;, for example, a city founded by Germanic immigrants, 140 kms from my city &lt;a href="http://en.wikipedia.org/wiki/Florianopolis"&gt;Florianopolis&lt;/a&gt;, has an Oktoberfest every year, that is one of the biggest parties in Brazil.&lt;br /&gt;&lt;br /&gt;People outside Brazil use to have a stereotype of brazilian been people that just know how to play football and dance samba. I hope I had done my job so far of showing to people in Europe that Brazil and brazilian people  has much more to offer than only this.&lt;br /&gt;&lt;br /&gt;To finish, the official trailer of the movie, unfortunately only in portuguese:&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="353"&gt;&lt;param name="movie" value="http://www.youtube.com/v/0jeTL9hC3Wg"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/0jeTL9hC3Wg" type="application/x-shockwave-flash" wmode="transparent" width="425" height="353"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19000979-6949207490909677036?l=echofloripa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://echofloripa.blogspot.com/feeds/6949207490909677036/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=19000979&amp;postID=6949207490909677036" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/6949207490909677036?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/19000979/posts/default/6949207490909677036?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/lvXV/~3/N0msVkTZ4VM/tropa-de-elite-new-and-best-according.html" title="Tropa de Elite, the new (and the best, according to some) brazilian movie" /><author><name>Emerson</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://bp2.blogger.com/_dV52zvwZVWY/Rtb60p8wFFI/AAAAAAAAADc/qvVJYny15-g/S184/1166390442_f.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://echofloripa.blogspot.com/2007/10/tropa-de-elite-new-and-best-according.html</feedburner:origLink></entry></feed>

