<?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>John B. Hartley</title>
	<atom:link href="http://www.johnbhartley.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johnbhartley.com</link>
	<description>Where Multimedia Meets Awesome</description>
	<lastBuildDate>Wed, 22 May 2013 05:33:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Switching Servers &#8211; The Purge</title>
		<link>http://www.johnbhartley.com/2013/switching-servers-the-purge/</link>
		<comments>http://www.johnbhartley.com/2013/switching-servers-the-purge/#comments</comments>
		<pubDate>Wed, 22 May 2013 05:33:42 +0000</pubDate>
		<dc:creator>johnbhartley</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Freelance]]></category>

		<guid isPermaLink="false">http://forknight.webfactional.com/?p=1984</guid>
		<description><![CDATA[<p>The charts don't lie...</p><p>The post <a href="http://www.johnbhartley.com/2013/switching-servers-the-purge/">Switching Servers &#8211; The Purge</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ll admit, I&#8217;m a bit of an analytics junkie. I check it every morning and take a look at how fast my site has been loading. Call it a sickness, call it webdevery, whatever. This site is essentially an on-going test for me. Things I might be scared to do on a client site can be tested here. So when I realized that my site was down 28 times this month and the average page load time was around 16 seconds, I knew it was time for a change. Switching servers wasn&#8217;t something I had to do, but it was something I wanted to do and was long overdue.</p>
<h3>Dreamhost</h3>
<p>Back in 2010 I searched for my first web host. While others I knew were diving in with Fat Cow and GoDaddy, I chose Dreamhost. For a while there I was extremely happy. It was a great place to start and allowed me to create my own databases and essentially have complete control over everything. Domains were median market price (changing soon to $12.95) and support was generally pretty good.</p>
<p>But things started to take a turn and I told myself, well, let&#8217;s just wait this out. </p>
<blockquote class="twitter-tweet" width="500"><p>Dreamhost, thanks for sending an email about all your great network improvements while my server is still burning in a dumpster somewhere</p>
<p>&mdash; John Hartley (@johnbhartley) <a href="https://twitter.com/johnbhartley/status/223873858023849984">July 13, 2012</a></p></blockquote>
<p><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script></p>
<blockquote class="twitter-tweet" width="500"><p>not that you cared, but my site is down&#8230;from Dreamhost&#8230;so I&#8217;m taking this opportunity to switch the DNS to @<a href="https://twitter.com/webfaction">webfaction</a></p>
<p>&mdash; John Hartley (@johnbhartley) <a href="https://twitter.com/johnbhartley/status/335498918441910275">May 17, 2013</a></p></blockquote>
<p><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script></p>
<p>If you couldn&#8217;t tell from those tweets, things didn&#8217;t get better and my relationship began to sour mid-2012 when Dreamhost decided to change their hostnames. This caused a wide variety of issues and I wasn&#8217;t too thrilled about it. Then this past month they had some major downtime issues (see chart below). Charts are from pingdom.com.</p>
<img src="http://www.johnbhartley.com/wp-content/uploads/2013/05/Screen-shot-2013-05-22-at-12.25.56-AM.png" alt="Screen shot 2013-05-22 at 12.25.56 AM" width="635" height="428" class="aligncenter size-full wp-image-2077" />
<p>Those spikes are all roughly an hour and a half. So what about response time, server-wise. </p>
<a href="http://www.johnbhartley.com/wp-content/uploads/2013/05/speedingup.jpg"><img src="http://www.johnbhartley.com/wp-content/uploads/2013/05/speedingup.jpg" alt="speedingup" width="100%" height="auto" class="aligncenter size-full wp-image-2078" /></a>
<p>The chart on the left shows the last month. Can you tell when I switched hosting? You may say that&#8217;s not fair, because maybe it was a bad month. That&#8217;s what the chart on the right is for, which shows you that it&#8217;s been worse before. </p>
<p>Yes, it was time to cut ties. What&#8217;s worse is that I was using MaxCDN and WP Super Cache and it was still that slow. Mind-boggling. </p>
<h3>Enter Web Faction</h3>
<p>I at first thought about switching to Media Temple, but my experience with them was just kind of meh and it&#8217;s a bit pricy. Then <a href="http://www.gregorygreen.info/" target="_blank">Mr. Greg Green</a> recommended Web Faction to me. Full control over my database names (something that is pretty limited with Media Temple) and the ability to use any type of web app. It&#8217;s like Web Faction was made for developers. Sites may take a bit more setup for some, but I&#8217;ve not had any issues. They also give you great stats on both disk and bandwidth usage. </p>
<p>I&#8217;m not sure why I didn&#8217;t do it sooner, but I finally switched the DNS to Web Faction and am now much happier. No down time so far and speeds from 9 seconds down to 3 seconds. Can&#8217;t complain about that.</p>
<p>The one thing I forgot to mention is that Web Faction doesn&#8217;t do domain names&#8230;but that&#8217;s the only issue I&#8217;ve found so far. I love you Web Faction, please don&#8217;t betray me. Best hosting out there for $8.50 a month. </p>
<p>Take a look for yourself <a href="http://www.webfaction.com/features?affiliate=forknight">right here</a>.</p>
<p>The post <a href="http://www.johnbhartley.com/2013/switching-servers-the-purge/">Switching Servers &#8211; The Purge</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.johnbhartley.com/2013/switching-servers-the-purge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Poem by 10-Year Old Me</title>
		<link>http://www.johnbhartley.com/2013/a-poem-by-10-year-old-me/</link>
		<comments>http://www.johnbhartley.com/2013/a-poem-by-10-year-old-me/#comments</comments>
		<pubDate>Sat, 11 May 2013 20:26:01 +0000</pubDate>
		<dc:creator>johnbhartley</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.johnbhartley.com/?p=1966</guid>
		<description><![CDATA[<p>Slam poetry from an earlier time...</p><p>The post <a href="http://www.johnbhartley.com/2013/a-poem-by-10-year-old-me/">A Poem by 10-Year Old Me</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>My parents have been de-cluttering their house and in doing so are scanning old documents. Some of which belong to me.</p>
<p>So here is a poem I wrote when I was 10, which would have made the year 1998. It&#8217;s about the rain forest apparently.</p>
<blockquote><p>I can smell the flowers,<br />
and taste and hear the rain .<br />
I can touch the native bowers ,<br />
but can&#8217;t see any lane .</p>
<p>I can see the parrots ,<br />
and can hear their wicked call .<br />
I can eat the native carrots ,<br />
and then feel nothin&#8217; at all<br />
( maybe I should&#8217;ve smelled them first ).</p></blockquote>
<a href="http://classbb.files.wordpress.com/2012/01/rainforest1.jpg"><img class="aligncenter" alt="" src="http://classbb.files.wordpress.com/2012/01/rainforest1.jpg" width="100%" height="auto" /></a>
<p>Pretty great, I know. Should&#8217;ve been an English Lit major.</p>
<p>The post <a href="http://www.johnbhartley.com/2013/a-poem-by-10-year-old-me/">A Poem by 10-Year Old Me</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.johnbhartley.com/2013/a-poem-by-10-year-old-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the Audio Waveform Effect &#8211; After Effects</title>
		<link>http://www.johnbhartley.com/2013/using-the-audio-waveform-effect/</link>
		<comments>http://www.johnbhartley.com/2013/using-the-audio-waveform-effect/#comments</comments>
		<pubDate>Tue, 07 May 2013 16:34:58 +0000</pubDate>
		<dc:creator>johnbhartley</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.johnbhartley.com/?p=1951</guid>
		<description><![CDATA[<p>Waveforms, like a boss.</p><p>The post <a href="http://www.johnbhartley.com/2013/using-the-audio-waveform-effect/">Using the Audio Waveform Effect &#8211; After Effects</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></description>
				<content:encoded><![CDATA[<p><iframe width="500" height="281" src="http://www.youtube.com/embed/n1rIAouPHKM?feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>After Effects has an awesome built-in Audio Waveform effect that is easy to use. </p>
<p>To start, pull your audio file down into your composition timeline. From there, you can adjust your audio as needed, but in our case don&#8217;t worry about that for now. Go to Layer > New > Solid and make your solid the size of your composition. Don&#8217;t worry about what color it is because it won&#8217;t matter in a minute. Once the solid is created, type &#8220;audio waveform&#8221; into Effects &#038; Presets and drag onto the solid. </p>
<p>First thing you should do is adjust &#8220;Audio Layer.&#8221; Switch from the current layer to whatever layer is your desired audio layer. </p>
<p>You&#8217;ll see the effect show up in your Effects pane and from here you should be able to adjust the effect settings. You&#8217;ll see Displayed Samples and this controls the amount of peaks and valleys you see. If it&#8217;s 12, there will be 12 breaking points in your waveform. 100, there will be 100 breakpoints and so on. </p>
<p>Maximum Height adjusts the height of the sample/waveform. Pretty self-explanatory.</p>
<p>Thickness adjusts the, you guessed it, thickness of the line.</p>
<p>Softness adjusts the softness of the waveform line. Lower values make it harder, higher values make it softer. </p>
<p>Random seed just makes you more unique than the average Joe After Effects.</p>
<p>Inside and outside color allow you to choose some different colors for your line and finally, you can choose from three display options: Digital (bars), Analog Lines (lines), and Analog Dots (dots!).</p>
<p>Setup those options and scrub through to see how the waveform looks with your audio. </p>
<p>That&#8217;s essentially all you have to do, but there&#8217;s another cool part that I go over in the above video.</p>
<h3>Waveform on a Path</h3>
<p>With the waveform layer selected, click on the pen tool at the top to add a mask. Create whatever kind of mask you want and then head back to your Effects Panel. There you can choose to set the waveform on a path. Choose the mask you just created and watch the magic unfold as the waveform adjusts to whatever path you&#8217;ve created. </p>
<p>One thing you may need to do is switch the mask from &#8220;Add&#8221; to &#8220;None&#8221; this will prevent the mask from cropping off the outside of the waveform if you&#8217;ve made a circle or square or other kind of polygon.</p>
<p>So that&#8217;s a quick overview of the audio waveform effect. If you have trouble reading, watch the video above for an easier time. Of course, if you&#8217;ve gotten this far then you can probably read. </p>
<p>Let me know if you have any questions or comments or tutorials you&#8217;d like to see created. </p>
<p>The post <a href="http://www.johnbhartley.com/2013/using-the-audio-waveform-effect/">Using the Audio Waveform Effect &#8211; After Effects</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.johnbhartley.com/2013/using-the-audio-waveform-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>get_stylesheet_directory_uri and Child Themes</title>
		<link>http://www.johnbhartley.com/2013/get_stylesheet_directory_uri-and-child-themes/</link>
		<comments>http://www.johnbhartley.com/2013/get_stylesheet_directory_uri-and-child-themes/#comments</comments>
		<pubDate>Thu, 02 May 2013 15:26:47 +0000</pubDate>
		<dc:creator>johnbhartley</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Code Tips]]></category>
		<category><![CDATA[Freelance]]></category>

		<guid isPermaLink="false">http://www.johnbhartley.com/?p=1941</guid>
		<description><![CDATA[<p>Template, stylesheet, child themes, confusion.</p><p>The post <a href="http://www.johnbhartley.com/2013/get_stylesheet_directory_uri-and-child-themes/">get_stylesheet_directory_uri and Child Themes</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Summary: get_stylesheet_directory_uri looks into the child theme folder and <strong>not</strong> the parent folder when called.</p>
<p>This month I&#8217;m working on a re-design for a site run on WordPress multisite. I&#8217;ve not really done much work with it before, but the goal is to have one main theme and a child theme based off of that for each individual user to then add styling as they see fit. </p>
<p>Things were going well with the main theme, which was based on <a href="http://themble.com/bones/" title="Bones - HTML5 Theme Starter" target="_blank">Bones (my favorite theme starter)</a>. I created a child theme, followed the Codex instructions to a T, but could not get my JavaScript or CSS to load. style.css for the child theme was feeding WordPress the correct info, Theme Title, Author, etc, but it was trying to grab theme-child/library/css/style.css, which didn&#8217;t exist. </p>
<p>At first I didn&#8217;t realize the issue, so I added in a template path to create a style.css file in library/css but then the scripts weren&#8217;t loading. So I took a look into functions.php. A majority of the functions in Bones are handeled in bones.php, so I ended up having to look there. </p>
<p>That&#8217;s when it was clear what the issue was. bones.php was using get_stylesheet_directory_uri() to find the root of the template. This is fine for a standard theme, but when planning to build child themes, you&#8217;ll need to adjust. </p>
<h3>get_stylesheet_directory_uri()</h3>
<p><em>Codex: Retrieve stylesheet directory URI for the current theme/child theme. Checks for SSL. Note: Does not contain a trailing slash.</em></p>
<p>The Codex goes on to say that &#8220;In the event a child theme is being used, this function will return the child&#8217;s theme directory URI. Use get_template_directory_uri() to avoid being overridden by a child theme.&#8221; So it will pull in the standard template files like usual, index.php etc. but for specific areas where you are getting a directory_uri, template (parent theme) uri is needed.</p>
<p>Well sometimes I don&#8217;t read so good and I was baffled by why everything was going to the child theme folder. After digging into bones.php the switch was pretty easy. There were only a few instances were get_stylesheet_directory_uri() showed up, so I changed those and everything snapped into place.</p>
<p>But what does get_template_directory_uri() do?</p>
<h3>get_template_directory_uri()</h3>
<p><em>Codex: Retrieve template directory URI for the current theme. Checks for SSL. Note: Does not return a trailing slash following the directory address.</em></p>
<p>This gives you the parent theme folder and fixes your issues if a child theme is being used. All is fixed and everyone is happy.</p>
<p>One thing to remember is that you&#8217;ll need to use &#8220;echo get_template_directory_uri();&#8221; to actually get the output of the URL. </p>
<p>Have questions or want to discuss? Holler at me in the comments.</p>
<p>The post <a href="http://www.johnbhartley.com/2013/get_stylesheet_directory_uri-and-child-themes/">get_stylesheet_directory_uri and Child Themes</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.johnbhartley.com/2013/get_stylesheet_directory_uri-and-child-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Kicked Out of Your First Startup</title>
		<link>http://www.johnbhartley.com/2013/getting-kicked-out-of-your-first-startup/</link>
		<comments>http://www.johnbhartley.com/2013/getting-kicked-out-of-your-first-startup/#comments</comments>
		<pubDate>Thu, 18 Apr 2013 13:32:06 +0000</pubDate>
		<dc:creator>johnbhartley</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Freelance]]></category>
		<category><![CDATA[communication]]></category>
		<category><![CDATA[kicked out]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://www.johnbhartley.com/?p=1911</guid>
		<description><![CDATA[<p>These things happen...</p><p>The post <a href="http://www.johnbhartley.com/2013/getting-kicked-out-of-your-first-startup/">Getting Kicked Out of Your First Startup</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s not easy getting kicked out of your first startup, but sometimes things happen. You do have some choice in the matter and the points below can help you take a step in the right direction. </p>
<p style="font-size: .8em; font-weight: bold; font-style: italic;">This past weekend I was cut out of a startup business I had joined at Startup Weekend Columbus. Before I go further, let me say I hold no grudges and what follows is an account of what I learned in my two months. If I come across as whiny, that is not my intention. I&#8217;m grateful for the time I spent with this startup and am proud of the work I accomplished with my team members. That being said, here are some things to keep in mind when joining a startup.</p>
<h3>Communication Is King</h3>
<p>Startups move quickly and it&#8217;s a &#8220;get on board or get out of the way&#8221; situation when you&#8217;re getting ready to launch. It&#8217;s a great environment and I love it, because everyone is under pressure to get to the finish line. But what happens when someone stops responding? To phone calls, to emails, to everything. The machine slows down, can grind to a halt and everyone has to look around and ask &#8220;what now?&#8221; Keeping some stream of communication open is very important, whether it&#8217;s a Gmail thread, IM, Google Hangout or GitHub Repo. Keep reminding people you&#8217;re there, or they&#8217;ll forget about you and what you bring to the table. </p>
<h3>Set Roles and Expectations Early</h3>
<p>What aspects of the startup are you going to be working on? Knowing a clear role is important so you can be working toward a particular goal. Knowing what&#8217;s expected of you is one of the easiest and hardest things with a startup and dipping your hand into a little bit of everything (even outside of your main role) is never a bad thing. More on that later.</p>
<h3>Think Long term, even at the beginning</h3>
<p>Where do you see the company in 5 days, weeks, months. Are you still a part of everything? Is your role still the same or has it shifted? Keeping an eye on the horizon can keep you in touch with how to make yourself a more important part of the company. Be pro-active and see what else you can do to help your team make progress. Building a website at the beginning may be crucial, but down the road, it&#8217;s may not be as important. That was my particular situation and it makes sense. </p>
<h3>Don&#8217;t Get Too Attached</h3>
<p>There&#8217;s a term in business called a &#8220;pivot,&#8221; which generally means you stop going a certain direction and start going another. It doesn&#8217;t have to be a complete 180 degree turn, it could just be 2 degrees, but the bottom line is, things can change. Whether it&#8217;s because of market research or trial and error, you&#8217;re probably never going to finish with the same idea you started with. Getting attached and moping when your startup takes a new turn is toxic, so make your points and if you get vetoed, let go and move on.</p>
<h3>Make Yourself Irreplaceable</h3>
<p>There are no allegiances. If you&#8217;ve latched on to someone else&#8217;s idea, <em>you</em> are the replaceable one. You may have your own grand visions, but it ultimately comes down to the person who had the original idea. They&#8217;ll generally be the most passionate and are hopefully the driving force. If you&#8217;ve got your hand in all aspects of the company, you&#8217;ll be harder to replace. Jack-of-all-trades, master of none is a good thing in startups, because at the beginning your numbers are so few. It&#8217;s much easier to stay on board as a Swiss Army Knife than as a spork (the most underrated piece of silverware). </p>
<h3>Get Something In Writing</h3>
<p>In the beginning everyone still has that twinkle in their eye and is all excited. &#8220;Equal division of profits!&#8221; can quickly turn into, &#8220;I&#8217;ve done the most work&#8221; which could lead to larger arguments about distribution of income. Easy way to solve that is by getting something in writing at the beginning. And in the end it may still come down to trimming the fat and cutting costs. Having 6 employees is a bigger division of profits than 3 and while I hope that this was not the case, it makes sense and I probably would have looked to do the same. </p>
<p>Hopefully this article was helpful in some way. I learned a lot in the few months before heading out and hopefully that&#8217;s translated well here. Yarr, startups be a cruel mistress, but help make the web community unique. If you&#8217;ve got any startup comments or horror stories, feel free to share them below. </p>
<p>The post <a href="http://www.johnbhartley.com/2013/getting-kicked-out-of-your-first-startup/">Getting Kicked Out of Your First Startup</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.johnbhartley.com/2013/getting-kicked-out-of-your-first-startup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top 10 Albums For Maximum Coding Efficiency Part Deux</title>
		<link>http://www.johnbhartley.com/2013/top-10-albums-for-maximum-coding-efficiency-part-deux/</link>
		<comments>http://www.johnbhartley.com/2013/top-10-albums-for-maximum-coding-efficiency-part-deux/#comments</comments>
		<pubDate>Thu, 14 Mar 2013 04:44:03 +0000</pubDate>
		<dc:creator>johnbhartley</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Code Tips]]></category>
		<category><![CDATA[Freelance]]></category>

		<guid isPermaLink="false">http://www.johnbhartley.com/?p=1863</guid>
		<description><![CDATA[<p>Music to code (or get down) to.</p><p>The post <a href="http://www.johnbhartley.com/2013/top-10-albums-for-maximum-coding-efficiency-part-deux/">Top 10 Albums For Maximum Coding Efficiency Part Deux</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>I love finding good music to code to. Sometimes it&#8217;s hard to find music that fits my mood or doesn&#8217;t have so many lyrics that I get distracted. That&#8217;s why every year I put together a list of my top 10 albums (found on Spotify or iTunes). It was tough to choose this year, but below is my list of the best albums to code to.</p>
<p><img src="http://johnbhartley.com/wp-content/uploads/2013/03/metric-150x150.jpg" alt="metric" width="150" height="150" class="alignleft size-thumbnail wp-image-1879" /><br />
<h3>10. Metric &#8211; Synthetica Deluxe</h3>
<p>Sometimes a project will come along where I devote late nights to it in order to get it completed. In many cases, an album becomes attached to a project, and it sits on repeat. This was that album for me from December to mid-January. &#8220;Lost Kitten&#8221; is probably one of my favorite tracks.</p>
<div class="clear"></div>
<p><img src="http://johnbhartley.com/wp-content/uploads/2013/03/good-music-150x150.jpg" alt="good-music" width="150" height="150" class="alignleft size-thumbnail wp-image-1876" /><br />
<h3>9. Kanye West Presents GOOD Music &#8211; Cruel Summer</h3>
<p>Can&#8217;t help it. I love me some Kanye. Spent a good week listening to this and after coming back to it, still enjoy &#8220;To The World&#8221; with R. Kelly, Kanye and Teyana Taylor and &#8220;Creepers&#8221; with Kid Cudi.</p>
<div class="clear"></div>
<p><img src="http://johnbhartley.com/wp-content/uploads/2013/03/phantogram-150x150.jpg" alt="phantogram" width="150" height="150" class="alignleft size-thumbnail wp-image-1881" /><br />
<h3>8. Eyelid Movies &#8211; Phantogram</h3>
<p>This is on the list because the lead singer, Sarah Barthel is a hottie, and because the music is very chill (watch the music video for &#8220;<a href="http://www.youtube.com/watch?v=28tZ-S1LFok" title="When I'm Small">When I&#8217;m Small</a>&#8221; for proof of both). If they ever come to Columbus, best believe I&#8217;m going to that concert.</p>
<div class="clear"></div>
<p><img src="http://johnbhartley.com/wp-content/uploads/2013/03/Adultswimlogo-150x150.png" alt="Adultswimlogo" width="150" height="150" class="alignleft size-thumbnail wp-image-1872" /><br />
<h3>7. Adult Swim Bumps &#8211; Various Artists</h3>
<p>Adult Swim started doing bumps where they showed the artists playing the music that was running during the bumps. I thought it was pretty cool and found some playlists on Spotify that actually have a large number of these songs. Minimal vocals, always a plus to me, and a good deal of variety.</p>
<div class="clear"></div>
<p><img src="http://johnbhartley.com/wp-content/uploads/2013/03/minecraft-150x150.png" alt="minecraft" width="150" height="150" class="alignleft size-thumbnail wp-image-1880" /><br />
<h3>6. Minecraft &#8211; Volume Alpha &#8211; C418</h3>
<p>Everyone loves Minecraft. It&#8217;s like virtual Legos, except the legos are all 2&#215;2 squares. The first volume of music has a few duds, but overall, tracks like &#8220;Subwoofer Lullaby&#8221; made this album stand out to me. Same with &#8220;Cat&#8221; and &#8220;Dog.&#8221;</p>
<div class="clear"></div>
<p><img src="http://johnbhartley.com/wp-content/uploads/2013/03/heartthrob-150x150.jpg" alt="heartthrob" width="150" height="150" class="alignleft size-thumbnail wp-image-1877" /><br />
<h3>5. Heartthrob &#8211; Tegan and Sara</h3>
<p>I got into Tegan and Sara with &#8220;The Con&#8221; and their latest venture is a bit more poppy than usual, but overall just as creepy as past albums. There&#8217;s always a hint of &#8220;I&#8217;m a stalker&#8221; in their albums and I&#8217;m all for themes, so middle of my list seems fitting.</p>
<div class="clear"></div>
<p><img src="http://johnbhartley.com/wp-content/uploads/2013/03/braid-1.png" alt="braid-1" width="150" height="150" class="alignleft size-full wp-image-1874" /><br />
<h3>4. Music From Braid &#8211; Sieber, Kammen, Fulton and Schatz</h3>
<p>Last year I finally managed my way through the indie game &#8220;Braid.&#8221; So I cheated a bit on the way, but whatever. The music from this game is quite different from many in the sense that it has a lot to do with time (one of the essential aspects of the game). The tempos all have specific meaning and listening to the soundtrack puts me in a great state of mind.</p>
<div class="clear"></div>
<p><img src="http://johnbhartley.com/wp-content/uploads/2013/03/Bonobo_-_Black_Sands-150x150.jpg" alt="Bonobo_-_Black_Sands" width="150" height="150" class="alignleft size-thumbnail wp-image-1873" /><br />
<h3>3. Black Sands &#8211; Bonobo</h3>
<p>One of the first mainly instrumental albums I listened to was &#8220;Animal Magic&#8221; from Bonobo back in 2009. It was awesome to have some new focus music, but I lost touch with Bonobo over the years. Thankfully in 2012, Black Sands brought me back in with the Remixed edition. With some sounds inspired by the far east, the tracks lilt their way through the album and the non-remixed is just as good. Quite the &#8220;intellectual chillout music&#8221; it was designed to be.</p>
<div class="clear"></div>
<p><img src="http://johnbhartley.com/wp-content/uploads/2013/03/Indie-Game-The-Movie-150x150.jpg" alt="Indie-Game-The-Movie" width="150" height="150" class="alignleft size-thumbnail wp-image-1878" /><br />
<h3>2. Indie Game: The Movie &#8211; Jim Guthrie</h3>
<p>If you&#8217;ve not watched Indie Game: The Movie, I recommend doing so. Overall it was incredibly inspiring and the soundtrack was awesome. Speaking of Indie games, the winner of this year&#8217;s Maximum Efficiency award is&#8230;</p>
<div class="clear"></div>
<p><img src="http://johnbhartley.com/wp-content/uploads/2013/03/fez-150x150.jpg" alt="fez" width="150" height="150" class="alignleft size-thumbnail wp-image-1875" /><br />
<h3>1. Fez &#8211; Disasterpeace</h3>
<p>This is the soundtrack for one of the most frustrating/awesome indie games I&#8217;ve ever played. 3+ years of development, a whole language, crazy secret codes to unlock things and a sick soundtrack. Sometimes friendly and sometimes daunting, the soundtrack is great for a relaxing or intense day in teh codez.</p>
<div class="clear"></div>
<p>Just missed: Wolf&#8217;s Law &#8211; Joy Formidable, SimCity &#8211; EA Games Soundtrack</p>
<p>What are your top &#8220;music to code to&#8221; tracks?</p>
<p>Featured Image taken from : <a href="http://andrewgarrison.com/project/codemonkey/" title="here">here</a></p>
<p>The post <a href="http://www.johnbhartley.com/2013/top-10-albums-for-maximum-coding-efficiency-part-deux/">Top 10 Albums For Maximum Coding Efficiency Part Deux</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.johnbhartley.com/2013/top-10-albums-for-maximum-coding-efficiency-part-deux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compass Won&#8217;t Compress Sass to CSS</title>
		<link>http://www.johnbhartley.com/2013/compass-wont-compress-sass-to-css/</link>
		<comments>http://www.johnbhartley.com/2013/compass-wont-compress-sass-to-css/#comments</comments>
		<pubDate>Wed, 27 Feb 2013 16:37:14 +0000</pubDate>
		<dc:creator>johnbhartley</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Code Tips]]></category>

		<guid isPermaLink="false">http://www.johnbhartley.com/?p=1851</guid>
		<description><![CDATA[<p>Sweet piece of Sass...</p><p>The post <a href="http://www.johnbhartley.com/2013/compass-wont-compress-sass-to-css/">Compass Won&#8217;t Compress Sass to CSS</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>I love Compass for it&#8217;s simplicity and all around effort to make my life easier. I don&#8217;t like Compass when it won&#8217;t compress Sass to CSS aka the process of taking a bunch of jumbled Sass and converting it to readable styling or minified styling. </p>
<p>To go from verbose, commented sloppiness to nicely compressed/minified CSS, Compass has an incredibly easy command line command. Careful though, there are some things you may not think to do that will block your path to neat and tidy stylesheets. Note: when I say verbose and sloppy, I am referring to your main development settings, which I have set to uncompressed styling with line comments, which can become thousands of lines of CSS.</p>
<h3>Getting There</h3>
<p>In your project you should have a config.rb somewhere. In it, you most likely have something called &#8216;output_style&#8217; which can be set to <strong>:compressed</strong> or <strong>:expanded</strong>. Those settings adjust the compiled CSS differently. <strong>Update: </strong> greg5green noted in the comments that you can also use <strong>:compact</strong> or <strong>:nested</strong>. </p>
<p>I like to develop with my CSS expanded, making use of a Web Inspector to debug. Expanded with comments shows where in your mixin files the line of styling is coming from. Once I&#8217;ve completed the project though, I want it to be compressed. </p>
<p>The first time I compressed my SCSS I ran into issues. I switched the file &#8216;config.rb&#8217; to say <strong>:compressed</strong> instead of <strong>:expanded</strong>, but nothing happened. After checking out the <a href="https://github.com/chriseppstein/compass/issues/300" title="Compass GitHub Page">Compass GitHub page</a>, I was surprised with how simple it was and how dumb I was being. </p>
<h3>Adjust config.rb</h3>
<p>Change your config.rb file to resemble the below lines.</p>
<pre class="brush: ruby; title: ; notranslate">
# from 
output_style = :expanded
# to
output_style = :compressed

# I also had line commenting turned on, so I included
line_comments = false
</pre>
<p>In changing those aspects of your config file you are saying, &#8220;HEY, let&#8217;s tidy this up. Compact this piece.&#8221; </p>
<h3>Restart Apache</h3>
<p><del datetime="2013-03-14T04:19:40+00:00">This sounds dumb and simple, but it took me the most time to figure out. When in doubt, put it out&#8230;or something. Restart Apache and continue on.</del><br />
Note: I thought this was necessary originally, but later on realized all you need to do is compile (see next step) and everything will be fine.</p>
<h3>Shake Your Sass</h3>
<p>From the command line, <strong>cd</strong> (change directory) up to your /scss directory. This is the same directory that you are using <strong>compass watch</strong> to monitor your scss files changing.</p>
<p>Once there, simply input </p>
<pre class="brush: ruby; title: ; notranslate">
compass compile
</pre>
<p>and you should see something similar to the following output.<br />
<img src="http://johnbhartley.com/wp-content/uploads/2013/02/compass-compile.jpg" alt="compress sass to css" width="80%" height="auto" class="aligncenter size-full wp-image-1852" /></p>
<h3>What Happened</h3>
<p>When you commanded &#8216;compass compile&#8217; the current style.css file is deleted and replaced with a newly created style.css file, based on your most recent config.rb and style.scss file. </p>
<p>Simple enough and now you have one reallllly long line of CSS, reducing your file size by a good deal (hopefully).</p>
<p>If you have any questions or comments leave them below. I hope to add more about becoming a Sasshole in the future, so feel free to tell me what I should be checking out. </p>
<p>Compass Command Line Documentation: <a href="http://compass-style.org/help/tutorials/command-line/">http://compass-style.org/help/tutorials/command-line/</a></p>
<p>The post <a href="http://www.johnbhartley.com/2013/compass-wont-compress-sass-to-css/">Compass Won&#8217;t Compress Sass to CSS</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.johnbhartley.com/2013/compass-wont-compress-sass-to-css/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Remove div and ul from wp_nav_menu</title>
		<link>http://www.johnbhartley.com/2013/remove-div-and-ul-from-wp_nav_menu/</link>
		<comments>http://www.johnbhartley.com/2013/remove-div-and-ul-from-wp_nav_menu/#comments</comments>
		<pubDate>Mon, 25 Feb 2013 14:54:35 +0000</pubDate>
		<dc:creator>johnbhartley</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Code Tips]]></category>
		<category><![CDATA[Snippet]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[div and ul]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[wordpress 3.5.1]]></category>
		<category><![CDATA[wordpress menus]]></category>
		<category><![CDATA[wp_nav_menu]]></category>

		<guid isPermaLink="false">http://www.johnbhartley.com/?p=1842</guid>
		<description><![CDATA[<p>Johnye's Menu Workout Plan...trim the fat.</p><p>The post <a href="http://www.johnbhartley.com/2013/remove-div-and-ul-from-wp_nav_menu/">Remove div and ul from wp_nav_menu</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>I looked and looked for ways to remove div <em>and</em> ul from wp_nav_menu() and I finally found a way. </p>
<h3>The Code</h3>
<pre class="brush: php; title: ; notranslate">&lt;?php wp_nav_menu(array(
   'menu' =&gt; 'Main Menu', 
   'items_wrap'=&gt;'%3$s', 
   'container' =&gt; false
)); ?&gt;</pre>
<p>So it all starts with the <a href="http://codex.wordpress.org/Function_Reference/wp_nav_menu" title="wp_nav_menu">wp_nav_menu function</a>, which I generally use to display my menus. </p>
<h3>The $args</h3>
<p>There is a whole list of arguments that you can use for the function and as you can see I&#8217;ve only used three. The menu argument dictates which menu is going to show up. I have a menu saved as Main Menu, so if I have that in my arguments, that particular menu will show up. </p>
<p>Next is &#8216;items_wrap&#8217; which I still don&#8217;t fully understand. If someone else knows better than me, seriously, let me know in the comments and I will thank you profusely. The way I understand it is that %3$s just tells WordPress, &#8220;hey, this is where the list of items are going to be. Feel free to wrap &#8216;em.&#8221; In this case we are refusing to wrap them with anything, thus, no &lt;ul&gt; are being used. </p>
<p>To explain what the Codex says, let&#8217;s take a look at the individual parts of &#8216;items_wrap&#8217;.</p>
<p><em>&#8220;Evaluated as the format string argument of a sprintf() expression. The format string incorporates the other parameters by numbered token. %1$s is expanded to the value of the &#8216;menu_id&#8217; parameter, %2$s is expanded to the value of the &#8216;menu_class&#8217; parameter, and %3$s is expanded to the value of the list items. If a numbered token is omitted from the format string, the related parameter is omitted from the menu markup.<br />
Default: &lt;ul id=&#8221;%1$s&#8221; class=&#8221;%2$s&#8221;&gt;%3$s&lt;/ul&gt;&#8221;</em></p>
<p>Breaking it down further:</p>
<ul>
<li>%1$s &#8211; is equal to the menu_id param, which defaults to &#8216;menu-{menu slug}&#8217;</li>
<li>%2$s &#8211; is the same as menu_class param, with a default of &#8216;menu&#8217;</li>
<li>%3$s &#8211; the output of the list items, so the &lt;li&gt; and the &lt;a&gt;&#8217;s inside</li>
</ul>
<p>Seems to make sense when we break it down. </p>
<p>Moving forward to &#8216;container&#8217;, the default is div and setting it to false prevents any extra container from showing. I get the same result by just using &#8216;container&#8217; =&gt; &#8221;, but the Codex says to set it to false, and who am I to argue. </p>
<p>That&#8217;s it. We&#8217;ve broken down the full array and now understand a little more about how to remove div and ul from wp_nav_menu. Like I said, if you have more insight, please feel free to share. Otherwise, check out some more WordPress functions: <a href="http://www.johnbhartley.com/2012/custom-taxonomy-category-dropdown/" title="Custom Taxonomy Category Dropdown">Custom Taxonomy Category Dropdowns</a> or <a href="http://www.johnbhartley.com/2013/custom-excerpt-length/" title="Custom Excerpt Lengths in WordPress">Custom Excerpt Lengths</a>.</p>
<p>The post <a href="http://www.johnbhartley.com/2013/remove-div-and-ul-from-wp_nav_menu/">Remove div and ul from wp_nav_menu</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.johnbhartley.com/2013/remove-div-and-ul-from-wp_nav_menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Edge Reflow &#8211; First Look</title>
		<link>http://www.johnbhartley.com/2013/adobe-edge-reflow-first-look/</link>
		<comments>http://www.johnbhartley.com/2013/adobe-edge-reflow-first-look/#comments</comments>
		<pubDate>Mon, 18 Feb 2013 20:17:29 +0000</pubDate>
		<dc:creator>johnbhartley</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[adobe edge reflow]]></category>
		<category><![CDATA[breakpoints]]></category>
		<category><![CDATA[responsive breakpoints]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.johnbhartley.com/?p=1817</guid>
		<description><![CDATA[<p>[pearl jam voice]Ree hee flowwwww</p><p>The post <a href="http://www.johnbhartley.com/2013/adobe-edge-reflow-first-look/">Adobe Edge Reflow &#8211; First Look</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></description>
				<content:encoded><![CDATA[<p><iframe width="1280" height="720" src="http://www.youtube.com/embed/1IY7MYxOZ0U?rel=0" frameborder="0" allowfullscreen></iframe></p>
<p><a href="http://html.adobe.com/edge/reflow/" title="Adobe">Adobe Edge Reflow</a> came out last week (at least to my knowledge the preview just came out last week) and I hopped on over to the Creative Cloud as soon as I heard on Twitter. I&#8217;d been talking about the program and waiting for it since I first found out it was in production around November 2012. From what I can tell, Reflow is attempting to revolutionize the web design field. </p>
<p>A mix of Photoshop an any wireframe program you&#8217;ve ever used, Adobe Edge Reflow gets a boost of steroids and becomes responsive. If you&#8217;re more of the reading type, instead of a video watching person, I&#8217;ve included my initial impressions of the program below, along with some implications. </p>
<h3>Enter Adobe Edge Reflow</h3>
<p><img src="http://johnbhartley.com/wp-content/uploads/2013/02/reflow-11.jpg" alt="Responsive Breakpoints in Adobe Edge Reflow" width="350" height="313" class="alignright size-full wp-image-1829" />The first thing I looked for in Reflow was how to make my layout responsive. The main button for doing this is in the top right corner, the plus(+) symbol with a tiny downward arrow next to it. By clicking the plus symbol, you can create new breakpoints. Holding down the plus symbol brings up an advanced panel, which lets you set exact pixel width and give your breakpoint a label.</p>
<p>From there you can switch between the two layout sizes fluidly by clicking on their descriptions. You can see the grid is flexible and changes along with the layout size. </p>
<p>In the top left, you can choose from Selection Tool, Add a Box, Add a Text Box, and Add an Image. To do that, simply click on the appropriate button and drag it into your layout. Before you do anything else, switch between your layouts. If you added it to the 640px layout, say all the way across the top of your page, it will be all the way across the top on the full desktop version. This is where it gets cool. If you want it to be half as wide on desktop, just adjust it with that tab open. </p>
<p>Switch between the two again and you can see that it is saving your changes for each separately. That&#8217;s the kicker for me. I didn&#8217;t get much farther in the program but will be diving further in this week to really get a good feel for it. Overall I&#8217;d say it is a game-changer. Laying out one design for different sizes, all without ever opening a different Photoshop file? I&#8217;m in. </p>
<p>The post <a href="http://www.johnbhartley.com/2013/adobe-edge-reflow-first-look/">Adobe Edge Reflow &#8211; First Look</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.johnbhartley.com/2013/adobe-edge-reflow-first-look/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Public Service Announcement &#8211; Germs</title>
		<link>http://www.johnbhartley.com/2013/public-service-announcement-germs/</link>
		<comments>http://www.johnbhartley.com/2013/public-service-announcement-germs/#comments</comments>
		<pubDate>Wed, 13 Feb 2013 15:43:54 +0000</pubDate>
		<dc:creator>johnbhartley</dc:creator>
				<category><![CDATA[Final Cut Pro]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.johnbhartley.com/?p=1804</guid>
		<description><![CDATA[<p>No sneezing...on your hands at least.</p><p>The post <a href="http://www.johnbhartley.com/2013/public-service-announcement-germs/">Public Service Announcement &#8211; Germs</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></description>
				<content:encoded><![CDATA[<p><iframe width="1280" height="720" src="http://www.youtube.com/embed/lcUSK2n_tFA?rel=0" frameborder="0" allowfullscreen></iframe></p>
<p><strong>Role: </strong>Producer/Editor<br />
<strong>When: </strong>Winter 2010<br />
<strong>Tools Used: </strong>Final Cut Pro</p>
<p><strong>What: </strong>A short PSA for a class project.</p>
<p>Shot on Canon 7d.</p>
<p>For more video examples, click <a title="Video Work" href="/category/video/">here</a>.</p>
<p>The post <a href="http://www.johnbhartley.com/2013/public-service-announcement-germs/">Public Service Announcement &#8211; Germs</a> appeared first on <a href="http://www.johnbhartley.com">John B. Hartley</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.johnbhartley.com/2013/public-service-announcement-germs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
