<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Megatome &#187; Living</title>
	<atom:link href="http://www.megatome.com/category/living/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.megatome.com</link>
	<description>Just another idiot&#039;s ramblings</description>
	<lastBuildDate>Thu, 12 Jan 2012 00:45:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>The Phone Screen Works Both Ways</title>
		<link>http://www.megatome.com/2009/09/08/the-phone-screen-works-both-ways/</link>
		<comments>http://www.megatome.com/2009/09/08/the-phone-screen-works-both-ways/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 21:06:08 +0000</pubDate>
		<dc:creator>iamthechad</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Living]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[career]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jobs]]></category>

		<guid isPermaLink="false">http://www.megatome.com/?p=74</guid>
		<description><![CDATA[A phone screen is typically used to screen applicants for a job, but it gave me enough information to make a decision about not wanting to work for the company.]]></description>
			<content:encoded><![CDATA[<p>I recently applied for a position through a recruiting service. I jumped through the requisite hoops and was told that the prospective employer was very excited to talk to me.</p>
<p>The standard procedure for this employer is to give candidates a simple phone screen before arranging an interview. Personally, I feel that having one person make a decision about whether or not I&#8217;ll &#8220;fit well with the team&#8221; after 10 minutes on the phone is ludicrous, but that&#8217;s the game I had to play.</p>
<p><a href="http://www.flickr.com/photos/nichollsphotos/2906834393/"><img src="http://farm4.static.flickr.com/3254/2906834393_e4ef4ae70e_m.jpg" alt="Tin Can Phone" style="float:right; margin: 5px"/></a></p>
<p>During the phone call, I was asked several generic questions about Java. I gave what I felt was correct answers to the questions, but the interviewer wasn&#8217;t happy with my results. Every time I answered a question, I heard &#8220;Well, I was looking for&#8230;&#8221;, with the expected answer simply being a different wording of what I had said.</p>
<p>I chalked this up to the interviewer simply being used to different terminology than I for the same concepts, so I was a bit surprised when I wasn&#8217;t called in for an in-person interview. It wasn&#8217;t until a few days later that I realized that the answers I was expected to give told me quite a bit about the company, and that I wouldn&#8217;t have been happy working there had I been offered the job.</p>
<p>The particular question that stuck in my mind was a simple one. &#8220;What are some of the benefits of the introduction of generics in Java, especially in collections?&#8221;</p>
<p>I gave the answer that pretty much anybody familiar with Java generics would give: compile-time type checking, no need for casting objects, etc. What I got from the interviewer was &#8220;Well, I was looking for the fact that you don&#8217;t have to do <code>instanceof</code> checks all over any more.&#8221;</p>
<p>On the surface, this may seem like another way of saying what I said, but it&#8217;s actually quite different.</p>
<p>Before generics, you would need to cast objects to the proper class when retrieving them from a collection. This does not mean that you would be using <code>instanceof</code> to do this. The only situation I can think of that requires using <code>instanceof</code> with a collection is if there are a lot of heterogenous objects in the collection.</p>
<p>There are limited situations where storing different object types in the same collection makes sense. Most of the time, however, this is a sign of either lazy development or not understanding the collection mechanism very well.</p>
<p>
<a href="http://www.flickr.com/photos/davesag/8519770/"><br />
<img src="http://farm1.static.flickr.com/8/8519770_e9043bc645_m.jpg" alt="More Bad Code" style="float:left;margin:5px"/></a></p>
<p>It&#8217;s generally a good idea to only put one type of object into a collection. This makes it much easier to work with and avoids any need for <code>instanceof</code> checks. By &#8220;one type of object&#8221;, I don&#8217;t mean that all of the objects need to be the exact same class. Chances are good that all of the objects being placed into a collection have some relationship; perhaps they will all implement the same interface.</p>
<p>I may have completely misinterpreted the interviewer, but I have a very strong impression that he and perhaps others on his team are used to using collections as grab bags of widely different things. Personally, I wouldn&#8217;t want to maintain that code. I can hope that the addition of generics to Java has forced the interviewer to change at least one practice for the better. I&#8217;m glad I wasn&#8217;t called in for the job &#8211; who knows how many more &#8220;well, at least it works&#8221; practices are being followed? I&#8217;ve got enough of those at my current job; I don&#8217;t need to learn a new set.</p>
<p>Images:</p>
<p>Tin Can:
<div xmlns:cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/nichollsphotos/2906834393/"><a rel="cc:attributionURL" href="http://www.flickr.com/photos/nichollsphotos/">http://www.flickr.com/photos/nichollsphotos/</a> / <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/2.0/">CC BY-NC-ND 2.0</a></div>
<p>Java Code:</p>
<div xmlns:cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/davesag/8519770/"><a rel="cc:attributionURL" href="http://www.flickr.com/photos/davesag/">http://www.flickr.com/photos/davesag/</a> / <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/2.0/">CC BY-NC-SA 2.0</a></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.megatome.com/2009/09/08/the-phone-screen-works-both-ways/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Raising Beef is not Killing the Environment</title>
		<link>http://www.megatome.com/2009/06/07/raising-beef-is-not-killing-the-environment/</link>
		<comments>http://www.megatome.com/2009/06/07/raising-beef-is-not-killing-the-environment/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 22:16:15 +0000</pubDate>
		<dc:creator>iamthechad</dc:creator>
				<category><![CDATA[Health]]></category>
		<category><![CDATA[Living]]></category>
		<category><![CDATA[world]]></category>
		<category><![CDATA[beef]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[myths]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[water]]></category>

		<guid isPermaLink="false">http://www.megatome.com/?p=65</guid>
		<description><![CDATA[Raising beef is not the water hungry process that some people want you to think it is.]]></description>
			<content:encoded><![CDATA[<p>Periodically I see people on Twitter claiming that we shouldn&#8217;t eat beef because it takes XXX gallons of water to raise a single pound of meat, where XXX is some ridiculously large number.</p>
<p>The general consensus put forth by Twitterers with &#8220;eco&#8221; or &#8220;green&#8221; in their usernames is 2,500 gallons of water to 1 pound of beef.</p>
<p><a href="https://twitter.com/buygreen/status/1433752340">This tweet</a>, for example, was posted on April 1 and links to a Yahoo! Answers discussion.</p>
<p><a href="https://twitter.com/eco_smart_guy/statuses/2066848871">This tweet</a>, from June 7, links to <a href="http://www.earthsave.org/environment/water.htm">this article</a> from EarthSave International.</p>
<p>Both of the aforementioned tweets use the 2,500 gallons per 1 pound of beef figure. What&#8217;s not so clear is how the number was determined in each case.</p>
<p>The Yahoo! Answers discussion arrives at the number from a YouTube video titled <em>You can&#8217;t be a meat eating environmentalist</em> by a user named &#8220;LiveVegan&#8221;. In the course of this video, text is shown on the screen, citing various &#8220;facts&#8221; about the livestock industry. One of the facts is the 2,500 gallons of water statement. The video does not state where this number came from, nor does it cite any of its sources in any more detail than &#8220;2006 United Nations Report &#038; WoodstockFAS.org&#8221;.</p>
<p>The EarthSave link similarly comes up with the 2,500 gallon number, based on a couple of sources. The first source is &#8220;a statement by the renowned scientist Dr. Georg Borgstrom at the 1981 annual meeting of the American Association for the Advancement of Science&#8221;. The next is the book <em>Population, Resources, Environment</em>, apparently published in 1978 and not easily obtained (at least for me). The last source cited is a publication titled <em>Water Inputs in California Food Production</em>, that is described as distributed by the Water Education Foundation. I visited the Water Education Foundation&#8217;s website at <a href="http://www.watereducation.org/">http://www.watereducation.org/</a>, but was unable to find this publication.</p>
<p>What do we have so far from Twitterers to support the 2,500 gallons per pound of beef claim? One YouTube video published by a person who could certainly be seen as having a biased opinion, and an article published at an indeterminate date quoting a statement, a 30-year old book, and an article that can&#8217;t be found.</p>
<p>I was raised on a cattle ranch, the same one that my father and grandfather were raised on. It&#8217;s probably fair to say that I have a biased opinion of the agriculture industry as well. I can&#8217;t, however, just deny the water for beef argument because I don&#8217;t like the numbers. I did some research of my own and found startlingly different results.</p>
<p>
<a href="http://www.beeffrompasturetoplate.org/mythmeatproductioniswasteful.aspx">This article</a>, from a website created by the Cattlemen&#8217;s Beef Board and National Cattlemen&#8217;s Beef Association, gives a number of 435 gallons per pound of beef. This number is backed first by <em>Animal Agriculture and Global Food Supply</em>, from the Council for Agricultural Science and Technology (CAST). The report is quite exhaustive and places doubt on the larger estimates of water usage due to overestimating the amount of irrigation used in growing the feed.</p>
<p>Both the website and the CAST article reference <em>Estimation of the water requirement for beef production in the United States</em>. This publication delves into great detail about the amount of water used to grow various feed crops, as well as the amount of water used for finishing slaughtered animals. The results of this study were that it takes approximately 441 gallons of water per pound of beef. Additionally, this article points out that livestock production is responsible for just over 11% of all U.S. water use.</p>
<p>Sure, it&#8217;s easy to take the outrageous numbers as facts and pass them along, especially when you&#8217;re anti-beef. The livestock industry as a whole seems to be a convenient target for environmentalist outcry lately, but I would urge people to keep in mind that &#8220;livestock&#8221; also includes pork and poultry. Pork and poultry deserve additional scrutiny due to the conditions that the animals are raised under.</p>
<p>I&#8217;ve only been arguing the claims that beef requires a large amount of water. There are similar claims regarding the amount of grain it takes to produce a pound of meat. I could probably fill another blog post with this debate, but I can summarize quickly. It takes 2.6 pounds of grain, not 16, to produce a pound of beef. Similarly, a significant amount of cattle feed is not food-grade, meaning it&#8217;s inedible for humans.</p>
<p>
<p>
Sources:
</p>
<p><a href="http://answers.yahoo.com/question/index?qid=20081010034757AA7LyHS">How much food energy is lost by consuming meat instead of vegetables?</a><br />Yahoo! Answers, ~October 2008</p>
<p><a href="http://www.earthsave.org/environment/water.htm">2,500 Gallons All Wet?</a> &#8211; John Robbins<br />
EarthSave International, Date Unknown</p>
<p><a href="http://www.youtube.com/watch?gl=GB&#038;hl=en-GB&#038;v=hWWNLvgU4MI">You can&#8217;t be a meat eating environmentalist</a> &#8211; &#8220;LiveVegan&#8221;<br />
YouTube UK, 15 May 2007</p>
<p><a href="http://www.watereducation.org/">Water Education Foundation</a></p>
<p><a href="http://www.beeffrompasturetoplate.org/mythmeatproductioniswasteful.aspx">Beef Myths and Facts</a><br />
Beef from Pasture to Plate, Date Unknown</p>
<p><em>Animal Agriculture and Global Food Supply</em><br />
Council for Agricultural Science and Technology, July 1999<br />
Available from <a href="http://www.cast-science.org/">http://www.cast-science.org/</a></p>
<p><em>Estimation of the water requirement for beef production in the United States</em> &#8211; J.L. Beckett and J.W. Oltjen<br />
Journal of Animal Science, 1993<br />
Available from <a href="http://jas.fass.org">http://jas.fass.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.megatome.com/2009/06/07/raising-beef-is-not-killing-the-environment/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Make It A Good Day</title>
		<link>http://www.megatome.com/2009/01/14/make-it-a-good-day/</link>
		<comments>http://www.megatome.com/2009/01/14/make-it-a-good-day/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 04:02:45 +0000</pubDate>
		<dc:creator>iamthechad</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Health]]></category>
		<category><![CDATA[leadership]]></category>
		<category><![CDATA[Living]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[anxiety]]></category>
		<category><![CDATA[attitude]]></category>

		<guid isPermaLink="false">http://www.megatome.com/?p=63</guid>
		<description><![CDATA[Don't just wait for a good day to "happen". I've been able to make some attitude changes and make good days.]]></description>
			<content:encoded><![CDATA[<p>Back when I used to work out regularly, there was an older gentleman who was usually changing in the locker room at the same time as me. We would make small talk as people do to be polite. He might have told me his name; I don&#8217;t remember very much about him now.</p>
<p>The one thing that makes this man stand out in my memory is that whenever we parted ways, he would say &#8220;make it a good day&#8221;. I usually said &#8220;you, too&#8221;, or something similarly uninspired.</p>
<p>What he was saying finally struck me one day. He was not telling me to have a good day. He was telling me to make it a good day.</p>
<p>As nice as the sentiment sounded, I didn&#8217;t really see how it applied to me. My job sucked, and it was causing me all kinds of stress &#8211; even to the point of <a href="http://www.megatome.com/2006/09/14/burned-out/">visiting the emergency room</a>. I experienced a lot of anxiety and had a few panic attacks.</p>
<p>I got to the point where I reacted badly to everything that happened at work. I can remember telling my manager more than once that decisions made by upper management were going to cause me to have to take another trip to the hospital. He finally got tired of my complaining and told me that work was not causing me stress; it was my reaction to work that was causing stress. That was not the answer I was looking for, so I added him to my mental list of stressors.</p>
<p>Fast forward a couple of years to a new job. As I&#8217;ve <a href="http://www.megatome.com/2008/12/10/moving-to-agile-inertia/">mentioned before</a>, I&#8217;m now leading a pilot project using an agile process (Scrum). For the first several iterations everything annoyed me. My developers couldn&#8217;t follow simple instructions. They couldn&#8217;t write good code. They had to be constantly prodded to keep them going. Every day had its share of &#8220;what now?&#8221; moments.</p>
<p>For some reason I started thinking about the man at the gym again. This time, it paired perfectly with my old manager&#8217;s advice. Despite my annoyances, work continued to get done and things were working. It wasn&#8217;t the work that was bothering me. It was my reaction to work.</p>
<p>I&#8217;ve been trying to be very mindful of how I&#8217;m reacting to things at work. I still get pulled in a lot of different directions, and I&#8217;m still having trouble getting my team involved in the process. What I&#8217;m not doing is worrying about it. I&#8217;m learning to be more aggressive about my time management. Instead of wondering why my team can&#8217;t grasp simple process concepts, I&#8217;m asking them how I can explain or demonstrate it better.</p>
<p>Don&#8217;t get me wrong. There are a million things I&#8217;d like to change about my environment and my team every day, but instead of waiting for a good day to just &#8220;happen&#8221; to me, I&#8217;m becoming an active participant and &#8220;making it a good day&#8221;.</p>
<p>In the last several weeks, I&#8217;ve noticed that my anxiety level has plummeted, my stomach is not upset every day, and I&#8217;m sleeping better. That&#8217;s good enough for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.megatome.com/2009/01/14/make-it-a-good-day/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

