<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4159420781944033879</id><updated>2012-01-30T08:56:07.169-08:00</updated><category term='Personal'/><category term='IE7'/><category term='Software Engineering'/><category term='tools'/><category term='XSLT'/><category term='javascript'/><category term='finance'/><category term='taxes Personal'/><category term='Family'/><category term='development'/><category term='loss'/><category term='Austin'/><category term='Eleanor'/><category term='Java'/><category term='gain'/><category term='resume'/><category term='LDS'/><category term='atg'/><category term='Maven'/><category term='Linux'/><category term='gardening'/><category term='Software'/><category term='Belts'/><category term='career'/><category term='eclipse'/><category term='J2EE'/><category term='weigh-in'/><category term='car'/><title type='text'>Four Gables Guy</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default?start-index=101&amp;max-results=100'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>207</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-6173819809218016513</id><published>2012-01-26T10:42:00.000-08:00</published><updated>2012-01-26T12:36:56.108-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><title type='text'>Java static initialization gotcha</title><content type='html'>If you have a class which has a singleton instance of itself as a static member, and also use a static inititialization block, then you can run into an issue with initialization like I did where static final members are null.&lt;br /&gt;&lt;blockquote&gt;01 import java.util.*;&lt;br /&gt;02&lt;br /&gt;03 class MySingletonClass {&lt;br /&gt;04     private static final instance = new MySingletonClass();&lt;br /&gt;05     private static final List&lt;string&gt; MY_STRINGS;&lt;br /&gt;06     static {&lt;br /&gt;07          MY_STRINGS = new ArrayList&lt;string&gt;();&lt;br /&gt;08     }&lt;br /&gt;09     public MySingletonClass() {&lt;br /&gt;10          System.out.println("MY_STRINGS: "+MYSTRINGS);&lt;br /&gt;11     }&lt;br /&gt;12 }&lt;/string&gt;&lt;/string&gt;&lt;/blockquote&gt;&lt;string&gt;&lt;string&gt;&lt;br /&gt;The above will throw a NullPointer Exception on line 10 because the MySingletonClass constructor is called BEFORE the static initialization block is executed. So change it to this:&lt;br /&gt;&lt;blockquote&gt;01 import java.util.*;&lt;br /&gt;02&lt;br /&gt;03 class MySingletonClass {&lt;br /&gt;04     private static final instance;&lt;br /&gt;05     private static final List&lt;string&gt; MY_STRINGS;&lt;br /&gt;06     static {&lt;br /&gt;07          MY_STRINGS = new ArrayList&lt;string&gt;();&lt;br /&gt;08          instance = new MySingletonClass();&lt;br /&gt;09     }&lt;br /&gt;10     public MySingletonClass() {&lt;br /&gt;11          System.out.println("MY_STRINGS: "+MYSTRINGS);&lt;br /&gt;12     }&lt;br /&gt;13 }&lt;/string&gt;&lt;/string&gt;&lt;/blockquote&gt;&lt;string&gt;&lt;string&gt;&lt;br /&gt;Now the instance static member variable is not created until AFTER the other static member is initialized. So the constructor can correctly execute the print statement.&lt;/string&gt;&lt;/string&gt;&lt;/string&gt;&lt;/string&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-6173819809218016513?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/6173819809218016513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=6173819809218016513' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6173819809218016513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6173819809218016513'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2012/01/java-static-initialization-gotcha.html' title='Java static initialization gotcha'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-3130064925636744691</id><published>2012-01-24T10:44:00.000-08:00</published><updated>2012-01-24T13:20:34.885-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><title type='text'>Use package-info.java for all your package level annotation needs</title><content type='html'>I had a problem, I needed to annotate all the occurrences of java.sql.Timestamp with an XmlJavaTypeAdapter for all classes in a Java package. For example I needed this done in dozens of generated source files:&lt;br /&gt;&lt;br /&gt;    &lt;blockquote&gt;@XmlJavaTypeAdapter(com.fourgablesguy.dao.hibernate.util.TimestampAdapter.class)&lt;br /&gt;    public Timestamp getCreateTs() {&lt;br /&gt;         return this.createTs;&lt;br /&gt;    }&lt;/blockquote&gt;&lt;br /&gt;The TimestampAdapter class is the following:&lt;br /&gt;&lt;blockquote&gt;package com.fourgablesguy.dao.hibernate.util;&lt;br /&gt;&lt;br /&gt;import java.sql.Timestamp;&lt;br /&gt;import java.util.Date;&lt;br /&gt;&lt;br /&gt;import javax.xml.bind.annotation.adapters.XmlAdapter;&lt;br /&gt;&lt;br /&gt;public class TimestampAdapter extends XmlAdapter&lt;date, timestamp=""&gt; {&lt;br /&gt;&lt;br /&gt;    @Override&lt;br /&gt;    public Date marshal(Timestamp v) throws Exception {&lt;br /&gt;         return new Date(v.getTime());&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    @Override&lt;br /&gt;    public Timestamp unmarshal(Date v) throws Exception {&lt;br /&gt;         return new Timestamp(v.getTime());&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;}&lt;/date,&gt;&lt;/blockquote&gt;&lt;date, timestamp=""&gt;&lt;br /&gt;&lt;br /&gt;The reason I needed this done is because Timestamp does not have a public no-arg constructor and XStream could not marshall objects containing Timestamp objects. The nice solution to annotating these is to use package-info.java, you place this file in the same folder as the source java files, but it is not a typical source file. Here is the contents of my package-info.java:&lt;br /&gt;&lt;blockquote&gt;@javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters&lt;br /&gt;({&lt;br /&gt;    @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(value=com.fourgablesguy.dao.hibernate.util.TimestampAdapter.class,type=java.sql.Timestamp.class)&lt;br /&gt;})&lt;br /&gt;package com.myama.dao.hibernate;&lt;/blockquote&gt;&lt;br /&gt;This package-info file is used by Java to annotate all classes in a package, with this single file my problem was resolved. My TimestampAdapter allowed me to marshall Timestamp objects with XStream. I used fully qualified names of classes in the package-info since I was not clear if you could import packages or if you had package access to the enclosing namespace.&lt;/date,&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-3130064925636744691?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/3130064925636744691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=3130064925636744691' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3130064925636744691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3130064925636744691'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2012/01/use-package-infojava-for-all-your.html' title='Use package-info.java for all your package level annotation needs'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-1237761279704539106</id><published>2012-01-18T12:41:00.000-08:00</published><updated>2012-01-18T13:03:17.190-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><title type='text'>Keep your browser updated</title><content type='html'>&lt;div&gt;Financial and Health industries are notorious for being slow to adopt better technology and instead cling to inferior hardware/software beyond the logical pain point, web browsers included. As a general philosophy I recommend it would be healthy for these industries to adopt the policy that web browsers be kept updated and applications used by the company be maintained to work correctly with modern browsers.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here are three good reasons to keep browsers updated:&lt;/div&gt;&lt;div&gt;First, old browsers (and the OS they run on) are vulnerable to attacks.&lt;/div&gt;&lt;div&gt;Second, the web evolves quickly. Old browsers will miss out.&lt;/div&gt;&lt;div&gt;Third, old browsers slow down innovation on the web.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I worked with a previous client who insisted on a dynamic Web 2.0 look to the complex web application I was designing but also demanded compatibility with IE7. Delivering on both of these requirements (latest Internet bells and whistles, like mobile browser compatibility and AJAX, as well as backward compatibility with older browser versions) increases the difficulty level and cost of the site development considerably for a number of reasons: &lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;First you have to test on these older browser versions in addition to testing on the common browsers, which increases the development time. It is not just twice the work, because you have to worry about supporting all browsers with a single application, making a single change requires testing all browsers to make sure fixing an issue in one browser does not break something in another. &lt;/li&gt;&lt;li&gt;Next you have to pare down features and functionality so that it works consistently everywhere, so you might have had a nice dynamic form element or navigation control working in IE9 and FireFox 4, but it all gets tossed out when it cannot work in IE7 (see holding up innovation reason given above). &lt;/li&gt;&lt;li&gt;Also, for some "must have" site features or functionality: developers will usually have to code around older browser version quirks, so instead of writing code in one place to perform a task, it is written one place or one way for modern browsers and another place or another way for older browsers (see slowing down the web). This causes a code maintenance issue as you now have multiple places to check to fix problems or update code for a single feature or site behavior. This is a problem for HTML, CSS, and Javascript as all three can behave differently on different browsers. &lt;/li&gt;&lt;li&gt;Yet another problem that can arise is your Javascript/CSS performance can vary widely in different browser flavors and versions, for example IE7 Javascript benchmarks are miserably slow when compared with more recent versions of IE and other browsers like FireFox or Chrome. This can cause problems where failing to test on the required browser versions can really bite you. &lt;/li&gt;&lt;li&gt;If a performance issue (or any browser version issue) is found late in the development cycle, either because the testing was not done along side development in that version or because developers only used modern browsers for their self verification and validation of the application, then the time needed to fix the entire problem is much larger and more difficult than if it had been caught earlier because much more code is in place to review and repair and test.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;99% of businesses do not have the resources to provide application support on dozens of browsers versions, it is less expensive to support the current browsers than to support historical ones. Developers are much happier working with current tech than outdated tech as well.  Your clients may not want to upgrade their browsers, they may ‘need’ the old browser to access a neglected internal application which only works with a specific legacy browser, but clients refusing to update their software and maintain their web applications are hurting themselves (and you) in several ways: &lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;old software makes their business less competitive (faster browsers/computers make a more efficient workforce);&lt;/li&gt;&lt;li&gt;old/inferior software has high hidden costs (performance issues, functional issues, security vulnerabilities, feature limitations, and incompatibilities with emerging technologies);&lt;/li&gt;&lt;li&gt;outsourced development vendors always find doing business with clients clinging to old software is more expensive and they increase their bids accordingly (I saw this first hand many times working as a consultant); &lt;/li&gt;&lt;li&gt;some development vendors even flat out refuse business which requires older browser compatibility as a policy / business strategy.  This allows their developers freedom to ignore issues only present in older browsers and they can therefore innovate more efficiently.&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;Newer IE browsers can run in a legacy mode, emulating the previous versions, for those rare cases where a legacy browser mode is needed to use a web site. You can even set preferences for specific sites such that certain sites always use a compatibility mode. The barrier to upgrading to a new browser is mostly self-inflicted because browser creators do everything possible to encourage adoption of the newer version.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-1237761279704539106?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/1237761279704539106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=1237761279704539106' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1237761279704539106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1237761279704539106'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2012/01/keep-your-browser-updated.html' title='Keep your browser updated'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-4149576010816253874</id><published>2012-01-17T11:20:00.000-08:00</published><updated>2012-01-17T11:20:00.986-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><title type='text'>How do I test my web application against IE6 and IE7 in Windows 7?</title><content type='html'>&lt;span class="Apple-style-span"&gt;&lt;div class="jive-thread-post-subject" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: 515px; "&gt;&lt;div class="jive-thread-post-subject-content" style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 9px; padding-left: 0px; clear: none; background-image: url(http://communities.knowlysis.com/images/jive-div-dotted.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 50% 100%; background-repeat: repeat no-repeat; "&gt;&lt;h2 style="margin-top: 0px; margin-right: 100px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); font-weight: normal; font-size: 2em; width: auto; text-decoration: none; "&gt;&lt;a href="http://communities.knowlysis.com/message/2144#2144" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 51, 51); text-decoration: none; width: auto; font-size: 1em; font-weight: normal; "&gt;How do I test my web application against IE6 and IE7 and IE8 and IE9 in Windows 7?&lt;/a&gt;&lt;/h2&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="jive-thread-post-message" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 3px; padding-left: 0px; overflow-x: auto; overflow-y: hidden; position: relative; "&gt;&lt;div class="jive-rendered-content" style="margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; overflow-x: visible; overflow-y: visible; clear: both; position: relative; width: 510px; "&gt;&lt;p style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Problem: Windows 7 comes with IE8 or IE9 or IE10 (and does not have a path back to use IE6 or IE7, (and don't patronize me with browser emulation solutions, they all suck.) Microsoft has sunsetted support for IE6 and IE7 is getting closer to being out of support as well.&lt;/p&gt;&lt;p style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt;Solution:&lt;/p&gt;&lt;p style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Go here &lt;a class="jive-link-external-small" href="http://www.microsoft.com/windows/virtual-pc/download.aspx" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;http://www.microsoft.com/windows/virtual-pc/download.aspx&lt;/a&gt;&lt;/p&gt;&lt;p style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;/p&gt;&lt;ol style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;li&gt;Download the 500 MB Windows XP Mode VHD installer.&lt;/li&gt;&lt;li&gt;Run the installer.&lt;/li&gt;&lt;li&gt;Download Virtual PC if you lack this.&lt;/li&gt;&lt;li&gt;Test with IE6 bundled in the vhd. &lt;/li&gt;&lt;li&gt;Make a second vhd and upgrade to IE7 within the Virtual PC VM.*&lt;/li&gt;&lt;li&gt;Rinse and repeat for IE8, IE9&lt;/li&gt;&lt;li&gt;If you are doing local web development, install the Microsoft Loopback adapter on your host OS.&lt;/li&gt;&lt;li&gt;You now have the ability to test your site in native IE6 and IE7 and IE8, IE9, and IE10.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;Other tools exist to emulate or simulate IE6 and IE7 web rendering, but they will always fall short of the mark and open you to risks if they fail to display your site *exactly* the way it displays in the native browser and I recommend that they should not be used for any project where you can use a VM instead.&lt;/span&gt;&lt;/span&gt;&lt;p style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;/p&gt;&lt;p style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;*For this step there are some special tricks to it. After making a copy of your IE6 vhd file, you need to change it's hardware signature to avoid conflicts with running it in parallel with your IE6 VM.&lt;/p&gt;&lt;p style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Windows 7 comes with a command line utility called diskpart that can let you view and change the disk signature.&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;Open a command prompt as administrator. To do this in Windows 7, click the Windows start menu (the round Windows icon on the left bottom corner), type "cmd" (without the quotes), right click the "cmd.exe" item that appears at the top of your menu, and click the line "Run as administrator". Do this even if you are already logged in as administrator, since on Windows 7, administrators run with reduced rights by default.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;A black command prompt window will open. In Windows 7, the title bar of the window will tell you that you are running it as Administrator. If it does not, it means you did not do what I just said above. Return and follow the first step, or you will not be able to successfully carry out the rest of this tutorial.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;Type "diskpart" (without the quotes) into the window. (Note: for this and the other commands described here, you'll have to hit the ENTER key after you finish typing your commands for them to take effect.)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;Microsoft DiskPart will start. When it is ready, it will issue a "DISKPART&amp;gt;" prompt, allowing you to enter your commands.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;Type "list disk" (without the quotes). This will list all the disks that are currently mounted (connected to the system). The disk will not have the usual names and labels that you're accustomed to from the Windows Explorer interface, so you will have to recognize them by their sizes.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;Note that "list disk" actually lists the physical disks, and not the partitions that you may have assigned drive letters. This means that if you have 2 physical disks, with 3 partitions on each, so that you have drives C:, D:, E:, F:, G: and H:, "list disk" will only show "Disk 0" and "Disk 1".&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;To view the signature of a disk, you must first select it. To select a disk, type "select disk x" (without the quotes) where x is the number of the disk from your "list disk" display. When you type (say) "select disk 1", DiskPart will respond by telling you "Disk 1 is now the selected disk".&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;Now type "uniqueid disk" (again, without the quotes). DiskPart will respond with the disk's signature, a series of hexadecimal digits (or at least I think it's hexadecimal).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;To change the signature to some other number, type "uniqueid disk ID=[NEW SIGNATURE]" (without the quotes) where "[NEW SIGNATURE]" stands for the new identifier you want for the disk (without the square brackets and without the quotes). However, before you do that, you may want to type "help uniqueid disk", which will give you more information on how the command works. You may also want to find out the disk signatures of your other disks on your system before you modify your current one so that you don't cause a new signature collision in trying to solve your current problem. In addition, if you're really not sure how many digits you should give your disk, perhaps try changing only one digit of the current signature (eg, increasing or decreasing it by 1). Remember my disclaimer above: I really don't know what I'm talking about here: do it at your own risk.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;To quit DiskPart, type "exit". Incidentally, in case you get lost while running DiskPart, when you are at the "DISKPART&amp;gt;" prompt, you can type "help" to get a list of commands. Typing "help" followed by the command typically gives you more info about that command.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span  &gt;&lt;span style="font-size: 12px;"&gt;Once you've quit DiskPart, type "exit" again to quit the Administrator Command Prompt&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;(source: &lt;a href="http://www.howtohaven.com/system/change-disk-signature.shtml"&gt;http://www.howtohaven.com/system/change-disk-signature.shtml&lt;/a&gt;) &lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-4149576010816253874?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/4149576010816253874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=4149576010816253874' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4149576010816253874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4149576010816253874'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2012/01/how-do-i-test-my-web-application.html' title='How do I test my web application against IE6 and IE7 in Windows 7?'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-5995283422807937959</id><published>2011-12-07T10:49:00.000-08:00</published><updated>2011-12-07T12:25:29.447-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='XSLT'/><title type='text'>Setting up command line Apache Xalan XSLT processor</title><content type='html'>You need to put the Xalan jars in the System classpath, create or edit the environment variable called CLASSPATH, set it with a value like this&lt;br /&gt;&lt;br /&gt;CLASSPATH=C:\Projects\Java\Runtime\lib\xalan.jar;C:\Projects\Java\Runtime\lib\xml-apis.jar;C:\Projects\Java\Runtime\lib\serializer-2.7.0.jar;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Ultimately you need three JARs on the classpath:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;xalan.jar&lt;/li&gt;&lt;li&gt;xml-apis.jar&lt;/li&gt;&lt;li&gt;serializer-#.#.#.jar&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;You cannot take a shortcut and just specify a folder containing these jars, you must give java the &lt;span class="Apple-style-span" &gt;full path to them. For a permanent solution put the three jars in the &lt;span class="Apple-style-span" style="background-color: rgb(255, 255, 255); font-size: small; "&gt;&lt;java-home&gt;\lib\endorsed directory, then the classpath will always have them.&lt;/java-home&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;You should already have a JRE or JDK in the system PATH as well:&lt;br /&gt;&lt;br /&gt;set PATH=C:\SDKs\jdk1.6.0_18\bin;%PATH%&lt;div&gt;&lt;br /&gt;With that in place you can transform XML using XSLT on the command line with the Xalan parser like this:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" &gt;java org.apache.xalan.xslt.Process -out output.out -in input.xml -xsl transform.xslt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Where &lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;output.out&lt;/i&gt; is the file to create, &lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;input.xml&lt;/i&gt; is the input xml file to transform, and &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;i&gt;transform.xslt&lt;/i&gt; is the XSLT XML file to transform the input xml file with.&lt;br /&gt;&lt;br /&gt;This is handy because you can also give the JVM 2GB of heap memory like this to process large input files:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" &gt;java -Xms2g -Xmx2g org.apache.xalan.xslt.Process -out output.out -in input.xml -xsl transform.xslt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you are runnng into out of memory heap space errors parsing XML  with XSLT, this is a good way to get past  that problem. If you cannot get further beyond your out of memory errors, then look at breaking apart the XML with Java or Perl somehow before transforming it with XSLT. You might even be able to use 64-bit JVM to address a huge amount of memory much larger than you probably have available in the physical machine.&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/4159420781944033879-5995283422807937959?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/5995283422807937959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=5995283422807937959' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5995283422807937959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5995283422807937959'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/12/setting-up-command-line-apache-xalan.html' title='Setting up command line Apache Xalan XSLT processor'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-1960123581861601983</id><published>2011-11-09T10:50:00.000-08:00</published><updated>2011-11-09T14:19:05.241-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><title type='text'>How to change the Java heap size for WebSphere Application Server 6.1 profiles</title><content type='html'>How to change the Java heap size for WebSphere Application Server 6.1 profiles&lt;br /&gt;&lt;br /&gt;Open the integrated solutions console&lt;br /&gt;https://&lt;some host="" name=""&gt;:9044/ibm/console/&lt;br /&gt;Default login is&lt;br /&gt;system:manager&lt;br /&gt;&lt;br /&gt;Navigate to the JVM for the server profile you want to change&lt;br /&gt;&lt;br /&gt;Application servers &amp;gt; server1  &amp;gt; Process Definition &amp;gt; Java Virtual Machine&lt;br /&gt;Change these values&lt;br /&gt;Initial Heap Size=512&lt;br /&gt;Maximum Heap Size=512&lt;br /&gt;These correspond to the Xms and Xmx params of the JVM. So make sure you do not set Max lower than Initial, nor set Max higher than available OS RAM. I am not sure if adding a K,M,or G to the number will work, it seems by default the numbers are considered MB. Be aware that your JVM is 32 bit so there is a mathematical limit (and practical limit) to how much memory it can address.  3800 MB is where you will likely top out for max heap space unless your OS limits you to 2GB, which puts your heap max down to 1600MB.&lt;br /&gt;&lt;br /&gt;You will have to restart the WAS server profile instance to have this change take effect on the JVM.&lt;/some&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-1960123581861601983?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/1960123581861601983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=1960123581861601983' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1960123581861601983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1960123581861601983'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/11/how-to-change-java-heap-size-for.html' title='How to change the Java heap size for WebSphere Application Server 6.1 profiles'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-3650819224030126086</id><published>2011-10-21T10:51:00.000-07:00</published><updated>2011-10-21T10:51:00.601-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Increase the memory for MyEclipse Blue IDE</title><content type='html'>1. Open this file:&lt;br /&gt;C:\Program Files\Genuitec\MyEclipse Blue Edition 8.0 GA\myeclipse-blue.ini&lt;br /&gt;&lt;br /&gt;2. Edit lines so it looks like this at the bottom:&lt;br /&gt;&lt;br /&gt;-Xms1024m&lt;br /&gt;-Xmx1024m&lt;br /&gt;&lt;br /&gt;This will give you 1GB ram for MyEclipse Blue.&lt;br /&gt;&lt;br /&gt;My complete ini file looks like this:&lt;br /&gt;&lt;br /&gt;-install&lt;br /&gt;C:/Program Files/Genuitec/MyEclipse Blue Edition 8.0 GA&lt;br /&gt;-vm&lt;br /&gt;C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll&lt;br /&gt;-startup&lt;br /&gt;../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar&lt;br /&gt;--launcher.library&lt;br /&gt;../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519&lt;br /&gt;-vmargs&lt;br /&gt;-Xms1024m&lt;br /&gt;-Xmx1024m&lt;br /&gt;-XX:MaxPermSize=256m&lt;br /&gt;-XX:ReservedCodeCacheSize=64m&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-3650819224030126086?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/3650819224030126086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=3650819224030126086' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3650819224030126086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3650819224030126086'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/10/increase-memory-for-myeclipse-blue-ide.html' title='Increase the memory for MyEclipse Blue IDE'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-2620603991329635808</id><published>2011-10-19T10:56:00.000-07:00</published><updated>2011-10-19T16:44:09.097-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><category scheme='http://www.blogger.com/atom/ns#' term='Maven'/><title type='text'>Adding a datasource to the maven jetty plugin</title><content type='html'>In your pom.xml&lt;br /&gt;&lt;pre&gt;           &amp;lt;plugin&amp;gt;&lt;br /&gt;               &amp;lt;groupId&amp;gt;org.mortbay.jetty&amp;lt;/groupId&amp;gt;&lt;br /&gt;               &amp;lt;artifactId&amp;gt;maven-jetty-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;               &amp;lt;version&amp;gt;6.1.21&amp;lt;/version&amp;gt;&lt;br /&gt;               &amp;lt;configuration&amp;gt;&lt;br /&gt;                    &amp;lt;!-- &amp;lt;jettyConfig&amp;gt;src/main/resources/devJetty.xml&amp;lt;/jettyConfig&amp;gt;  --&amp;gt;&lt;br /&gt;                    &amp;lt;webXml&amp;gt;${basedir}/src/main/resources/jetty-web.xml&amp;lt;/webXml&amp;gt;&lt;br /&gt;                    &amp;lt;jettyEnvXml&amp;gt;${basedir}/src/main/resources/jetty-env.xml&amp;lt;/jettyEnvXml&amp;gt;&lt;br /&gt;                   &amp;lt;contextPath&amp;gt;/OCM&amp;lt;/contextPath&amp;gt;&lt;br /&gt;                   &amp;lt;scanIntervalSeconds&amp;gt;3&amp;lt;/scanIntervalSeconds&amp;gt;&lt;br /&gt;                   &amp;lt;scanTargetPatterns&amp;gt;&lt;br /&gt;                       &amp;lt;scanTargetPattern&amp;gt;&lt;br /&gt;                           &amp;lt;directory&amp;gt;src/main/webapp/WEB-INF&amp;lt;/directory&amp;gt;&lt;br /&gt;                           &amp;lt;excludes&amp;gt;&lt;br /&gt;                               &amp;lt;exclude&amp;gt;**/*.jsp&amp;lt;/exclude&amp;gt;&lt;br /&gt;                           &amp;lt;/excludes&amp;gt;&lt;br /&gt;                           &amp;lt;includes&amp;gt;&lt;br /&gt;                               &amp;lt;include&amp;gt;**/*.properties&amp;lt;/include&amp;gt;&lt;br /&gt;                               &amp;lt;include&amp;gt;**/*.xml&amp;lt;/include&amp;gt;&lt;br /&gt;                           &amp;lt;/includes&amp;gt;&lt;br /&gt;                       &amp;lt;/scanTargetPattern&amp;gt;&lt;br /&gt;                   &amp;lt;/scanTargetPatterns&amp;gt;&lt;br /&gt;                   &amp;lt;stopKey&amp;gt;foo&amp;lt;/stopKey&amp;gt;&lt;br /&gt;                   &amp;lt;stopPort&amp;gt;9966&amp;lt;/stopPort&amp;gt;&lt;br /&gt;               &amp;lt;/configuration&amp;gt;&lt;br /&gt;           &amp;lt;/plugin&amp;gt;&lt;br /&gt;Key lines are&lt;br /&gt;                    &amp;lt;webXml&amp;gt;${basedir}/src/main/resources/jetty-web.xml&amp;lt;/webXml&amp;gt;&lt;br /&gt;                    &amp;lt;jettyEnvXml&amp;gt;${basedir}/src/main/resources/jetty-env.xml&amp;lt;/jettyEnvXml&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Define your jetty-env.xml like this:&lt;br /&gt;&lt;pre&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE Configure PUBLIC -//Mort Bay Consulting//DTD Configure//EN http://jetty.mortbay.org/configure.dtd&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Configure class="org.mortbay.jetty.webapp.WebAppContext"&amp;gt;&lt;br /&gt;&lt;br /&gt; &amp;lt;!-- an XADataSource                                                --&amp;gt;&lt;br /&gt; &amp;lt;New id="MAVENJETTYDS" class="org.mortbay.jetty.plus.naming.Resource"&amp;gt;&lt;br /&gt;   &amp;lt;Arg&amp;gt;&amp;lt;/Arg&amp;gt;&lt;br /&gt;   &amp;lt;Arg&amp;gt;jdbc/datasource&amp;lt;/Arg&amp;gt;&lt;br /&gt;   &amp;lt;Arg&amp;gt;&lt;br /&gt;         &amp;lt;New class="org.apache.commons.dbcp.BasicDataSource"&amp;gt;&lt;br /&gt;                     &amp;lt;Set name="driverClassName"&amp;gt;[[jdbc driver class]]&amp;lt;/Set&amp;gt; &amp;lt;!-- for example, com.ibm.db2.jcc.DB2Driver --&amp;gt;&lt;br /&gt;                     &amp;lt;Set name="url"&amp;gt;[[jdbc url]]&amp;lt;/Set&amp;gt; &amp;lt;!-- for example, jdbc:db2://yourdbhostnameorip:[port]/yourdb --&amp;gt;&lt;br /&gt;                     &amp;lt;Set name="username"&amp;gt;[[username]]&amp;lt;/Set&amp;gt;&amp;lt;!-- for example, yourmom --&amp;gt;&lt;br /&gt;                      &amp;lt;Set name="password"&amp;gt;[[password]]&amp;lt;/Set&amp;gt;&amp;lt;!-- for example, &lt;a href="http://xkcd.com/936/"&gt;correcthorsebatterystaple&lt;/a&gt; --&amp;gt;&lt;br /&gt;                     &amp;lt;Set name="defaultCatalog"&amp;gt;[[schema, if needed]]&amp;lt;/Set&amp;gt;&lt;br /&gt;         &amp;lt;/New&amp;gt;&lt;br /&gt;   &amp;lt;/Arg&amp;gt;&lt;br /&gt;  &amp;lt;/New&amp;gt;&lt;br /&gt;&amp;lt;/Configure&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Then add the ref to your web.xml&lt;br /&gt;&lt;pre&gt;&amp;lt;web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"&lt;br /&gt;   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&lt;br /&gt;   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" id="WebApp_1270163143862"&amp;gt;&lt;br /&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;   &amp;lt;!-- SNIP --&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;!-- Bug fix for editing locked CSS and JS running in Jetty --&amp;gt;&lt;br /&gt;&amp;lt;servlet&amp;gt;&lt;br /&gt;   &amp;lt;servlet-name&amp;gt;default&amp;lt;/servlet-name&amp;gt;&lt;br /&gt;   &amp;lt;servlet-class&amp;gt;org.mortbay.jetty.servlet.DefaultServlet&amp;lt;/servlet-class&amp;gt;&lt;br /&gt;   &amp;lt;init-param&amp;gt;&lt;br /&gt;     &amp;lt;param-name&amp;gt;useFileMappedBuffer&amp;lt;/param-name&amp;gt;&lt;br /&gt;     &amp;lt;param-value&amp;gt;false&amp;lt;/param-value&amp;gt;&lt;br /&gt;   &amp;lt;/init-param&amp;gt;&lt;br /&gt;   &amp;lt;load-on-startup&amp;gt;0&amp;lt;/load-on-startup&amp;gt;&lt;br /&gt;&amp;lt;/servlet&amp;gt;&lt;br /&gt;&lt;br /&gt;       &amp;lt;resource-ref&amp;gt;&lt;br /&gt;         &amp;lt;res-ref-name&amp;gt;jdbc/datasource&amp;lt;/res-ref-name&amp;gt;&lt;br /&gt;         &amp;lt;res-type&amp;gt;javax.sql.DataSource&amp;lt;/res-type&amp;gt;&lt;br /&gt;         &amp;lt;res-auth&amp;gt;Container&amp;lt;/res-auth&amp;gt;&lt;br /&gt;    &amp;lt;/resource-ref&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/web-app&amp;gt;&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/4159420781944033879-2620603991329635808?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/2620603991329635808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=2620603991329635808' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2620603991329635808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2620603991329635808'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/10/adding-datasource-to-maven-jetty-plugin.html' title='Adding a datasource to the maven jetty plugin'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-858344950389281823</id><published>2011-10-07T09:40:00.000-07:00</published><updated>2011-10-07T09:40:00.825-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><title type='text'>Understanding Maven dependency scope</title><content type='html'>You can specify the scope for a dependency in the maven pom file, here are the scope values you can choose and what effect they have:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;compile: This dependency is needed for compilation of the main source&lt;/li&gt;&lt;li&gt;test: This dependency is needed for compiling and running tests. It is not needed for compiling the main source or running the final artifact.&lt;/li&gt;&lt;li&gt;runtime: This dependency is needed for running the final artifact. It is not needed for compiling the main source or compiling or running the tests.&lt;/li&gt;&lt;li&gt;provided: This dependency is needed for compiling and/or running the artifact but is not necessary to include in the package, because it is provided by the runtime environment - for example, jsp-api.jar is provided by  your web application container, so you don't include it in your  WEB-INF/lib (for the example of a webapp); or a plugin or optional  package that is a prerequisite for your application, but is not bundled  with your application.&lt;/li&gt;&lt;li&gt;system: don't use this one&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;source: http://docs.codehaus.org/display/MAVENUSER/Dependency+Scopes&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-858344950389281823?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/858344950389281823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=858344950389281823' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/858344950389281823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/858344950389281823'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/10/understanding-maven-dependency-scope.html' title='Understanding Maven dependency scope'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-6983214648785222819</id><published>2011-10-04T14:54:00.000-07:00</published><updated>2011-10-04T15:38:23.268-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><title type='text'>JSP debug code</title><content type='html'>&lt;p&gt;The following can be pasted into a JSP and then used to display (either in HTML source or in the browser window), the JSP Request, Session, Page, and Application settings for the environment and container the JSP is running within.&lt;br/&gt;&lt;br /&gt;I have found this to be a quick useful way to get the lay of the land, when joining a project already in development.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;!-- &lt;br /&gt; &amp;lt;%@ page import="java.util.*"%&amp;gt;&lt;br /&gt; &amp;lt;%&lt;br /&gt;  Object eobj = request.getParameter("error");&lt;br /&gt;  if (eobj != null) {&lt;br /&gt;   Exception exception = null;&lt;br /&gt;   Object obj = request.getAttribute("exception");&lt;br /&gt;   if (obj != null &amp;&amp; obj instanceof Exception) {&lt;br /&gt;    exception = (Exception) obj;&lt;br /&gt;   }&lt;br /&gt;   if (exception == null) {&lt;br /&gt;    obj = request.getAttribute("javax.servlet.error.exception");&lt;br /&gt;    if (obj != null &amp;&amp; obj instanceof Exception) {&lt;br /&gt;     exception = (Exception) obj;&lt;br /&gt;    }&lt;br /&gt;   }&lt;br /&gt;   if (exception != null) {&lt;br /&gt; %&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;  &amp;lt;%&lt;br /&gt;   exception.printStackTrace(new java.io.PrintWriter(out));&lt;br /&gt;  %&amp;gt;&lt;br /&gt; &amp;lt;/pre&amp;gt;&lt;br /&gt; &amp;lt;%&lt;br /&gt;  }&lt;br /&gt;  }&lt;br /&gt;  out.println("&amp;lt;h3&amp;gt;Request:&amp;lt;/h3&amp;gt;&amp;lt;ul&amp;gt;");&lt;br /&gt;  Enumeration names = request.getHeaderNames();&lt;br /&gt;  while (names.hasMoreElements()) {&lt;br /&gt;   String name = (String) names.nextElement();&lt;br /&gt;   out.println("&amp;lt;li&amp;gt;HEADER " + name + ": "&lt;br /&gt;     + request.getHeader(name));&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  for (Enumeration e = request.getParameterNames(); e&lt;br /&gt;    .hasMoreElements();) {&lt;br /&gt;   String name = (String) e.nextElement();&lt;br /&gt;   out.println("&amp;lt;li&amp;gt;PARAM " + name + "="&lt;br /&gt;     + request.getParameter(name) + "&amp;lt;/li&amp;gt;");&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  for (Enumeration e = request.getAttributeNames(); e&lt;br /&gt;    .hasMoreElements();) {&lt;br /&gt;   String name = (String) e.nextElement();&lt;br /&gt;   out.println("&amp;lt;li&amp;gt;ATTRIB " + name + "="&lt;br /&gt;     + request.getAttribute(name) + "&amp;lt;/li&amp;gt;");&lt;br /&gt;  }&lt;br /&gt;  out.println("&amp;lt;/ul&amp;gt;&amp;lt;h3&amp;gt;Session:&amp;lt;/h3&amp;gt;&amp;lt;ul&amp;gt;");&lt;br /&gt;  for (Enumeration e = session.getAttributeNames(); e&lt;br /&gt;    .hasMoreElements();) {&lt;br /&gt;   String name = (String) e.nextElement();&lt;br /&gt;   out.println("&amp;lt;li&amp;gt;ATTRIB " + name + "="&lt;br /&gt;     + session.getAttribute(name) + "&amp;lt;/li&amp;gt;");&lt;br /&gt;  }&lt;br /&gt;  out.println("&amp;lt;/ul&amp;gt;&amp;lt;h3&amp;gt;Page Scope Attributes:&amp;lt;/h3&amp;gt;&amp;lt;ul&amp;gt;");&lt;br /&gt;  for (Enumeration e = pageContext&lt;br /&gt;    .getAttributeNamesInScope(pageContext.PAGE_SCOPE); e&lt;br /&gt;    .hasMoreElements();) {&lt;br /&gt;   String name = (String) e.nextElement();&lt;br /&gt;   out.println("&amp;lt;li&amp;gt;ATTRIB "&lt;br /&gt;     + name&lt;br /&gt;     + "="&lt;br /&gt;     + pageContext&lt;br /&gt;       .getAttribute(name, pageContext.PAGE_SCOPE)&lt;br /&gt;     + "&amp;lt;/li&amp;gt;");&lt;br /&gt;  }&lt;br /&gt;  out.println("&amp;lt;/ul&amp;gt;&amp;lt;h3&amp;gt;Application Scope Attributes:&amp;lt;/h3&amp;gt;&amp;lt;ul&amp;gt;");&lt;br /&gt;  for (Enumeration e = pageContext&lt;br /&gt;    .getAttributeNamesInScope(pageContext.APPLICATION_SCOPE); e&lt;br /&gt;    .hasMoreElements();) {&lt;br /&gt;   String name = (String) e.nextElement();&lt;br /&gt;   if (name.equals("com.sun.jsp.taglibraryCache")) {&lt;br /&gt;    out.print("&amp;lt;li&amp;gt;ATTRIB " + name&lt;br /&gt;      + "= &amp;lt;b&amp;gt;NULL POINTER!&amp;lt;/b&amp;gt;&amp;lt;/li&amp;gt;");&lt;br /&gt;    continue;&lt;br /&gt;   }&lt;br /&gt;   out.print("&amp;lt;li&amp;gt;ATTRIB " + name + "=");&lt;br /&gt;   out.println(pageContext.getAttribute(name,&lt;br /&gt;     pageContext.APPLICATION_SCOPE)&lt;br /&gt;     + "&amp;lt;/li&amp;gt;");&lt;br /&gt;  }&lt;br /&gt;  out.println("&amp;lt;/ul&amp;gt;");&lt;br /&gt; %&amp;gt;&lt;br /&gt; --&amp;gt;&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/4159420781944033879-6983214648785222819?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/6983214648785222819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=6983214648785222819' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6983214648785222819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6983214648785222819'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/10/jsp-debug-code.html' title='JSP debug code'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-7339062351520695015</id><published>2011-10-03T16:00:00.000-07:00</published><updated>2011-10-03T16:00:05.219-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><title type='text'>JSP for DataSource Connection Pool testing</title><content type='html'>If you need to test a datasource here is a JSP that will help you do it.&lt;br /&gt;&lt;pre&gt;&amp;lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1"&lt;br /&gt;   pageEncoding="ISO-8859-1"%&amp;gt;&lt;br /&gt;&amp;lt;%@ page import="java.sql.*,javax.naming.*,javax.sql.*" %&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&amp;gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Test Data Source&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;h1&amp;gt;Test Data Source&amp;lt;/h1&amp;gt;&lt;br /&gt;&amp;lt;p&amp;gt;Hello&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;%&lt;br /&gt;    DataSource ds = null;&lt;br /&gt;    Connection con = null;&lt;br /&gt;    Statement stmnt = null;&lt;br /&gt;    ResultSet resultSet = null;&lt;br /&gt;   try {&lt;br /&gt;       InitialContext ctx = new InitialContext();&lt;br /&gt;       ds = (DataSource)ctx.lookup("java:comp/env/jdbc/DataSource");&lt;br /&gt;       con = ds.getConnection();&lt;br /&gt;    stmnt = con.createStatement();&lt;br /&gt;    resultSet = stmnt.executeQuery("select * from PERSON");&lt;br /&gt;    if (resultSet != null) {&lt;br /&gt;        %&amp;gt;&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;%&lt;br /&gt;       ResultSetMetaData resultSetMetaData = resultSet.getMetaData();&lt;br /&gt;       int nOfColumns = resultSetMetaData.getColumnCount();&lt;br /&gt;       for(int j = 0; j&amp;lt;nOfColumns; j++) {&lt;br /&gt;           String columnLabel = resultSetMetaData.getColumnLabel(j+1);&lt;br /&gt;           %&amp;gt;&amp;lt;th&amp;gt;&amp;lt;%=columnLabel %&amp;gt;&amp;lt;/th&amp;gt;&amp;lt;%&lt;br /&gt;       }&lt;br /&gt;       %&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;%&lt;br /&gt;       if (resultSet.getType() != ResultSet.TYPE_FORWARD_ONLY) {&lt;br /&gt;           resultSet.beforeFirst();&lt;br /&gt;       }&lt;br /&gt;       while (resultSet.next()) {&lt;br /&gt;                %&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;%&lt;br /&gt;               for (int i = 1; i &amp;lt;= nOfColumns; ++i) {&lt;br /&gt;                        %&amp;gt;&amp;lt;td&amp;gt;&amp;lt;%&lt;br /&gt;                       Object  value = resultSet.getObject(i);&lt;br /&gt;                       if (resultSet.wasNull()) {&lt;br /&gt;                           %&amp;gt;&amp;lt;b&amp;gt;null&amp;lt;/b&amp;gt;&amp;lt;%&lt;br /&gt;                       } else {&lt;br /&gt;                           %&amp;gt;&amp;lt;%=value.toString() %&amp;gt;&amp;lt;%&lt;br /&gt;                       }&lt;br /&gt;                       %&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;%&lt;br /&gt;               }&lt;br /&gt;               %&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;%&lt;br /&gt;       }&lt;br /&gt;       %&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;%&lt;br /&gt;    }&lt;br /&gt;   } catch(NamingException e) {&lt;br /&gt;       throw e;&lt;br /&gt;   } catch(SQLException e) {&lt;br /&gt;       throw e;&lt;br /&gt;   } finally {&lt;br /&gt;      try {&lt;br /&gt;        if (resultSet != null) {&lt;br /&gt;          resultSet.close();&lt;br /&gt;        }&lt;br /&gt;      } catch (SQLException e) {&lt;br /&gt;      }&lt;br /&gt;      resultSet = null;&lt;br /&gt;      try {&lt;br /&gt;        if (stmnt != null) {&lt;br /&gt;          stmnt.close();&lt;br /&gt;        }&lt;br /&gt;      } catch (SQLException e) {&lt;br /&gt;      }&lt;br /&gt;      stmnt = null;&lt;br /&gt;      try {&lt;br /&gt;        if (con != null) {&lt;br /&gt;          con.close();&lt;br /&gt;        }&lt;br /&gt;      } catch (SQLException e) {&lt;br /&gt;      }&lt;br /&gt;      con = null;&lt;br /&gt;      ds = null;&lt;br /&gt;   }&lt;br /&gt;%&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Just change&lt;br /&gt;&lt;pre&gt;java:comp/env/jdbc/DataSource&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;To what the name of your DataSource connection pool is. &lt;div&gt;Then change &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: monospace; font-size: 13px; white-space: pre; "&gt;select * from PERSON&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To a test query from this table:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt;&lt;/p&gt;&lt;table border="1" cellpadding="3" cellspacing="0" style="margin-top: 1px; margin-right: 0px; margin-bottom: 1px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; width: 628px; float: none; "&gt;&lt;tbody style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Cloudscape&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133350" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT 1&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133352" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;DB2&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133354" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT COUNT(*) FROM SYSIBM.SYSTABLES&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133356" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;Informix&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133358" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT COUNT(*) FROM SYSTABLES&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133360" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;Microsoft SQL Server&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133362" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT COUNT(*) FROM SYSOBJECTS&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133364" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;MySQL&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133366" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT 1&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133368" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;Oracle&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133370" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT 1 FROM DUAL&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133426" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;PointBase&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133428" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT COUNT(*) FROM SYSTABLES&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133422" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;PostgreSQL&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133424" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT 1&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133418" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;Progress&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133420" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT COUNT(*) FROM SYSTABLES&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133470" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;Sybase&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133472" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT COUNT(*) FROM SYSOBJECTS&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); "&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Do not use this code to interact with a datasource, this should only be used for figuring out what the name of a datasource you created in the J2ee container is and that it is working.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-7339062351520695015?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/7339062351520695015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=7339062351520695015' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/7339062351520695015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/7339062351520695015'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/10/jsp-for-datasource-connection-pool.html' title='JSP for DataSource Connection Pool testing'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-4845880413701916135</id><published>2011-09-26T14:21:00.000-07:00</published><updated>2011-09-26T14:21:00.210-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Software Engineering'/><title type='text'>Database test SQL for each vendor</title><content type='html'>&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;When I setup a connection pool or database tool with a new database profile I like to test that it works, here are some vendor specific SQL you can use to test your db connection.&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;table border="1" cellpadding="3" cellspacing="0" style="margin-top: 1px; margin-right: 0px; margin-bottom: 1px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; width: 628px; float: none; "&gt;&lt;tbody style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Cloudscape&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133350" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT 1&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133352" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;DB2&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133354" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT COUNT(*) FROM SYSIBM.SYSTABLES&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133356" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;Informix&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133358" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT COUNT(*) FROM SYSTABLES&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133360" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;Microsoft SQL Server&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133362" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT COUNT(*) FROM SYSOBJECTS&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133364" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;MySQL&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133366" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT 1&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133368" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;Oracle&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133370" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT 1 FROM DUAL&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133426" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;PointBase&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133428" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT COUNT(*) FROM SYSTABLES&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133422" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;PostgreSQL&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133424" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT 1&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133418" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;Progress&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133420" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT COUNT(*) FROM SYSTABLES&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133470" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;Sybase&lt;/p&gt;&lt;/td&gt;&lt;td align="left" scope="row" valign="top" style="margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-left-color: rgb(0, 0, 0); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-collapse: collapse; "&gt;&lt;p class="table" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-anchor-small" name="1133472" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;#&lt;/a&gt;SQL SELECT COUNT(*) FROM SYSOBJECTS&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;This is useful because you don't often know what tables exist in a database to test a query with, you can't assume select * from person would work if no person table was created. These queries are for the builtin system database resource in the specific vendor database types, they should exist even on a freshly installed or blank database server.&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-4845880413701916135?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/4845880413701916135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=4845880413701916135' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4845880413701916135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4845880413701916135'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/09/database-test-sql-for-each-vendor.html' title='Database test SQL for each vendor'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-268325316734486515</id><published>2011-09-19T10:15:00.000-07:00</published><updated>2011-09-19T10:15:00.822-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><title type='text'>How do I insert CR LF in string column of a DB2 insert statement?</title><content type='html'>&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;The insert syntax for adding new lines or line terminators in varchar columns in DB2 is not straightforward:&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code jive-sql" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; font-family: monospace; "&gt;&lt;span class="jive-sql-keyword" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: navy; font-weight: bold; "&gt;INSERT&lt;/span&gt; &lt;span class="jive-sql-keyword" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: navy; font-weight: bold; "&gt;INTO&lt;/span&gt; EXAMPLE_TABLE ("&lt;span class="jive-sql-quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: red; "&gt;ID&lt;/span&gt;"&lt;span class="jive-sql-quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: red; "&gt;,&lt;/span&gt;"&lt;span class="jive-sql-quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: red; "&gt;LEVEL_ID&lt;/span&gt;"&lt;span class="jive-sql-quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: red; "&gt;,&lt;/span&gt;"&lt;span class="jive-sql-quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: red; "&gt;VERSION&lt;/span&gt;"&lt;span class="jive-sql-quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: red; "&gt;,&lt;/span&gt;"&lt;span class="jive-sql-quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: red; "&gt;CONTENT&lt;/span&gt;"&lt;span class="jive-sql-quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: red; "&gt;,&lt;/span&gt;"&lt;span class="jive-sql-quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: red; "&gt;TYPE&lt;/span&gt;"&lt;span class="jive-sql-quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: red; "&gt;,&lt;/span&gt;"&lt;span class="jive-sql-quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: red; "&gt;FRAGMENT_ID&lt;/span&gt;"&lt;span class="jive-sql-quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: red; "&gt;) VALUES (158781,317339,20110701, &lt;/span&gt;&lt;span class="jive-sql-quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: red; "&gt;'your line of text' &lt;/span&gt;|| x'0D' || x'0A' || 'your next line of text','HTML',0); &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;The key to the query is to use || operator to concatenate the strings for the content column. The syntax for adding CR LF is :&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code jive-sql" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; font-family: monospace; "&gt;'your line &lt;span class="jive-sql-keyword" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: navy; font-weight: bold; "&gt;of&lt;/span&gt; text' || x'0D' || x'0A' 'your &lt;span class="jive-sql-keyword" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: navy; font-weight: bold; "&gt;next&lt;/span&gt; line &lt;span class="jive-sql-keyword" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: navy; font-weight: bold; "&gt;of&lt;/span&gt; text' &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;DB2 will take the above and combine the strings into a single value for the database. The x'0D' x'0A' is to say hex value OD (carriage return) and hex value 0A (line feed). Windows expects both, for Linux/Unix OS only the 0A character is expected. For some versions of Mac OS you use only 0D, the newest ones use only 0A to end a line. For browsers, 0A is also the only needed character which is often ignored unless surrounded by pre or code tags however having both 0D and 0A will not cause display issues. The newest Windows OS may have support for just 0A as well in some cases.&lt;/p&gt;&lt;pre&gt;&lt;code&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-268325316734486515?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/268325316734486515/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=268325316734486515' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/268325316734486515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/268325316734486515'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/09/how-do-i-insert-cr-lf-in-string-column.html' title='How do I insert CR LF in string column of a DB2 insert statement?'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-1527705238513981111</id><published>2011-09-16T10:14:00.000-07:00</published><updated>2011-09-16T16:17:30.718-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><title type='text'>How do I setup SSL for my apache web server?</title><content type='html'>&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Here is what I did to setup SSL for an apache web server on my local 64 bit Windows 7 box.&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Download Apache2 with SSL module.&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Install it here C:\Program Files (x86)\Apache Software Foundation\Apache2.2&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Create an APACHE_HOME environment variable, from now on this is APACHE_HOME=C:\Program Files (x86)\Apache Software Foundation\Apache2.2&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Add %APACHE_HOME%\bin to the path&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Make a link to fix a bug with 64-bit Windows:&lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;mklink /D %USERPROFILE%\apache "C:\Program Files (x86)\Apache Software Foundation\Apache2.2\"&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;Next I did the &lt;a href="http://www.neilstuff.com/apache/apache2-ssl-windows.htm"&gt;following&lt;/a&gt;:&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;cd %APACHE_HOME%\bin   openssl req -config "%APACHE_HOME%\conf\openssl.cnf" -new -out "%USERPROFILE%\cg.csr" -keyout "%USERPROFILE%\cg.pem" &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;Loading 'screen' into random state - done  Generating a 1024 bit RSA private key .. ++++++ ...................++++++ writing new private key to  'C:\Documents and Settings\Administrator\cg.pem'  Enter PEM pass phrase:  Verifying - Enter PEM pass phrase:  -----  You are about to be asked to enter information that will be  incorporated into your certificate request. What you are about to  enter is what is called a Distinguished Name or a DN. There are  quite a few fields but you can leave some blank For some fields  there will be a default value, If you enter '.', the field will be  left blank.  -----  Country Name (2 letter code) [AU]:US  State or Province Name (full name) [Some-State]:Utah  Locality Name (eg, city) []:Orem  Organization Name (eg, company) [Internet Widgits Pty Ltd]:CG, LLC  Organizational Unit Name (eg, section) []:Engineering  Common Name (eg, YOUR name) []: &lt;servername&gt;  Email Address []:   Please enter the following 'extra' attributes to be sent with your  certificate request A challenge password []:&lt;some secret="" password=""&gt;  An optional company name []: &lt;/some&gt;&lt;/servername&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;for the "YOUR" name parameter openssl asks for (domain name) I used my machine's network name. &lt;username&gt;&lt;domain&gt;(this is important because your HTTPS urls will check for the domain name in the browser request.&lt;/domain&gt;&lt;/username&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Next I did this to create a key file:&lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;openssl rsa -in "%USERPROFILE%\cg.pem" -out "%USERPROFILE%\cg.key" &lt;/code&gt;&lt;/pre&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;Enter pass phrase for C:\Documents and Settings\Administrator\cg.pem: writing RSA key &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Next I ran this to create a certificate file:&lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;openssl x509 -in "%USERPROFILE%\cg.csr" -out "%USERPROFILE%\cg.cert" -req -signkey "%USERPROFILE%\cg.key" -days 365 &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;Loading 'screen' into random state - done  Signature ok subject=/C=US/ST=Utah/L=Orem/O=CG, LLC/OU=Engineering/CN=cg.com Getting Private key &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;The %USERPROFILE%\cg.key and %USERPROFILE%\cg.cert are used by apache for encrypting data over HTTPS. I copied them into %APACHE_HOME%\conf:&lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;copy "%USERPROFILE%\cg.key" "%APACHE_HOME%\conf"  copy "%USERPROFILE%\cg.cert" "%APACHE_HOME%\conf" &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;*The excessive use of quotations(") is to account for pesky directory names with spaces fouling up the command line.&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Now it is time to configure apache to enable SSL, and configure apache with your generated SSL key and certificate:&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;uncommment these lines in %APACHE_HOME%\conf\httpd.conf&lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;..  LoadModule ssl_module modules/mod_ssl.so  ...  Include conf/extra/httpd-ssl.conf  ... &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Replace localhost with your fully qualified domain name or IP address in httpd.conf and extra/http-ssl.conf&lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;ServerName cg&lt;username&gt;&lt;domain&gt;.com:80 &lt;/domain&gt;&lt;/username&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Edit the extra/httpd-ssl.conf file and fix the Windows 7 bug using the soft link created earlier:&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;change this  SSLSessionCache        "shmcb:C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/ssl_scache(512000)"   to this  #SSLSessionCache        "shmcb:C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/ssl_scache(512000)"  SSLSessionCache        "shmcb:%USERPROFILE%/apache/logs/ssl_scache(512000)" &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;because the (x86) in the path confuses apache !&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Check that this is set and uncommented:&lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;SSLEngine on &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Also change these values:&lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;SSLCertificateFile "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/cg.cert"  SSLCertificateKeyFile "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/cg.key" &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Restart apache and you should be able to use https urls.&lt;/p&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;If you don't have mklink, use junction from here &lt;a class="jive-link-external-small" href="http://technet.microsoft.com/en-us/sysinternals/bb896768" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); outline-style: none; outline-width: initial; outline-color: initial; "&gt;http://technet.microsoft.com/en-us/sysinternals/bb896768&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;junction "%USERPROFILE%\apache" "C:\Program Files (x86)\Apache Software Foundation\Apache2.2\"&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Or make sure to change the default folder you install Apache HTTPD to one which does not contain parenthesis, I use a set of folders&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;C:\Apps\&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;C:\Tools\ as folders to install most software and avoid Program Files and Program Files (x86) default locations for this reason.&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;For setting up Request Forwarding (Apache as a Proxy server)&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Uncomment this in httpd.conf:&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;LoadModule rewrite_module modules/mod_rewrite.so &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Turn off ProxyRequests (apparently the Internet will asplode if you leave it on):&lt;/p&gt;&lt;pre ___default_attr="plain" class="jive_text_macro jive_macro_code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; "&gt;ProxyRequests off&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;For each path you want to proxy with Apache do this:&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;ProxyPass&lt;path to="" proxy=""&gt;&lt;destination&gt;&lt;path to="" proxy=""&gt;&lt;destination&gt;&lt;location path="" to="" proxy=""&gt; ProxyPassReverse /          SetOutputFilter  proxy-html          RequestHeader    unset  Accept-Encoding &lt;/location&gt; &lt;/destination&gt;&lt;/path&gt;&lt;/destination&gt;&lt;/path&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;For example, if I want to pass all requests made to the Apache web server on /CG root path to a WebSphere J2EE application server running at &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://2k3-ws-rsc:9080/OCM," style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); outline-style: none; outline-width: initial; outline-color: initial; "&gt;http://cg.com:9080/CG,&lt;/a&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt; then I would create this:&lt;/span&gt;&lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;ProxyPass /CG http://cg.com:9080/CG  ProxyPassReverse /CG http://cg.com:9080/CG &lt;location ocm=""&gt;ProxyPassReverse /          SetOutputFilter  proxy-html          RequestHeader    unset  Accept-Encoding &lt;/location&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;You may also need to uncomment these lines in httpd.conf to get some of the proxy configuration to work:&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;LoadModule proxy_module modules/mod_proxy.so&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;LoadModule headers_module modules/mod_headers.so&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;LoadModule proxy_module modules/mod_proxy.so&lt;/p&gt;&lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;Use this command to restart apache whenever changing the httpd.conf:&lt;/div&gt;&lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;httpd.exe -k restart&lt;/div&gt;&lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Also to force HTTPS for a proxy path using Apache Rewrite:&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;First turn on mod_rewrite in httpd.conf:&lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;LoadModule rewrite_module modules/mod_rewrite.so &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Change your location that you want to force HTTPS to this&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;&lt;location ocm=""&gt;ProxyPassReverse /          SetOutputFilter  proxy-html          RequestHeader    unset  Accept-Encoding       RewriteEngine On      RewriteCond %{HTTPS} off       RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} &lt;/location&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Conditional Request Headers&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;I need to have a redirected request from a login service which sets a response cookie for successful login, add a special header value to the request:&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;httpd.conf needed this:&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;SetEnvIf Cookie "x_ldap_userdata=([^;]+)" USERDATA=$1  SetEnvIf Cookie "x_ldap_userdata=([^;]+)" HAVE_USERDATA=1  RequestHeader append LDAP-Username "%{USERDATA}e" env=HAVE_USERDATA&lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Now the string&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;LDAP-Username:username &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;will be added to the header of requests when a cookie for a similar domain and path named x_ldap_userdata has been set in the browser by the login service.&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;The browser is dumb and just follows the redirect but cannot be told to put a header value in the request, you must add these changes to the httpd.conf to modify the request to include a special authentication header value.&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Clear as mud?&lt;/p&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;I used these links to download apache 2 with ssl and also openssl:&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-external-small" href="http://downloads.sourceforge.net/gnuwin32/openssl-0.9.8h-1-setup.exe" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); outline-style: none; outline-width: initial; outline-color: initial; "&gt;http://downloads.sourceforge.net/gnuwin32/openssl-0.9.8h-1-setup.exe&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;a class="jive-link-external-small" href="http://apache.osuosl.org//httpd/binaries/win32/httpd-2.2.17-win32-x86-openssl-0.9.8o.msi" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); outline-style: none; outline-width: initial; outline-color: initial; "&gt;http://apache.osuosl.org//httpd/binaries/win32/httpd-2.2.17-win32-x86-openssl-0.9.8o.msi&lt;/a&gt;&lt;/p&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-1527705238513981111?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/1527705238513981111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=1527705238513981111' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1527705238513981111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1527705238513981111'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/09/how-do-i-setup-ssl-for-my-apache-web.html' title='How do I setup SSL for my apache web server?'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-7936718345906822140</id><published>2011-09-14T19:32:00.000-07:00</published><updated>2011-09-14T19:32:50.957-07:00</updated><title type='text'>My Smoked Brisket</title><content type='html'>&lt;div style='text-align:center;margin:0px auto 10px;'&gt;&lt;a href='http://1.bp.blogspot.com/-LFLM73Tw6Zc/TnFj0escjtI/AAAAAAAAAPw/FkMlvSFC9us/s1600/100_4723.JPG'&gt;&lt;img src='http://1.bp.blogspot.com/-LFLM73Tw6Zc/TnFj0escjtI/AAAAAAAAAPw/FkMlvSFC9us/s320/100_4723.JPG' border='0' alt='' /&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Used the rest of my favorite rub, turned out pretty good.&lt;br /&gt;&lt;/p&gt;&lt;div style='clear:both; text-align:CENTER'&gt;&lt;a href='http://picasa.google.com/blogger/' target='ext'&gt;&lt;img src='http://photos1.blogger.com/pbp.gif' alt='Posted by Picasa' style='border: 0px none ; padding: 0px; background: transparent none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;' align='middle' border='0' /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-7936718345906822140?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/7936718345906822140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=7936718345906822140' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/7936718345906822140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/7936718345906822140'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/09/my-smoked-brisket.html' title='My Smoked Brisket'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-LFLM73Tw6Zc/TnFj0escjtI/AAAAAAAAAPw/FkMlvSFC9us/s72-c/100_4723.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-3048068566740075450</id><published>2011-08-27T22:27:00.000-07:00</published><updated>2011-08-27T22:28:36.275-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Family'/><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>The tomato harvest</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/-021HwHQGoSY/TlnRwTeE8MI/AAAAAAAAAOg/ObkAjjs1hqs/s1600/P8270002.jpg"&gt;&lt;img style="MARGIN: 0px 10px 10px 0px; FLOAT: left; CLEAR: both" border="0" alt="" src="http://1.bp.blogspot.com/-021HwHQGoSY/TlnRwTeE8MI/AAAAAAAAAOg/ObkAjjs1hqs/s320/P8270002.jpg" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/--Sln3D-_VgA/TlnRweU5tjI/AAAAAAAAAOo/XpI32FgdDCI/s1600/P8270003.JPG"&gt;&lt;img style="MARGIN: 0px 10px 10px 0px; FLOAT: left; CLEAR: both" border="0" alt="" src="http://2.bp.blogspot.com/--Sln3D-_VgA/TlnRweU5tjI/AAAAAAAAAOo/XpI32FgdDCI/s320/P8270003.JPG" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-1U5qOT20OW0/TlnRwphev6I/AAAAAAAAAOw/VkcC7q7m46A/s1600/P8270004.JPG"&gt;&lt;img style="MARGIN: 0px 10px 10px 0px; FLOAT: left; CLEAR: both" border="0" alt="" src="http://4.bp.blogspot.com/-1U5qOT20OW0/TlnRwphev6I/AAAAAAAAAOw/VkcC7q7m46A/s320/P8270004.JPG" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-bU9ybTy4uLo/TlnRw5Vv6kI/AAAAAAAAAO4/FOKCy3L7W98/s1600/P8270005.JPG"&gt;&lt;img style="MARGIN: 0px 10px 10px 0px; FLOAT: left; CLEAR: both" border="0" alt="" src="http://2.bp.blogspot.com/-bU9ybTy4uLo/TlnRw5Vv6kI/AAAAAAAAAO4/FOKCy3L7W98/s320/P8270005.JPG" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-wvwex6kUaFQ/TlnRwxL97HI/AAAAAAAAAPA/1DF7Fdg9IJU/s1600/P8270010.JPG"&gt;&lt;img style="MARGIN: 0px 10px 10px 0px; FLOAT: left; CLEAR: both" border="0" alt="" src="http://4.bp.blogspot.com/-wvwex6kUaFQ/TlnRwxL97HI/AAAAAAAAAPA/1DF7Fdg9IJU/s320/P8270010.JPG" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-qU5M3yJEa4w/TlnRxB8mWPI/AAAAAAAAAPI/76T1Uk_Zq8s/s1600/P8270012.JPG"&gt;&lt;img style="MARGIN: 0px 10px 10px 0px; FLOAT: left; CLEAR: both" border="0" alt="" src="http://2.bp.blogspot.com/-qU5M3yJEa4w/TlnRxB8mWPI/AAAAAAAAAPI/76T1Uk_Zq8s/s320/P8270012.JPG" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-v6xLS0pjmQs/TlnRxJ2NPkI/AAAAAAAAAPQ/5KAklokrxrQ/s1600/P8270013.JPG"&gt;&lt;img style="MARGIN: 0px 10px 10px 0px; FLOAT: left; CLEAR: both" border="0" alt="" src="http://1.bp.blogspot.com/-v6xLS0pjmQs/TlnRxJ2NPkI/AAAAAAAAAPQ/5KAklokrxrQ/s320/P8270013.JPG" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-iHnqOfXVHiU/TlnRxcvyInI/AAAAAAAAAPY/Zobx22_tx9k/s1600/P8270015.JPG"&gt;&lt;img style="MARGIN: 0px 10px 10px 0px; FLOAT: left; CLEAR: both" border="0" alt="" src="http://3.bp.blogspot.com/-iHnqOfXVHiU/TlnRxcvyInI/AAAAAAAAAPY/Zobx22_tx9k/s320/P8270015.JPG" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-Eu0J4x5qqUU/TlnRxQxkHXI/AAAAAAAAAPg/lJiqzK-K4uY/s1600/P8270016.JPG"&gt;&lt;img style="MARGIN: 0px 10px 10px 0px; FLOAT: left; CLEAR: both" border="0" alt="" src="http://1.bp.blogspot.com/-Eu0J4x5qqUU/TlnRxQxkHXI/AAAAAAAAAPg/lJiqzK-K4uY/s320/P8270016.JPG" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;div style='clear:both; text-align:LEFT'&gt;&lt;a href='http://picasa.google.com/blogger/' target='ext'&gt;&lt;img src='http://photos1.blogger.com/pbp.gif' alt='Posted by Picasa' style='border: 0px none ; padding: 0px; background: transparent none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;' align='middle' border='0' /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-3048068566740075450?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/3048068566740075450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=3048068566740075450' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3048068566740075450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3048068566740075450'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/08/tomato-harvest.html' title='The tomato harvest'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-021HwHQGoSY/TlnRwTeE8MI/AAAAAAAAAOg/ObkAjjs1hqs/s72-c/P8270002.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-4825928503640968031</id><published>2011-08-27T22:23:00.000-07:00</published><updated>2011-08-27T22:27:53.067-07:00</updated><title type='text'>Trip to FarMor's</title><content type='html'>&lt;br /&gt;&lt;iframe width="425" height="344" src="http://www.youtube.com/embed/dg_Sg4N43Ik?fs=1" frameborder="0" allowfullscreen=""&gt;&lt;/iframe&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;We were invited to help harvest some garden vegetables.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-B_dOiqW2J-A/TlnRMURxChI/AAAAAAAAAOY/A1eEEVYSwpc/s1600/P8270003.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/-B_dOiqW2J-A/TlnRMURxChI/AAAAAAAAAOY/A1eEEVYSwpc/s320/P8270003.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5645773617417488914" /&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/4159420781944033879-4825928503640968031?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/4825928503640968031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=4825928503640968031' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4825928503640968031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4825928503640968031'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/08/trip-to-farmors.html' title='Trip to FarMor&apos;s'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/dg_Sg4N43Ik/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-5918393282977932737</id><published>2011-08-26T10:33:00.000-07:00</published><updated>2011-08-26T11:15:57.550-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Software Engineering'/><title type='text'>dynaTrace evaluation</title><content type='html'>&lt;a href="http://www.dynatrace.com"&gt;dynaTrace &lt;/a&gt;can monitor/profile .NET and Java code but I only worked with evaluation of the Java side.&lt;br /&gt;&lt;br /&gt;Download the dynatrace full install for linux x86 and windows x86 here product download page&lt;br /&gt;&lt;br /&gt;Obtain a license key for evaluation (file will have a name like dynaTrace_license_201107201015.key)&lt;br /&gt;&lt;br /&gt;You must have a dynatrace account to download them (dynatrace-3.5.2.2393.msi, dynatrace-3.5.2.2393-linux-x86.jar, dynaTrace_license_201107201015.key)&lt;br /&gt;&lt;br /&gt;&lt;a href="https://community.dynatrace.com/community/display/DOCDT35/Installation"&gt;page dedicated to installation&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Define a dedicated VM for dynatrace server/collector, I put the full install jar on a RedHat VM which acted as my server (make sure it has 4GB of RAM)&lt;br /&gt;Run this to install the jar:&lt;br /&gt;java -jar dynatrace-3.5.2.2393-linux-x86.jar&lt;br /&gt;&lt;br /&gt;With this extracted to a folder (I put it in ~\dynatrace..) you can start the dyna collector and server with these commands:&lt;br /&gt;&lt;br /&gt;cd dynatrace&lt;br /&gt;nohup ./dtserver &amp;amp;&lt;br /&gt;nohup ./dtanalysisserver &amp;amp;&lt;br /&gt;nohup ./dtcollector &amp;amp;&lt;br /&gt;I then ran the install for dynatrace-3.5.2.2393.msi on my desktop, I only installed the dynatrace client on my desktop.&lt;br /&gt;&lt;br /&gt;Now you need to copy the dynatrace/agent/lib folder to the servers you want to profile/monitor (do not copy the folder to a path with a space in it like "program files", I put them in c:\tools\dynatrace\agent\lib)&lt;br /&gt;&lt;br /&gt;Now you can change the websphere application server JVM arguments to add the dynatrace agent :&lt;br /&gt;-agentpath:"C:\Tools\dynaTrace\dynaTrace 3.5.2\agent\lib\dtagent.dll"=name=OCMWS,server=192.168.1.122&lt;br /&gt;-agentpath:/root/dynatrace-3.5.2/agent/lib/libdtagent.so=name=OCM,server=192.168.1.122&lt;br /&gt;&lt;br /&gt;Note: Edit the line above to match the path to where you  copied the dynatrace agent dll/so, also give each JVM you are monitoring  a different name, and finaly the IP address is the dynatrace server IP  address which may be different for you.&lt;br /&gt;&lt;br /&gt;To add this to the JVM startup on WebSphere open the IBM console and go to&lt;br /&gt;Servers | application server | server1 | Java Process and Management | Process Definition | Java Virtual Machine | Generic JVM Arguments&lt;br /&gt;prepent the full -agentpath value to the Generic JVM arguments&lt;br /&gt;Click ok and Save your changes, double check that the save took place by entering the console again and checking the generic jvm argument for the new value.&lt;br /&gt;&lt;br /&gt;You will have to restart WebSphere to have the JVM startup with the new startup JVM arguments.&lt;br /&gt;&lt;br /&gt;Launch the dynaTrace client after doing the above, tools | settings | dynatrace server | connectivity | put in the host IP address.&lt;br /&gt;default values for login are admin:admin, port 2021, test the connection, it should be a green arrow and say success.&lt;br /&gt;&lt;br /&gt;Click License, attach the license .key file for dynatrace evaluation: dynaTrace_license_201107201015.key.&lt;br /&gt;&lt;br /&gt;Use online videos to see how to use the client to slice and dice the data from the agents and profile your application.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-V5bTINWYRXg/TjGeCi_rvYI/AAAAAAAAANM/IO77GqWcFg4/s1600/dynaTraceClient2.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/-V5bTINWYRXg/TjGeCi_rvYI/AAAAAAAAANM/IO77GqWcFg4/s320/dynaTraceClient2.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5634458375408041346" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-iypwe2eHKsk/TjGd91olkxI/AAAAAAAAANE/VGRpeQH5EJ8/s1600/dynaTraceClient1.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/-iypwe2eHKsk/TjGd91olkxI/AAAAAAAAANE/VGRpeQH5EJ8/s320/dynaTraceClient1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5634458294512096018" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;There is no license for the client so you can export captured data and give it to anyone with the client installed and they can view the details of the session and use the client to troubleshoot and make changes.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-5918393282977932737?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/5918393282977932737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=5918393282977932737' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5918393282977932737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5918393282977932737'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/08/dynatrace-evaluation.html' title='dynaTrace evaluation'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-V5bTINWYRXg/TjGeCi_rvYI/AAAAAAAAANM/IO77GqWcFg4/s72-c/dynaTraceClient2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-1121969166322173820</id><published>2011-07-28T11:04:00.001-07:00</published><updated>2011-08-27T14:40:37.301-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><title type='text'>*nix/cygwin find commands</title><content type='html'>&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;I need to keep a record of some Linux/cygwin "find" commands that I find useful. This is sort of a cookbook or quick reference of find commands that are handy to have around. &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;h5 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 10px; padding-right: 0px; padding-bottom: 4px; padding-left: 0px; color: rgb(51, 51, 51); font-weight: bold; font-size: 1.2222em; "&gt;Print files which were modified within the last 10 days but and NOT in a "CVS", "build" or "classes" folder:&lt;/h5&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;find . -type d -name CVS -prune -o -name build -prune -o -name classes -prune -o -mtime -10 \! -type d -print &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;h5 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 10px; padding-right: 0px; padding-bottom: 4px; padding-left: 0px; color: rgb(51, 51, 51); font-weight: bold; font-size: 1.2222em; "&gt;&lt;span id="comment-body-1140" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span id="comment-body-1011" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;Print a sorted list of the largest files above 20000k minimum size&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;find . -type f -size +20000k -printf '%kk %p\n' | sort -n -r &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;h5 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 10px; padding-right: 0px; padding-bottom: 4px; padding-left: 0px; color: rgb(51, 51, 51); font-weight: bold; font-size: 1.2222em; "&gt;Print files with XML extensions containing the phrase "search string"&lt;/h5&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;find . -type f -name "*.xml" -exec grep "search string" '{}' /dev/null \; -print       &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;h5 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 10px; padding-right: 0px; padding-bottom: 4px; padding-left: 0px; color: rgb(51, 51, 51); font-weight: bold; font-size: 1.2222em; "&gt;Copy files newer than file X&lt;/h5&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Where &lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;file-x.txt&lt;/strong&gt; is the file, and &lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;/tmp/copy-destination/&lt;/strong&gt; is the place you want to copy the files to:&lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;find . -newer file-x.txt $1 | xargs -I {} cp -p $1{} /tmp/copy-destination/&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-1121969166322173820?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/1121969166322173820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=1121969166322173820' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1121969166322173820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1121969166322173820'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/07/nixcygwin-find-commands.html' title='*nix/cygwin find commands'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-4044368543773527849</id><published>2011-07-28T09:33:00.001-07:00</published><updated>2011-10-24T12:26:58.046-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Software Engineering'/><title type='text'>Use OutputStreamWriter not FileWriter</title><content type='html'>Search your Java code for FileWriter and replace it with OutputStreamWriter... especially if you write UTF-8 encoded documents. You can run into a nasty problem where you develop your Java code on Linux and then when it runs on Windows, character encoding problems crop up. FileWriter uses a OS System setting to determine what encoding to use, so it will change depending on what OS runs the Java code!&lt;br /&gt;&lt;br /&gt;Here is an example of how to use OutputStreamWriter for UTF-8 encoded output.&lt;br /&gt;&lt;pre&gt;         OutputStreamWriter out = null;&lt;br /&gt;        try {&lt;br /&gt;             try {&lt;br /&gt;                  out = new OutputStreamWriter(new FileOutputStream(outputFile),"UTF-8");&lt;br /&gt;             } catch (UnsupportedEncodingException e) {&lt;br /&gt;                  throw new RuntimeException(e.getMessage,e);&lt;br /&gt;             }&lt;br /&gt;             try {&lt;br /&gt;                  out.append(yourStringDataToWriteToOutputFile);&lt;br /&gt;                  out.flush();&lt;br /&gt;             } catch (IOException e) {&lt;br /&gt;                  throw new RuntimeException(e.getMessage,e);&lt;br /&gt;             }             &lt;br /&gt;        } catch (FileNotFoundException e) {&lt;br /&gt;             throw new RuntimeException(e.getMessage,e);&lt;br /&gt;        } finally {&lt;br /&gt;             try {&lt;br /&gt;                  out.close();&lt;br /&gt;             } catch (IOException e) {&lt;br /&gt;                  throw new RuntimeException(e.getMessage,e);&lt;br /&gt;             }&lt;br /&gt;        }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Hope this helps you get past file character encoding bugs with Java. Here is a great link on various Java Anti-Patterns which should be avoided when writing enterprise class robust code:&lt;div&gt;&lt;a href="http://www.odi.ch/prog/design/newbies.php"&gt;http://www.odi.ch/prog/design/newbies.php&lt;/a&gt;&lt;/div&gt;&lt;div&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/4159420781944033879-4044368543773527849?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/4044368543773527849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=4044368543773527849' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4044368543773527849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4044368543773527849'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/07/use-outputstreamwriter-not-filewriter.html' title='Use OutputStreamWriter not FileWriter'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-594277987648711185</id><published>2011-06-18T22:01:00.000-07:00</published><updated>2011-08-26T11:06:19.779-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><title type='text'>How do I use my web resource bundle within my Spring controller?</title><content type='html'>&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;p style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;br /&gt;Here is how I did it:&lt;/p&gt;&lt;br /&gt;&lt;p style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;br /&gt;In my controller:&lt;/p&gt;&lt;br /&gt;&lt;pre class="jive-pre" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); "&gt;&lt;code class="jive-code jive-java" style="font-size: 1em; "&gt;&lt;br /&gt;&lt;b&gt;import&lt;/b&gt; org.springframework.context.ApplicationContext; ...&lt;br /&gt;@Autowired &lt;b&gt;private&lt;/b&gt; ApplicationContext context; &lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;br /&gt;In the resource bundle ApplicationResources.properties&lt;/p&gt;&lt;br /&gt;&lt;pre class="jive-pre" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); "&gt;&lt;code class="jive-code" style="font-size: 1em; "&gt;gotocode.error.notfound=Sorry {0} is not recognized as a code. &lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;br /&gt;Back in the controller&lt;/p&gt;&lt;br /&gt;&lt;pre class="jive-pre" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); "&gt;&lt;code class="jive-code jive-java" style="font-size: 1em; "&gt;&lt;br /&gt;&lt;span&gt;&lt;b&gt;public&lt;/b&gt;&lt;/span&gt; &lt;span&gt;&lt;b&gt;static&lt;/b&gt;&lt;/span&gt; &lt;span&gt;&lt;b&gt;final&lt;/b&gt;&lt;/span&gt; String GOTOCODE_NOTFOUND_KEY = &lt;span&gt;"gotocode.error.notfound"&lt;/span&gt;; &lt;span&gt;&lt;br /&gt;&lt;b&gt;public&lt;/b&gt;&lt;/span&gt; &lt;span&gt;&lt;b&gt;static&lt;/b&gt;&lt;/span&gt; &lt;span&gt;&lt;b&gt;final&lt;/b&gt;&lt;/span&gt; String CODE_NOT_FOUND_MESSAGE = &lt;span&gt;"Sorry the entry {0} is not recognized as a code."&lt;/span&gt;;&lt;br /&gt;...&lt;br /&gt;&lt;span&gt;&lt;b&gt;public&lt;/b&gt;&lt;/span&gt; ModelAndView findNextInSeries(String code,..   &lt;/code&gt;&lt;/pre&gt;&lt;pre class="jive-pre" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); "&gt;&lt;code class="jive-code jive-java" style="font-size: 1em; "&gt;String errorMessage = context.getMessage(&lt;/code&gt;&lt;/pre&gt;&lt;pre class="jive-pre" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); "&gt;&lt;code class="jive-code jive-java" style="font-size: 1em; "&gt;GOTOCODE_NOTFOUND_KEY, &lt;span&gt;&lt;b&gt;new&lt;/b&gt;&lt;/span&gt; Object[] &lt;span&gt;{&lt;/span&gt; code &lt;span&gt;}&lt;/span&gt;, CODE_NOT_FOUND_MESSAGE, Locale.getDefault());   &lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;Previously my ApplicationResources.properties was configured in the web.xml&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="jive-pre" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); "&gt;&lt;code class="jive-code jive-xml" style="font-size: 1em; font-family: monospace; "&gt;&lt;br /&gt;&lt;span class="jive-xml-tag" style="color: navy; font-weight: bold; "&gt;&lt;br /&gt;&lt;span&gt;&lt;web-app version="2.4" xmlns="&amp;lt;/span&amp;gt;&amp;lt;a class=" href="http://java.sun.com/xml/ns/j2ee" style="color: rgb(53, 84, 145); outline-style: none; outline-width: initial; outline-color: initial; "&gt;&lt;br /&gt;http://java.sun.com/xml/ns/j2ee&lt;span&gt;"     xmlns:xsi="&lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" style="color: rgb(53, 84, 145); outline-style: none; outline-width: initial; outline-color: initial; "&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/a&gt;&lt;span&gt;"     xsi:schemaLocation="&lt;/span&gt;&lt;a class="jive-link-external-small" href="http://java.sun.com/xml/ns/j2ee" style="color: rgb(53, 84, 145); outline-style: none; outline-width: initial; outline-color: initial; "&gt;http://java.sun.com/xml/ns/j2ee&lt;/a&gt;&lt;span&gt; &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" style="color: rgb(53, 84, 145); outline-style: none; outline-width: initial; outline-color: initial; "&gt;http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd&lt;/a&gt;&lt;span&gt;" id="WebApp_1270163143862"&amp;gt;&lt;/span&gt;&amp;lt;/web-app&amp;gt;&lt;/web-app&gt;&lt;/span&gt;&lt;br /&gt; &amp;lt;&lt;span class="jive-xml-tag" style="color: navy; font-weight: bold; "&gt;display-name&amp;gt;Sample Spring Resource Bundle&lt;/span&gt;&lt;br /&gt; &amp;lt;&lt;span class="jive-xml-tag" style="color: navy; font-weight: bold; "&gt;distributable&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="jive-xml-comment" style="color: rgb(0, 100, 0); "&gt;     &lt;!-- Define the basename for a resource bundle for I18N --&gt;&lt;/span&gt;&lt;br /&gt; &amp;lt;&lt;span class="jive-xml-tag" style="color: navy; font-weight: bold; "&gt;context-param&amp;gt;&lt;/span&gt;&lt;br /&gt; &amp;lt;&lt;span class="jive-xml-tag" style="color: navy; font-weight: bold; "&gt;param-name&amp;gt;javax.servlet.jsp.jstl.fmt.localizationContext&lt;/span&gt;&lt;br /&gt; &amp;lt;&lt;span class="jive-xml-tag" style="color: navy; font-weight: bold; "&gt;param-value&amp;gt;ApplicationResources&lt;/span&gt;&lt;br /&gt; &lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;As well as in the Spring Application context configuration (dispatcher-servlet.xml):&lt;/p&gt;&lt;div&gt;    &lt;bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource"&gt;&lt;/bean&gt;&lt;/div&gt;&lt;div&gt;        &lt;property name="basename" value="ApplicationResources"&gt;&lt;/property&gt;&lt;/div&gt;&lt;div&gt;        &lt;property name="useCodeAsDefaultMessage" value="true"&gt;&lt;/property&gt;&lt;/div&gt;&lt;div&gt;    &lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-594277987648711185?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/594277987648711185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=594277987648711185' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/594277987648711185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/594277987648711185'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/06/how-do-i-use-my-web-resource-bundle.html' title='How do I use my web resource bundle within my Spring controller?'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-1229693073199108806</id><published>2011-06-18T21:52:00.001-07:00</published><updated>2011-08-01T15:18:08.186-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><title type='text'>Setting up Eclipse TPTP for performance monitoring of Jetty run from Maven</title><content type='html'>&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; "&gt;&lt;div class="jive-rendered-content" style="margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; overflow-x: visible; overflow-y: visible; clear: both; position: relative; width: 1332px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;This is a document to help you setup Eclipse TPTP plugin for performance monitoring of J2EE application deployed to Jetty using the jetty-maven-plugin.&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Open MyEclipse Configuration center and search for TPTP, download the newest version of TPTP plugin, restart your IDE after the install finishes.&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Next go to the TPTP homepage and download the Agent controller for your architecture (I downloaded windows IA32).&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;Extract the Agent controller zip to C:\Tools\agntctrl.win_ia32-TPTP-4.7.2&lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Edit your system environment variables and add&lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;RASERVER_HOME=C:\Tools\agntctrl.win_ia32-TPTP-4.7.2 PATH=C:\Tools\agntctrl.win_ia32-TPTP-4.7.2\bin;%PATH%  Open a command prompt and goto agent controller cd C:\Tools\agntctrl.win_ia32-TPTP-4.7.2\bin SetConfig.bat &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;This should display the following:&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;C:\Tools\agntctrl.win_ia32-TPTP-4.7.2\bin&amp;gt;SetConfig.bat Specify the fully qualified path of "javaw.exe" (e.g. c:\jdk1.4\jre\bin\javaw.ex e):   Default&amp;gt;"C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin\javaw.exe" (Pre ss &lt;enter&gt; to accept the default value)   New value&amp;gt; Network access mode (ALL=allow any host, LOCAL=allow only this host, CUSTOM=list  of hosts):   Default&amp;gt;"LOCAL" (Press &lt;enter&gt; to accept the default value)   New value&amp;gt;ALL Security enabled. (true/false):   Default&amp;gt;"FALSE" (Press &lt;enter&gt; to accept the default value)   New value&amp;gt; &lt;/enter&gt;&lt;/enter&gt;&lt;/enter&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Start the Agent Controller by launching a command console window with Administrator privledges (Run as Admni..) The change your working directory to&lt;/p&gt;&lt;pre ___default_attr="plain" class="jive_text_macro jive_macro_code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; "&gt;cd C:\Tools\agntctrl.win_ia32-TPTP-4.7.2\&lt;tt style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;bin&lt;br /&gt;&lt;/tt&gt;&lt;tt style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;ACServer.exe&lt;/tt&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 30px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;See this link for more agent controller info &lt;a class="jive-link-external-small" href="http://dev.eclipse.org/viewcvs/viewvc.cgi/platform/org.eclipse.tptp.platform.agentcontroller/src-native-new/packaging_md/windows/getting_started.html?root=TPTP_Project&amp;amp;view=co" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;http://dev.eclipse.org/viewcvs/viewvc.cgi/platform/org.eclipse.tptp.platform.agentcontroller/src-native-new/packaging_md/windows/getting_started.html?root=TPTP_Project&amp;amp;view=co&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 30px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;This is also a link with good info on TPTP &lt;a class="jive-link-external-small" href="http://eclipse.sys-con.com/node/508048?page=0,2" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;http://eclipse.sys-con.com/node/508048?page=0,2&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Configure piAgent and start your application with Maven by adding this to MAVEN_OPTS environment variable:&lt;/p&gt;&lt;pre class="jive-pre" style="margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; font-size: 1.2em; display: block; width: auto; overflow-x: auto; overflow-y: auto; white-space: pre; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; background-color: rgb(255, 255, 255); background-image: url(http://communities.knowlysis.com/images/jive-bg-pre.gif); background-repeat: repeat repeat; "&gt;&lt;code class="jive-code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; "&gt;-XrunpiAgent:server=enabled &lt;/code&gt;&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;From eclipse navigate to  Run | Profile Configurations... | Attach to Agent | New&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;ACServer should be running on localhost port 10002, check this with netstat -a -b -n command or test button in eclipse&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Jetty JVM Agent should be detected on the Agent tab. select ONLY ONE of the profile probes, CPU --or-- MEMORY etc.. do NOT select more than one, treat them as mutually exclusive radio buttons rather than check boxes.&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;You can then perform tasks in your application and save the data captured. Also you can create new reports from the captured data with TPTP eclipse tools.&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 8pt; height: 8pt; "&gt; &lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;See &lt;a class="jive-link-external-small" href="http://www.eclipse.org/articles/Article-TPTP-Profiling-Tool/tptpProfilingArticle.html" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(53, 84, 145); "&gt;http://www.eclipse.org/articles/Article-TPTP-Profiling-Tool/tptpProfilingArticle.html&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="jive-wiki-details" style="margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 10px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(220, 220, 220); "&gt;&lt;div class="jive-wiki-details-container" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-1229693073199108806?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/1229693073199108806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=1229693073199108806' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1229693073199108806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1229693073199108806'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/06/setting-up-eclipse-tptp-for-performance.html' title='Setting up Eclipse TPTP for performance monitoring of Jetty run from Maven'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-3065426107241491987</id><published>2011-06-18T19:36:00.000-07:00</published><updated>2011-06-18T20:16:45.990-07:00</updated><title type='text'>Why your web browser should be updated often.</title><content type='html'>I was reading a book online about 20 things people should understand about the Internet. Number 7 is about keeping your browser updated. Here are the3 simple reasons given:&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: DroidSerif, Times, serif; font-size: 13px; line-height: 20px; word-spacing: 3px; color: rgb(51, 51, 51); "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: DroidSerif, Times, serif; line-height: 20px; word-spacing: 3px; color: rgb(51, 51, 51); "&gt;&lt;span class="Apple-style-span"&gt;First, old browsers are vulnerable to attacks&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 20px; word-spacing: 3px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: DroidSerif, Times, serif; line-height: 20px; word-spacing: 3px; color: rgb(51, 51, 51); "&gt;&lt;span class="Apple-style-span"&gt;Second, the web evolves quickly. Old browsers will miss out. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: DroidSerif, Times, serif; font-size: 13px; line-height: 20px; word-spacing: 3px; color: rgb(51, 51, 51); "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: DroidSerif, Times, serif; line-height: 20px; word-spacing: 3px; color: rgb(51, 51, 51); "&gt;&lt;span class="Apple-style-span"&gt;Third and last, old browsers slow down innovation on the web. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 20px; word-spacing: 3px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;Here is the book of 20 things &lt;a href="http://www.20thingsilearned.com/en-US/old-vs-new-browsers/2"&gt;http://www.20thingsilearned.com/en-US/old-vs-new-browsers/2&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I wish I had this in mind when working with a client who insisted on a dynamic Web 2.0 look to the complex application but also demanded compatibility with IE7.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Delivering on both of these requirements (latest Internet bells and whistles like AJAX as well as backward compatibility with older browser versions) increases the difficulty level and cost of the site development considerably. First you have to test on these older browser versions in addition to testing on the common browsers, which increases the development time. Next you have to pare down features and functionality so that it works consistently everywhere, so you might have had a nice dynamic form or navigation control working in IE9 and FireFox 4, but it all gets tossed out when it cannot work in IE7 (see holding up innovation reason given above). Also for some "must have" site features or functionality: developers will usually have to code around older browser version quirks, so instead of writing code in one place to perform a task, it is written one place or one way for modern browsers and another place or another way for older browsers. This causes a code maintenance issue as you now have multiple places to check to fix problems or update code for a single feature or site behavior. This is a problem for HTML, CSS, and Javascript as all three can behave differently on different browsers. Yet another problem that can arise is your performance can vary widely in different browser flavors and versions, for example IE7 javascript benchmarks are miserably slow when compared with more recent versions of IE and other browsers like FireFox or Chrome. This can cause problems where failing to test on the required browser versions can really bite you. If a performance issue (or any browser version issue) is found late in the development cycle, either because the testing was not done along side development in that version or because developers only used modern browsers for their self verification and validation of the application, then the time to fix the problem is much larger and more difficult than if it had been caught earlier.&lt;/div&gt;&lt;div&gt;The best defense to this situation of having to develop Javascript for modern sites to be used by clunky old browser versions is to use a good library like GWT, jQuery or Dojo. These abstract away many of the browser specific cruft that would drive you mad when trying to implement your site. I am not sure of a solution for this problem as it relates to HTML/CSS however, cross browser CSS is a major pain in the you know what.&lt;br /&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;&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/4159420781944033879-3065426107241491987?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/3065426107241491987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=3065426107241491987' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3065426107241491987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3065426107241491987'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/06/why-your-web-browser-should-be-updated.html' title='Why your web browser should be updated often.'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-3093647080007264867</id><published>2011-04-28T23:30:00.000-07:00</published><updated>2011-04-28T23:30:00.514-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>Body for Life meal plan</title><content type='html'>Read about Body for Life Champion &lt;a href="http://bodyforlife.com/news/bfl-champion-qa-joshua-sundquist"&gt;Joshua Sundquist&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This was his daily meal plan:&lt;br /&gt;&lt;span style="font-size:130%;"&gt;6:00am Meal 1&lt;/span&gt;&lt;br /&gt;Multivitamin&lt;br /&gt;1.5 cups of whole grain rolled  oats (old fashioned oatmeal) cooked with water and mixed with a scoop of  100% Whey Protein and a teaspoon of Flax Seed Oil (good source of Omega  Oils).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;7:00–8:00am Workout&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;8:30am Meal 2 &lt;/span&gt;&lt;br /&gt;Post-workout  meal: Two servings of 100% Whey Protein mixed with a teaspoon of  chocolate syrup (this is the only sugar I ate—I like to give my muscles  some quick energy for recovery).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;11:00am Meal 3 &lt;/span&gt;&lt;br /&gt;Sandwich made with two slices of 100% whole grain bread, natural peanut butter and two sliced bananas.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;2:00pm Meal 4 &lt;/span&gt;&lt;br /&gt;Grilled chicken breast, brown rice, a serving of raw vegetables&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;6:00 pm Meal 5 &lt;/span&gt;&lt;br /&gt;Whole grain pasta, soy protein isolate shake, a serving of raw vegetables&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;9:00pm Meal 6 &lt;/span&gt;&lt;br /&gt;Bowl of whole grain cereal (Cheerios&lt;sup&gt;®&lt;/sup&gt;*, Shredded Wheat&lt;sup&gt;®&lt;/sup&gt;*, etc) and 100% Whey Protein shake&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;12:00pm Meal 7 &lt;/span&gt;&lt;br /&gt;Natural (unsweetened) applesauce mixed with low-fat cottage cheese, serving of Casein Protein shake&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;3:00am Bonus nutrition&lt;/span&gt;&lt;br /&gt;100% Whey Protein shake&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table style="text-align: center; border-collapse: collapse; width: 363pt;" border="1" cellpadding="0" cellspacing="0" width="483"&gt;&lt;col style="text-align: center; width: 121pt;" width="161"&gt;  &lt;col style="text-align: center; width: 77pt;" width="102"&gt;  &lt;col style="text-align: center; width: 48pt;" span="2" width="64"&gt;  &lt;col style="text-align: center; width: 69pt;" width="92"&gt;  &lt;tbody&gt;&lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt; width: 121pt;" height="20" width="161"&gt;&lt;br /&gt;&lt;/td&gt;   &lt;td style="text-align: center; width: 77pt;" width="102"&gt;per day serving&lt;/td&gt;   &lt;td style="width: 48pt;" width="64"&gt;per week&lt;/td&gt;   &lt;td style="width: 48pt;" width="64"&gt;per month&lt;/td&gt;   &lt;td style="width: 69pt;" width="92"&gt;per challenge&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt;" height="20"&gt;flax Seed Oil&lt;/td&gt;   &lt;td&gt;1&lt;/td&gt;   &lt;td&gt;6&lt;/td&gt;   &lt;td&gt;24&lt;/td&gt;   &lt;td&gt;72&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt;" height="20"&gt;chocolate Syrup&lt;/td&gt;   &lt;td&gt;1&lt;/td&gt;   &lt;td&gt;6&lt;/td&gt;   &lt;td&gt;24&lt;/td&gt;   &lt;td&gt;72&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt;" height="20"&gt;100% Whey Protein&lt;/td&gt;   &lt;td&gt;4&lt;/td&gt;   &lt;td&gt;24&lt;/td&gt;   &lt;td&gt;96&lt;/td&gt;   &lt;td&gt;288&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt;" height="20"&gt;casein protein&lt;/td&gt;   &lt;td&gt;1&lt;/td&gt;   &lt;td&gt;6&lt;/td&gt;   &lt;td&gt;24&lt;/td&gt;   &lt;td&gt;72&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt;" height="20"&gt;unsweetend applesauce&lt;/td&gt;   &lt;td&gt;1&lt;/td&gt;   &lt;td&gt;6&lt;/td&gt;   &lt;td&gt;24&lt;/td&gt;   &lt;td&gt;72&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt;" height="20"&gt;chicken breasts&lt;/td&gt;   &lt;td&gt;1&lt;/td&gt;   &lt;td&gt;6&lt;/td&gt;   &lt;td&gt;24&lt;/td&gt;   &lt;td&gt;72&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt;" height="20"&gt;raw vegetables&lt;/td&gt;   &lt;td&gt;2&lt;/td&gt;   &lt;td&gt;12&lt;/td&gt;   &lt;td&gt;48&lt;/td&gt;   &lt;td&gt;144&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt;" height="20"&gt;100% whole grain bread&lt;/td&gt;   &lt;td&gt;2&lt;/td&gt;   &lt;td&gt;12&lt;/td&gt;   &lt;td&gt;48&lt;/td&gt;   &lt;td&gt;144&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt;" height="20"&gt;natural peanut butter&lt;/td&gt;   &lt;td&gt;1&lt;/td&gt;   &lt;td&gt;6&lt;/td&gt;   &lt;td&gt;24&lt;/td&gt;   &lt;td&gt;72&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt;" height="20"&gt;bananas&lt;/td&gt;   &lt;td&gt;2&lt;/td&gt;   &lt;td&gt;12&lt;/td&gt;   &lt;td&gt;48&lt;/td&gt;   &lt;td&gt;144&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt;" height="20"&gt;oatmeal&lt;/td&gt;   &lt;td&gt;1.5&lt;/td&gt;   &lt;td&gt;9&lt;/td&gt;   &lt;td&gt;36&lt;/td&gt;   &lt;td&gt;108&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt;" height="20"&gt;low fat cottage cheese&lt;/td&gt;   &lt;td&gt;1&lt;/td&gt;   &lt;td&gt;6&lt;/td&gt;   &lt;td&gt;24&lt;/td&gt;   &lt;td&gt;72&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt;" height="20"&gt;Cheerios&lt;/td&gt;   &lt;td&gt;1&lt;/td&gt;   &lt;td&gt;6&lt;/td&gt;   &lt;td&gt;24&lt;/td&gt;   &lt;td&gt;72&lt;/td&gt;  &lt;/tr&gt;&lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt;" height="20"&gt;Skim Milk&lt;/td&gt;   &lt;td&gt;1&lt;/td&gt;   &lt;td&gt;6&lt;/td&gt;   &lt;td&gt;24&lt;/td&gt;   &lt;td&gt;72&lt;/td&gt;  &lt;/tr&gt;&lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt;" height="20"&gt;Soy Protein Powder&lt;/td&gt;   &lt;td&gt;1&lt;/td&gt;   &lt;td&gt;6&lt;/td&gt;   &lt;td&gt;24&lt;/td&gt;   &lt;td&gt;72&lt;/td&gt;  &lt;/tr&gt;&lt;tr style="height: 15pt;" height="20"&gt;   &lt;td style="height: 15pt;" height="20"&gt;Whole grain Pasta&lt;/td&gt;   &lt;td&gt;1&lt;/td&gt;   &lt;td&gt;6&lt;/td&gt;   &lt;td&gt;24&lt;/td&gt;   &lt;td&gt;72&lt;/td&gt;  &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Got all that? Great but let me tell you, I gave this plan a shot back in October of 2010, stuck it out for 12 weeks. I actually hated this toward the end, also did not get anywhere on it. I even tried to modify it by reducing portions or eliminating some of the late night meals after not seeing results for 6 weeks. I guess the lesson there is don't do something for 12 weeks if it does not work by 4 weeks. My current weight is under 215lb, I just finished a 12 week challenge at work a "biggest loser" competition, I lost about 20 lbs and 3% body fat. My sister is doing great on an HCG-style program, and so if I gain a single pound back, I am jumping on HCG so hard it might break something. She has lost more weight in 30 days than I lost in 90.&lt;br /&gt;&lt;br /&gt;So far &lt;a href="http://www.greensmoothiegirl.com/12-step-blog/12-step-program/"&gt;12 Steps to Whole Foods&lt;/a&gt; Steps 1-3 are working out for me very consistently (well that along with 6-10 workouts per week.) I do feel great when I workout and eat better, now if I could just get enough sleep. I am surprised that adding two quarts of green smoothies and big salads for lunch and dinner is able to keep me from having hunger pains. I am not vegetarian but I have reduced my meat intake down to a 10th of what it was. Reading the book has made me avoid meat at almost every opportunity, I just see it crawling with diseases and squirming with parasites (or imagine it decaying inside my intestines) and order the vegetarian option.&lt;br /&gt;&lt;br /&gt;I also took a running class from Ken Harper who owns the Runners Corner in Orem, that class was great and helped inspire me to make running outside a part of my weekly exercise. I read Born to Run and got the Vibrams Five Fingers which I think is helping to strengthen my weak feet and legs . I am also incorporating weight lifting with a partner from work, supposedly this is a great way to gain muscle and lose fat. The only things I am not doing that I may try are team sports, organized races, and swimming.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-3093647080007264867?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/3093647080007264867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=3093647080007264867' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3093647080007264867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3093647080007264867'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/04/body-for-life-meal-plan.html' title='Body for Life meal plan'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-5317451022981511111</id><published>2011-01-02T10:46:00.000-08:00</published><updated>2012-01-06T09:48:50.788-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='XSLT'/><title type='text'>Validating XML against a Schema (XSD)</title><content type='html'>Notepad++&lt;br /&gt;Notepad++ has an optional plugin to allow you to validate an XML file against an XSD (this is good because it is a free "gratis" tool).&lt;br /&gt;&lt;br /&gt;First, download and install Notepad ++ &lt;a href="http://notepad-plus-plus.org/download"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download and add XML tools plugin for Notepad ++ &lt;a href="http://sourceforge.net/projects/npp-plugins/files/XML%20Tools/"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download the ExternalTools.zip as well from the sourceforge link above and extract the contents to the Notepad++ install folder.&lt;br /&gt;&lt;br /&gt;Restart Notepad ++&lt;br /&gt;&lt;br /&gt;Open XML file to validate, Click Plugins | XML Tools | Validate now&lt;br /&gt;&lt;br /&gt;A window will pop up with errors or validation successfully completed message.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;jEdit&lt;br /&gt;jEdit also has optional plugin to validate XML against an XSD.&lt;br /&gt;&lt;br /&gt;First download jEdit &lt;a href="http://jedit.org/index.php?page=download"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Open jEdit and click Plugins | Plugin Manager&lt;br /&gt;&lt;br /&gt;Check the box for XML plugin, click install button&lt;br /&gt;&lt;br /&gt;Open the XML file, validation errors appear as red underlines.&lt;br /&gt;&lt;br /&gt;Also in jEdit you can open Plugins | XML | Parse as XML will open a window and show a tree navigation of the XML jumping to the first error found if any.&lt;br /&gt;&lt;br /&gt;cygwin&lt;br /&gt;An optional package to install in cygwin is called libXML2, this package includes a command line tool named xmllint which can also validate XML against an XSD&lt;br /&gt;$ xmllint --schema /cygdrive/c/path/to/xsd/myschema.xsd /cygdrive/c/path/to/xml/myxml.xml&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-5317451022981511111?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/5317451022981511111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=5317451022981511111' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5317451022981511111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5317451022981511111'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2011/01/validating-xml-against-schema-xsd.html' title='Validating XML against a Schema (XSD)'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-6334036519730129329</id><published>2010-10-29T13:16:00.000-07:00</published><updated>2010-10-29T14:13:43.697-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='finance'/><category scheme='http://www.blogger.com/atom/ns#' term='career'/><title type='text'>Four Steps</title><content type='html'>Debt is a form of enslavement, the victim is deceived into breaking a simple rule:&lt;br /&gt;Spend less than you earn.&lt;br /&gt;&lt;br /&gt;Spending less than you earn is very similar to another simple rule many struggle with when overweight:&lt;br /&gt;Eat less than you burn.&lt;br /&gt;&lt;br /&gt;Health and wealth and happiness are very inter-related. Getting control of your health can help you to get control of other areas of your life. Taking control of my eating habits helped me break away from other bad behaviors and get my financial situation under control. &lt;br /&gt;&lt;br /&gt;With any change in life, you start by learning, then setting goals, making a plan to achieve them, and acting on your plan. The last step is critical, never wait to act. So learn what you should learn, get a plan for your goal, and GO!&lt;br /&gt;&lt;br /&gt;1 Learn&lt;br /&gt;You have to learn a better way, you can't keep doing the same thing and expect a different outcome. Learn what to do. For example, don't buy a gym membership and never learn how to safely exercise because you may hurt yourself and be worse off than before. Similarly, you should research budget plans or debt elimination strategies and pick one that you firmly believe will work for you, one that people like you have been successful with. This is also a time to get motivated and inspired by others who have been successful at making the change you are making. Finally, write a list of what benefits you will have from making the change (or start with this list), but keep it handy.&lt;br /&gt;&lt;br /&gt;2 Goal != Dream&lt;br /&gt;Good goals should be a specific and small, they should be steps on your journey toward your dreams and desires, their should be a deadline or target date for your goal. A dream to be a millionaire is not a goal. Good example of a goal would be to lose 10 lbs by December 2010, or pay off all credit card balances before July 2011.&lt;br /&gt;&lt;br /&gt;3 Plan&lt;br /&gt;Very important third step is to plan, be aware of your life and the obstacles you already have to accomplishing your goal, account for those in your plan. Some unexpected obstacles will blindside you, you may get pregnant, you may have a huge unexpected expense, or experience a job loss. Things happen that are out of your control and can impede your progress, expect them to happen but realize they happen to EVERYONE, and realize obstacles happened to people who were still successful with their goals. Decide to be one of those people, the ones that didn't give up or give in to challenges. Use the knowledge you gained to make a detailed plan. Keep in mind that your plan should not be unreasonable, your plan should be actually physically possible for you to do 100% of the time. Your plan should make sense to you, you need to believe that following the plan will work, not just hope that it will.&lt;br /&gt;&lt;br /&gt;4 Act&lt;br /&gt;Make a commitment to accomplish your goal with your plan. Think no-matter-what-I-am-doing-this, then as you act, no-matter-what, do it, stay committed. Decide now that you will always decide to go on, then never change your mind about it. You have to be a stubborn, hard-nosed jerk about it, because excess fat and debt are stubborn hard-nosed jerks too. Use the inspiration and motivation from other successful people to support you and help you to avoid falling backwards into addictive behaviors that take you away from your goal. If you look, you can find inspirational stories from people who had challenges accomplishing the very same thing you are trying to accomplish. Keep at it until you see movement, until you see a change you really are proud of, until you reach that goal, then immediately start over with step one and do it again. Don't bask in your awesomeness for a second, because that's a great time for an old behavior to creep back into your life. You achieved something, it felt great, it was great, don't ruin it by undoing that hard work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-6334036519730129329?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/6334036519730129329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=6334036519730129329' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6334036519730129329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6334036519730129329'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/10/four-steps.html' title='Four Steps'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-1405933260528073182</id><published>2010-09-14T12:02:00.000-07:00</published><updated>2010-09-14T12:02:00.894-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Maven'/><title type='text'>Tynt programming assignment (Part 5)</title><content type='html'>Here is my implementation of a Hash collection for Integers:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;package com.tynt.app.util;&lt;br /&gt;&lt;br /&gt;public class IntegerHash {&lt;br /&gt; public static final int BUFFER_SIZE = 100;&lt;br /&gt; &lt;br /&gt; private IntegerList values;&lt;br /&gt; private IntegerList valueCounts;&lt;br /&gt; &lt;br /&gt; public IntegerHash() {&lt;br /&gt;  values = new IntegerList();&lt;br /&gt;  valueCounts = new IntegerList();&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public boolean hasInteger(Integer value) {&lt;br /&gt;  if (value == null) {&lt;br /&gt;   return false;&lt;br /&gt;  }&lt;br /&gt;  for(int i=0;i &amp;lt; values.size();i++) {&lt;br /&gt;   if (values.get(i).compareTo(value) == 0) {&lt;br /&gt;    return true;&lt;br /&gt;   }&lt;br /&gt;  }&lt;br /&gt;  return false;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public Integer getIntegerCount(int index) {&lt;br /&gt;  return valueCounts.get(index);&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public Integer getIntegerIndex(Integer value) {&lt;br /&gt;  for(int i=0;i &amp;lt; values.size();i++) {&lt;br /&gt;   if (values.get(i).compareTo(value) == 0) {&lt;br /&gt;    return i;&lt;br /&gt;   }&lt;br /&gt;  }&lt;br /&gt;  return -1;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public void incrementIntegerCount(Integer value) {&lt;br /&gt;  int integerIndex = getIntegerIndex(value);&lt;br /&gt;  valueCounts.put(integerIndex, getIntegerCount(integerIndex)+1);&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public void addInteger(Integer value) {&lt;br /&gt;  if (!hasInteger(value)) {&lt;br /&gt;   values.concatenate(value);&lt;br /&gt;   valueCounts.concatenate(1);&lt;br /&gt;  } else {&lt;br /&gt;   incrementIntegerCount(value);&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public IntegerList getIntegers() {&lt;br /&gt;  IntegerList vals = new IntegerList();&lt;br /&gt;  for(int i = 0; i &amp;lt; values.size(); i++) {&lt;br /&gt;   vals.concatenate(values.get(i));&lt;br /&gt;  }&lt;br /&gt;  return vals;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public Integer getIntegerFrequency(Integer value) {&lt;br /&gt;  if (hasInteger(value)) {&lt;br /&gt;   int index = getIntegerIndex(value);&lt;br /&gt;   return getIntegerCount(index);&lt;br /&gt;  } else {&lt;br /&gt;   return 0;&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;As you can see, I re-used the IntegerList collection in the Hash collection. Since I am not sorting the IntegerList, I have to iterate through the entire key IntegerList to check for a key in the hash, with a sorted key IntegerList, I could short circuit after the key was larger than the sorted key it was compared with. I am also not implementing a hash algorithm at all, so the collection was not named very well. Implementing a true hash collection was not part of the assignment so I didn't worry about it.&lt;br /&gt;&lt;br /&gt;Here is assignment5 using the above collection:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;package com.tynt.app;&lt;br /&gt;&lt;br /&gt;import java.io.BufferedReader;&lt;br /&gt;import java.io.IOException;&lt;br /&gt;import java.io.InputStream;&lt;br /&gt;import java.io.InputStreamReader;&lt;br /&gt;&lt;br /&gt;import com.tynt.app.util.*;&lt;br /&gt;&lt;br /&gt;public class Assignment5 implements InputReader {&lt;br /&gt;&lt;br /&gt; public String readFile(InputStream is) {&lt;br /&gt;  BufferedReader d = new BufferedReader(new InputStreamReader(is));&lt;br /&gt;  String line;&lt;br /&gt;  IntegerHash unsortedHash = new IntegerHash();&lt;br /&gt;  try {&lt;br /&gt;   line = d.readLine();&lt;br /&gt;   while (line != null) {&lt;br /&gt;    Integer value = null;&lt;br /&gt;    try {&lt;br /&gt;     value = new Integer(Integer.parseInt(line));&lt;br /&gt;    } catch (NumberFormatException e) {&lt;br /&gt;     throw new RuntimeException(e);&lt;br /&gt;    }&lt;br /&gt;    unsortedHash.addInteger(value);&lt;br /&gt;    line = d.readLine();&lt;br /&gt;   }&lt;br /&gt;  } catch (IOException e) {&lt;br /&gt;   throw new RuntimeException(e);&lt;br /&gt;  }&lt;br /&gt;  StringBuilder sb = new StringBuilder();&lt;br /&gt;  IntegerList sortedList = IntegerList.quicksort(unsortedHash.getIntegers());&lt;br /&gt;  if (sortedList == null) {&lt;br /&gt;   sortedList = new IntegerList();&lt;br /&gt;  }&lt;br /&gt;  for (int i=0;i &amp;lt; sortedList.size();i++) {&lt;br /&gt;   sb.append(sortedList.get(i));&lt;br /&gt;   sb.append(" - ");&lt;br /&gt;   sb.append(unsortedHash.getIntegerFrequency(sortedList.get(i)));&lt;br /&gt;   sb.append(NEW_LINE);&lt;br /&gt;  }&lt;br /&gt;  return sb.toString();&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;Finally, with all of the Assignment objects implemented and the tests passing, I can implement the Driver for the project:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;package com.tynt.app;&lt;br /&gt;&lt;br /&gt;import java.io.*;&lt;br /&gt;import com.tynt.app.util.*;&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt;* Tynt programming challenge&lt;br /&gt;*&lt;br /&gt;* @author Four Gables Guy&lt;br /&gt;*&lt;br /&gt;*/&lt;br /&gt;public class App {&lt;br /&gt;   public static final String header = "********************";&lt;br /&gt;&lt;br /&gt;   public static void main(String[] args) throws IOException {&lt;br /&gt;       String choice = displayChoices();&lt;br /&gt;       while (choice.equals("1") || choice.equals("2") || choice.equals("ALL")) {&lt;br /&gt;           parseChoice(choice);&lt;br /&gt;           if (choice.equals("ALL")) {&lt;br /&gt;               break;&lt;br /&gt;           }&lt;br /&gt;           choice = displayChoices();&lt;br /&gt;       }&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   public static void parseChoice(String choice) throws IOException {&lt;br /&gt;       if (choice.equals("1")) {&lt;br /&gt;           doAssignment2();&lt;br /&gt;       } else if (choice.equals("2")) {&lt;br /&gt;           doAssignment3();&lt;br /&gt;       } else if (choice.equals("ALL")) {&lt;br /&gt;           doAssignment2();&lt;br /&gt;           doAssignment3();&lt;br /&gt;       }&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   public static String displayChoices() {&lt;br /&gt;       System.out.println(header);&lt;br /&gt;       System.out.println("Enter 1 to parse " + InputReader.INPUT_FILE&lt;br /&gt;               + " and print numbers sorted ascending.");&lt;br /&gt;       System.out.println("Enter 2 to parse " + InputReader.INPUT_FILE&lt;br /&gt;               + " and print numbers sorted ascending.");&lt;br /&gt;       System.out.println("Enter any other characters to quit.");&lt;br /&gt;       System.out.println(header);&lt;br /&gt;       Console console = System.console();&lt;br /&gt;       if (console == null) {&lt;br /&gt;           return "ALL";&lt;br /&gt;       } else {&lt;br /&gt;           String line = console.readLine();&lt;br /&gt;           line = line.trim();&lt;br /&gt;           return line;&lt;br /&gt;       }&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   public static void doAssignment2() throws IOException {&lt;br /&gt;       Assignment4 assignment4 = new Assignment4();&lt;br /&gt;       FileInputStream is = new FileInputStream(new File(&lt;br /&gt;               InputReader.INPUT_FILE));&lt;br /&gt;       System.out.println(assignment4.readFile(is));&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   public static void doAssignment3() throws IOException {&lt;br /&gt;       Assignment5 assignment5 = new Assignment5();&lt;br /&gt;       FileInputStream is = new FileInputStream(new File(&lt;br /&gt;               InputReader.INPUT_FILE));&lt;br /&gt;       FileOutputStream os = new FileOutputStream(new File(&lt;br /&gt;               InputReader.OUTPUT_FILE));&lt;br /&gt;       String output = assignment5.readFile(is);&lt;br /&gt;       System.out.println(output);&lt;br /&gt;       os.write(output.getBytes());&lt;br /&gt;       os.flush();&lt;br /&gt;       os.close();&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;It is a bit confusing that I named the method's doAssignment2 and doAssignment3 but use Assignment4 and Assignment5 objects. I should have named these assignment classes better. Again it was a small programming assignment, and an easy refactor. Overall, I do think I did a decent job with this assignment and benefitted from the effort.&lt;br /&gt;&lt;br /&gt;I created a handy batch file to execute the code called tynt.bat which does this:&lt;br /&gt;&lt;blockquote&gt;java -cp target\program_assignment-1.0-SNAPSHOT.jar com.tynt.app.App&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-1405933260528073182?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/1405933260528073182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=1405933260528073182' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1405933260528073182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1405933260528073182'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/09/tynt-programming-assignment-part-5.html' title='Tynt programming assignment (Part 5)'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-1221738997925447770</id><published>2010-09-13T11:49:00.000-07:00</published><updated>2010-09-13T11:49:00.349-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Maven'/><title type='text'>Tynt programming assignment (Part 4)</title><content type='html'>Finally, here is where I have to implement the sorting algorithm and collection. I created a List collection I called IntegerList:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;package com.tynt.app.util;&lt;br /&gt;&lt;br /&gt;public class IntegerList {&lt;br /&gt; public static final int BUFFER_SIZE = 100;&lt;br /&gt; private Integer[] internalArray;&lt;br /&gt; private int size;&lt;br /&gt; &lt;br /&gt; public IntegerList() {&lt;br /&gt;  internalArray = new Integer[BUFFER_SIZE];&lt;br /&gt;  size = 0;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public IntegerList(int size) {&lt;br /&gt;  if (size &amp;lt; 0) {&lt;br /&gt;   throw new RuntimeException("Cannot create IntegerList with negative size");&lt;br /&gt;  }&lt;br /&gt;  internalArray = new Integer[size];&lt;br /&gt;  size = 0;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public int size() {&lt;br /&gt;  return size;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public void put(int index, Integer value) {&lt;br /&gt;  if (index &gt; -1 &amp;&amp; index &amp;lt; size) {&lt;br /&gt;   internalArray[index] = value;&lt;br /&gt;  } else {&lt;br /&gt;   throw new RuntimeException("Cannot put value "+value+" at index "+index+" IntegerList has size "+size);&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public void concatenate(Integer value) {&lt;br /&gt;  if (value == null) {&lt;br /&gt;   throw new RuntimeException("Cannot concatenate null values");&lt;br /&gt;  }&lt;br /&gt;  if (size + 1 == internalArray.length) {&lt;br /&gt;   Integer[] temp = new Integer[internalArray.length + BUFFER_SIZE];&lt;br /&gt;   System.arraycopy(internalArray, 0, temp, 0,&lt;br /&gt;     internalArray.length);&lt;br /&gt;   internalArray = temp;&lt;br /&gt;  }&lt;br /&gt;  internalArray[size++] = value;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public void concatenate(IntegerList values) {&lt;br /&gt;  for (int i = 0 ; i &amp;lt; values.size(); i++) {&lt;br /&gt;   concatenate(values.get(i));&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public Integer get(int index) {&lt;br /&gt;  if (index &gt; -1 &amp;&amp; index &amp;lt; size) {&lt;br /&gt;   return internalArray[index];&lt;br /&gt;  } else {&lt;br /&gt;   throw new RuntimeException("Cannot access value at "+index+" in IntegerList size "+size);&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public Integer remove(int index) {&lt;br /&gt;  if (index &gt; -1 &amp;&amp; index &amp;lt; size) {&lt;br /&gt;   Integer result = get(index);&lt;br /&gt;   IntegerList integerList = new IntegerList();&lt;br /&gt;   for(int i = 0; i &amp;lt; size; i++) {&lt;br /&gt;    if (i != index) {&lt;br /&gt;     integerList.concatenate(get(i));&lt;br /&gt;    }&lt;br /&gt;   }&lt;br /&gt;   internalArray = integerList.internalArray;&lt;br /&gt;   size = size - 1;&lt;br /&gt;   return result;&lt;br /&gt;  } else {&lt;br /&gt;   throw new RuntimeException("Cannot access value at "+index+" in IntegerList size "+size);&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public static IntegerList quicksort(IntegerList unsorted) {&lt;br /&gt;      IntegerList less = new IntegerList();&lt;br /&gt;      IntegerList greater = new IntegerList();&lt;br /&gt;      if (unsorted.size() &amp;lt;= 1) {&lt;br /&gt;          return unsorted;&lt;br /&gt;      }&lt;br /&gt;      Integer pivot = selectPivot(unsorted);&lt;br /&gt;      for(int i = 0; i &amp;lt; unsorted.size(); i++) {&lt;br /&gt;       Integer value = unsorted.get(i);&lt;br /&gt;       if (value &amp;lt;= pivot) {&lt;br /&gt;        less.concatenate(value);&lt;br /&gt;       } else {&lt;br /&gt;        greater.concatenate(value);&lt;br /&gt;       }&lt;br /&gt;      }&lt;br /&gt;      return concatenate(quicksort(less), pivot, quicksort(greater));&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public static Integer selectPivot(IntegerList unsorted) {&lt;br /&gt;  if (unsorted == null || unsorted.size() &amp;lt; 2) {&lt;br /&gt;   throw new RuntimeException("Cannot select pivot on empty or single element list");&lt;br /&gt;  }&lt;br /&gt;  int pivotIndex = unsorted.size() / 2;&lt;br /&gt;  return unsorted.remove(pivotIndex);&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public static IntegerList concatenate(IntegerList less, Integer pivot, IntegerList greater) {&lt;br /&gt;  if (less == null | pivot == null || greater == null) {&lt;br /&gt;   throw new RuntimeException("Cannot concatenate null values");&lt;br /&gt;  }&lt;br /&gt;  IntegerList finalList = new IntegerList(less.size()+1+greater.size());&lt;br /&gt;  finalList.concatenate(less);&lt;br /&gt;  finalList.concatenate(pivot);&lt;br /&gt;  finalList.concatenate(greater);&lt;br /&gt;  return finalList;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;IntegerList implements a quicksort method which returns the IntegerList as a sorted IntegerList. My implementation of quicksort has several drawbacks:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;I create additional collections (less,greater,etc...)  for each invocation of quicksort and concatenate, so lots of memory could be used up with a long list to sort. It would be less memory to sort the list in-place without recursion/extra collections.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Speaking of recursion, too much recursion could cause a stack overflow as well.&lt;/li&gt;&lt;/ul&gt;With IntegerList implemented, I can use it to implement Assignment4:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;package com.tynt.app;&lt;br /&gt;&lt;br /&gt;import java.io.BufferedReader;&lt;br /&gt;import java.io.IOException;&lt;br /&gt;import java.io.InputStream;&lt;br /&gt;import java.io.InputStreamReader;&lt;br /&gt;&lt;br /&gt;import com.tynt.app.util.*;&lt;br /&gt;&lt;br /&gt;public class Assignment4 implements InputReader {&lt;br /&gt;&lt;br /&gt;  public String readFile(InputStream is) {&lt;br /&gt;      BufferedReader d = new BufferedReader(new InputStreamReader(is));&lt;br /&gt;      String line;&lt;br /&gt;      IntegerList unsortedList = new IntegerList();&lt;br /&gt;      try {&lt;br /&gt;          line = d.readLine();&lt;br /&gt;          while (line != null) {&lt;br /&gt;              Integer value = null;&lt;br /&gt;              try {&lt;br /&gt;                  value = new Integer(Integer.parseInt(line));&lt;br /&gt;              } catch (NumberFormatException e) {&lt;br /&gt;                  throw new RuntimeException(e);&lt;br /&gt;              }&lt;br /&gt;              unsortedList.concatenate(value);&lt;br /&gt;              line = d.readLine();&lt;br /&gt;          }&lt;br /&gt;      } catch (IOException e) {&lt;br /&gt;          throw new RuntimeException(e);&lt;br /&gt;      }&lt;br /&gt;      StringBuilder sb = new StringBuilder();&lt;br /&gt;      IntegerList sortedList = IntegerList.quicksort(unsortedList);&lt;br /&gt;      if (sortedList == null) {&lt;br /&gt;          sortedList = new IntegerList();&lt;br /&gt;      }&lt;br /&gt;      for (int i=0;i &amp;lt; sortedList.size();i++) {&lt;br /&gt;          sb.append(sortedList.get(i));&lt;br /&gt;          sb.append(NEW_LINE);&lt;br /&gt;      }&lt;br /&gt;      return sb.toString();&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;Still need to implement the Hash collection and driver.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-1221738997925447770?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/1221738997925447770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=1221738997925447770' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1221738997925447770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1221738997925447770'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/09/tynt-programming-assignment-part-4.html' title='Tynt programming assignment (Part 4)'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-1237126395373438731</id><published>2010-09-12T11:21:00.000-07:00</published><updated>2010-09-12T11:21:00.931-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Maven'/><title type='text'>Tynt programming assignment (Part 3)</title><content type='html'>I glossed over creating the Assignment1-5 java files in the last post, this was done by first right clicking in eclipse and creating a package under this folder:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;src\main\java\com\tynt\app&lt;/span&gt;&lt;br /&gt;called&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;com.tynt.app&lt;/span&gt;&lt;br /&gt;Then right clicking the empty package and creating new Class (Assignment1) adding the InputReader interface to the class and stubbing out the interface method:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;public String readFile(InputStream is) {&lt;br /&gt;    return null;&lt;br /&gt;}&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;Just so you know.&lt;br /&gt;&lt;br /&gt;For Assignment1 I just wanted to get the code for reading and creating a string from the input stream working:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;package com.tynt.app;&lt;br /&gt;&lt;br /&gt;import java.io.*;&lt;br /&gt;&lt;br /&gt;import com.tynt.app.util.InputReader;&lt;br /&gt;&lt;br /&gt;public class Assignment1 implements InputReader {&lt;br /&gt;&lt;br /&gt;   /**&lt;br /&gt;    * @return contents of the InputStream as a String&lt;br /&gt;    */&lt;br /&gt;   public String readFile(InputStream is) {&lt;br /&gt;       BufferedReader d = new BufferedReader(new InputStreamReader(is));&lt;br /&gt;       String line;&lt;br /&gt;       StringBuilder sb = new StringBuilder();&lt;br /&gt;       try {&lt;br /&gt;           line = d.readLine();&lt;br /&gt;           while (line != null) {&lt;br /&gt;               sb.append(line);&lt;br /&gt;               sb.append(NEW_LINE);&lt;br /&gt;               line = d.readLine();&lt;br /&gt;           }&lt;br /&gt;       } catch (IOException e) {&lt;br /&gt;           throw new RuntimeException(e);&lt;br /&gt;       }&lt;br /&gt;       return sb.toString();&lt;br /&gt;   }&lt;br /&gt;}&lt;/pre&gt;&lt;/blockquote&gt;For Assignment2 I decided to use the built-in Java collections classes to test what the output of my custom collection should look like:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;package com.tynt.app;&lt;br /&gt;&lt;br /&gt;import java.io.*;&lt;br /&gt;import java.util.*;&lt;br /&gt;&lt;br /&gt;import com.tynt.app.util.InputReader;&lt;br /&gt;&lt;br /&gt;public class Assignment2 implements InputReader {&lt;br /&gt;&lt;br /&gt;   /**&lt;br /&gt;    * @return is list of numbers sorted in ascending order&lt;br /&gt;    */&lt;br /&gt;   public String readFile(InputStream is) {&lt;br /&gt;       BufferedReader d = new BufferedReader(new InputStreamReader(is));&lt;br /&gt;       String line;&lt;br /&gt;       SortedSet&lt;integer&gt; sortedList = Collections.synchronizedSortedSet(new TreeSet&lt;integer&gt;());&lt;br /&gt;       try {&lt;br /&gt;           line = d.readLine();&lt;br /&gt;           while (line != null) {&lt;br /&gt;               Integer value = null;&lt;br /&gt;               try {&lt;br /&gt;                   value = new Integer(Integer.parseInt(line));&lt;br /&gt;               } catch (NumberFormatException e) {&lt;br /&gt;                   throw new RuntimeException(e);&lt;br /&gt;               }&lt;br /&gt;               sortedList.add(value);&lt;br /&gt;               line = d.readLine();&lt;br /&gt;           }&lt;br /&gt;       } catch (IOException e) {&lt;br /&gt;           throw new RuntimeException(e);&lt;br /&gt;       }&lt;br /&gt;       StringBuilder sb = new StringBuilder();&lt;br /&gt;       for(Integer i: sortedList) {&lt;br /&gt;           sb.append(i);&lt;br /&gt;           sb.append(NEW_LINE);&lt;br /&gt;       }&lt;br /&gt;       return sb.toString();&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/integer&gt;&lt;/integer&gt;&lt;/pre&gt;&lt;/blockquote&gt;Again with Assignment3, I used built-in collections to check what the output should be for the histogram:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;package com.tynt.app;&lt;br /&gt;&lt;br /&gt;import java.io.BufferedReader;&lt;br /&gt;import java.io.IOException;&lt;br /&gt;import java.io.InputStream;&lt;br /&gt;import java.io.InputStreamReader;&lt;br /&gt;import java.util.*;&lt;br /&gt;&lt;br /&gt;import com.tynt.app.util.InputReader;&lt;br /&gt;&lt;br /&gt;public class Assignment3 implements InputReader {&lt;br /&gt;&lt;br /&gt;   /**&lt;br /&gt;    * @return sorted list of numbers and their frequency&lt;br /&gt;    */&lt;br /&gt;   public String readFile(InputStream is) {&lt;br /&gt;       BufferedReader d = new BufferedReader(new InputStreamReader(is));&lt;br /&gt;       String line;&lt;br /&gt;       SortedMap&lt;integer,integer&gt; sortedMap = Collections.synchronizedSortedMap(new TreeMap&lt;integer,integer&gt;());&lt;br /&gt;       try {&lt;br /&gt;           line = d.readLine();&lt;br /&gt;           while (line != null) {&lt;br /&gt;               Integer value = null;&lt;br /&gt;               try {&lt;br /&gt;                   value = new Integer(Integer.parseInt(line));&lt;br /&gt;               } catch (NumberFormatException e) {&lt;br /&gt;                   throw new RuntimeException(e);&lt;br /&gt;               }&lt;br /&gt;               Integer frequency = 1;&lt;br /&gt;               if (sortedMap.containsKey(value)) {&lt;br /&gt;                   frequency = sortedMap.get(value);&lt;br /&gt;                   frequency += 1;&lt;br /&gt;               }&lt;br /&gt;               sortedMap.put(value, frequency);&lt;br /&gt;               line = d.readLine();&lt;br /&gt;           }&lt;br /&gt;       } catch (IOException e) {&lt;br /&gt;           throw new RuntimeException(e);&lt;br /&gt;       }&lt;br /&gt;       StringBuilder sb = new StringBuilder();&lt;br /&gt;       for(Integer key: sortedMap.keySet()) {&lt;br /&gt;           Integer frequency = sortedMap.get(key);&lt;br /&gt;           sb.append(key);&lt;br /&gt;           sb.append(" - ");&lt;br /&gt;           sb.append(frequency);&lt;br /&gt;           sb.append(NEW_LINE);&lt;br /&gt;       }&lt;br /&gt;       return sb.toString();&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/integer,integer&gt;&lt;/integer,integer&gt;&lt;/pre&gt;&lt;/blockquote&gt;Assignment4 and Assignment5 actually adhered to the restriction of no built-in collections.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-1237126395373438731?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/1237126395373438731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=1237126395373438731' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1237126395373438731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1237126395373438731'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/09/tynt-programming-assignment-part-3.html' title='Tynt programming assignment (Part 3)'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-4941685417616802373</id><published>2010-09-11T11:05:00.000-07:00</published><updated>2010-09-11T11:05:00.741-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Maven'/><title type='text'>Tynt programming assignment (Part 2)</title><content type='html'>Next I generated an eclipse project file for the maven project with this command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;mvn eclipse:eclipse&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I opened the projet in eclipse. For the Junit tests I created some test input files here:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;src\test\resources\TestData.txt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;src\test\resources\BadInput.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I then created the unit test java file here:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;src\test\java\com\tynt\app\AppTest.java&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here is the source for my unit test:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;package com.tynt.app;&lt;br /&gt;import junit.framework.Test;&lt;br /&gt;import junit.framework.TestCase;&lt;br /&gt;import junit.framework.TestSuite;&lt;br /&gt;import java.io.*;&lt;br /&gt;import java.util.*;&lt;br /&gt;&lt;br /&gt;import com.tynt.app.util.*;&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt;* Unit test for simple App.&lt;br /&gt;*/&lt;br /&gt;public class AppTest&lt;br /&gt;extends TestCase&lt;br /&gt;{&lt;br /&gt;/**&lt;br /&gt; * Create the test case&lt;br /&gt; *&lt;br /&gt; * @param testName name of the test case&lt;br /&gt; */&lt;br /&gt;public AppTest( String testName )&lt;br /&gt;{&lt;br /&gt;    super( testName );&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt; * @return the suite of tests being tested&lt;br /&gt; */&lt;br /&gt;public static Test suite()&lt;br /&gt;{&lt;br /&gt;    return new TestSuite( AppTest.class );&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt; * Test each assignment with input files&lt;br /&gt; */&lt;br /&gt;public void testApp()&lt;br /&gt;{&lt;br /&gt;    List&lt;inputreader&gt; readers = new ArrayList&lt;inputreader&gt;();&lt;br /&gt;    Assignment1 assignment1 = new Assignment1();&lt;br /&gt;    Assignment2 assignment2 = new Assignment2();&lt;br /&gt;    Assignment3 assignment3 = new Assignment3();&lt;br /&gt;    Assignment4 assignment4 = new Assignment4();&lt;br /&gt;    Assignment5 assignment5 = new Assignment5();&lt;br /&gt;    readers.add(assignment1);&lt;br /&gt;    readers.add(assignment2);&lt;br /&gt;    readers.add(assignment3);&lt;br /&gt;    readers.add(assignment4);&lt;br /&gt;    readers.add(assignment5);&lt;br /&gt;    readerTest(readers,"TestData.txt");   &lt;br /&gt;    try {&lt;br /&gt;        readerTest(readers,"BadInput.txt");&lt;br /&gt;        fail("Bad input should throw RuntimeException");&lt;br /&gt;    } catch (RuntimeException e) {&lt;br /&gt;        assertTrue(true);&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public void readerTest(List&lt;inputreader&gt; readers, String resource) {&lt;br /&gt;    for (InputReader inputReader : readers) {&lt;br /&gt;        InputStream is = getClass().getClassLoader().getResourceAsStream(resource);&lt;br /&gt;        String result = inputReader.readFile(is);&lt;br /&gt;        System.out.println(result);&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;}&lt;/inputreader&gt;&lt;/inputreader&gt;&lt;/inputreader&gt;&lt;/pre&gt;&lt;/blockquote&gt;I created an interface I called InputReader to help me test the different assignments against the same input files.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;package com.tynt.app.util;&lt;br /&gt;&lt;br /&gt;import java.io.*;&lt;br /&gt;&lt;br /&gt;public interface InputReader {&lt;br /&gt;&lt;br /&gt;public static final String INPUT_FILE = "THire_input.txt";&lt;br /&gt;public static final String OUTPUT_FILE = "THire_histogram.txt";&lt;br /&gt;public static final String NEW_LINE = System.getProperty("line.separator");&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt; * Reads the InputStream parameter and returns a string of the contents&lt;br /&gt; *&lt;br /&gt; * @param is&lt;br /&gt; *            InputStream to read from&lt;br /&gt; * @return String of the processed contents of InputStream&lt;br /&gt; */&lt;br /&gt;public String readFile(InputStream is);&lt;br /&gt;}&lt;/pre&gt;&lt;/blockquote&gt;I then stubbed out the Assignment1-5 java classes which implement the InputReader interface and ran the package goal for maven using a maven eclipse plugin to fix any typos and get a baseline for beginning implementation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-4941685417616802373?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/4941685417616802373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=4941685417616802373' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4941685417616802373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4941685417616802373'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/09/tynt-programming-assignment-part-2.html' title='Tynt programming assignment (Part 2)'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-1705419701394782955</id><published>2010-09-10T17:35:00.000-07:00</published><updated>2010-09-10T17:35:00.266-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Maven'/><title type='text'>Tynt programming assignment (Part 1)</title><content type='html'>I was a approached by a recruiter for a position at a company in Draper called Tynt.&lt;br /&gt;&lt;br /&gt;As part of the hiring process I was given this coding assignment.&lt;br /&gt;&lt;blockquote&gt;Coding Assignment #1&lt;br /&gt;Thank you for your interest in Tynt. As part of our recruitment process we ask candidates to complete a small programming assignment. The assignment is technically easy, but is intended to provide enough scope to allow you to demonstrate your knowledge of good programming practices. Assume that the code you are writing will reside in Tynt's main production codebase.&lt;br /&gt;Development Notes&lt;br /&gt;• There is no time limit to complete this exercise.&lt;br /&gt;• If there are errors in the example, state your assumptions and continue.&lt;br /&gt;• No user interface is required; the program will be run from the console and should&lt;br /&gt;require no command line parameters to execute normally&lt;br /&gt;• Assume that all files (input and output) will be found/created in the same directory as the program executes&lt;br /&gt;• As part of the exercise, you may choose to write unit tests appropriate for the task.&lt;br /&gt;• Use the development tools of your choice, but please write the software in Java.&lt;br /&gt;• You may not use any external libraries with the exception of standard I/O and possibly a unit testing framework.&lt;br /&gt;• You may not use any built-in data structures such as lists, vectors, queues etc. You&lt;br /&gt;must build your solution using basic types such as integers, strings and arrays.&lt;br /&gt;• You may not use any built-in sort or histogram functions.&lt;br /&gt;• Please submit all available aspects of your work (source, buildfiles, executables, test&lt;br /&gt;input/output etc)&lt;br /&gt;• Have Fun!&lt;br /&gt;====================================================================&lt;br /&gt;1) Read an ascii text file named "THire_input.txt" that contains a list of numbers with integer&lt;br /&gt;values, each number separated by a cr/lf&lt;br /&gt;Sample input (THire_input.txt)&lt;br /&gt;6&lt;br /&gt;54&lt;br /&gt;12&lt;br /&gt;22&lt;br /&gt;1&lt;br /&gt;6&lt;br /&gt;2) Sort the numbers in ascending order and write the results to an output file named&lt;br /&gt;"THire_Ascending.txt". Format the file in the same manner as the input file (cr/lf delimiters).&lt;br /&gt;Sample output (THire_Ascending.txt)&lt;br /&gt;1&lt;br /&gt;6&lt;br /&gt;6&lt;br /&gt;12&lt;br /&gt;22&lt;br /&gt;&lt;/blockquote&gt;I completed the assignment and submitted my solution but never heard from them, then the recruiter told me they went with someone else. Since I never had the opportunity to hear back from Tynt's hiring team, I decided to blog about my solution and solicit feedback on how I could do a better job.&lt;br /&gt;&lt;br /&gt;The assignment tied my hands by not allowing external libraries or built-in Java collections. This is done to make an otherwise simple programming assignment much more labor intensive and error prone in college CS classes. Java loses much of it's value as a programming language when you eliminate the vast libraries available. Ultimately, the code I ended up writing would not belong in an actual enterprise code base precisely because I was required to implement functionality that is provided by the language libraries. Typically you don't roll-your-own implementation of a collection unless you have a very specific need to do it, which this assignment lacks. There was no time limit to complete the exercise (a bit discouraging in that you would think Tynt would have an idea of when they needed to hire the candidate), but that didn't matter because I received five-ten nagging emails from the headhunter asking for status on my progress with it.&lt;br /&gt;&lt;br /&gt;On to the implementation, I decided that since this was to be considered code I would put in production, Junit tests were mandatory, as well as a build script. Maven is a fantastic build tool for Java development so I created a new project using Maven as follows:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;mvn archetype:create -DgroupId=com.tynt.app -DartifactId=program_assignment&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This generated the structure of the project. I edited the maven pom.xml file to add a Junit dependency as well as configure the maven-pmd-plugin, which will evaluate your source and report on potential bugs or bad source formatting. Here is my final pom:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&lt;br /&gt; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;&lt;br /&gt; &amp;lt;modelVersion&gt;4.0.0&amp;lt;/modelVersion&gt;&lt;br /&gt; &amp;lt;groupId&gt;com.tynt.app&amp;lt;/groupId&gt;&lt;br /&gt; &amp;lt;artifactId&gt;program_assignment&amp;lt;/artifactId&gt;&lt;br /&gt; &amp;lt;packaging&gt;jar&amp;lt;/packaging&gt;&lt;br /&gt; &amp;lt;version&gt;1.0-SNAPSHOT&amp;lt;/version&gt;&lt;br /&gt; &amp;lt;name&gt;program_assignment&amp;lt;/name&gt;&lt;br /&gt; &amp;lt;description&gt;FourGablesGuy's implementation of programming assignment for Tynt. Reading and parsing text files for numbers.&amp;lt;/description&gt;&lt;br /&gt; &amp;lt;url&gt;http://maven.apache.org&amp;lt;/url&gt;&lt;br /&gt; &amp;lt;build&gt;&lt;br /&gt;  &amp;lt;plugins&gt;&lt;br /&gt;   &amp;lt;plugin&gt;&lt;br /&gt;    &amp;lt;groupId&gt;org.apache.maven.plugins&amp;lt;/groupId&gt;&lt;br /&gt;    &amp;lt;artifactId&gt;maven-compiler-plugin&amp;lt;/artifactId&gt;&lt;br /&gt;    &amp;lt;version&gt;2.3.1&amp;lt;/version&gt;&lt;br /&gt;    &amp;lt;configuration&gt;&lt;br /&gt;     &amp;lt;compilerVersion&gt;1.5&amp;lt;/compilerVersion&gt;&lt;br /&gt;    &amp;lt;/configuration&gt;&lt;br /&gt;   &amp;lt;/plugin&gt;&lt;br /&gt;   &amp;lt;plugin&gt;&lt;br /&gt;    &amp;lt;groupId&gt;org.apache.maven.plugins&amp;lt;/groupId&gt;&lt;br /&gt;    &amp;lt;artifactId&gt;maven-pmd-plugin&amp;lt;/artifactId&gt;&lt;br /&gt;    &amp;lt;version&gt;2.5&amp;lt;/version&gt;&lt;br /&gt;    &amp;lt;executions&gt;&lt;br /&gt;     &amp;lt;execution&gt;&lt;br /&gt;      &amp;lt;id&gt;pmd_check&amp;lt;/id&gt;&lt;br /&gt;      &amp;lt;phase&gt;package&amp;lt;/phase&gt;&lt;br /&gt;      &amp;lt;goals&gt;&lt;br /&gt;       &amp;lt;goal&gt;pmd&amp;lt;/goal&gt;&lt;br /&gt;      &amp;lt;/goals&gt;&lt;br /&gt;     &amp;lt;/execution&gt;&lt;br /&gt;    &amp;lt;/executions&gt;&lt;br /&gt;    &amp;lt;configuration&gt;&lt;br /&gt;     &amp;lt;sourceEncoding&gt;UTF-8&amp;lt;/sourceEncoding&gt;&lt;br /&gt;     &amp;lt;outputEncoding&gt;UTF-8&amp;lt;/outputEncoding&gt;&lt;br /&gt;     &amp;lt;targetJdk&gt;1.5&amp;lt;/targetJdk&gt;&lt;br /&gt;    &amp;lt;/configuration&gt;&lt;br /&gt;   &amp;lt;/plugin&gt;&lt;br /&gt;   &amp;lt;plugin&gt;&lt;br /&gt;    &amp;lt;groupId&gt;org.apache.maven.plugins&amp;lt;/groupId&gt;&lt;br /&gt;    &amp;lt;artifactId&gt;maven-resources-plugin&amp;lt;/artifactId&gt;&lt;br /&gt;    &amp;lt;version&gt;2.4.3&amp;lt;/version&gt;&lt;br /&gt;    &amp;lt;configuration&gt;&lt;br /&gt;     &amp;lt;encoding&gt;UTF-8&amp;lt;/encoding&gt;&lt;br /&gt;    &amp;lt;/configuration&gt;&lt;br /&gt;   &amp;lt;/plugin&gt;&lt;br /&gt;  &amp;lt;/plugins&gt;&lt;br /&gt; &amp;lt;/build&gt;&lt;br /&gt; &amp;lt;dependencies&gt;&lt;br /&gt;  &amp;lt;dependency&gt;&lt;br /&gt;   &amp;lt;groupId&gt;junit&amp;lt;/groupId&gt;&lt;br /&gt;   &amp;lt;artifactId&gt;junit&amp;lt;/artifactId&gt;&lt;br /&gt;   &amp;lt;version&gt;3.8.1&amp;lt;/version&gt;&lt;br /&gt;   &amp;lt;scope&gt;test&amp;lt;/scope&gt;&lt;br /&gt;  &amp;lt;/dependency&gt;&lt;br /&gt; &amp;lt;/dependencies&gt;&lt;br /&gt;&amp;lt;/project&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;To build/update the artifact Jar, you simply run:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;mvn package&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;which will compile source files, run any unit tests, and package the final code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-1705419701394782955?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/1705419701394782955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=1705419701394782955' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1705419701394782955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1705419701394782955'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/09/tynt-programming-assignment-part-1.html' title='Tynt programming assignment (Part 1)'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-2360822007851662723</id><published>2010-09-09T19:44:00.000-07:00</published><updated>2010-09-09T19:44:00.682-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='atg'/><title type='text'>startSQLRepository can fail to mark ATG Content Administration projects as deployed</title><content type='html'>&lt;p&gt;Maybe this will help someone dealing with issues in ATG Service 2006.3.2 or ATG Service 2007.1&lt;br /&gt;&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;Symptom:&lt;/p&gt;&lt;p&gt;The symptom is that a solution is reporting it is not visible in ATG SelfService.You search for the solution but cannot view it and get a message that it is not visible for the current user.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Also, if  you look up the solution in dynamo administrator for the j2ee instance running SelfService, it will be missing the &lt;span style="font-style: italic;"&gt;status&lt;/span&gt; property.&lt;/p&gt;&lt;p&gt;This is an indication that the solution is not marked as deployed in the SolutionSolutionStatus Item Descriptor of the ServiceSharedRepository.&lt;/p&gt;&lt;p&gt;The solution can have audience Everyone-External set, in both Knowledge and SelfService which can make the error a head scratcher.&lt;/p&gt;&lt;p&gt;One way to check this is by connecting to dynamo admin for SelfService and in the /atg/svc/shared/ServiceSharedRepository execute &lt;/p&gt;&lt;p style="font-family: courier new;"&gt;&lt;query-items descriptor="SolutionSolutionStatus"&gt;solutionId = "&lt;span style="font-style: italic;"&gt;soln_id&lt;/span&gt;" AND deployed = true&lt;/query-items&gt; &lt;/p&gt;&lt;p&gt;If you do not get any rows back, then you probably have this problem, unless you just have not invalidated the caches. &lt;/p&gt;&lt;p style="font-weight: bold;"&gt;Resolution: &lt;/p&gt;&lt;p&gt;connect to the shared schema with a database tool&lt;br /&gt;&lt;/p&gt;&lt;p style="font-family: courier new;"&gt;update svc_soln_sstatus &lt;/p&gt;&lt;p style="font-family: courier new;"&gt;set deployed = 0&lt;/p&gt;&lt;p style="font-family: courier new;"&gt;where soln_id = '&lt;span style="font-style: italic;"&gt;soln_id&lt;/span&gt;' and&lt;/p&gt;&lt;p style="font-family: courier new;"&gt;soln_version = &lt;span style="font-style: italic;"&gt;version&lt;/span&gt;&lt;/p&gt;&lt;p&gt;where &lt;span style="font-style: italic;"&gt;soln_id&lt;/span&gt; is the solution having the issue.  &lt;/p&gt;&lt;p&gt;and &lt;span style="font-style: italic;"&gt;version&lt;/span&gt; is the number of the version of the solution that should have been marked as deployed. To find it checked the &lt;span style="font-weight: bold;"&gt;last_modify_date&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;status_id&lt;/span&gt; columns of the rows returned from the query:&lt;/p&gt;&lt;p style="font-family: courier new;"&gt;select * from svc_soln_sstatus where&lt;/p&gt;&lt;p style="font-family: courier new;"&gt;soln_id = '&lt;span style="font-style: italic;"&gt;soln_id&lt;/span&gt;' &lt;/p&gt;&lt;p&gt;Make sure to commit the update. And clear the repository caches before rechecking.&lt;br /&gt;&lt;/p&gt;Really the two ways you will get the message that a solution is not visible are:&lt;p&gt;1 the audience property is empty or only contains audiences that the current SelfService user is not a member of.&lt;/p&gt;&lt;p&gt;2 the solution is not marked as deployed in the ServiceSharedRepository SolutionSolutionStatus deployed = 1&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;Cause:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;I suspect bulk importing solutions in with repository XML using startSQLRepository can leave solutions in this state where they are deployed but their status property was not set as deployed. Also messing around with ATG Service data using straight SQL on the database is a dangerous game that can burn you in countless ways.&lt;br /&gt;&lt;/p&gt;&lt;p style="font-style: italic;"&gt;&lt;span style="font-size:78%;"&gt;Disclaimer&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-style: italic;"&gt;I do not accept liability for the consequences of any actions taken on the basis          of the information provided by this blog. &lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-2360822007851662723?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/2360822007851662723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=2360822007851662723' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2360822007851662723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2360822007851662723'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/09/startsqlrepository-can-fail-to-mark-atg.html' title='startSQLRepository can fail to mark ATG Content Administration projects as deployed'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-6571822836228202336</id><published>2010-08-26T20:11:00.000-07:00</published><updated>2010-08-26T20:11:00.168-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='development'/><title type='text'>The two big questions</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JIARIxN7KMo/THcYNTHfSrI/AAAAAAAAALQ/D9rTGarMy60/s1600/photo_18290_20100630.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 214px;" src="http://2.bp.blogspot.com/_JIARIxN7KMo/THcYNTHfSrI/AAAAAAAAALQ/D9rTGarMy60/s320/photo_18290_20100630.jpg" alt="" id="BLOGGER_PHOTO_ID_5509899285860141746" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="jive-rendered-content"&gt;&lt;p style="text-align: center;"&gt;&lt;a href="http://communities.knowlysis.com/servlet/JiveServlet/showImage/38-1174-1080/photo_8720_20091014.jpg"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="text-align: center;"&gt;&lt;span style="font-size:78%;"&gt;&lt;a class="jive-link-external-small" href="http://www.freedigitalphotos.net/images/view_photog.php?photogid=851"&gt;Image: Danilo Rizzuti / FreeDigitalPhotos.net&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="padding: 0px; min-height: 8pt; height: 8pt;"&gt; &lt;/p&gt;&lt;p&gt;There are two questions that should be asked of each &lt;strong&gt;developer&lt;/strong&gt; involved before a new software product is launched to clients:&lt;/p&gt;&lt;p style="padding: 0px; min-height: 8pt; height: 8pt;"&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Are you proud of the product you created?&lt;/li&gt;&lt;li&gt;Would you enjoy using it and/or recommend that your family/friends use it?&lt;/li&gt;&lt;/ul&gt;&lt;p style="padding: 0px; min-height: 8pt; height: 8pt;"&gt; &lt;/p&gt;&lt;p&gt;Asking yourself these two questions while developing and testing the product will change how you program and benefit the project immensely. Why? You must write good code to be proud of it. You will be motivated to do it right the first time. You will think about how your code impacts your reputation as a developer. Also, you must know how you and others would use the product to answer YES to the second question. The best written code won't help anyone if it is for a useless feature. The best written code won't matter if the whole thing becomes painfully slow to use. If their are reasons you don't enjoy the product and love it, then those should be called out sooner rather than later. Answering these questions honestly will reveal problems that testing didn't catch because nobody knows the product better than the developers. If you answer NO, then you should have some specific reasons why. Those reasons for the NO should often become the priority one (P1) issues to fix.&lt;/p&gt;&lt;p&gt; So often, right before a project is to release, only the testers and the managers decide if something should go live. The attitude is almost like, "Thank you Mr. Developer for your work, now we'll take it from here." A few developers will secretly cringe in horror (or internally panic) when it is decided to launch. They have been feverishly working on P1 bugs from the QA team while other severe problems in the product remain unaddressed or untested. Often QA's P1 bugs are, in the developer's opinion, the P5 bugs. Also, there sometimes is this feeling of an adversarial relationship between testing resources and developers as bugs found create more work for developers and bugs missed reflect poorly on the testers. By involving developers in the go-live decision, they are automatically held more accountible for problems in the live code, after all, it got their stamp of approval along with testing and management.&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/4159420781944033879-6571822836228202336?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/6571822836228202336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=6571822836228202336' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6571822836228202336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6571822836228202336'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/08/two-big-questions.html' title='The two big questions'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JIARIxN7KMo/THcYNTHfSrI/AAAAAAAAALQ/D9rTGarMy60/s72-c/photo_18290_20100630.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-1262466990719592379</id><published>2010-08-26T18:54:00.000-07:00</published><updated>2010-08-27T11:00:24.825-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><title type='text'>PureText</title><content type='html'>&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;Formatted text in the clipboard can be very annoying to paste into rich-text-aware destination applications. Here's a scenario I see a lot, you ctrl+c some information from a Microsoft Word document, your clipboard has all that information as well as formatting information, junk like this is sitting in the clipboard:&lt;/span&gt;&lt;/span&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code"&gt;&amp;lt;p class="MsoNormal" style="margin: 0cm 0cm 0pt;"&gt;&amp;lt;span  lang="DE" &gt;&amp;lt;o:p&gt;&amp;lt;span &gt; &amp;lt;/span&gt;&amp;lt;/o:p&gt;&amp;lt;/span&gt;&amp;lt;/p&gt;&lt;/code&gt;&lt;/pre&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;&lt;br /&gt;You then open your Microsoft Exchange email client and paste in the text and yuck, the font has changed to &lt;span style="font-family:'Comic Sans MS',arial,helvetica,sans-serif;font-size:180%;"&gt;comic sans&lt;/span&gt;&lt;span style="font-size:180%;"&gt; at 44 point size in bright &lt;/span&gt;&lt;span style="color: rgb(51, 255, 51);font-size:180%;" &gt;Green&lt;/span&gt;&lt;span style="font-size:180%;"&gt;.&lt;/span&gt; You just wanted the text to paste in, but you got a lot more.&lt;br /&gt;&lt;br /&gt;The quick and dirty solution is to open a plain text editor and paste the text there, then replace the clipboard with a ctrl+c from the plain text editor.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;Ctrl+c the formatted text&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;Open notepad&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;Ctrl+v, the formatting is gone&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;Ctrl+a, to select all unformatted text&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;Ctrl+c, replace the clipboard with unformatted text&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;Alt+Tab,Tab,Tab to get the target Application window&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span style=""&gt;Ctrl+v, paste in unformatted text into the target application&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;Microsoft has provided a quick menu when pasting text that you can use to remove formatting, eliminating some of the annoyance but that only helps when you use their software. If you aren't able to eliminate the formatting, you could be left with having to manually re-style the pasted text, which is painfully time-consuming and frustratingly unnecessary busy work.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span style=""&gt;&lt;a href="http://www.stevemiller.net/puretext/"&gt;PureText &lt;/a&gt;can help out here, it essentially performs the steps to remove formatting for you each time you press ctrl+v. So to paste plain text copied from a richly formatted source with &lt;a href="http://www.stevemiller.net/puretext/"&gt;PureText &lt;/a&gt;installed you simple do this:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;Highlight the text to copy&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;Ctrl+c, &lt;span style="font-style: italic;"&gt;clipboard has the formatted text&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;Switch to the target application&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;Ctrl+v, &lt;span style="font-style: italic;"&gt;glorious unformatted plain text is magically pasted in&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;&lt;span style="font-size:100%;"&gt;The program can be mapped to a different keyboard shortcut from ctrl+v in case you want to sometimes preserve the formatting of copied text. In that situation ctrl+v works as usual, ctrl+p (or whatever key press you decide to use) will paste in the plain text.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;A tool like this would be an excellent productivity enhancer for anyone who is authoring with browser WYSIWYG text editors like &lt;a href="http://tinymce.moxiecode.com/"&gt;TinyMCE&lt;/a&gt;, and having to cut and paste between other sources. These in-browser editors are have some rich text functionality, but usually just enough to cause problems when pasting and you end up putting a lot of junk like special font settings and “Microsoft specific characters” into your application database by using ctrl+c, ctrl+v without it. This invisible styling then rears it's ugly head when you try to present the material in a browser, you get lots of square boxes in contractions or hyphenations as well as mysterious font changes as the styling interacts in unpredictable ways with the HTML page styles and CSS.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-1262466990719592379?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/1262466990719592379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=1262466990719592379' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1262466990719592379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1262466990719592379'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/08/puretext.html' title='PureText'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-180783816395867633</id><published>2010-08-21T12:15:00.000-07:00</published><updated>2010-08-21T12:23:44.062-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='resume'/><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><category scheme='http://www.blogger.com/atom/ns#' term='career'/><title type='text'>Keeping your resume fresh</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JIARIxN7KMo/THAmUXyqi6I/AAAAAAAAALA/67zBPito28g/s1600/photo_8850_20091019.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 213px; height: 320px;" src="http://2.bp.blogspot.com/_JIARIxN7KMo/THAmUXyqi6I/AAAAAAAAALA/67zBPito28g/s320/photo_8850_20091019.jpg" alt="" id="BLOGGER_PHOTO_ID_5507944475699874722" border="0" /&gt;&lt;/a&gt;&lt;p style="text-align: center;"&gt;&lt;span style="font-size:78%;"&gt;Image: &lt;a class="jive-link-external-small" href="http://www.freedigitalphotos.net/images/view_photog.php?photogid=178"&gt;Image: Tom Curtis / FreeDigitalPhotos.net&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Your resume and portfolio is a marketing tool for you. Keep it fresh with your latest victories. It does not look good for a resume to only have three year old accomplishments (it's akin to a neglected castle). It is a shame when the best candidates for an opportunity are overlooked because of a stale resume and a lesser-skilled but better &lt;em&gt;documented&lt;/em&gt; person will get the job instead. I have not been perfect at this, but I do keep a screenshot archive of web applications I was involved with. Each time a big project is completed or even when a big undertaking is conquered, I take that as a cue to update my resume with some important descriptive words about the project and what I did to help bring it home. I usually pick up a few new technologies with each project that also have helped fill out my documented developer skills.&lt;/p&gt;&lt;p&gt;Keeping it fresh is also a good idea because you never know when you will be asked to pack up and get out, US companies are loyal only to themselves and their shareholders and will layoff good employees at the first sign of trouble. Letting your resume go stale or failing to document your completed projects, new skills, and personal wins will impact your own professional success.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I also solicit feedback from managers and developers I work with and use the positive comments they make in my references section. I try to time my request for feedback such that I get a good positive note and the person can easily remember a specific positive thing to say about me. The manager or developer is usually are happy to do that for me, after all, I just helped them out.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-180783816395867633?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/180783816395867633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=180783816395867633' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/180783816395867633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/180783816395867633'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/08/keeping-your-resume-fresh.html' title='Keeping your resume fresh'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JIARIxN7KMo/THAmUXyqi6I/AAAAAAAAALA/67zBPito28g/s72-c/photo_8850_20091019.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-6070118869731863100</id><published>2010-08-21T12:12:00.000-07:00</published><updated>2010-08-21T12:13:47.036-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><title type='text'>You can't escape single quotes in SQL inserts with \</title><content type='html'>&lt;p&gt;To escape single quote marks in DB2 SQL inserts you cannot use the backslash character. This will NOT work:&lt;/p&gt;&lt;!--[CodeBlockStart:cca85257-977c-4db6-a490-5f9b3bd0221a]--&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-sql"&gt;&lt;span class="jive-sql-keyword"&gt;insert&lt;/span&gt; &lt;span class="jive-sql-keyword"&gt;into&lt;/span&gt; LCDDB_NCD_BNFT_CTGRY_REF (BNFT_CTGRY_CD,BNFT_CTGRY_DESC,BNFT_CTGRY_EFCTV_DT,BNFT_CTGRY_TRMNTN_DT)&lt;br /&gt;&lt;span class="jive-sql-keyword"&gt;values&lt;/span&gt; (52,'Physicians&lt;span style="font-weight: bold;"&gt;\'&lt;/span&gt; Services','2002-8-2',&lt;span class="jive-sql-keyword"&gt;null&lt;/span&gt;)&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;!--[CodeBlockEnd:cca85257-977c-4db6-a490-5f9b3bd0221a]--&gt;&lt;p&gt;To insert a single quote mark in DB2 with SQL insert you have to replace single quotes with two (2) single quotes.&lt;/p&gt;&lt;!--[CodeBlockStart:8224343e-3784-4309-b504-88492ddac241]--&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-sql"&gt;&lt;span class="jive-sql-keyword"&gt;insert&lt;/span&gt; &lt;span class="jive-sql-keyword"&gt;into&lt;/span&gt; LCDDB_NCD_BNFT_CTGRY_REF (BNFT_CTGRY_CD,BNFT_CTGRY_DESC,BNFT_CTGRY_EFCTV_DT,BNFT_CTGRY_TRMNTN_DT)&lt;br /&gt;&lt;span class="jive-sql-keyword"&gt;values&lt;/span&gt; (52,'Physicians&lt;span style="font-weight: bold;"&gt;''&lt;/span&gt; Services','2002-8-2',&lt;span class="jive-sql-keyword"&gt;null&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-6070118869731863100?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/6070118869731863100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=6070118869731863100' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6070118869731863100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6070118869731863100'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/08/you-cant-escape-single-quotes-in-sql.html' title='You can&apos;t escape single quotes in SQL inserts with \'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-1257030147176202900</id><published>2010-08-05T06:01:00.000-07:00</published><updated>2010-08-05T07:09:59.876-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><title type='text'>OpenDNS Family Shield Setup guide</title><content type='html'>I learned recently of a free service to help protect my family from explicit web content. In this post I want to explain how it works and how to set it up.&lt;br /&gt;&lt;br /&gt;Access to the Internet is no longer restricted to personal computers, you can connect game systems (XBOX 360, Playstation 3, Nintendo Wii), you can connect blue ray players and watch movies transmitted over the internet, you can tether your cell phone to use your home internet and browse web sites, your iTouch can wirelessly connect to the Internet, the list goes on. &lt;span style="font-style: italic;"&gt;Their is no 100% guaranteed way to protect all of the&lt;/span&gt;&lt;span style="font-style: italic;"&gt;se devices at all times from all explicit or harmful content that may exist other than turning them all off or never having them. &lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;However, it is possible to filter out known hazards and setting up your computer with a filter takes minutes to do.&lt;br /&gt;&lt;br /&gt;There are programs you can install on your computer like NetNanny which will protect that machine only, but you would have to find software for each device connecting to the Internet to use that method. Most modern setups for Internet access will have what is called a network router, all devices within your home, that use the same internet service, will connect to this common device. It is here at the router that the filter will be the most effective, essentially limiting and protecting all devices that may make Internet requests. I use Comcast for my Internet service and have a cheap Microsoft router for my home network.&lt;br /&gt;&lt;br /&gt;If you only have one device in your home on the Internet &lt;a href="http://www.opendns.com/familyshield"&gt;OpenDNS Family Shield&lt;/a&gt; will also work for it and it is even less complex to setup. Go here: &lt;a href="http://www.opendns.com/start"&gt;http://www.opendns.com/start&lt;/a&gt; and click sign up under the "OpenDNS Basic" option. Follow the steps to change your DNS on your router or computer. Essentially I needed to change my routers DNS settings from automatic to manual and give these two DNS server IP addresses:&lt;ul&gt;&lt;li&gt;&lt;b&gt;208.67.222.222&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;208.67.220.220&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JIARIxN7KMo/TFrCE4FZMqI/AAAAAAAAAK4/WQeg9GEE3q0/s1600/DNSSettings.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 271px;" src="http://1.bp.blogspot.com/_JIARIxN7KMo/TFrCE4FZMqI/AAAAAAAAAK4/WQeg9GEE3q0/s320/DNSSettings.PNG" alt="" id="BLOGGER_PHOTO_ID_5501923283816755874" border="0" /&gt;&lt;/a&gt;There is a test page as part of the setup guide openDNS provides that will show you if you are successful in changing the DNS servers to openDNS. Routers will have passwords to protect them from being configured, when you try to configure your router, you will be prompted to login, if the password has never been set, it will be a factory password like user: admin password: admin or even blank; each brand is different. If you cannot login to the router because you forgot or never knew the password, then you may have to reset the router by holding down a button on the actual router device. This will clear all settings and you may have to reconfigure the router just to get back on the Internet again, get your internet service provider on the phone to help you do this or recruit a local tech to help out.&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;If you are still following along the setup and got the successful page, you should be able to click to open the OpenDNS Dashboard. If you ran into problems getting the test page to report success, try restarting your computer first then check the test page again, if still not working try restarting the router. If still not working, try the single-computer-only setup instructions. If still having trouble, recruit  a local computer savvy individual to help you.&lt;br /&gt;&lt;br /&gt;Once successful, the openDNS success page will have a link to launch the OpenDNS Dashboard, do it! In here you need to click Settings and add your IP address as a named network, it will already be filled in and you just click "add this network" and give it the name "Home".  On that same settings tab, click the link to download an important program to keep your computer protected, the link is at the bottom near the text&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Keep your network's IP up-to-date with our free software.&lt;/span&gt;&lt;br /&gt;If you use Windows Operating system, click Windows link for the Windows version of the software, if you use Mac click the Mac link. Run the program to install the IP updater software, this is critical for most Internet connections because your dynamic IP address will change periodically and OpenDNS has to associate your Internet filter preferences with your ever-changing IP address. If you have paid for a static IP address, you don't need the IP updater software.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_JIARIxN7KMo/TFrBETiq33I/AAAAAAAAAKo/rdzEsWF8LH8/s1600/FilterSettings.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 302px;" src="http://4.bp.blogspot.com/_JIARIxN7KMo/TFrBETiq33I/AAAAAAAAAKo/rdzEsWF8LH8/s320/FilterSettings.PNG" alt="" id="BLOGGER_PHOTO_ID_5501922174495809394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Again on the settings tab, click the dropdown box for your networks, pick the named network called "Home" you created earlier. On the left you can pick "Web Content Filtering" and select how locked down you want the Internet, some preconfigured options are categorized as High, Med, Low. It defaults to NONE which is no better than where you started, so change it to something above NONE at least!&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JIARIxN7KMo/TFrBnoO-A9I/AAAAAAAAAKw/YYkIxfFvb0k/s1600/LogSettings.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 271px;" src="http://1.bp.blogspot.com/_JIARIxN7KMo/TFrBnoO-A9I/AAAAAAAAAKw/YYkIxfFvb0k/s320/LogSettings.PNG" alt="" id="BLOGGER_PHOTO_ID_5501922781345743826" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;On the left menus, pick Stats and Logs and check the box to enable Stats and Logs and click Apply button. Now all requests from all devices connected to your router are logged! This is good because if someone tried to access explicit web sites, you will be able to see when this occurred and what site was attempted. Keep in mind sometimes sites will show up in the list that the user did not intend to access, they may have gone to espn.com and an advertiser pulled an ad from an explicit site. This ad would be blocked and show up in the log. So don't automatically ground someone for a week because of a log entry.&lt;br /&gt;&lt;br /&gt;Hope this helps you out.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-1257030147176202900?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/1257030147176202900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=1257030147176202900' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1257030147176202900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1257030147176202900'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/08/opendns-family-shield-setup-guide.html' title='OpenDNS Family Shield Setup guide'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_JIARIxN7KMo/TFrCE4FZMqI/AAAAAAAAAK4/WQeg9GEE3q0/s72-c/DNSSettings.PNG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-6195427743341840644</id><published>2010-05-10T19:53:00.000-07:00</published><updated>2010-05-10T19:56:14.691-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Software Engineering'/><title type='text'>This made me laugh</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JIARIxN7KMo/S-jG9NUrRyI/AAAAAAAAAKg/5C3jPjnrIMY/s1600/24939_1391276423098_1267768785_31163516_1720094_n.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 285px; height: 320px;" src="http://2.bp.blogspot.com/_JIARIxN7KMo/S-jG9NUrRyI/AAAAAAAAAKg/5C3jPjnrIMY/s320/24939_1391276423098_1267768785_31163516_1720094_n.jpg" alt="" id="BLOGGER_PHOTO_ID_5469840502292170530" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;source: &lt;a href="http://xkcd.com/627/"&gt;http://xkcd.com/627/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-6195427743341840644?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/6195427743341840644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=6195427743341840644' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6195427743341840644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6195427743341840644'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/05/this-made-me-laugh.html' title='This made me laugh'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JIARIxN7KMo/S-jG9NUrRyI/AAAAAAAAAKg/5C3jPjnrIMY/s72-c/24939_1391276423098_1267768785_31163516_1720094_n.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-736694179787559016</id><published>2010-05-04T15:56:00.000-07:00</published><updated>2010-05-04T16:07:46.086-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gain'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>71st Tuesday weigh-in</title><content type='html'>223.0 lb&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Worked out today on treadmill for 30 minutes at 11, the machine had puddles of my sweat by the end. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I have not been feeling great since about mid February, so I am trying to reboot my workouts now to see if it helps.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;that's not the whole story... I've been thinking a lot about Steve too:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre&gt;&lt;blockquote&gt;Pheysey, Stephen Grant Stephen Grant Pheysey Stephen Grant Pheysey, 23, &lt;/blockquote&gt;&lt;blockquote&gt;died Saturday, May 7, 2005, at his home, of alcohol poisoning. Steve was a &lt;/blockquote&gt;&lt;blockquote&gt;wonderful son, brother, and friend, and will be sorely missed. Steve was &lt;/blockquote&gt;&lt;blockquote&gt;born on November 24, 1981, in Provo, Utah to James H. and Rebecca Duckett &lt;/blockquote&gt;&lt;blockquote&gt;Pheysey. Steve attended Cascade Elementary, Canyon View Junior High, and &lt;/blockquote&gt;&lt;blockquote&gt;graduated from Orem High School in 1999. He was awarded the Heritage &lt;/blockquote&gt;&lt;blockquote&gt;scholarship to Brigham Young University and the Honors at Entrance &lt;/blockquote&gt;&lt;blockquote&gt;scholarship to the University of Utah. He was currently a senior, majoring &lt;/blockquote&gt;&lt;blockquote&gt;in Business Administration at the University of Utah. Steve was a brilliant &lt;/blockquote&gt;&lt;blockquote&gt;young man with many interests and hobbies. He loved buying and fixing &lt;/blockquote&gt;&lt;blockquote&gt;European sports cars, going rock and ice climbing with his brothers and &lt;/blockquote&gt;&lt;blockquote&gt;friends, preparing gourmet and ethnic food for family and friends, &lt;/blockquote&gt;&lt;blockquote&gt;flyfishing, bowhunting, and most outdoor activities. He loved learning and &lt;/blockquote&gt;&lt;blockquote&gt;was an avid reader. He enjoyed using his talents and knowledge to help &lt;/blockquote&gt;&lt;blockquote&gt;others. He was preceded in death by his grandparents, Harriett Pheysey, &lt;/blockquote&gt;&lt;blockquote&gt;Jack Duckett, Irene Duckett, and a younger brother, William Robert Pheysey. &lt;/blockquote&gt;&lt;blockquote&gt;Steve is survived by his parents, Jim and Becky Pheysey, three brothers, &lt;/blockquote&gt;&lt;blockquote&gt;Michael (April) Pheysey, David Pheysey, Matthew Pheysey, one sister, Andie &lt;/blockquote&gt;&lt;blockquote&gt;Pheysey, grandfather, Herbert Pheysey, and numerous aunts, uncles and &lt;/blockquote&gt;&lt;blockquote&gt;cousins. Family services were held Saturday, May 14, 2005, at Berg Mortuary &lt;/blockquote&gt;&lt;blockquote&gt;in Provo. Interment was at Provo City Cemetery. Published in the Daily &lt;/blockquote&gt;&lt;blockquote&gt;Herald on 5/17/2005.&lt;/blockquote&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;I wish I had reached out to him and I want a do over, I want him to be rescued if not by me then someone else. I need a time machine. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-736694179787559016?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/736694179787559016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=736694179787559016' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/736694179787559016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/736694179787559016'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/05/71st-tuesday-weigh-in.html' title='71st Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-2716387366436146121</id><published>2010-03-26T04:51:00.000-07:00</published><updated>2010-03-26T04:58:21.521-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>69th &amp; 70th weigh-in</title><content type='html'>69th 222.0 lb&lt;br /&gt;&lt;br /&gt;70th 221.5 lb&lt;br /&gt;&lt;br /&gt;I did a Golds Gym corporate wellness fitness test yesterday and here were my stats:&lt;br /&gt;&lt;br /&gt;Flexibility test: 15 in (ranking: Average, 20 is Excellent)&lt;br /&gt;Three minute stair step test: 84 beats per minute (ranking: Good, &lt;81 is Excellent)&lt;br /&gt;One minute push up test: 41 (ranking: Good, &gt;45 is Excellent)&lt;br /&gt;&lt;br /&gt;Today I ran 3.55 miles in 30 minutes, it kicked my butt.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-2716387366436146121?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/2716387366436146121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=2716387366436146121' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2716387366436146121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2716387366436146121'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/03/69th-70th-weigh-in.html' title='69th &amp; 70th weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-9003728594551546423</id><published>2010-03-09T09:07:00.000-08:00</published><updated>2010-03-09T09:15:02.047-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gain'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>68th Tuesday weigh-in</title><content type='html'>223.0 lb&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Back up a bit from 221.0 lb. I have made a personal commitment to a 12 week body for life program, my free day is Tuesday. I have been successful on the body for life plan in the past, having lost 60lbs, my goal is to lose 6% bodyfat (17% bodyfat). I'll post some pictures at the end of the 12 weeks as well.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I plan to eat 5-6 meals a day six days a week, and have a free-day once a week. I plan to weigh in each Tuesday to track my progress on weight-loss. I will also take some pictures as well periodically during the 3 month program. Thanks in advance for your support. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-9003728594551546423?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/9003728594551546423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=9003728594551546423' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/9003728594551546423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/9003728594551546423'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/03/68th-tuesday-weigh-in.html' title='68th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-5805683537709896616</id><published>2010-03-02T16:02:00.000-08:00</published><updated>2010-03-02T15:18:59.165-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Software Engineering'/><title type='text'>Coping with requirement descoping</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JIARIxN7KMo/S42cTjNoI3I/AAAAAAAAAKY/dIWu6H5BehM/s1600-h/photo_3367_20090107.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 213px; height: 320px;" src="http://2.bp.blogspot.com/_JIARIxN7KMo/S42cTjNoI3I/AAAAAAAAAKY/dIWu6H5BehM/s320/photo_3367_20090107.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5444179384244642674" /&gt;&lt;/a&gt;&lt;div class="jive-rendered-content"&gt;&lt;h4 style="text-align: center;"&gt;&lt;span class="Apple-style-span"  style="font-size:x-small;"&gt;Image: &lt;/span&gt;&lt;a class="jive-link-external-small active_link" href="http://www.freedigitalphotos.net/"&gt;&lt;span class="Apple-style-span"  style="font-size:x-small;"&gt;FreeDigitalPhotos.net&lt;/span&gt;&lt;/a&gt;&lt;/h4&gt;&lt;p&gt;I am in the middle of a frantic ATG code push. The QA cycle (as usual) was a painfully short 2 days. Since the project is pretty large and was months in development, many areas of the UI were changed. Some of the changes were accepted by the QA and business team, but other changes were found to be too &lt;em&gt;wonky&lt;/em&gt; to rollout live to thousands of agents. It was inevitable that the business side would request &lt;em&gt;à la carte&lt;/em&gt; features from the overal design implemented to roll live (due to the short qa and hard deadline). Problems arise when removing (descoping) a rejected UI change which breaks other features because of dependencies.&lt;/p&gt;&lt;p style="padding: 0px; min-height: 8pt; height: 8pt;"&gt; &lt;/p&gt;&lt;p&gt;I was able to deliever a rapid turnaround on descoping large functional sections of a code push. I did this by keeping a record of each file that was add/changed/removed for the project &lt;strong&gt;as well as correlated which business requirement(s) were the motivation behind the file's change.&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding: 0px; min-height: 8pt; height: 8pt;"&gt; &lt;/p&gt;&lt;p&gt;Traceability saved the day.&lt;/p&gt;&lt;p style="padding: 0px; min-height: 8pt; height: 8pt;"&gt; &lt;/p&gt;&lt;p&gt;I have not been as diciplined in the past with keeping track of changes for a project, let along keeping record of how the changes correlate to the busines requirements. Now, having done this, it is something that has helped me in the following specific ways:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;fulfill &lt;strong&gt;all&lt;/strong&gt; the documented requirements of the project,&lt;/li&gt;&lt;li&gt;quickly descope rejected code,&lt;/li&gt;&lt;li&gt;rapidly find and fix bugs found against requirements,&lt;/li&gt;&lt;li&gt;perform code reviews and explain the moving parts quickly,&lt;/li&gt;&lt;li&gt;provide detailed rollout plans for the changes,&lt;/li&gt;&lt;li&gt;merge in other changes into the project with ease&lt;/li&gt;&lt;/ol&gt;&lt;p style="padding: 0px; min-height: 8pt; height: 8pt;"&gt; &lt;/p&gt;&lt;p&gt;Not every project may be large enough to require record keeping like this. Keeping track of this stuff is boring but the benefits of doing it really make it worth the effort for me. (Just like documenting my knowledge has.)&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/4159420781944033879-5805683537709896616?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/5805683537709896616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=5805683537709896616' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5805683537709896616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5805683537709896616'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/02/coping-with-requirement-descoping.html' title='Coping with requirement descoping'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JIARIxN7KMo/S42cTjNoI3I/AAAAAAAAAKY/dIWu6H5BehM/s72-c/photo_3367_20090107.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-6493229726457932387</id><published>2010-02-27T00:27:00.000-08:00</published><updated>2010-02-27T00:28:34.218-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>67th Tuesday weigh-in</title><content type='html'>221.0 lb&lt;br /&gt;&lt;br /&gt;Down 3 lbs. Worked out the whole week and was careful my food. A very good week for me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-6493229726457932387?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/6493229726457932387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=6493229726457932387' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6493229726457932387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6493229726457932387'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/02/67th-tuesday-weigh-in.html' title='67th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-6971768315295316087</id><published>2010-02-22T20:26:00.000-08:00</published><updated>2010-02-22T20:34:36.810-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gain'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>66th Tuesday weigh-in</title><content type='html'>224.0 lb&lt;br /&gt;&lt;br /&gt;Up 1.0 and I blame the deep dish pizza at Gino's East in downtown Chicago. At least I exercised at the hotel gym while I was on the road. By the way, traveling while sick really sucks. The best food I ate in the windy city was the deep dish pizza at Gino's followed by fantastic burger at Rock Bottom. I really hated the ribs at Weber Grill or whatever that place was called... I like moist sweet ribs but these were much too dry, spicy and tough, that didn't prevent me from eating them all anyway for some reason...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-6971768315295316087?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/6971768315295316087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=6971768315295316087' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6971768315295316087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6971768315295316087'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/02/66th-tuesday-weigh-in.html' title='66th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-9106999724383542138</id><published>2010-02-09T20:25:00.000-08:00</published><updated>2010-02-10T08:42:11.197-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Software Engineering'/><title type='text'>FourGablesGuy's Best Practice tip #1478: Don't use email clients to store your knowledge</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_JIARIxN7KMo/S3LhwHiGYpI/AAAAAAAAAKM/df9AbV4E08E/s1600-h/photo_9068_20091026.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 215px;" src="http://3.bp.blogspot.com/_JIARIxN7KMo/S3LhwHiGYpI/AAAAAAAAAKM/df9AbV4E08E/s320/photo_9068_20091026.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5436655916961653394" /&gt;&lt;/a&gt;&lt;div class="jive-rendered-content"&gt;&lt;h4 style="text-align: center;"&gt;&lt;span&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;Image: &lt;/span&gt;&lt;a class="jive-link-external-small active_link" href="http://www.freedigitalphotos.net/"&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;FreeDigitalPhotos.net&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;If you were to lose &lt;strong&gt;all&lt;/strong&gt; your email messages today, how high of a disaster would that be for you:&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;as an employee or&lt;br /&gt;&lt;/li&gt;&lt;li&gt;personally?&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt; Scale where 1 is "no big deal" and 10 being "I am ruined, RUINED!!!"&lt;/p&gt;&lt;p style="padding: 0px; min-height: 8pt; height: 8pt;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If I am tempted to save an email after I have read it, I stop and think:&lt;br /&gt;"Why do I want to save this? "&lt;br /&gt;"Oh, it is because I will/might need this info again later."&lt;br /&gt;"Well, if that is the case, it should then be put in a secure place or made into a blog post, forum post, document, etc.. on a knowledge site."&lt;/p&gt;&lt;p style="padding: 0px; min-height: 8pt; height: 8pt;"&gt; &lt;/p&gt;&lt;p&gt;I don't always put important learned information in a blog post or in a secure archive, and sometimes I am searching my email for something that I didn't put in a place I could easily find later... However, I think the more consistently I avoid storing &lt;em&gt;knowledge &lt;/em&gt;in my email box (either in folders, sent items, trash, etc..) the better off I will be. It takes some time up front to move knowledge to the place it belongs but it takes even more time to scour your email folders for the one bit of info out of your email-haystack when you need later. If I do have to search and find information in my email, then I &lt;em&gt;always &lt;/em&gt;move that data into a better place, because the fact I needed the information twice indicates I will need it yet again.&lt;/p&gt;&lt;p style="padding: 0px; min-height: 8pt; height: 8pt;"&gt; &lt;/p&gt;&lt;p&gt;In my opinion we should treat email as an ephemeral messaging tool, not as a personal knowledge compendium. So until Google Wave gets broad adoption, email is like a sticky note on your desk, neither should be used to preserve important knowledge.&lt;/p&gt;&lt;p style="padding: 0px; min-height: 8pt; height: 8pt;"&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Addendum: &lt;/span&gt;Email is a bad choice, but some do survive using it as a knowledge base tool. However, the absolute &lt;strong&gt;worst &lt;/strong&gt;place to maintain important knowledge would be your &lt;em&gt;IM chat history&lt;/em&gt;. IM chat toools are great and I use them to ask and answer questions, but I kick myself when I am looking through old chat history for a nugget of information to reuse that I neglected to preserve better. I also am frustrated when managers/coworkers repeatedly ask me questions in chat that I have answered weeks or months previously. I am trying to establish the habit to put the answers I give/receive in IM chat on a wiki or (maybe an email..) or somewhere more permanent so that I can refer back to the more stable place later. IM chat is a double-edged sword, it is fast and convenient in the short term, but you can be hurt long term by failing to capture knowledge from your chat sessions.&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/4159420781944033879-9106999724383542138?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/9106999724383542138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=9106999724383542138' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/9106999724383542138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/9106999724383542138'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/02/fourgablesguys-best-practice-tip-1478.html' title='FourGablesGuy&apos;s Best Practice tip #1478: Don&apos;t use email clients to store your knowledge'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_JIARIxN7KMo/S3LhwHiGYpI/AAAAAAAAAKM/df9AbV4E08E/s72-c/photo_9068_20091026.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-2443607307465090151</id><published>2010-02-09T20:07:00.000-08:00</published><updated>2010-08-24T20:44:34.775-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='finance'/><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>Awesome Personal Finance Tool</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.mvelopes.com"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 270px; height: 59px;" src="http://3.bp.blogspot.com/_JIARIxN7KMo/THSQWouWmhI/AAAAAAAAALI/VB0h6iPJL7M/s320/finicity2.gif" alt="" id="BLOGGER_PHOTO_ID_5509186962744318482" border="0" /&gt;&lt;/a&gt;I have been using an online personal finance software program for about 5 years now and love it. The tool is called &lt;a href="http://en.wikipedia.org/wiki/Mvelopes"&gt;Mvelopes&lt;/a&gt; and was started by a company in Draper, UT (Finicity). The CEO is Steven Smith last time I checked. The biggest reason I have continued to use Mvelopes is because I am &lt;strong&gt;lazy&lt;/strong&gt;. I don't ever want to manually enter in receipts. I don't want to keep a log book of checks I write either. Mvelopes takes away 99% of the effort required to keep track of your family spending because the software crawls your online banks, credit cards, mortgages, 401Ks, auto loans, student loans, etc.. and digests the transactions from them presenting all of them in a consolidated simple interface. I don't have to do anything but setup my accounts in Mvelopes and login once or twice a month to reconcile spending to my budget goals (or the buckets I have setup for types of spending.)&lt;p&gt;If you are looking for a tool that can help you plan and coordinate your spending, reconcile purchases so you can always pay off your card balances and always have money for the charges and checks you and your spouse make, Mvelopes is it. You can use if from any computer, Linux, Windows or Mac (you just need a browser with Adobe flash extension.) I would recommend getting coaching sessions as well to help you get the most from the tool. Mvelopes does provide free online chat support as well.&lt;/p&gt;If you use the software consistently, then it will pay for itself 10 times over time.&lt;p&gt; &lt;em&gt;I think another similar web-based tool exists called Mint but I have never tried that one to know how it compares.&lt;/em&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-2443607307465090151?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/2443607307465090151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=2443607307465090151' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2443607307465090151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2443607307465090151'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/02/awesome-personal-finance-tool.html' title='Awesome Personal Finance Tool'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_JIARIxN7KMo/THSQWouWmhI/AAAAAAAAALI/VB0h6iPJL7M/s72-c/finicity2.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-4900914731875191463</id><published>2010-02-09T08:35:00.001-08:00</published><updated>2010-02-09T08:39:29.705-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>65th Tuesday weigh-in</title><content type='html'>223.0 lb&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;No change from last week, I think I would have been down had I laid off Rebecca's brownies. The superbowl party was in Eagle Mountain and the location was really swank. Food was great and I think I did well avoiding over indulging, fast Sunday probably helped a lot too. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-4900914731875191463?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/4900914731875191463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=4900914731875191463' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4900914731875191463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4900914731875191463'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/02/65th-tuesday-weigh-in.html' title='65th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-4178460218369211443</id><published>2010-02-05T14:30:00.000-08:00</published><updated>2010-02-05T16:00:04.079-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gain'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>64th Tuesday weigh-in</title><content type='html'>223.0 lb&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Up 0.5 again. So I was sick and stayed up too late and missed some workouts, and yes, I am like a broken record on my blog writing that. Winter sucks. Ran 3.5 miles in under 30 minutes today so I am still feeling good about my exercise, I just need to be consistent about going to bed and going to the gym. I am torn a bit because I want to work on a side project for my company (and my career) which cuts into my family/sleep time. I did track my food on the daily plate, but I really only track M-F and don't track dinner, which I plan to change to track EVERYTHING... &lt;i&gt;the annoyance of having to input and track my chocolate-covered almonds should help me from eating them, right? &lt;span class="Apple-style-span" style="font-style: normal; "&gt;I do feel good when I am able to track exercise on the dailyplate, seeing those extra calories show up is a nice bonus, seeing some better results would be nice too. &lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal; "&gt;I hope when they say, "You change from the inside out", it is really true. Nothing big or earth shattering has happened to myself on the outside, body fat and scale measurements don't seem to move much for me either. But on the inside I am establishing a habit to exercise and monitor my food intake.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-4178460218369211443?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/4178460218369211443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=4178460218369211443' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4178460218369211443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4178460218369211443'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/02/64th-tuesday-weigh-in.html' title='64th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-4908248120147856984</id><published>2010-01-28T16:02:00.001-08:00</published><updated>2010-01-28T16:11:01.332-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gain'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>63rd Tuesday weigh-in</title><content type='html'>222.5 lb&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Up 0.5 lb due to some illness and missing workouts. I have been keeping up on tracking food on the daily plate website (on weekdays at least). I have a new Golds corporate wellness personal trainer (no explanation for why the other trainer is gone), she is mostly a cookie cutter version of the previous one... with the same advice as trainer before. I am motivated to post better numbers, nothing I have done seems to have moved the needle on my body fat measurement, which I think is strange. At least over the past month I lost almost 2 lbs from the previous weigh-in.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;She did have a good comment about workouts... you have to push yourself &lt;b&gt;hard&lt;/b&gt; to make improvements. I think some of my workouts got repetitive and weren't challenging like workouts challenged me when I first started so long ago. I may need to try something drastic break out of the rut.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-4908248120147856984?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/4908248120147856984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=4908248120147856984' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4908248120147856984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4908248120147856984'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/01/63rd-tuesday-weigh-in.html' title='63rd Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-1316521705458876097</id><published>2010-01-19T08:39:00.000-08:00</published><updated>2010-01-19T08:44:39.368-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>62nd Tuesday weigh-in</title><content type='html'>222.0 lb&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Yay I am down again. I have a monthly weigh-in next week with with my impersonal trainer so I hope to post some good numbers there. I also did check my bodyfat at the annual Lehi legacy center fitness expo: it was 23.1 % which is less than it was back in January of 2009 but not by much, only about 0.4% lower. However this year I did the fitness test as well. I did 25 push-ups in 30 seconds which I am pretty confident I would not have been able to do last January.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-1316521705458876097?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/1316521705458876097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=1316521705458876097' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1316521705458876097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1316521705458876097'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/01/62nd-tuesday-weigh-in.html' title='62nd Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-6116226082343865049</id><published>2010-01-14T10:06:00.000-08:00</published><updated>2010-01-14T10:12:09.959-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gain'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>61st Tuesday weigh-in</title><content type='html'>224.5 lb&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Up 2.5 lb. Did well on exercise and just slacked off on tracking food. Eleanor was up vomiting Monday night, we thought the worst was over then Wednesday around 6PM I got stomach cramps and at around 2AM I gave in and puked my guts out. This morning Rebecca is throwing up, oh and J threw up last night as well. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Despite all this, I still have it way better than those in Haiti..&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-6116226082343865049?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/6116226082343865049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=6116226082343865049' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6116226082343865049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6116226082343865049'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/01/61st-tuesday-weigh-in.html' title='61st Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-8968456556196568104</id><published>2010-01-05T07:22:00.000-08:00</published><updated>2010-01-05T08:10:01.331-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>60th Tuesday weigh-in</title><content type='html'>222.0 lbs&lt;br /&gt;&lt;br /&gt;Yay, down 3.5 lbs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-8968456556196568104?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/8968456556196568104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=8968456556196568104' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/8968456556196568104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/8968456556196568104'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/01/60th-tuesday-weigh-in.html' title='60th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-7986265412645658922</id><published>2010-01-01T16:46:00.001-08:00</published><updated>2010-01-01T16:49:05.163-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gain'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>59th Tuesday weigh-in</title><content type='html'>225.5 lb&lt;br /&gt;&lt;br /&gt;Up 3.0 lbs! Yeah... I wasn't very cautious with portion size this last week over the holidays and ended up bloated for my weigh-in. I did well on my exercise plan and only missed on Christmas day. Today I forgot a belt and some old jeans of mine I was wearing kept slipping down, which is a great problem to have.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-7986265412645658922?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/7986265412645658922/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=7986265412645658922' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/7986265412645658922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/7986265412645658922'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2010/01/59th-tuesday-weigh-in.html' title='59th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-8611205405135635672</id><published>2009-12-28T20:45:00.000-08:00</published><updated>2009-12-28T20:48:01.180-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>58th Tuesday weigh-in</title><content type='html'>222.5 lb&lt;br /&gt;&lt;br /&gt;Down 1.0 lbs last Tuesday. Now for tomorrow's Tuesday weigh-in.. I think I have bad news. I may be back up +3 lbs.. due to some over eating on Christmas Eve, and a game night. I have been good about working out, only missed on Christmas day in the past week.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-8611205405135635672?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/8611205405135635672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=8611205405135635672' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/8611205405135635672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/8611205405135635672'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/12/58th-tuesday-weigh-in.html' title='58th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-7752341655248276196</id><published>2009-12-15T18:33:00.000-08:00</published><updated>2009-12-15T18:50:58.411-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>57th Tuesday weigh-in</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_JIARIxN7KMo/SyhK6IUZvRI/AAAAAAAAAKE/bYf8sescARk/s1600-h/51513601_63b17466be.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 320px;" src="http://4.bp.blogspot.com/_JIARIxN7KMo/SyhK6IUZvRI/AAAAAAAAAKE/bYf8sescARk/s320/51513601_63b17466be.jpg" alt="" id="BLOGGER_PHOTO_ID_5415660914438946066" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;&lt;a rel="cc:attributionURL" href="http://www.flickr.com/photos/dptr/"&gt;http://www.flickr.com/photos/dptr/&lt;/a&gt; / &lt;a rel="license" href="http://creativecommons.org/licenses/by/2.0/"&gt;CC BY 2.0&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;223.5 lb&lt;br /&gt;&lt;br /&gt;No change from last week. I hit the gym all 6 days and tracked my food during the week. Sometimes the scale is just a jerk.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-7752341655248276196?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/7752341655248276196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=7752341655248276196' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/7752341655248276196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/7752341655248276196'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/12/57th-tuesday-weigh-in.html' title='57th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_JIARIxN7KMo/SyhK6IUZvRI/AAAAAAAAAKE/bYf8sescARk/s72-c/51513601_63b17466be.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-8642881039073747150</id><published>2009-12-08T19:35:00.000-08:00</published><updated>2009-12-15T18:51:44.836-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>56th Tuesday weigh-in</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JIARIxN7KMo/Sx8fVAcoQLI/AAAAAAAAAJ8/OFruOqb0dzI/s1600-h/2383258134_4ed05e1e9f.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_JIARIxN7KMo/Sx8fVAcoQLI/AAAAAAAAAJ8/OFruOqb0dzI/s320/2383258134_4ed05e1e9f.jpg" alt="" id="BLOGGER_PHOTO_ID_5413079722880417970" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;&lt;a rel="cc:attributionURL" href="http://www.flickr.com/photos/jdickert/"&gt;http://www.flickr.com/photos/jdickert/&lt;/a&gt; / &lt;a rel="license" href="http://creativecommons.org/licenses/by/2.0/"&gt;CC BY 2.0&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;223.5 lb&lt;br /&gt;&lt;br /&gt;Down 1.5 lbs! Three weeks in a row with a loss to report. I think tracking food on the daily plate is a great way to keep me from overeating, it is really the only thing different I have been doing lately (well I have not been eating lots of candy and snacks either.)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-8642881039073747150?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/8642881039073747150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=8642881039073747150' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/8642881039073747150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/8642881039073747150'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/12/56th-tuesaday-weigh-in.html' title='56th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JIARIxN7KMo/Sx8fVAcoQLI/AAAAAAAAAJ8/OFruOqb0dzI/s72-c/2383258134_4ed05e1e9f.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-5317626167888661006</id><published>2009-12-01T18:01:00.000-08:00</published><updated>2009-12-01T18:08:47.589-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>55th Tuesday weigh-in</title><content type='html'>225.0 lb&lt;br /&gt;&lt;br /&gt;Loss of 0.5 lb, and this over Thanksgiving! I am so proud of that. I jogged/ran 3 laps around Nathan's house in Cedar City to work off some of that pecan pie, they said one lap was 1.5 miles, on the last lap some neighbor dogs chased me down the street, it really got the blood pumping running for my life!&lt;br /&gt;&lt;br /&gt;Tracking my daily food intake on the daily plate is working well. My personal trainer visit was this week, I was about the same as last month on body fat (23%) and weight. That is better than being 5 lbs heavier but I was hoping for a loss on body fat. On average Americans gain 8lbs over the November - December holiday season. Let's see if I can bring that average down a tick by losing that much. Negative 8 pounds by January 1st, 2010!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-5317626167888661006?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/5317626167888661006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=5317626167888661006' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5317626167888661006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5317626167888661006'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/12/55th-tuesday-weigh-in.html' title='55th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-8654484673586968721</id><published>2009-11-18T17:35:00.001-08:00</published><updated>2009-12-01T18:01:14.382-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>54th Tuesday weigh-in</title><content type='html'>225.5 lb&lt;br /&gt;&lt;br /&gt;Oops, forgot to post this. I even eeked out a loss. Go me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-8654484673586968721?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/8654484673586968721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=8654484673586968721' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/8654484673586968721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/8654484673586968721'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/11/54th-tuesday-weigh-in.html' title='54th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-3591431580006045154</id><published>2009-11-17T08:40:00.000-08:00</published><updated>2009-11-17T08:56:40.205-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gain'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>53rd Tuesday weigh-in</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JIARIxN7KMo/SwLVrZL0NSI/AAAAAAAAAJ0/ymk9O6cOrqo/s1600/100_4123.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_JIARIxN7KMo/SwLVrZL0NSI/AAAAAAAAAJ0/ymk9O6cOrqo/s320/100_4123.JPG" alt="" id="BLOGGER_PHOTO_ID_5405117444269552930" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;226.0 lb&lt;br /&gt;&lt;br /&gt;Aargh! The numbers on the scale sucked.. but I still fit great in my new jeans. I have exercised all 6 days faithfully and tracked my food 5 of the 7 days. It was fun to see Grandpa and Candace last night, but it was a bummer that Linc and Randy punked me and didn't show up. Next up: Hannah's birthday, Thanksgiving, ward party, work party, Christmas party, New Years party... but most importantly: more weekly posts with losses!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-3591431580006045154?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/3591431580006045154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=3591431580006045154' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3591431580006045154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3591431580006045154'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/11/53rd-tuesday-weigh-in.html' title='53rd Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JIARIxN7KMo/SwLVrZL0NSI/AAAAAAAAAJ0/ymk9O6cOrqo/s72-c/100_4123.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-479052672079999500</id><published>2009-11-13T17:19:00.000-08:00</published><updated>2009-11-13T17:37:28.780-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gain'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>52nd Tuesday weigh-in</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JIARIxN7KMo/Sv4JFLSAWqI/AAAAAAAAAJs/m1PoUJzXucY/s1600-h/3521001868_51d1eff057.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 213px;" src="http://1.bp.blogspot.com/_JIARIxN7KMo/Sv4JFLSAWqI/AAAAAAAAAJs/m1PoUJzXucY/s320/3521001868_51d1eff057.jpg" alt="" id="BLOGGER_PHOTO_ID_5403766587423480482" border="0" /&gt;&lt;/a&gt;&lt;div style="text-align: center;" cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/publicdomainphotos/3521001868/"&gt;&lt;span style="font-size:78%;"&gt;&lt;a rel="cc:attributionURL" href="http://www.flickr.com/photos/publicdomainphotos/"&gt;http://www.flickr.com/photos/publicdomainphotos/&lt;/a&gt; / &lt;a rel="license" href="http://creativecommons.org/licenses/by/2.0/"&gt;CC BY 2.0&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;225 lb&lt;br /&gt;&lt;br /&gt;Gain of 2lbs...  but, to focus on the positives, I am wearing size 34 jeans without too much trouble which is a huge improvement over size 38's. Blue cheese dip and pretzel crisps are probably not a good thing for me to have around... but it's worth it occasionally. Rebecca's birthday party had me eating cobbler and ice cream which didn't help me either. At least I am hitting the gym consistently. I am also tracking food I eat but I slack off on tracking food I eat on the weekend. It has been a year since I started weekly weigh ins. I will keep doing them as I feel it keeps me from gaining or getting off track and helps to motivate me to lose. I have a more energy than I used to and, with two kids, I need every femto-joule I can get.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-479052672079999500?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/479052672079999500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=479052672079999500' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/479052672079999500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/479052672079999500'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/11/52nd-tuesday-weigh-in.html' title='52nd Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_JIARIxN7KMo/Sv4JFLSAWqI/AAAAAAAAAJs/m1PoUJzXucY/s72-c/3521001868_51d1eff057.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-2150714447242013615</id><published>2009-11-04T06:58:00.000-08:00</published><updated>2009-11-04T07:02:17.576-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>51st Tuesday weigh-in</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JIARIxN7KMo/SvGXKwTuT2I/AAAAAAAAAJk/zU4SLMslNMc/s1600-h/PA300031.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 240px; height: 320px;" src="http://1.bp.blogspot.com/_JIARIxN7KMo/SvGXKwTuT2I/AAAAAAAAAJk/zU4SLMslNMc/s320/PA300031.JPG" alt="" id="BLOGGER_PHOTO_ID_5400263639216050018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;223.0 lb&lt;br /&gt;&lt;br /&gt;Loss of 0.5 lb, yay. Tracking food on thedailyplate again helped, Halloween candy and carmel apples did not help. Exercised as usual.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-2150714447242013615?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/2150714447242013615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=2150714447242013615' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2150714447242013615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2150714447242013615'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/11/51st-tuesday-weigh-in.html' title='51st Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_JIARIxN7KMo/SvGXKwTuT2I/AAAAAAAAAJk/zU4SLMslNMc/s72-c/PA300031.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-6843600816030065465</id><published>2009-10-28T19:00:00.001-07:00</published><updated>2009-10-28T19:11:13.356-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>50th Tuesday weigh-in</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_JIARIxN7KMo/Suj5L8cO6dI/AAAAAAAAAJc/Xa4zokRmfmU/s1600-h/1502897669_60028cda99.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 255px; height: 320px;" src="http://4.bp.blogspot.com/_JIARIxN7KMo/Suj5L8cO6dI/AAAAAAAAAJc/Xa4zokRmfmU/s320/1502897669_60028cda99.jpg" alt="" id="BLOGGER_PHOTO_ID_5397838137001961938" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/peasap/1502897669/"&gt;&lt;span style="font-size:78%;"&gt;&lt;a rel="cc:attributionURL" href="http://www.flickr.com/photos/peasap/"&gt;http://www.flickr.com/photos/peasap/&lt;/a&gt; / &lt;a rel="license" href="http://creativecommons.org/licenses/by/2.0/"&gt;CC BY 2.0&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;223.5 lb&lt;br /&gt;&lt;br /&gt;Loss of 1.0 lb from last week. I still hate cold mornings.. but I am so glad to post another loss! I love thedailyplate.com it is so awesome and just the right price. Rebecca finds the coolest sites. Two more weeks will make a year of weekly &lt;a href="http://fourgablesguy.blogspot.com/2008/11/first-tuesday-weight-in.html"&gt;weigh-ins&lt;/a&gt;. I think tracking my food on thedailyplate.com is a key component of losing weight because I still do not have the hang of portion control such that I know when to stop eating intuitively.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-6843600816030065465?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/6843600816030065465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=6843600816030065465' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6843600816030065465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6843600816030065465'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/10/50th-tuesday-weigh-in.html' title='50th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_JIARIxN7KMo/Suj5L8cO6dI/AAAAAAAAAJc/Xa4zokRmfmU/s72-c/1502897669_60028cda99.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-6427257684534282108</id><published>2009-10-20T18:20:00.000-07:00</published><updated>2009-10-22T18:19:22.525-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>49th Tuesday weigh-in</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_JIARIxN7KMo/SuEBl5PRCVI/AAAAAAAAAJU/fznTbiycG-4/s1600-h/3064867857_10a413e041.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_JIARIxN7KMo/SuEBl5PRCVI/AAAAAAAAAJU/fznTbiycG-4/s320/3064867857_10a413e041.jpg" alt="" id="BLOGGER_PHOTO_ID_5395595579098204498" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;a style="font-family: arial;" href="http://www.flickr.com/photos/devious_madness/" title="Link to JootJoot's photostream" rel="dc:creator cc:attributionURL"&gt;&lt;b property="foaf:name"&gt;&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;div style="font-family: arial;" cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/devious_madness/3064867857/"&gt;&lt;span style="font-size:78%;"&gt;&lt;a rel="cc:attributionURL" href="http://www.flickr.com/photos/devious_madness/"&gt;http://www.flickr.com/photos/devious_madness/&lt;/a&gt; / &lt;a rel="license" href="http://creativecommons.org/licenses/by/2.0/"&gt;CC BY 2.0&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;224.5 lb&lt;br /&gt;&lt;br /&gt;Down 0.5 lb. I pushed pretty hard this last week and I hate cold mornings...&lt;br /&gt;&lt;br /&gt;Mon: Eliptical X 30min @ Golds&lt;br /&gt;Tues: Weights (single sets X 12 reps) @ Golds&lt;br /&gt;Wed: StairStep X 30min @ legacy center gym&lt;br /&gt;Thur: Weights (6 sets on chest only) @ Golds&lt;br /&gt;Fri: Treadmill X 30min @ Golds&lt;br /&gt;Sat: Weights (single sets X 12 reps) @ legacy center gym&lt;br /&gt;Sun: I lay in bed tired and sick&lt;br /&gt;Mon: Stationary recumbent bike @ legacy center (everything else was in use)&lt;br /&gt;Tues: Weights @ legacy center gym&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-6427257684534282108?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/6427257684534282108/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=6427257684534282108' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6427257684534282108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6427257684534282108'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/10/49th-tuesday-weigh-in.html' title='49th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_JIARIxN7KMo/SuEBl5PRCVI/AAAAAAAAAJU/fznTbiycG-4/s72-c/3064867857_10a413e041.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-2918429224429820022</id><published>2009-10-14T07:05:00.000-07:00</published><updated>2009-10-14T07:14:15.353-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>48th Tuesday weigh-in</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JIARIxN7KMo/StXcnseo2tI/AAAAAAAAAJM/YTeaBciDpZg/s1600-h/IMG_1579.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 256px; height: 320px;" src="http://2.bp.blogspot.com/_JIARIxN7KMo/StXcnseo2tI/AAAAAAAAAJM/YTeaBciDpZg/s320/IMG_1579.JPG" alt="" id="BLOGGER_PHOTO_ID_5392458703358712530" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;225.0 lb&lt;br /&gt;&lt;br /&gt;Loss of 1.5 lb from last week. YAY!  Rebecca's sticky rice and mango dessert was awesome (I had two servings of that.) She also made some cinnamon rolls which were delicious. Rebecca took me to Cafe Rio as well on Monday and I was able to try a Banbury Cross donut, and, oh my... those are good!&lt;br /&gt;&lt;br /&gt;So with all that happening, I have still kept up on my goal to stop eating after 8 pm, drink gallon of water per day, exercise six days per week. A landscaping project on Saturday and Fast Sunday probably helped me a little as well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-2918429224429820022?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/2918429224429820022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=2918429224429820022' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2918429224429820022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2918429224429820022'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/10/48th-tuesday-weigh-in.html' title='48th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JIARIxN7KMo/StXcnseo2tI/AAAAAAAAAJM/YTeaBciDpZg/s72-c/IMG_1579.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-3693100157535957588</id><published>2009-10-05T19:53:00.000-07:00</published><updated>2009-10-07T06:31:18.938-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gain'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>47th Tuesday weigh-in</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_JIARIxN7KMo/SsqyuwN7trI/AAAAAAAAAJE/kcCh_8q878E/s1600-h/x1_f75bcc1144b733c3c5625cad5dc0795a_217057_148172.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 152px;" src="http://3.bp.blogspot.com/_JIARIxN7KMo/SsqyuwN7trI/AAAAAAAAAJE/kcCh_8q878E/s320/x1_f75bcc1144b733c3c5625cad5dc0795a_217057_148172.jpg" alt="" id="BLOGGER_PHOTO_ID_5389316420389287602" border="0" /&gt;&lt;/a&gt;226.5 lb&lt;br /&gt;&lt;br /&gt;This week I have been faithfully doing my ankle exercises and hit the gym all days but one, so 5 days. I missed one weight lifting day due to staying up until 2:00am gaming on Friday. Walking is so much easier with the heel lift, it was really miraculous, I walked out of the Dr. office faster than I have walked in years.. I can walk fast without pain through parking lots. Running is still sore on my ankle but it is not so painful that I limp-run. I am more a 'wince-runner' now. I have new duds on order from amazon. I would love to "buy local" but that usually means paying $40 more for the exact same pair of shoes, so 'local' can forget it! Last time I got a killer deal on overstock.com for my Brooks Beast's but this time they didn't have my size.&lt;br /&gt;So I guess I am up 1.5 this week from last week. I have another weigh in with the personal trainer this month that I am preparing for. I was a little down last month and I want to be down again in October.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-3693100157535957588?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/3693100157535957588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=3693100157535957588' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3693100157535957588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3693100157535957588'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/10/47th-tuesday-weigh-in.html' title='47th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_JIARIxN7KMo/SsqyuwN7trI/AAAAAAAAAJE/kcCh_8q878E/s72-c/x1_f75bcc1144b733c3c5625cad5dc0795a_217057_148172.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-9028052400029075892</id><published>2009-09-29T20:11:00.000-07:00</published><updated>2009-09-30T06:01:13.586-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>46th Tuesday weigh-in</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_JIARIxN7KMo/SsLO2ZopaEI/AAAAAAAAAI8/ty1eGXovjmE/s1600-h/1467351997_118ca4fbd0.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 295px;" src="http://3.bp.blogspot.com/_JIARIxN7KMo/SsLO2ZopaEI/AAAAAAAAAI8/ty1eGXovjmE/s320/1467351997_118ca4fbd0.jpg" alt="" id="BLOGGER_PHOTO_ID_5387095538278164546" border="0" /&gt;&lt;/a&gt;&lt;div style="text-align: center;" cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/7438870@N04/1467351997/"&gt;&lt;span style="font-size:78%;"&gt;&lt;a rel="cc:attributionURL" href="http://www.flickr.com/photos/7438870@N04/"&gt;source: http://www.flickr.com/photos/7438870@N04/&lt;/a&gt; / &lt;a rel="license" href="http://creativecommons.org/licenses/by/2.0/"&gt;CC BY 2.0&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;225.0 lb&lt;br /&gt;&lt;br /&gt;I did all my exercises (3 cardio 3 weight lifting) and watched my food intake carefully. I have had some major pain in my ankle this last weekend, so much that walking was excruciating. So I met with a physical therapist this week. It would have been easy to just let the ankle injury pain keep me away from the gym, but instead I turned it around and made it into something I plan to beat rather than be beaten by it. I made a mistake once before of taking time off from the gym to rest a painful heel, but a week turned to a month and I was off track for a long time after. The physical therapist informed me that my left leg is 1 cm shorter than my right leg, and I am a severe over-pronator. My feet are tight and have very little flexibility and it appears my lack of flexibility is a mechanical issue from short Achilles tendons. He put a shoe insert  under just my left heel and walking is much nicer for me with it in. I also need to switch out my running shoes more frequently than I have been, every 6 months, going forward. I have a set of exercises I need to do to strengthen my ankle and leg muscles as well. Things like balance on one foot for one minute three times. If I do all this, I will be broke from buying shoes, and look goofy at the gym doing the flamingo, but I will able to run/walk comfortably. So I plan to go for it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-9028052400029075892?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/9028052400029075892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=9028052400029075892' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/9028052400029075892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/9028052400029075892'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/09/46th-tuesday-weigh-in.html' title='46th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_JIARIxN7KMo/SsLO2ZopaEI/AAAAAAAAAI8/ty1eGXovjmE/s72-c/1467351997_118ca4fbd0.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-8049101635561998919</id><published>2009-09-23T18:16:00.001-07:00</published><updated>2009-09-23T18:27:27.679-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>45th Tuesday weigh-in</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JIARIxN7KMo/SrrJQs1iHEI/AAAAAAAAAI0/FXA52atqh0k/s1600-h/IMG_1605.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 214px;" src="http://1.bp.blogspot.com/_JIARIxN7KMo/SrrJQs1iHEI/AAAAAAAAAI0/FXA52atqh0k/s320/IMG_1605.JPG" alt="" id="BLOGGER_PHOTO_ID_5384837593225632834" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;225.0 lb&lt;br /&gt;&lt;br /&gt;That's more like it, down 1.5 lb. It's good to show a loss today as I have a health assessment with the trainee-trainer on Thursday.  I do need to make a correction from last week, Rebecca is &lt;span style="font-style: italic;"&gt;skinnier &lt;/span&gt;and looks even &lt;span style="font-style: italic;"&gt;better &lt;/span&gt;now than when we were first engaged and married. So she is not as attractive as when we married, she is even &lt;span style="font-weight: bold;"&gt;more &lt;/span&gt;attractive to me. However, I do have to correct her from time to time, because she sometimes says, "- back when we were dating..." and I have to remind her that we haven't stopped dating by taking her out. If you have ideas for fun dates I could take her on, then please let me know. If the idea is really good, I will surprise her with it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-8049101635561998919?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/8049101635561998919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=8049101635561998919' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/8049101635561998919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/8049101635561998919'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/09/45th-tuesday-weigh-in.html' title='45th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_JIARIxN7KMo/SrrJQs1iHEI/AAAAAAAAAI0/FXA52atqh0k/s72-c/IMG_1605.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-3711183908496982541</id><published>2009-09-15T20:37:00.001-07:00</published><updated>2009-09-15T21:02:44.744-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gain'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>44th Tuesday weigh-in</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JIARIxN7KMo/SrBgykHEZLI/AAAAAAAAAIs/_tZtmtPd5uQ/s1600-h/P9050041.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_JIARIxN7KMo/SrBgykHEZLI/AAAAAAAAAIs/_tZtmtPd5uQ/s320/P9050041.JPG" alt="" id="BLOGGER_PHOTO_ID_5381907976510792882" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;226.5 lb&lt;br /&gt;&lt;br /&gt;Strange to be up so much, I didn't overeat all week until Friday night when I had waaay more pizza than I should have. Then I took the family to the Pleasant Grove Hog's Heaven CookOff on Saturday night and enjoyed some nice ribs and pulled pork. We got leftovers so it was BBQ Sunday and Monday too. But I really don't think I am "up", just retaining water / extra food from the weekend of extra grease and salt. I don't feel heavy and did exercise the entire week consistently. If I can lose body fat and gain muscle, that is fine with me.&lt;br /&gt;&lt;br /&gt;I am as motivated as ever to post good numbers here and at my monthly weigh-in with the "impersonal" trainer, Heather. Seriously she has been a huge let down. It has been like torture to get any kind of personalized help from her, she just wants to measure this and weigh that, then give me a pre-printed handout and a smile-see-ya-next-month-bah-bye. If anything she has demotivated more than motivated. So Heather gets zero credit from me for any progress I am making.&lt;br /&gt;&lt;br /&gt;My plan for next week is to push myself at the gym on cardio harder than I have been. I also plan to eat midmeal snacks so I am not tempted to overeat at dinner. Finally, I like Rebecca's strategy to stop eating by 8pm, so I am stealing that one from her. Rebecca, by the way, has been rocking it in weight loss these past few months and is breaking out skinny clothes left and right. She really puts me to shame with her progress, her pants are loose and her figure is as stunning as when we got married.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-3711183908496982541?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/3711183908496982541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=3711183908496982541' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3711183908496982541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3711183908496982541'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/09/44th-tuesday-weigh-in.html' title='44th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_JIARIxN7KMo/SrBgykHEZLI/AAAAAAAAAIs/_tZtmtPd5uQ/s72-c/P9050041.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-1280236984678835877</id><published>2009-09-08T18:17:00.000-07:00</published><updated>2009-09-08T18:50:38.990-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>43rd Tuesday weigh-in</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JIARIxN7KMo/SqcHxawjyQI/AAAAAAAAAIk/0Ecu8nq7B50/s1600-h/3209939998_c0028232b0.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 213px; height: 320px;" src="http://2.bp.blogspot.com/_JIARIxN7KMo/SqcHxawjyQI/AAAAAAAAAIk/0Ecu8nq7B50/s320/3209939998_c0028232b0.jpg" alt="" id="BLOGGER_PHOTO_ID_5379276825495324930" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;Image: flickr &lt;a href="http://www.flickr.com/photos/pinksherbet/"&gt;owner D Sharon Pruitt&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;225 lb&lt;br /&gt;&lt;br /&gt;Down 0.5 lb. I worked out all week in Austin and didn't let jet lag stop me from going on Saturday either. When I ran the neighborhood 5K earlier this year a neighbor commented to me after, "Harley, you're an animal." And they meant it, that felt good to hear; I wish I had a video of it to watch to help me stay motivated.&lt;br /&gt;&lt;br /&gt;I asked Rebecca to look at the photo I posted last week and compare it to me now. She could not tell if I looked much different now than in the photo at Halloween in 2008, all I can say to that is: ouch.. I can tell you I lift a lot more weight now than I did in 2008. Exercises that were tough at 100 lbs, I do now at 135 lbs. I have been able to do lifts heavier than I ever recorded or can remember doing them. I do more cardio now than in Oct 2008 also. My blood pressure is lower, cholesterol is at a healthier level, I have less body fat too. But the truth is the truth, I do not look much different on the outside and have not lost much weight in almost 12 months. Some of my pants are still snug which I was hoping would be loose by now, at least I am not afraid they will tear open when bending over or the button fall off taking a deep breath. I didn't have a personal trainer in Oct 2008 or any real clear goals for my health. Yes I could have crash dieted and suffered and struggled against myself and pushed myself much harder, but I have no regrets. I am happy with the progress.&lt;br /&gt;&lt;br /&gt;I guess I am just saying I have changed and continue to change whether is shows on the outside or not, whether the numbers on the scale are good or not, I am changing slowly and the change is from the inside out. One day the outside will catch up to the inside. The inscription on my iPod Rebecca gave me says: &lt;span style="font-weight: bold;"&gt;Be the change...&lt;/span&gt; which is part of a favorite quote of mine: Be the change you want to see in the world. Good motto to live by if you ask me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-1280236984678835877?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/1280236984678835877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=1280236984678835877' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1280236984678835877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1280236984678835877'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/09/43rd-tuesday-weigh-in.html' title='43rd Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JIARIxN7KMo/SqcHxawjyQI/AAAAAAAAAIk/0Ecu8nq7B50/s72-c/3209939998_c0028232b0.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-7046940615231441128</id><published>2009-09-05T20:53:00.000-07:00</published><updated>2009-09-05T21:06:22.444-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gain'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>42nd Tuesday weigh-in</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_JIARIxN7KMo/SqM0NWOlczI/AAAAAAAAAIc/xwC8c4dCew8/s1600-h/PB010003.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_JIARIxN7KMo/SqM0NWOlczI/AAAAAAAAAIc/xwC8c4dCew8/s320/PB010003.JPG" alt="" id="BLOGGER_PHOTO_ID_5378199783920202546" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;226.5 lb&lt;br /&gt;&lt;br /&gt;Up 1.0 lb from last Tuesday, synopsis is: travel sucks. Anyway I made some dietary u-turns and by Friday I was back to 225.5 lb despite the non-stop buffet available to me. I was hard to turn down my manager / client for dinner but I ate with him once that week and had planned on a lunch with him as well, enough's enough. I am proud that I didn't have soda or appetizers and that I worked out every day of the week of travel. Photo is me from 2008 Halloween party, probably the closest photo I have of myself back when I started my Tuesday weigh-ins in Nov 2008. I was a "farmer" for Halloween that year. It is fitting that I am eating a candy bar... that is how I got so off track, one snack at a time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-7046940615231441128?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/7046940615231441128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=7046940615231441128' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/7046940615231441128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/7046940615231441128'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/09/42nd-tuesday-weigh-in.html' title='42nd Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_JIARIxN7KMo/SqM0NWOlczI/AAAAAAAAAIc/xwC8c4dCew8/s72-c/PB010003.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-9037834229003173207</id><published>2009-08-26T13:51:00.000-07:00</published><updated>2009-08-26T14:13:41.502-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>41st Tuesday weigh-in</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_JIARIxN7KMo/SpWhguN1UpI/AAAAAAAAAIU/056f7zQBjUk/s1600-h/P8260002.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_JIARIxN7KMo/SpWhguN1UpI/AAAAAAAAAIU/056f7zQBjUk/s320/P8260002.JPG" alt="" id="BLOGGER_PHOTO_ID_5374379313870492306" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;225.5 lb&lt;br /&gt;&lt;br /&gt;Loss of 0.5 lb from last week. I have been drinking a gallon of water per day for a few weeks as well as hitting the gym all six planned days. I think drinking lots water helps me feel better and I am always well hydrated. I still have days where I am totally wiped out of all energy, usually Sunday after gaming on Saturday... Also finally had my monthly weigh-in with the personal trainer and I was down 1% body fat from last month.&lt;br /&gt;&lt;br /&gt;As the above picture illustrates: we have an overflow of zucchini from our garden, tomatoes go as fast as they're ready. Joeseph and Sue came by our house recently and I got to serve them up some of my garden tomatoes which were promptly devoured and then gushed over. Tomatoes are so good raw with a little salt, but an open-faced tomato-mayo sandwich on homemade dutch-oven bread is fantastic. Store-bought tomatoes are painful to eat once you have had the real deal. We don't keep up with the yellow summer squash either but have some zucchini and squash two or three times a week at minimum. My mom says I should make ratatouille with all this stuff... I just need eggplant. Rebecca freezes and gives away some zucchini to try and use all that the garden is producing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-9037834229003173207?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/9037834229003173207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=9037834229003173207' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/9037834229003173207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/9037834229003173207'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/08/41st-tuesday-weigh-in.html' title='41st Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_JIARIxN7KMo/SpWhguN1UpI/AAAAAAAAAIU/056f7zQBjUk/s72-c/P8260002.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-5281242906830121655</id><published>2009-08-19T20:02:00.000-07:00</published><updated>2009-08-19T20:19:56.945-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loss'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>40th Tuesday weigh-in</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_JIARIxN7KMo/SozAB6CCX1I/AAAAAAAAAIM/HPoClKrgvLk/s1600-h/weights-barbell-dumbell-78496-l.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 213px;" src="http://4.bp.blogspot.com/_JIARIxN7KMo/SozAB6CCX1I/AAAAAAAAAIM/HPoClKrgvLk/s320/weights-barbell-dumbell-78496-l.jpg" alt="" id="BLOGGER_PHOTO_ID_5371879594536361810" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-family: arial;"&gt;source: &lt;a href="http://www.flickr.com/photos/ericmcgregor/346990046/"&gt;http://www.flickr.com/photos/ericmcgregor/346990046/&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;226.0 lb&lt;br /&gt;&lt;br /&gt;Down 0.5 lb from last Tuesday. Yay a loss. The camping trip did not "trip" me up.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-5281242906830121655?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/5281242906830121655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=5281242906830121655' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5281242906830121655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5281242906830121655'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/08/40th-tuesday-weigh-in.html' title='40th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_JIARIxN7KMo/SozAB6CCX1I/AAAAAAAAAIM/HPoClKrgvLk/s72-c/weights-barbell-dumbell-78496-l.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-4467781600645027761</id><published>2009-08-17T08:32:00.001-07:00</published><updated>2009-08-17T08:41:25.077-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>39th Tuesday weigh-in</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JIARIxN7KMo/Sol5nqxfISI/AAAAAAAAAIE/OLCgACs6ZnA/s1600-h/z+010a.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 240px; height: 320px;" src="http://1.bp.blogspot.com/_JIARIxN7KMo/Sol5nqxfISI/AAAAAAAAAIE/OLCgACs6ZnA/s320/z+010a.jpg" alt="" id="BLOGGER_PHOTO_ID_5370957753019736354" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;photo courtesy of &lt;a href="http://photodaisy.blogspot.com/"&gt;http://photodaisy.blogspot.com/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;226.5 lb&lt;br /&gt;&lt;br /&gt;I really need to post my weight on time. Same as the previous week, no change. I am not fazed by it. I had a camping trip scheduled and have planned on being extra cautious so I am not up for my personal trainer weigh-in next week.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-4467781600645027761?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/4467781600645027761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=4467781600645027761' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4467781600645027761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4467781600645027761'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/08/39th-tuesday-weigh-in.html' title='39th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_JIARIxN7KMo/Sol5nqxfISI/AAAAAAAAAIE/OLCgACs6ZnA/s72-c/z+010a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-8430903623952630836</id><published>2009-08-05T05:53:00.000-07:00</published><updated>2009-08-05T05:58:23.135-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gain'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>38th Tuesday weigh-in</title><content type='html'>226.5 lb&lt;br /&gt;&lt;br /&gt;I did really well last week on exercise (6 days, 3 cardio, 3 lifting) but... starting on Thursday with lunch at JCW's with some friends from Novell, then dinner at Chili's with Rebecca on Friday, then french fries and game night candy+soda on Saturday and finally a roast dinner on Sunday... I am lucky to be back down to only 1/2 lb up. &lt;br /&gt;My percent body fat is 29% so I think I am keeping muscle while doing this which is a plus.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-8430903623952630836?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/8430903623952630836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=8430903623952630836' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/8430903623952630836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/8430903623952630836'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/08/38th-tuesday-weigh-in.html' title='38th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-8053512835997100176</id><published>2009-08-03T14:04:00.000-07:00</published><updated>2009-08-03T14:15:15.969-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gain'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>37th Tuesday weigh-in</title><content type='html'>226 lb&lt;br /&gt;&lt;br /&gt;Yuck I did not do well last week, even slacked off on posting this dismal weigh-in until a day before the 38th weigh in. Anything I write is just and excuse for too much food intake and not enough sweat output. &lt;br /&gt;&lt;br /&gt;I tried out Lincoln's new stationary bike, it is silent, and by that I mean all you can hear while using it is your wheezing asthmatic breathing and thumping heart beats as it tries to pump blood through cholesterol clogged arteries. I did however dominate a 30 minute program giving myself a slight ego boost. The fear of losing my XBOX has kept me at the gym all the past week to stem the tide of gains. I have even downed over a gallon of water today to try and release any/all retained water.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-8053512835997100176?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/8053512835997100176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=8053512835997100176' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/8053512835997100176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/8053512835997100176'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/08/37th-tuesday-weigh-in.html' title='37th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-3197095220096555127</id><published>2009-07-23T08:34:00.000-07:00</published><updated>2009-07-23T08:39:18.524-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>36th Tuesday weigh-in</title><content type='html'>224.5 lb&lt;br /&gt;&lt;br /&gt;No change. The birthday party and pizza party in Cedar City didn't help me lose. I feel good though. I love exercising and having more energy from exercise, I just don't love the sore feet and ankles.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-3197095220096555127?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/3197095220096555127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=3197095220096555127' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3197095220096555127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3197095220096555127'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/07/36th-tuesday-weigh-in.html' title='36th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-5425578622395007359</id><published>2009-07-16T08:40:00.000-07:00</published><updated>2009-07-16T08:47:56.898-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gain'/><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>35th Tuesday weigh-in</title><content type='html'>224.5 lb&lt;br /&gt;&lt;br /&gt;Neglected to post the bad news of a gain, until now. The steaks and cake I had on Sunday are probably the primary cause of my gain on Tuesday but I think they were worth it. I have been much better this week (since Sunday) by eating shakes for lunch and dinner and eating much more fresh fruits and vegetables. I have a weigh in on this Friday with a personal trainer as well. I really want to show at least a fat percentage loss for that weigh-in as it will track my progress for the past month. I can establish a habit of consistent exercise and go for a long streak of consistent exercise but after a consecutive three days of slacking off, it is really hard for me to get back in the habit again.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-5425578622395007359?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/5425578622395007359/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=5425578622395007359' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5425578622395007359'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5425578622395007359'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/07/35th-tuesday-weigh-in.html' title='35th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-2509451020727676887</id><published>2009-07-11T14:31:00.000-07:00</published><updated>2009-07-11T15:12:16.975-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>A certain neice told me something</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JIARIxN7KMo/SlkGIKzaEpI/AAAAAAAAAHk/qLu8i1R2jTA/s1600-h/IMG_1446.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 214px;" src="http://2.bp.blogspot.com/_JIARIxN7KMo/SlkGIKzaEpI/AAAAAAAAAHk/qLu8i1R2jTA/s320/IMG_1446.JPG" border="0" alt="The family taken by Hannah last week." id="BLOGGER_PHOTO_ID_5357319969142608530" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Shortly after I got married in 2005, this niece said to me, "Now that you're married, you're going to get fat." I took it as a challenge and complement at the same time.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;While I am not thin now (..yet), what she didn't know is I certainly am not as fat as I was before marriage, BEHOLD:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_JIARIxN7KMo/SlkJshvJbuI/AAAAAAAAAHs/4suybsAnov0/s1600-h/IMG48002.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_JIARIxN7KMo/SlkJshvJbuI/AAAAAAAAAHs/4suybsAnov0/s320/IMG48002.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5357323892308930274" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The above is me on the left "living the dream" at 320 lbs. So yes I am down about 100lbs from 2002 and I did it without surgery or personal trainers/expensive diet food etc... I do owe a lot to a Nordic Track recumbent bike and a book called "Body for Life" by Bill Philips.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_JIARIxN7KMo/SlkNaW4qnrI/AAAAAAAAAH4/QWdo-h5n6xs/s1600-h/IMG48003.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_JIARIxN7KMo/SlkNaW4qnrI/AAAAAAAAAH4/QWdo-h5n6xs/s320/IMG48003.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5357327978204929714" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;In your face niece! &lt;i&gt;She's probably too busy and/or cool to read my blog anyway.&lt;/i&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-2509451020727676887?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/2509451020727676887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=2509451020727676887' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2509451020727676887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2509451020727676887'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/07/certain-neice-told-me-something.html' title='A certain neice told me something'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_JIARIxN7KMo/SlkGIKzaEpI/AAAAAAAAAHk/qLu8i1R2jTA/s72-c/IMG_1446.JPG' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-963593506516012702</id><published>2009-07-09T09:49:00.000-07:00</published><updated>2009-07-09T10:01:21.311-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>34th Tuesday weigh-in</title><content type='html'>223lb&lt;br /&gt;&lt;br /&gt;Up 1 lb again. I have been having too much food on the vacation. Got my XBOX360 setup with a short network cable but need a longer cable and phone jack installed to make the setup permanent (i.e. not having wires strung up everywhere). Rebecca signed up for NetFlix and so we watched Wall-e via XBOX last night. Linc was able to setup my VMware to run OSX and the iPhone SDK and used it to finish Assignment 1A for the Stanford iPhone development class.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-963593506516012702?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/963593506516012702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=963593506516012702' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/963593506516012702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/963593506516012702'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/07/34th-tuesday-weigh-in.html' title='34th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-3501382474139586372</id><published>2009-07-01T14:44:00.000-07:00</published><updated>2009-07-01T14:53:13.770-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>33rd Tuesday weigh-in</title><content type='html'>222 lb&lt;br /&gt;&lt;br /&gt;1.0 lb loss from last week. I was hoping for more but that is almost always the case. I am sore from doing dumbbell lunges, I only did 24 reps but it was enough to cause some major tightness and soreness today.&lt;br /&gt;I watched the wedding video we had done with Rebecca on our anniversary and I can't tell if I am heavier or lighter now than I was back then. I think that is a good thing because it probably means I am about the same weight as I was then. Next year I plan on mocking my former self as a wimp and a fatty by losing more weight and building more muscle. Just finished a homemade sandbox for the back yard but 10 bags of sand was not nearly enough, 20 more bags and we will have a pretty sweet play area for Eleanor. I have some pics but they are still on the camera which does you no good.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-3501382474139586372?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/3501382474139586372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=3501382474139586372' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3501382474139586372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3501382474139586372'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/07/33rd-tuesday-weigh-in.html' title='33rd Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-2584204638336830464</id><published>2009-06-28T13:58:00.001-07:00</published><updated>2009-06-28T14:16:22.989-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><category scheme='http://www.blogger.com/atom/ns#' term='gardening'/><title type='text'>Last Sunday in June</title><content type='html'>&lt;p&gt;This year has been unusually wet. I think today has been a more typical June weather day and so I got the urge to take some pictures.&lt;/p&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_JIARIxN7KMo/Skfb9CAp6bI/AAAAAAAAAHU/XmsyIb6pkL4/s1600-h/100_4076.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_JIARIxN7KMo/Skfb9CAp6bI/AAAAAAAAAHU/XmsyIb6pkL4/s320/100_4076.JPG" alt="" id="BLOGGER_PHOTO_ID_5352488523711244722" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JIARIxN7KMo/SkfbtRpreVI/AAAAAAAAAHM/1pGpvYMXRE0/s1600-h/100_4077.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 240px; height: 320px;" src="http://2.bp.blogspot.com/_JIARIxN7KMo/SkfbtRpreVI/AAAAAAAAAHM/1pGpvYMXRE0/s320/100_4077.JPG" alt="" id="BLOGGER_PHOTO_ID_5352488253031938386" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;Our peach tree and "baby J" honey crisp apple trees also look fantastic this year; I wish we had thought to plant a tree the year E was born as well.&lt;/p&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JIARIxN7KMo/SkfbiITrbMI/AAAAAAAAAHE/Jmb_6lmI5IU/s1600-h/100_4075.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_JIARIxN7KMo/SkfbiITrbMI/AAAAAAAAAHE/Jmb_6lmI5IU/s320/100_4075.JPG" alt="" id="BLOGGER_PHOTO_ID_5352488061545180354" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JIARIxN7KMo/SkfbU2zth2I/AAAAAAAAAG8/E-mFabNwExo/s1600-h/100_4074.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_JIARIxN7KMo/SkfbU2zth2I/AAAAAAAAAG8/E-mFabNwExo/s320/100_4074.JPG" alt="" id="BLOGGER_PHOTO_ID_5352487833509398370" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;I took some shots in the garden of our tomato, zucchini, and squash plants. &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_JIARIxN7KMo/Skfaskv7wKI/AAAAAAAAAG0/EfaqrM2PWUk/s1600-h/100_4071.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_JIARIxN7KMo/Skfaskv7wKI/AAAAAAAAAG0/EfaqrM2PWUk/s320/100_4071.JPG" alt="" id="BLOGGER_PHOTO_ID_5352487141466947746" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;I started two batches of no-knead dutch oven bread last night and baked them today to go with dinner. &lt;/p&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_JIARIxN7KMo/SkfaRbCZhoI/AAAAAAAAAGs/049t9fRJi00/s1600-h/100_4070.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_JIARIxN7KMo/SkfaRbCZhoI/AAAAAAAAAGs/049t9fRJi00/s320/100_4070.JPG" alt="" id="BLOGGER_PHOTO_ID_5352486675003573890" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_JIARIxN7KMo/SkfZykfym_I/AAAAAAAAAGk/1nXQvwJsp9A/s1600-h/100_4068.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_JIARIxN7KMo/SkfZykfym_I/AAAAAAAAAGk/1nXQvwJsp9A/s320/100_4068.JPG" alt="" id="BLOGGER_PHOTO_ID_5352486144966826994" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;E helped pick carrots out of the garden. Which we peeled and put into a crock pot for a roast tonight. &lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_JIARIxN7KMo/SkfcQPkT1uI/AAAAAAAAAHc/za3mkJyCNAY/s1600-h/100_4073.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_JIARIxN7KMo/SkfcQPkT1uI/AAAAAAAAAHc/za3mkJyCNAY/s320/100_4073.JPG" alt="" id="BLOGGER_PHOTO_ID_5352488853767968482" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;Rebecca and I want to start planning our landscaping (not that we have money to invest in it yet..) We need more shade in the backyard and want to put in some shade trees.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-2584204638336830464?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/2584204638336830464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=2584204638336830464' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2584204638336830464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2584204638336830464'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/06/last-sunday-in-june.html' title='Last Sunday in June'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_JIARIxN7KMo/Skfb9CAp6bI/AAAAAAAAAHU/XmsyIb6pkL4/s72-c/100_4076.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-577578099799136266</id><published>2009-06-24T07:38:00.000-07:00</published><updated>2009-06-24T07:40:48.604-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>32nd Tuesday weigh-in</title><content type='html'>223 lb&lt;br /&gt;&lt;br /&gt;Same as last week and I have missed two of the last three workouts this week. I have just been tired and the bed is too comfortable. I think I have been doing ok on my portions and food; I just have not been exercising consistently.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-577578099799136266?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/577578099799136266/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=577578099799136266' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/577578099799136266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/577578099799136266'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/06/32nd-tuesday-weigh-in.html' title='32nd Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-5855907656460198644</id><published>2009-06-22T07:53:00.000-07:00</published><updated>2009-06-22T08:05:50.567-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>Rest in Peace Layton E</title><content type='html'>He could play the guitar so well. I owe a lot to him, growing up I wanted to be like him, specifically I wanted to be smart and make good money in the computer industry. He was an inspiration to me. He loved to play music. Layton was a brilliant engineer and designed processor chips with a drafting table, pencil, and ruler! He was a math genius and could prove if a chip had been designed with flaws that would cause heat issues by doing matrix inversions of the transistors (or something way more cool and complecated). He designed chips that could run on mili-amps or even pico-amps of power. He had some niche knowledge that was in very high demand and rare to find and could work with other very smart people and hold his own. Layton wasn't perfect, none of us are. I am not perfect and have just as many flaws as Layton, if not more. Rest in Peace Layton, I hope they have rock music in heaven. I miss you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-5855907656460198644?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/5855907656460198644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=5855907656460198644' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5855907656460198644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5855907656460198644'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/06/rest-in-peace-layton-e.html' title='Rest in Peace Layton E'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-6235212579075017175</id><published>2009-06-16T09:08:00.001-07:00</published><updated>2009-06-16T09:11:29.118-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>31st Tuesday weigh-in</title><content type='html'>223 lb&lt;br /&gt;&lt;br /&gt;Up 0.5 lb, I was sick the whole week and did not make it to the gym until this Monday when I did stairmaster for 30 mins. I am glad I am not gaining that much without exercise and now that I am recuperated, time to get back on the treadmill and drop some more pounds.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-6235212579075017175?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/6235212579075017175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=6235212579075017175' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6235212579075017175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6235212579075017175'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/06/31st-tuesday-weigh-in.html' title='31st Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-6914283374799843308</id><published>2009-06-10T10:21:00.000-07:00</published><updated>2009-06-10T10:28:33.738-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>30th Tuesday weigh-in</title><content type='html'>222.5 lb&lt;br /&gt;&lt;br /&gt;Up 1 lb from last week. I have been sick since Sunday and missed workouts Mon,Tues and Wed this week to rest and recuperate. I enjoyed weight lifting three days a week last week, I am going to continue that once I am recovered.&lt;br /&gt;Rebecca has helped me to save money and eat less junk and more vegetables by making dinner at home on the weekend. Thank you Rebecca!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-6914283374799843308?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/6914283374799843308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=6914283374799843308' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6914283374799843308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6914283374799843308'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/06/30th-tuesday-weigh-in.html' title='30th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-2630393131137590027</id><published>2009-06-03T07:20:00.001-07:00</published><updated>2009-06-03T07:32:07.944-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>29th Tuesday weigh-in</title><content type='html'>221.5 lb&lt;br /&gt;&lt;br /&gt;No change from last week. I think my indulgences at Wing Shack, Chili's (ribs), Bombay House (Chicken Makhani and Chicken Coconut Kuruma) with Naan, and Good and Plenty candies were enough to keep me from a loss, thankfully I kicked my butt on a 5K to keep from gaining.&lt;br /&gt;&lt;br /&gt;Rebecca has been adding in vegetables to meals more and more. The problem I have with vegetables is gas... ever since I started drinking a V8 in the morning, I have been having intestinal trouble and feel bloated.&lt;br /&gt;&lt;br /&gt;I have been tracking my weight weekly for over 200 days now but have not really lost even 20 lbs. So if you see me with a doughnut, slap my hand so I drop it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-2630393131137590027?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/2630393131137590027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=2630393131137590027' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2630393131137590027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/2630393131137590027'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/06/29th-tuesday-weigh-in.html' title='29th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-5728994141611833635</id><published>2009-06-01T14:19:00.000-07:00</published><updated>2009-06-01T14:25:03.630-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>Ran a 5K on Saturday</title><content type='html'>My feet are super sore, bruised, swollen and stiff after running a 5K. Do I need to run more often? Or only run on flat treadmills/track surfaces? Rebecca says I am banned from running on pavement.&lt;br /&gt;&lt;br /&gt;I think I did it in about 35 minutes, it was a disorganized 5K... but free so I can't complain. Next time, if there ever is one, I will take a watch so I can know how long I take to run it. I did it pushing E in our mountain buggy jogging stroller, and no walking or stopping. Bad news is my weight is still high today. I hope to break even tomorrow on the scale. ...Run a 5K and still gain weight... that ain't right. We also helped clean the LDS chapel after the 5K, so it was a busy morning Saturday.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-5728994141611833635?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/5728994141611833635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=5728994141611833635' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5728994141611833635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5728994141611833635'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/06/ran-5k-on-saturday.html' title='Ran a 5K on Saturday'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-5200201534264755652</id><published>2009-05-28T08:34:00.000-07:00</published><updated>2009-05-28T08:38:45.336-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>28th Tuesday weigh-in</title><content type='html'>221.5 lb&lt;br /&gt;&lt;br /&gt;Loss of 0.5 lb from last week.&lt;br /&gt;&lt;br /&gt;I really cannot convey how fantastic weekly weigh-ins are for me. There is no escape, every Tuesday I have to face the facts. Did I exercise ? Did I track my eating? The scale doesn't lie, it just weighs my fat butt. If I let myself slip on week, I can make a correction quickly... I really would hate to dig myself out of a hole only to fall back in again because I let old habits return.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-5200201534264755652?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/5200201534264755652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=5200201534264755652' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5200201534264755652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5200201534264755652'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/05/28th-tuesday-weigh-in.html' title='28th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-4386681170037978313</id><published>2009-05-21T13:57:00.000-07:00</published><updated>2009-05-21T14:35:04.314-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>27th Tuesday weigh-in</title><content type='html'>222 lb&lt;br /&gt;&lt;br /&gt;two steps forward and two steps back, gain of 2lb from last week. I actually am not too concerned with this because I started lifting again and that can cause water retention. To be 100% honest, I also ate more than I should have over the weekend which included soda, candy, salty chips and crackers and birthday desserts, i.e. lots of junk.&lt;br /&gt;&lt;br /&gt;I started lifting because my new personal trainer recommended it. Also my personal trainer recommended my base calories be 2200, thedailyplate had me at ~1800... according to her, I should lose 1 lb a week from staying at 2200 calories per day. Any exercise on top would be additional loss of weight. She also said diet should not be restricted to lose more than 1 lb per week and the rest of weight loss should come from exercise rather than further calorie restrictions. She told me if I eat less calories than my basal metabolic rate, then I will lose muscle rather than fat due to my body entering starvation mode. So I really hope I have not been doing damage to myself for the past six months slowing down my metabolism and losing muscle etc... My numbers are looking scary, my bodyfat measured by the trainer was still 23.5%.. it was at that in January... when I weighed 229 lb..&lt;br /&gt;&lt;br /&gt;I am sad to miss camping this weekend due to rainy weather but will have fun anyway and not have to sit in memorial day traffic.  Rebecca and I are planning to buy a van and sell her car but the main hangup we have is gas mileage... the van only gets 18 mpg city... and we would have to get a loan on it (we both despise debt.) The homemade panini's were fabulous, what a great idea. Rebecca got a George foreman grill so we can continue having them at home.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-4386681170037978313?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/4386681170037978313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=4386681170037978313' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4386681170037978313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4386681170037978313'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/05/27th-tuesday-weigh-in.html' title='27th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-4289797481956289601</id><published>2009-05-12T15:26:00.000-07:00</published><updated>2009-05-12T15:32:24.307-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>26th Tuesday weigh-in</title><content type='html'>219 lb&lt;br /&gt;&lt;br /&gt;2lb loss from last week. Goal I set was to lose around 19 more by July 17th. Tracking what I eat helped with the loss, also running a chainsaw for a few hours cutting firewood along with manually cutting down a few dead branches with Randy and a long rope saw contraption helped burn off the campfire smores. Rebecca has pictures of Eleanor camping, pester her to post them.&lt;br /&gt;&lt;br /&gt;Side note: The garden is looking good I can see lots of chard and radishes, maybe a few beets and carrots too. My tomato plants are huge! I need to plant them in the garden before too long. I also need to gather up the stuff for a garden drip system, turn on my sprinklers before the free rain stops, and buy some black plastic for the tomatoes to grow over...&lt;br /&gt;&lt;br /&gt;Busy Busy Busy&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-4289797481956289601?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/4289797481956289601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=4289797481956289601' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4289797481956289601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/4289797481956289601'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/05/26th-tuesday-weigh-in.html' title='26th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-3875562596345724031</id><published>2009-05-07T08:16:00.000-07:00</published><updated>2009-05-07T08:24:52.251-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>25th Tuesday weigh-in</title><content type='html'>221 lb&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Up 2 lb. Too much salt and candy and too little water and vegetables I think. Oh and the homemade bread is addictive. I did stay with my daily cardio exercise.&lt;br /&gt;&lt;br /&gt;I am really glad I do this each week. It keeps me honest with myself on what I am doing and what I am not doing. The main reasons for the gain this week is because of snacking and not being accountable on the dailyplate for what I was eating in the evenings and on the weekend. Also, I have been drinking a lot of caffine (at least two 12 oz cans per day) and so I have not been sleeping/feeling as well as I could be.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-3875562596345724031?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/3875562596345724031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=3875562596345724031' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3875562596345724031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/3875562596345724031'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/05/25th-tuesday-weigh-in.html' title='25th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-5967288103384277650</id><published>2009-04-28T18:46:00.000-07:00</published><updated>2009-04-28T18:52:03.832-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>24th Tuesday weigh-in</title><content type='html'>219.0 lb&lt;br /&gt;&lt;br /&gt;Down 0.5 lb from last week. Total loss of 8.5 lb toward goal to lose 30 by my birthday.&lt;br /&gt;&lt;br /&gt;Found my shoes on overstock.com for $74... so at least I did not pay $120 twice... but I am still arg som en spik!&lt;br /&gt;&lt;br /&gt;I missed one morning cardio workout this past week, I just didn't wake up in time.&lt;br /&gt;&lt;br /&gt;Still haven't started the lunch or after work weight lifting at Gold's. Maybe if Linc were to join...&lt;br /&gt;&lt;br /&gt;I think I overate over the weekend so I was not able to post a higher loss, but even 0.5lb is better than staying the same or gaining it back.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-5967288103384277650?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/5967288103384277650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=5967288103384277650' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5967288103384277650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5967288103384277650'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/04/24th-tuesday-weigh-in.html' title='24th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-6438780043943741591</id><published>2009-04-23T15:23:00.000-07:00</published><updated>2009-04-23T15:34:35.287-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>23rd Tuesday weigh-in</title><content type='html'>219.5lb&lt;br /&gt;&lt;br /&gt;Down 0.5 lb from last week. Total loss of 8lb toward my new goal I set on weigh-in 18 to lose 30 lbs by my birthday.&lt;br /&gt;&lt;br /&gt;12 weeks and 19.5lbs to go. Goal is still doable but I need more 2.5lb loss weeks to give me a comfortable buffer for any bad weigh-in weeks.&lt;br /&gt;&lt;br /&gt;I haven't been hitting the gym at lunch which I plan to pick up again. I had two pairs of shoes before Austin but am back down to one because I left a new pair at the hotel and they didn't put them in the lost and found. So my new $120 shoes are gone and I have to shuffle my old pair around until I have time/money to re-buy some more.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-6438780043943741591?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/6438780043943741591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=6438780043943741591' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6438780043943741591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6438780043943741591'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/04/23rd-tuesday-weigh-in.html' title='23rd Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-200171152264476123</id><published>2009-04-05T18:00:00.001-07:00</published><updated>2009-04-16T10:22:00.748-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>22nd Tuesday weigh-in</title><content type='html'>220 lb&lt;br /&gt;&lt;br /&gt;Easter dinner is a killer for a diet. I skipped lunch but still ended up 2000 calories over that day.&lt;br /&gt;Have not missed any workouts at least.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-200171152264476123?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/200171152264476123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=200171152264476123' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/200171152264476123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/200171152264476123'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/04/22nd-tuesday-weigh-in.html' title='22nd Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-6670184304749870529</id><published>2009-04-05T17:59:00.000-07:00</published><updated>2009-04-13T10:52:41.674-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>21st Tuesday weigh-in</title><content type='html'>??? lb&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;(218 lb on Saturday, loss of 2.5 from the week before)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;No scale to use, I will update with my weight on Saturday again.&lt;br /&gt;&lt;br /&gt;I am really digging thedailyplate on livestrong.com, might even spring for a gold membership. I think I am on track to lose 2 lbs but we'll see. It will be good to be back on a schedule like I was before, weighing in each Tuesday, but I am not letting myself become a victim of circumstances. I haven't missed a single workout in the past three weeks and have tracked just about every bite on the calorie site and, lo and behold, I consistently lose weight doing that.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-6670184304749870529?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/6670184304749870529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=6670184304749870529' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6670184304749870529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/6670184304749870529'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/04/21st-tuesday-weigh-in.html' title='21st Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-5250401027889584422</id><published>2009-04-02T21:05:00.000-07:00</published><updated>2009-04-04T06:17:06.355-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='weigh-in'/><title type='text'>20th Tuesday weigh-in</title><content type='html'>??? lb&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;(I weighed in Saturday morning at 220.5 lb down 2 lb from last Saturday)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Whoa I am late with this post and don't even have a weight to report. I'm sorry, but I refuse to lug a bathroom scale up and down the airport. I will weigh in Saturday and edit this post with the number. I am proud to say: I have kept track of what I ate every day on the livestrong.com meal tracker and worked out everyday this past week except Sunday.&lt;br /&gt;&lt;br /&gt;I hear it is snowing in Utah. I am so glad I am not driving in that junk to the gym. But now I wonder if the spring garden I worked so feverishly on to plant in March is going to be a total bust, Rebecca said nothing is sprouting up and the furrows are full of snow. I worry that maybe if I had planted it a weekend earlier, it might have had a chance to sprout during that brief warm period of about a week we had before the weather betrayed us.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-5250401027889584422?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/5250401027889584422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=5250401027889584422' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5250401027889584422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/5250401027889584422'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/04/20th-tuesday-weigh-in.html' title='20th Tuesday weigh-in'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-1191149915688423299</id><published>2009-03-30T19:42:00.000-07:00</published><updated>2009-03-30T19:54:53.813-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>Doh! Forgot something</title><content type='html'>I forgot to kidnap my wife and take her with me... But I also forgot to take the cable to transfer the pictures from my digital camera to my computer, so I can't submit my receipts for my expense report like I planned. I can at least take the pictures so they are ready to send, oh well, I blame Hillary because her laptop had a card reader built in.&lt;br /&gt;&lt;br /&gt;Sometimes life is just a game of hurry-up-and-wait. I hurry, hurry to the airport to be on time or early, then wait at the gate because my flight is delayed at the last minute. I hurry exercise and get to work,  then wait in boring meetings for people to stop flapping their lips without saying anything new. I rush to get back from lunch but have to wait around for two hours because of unforeseen events.&lt;br /&gt;I hurried all morning last Saturday to get the house ready for Christina to come and for me to be gone again, but I eventually gave up and spent some down time with Rebecca once the kids were asleep.&lt;br /&gt;&lt;br /&gt;On a side note, I am proud that I have not turned on the TV in my hotel room yet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4159420781944033879-1191149915688423299?l=fourgablesguy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fourgablesguy.blogspot.com/feeds/1191149915688423299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4159420781944033879&amp;postID=1191149915688423299' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1191149915688423299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4159420781944033879/posts/default/1191149915688423299'/><link rel='alternate' type='text/html' href='http://fourgablesguy.blogspot.com/2009/03/doh-forgot-something.html' title='Doh! Forgot something'/><author><name>Harley</name><uri>http://www.blogger.com/profile/06211901736811383411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_JIARIxN7KMo/R6KKPpl9MZI/AAAAAAAAAAg/K-EEy3ZoPB4/S220/headshot.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4159420781944033879.post-475658010197153728</id><published>2009-03-28T18:46:00.000-07:00</published><updated>2009-03-28T19:19:55.595-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal'/><title type='text'>Schedule controversy</title><content type='html'>Linc you are right, this is a controversial approach but can you see the advantage? It is absolutely as mathematically "fair" as possible (no more, I always get so-in-so complaining) Their is no element of chance or luck in who gives you gifts or who you give gifts to, which you say removes the fun. I think the other element of fun you experience is in keeping the secret about who you have until the big day and using &lt;span style="font-weight: bold;"&gt;stealth/espionage&lt;/span&gt; to find out what the person might like to receive. &lt;br /&gt;&lt;br /&gt;I suggest random draw often results in giving to the same person year after year after year, which is not as fun. Furthermore, several people work in concert to expose the complete givee/giver list by sharing their secrets with each other. If people want to know who has them, they can always find out. Finally, with the luck of the draw approach, you could very possibly &lt;span style="font-weight: bold;"&gt;never &lt;/span&gt;give to some members of the group. This is especially the case when you add in the requirements for no self-gifts, no spouse gifts. It is tough to get a good random draw with this inherent tampering with the random draw.&lt;br /&gt;&lt;br /&gt;Could we maybe combine the preplanned and random? Take these seven preplanned lists and randomly draw one out, keep the names secret, and keep the other six lists for next time? I don't see how it is much different from what we do now, except by doing this you can ensure no repeat gifting.&lt;br /&gt;&lt;br /&gt;Regardless of random draw vs preplanned&
