<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Unfinished Thoughts</title> 
		<link>http://williamflake.com/blog/</link> 
		<atom:link href="http://williamflake.com/blog.rss/" rel="self" type="application/rss+xml" />
		<description>The Personal Website of William Flake</description>
		<webMaster>webmaster@williamflake.com (William Flake)</webMaster>
		<lastBuildDate>Thu, 11 Mar 2010 00:50:52 EST</lastBuildDate>		<item> 
			<title>Brand New Habits</title> 
			<link>http://williamflake.com/blog/2010/3/9/Brand_New_Habits</link>
			<guid isPermaLink="true">http://williamflake.com/blog/2010/3/9/Brand_New_Habits</guid>
 			<description><![CDATA[<p>It's been well over a month since I started my new regimen of taking care of myself.  Over a month of finally working out on a regular basis.  Over a month of watching what I eat and drink, making smarter choices about what I consume.  Have I been perfect? No. (As it turns out, "Grape Juice Beverage" by Minute Maid is one of the most addicting substances on earth.)  But have I already learned a lot? Yes.</p>

<p>If you had mentioned to me at Christmas that by spring break I would have settled into a regular exercise routine, I would have laughed.  At the end of January, I would accused you of reading my thoughts and I would have promptly put on a tin-foil hat.  Today, a little over 30 days since then, I have deliberately walked over 56 miles, done over 600 pushups, over 1800 situps, and lifted over 6 tons of steel.  And throughout the course of all this, something amazing happened.  I didn't lose weight (that I know of) or build muscle (that I can see), but I completely changed a habit that was years in the making.</p>

<p>The first few weeks of exercise were tough.  I had to force myself to get up and walk.  The concept of getting on our hair-covered floor to do pushups disgusted me.  But I slogged through them.  The first few weeks of my diet were tough.  I haven't wanted caffeine so badly in my life.  I had to take up chewing gum to convince my stomach that it wasn't hungry at all hours.  But now, none of that's a problem.  I look at the Coke machine in the basement and don't even think about stopping.  I see the tub of delicious peanuts under our TV, but they have long since ceased to call out to me.  I get upset when homework takes me into the late evening, because my legs are begging me to go to the gym.  It's hard to be a lazy bum when your desire to be sedentary is gone.</p>

<p>It took a month.  One month.  In that month I have completely turned around two major facets of my life.  Who knew it could be so simple?</p>]]></description> 
			<pubDate>Tue, 09 Mar 2010 23:05:04 EST</pubDate> 
		</item>
		<item> 
			<title>Introducing: The Fridge</title> 
			<link>http://williamflake.com/blog/2010/2/6/Introducing_The_Fridge</link>
			<guid isPermaLink="true">http://williamflake.com/blog/2010/2/6/Introducing_The_Fridge</guid>
 			<description><![CDATA[<p>When kids are growing up, what is a sure-fire way to get them to do chores?  Post a list on the refrigerator.  The public humiliation of not getting smilie-face stickers for each day can act as a stick, and the pride of filling up every row, every day can act as a carrot.</p>
<p>To help me with <a href="http://williamflake.com/blog/2010/1/31/Just_in_the_Nick_of_Time/">my New Years' resolutions</a>, I decided that I needed a fridge to post my workout data to.  However, the microfridge in the dorm room was not going to suffice.  It's too low to the ground and only three other people ever see it.  Instead, I am creating a virtual refrigerator door, right here on this website.  Right now, it's very simple: a list of the things I'm supposed to do every day, and the results of those activities.  If I don't work out, you'll know it.  My performance can now be pushed by everyone walking past the virtual icebox.</p>
<p>In the future, I plan to make The Fridge much more robust.  It'll give you more data, make entry for me a LOT easier, and even let you join in.  It hardly seems fair to consume an entire refrigerator door with only my stuff, so, if you so choose, you will be able to keep track of your goals.  I'll have more information about the specific features once they're completed.  I hope that you will find The Fridge as useful as I do.</p>
<p>So, what are you waiting for? <a href="http://williamflake.com/fridge/">Check it out</a>, and be sure to stop by on a regular basis to help make sure that I don't start slacking off.</p>]]></description> 
			<pubDate>Sat, 06 Feb 2010 00:30:16 EST</pubDate> 
		</item>
		<item> 
			<title>Just in the Nick of Time</title> 
			<link>http://williamflake.com/blog/2010/1/31/Just_in_the_Nick_of_Time</link>
			<guid isPermaLink="true">http://williamflake.com/blog/2010/1/31/Just_in_the_Nick_of_Time</guid>
 			<description><![CDATA[<p>Here we sit, the last minutes of the first month of a new year ticking into oblivion.</p>

<p>And here I sit, working on the my first blog entry of said new year.  Talk about procrastination.</p>

<section>
<h1>"New" Year's Resolutions</h1>
<p>Although it's probably a bit late to make resolutions for the <del>year</del> <ins>11 months</ins> ahead, the entire month of January seemed to be a blur of non-productivity, and therefore, I'm working the resolutions in where I can.  And that time is now.</p>

<p>As my roommates already know, I am going to make this year the year that I start taking care of myself again.  My first three semesters at school saw my diet decline from healthy foods and milk to cheeseburgers and EVERYTHING THAT EXISTS IN THE ROOM. (Sorry guys…)  The month of January saw my introduction of phase I of Operation Stop Being a Fat-ass, where I have worked to stop eating the stuff in our room.  Every now and then I still slide back into garbage-disposal mode, but Daniel is always there to remind me of my goal.  I really owe him a lot.  Thanks.</p>

<p>Phase II, which I started the other day, is to fix my habit of drinking about 27.3 metric tons of sugar per meal (<abbr title="editor's">ed.</abbr> note: there is a margin of error of approximately ±2.3%).  So, to correct this, I am stopping drinking all sodas and sweet tea.  It's really hard, but necessary.  Also, I am slowly starting a "workout" routine.  As of yesterday, I now go on brisk walks around campus.  They're really tiring; I'm really out of shape.</p>

<p>Phases III through whenever I stop numbering them will extend these reforms to actually modify what I eat at meals, expand my exercising, and hopefully, make me less of a lazy bum.  Only time will tell, but for now, I have forever inscribed this resolution in the stone tablets of the internet.</p>

<p>I have no other resolutions: I think what I've set on my plate is plenty.</p>
</section>

<section>
<h2>Website Updates</h2>
<p>Despite the dire lack of blog entries, things have not been completely quiet on the website front.  The ePortfolio is slowly being fleshed out with actual content (all presented in such a way that all people, including the blind, will be able to read my documents.)  I also have some new ideas for the site, as well as some old ideas to continue working on (such as hopefully getting my Salkehatchie-related pet project functional.)  Stylesheets for mobile and print have been refined a bit.  There's a lot going on, but a lot more that still needs to happen.  I hope to have the time.</p>
</section>
<hr />

<p>In conclusion, it's been a whirlwind month.  My plan is to manage my time, manage my self, and manage my goals in a manner that allows me to actually do the things I love and the things I need to do, rather than just existing day to day.  Wish me luck!</p>]]></description> 
			<pubDate>Sun, 31 Jan 2010 22:59:25 EST</pubDate> 
		</item>
		<item> 
			<title>Of Squirrels and Men</title> 
			<link>http://williamflake.com/blog/2009/12/6/Of_Squirrels_and_Men</link>
			<guid isPermaLink="true">http://williamflake.com/blog/2009/12/6/Of_Squirrels_and_Men</guid>
 			<description><![CDATA[<figure class="smallillustration" style="width:140px;">
<img src="http://williamflake.com/images/CSSquirrel.png" alt="CSSquirrel Logo" />
<div class="credit">Image by Kyle Weems</div>
<figcaption>Logo of <a href="http://cssquirrel.com">CSSquirrel.com</a></figcaption>
</figure>

<p>As some of you may have figured out by now, I like to consider myself a web designer.  However, up until now, the extent of my online presence has stretched about as far as my bass performance skills have: playing around in front of my family and a couple of friends.  Case in point: this website.</p>

<p>As part of my playing around, I follow the postings and thoughts of many notable members of the web design community.  One such developer is Kyle Weems, also known by his online persona: CSSquirrel.  On Saturday, he posted <a href="http://www.cssquirrel.com/2009/12/04/the-parallax-header-how-i-do-it/">a blog entry</a> describing how his site's cool animated header works.  It was an interesting read, but what stuck out in my mind was how simple the code was.</p>

<section>
<h1>The Existing Code</h1>
<p>As mentioned in his post, the entire code appeared as follows:</p>
<code>$(”#branding”).mousemove(function(e) {
mouseX = e.clientX;
$(”#cloudLayer”).css(”background-position”, Math.floor(mouseX / 4) + “px 0″);
$(”#mountainLayer”).css(”background-position”, Math.floor(mouseX / 3) + “px 0″);
$(”#hillLayer”).css(”background-position”, Math.floor(mouseX / 2) + “px 0″);
$(”#forestLayer”).css(”background-position”, mouseX + “px 0″);
});</code>
<p>The gist of this code (written in jQuery) is that whenever the mouse is located in the main header, the script tracks the mouse's position, and moves the 4 images which make up the header at different speeds.  It worked really well, especially given how little code it took.  In my view, though, it had one major problem: there was a rather unsightly jump as the mouse entered the frame.  The reason for this was that the images are positioned based solely on the mouse's position, with no respect given to the existing position.</p>
</section>
[READMORE]
<section>
<h1>My Changes</h1>
<p>Inspired by the code's simplicity, I started playing around with how to remove the sudden jump every time you started the animation.  After about 25 minutes of tinkering, I wound up with this code:</p>
<code>cloud = 0; 
mountain = 0;
hill = 0;
forest = 0;

$("#branding").bind('mouseenter',function(e) {
cloud = parseInt($("#cloudLayer").css("background-position"))*4-e.clientX;
mountain = parseInt($("#mountainLayer").css("background-position"))*3-e.clientX;
hill = parseInt($("#hillLayer").css("background-position"))*2-e.clientX;
forest = parseInt($("#forestLayer").css("background-position"))-e.clientX;
});

$("#branding").mousemove(function(e) {
mouseX = e.clientX;
$("#cloudLayer").css("background-position", Math.floor((mouseX+cloud)/ 4)%800 + "px 0");
$("#mountainLayer").css("background-position", Math.floor((mouseX+mountain)/ 3%652) + "px 0");
$("#hillLayer").css("background-position", Math.floor((mouseX+hill)/2%800) + "px 0");
$("#forestLayer").css("background-position", (mouseX+forest)%800 + "px 0");
});</code>
<p>With the new code added, the initial position captured in lines 6-11, is taken into account in the slightly rewritten lines 13-18, and the background simply follows the header's motion without having to immediately adjust to the mouse's literal position.</p>
</section>
<section>
<h1>Aftermath</h1>
<p>Once I had fully debugged this code, I prepared a test page and sent it to Mr. Weems.  After a brief back and forth (in my excitement I accidentally left the links pointing to my computer, not the server), he <a href="http://twitter.com/cssquirrel/status/6407094479">replied</a> that he liked it, and minutes later, my code was live on his site.  I didn't expect him to respond to my code suggestion, much less adopt it immediately.  Better still, he even gave me <a href="http://www.cssquirrel.com/wp-content/themes/cssquirrel/js/squirrel_functions.js">credit in the code</a> for writing it.</p>
<p>So, there you have it: my first "major" web design accomplishment.  I'm thrilled. Check out the header at <a href="http://cssquirrel.com">CSSquirrel.com</a>.</p>
</section>]]></description> 
			<pubDate>Sun, 06 Dec 2009 23:06:57 EST</pubDate> 
		</item>
		<item> 
			<title>Generosity</title> 
			<link>http://williamflake.com/blog/2009/10/14/Generosity</link>
			<guid isPermaLink="true">http://williamflake.com/blog/2009/10/14/Generosity</guid>
 			<description><![CDATA[<p>After returning from fall break, I am amazed by the generosity people have towards others.</p>
<p>First, a little background.  I had been wanting to bring my car to school, because walking everywhere has severely limited me in some cases (that 3 mile walk to the church to get an Easter basket last spring nearly killed me).  The only problem is, the car has been sitting dead on the driveway for years.  With the help of my grandfather and a couple of phone calls to my uncle, we replaced the alternator and fixed the windshield wipers, the two most crucial repairs needed.</p>
<p>To get me all set to head back to school, my parents graciously paid for routine maintenance repairs on the car.  All in all, I think every drop of fluid in the car may have been replaced, and with good reason, for they had probably nearly crystalized with all the time spent unused.  My family was really looking out for me.</p>
[READMORE]
<section>
<h1>But, Of Course…</h1>
<p>No amount of preparation in the world could prevent everything from going wrong, especially with a 20 year old car.  As I got off the interstate on the last leg of my journey to Clemson, I heard a very quiet pop, and my power steering went out.  I laughed a little, knowing that something had to go wrong, so at least it was something as easily fixable as power steering.</p>
<p>…</p>
<p>What didn't cross my mind was that all of the fluids had been checked that morning, so it had not just run out of power steering fluid.  I pulled into a shell station about 5 miles from campus to fix the car.  I opened the hood to see the drive belt broken and laying across its pulleys.  Now, I don't know very much about how cars work, but I knew it was the "drive" belt and that without it, I could probably cause a lot of damage by continuing to "drive."</p>
<p>So, I was stranded, on the outskirts of a small college town in the middle of fall break.</p>
</section>
<section>
<h1>A Family of Angels</h1>
<p>Not knowing who else to call, I dialed Brian's number, hoping that he could at the very least pick me up and take me to the dorm.  What I received instead was a blessing.  It turns out he was at Kate's house, and Kate, her dad, and Brian came to my rescue.  They drove me to the auto parts store, helped me try to replace the belt (which ended up not working), helped me park the car in a better lot, took me home, and even gave me a home-cooked dinner.</p>
<p>In the course of a few hours, I went from feeling mature and self-reliant to feeling like a scared kid on his own to feeling loved by a family I had never even met before.  I have truly blessed to know such wonderful people.  Thanks to everyone who has been so generous towards me recently.  You have no idea how much I appreciate it</p>
</section>]]></description> 
			<pubDate>Wed, 14 Oct 2009 19:24:05 EDT</pubDate> 
		</item>
		<item> 
			<title>Beyond the Plateau</title> 
			<link>http://williamflake.com/blog/2009/10/11/Beyond_the_Plateau</link>
			<guid isPermaLink="true">http://williamflake.com/blog/2009/10/11/Beyond_the_Plateau</guid>
 			<description><![CDATA[<p>I know that I haven't mentioned my progression with bass guitar very often in my blog, but it's been coming along well.  I've certainly advanced a lot from the buzzes and squeaks which characterized my early songs.  My tone has gotten better, I've gotten faster at strumming and can play across the strings with relative ease.  The problem is, I've reached a plateau.</p>

<p>At this point, I can sort of play any tablature which gets placed in front of me.  It may take a little while to work up, but the basic mechanics of how to play and makes notes come out is there.  What I currently lack is the ability to take those notes and really make music.</p>

<p>The other day I bought a gigantic book of music theory for the bass.  Looking through it, I got very excited.  The things in this book are what I've severely lacked in my own playing: actual music.  It's been so long since I had formal music lessons that I had forgotten how important the basics such as scales and chords are.  But now, with an actual course of study ahead of me, I <em>might</em> just be able to someday pass myself off as a musician.</p>]]></description> 
			<pubDate>Sun, 11 Oct 2009 15:17:22 EDT</pubDate> 
		</item>
		<item> 
			<title>Ch-Ch-Ch-Ch Changes</title> 
			<link>http://williamflake.com/blog/2009/9/26/Changes</link>
			<guid isPermaLink="true">http://williamflake.com/blog/2009/9/26/Changes</guid>
 			<description><![CDATA[<p>Alrighty, a large number of changes have now been instituted.  All of the pages should now be HTML5.  The style sheet has been completely rewritten, most of it from scratch, to accommodate the new markup.  Each and every blog post has been edited by hand to adapt its code to the new format.  I don't expect you to actually care about this: I just wanted to let you know how hard it was.</p>

<p>Of course, some things are broken: The mobile site is totally busted, the print styles are totally busted, Internet Explorer support is totally busted, and all other events are pending.  Sorry, The Lonely Island's <a href="http://www.youtube.com/watch?v=6R3d30JtqDg">Space Olympics</a> just jumped in my head.<p>

<p>In any case, if you see anything else broken, let me know.</p>]]></description> 
			<pubDate>Sat, 26 Sep 2009 17:37:32 EDT</pubDate> 
		</item>
		<item> 
			<title>Failing to Leave Well Enough Alone</title> 
			<link>http://williamflake.com/blog/2009/9/24/Failing_to_Leave_Well_Enough_Alone</link>
			<guid isPermaLink="true">http://williamflake.com/blog/2009/9/24/Failing_to_Leave_Well_Enough_Alone</guid>
 			<description><![CDATA[<p>Caution: Yet another nerdy, self referential post follows</p>
<hr />
<p>In building this website, I opted to code everything by hand.  In doing so, I've had a lot of mess ups, I've learned a lot about web development, and, most importantly, I've had a blast doing it.  Today I am announcing the next phase of my development.</p>
<p>For the past decade, the web has been powered by the 4th version of the Hypertext Markup Language, HTML4.  As you may have noticed, the internet neither looks nor acts much like it did at the turn of the century: the web has evolved, but the language used has not kept up.</p>
<p>HTML4 has been good, but it's time to do better.  For the past few years, teams of devoted developers have been writing a complete overhaul to the system: HTML5 (catchy name, huh?).  I know that most of you will not find the incrementing of version numbers particularly interesting, but as a web developer, it's really awesome.</p>
<section>
<h1>Why HTML5 Matters</h1>
<p>For years, there has been some semantic nature to the tags used to mark up web documents.  The &lt;p&gt; tag marks up paragraphs.  The &lt;blockquote&gt; tag marks up large blocks of quotation.  While I doubt many of you have ever seen these tags, they are invaluable to search engines like Google when figuring out what a page means, to unsighted people reading the internet with screen readers, and a host of others.</p>
<p>HTML5 lets me mark up more of the document in ways that directly helps these users.  No longer is navigation considered just an arbitrary place in the document: instead it is readily apparent as a navigation bar.  The words that you read have meaning, and with HTML5, the structure of the document is a part of that meaning.</p>
</section>
<section>
<h1>How Does This Affect You?</h1>
<p>Over the next few weeks I will be transitioning my pages to this new standard.  It's a surprisingly large amount of work, but I quite enjoy doing it.  The site may have to come down several times, so expect seemingly random delays.  But, in the end, it's gonna be great.  I've got some cool ideas for things I can do in conjunction with this project, and hopefully the site will be prettier, faster, easier to use, and updated more often.</p>
<p>Thanks for the patience, support, and reading of posts that are really, truly, uninteresting</p>
</section>]]></description> 
			<pubDate>Thu, 24 Sep 2009 19:03:29 EDT</pubDate> 
		</item>
	</channel>
</rss>