<?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>Doug Clark</title>
	<atom:link href="http://www.dougclarkonline.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dougclarkonline.com</link>
	<description></description>
	<lastBuildDate>Wed, 20 Mar 2013 06:27:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Twitter Bootstrap Themes!</title>
		<link>http://www.dougclarkonline.com/twitter-bootstrap-themes/</link>
		<comments>http://www.dougclarkonline.com/twitter-bootstrap-themes/#comments</comments>
		<pubDate>Thu, 29 Nov 2012 20:13:50 +0000</pubDate>
		<dc:creator>Doug Clark</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[bootstrap]]></category>
		<category><![CDATA[foundation]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wrap]]></category>
		<category><![CDATA[wrapbootstrap]]></category>
		<category><![CDATA[zurb]]></category>

		<guid isPermaLink="false">http://www.dougclarkonline.com/?p=861</guid>
		<description><![CDATA[I&#8217;m not a front end developer.  I can do CSS.  I can do some design.  But I&#8217;m better at the code.  That&#8217;s what drew me to both Zurb Foundation and Twitter Bootstrap &#8211; design frameworks that I simply don&#8217;t have to mess with to start building up a UI for a web app.  If you&#8217;re [...]]]></description>
				<content:encoded><![CDATA[<p><strong>I&#8217;m not a front end developer.</strong>  I can do CSS.  I can do some design.  But I&#8217;m better at the code.  That&#8217;s what drew me to both Zurb Foundation and Twitter Bootstrap &#8211; design frameworks that I simply don&#8217;t have to mess with to start building up a UI for a web app.  If you&#8217;re not familiar with those, I&#8217;d recommend heading over to <a href="http://twitter.github.com/bootstrap/" target="_blank">Twitter Bootstrap</a> and <a href="http://foundation.zurb.com/" target="_blank">Zurb Foundation</a>&#8216;s sites, and give them a shot.</p>
<p>I favor Twitter Bootstrap personally &#8211; Foundation gave me some headaches when using it with Rails, Bootstrap&#8217;s syntax is a lot nicer (IMO), and Bootstrap just has more resources available for it (theme color generators, plugins, sample templates, etc.).  But at the end of the day, sites built with Bootstrap look like Bootstrap, and that&#8217;s a pretty major downside.</p>
<p>A few months back I stumbled upon <a title="WrapBootstrap" href="https://wrapbootstrap.com/?ref=dougclarkonline" target="_blank">WrapBootstrap</a>.  They have hundreds of great themes (and they&#8217;re generally all HTML so you can adapt them to Rails, PHP, WordPress, whatever), and they&#8217;re CHEAP.  Most themes run around $10-$15, while some in the upper echelon run around $20.</p>
<p>To date, I&#8217;ve made several sites using themes from here, and I&#8217;m quite impressed.  It saves me tons of time and makes the client&#8217;s site look unique.  It&#8217;s a win-win.</p>
<p>Check them out today - <a title="WrapBootstrap" href="https://wrapbootstrap.com/?ref=dougclarkonline" target="_blank">WrapBootstrap</a>.  It&#8217;s a great idea, and for rails projects, it&#8217;s just a matter of dropping in the CSS and JS into the pipeline, and building out your layouts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougclarkonline.com/twitter-bootstrap-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP Remote &#8211; The Freer ManageWP!</title>
		<link>http://www.dougclarkonline.com/wp-remote-the-freer-managewp/</link>
		<comments>http://www.dougclarkonline.com/wp-remote-the-freer-managewp/#comments</comments>
		<pubDate>Thu, 16 Aug 2012 04:54:54 +0000</pubDate>
		<dc:creator>Doug Clark</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.dougclarkonline.com/?p=838</guid>
		<description><![CDATA[A couple weeks ago I caught some slack from the creator of ManageWP for the following tweet: @dougc84 Use a car? Check out walking &#8211; cleaner, easier and freer &#8212; Vladimir Prelovac (@vprelovac) August 3, 2012 Oops.  I do try to walk everywhere though&#8230; But the above statement is true.  I had thought about getting [...]]]></description>
				<content:encoded><![CDATA[<p style="float:right; margin:0 0 10px 15px; width:240px;">
		<img src="http://www.dougclarkonline.com/wp-content/uploads/2012/08/Screen-Shot-2012-08-16-at-12.36.46-AM.png" width="240" />
		</p><p>A couple weeks ago I caught some slack from the creator of <a title="ManageWP" href="http://managewp.com" target="_blank">ManageWP</a> for the following tweet:<span id="more-838"></span></p>
<blockquote class="twitter-tweet" data-in-reply-to="231262103858708481" width="500"><p>@<a href="https://twitter.com/dougc84">dougc84</a> Use a car? Check out walking &#8211; cleaner, easier and freer <img src='http://www.dougclarkonline.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&mdash; Vladimir Prelovac (@vprelovac) <a href="https://twitter.com/vprelovac/status/231285339128471553" data-datetime="2012-08-03T07:08:16+00:00">August 3, 2012</a></p></blockquote>
<p><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script></p>
<p>Oops.  I do try to walk everywhere though&#8230;</p>
<p>But the above statement is true.  I had thought about getting ManageWP for a while, but the cost structure really prohibited me.  I don&#8217;t manage hundreds or even tens of WordPress sites, and I can&#8217;t justify paying for any additional services every month.</p>
<p>I was on the phone one night with the General Manager of <a title="CMS Advertising Group" href="http://cmsadgroup.com/" target="_blank">CMS Advertising Group</a>, and she started ranting and raving over her new discovery &#8211; <a title="WP Remote" href="http://wpremote.com" target="_blank">WP Remote</a>.  I decided to try it out, and after a few initial hiccups setting up some GoDaddy sites I manage (oh, GoDaddy&#8230; grr), I had every site I manage available in one dashboard.</p>
<p>While not as feature-intensive as ManageWP, I didn&#8217;t need all the bells and whistles ManageWP offers.  ManageWP is a fantastic offering, but from communications with some people, I&#8217;ve heard that those &#8220;bells&#8221; don&#8217;t always work depending on your host, setup, etc.  I didn&#8217;t need features like posting directly from the dashboard or analytics &#8211; I can hop over to those sites in one click in WP Remote and get what I need.</p>
<p>Where WP Remote beats the competition is it&#8217;s simplicity and small feature set.  It&#8217;s design is based on Twitter Bootstrap&#8217;s responsive variant, so it looks great on my iPhone as well as my laptop.  I log in, it contacts each site (you do have to install a plugin on each site), and tells me if I need to upgrade WordPress, any of its plugins, or if the site is unreachable.  I can also make simple notes to tell me specifics about each install, such as those GoDaddy sites where I should not update WordPress from WordPress itself but through GoDaddy.  You can also group sites together, allowing easy access to subsets of sites you work on for different organizations.</p>
<p>And finally, the kicker &#8211; free backups.  And it backs up the wp-content directory as well &#8211; something ManageWP tends to have trouble with.  They&#8217;ve stated on their blog that because it is a free service, they may ask individuals to eventually provide their own CDN (Amazon is the one they mentioned specifically) for those backups, but at the moment, they&#8217;re complimentary.</p>
<p>So, it&#8217;s worth a look.  I&#8217;m not trying to take people away from Manage WP, but if you&#8217;re looking for a simple set of tools for sites you maintain (but maybe not post to that often), take it for a spin.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougclarkonline.com/wp-remote-the-freer-managewp/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>A Newbie&#8217;s Review Of Meteor.js</title>
		<link>http://www.dougclarkonline.com/a-newbies-review-of-meteor-js/</link>
		<comments>http://www.dougclarkonline.com/a-newbies-review-of-meteor-js/#comments</comments>
		<pubDate>Wed, 15 Aug 2012 03:32:18 +0000</pubDate>
		<dc:creator>Doug Clark</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Meteor.js]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.dougclarkonline.com/?p=816</guid>
		<description><![CDATA[I have an upcoming project where data needs to be exchanged between groups of customers in realtime. As primarily a Rails developer, I know that the only real way to do this is with some sort of Pub/Sub system (that are often outrageously tedious to configure), or with one of these hot new JavaScript frameworks. [...]]]></description>
				<content:encoded><![CDATA[<p style="float:right; margin:0 0 10px 15px; width:240px;">
		<img src="http://www.dougclarkonline.com/wp-content/uploads/2012/08/meteorjs.jpeg" width="240" />
		</p><p>I have an upcoming project where data needs to be exchanged between groups of customers in realtime.  As primarily a Rails developer, I know that the only real way to do this is with some sort of Pub/Sub system (that are often outrageously tedious to configure), or with one of these hot new JavaScript frameworks.<br />
<span id="more-816"></span><br />
While I love Rails, I don&#8217;t feel like it&#8217;s the right tool for the job.  I feel like it would provide a lot of unnecessary overhead, even if it&#8217;s just being used on the data layer, handling server-side requests and whatnot.  Over on <a href="http://www.railscasts.com" title="Railscasts" target="_blank">Railscasts.com</a>, Ryan Bates had a recent video on <a href="http://meteor.com/" title="Meteor" target="_blank">Meteor.js</a>, and a while back, on Backbone.js.  Looking at what all was involved from a development standpoint (I&#8217;m big on rapid development &#8211; it doesn&#8217;t make sense to spend a day doing what someone else has done already), it seemed like Meteor was super easy, and I&#8217;ve been looking for an opportunity to play around with MongoDB on the backend.  Sounded like a win-win.</p>
<p>Long story short: I feel betrayed.</p>
<p>Let me put this out there first: My learning of data structures and syntaxes was from Java.  I get how everything&#8217;s written.  I get what everything means.  But I&#8217;ve been burned by other developers who have been heavy-handed with Javascript on their applications (including one I maintain that has nearly a meg of Javascript dependencies&#8230; A MEG!), and over the last few years, have tried to stay away except where it&#8217;s absolutely necessary and provides a benefit to the end user.  I think that may have made my Javascript skills a bit on the lax side, but I can get around pretty well.</p>
<p>Meteor&#8217;s tutorials, screencasts, videos, etc. &#8211; they are all fantastic.  And I understand Meteor is definitely in its infancy &#8211; it&#8217;s still in &#8220;preview,&#8221; as they call it.  As I started playing around trying to figure out how this framework works, there&#8217;s simply a lot missing.</p>
<p>Routing is a manual process, and pulls in Backbone.js to handle it.  That really irks me that they list that as one of the main packages you can add.  If I wanted Backbone support, I would have gone with Backbone.</p>
<p>Controllers?  Heh.  Forget about it.</p>
<p>Models?  What?</p>
<p>Semblance of order?  None.</p>
<p>They state on their docs that you can order your files any way you want and specify where things can go and can&#8217;t go.  The flexibility is fantastic, and that&#8217;s why I choose CodeIgniter as my preferred PHP framework when I need to go that route.  MVC is a fantastic concept and an awesome way to separate and organize your files in a really common-sense manner (after you understand it, that is), but sometimes the rules need to be broken.  In a Rails app, for instance, sometimes you just need access to <code>current_user</code> in a model.  For some business cases, it makes sense.  To do it otherwise, you end up writing more code, tests become trickier, and you introduce code duplication.  CodeIgniter lets you be more free in how you do things, and I appreciate that.</p>
<p>But&#8230; Meteor&#8230; there&#8217;s simply too much flexibility.  Your files don&#8217;t make sense.  You have a method in one area but you can&#8217;t call it because you&#8217;re using backbone for something else and they don&#8217;t talk to one another.</p>
<p>On the other hand, there&#8217;s not enough flexibility.  You have one (that&#8217;s right, just one) layout file.  I don&#8217;t know a single application I&#8217;ve ever worked on that has had the same layout across the board.  And sure, you could do some inline logic &#8211; I mean, it&#8217;s all Javascript anyway &#8211; but it just ends up being messy and dirty and before you know it, you have a 400 line layout view.</p>
<p>What if you want your app to be XHTML compliant, instead of HTML 5?  I don&#8217;t know why you would anymore, but maybe your end user demographic are those that use outdated browsers and old computers, and you want to stay compliant for them (I still deal with that with one client).  You can&#8217;t change the doctype.</p>
<p>Finally, the documentation leaves a lot to be desired.  Sometimes it just states something that may be blatantly obvious to the developers on where a bit of code goes, but it&#8217;s simply not so when you&#8217;re learning the language.</p>
<p>What I&#8217;ve determined is this &#8211; If you have a single-page, non-mission-critical application that you want to get live pretty quickly, Meteor&#8217;s an awesome tool.  If you want to do something else, it&#8217;s time to look elsewhere.  As for me, I&#8217;ll be looking back to Backbone, Ember, or Angular to accomplish what I need to do.  But I will certainly be keeping an eye on Meteor for what&#8217;s to come.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougclarkonline.com/a-newbies-review-of-meteor-js/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Problems With University IS/IT Programs</title>
		<link>http://www.dougclarkonline.com/the-problems-with-university-isit-programs/</link>
		<comments>http://www.dougclarkonline.com/the-problems-with-university-isit-programs/#comments</comments>
		<pubDate>Thu, 09 Aug 2012 05:47:22 +0000</pubDate>
		<dc:creator>Doug Clark</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.dougclarkonline.com/?p=813</guid>
		<description><![CDATA[I&#8217;ve taken on two projects recently involving VCU &#8211; one for their School of Engineering, and one for the School of the Arts. As a graduate of the VCU School of Business (Winter 2007), it has made me reminisce a bit about my time there and my learning. Before entering VCU, I had a basic [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve taken on two projects recently involving VCU &#8211; one for their School of Engineering, and one for the School of the Arts.  As a graduate of the VCU School of Business (Winter 2007), it has made me reminisce a bit about my time there and my learning.</p>
<p>Before entering VCU, I had a basic knowledge of some programming.  I could write some HTML, I knew how to make a layout with tables (uuuggghhh), I could fiddle around with JavaScript, and I had an OK knowledge of QBASIC and Visual Basic.  I am eternally grateful to VCU for teaching me databases (with a focus on Oracle, but we did use some MySQL), PHP, Java, and C++.</p>
<p>Now, their languages of choice are the languages bulked with Visual Studio.  Java isn&#8217;t taught any longer (from everyone I&#8217;ve talked to), and PHP is being phased out.</p>
<p>I have a buddy of mine that goes to a local community college, and is working on transferring over to VCU.  They&#8217;re making him use Dreamweaver for all of his web coding, connected to a hosted Microsoft Access database.</p>
<p>I completely understand why they chose the languages they did when I attended.  It was to learn structure, formatting, and flow.</p>
<p>However, over the last few years, as I&#8217;ve started to work on more freelance projects, I realized how far out of reality they are when it comes to real world projects.</p>
<p>For starters, anyone looking to do programming on their own needs to know how to set up a server.  We touched on some basic linux commands and had some basic SSH access, but I feel like I spent my life in Midnight Commander because it was a GUI that let me do everything I needed to do.  Never once did we talk about <code>find</code> or <code>grep</code>.  We never talked about configuring a MySQL server, installing Apache, understanding that there were other servers besides Apache, or learning what &#8220;dependencies&#8221; were.</p>
<p>While in the PHP class, we dealt with some interactive forms with some rudimentary database connections, we never talked about frameworks such as CakePHP or CodeIgniter, or even the MVC structure.</p>
<p>In the database class, we learned Oracle inside and out, but were required to make an application using the tremendously horrible Oracle application builder software.  I felt like we spent more time figuring out how to connect the application to the database than actually working with database structures, like joins, unions, etc.</p>
<p>The application development classes were focused on Java.  I can&#8217;t complain about that &#8211; JavaScript is a direct relative, and when I worked with Flash for a little while, ActionScript was a derivative of it as well.  I feel Java helped me understand control structures.  The C++ class further honed that ability, but I feel I got little out of it.  I still can&#8217;t understand the difference between a .m and a .h file, except that one&#8217;s a template for the other (which, arguably, doesn&#8217;t make sense).</p>
<p>While I&#8217;ve learned Ruby on Rails, MVC, CodeIgniter, MySQL, and how to set up a server on my own, I feel that some of the essentials were missed in lieu of continuing on a comfortable path instead of an innovative one.  The people that write these courses must understand the technology inside and out.  I get that.  There also was no iPhone, and Ruby was in its infancy in 2005.  Frameworks were just coming into play.</p>
<p>However, seeing where schools are taking things today genuinely worries me.  I believe my education was well worth every dollar, but&#8230; there needs to be more.</p>
<p>Where&#8217;s the focus on testing?  That&#8217;s still a concept I struggle with daily.  I learned the old-school way of simply trying the form out with dummy data.  Over and over and over and over and over again.  Breaking it in every scenario.  We had to write reports on how we would test the application, but never wrote a dime&#8217;s worth of testing code.  So, I still write applications in that manner as that was the way I was taught, and arguably, I can put my applications up to anyone&#8217;s TDD applications.</p>
<p>I believe some of the Visual Studio languages do incorporate a MVVM structure, but it&#8217;s still not the same as MVC, which is (again, arguably) a more popular framework.</p>
<p>And using Access for a database?  They must be absolutely insane.  Access is a joke.  I wrote a database system (frontend and backend) for a small company with about 5 users using Access before I knew better.  Eventually we transitioned the backend to MySQL, and the speed of the system increased exponentially, but we were still using Access for the frontend, and it was prone to crashing.  All. The. Time.</p>
<p>But what really scares me is how they&#8217;re teaching people technologies that are platform dependent.  To code in .NET, you MUST have a Windows machine, or at least a virtual machine with Windows loaded up.  You can teach the same fundamentals in PHP/MySQL, and not worry whether the developer is using Dreamweaver (which for real developers is a useless, bloated application), or TextMate, or Coda, or Notepad++.  You can teach fundamentals of data structures using something like Ruby or Python just as well.  Pointers and Garbage Collection are important topics, but are becoming less and less relevant as we&#8217;re getting away from using compiled languages, and more toward interpreted ones.</p>
<p>The only real exception is writing actual software applications, but it&#8217;s still difficult to find classes that teach application development for the iPhone or Android.  And realistically, why aren&#8217;t schools teaching iPhone development or Android development instead of C#?</p>
<p>And while WordPress is a rather simple platform to use, why is that not something that&#8217;s ever taught?  It&#8217;s a great cumulative overview of combining both PHP and design &#8211; one thing a lot of developers overlook.  If your design sucks, no one&#8217;s going to use your code, no matter how stellar it is.  There could easily be a class on CMS applications &#8211; making students develop sites in WordPress, ExpressionEngine, Joomla, and Drupal.  Not every web site needs the overhead of Ruby, or a hundred custom built methods when you could load 2 plugins in WordPress and get everything you need.</p>
<p>Lastly, what about NoSQL databases?  I can&#8217;t say I&#8217;ve ever heard of a college or university talking about MongoDB or CouchDB.  While I don&#8217;t think every project needs a schema-less database, as much as they are gaining in popularity, it&#8217;s hard to ignore the fact they&#8217;re out there.</p>
<p>I just worry about what&#8217;s happening with the schools and how they&#8217;re evolving in their IT programs.  I feel the focus drastically needs to shift from &#8220;tried and true&#8221; to &#8220;upcoming and new,&#8221; while teaching the essentials more thoroughly.  And if they&#8217;re not going to teach them, at least provide those other options as additional resources for students to research on their own.  Again, I&#8217;m grateful for what I learned at VCU, and I wouldn&#8217;t take it back if I could, but I make my living off MVC framework-based languages, and on things I never learned in school.</p>
<p>What do you think?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougclarkonline.com/the-problems-with-university-isit-programs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails 3 / Ruby 1.9 Method Syntax Fun</title>
		<link>http://www.dougclarkonline.com/rails-3-ruby-1-9-method-syntax-fun/</link>
		<comments>http://www.dougclarkonline.com/rails-3-ruby-1-9-method-syntax-fun/#comments</comments>
		<pubDate>Thu, 14 Jun 2012 20:02:41 +0000</pubDate>
		<dc:creator>Doug Clark</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.dougclarkonline.com/?p=800</guid>
		<description><![CDATA[This may not be new news to anyone, but in my programming today, I wrote a method that&#8230; well, what it does isn&#8217;t important here. I&#8217;ve been in the habit of using parenthesis only when necessary lately, and when I made this &#8220;error,&#8221; I realized Wait! This still works! Typically, in ruby, a method is [...]]]></description>
				<content:encoded><![CDATA[<p>This may not be new news to anyone, but in my programming today, I wrote a method that&#8230; well, what it does isn&#8217;t important here.  I&#8217;ve been in the habit of using parenthesis only when necessary lately, and when I made this &#8220;error,&#8221; I realized <strong>Wait!  This still works!</strong></p>
<p>Typically, in ruby, a method is declared as such:</p>
<pre>def somemethod(arg)
  # do something
end</pre>
<p>However, today, on complete accident, I wrote the following:</p>
<pre>def somemethod arg
  # do something
end</pre>
<p>No parenthesis!  And it still works fine.  I ended up rewriting it with the parenthesis for readability sake, but I thought it was interesting and I thought I&#8217;d share.  I am using Rails 3.2.5 and Ruby 1.9.3-p194 at the moment &#8211; I&#8217;m not sure if this applied to previous versions of Ruby or Rails.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougclarkonline.com/rails-3-ruby-1-9-method-syntax-fun/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>carrierwave_securefile Updated, New Gitify Script</title>
		<link>http://www.dougclarkonline.com/carrierwave_securefile-updated-new-gitify-script/</link>
		<comments>http://www.dougclarkonline.com/carrierwave_securefile-updated-new-gitify-script/#comments</comments>
		<pubDate>Fri, 08 Jun 2012 21:11:14 +0000</pubDate>
		<dc:creator>Doug Clark</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.dougclarkonline.com/?p=796</guid>
		<description><![CDATA[First off, happy Friday! A week or so ago, I pushed some changes to carrierwave_securefile. It&#8217;s probably still a bit buggy, but that&#8217;s why it&#8217;s not a 1.0 version! Additionally&#8230; well, this comes with a story: If you use git to push changes to a repository, you know how tedious it can be to run [...]]]></description>
				<content:encoded><![CDATA[<p>First off, happy Friday!</p>
<p>A week or so ago, I pushed some changes to <a href="https://github.com/dougc84/carrierwave_securefile" title="carrierwave_securefile" target="_blank">carrierwave_securefile</a>.  It&#8217;s probably still a bit buggy, but that&#8217;s why it&#8217;s not a 1.0 version! <img src='http://www.dougclarkonline.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<!-- more --><br />
Additionally&#8230; well, this comes with a story:</p>
<p>If you use <code>git</code> to push changes to a repository, you know how tedious it can be to run this every time you want to push some changes:</p>
<pre>git add .
git commit -m "my commit message"
git push</pre>
<p>So, in about 5 minutes, I whipped up a super-handy script that I call Gitify.  It compresses all of those commands into one, making the &#8220;push&#8221; an optional parameter.  Check out the <a href="https://github.com/dougc84/Gitify" title="Gitify GitHub repo" target="_blank">Gitify GitHub repo</a> to check out the usage and download it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougclarkonline.com/carrierwave_securefile-updated-new-gitify-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Just Discovered A Fun Linux Tool!</title>
		<link>http://www.dougclarkonline.com/just-discovered-a-fun-linux-tool/</link>
		<comments>http://www.dougclarkonline.com/just-discovered-a-fun-linux-tool/#comments</comments>
		<pubDate>Thu, 31 May 2012 08:06:24 +0000</pubDate>
		<dc:creator>Doug Clark</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.dougclarkonline.com/?p=790</guid>
		<description><![CDATA[Preface: If you don&#8217;t understand Linux, this is not an article for you. Move along. I&#8217;m probably years behind the 8-ball here, but when looking up some information about load averages today, I came across a screen shot of an application that looked a lot like top, but&#8230; colorful. And pretty. With more options. After [...]]]></description>
				<content:encoded><![CDATA[<p>Preface: If you don&#8217;t understand Linux, this is not an article for you. Move along.<br />
<span id="more-790"></span><br />
I&#8217;m probably years behind the 8-ball here, but when looking up some information about load averages today, I came across a screen shot of an application that looked a lot like <code>top</code>, but&#8230; colorful. And pretty. With more options.</p>
<p>After a bit of further inspection, I discovered the glorious Linux app known as <code>htop</code>. It&#8217;s like <code>top</code>, but just a heck of a lot more useful. With <code>htop</code>, you can scroll the list, kill processes with one keyboard tap, and see awesome graphs of your current CPU&#8217;s status.  It&#8217;s pretty awesome, and I would encourage anyone that uses <code>top</code> often to give it a spin.</p>
<p>On CentOS, you can type <code>yum install htop</code> and it&#8217;ll be on your machine in no time flat.  Simply type <code>htop</code> to start, and you&#8217;re off to the races.</p>
<p>If you want more information, you can <a href="http://htop.sourceforge.net/" title="htop">visit their project page over on sourceforge</a>.</p>
<p>You&#8217;re welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougclarkonline.com/just-discovered-a-fun-linux-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Achievement!</title>
		<link>http://www.dougclarkonline.com/new-achievement/</link>
		<comments>http://www.dougclarkonline.com/new-achievement/#comments</comments>
		<pubDate>Mon, 21 May 2012 05:32:22 +0000</pubDate>
		<dc:creator>Doug Clark</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.dougclarkonline.com/?p=777</guid>
		<description><![CDATA[This weekend, <a title="CodeSchool.com" href="http://codeschool.com" target="_blank">CodeSchool.com</a> offered <del>a free communication weekend to meet your next divorcee</del> free access to their site.]]></description>
				<content:encoded><![CDATA[<p style="float:right; margin:0 0 10px 15px; width:240px;">
		<img src="http://www.dougclarkonline.com/wp-content/uploads/2012/05/testing.jpeg" width="240" />
		</p><p>This weekend, <a title="CodeSchool.com" href="http://codeschool.com" target="_blank">CodeSchool.com</a> offered <del>a free communication weekend to meet your next divorcee</del> free access to their site.  As this weekend was an important weekend for myself and my girlfriend of a year (yay anniversary!), I didn&#8217;t know if I&#8217;d get around to messing with it.  However, I was graced with some free time, so tonight, I&#8217;ve spent a good chunk of my evening playing around with their <a title="Rails Testing For Zombies" href="http://www.codeschool.com/courses/rails-testing-for-zombies" target="_blank">Rails Testing For Zombies</a> course, and got all the way through without a single answer wrong &#8211; sweet!</p>
<p><em>Disclaimer: I technically did get the last answer correct, it just didn&#8217;t like the manner in which I wrote it &#8211; it didn&#8217;t like my use of assert_select, and wanted me to use Capybara&#8217;s &#8220;within&#8221; instead&#8230;</em></p>
<p>So with that, I&#8217;ve got a chunk of badges earned from CodeSchool.com.  Check &#8216;em out here:</p>
<p>http://www.codeschool.com/users/dougc84</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougclarkonline.com/new-achievement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Feeling Sluggish?  Battery Life Bites?  Here&#8217;s A New Suggestion.</title>
		<link>http://www.dougclarkonline.com/iphone-feeling-sluggish-battery-life-bites-heres-a-new-suggestion/</link>
		<comments>http://www.dougclarkonline.com/iphone-feeling-sluggish-battery-life-bites-heres-a-new-suggestion/#comments</comments>
		<pubDate>Mon, 14 May 2012 18:46:40 +0000</pubDate>
		<dc:creator>Doug Clark</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.dougclarkonline.com/?p=772</guid>
		<description><![CDATA[A few weeks ago, I was talking with my girlfriend. Something came up, and I tried to pull up a text message from months and months ago. However, we text. A lot. Not 15-year old girl-a-lot, or college student with ADHD-a-lot, but... a pretty fair amount. As I kept hitting that "Show Previous Messages" button, I noticed each time I hit it, it was slower. And slower. And slooooowwweeeerrrr.]]></description>
				<content:encoded><![CDATA[<p>A few weeks ago, I was talking with my girlfriend. Something came up, and I tried to pull up a text message from months and months ago. However, we text. A lot. Not 15-year old girl-a-lot, or college student with ADHD-a-lot, but&#8230; a pretty fair amount. As I kept hitting that &#8220;Show Previous Messages&#8221; button, I noticed each time I hit it, it was slower. And slower. And slooooowwweeeerrrr. 1 year&#8217;s worth of text messages is a lot.</p>
<p>After doing a bit of researching, I stumbled across an app called <a title="PhoneView" href="http://www.ecamm.com/mac/phoneview/" target="_blank">PhoneView</a>. It&#8217;s something like $20, but it&#8217;ll archive and backup all over your texts, phone logs, etc. It also lets you download your voicemails and manage your application files. Pretty powerful little tool. I figured I&#8217;d give the trial a spin. Now, my girlfriend is not the only person I text, but she is the only person that I never delete a message for. So I knew when the total text message count came up, I knew it was all us.</p>
<h2>22,000+ messages.</h2>
<p>Sure, some of you might think &#8220;that&#8217;s it?&#8221;  But, unlike most techies in the world, I have no problem with picking up the phone and/or not responding to every single notification that comes up on my phone.</p>
<div class="woo-sc-box note   "><strong>Geeky Stuff Alert: </strong>The geeky side of me knows the iPhone uses a SQLite database for things like your texts, MMS, etc.  Being a rails developer, I also know that SQLite is a great, file-based database system&#8230; for small projects with small datasets.  A file system is not nearly as fast as a managed SQL application, or a distributed or NoSQL solution.  But&#8230; it&#8217;s a phone.  You don&#8217;t need multiple servers housing your data.  It&#8217;s a phone.  And Apple was smart enough to know that running something like PostreSQL or MySQL would have simply been overkill.</div>
<p>PhoneView offers not only their archiving, but also allows you to export an entire conversation, with attachments, to a folder of your choice.  You can get a TXT, CSV, XML, or PDF version of your conversation too.  Pretty nifty.  So I exported it to a PDF (which, by the way, was a 950+ page, 60+ MB file&#8230;), crossed my fingers, and hoped deleting all of her previous texts wouldn&#8217;t be the end of the world later on.  So I swiped across and hit delete on her conversation.  It took a couple minutes for it to actually delete everything (and&#8230; well&#8230; if it takes that much time to delete something&#8230; yikes), but when it did, I noticed texting felt instantly more responsive.  Swiping a text message notification responds instantly, instead of a 2 or 3 second pause each time.</p>
<p>As I&#8217;ve been using my phone for the last day or so, I&#8217;ve noticed my phone as a whole is significantly more responsive.  Usually after my morning check of Facebook, Twitter, my RSS feeds, text messages, emails, Groupon, Livingsocial, catching up on Scrabble, Words With Friends, Scramble With Friends, and, my new addiction, Snoopy&#8217;s Fair, my battery life is down below 80%.  Granted, that&#8217;s how I start off my day &#8211; I get all of that out of the way and I don&#8217;t worry about anything until later on.  But it&#8217;s a lot of content to take in.  Between being groggy and actually getting through all of that, it&#8217;s probably about an hour out of my day. Today, at 2:30, my battery is at 85%.  Normally by now, it&#8217;s in the 60&#8242;s.</p>
<p><strong>So was it worth it?</strong> The $20 to pull everything off my phone into my DropBox?  Definitely.  I&#8217;ve got an awesome account of meeting my girlfriend via text messages, and all of our conversations, in one nice, neat folder.  And my phone&#8217;s running much, much better.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougclarkonline.com/iphone-feeling-sluggish-battery-life-bites-heres-a-new-suggestion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RubyMotion &#8211; A Great Idea With Poor Execution</title>
		<link>http://www.dougclarkonline.com/rubymotion-a-great-idea-with-poor-execution/</link>
		<comments>http://www.dougclarkonline.com/rubymotion-a-great-idea-with-poor-execution/#comments</comments>
		<pubDate>Sun, 06 May 2012 06:11:33 +0000</pubDate>
		<dc:creator>Doug Clark</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.dougclarkonline.com/?p=759</guid>
		<description><![CDATA[There's been a lot of buzz in the Ruby world about <a title="RubyMotion" href="http://www.rubymotion.com" target="_blank">RubyMotion</a> this week. After looking at their getting started tutorials, documentation (what little there is), and more, and reading up on what it is and where is comes from, i've come to the conclusion that it's a great idea, but it's truly poorly executed.]]></description>
				<content:encoded><![CDATA[<p style="float:right; margin:0 0 10px 15px; width:240px;">
		<img src="http://www.dougclarkonline.com/wp-content/uploads/2012/05/rubymoytion.png" width="240" />
		</p><p>There&#8217;s been a lot of buzz in the Ruby world about <a title="RubyMotion" href="http://www.rubymotion.com" target="_blank">RubyMotion</a> this week. After looking at their getting started tutorials, documentation (what little there is), and more, and reading up on what it is and where is comes from, i&#8217;ve come to the conclusion that it&#8217;s a great idea, but it&#8217;s truly poorly executed.</p>
<p>As a developer that primarily works with Ruby on Rails, I was very excited when I first heard about the prospect of being able to write my apps in Ruby. But after looking at the implementation, I&#8217;m thoroughly disappointed.</p>
<ol>
<li>
<p>I know some basics of Objective C, but I feel like you have to really know Objective C in order to use this. Which begs the following question: &#8220;Why would I even want to learn something that does something that&#8217;s already been done?&#8221; Sure, I prefer Ruby&#8217;s beautiful syntax over Objective C any day of the week (and twice on Sunday). I also prefer TextMate over XCode. But interface aside, you&#8217;re learning how to write Objective C in another syntax.</p>
</li>
<li>
<p>XIBs and NIBs. For those that don&#8217;t know, these are the files generated by XCode&#8217;s Interface Builder &#8211; it&#8217;s your interface into the application, much like a Rails (or Sinatra, or, or, or&#8230;) app has layouts and views. This is one of those &#8220;make or break&#8221; points, which the developer of RubyMotion states that it makes more sense to write the interface in code.</p>
<p><strong>Wrong.  Wrongy wrong wrong wrong wrong.</strong></p>
<p>There are far too many Ruby programmers so focused on writing beautiful, elegant, and expressive code that&#8217;s DRY that they forget about what&#8217;s most important &#8211; the user experience. And when you really sit down and think about it, are you more likely to design an app in a language where you have to code every. single. detail. of every. single. element, or in one where you can set up the interface in a few minutes per page (obviously more if you&#8217;re using custom graphics, but there&#8217;s always exceptions)?  This also leads people down the path of throwing buttons up that aren&#8217;t placed correctly, interface elements that don&#8217;t belong, or custom interface elements that look&#8230; quite frankly&#8230; bad.  Ever opened a free app only to feel like it didn&#8217;t really look right?  I see every single RubyMotion app like this.</p>
</li>
<li>
<p>Cost. While I would <strong>love</strong> to start screwing around with this, if only as an experiment in another language, I can&#8217;t. Well, unless I shell out $150, that is. For a language that&#8217;s purely open source, with frameworks that are purely open source, what would make me want to pay a team of 1 person $150 for an application that&#8217;s closed and doesn&#8217;t guarantee sustainability, reliability, and fast updates? If this were built by a team (implying more than 1) of ex-Apple employees dedicated to this, then I&#8217;d be more than happy to pick it up. But what&#8217;s the guarantee that this won&#8217;t sit on a shelf untouched for months?</p>
</li>
<li>
<p>Lack of MVC. I mean, come. on. Looking at the file structure makes me want to cry all the way back to my days of learning Java classes and basic PHP code sans frameworks. It&#8217;s simply archaic. Heck, you can&#8217;t even write a view if you wanted. Isn&#8217;t that the point of ObjC, is to have an <abbr title="Object Oriented">OO</abbr> implementation of C, complete with MVC? What good is that if you can&#8217;t define models and views separate from your controllers?</p>
</li>
<li>
<p>Poor documentation. What&#8217;s provided is a great &#8220;how to get started&#8221; guide, and a few tips about configuration settings. When it gets down to turning your ObjC code into Ruby&#8230; good luck. It seems pretty intuitive if you know the API like the back of your hand, but if you don&#8217;t, I feel like you&#8217;re going to be doing a lot of guess work. And guess what &#8211; increased development time.</p>
</li>
</ol>
<p>So, all that said, it really does look like a promising product, but due to the issues above, I would rather take a class and learn ObjC well, and invest my time in the tools Apple uses to create beautiful and powerful iOS apps. And in the end, XCode&#8217;s that that bad, Mr. Sansonetti.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougclarkonline.com/rubymotion-a-great-idea-with-poor-execution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

 Served from: dougclarkonline.com @ 2013-05-23 07:28:21 by W3 Total Cache -->