<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><!-- generator="FeedCreator 1.7.2" --><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
    <channel>
        <title>Bug Lab</title>
        <description><![CDATA[Bug Lab articles]]></description>
        <link>http://www.buglogic.com</link>
        <lastBuildDate>Mon, 21 May 2012 19:08:34</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/BugLab" /><feedburner:info uri="buglab" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
            <title>Regarding Pinto Beans</title>
            <link>http://www.buglogic.com/?section=news&amp;article=27</link>
            <description><![CDATA[<p>
	If beans went to high school, the Black Bean would be the captain of the football team and the head cheer-leader these days. The Black Bean would swagger down the hall, full of self importance, surrounded by a crew of swarmy hangers on, not realizing that within a few years, high school will be over and being cool won&#39;t amount to, well, a hill of beans.<br />
	<br />
	When we&#39;ve all exhausted our youthful infatuation with the bland and dim-witted Black Bean, we&#39;ll eventually realize that the ones we ignored on the bus are actually starting to run the world. The Pinto Bean, who sat quietly through classes adjusting their glasses and not minding their mismatched socks will emerge as a natural leader of beans. The Black Bean, by this time, will still be wearing their letter jacket and telling stories about how they were so sexy and charismatic back in the day, but we&#39;ll have all moved on.<br />
	<br />
	</p>
<ul>
	<li>
		One pound of dried pinto beans</li>
	<li>
		5 cups or so of low sodium chicken stock</li>
	<li>
		One big white onion</li>
	<li>
		Some minced garlic</li>
	<li>
		A few jalape&ntilde;o peppers</li>
	<li>
		A pinch or two of cumin</li>
	<li>
		Some hot water</li>
</ul>
<p>
	<br />
	<strong>Let&#39;s get started.</strong> Put that chicken stock in a pot, and start heating it up over high heat. Chop up the onion nice and fine and do the same to the jalape&ntilde;o peppers once you deftly scrape out the seeds with a spoon. Once all chopped up real fine, dump them in the chicken broth, which is getting hot by now. Put some minced garlic in there and that dash of cumin powder. Rinse off the dried Pintos in a colander and dump them in the pot. Sit back and bring that to a boil. The whole thing should be just barely covered with liquid. If it&#39;s not, add some water or more chicken broth until they are just barely covered. Once we get a boil, turn it way down to a simmer. For the purposes of getting your simmer right, we want to see a nice even bubble around the edges of the pot.<br />
	<br />
	<strong>Okay, relax.</strong> Go watch the MLB Network or kick back with that Ken Bruen novel you&#39;re reading right now. We&#39;re going to let that simmer, with the lid slightly askew, for about two hours. Check it from time-to-time. Give it a stir every so often and add hot water as needed to keep them covered. After a couple of hours, give them a taste. Keep cooking them on low until they are to your personal liking.<br />
	<br />
	<strong>Happiness happens.</strong><br />
	<br />
	<strong>Here&#39;s a fine suggestion</strong>. Set aside a serving or two of your remarkable Pinto Beans in a smaller sauce pot, set to low heat. Chop up a few slices of green pepper and add them. Add a healthy dash of Tapat&iacute;o hot sauce. Use a masher of some sort to get those beans into a mashed-up state. Let them cook on low, stirring and mashing them often, until most of the liquid is cooked off. What you have here is essentially re-fried beans. So, throw a couple of corn tortillas in an oiled skillet and heat them up until you can smell the corn. Spread your pinto-mash on a tortilla, grate some sharp cheddar cheese (aged at least one year please) on there and wonder why you haven&#39;t been eating this all your life.<br />
	<br />
	<br />
	</p>
<br><br>]]></description>
            <pubDate>Sun, 08 Apr 2012 19:44:44</pubDate>
        </item>
        <item>
            <title>Water Footprint Calculator for NatGeo</title>
            <link>http://www.buglogic.com/?section=news&amp;article=25</link>
            <description><![CDATA[<p>
	One of the more challanging projects we&#39;ve ever taken on, <a href="http://environment.nationalgeographic.com/environment/freshwater/water-footprint-calculator/" target="_blank">The Water Footprint Calculator for National Geographic</a> took us about one month to complete start to finish. There are hundreds of drawings involved and hundreds upon hundreds of lines of javascript that run the show.<br />
	<br />
	The data was provided to us by NatGeo, so fortunately we didn&#39;t have to do all the research for this as well. It was a huge project, but you can take <a href="http://environment.nationalgeographic.com/environment/freshwater/water-footprint-calculator/">the survey</a> in less than two minutes. We sort of felt like the cooks who spend weeks preparing a Thanksgiving dinner that will be gobbled up in three minutes!<br />
	<br />
	The entire thing is written in javascript. It&#39;s wild!<br />
	<br />
	Below are some screen shots.<br />
	<br />
</p>
<br><br><p>
	<br />
	</p>
<br><br><p>
	<br />
</p>
<br><br><p>
	<br />
	</p>
<br><br><p>
	<br />
	</p>
<br><br>]]></description>
            <pubDate>Thu, 05 Aug 2010 18:58:09</pubDate>
        </item>
        <item>
            <title>Space Junk Quiz for NatGeo</title>
            <link>http://www.buglogic.com/?section=news&amp;article=24</link>
            <description><![CDATA[<p>
	The good people at National Geographic apparently thought we did such a bang-up job on our <a href="../natgeo">first interactive quiz for them</a>, that they gave us another assignment. <a href="http://ngm.nationalgeographic.com/big-idea/12/space-trash-quiz" target="_blank">This one</a> is based on your knowledge of Space Junk.<br />
	<br />
	As we did on the first assignment with NatGeo, the entire quiz is written in javascript. Indeed, a much faster and eaiser way to go than producing this the way we used to do using Flash.<br />
	<br />
</p>
<br><br><p>
	One of the things that Nat Geo is trying to accomplish here is to encourage people to post their scores to Facebook. We&#39;ve written all of this into the script - so if you <a href="http://ngm.nationalgeographic.com/big-idea/12/space-trash-quiz" target="_blank">take the quiz</a>, make sure to check out our nifty bit of code that pushes your result to the Facebok Connect application.<br />
	<br />
	No sooner had we finished this, than Nat Geo was on the horn again for another one! Woo Hoo! The one we are working on now is much more complex, with a hefty supply of animation and interactive elements. It will go live in July, 2010 and the summary will get posted here in the bug lab.<br />
	<br />
	<br />
	<br />
</p>
<br><br>]]></description>
            <pubDate>Sat, 19 Jun 2010 14:15:26</pubDate>
        </item>
        <item>
            <title>National Geographic Interactive</title>
            <link>http://www.buglogic.com/?section=news&amp;article=23</link>
            <description><![CDATA[<p>
	Got sleep? National Geographic gave us the call recently to program an online survey based on just that question. One week deadline!<br />
	<br />
	<strong>What NatGeo wanted</strong>: Ten illustrated questions. Four possible answers for each question. Four final results based on how the ten questions were answered. Finally, choose one of four faces that you post to Facebook.<br />
	<br />
	<a href="http://ngm.nationalgeographic.com/2010/05/sleep/quiz/sleep" target="_blank">Here&#39;s a link to the final result</a>.<br />
	<br />
	For this assignment, I had to pull out some dusty illustration skills (such as they are), which I hadn&#39;t put to use in nearly nine years. While struggling with the doodles for this interactive, it occured to me that what I&#39;d really like to be doing to is collaborating with an illustrator to make this project really pop. It&#39;s something to think about for the next interactive we&#39;re asked to do. Cool javascript written right here, illustrations from <a href="http://illoz.com" target="_blank">somebody</a> that really makes the final project solid.<br />
	</p>
<br><br><p>
	<strong>Details for Dorks</strong><br />
	<br />
	In the past, we did interactives such as this exclusively in Flash. For this one, we programmed the entire interactive in javascript and for certain, this will be the way we handle these sorts of projects going forward. It was faster to deploy, and at the end of the day, it looks better than having to reply on a Flash player. Not only that, it runs on hand-held devices, which Flash currently can not.<br />
	<br />
	Getting our final code delivered to the National Geographic server provided an interesting look under the hood of this major site, which <a href="http://www.mediaweek.com/mw/content_display/news/digital-downloads/broadband/e3if745772b249372dd6cf30d879232146d?pn=1" target="_blank">AdWeek recently named as website of the year</a>. We were provided with access to the NatGeo CMS (content management system), which allowed us to simply paste our full code straight into and text field, save and then view. Having designed and delivered CMS system for the last nine years or so, it wasn&#39;t exactly the most intuative or elegant interface, but at the end of the day, it worked and that&#39;s all that really matters, one supposes...<br />
	<br />
	<br />
	<br />
</p>
<br><br>]]></description>
            <pubDate>Tue, 20 Apr 2010 16:14:14</pubDate>
        </item>
        <item>
            <title>div opacity and text</title>
            <link>http://www.buglogic.com/?section=news&amp;article=21</link>
            <description><![CDATA[<p>
	Spent a bit of time trying to understand placing text within a div that had opacity. The problem was that the text itself would inherit the opacity, making it fairly useless.<br />
	<br />
	Looked around on different sites for the answer to the problem, but never found anything that was correct. Found lots of answers, none of them satisfying.<br />
	<br />
	In case you&#39;ve arrived here looking for the actual answer, here it is.<br />
	<br />
	The first div should have position:relative. No other styles need be applied to the first div, and it will remain open.<br />
	<br />
	The second div will have the following CSS applied and will be closed:<br />
	position:absolute;<br />
	top: 0px (or whatever you need)<br />
	lleft: 0px (or whatever you need)<br />
	height: <em>height</em>px;<br />
	width: <em>width</em>px;<br />
	opacity: 0.8; (or whatever you need)<br />
	alpha(opacity=80);<br />
	background: <em>color or url</em>;<br />
	z-index:1;<br />
	<br />
	The third div shall have the following CSS applied and will be closed after the text:<br />
	<br />
	position:relative;<br />
	z-index:5;<br />
	color: <em>color</em>;<br />
	font-family: <em>font-family</em>;<br />
	padding: <em>padding</em>;<br />
	<br />
	Finally, close the first div which remains open. You&#39;re done.<br />
	</p>
<br><br><p>
	The above example (without the dotted background included) with the CSS written inline:<br />
	<br />
	&lt;div style=&quot;position: relative;&quot;&gt;<br />
	<br />
	<br />
	<br />
	&lt;div style=&quot;position: absolute;<br />
	<br />
	top: 0px;<br />
	<br />
	left: 0px;<br />
	<br />
	height:30px;<br />
	<br />
	width: 218px;<br />
	<br />
	opacity:0.8;<br />
	<br />
	filter:alpha(opacity=80);<br />
	<br />
	background:#281704;<br />
	<br />
	z-index: 1;&quot;&gt;<br />
	<br />
	&lt;/div&gt;<br />
	<br />
	<br />
	<br />
	&lt;div style=&quot;position: relative;<br />
	<br />
	padding: 5px;<br />
	<br />
	z-index:5;<br />
	<br />
	color:#FFFFFF;<br />
	<br />
	font-weight:bold;<br />
	<br />
	font-family:&#39;Times New Roman&#39;, georgia, times, serif;<br />
	<br />
	font-size:15px;&quot;&gt;Published in haste&lt;/div&gt;<br />
	<br />
	<br />
	<br />
	&lt;/div&gt;</p>
<br><br><p>
	<br />
	-----------<br />
	And that&#39;s it. Not sure why there was no reliable tutorial for this tehnique online. The internets are just full of things that are wrong. This isn&#39;t one of them.<br />
	<br />
	You could of course apply the above CSS as either a class or as an id and it would work just fine too. Lot&#39;s of times, I prefer to write things inline because I only plan on using it once.<br />
	</p>
<br><br>]]></description>
            <pubDate>Wed, 03 Feb 2010 00:38:48</pubDate>
        </item>
        <item>
            <title>Kölsch</title>
            <link>http://www.buglogic.com/?section=news&amp;article=20</link>
            <description><![CDATA[<p>
	K&ouml;lsch is a beer style that is brewed within a 20 mile radius of K&ouml;ln, Germany (or Cologne as it is known to the English-speaking world) and is <strong>100% approved and endorsed</strong> by the Bug Logic Lab.<br />
	<br />
	The prefered brewer is Fruh K&ouml;lsch.<br />
	<br />
	<strong>Indisputable facts regarding Fruh K&ouml;lsch as authorized by the BL Lab:</strong><br />
	<br />
	<strong>1.</strong> It is the best beer in the entire world.<br />
	<strong>2.</strong> To go through life without having as many as possible is not approved.<br />
	<strong>3.</strong> Mentioning Fruh K&ouml;lsch without providing Fruh K&ouml;lsch is a crime.<br />
	<br />
	<strong>Additional information about Fruh K&ouml;lsch that is also approved:</strong><br />
	<br />
	It tastes much better from the tap while actually visiting K&ouml;ln, and sitting outside.<br />
	Regardless, it is 100% acceptable from the bottle and is available in the USA at specialty stores and other snobbish outlets.<br />
	<br />
	<a href="http://www.frueh.de/" target="_blank">The Fruh website</a><br />
	<br />
	<br />
	<br />
	<br />
	<br />
	<br />
	</p>
<br><br>]]></description>
            <pubDate>Sat, 30 Jan 2010 22:19:00</pubDate>
        </item>
    </channel>
</rss>

