
<?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>Accella Website &#187; Web Design</title>
	<atom:link href="http://www.accella.net/category/blog/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.accella.net</link>
	<description>Website &#38; Mobile Application Design &#38; Development</description>
	<lastBuildDate>Mon, 06 Feb 2012 20:39:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Create a Linux Mint 12 Bootable USB Drive</title>
		<link>http://www.accella.net/create-a-linux-mint-12-bootable-usb/</link>
		<comments>http://www.accella.net/create-a-linux-mint-12-bootable-usb/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 15:30:16 +0000</pubDate>
		<dc:creator>Colin Foley</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Mobile Development]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[bootable USB]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[UNetbootin]]></category>

		<guid isPermaLink="false">http://www.accella.net/?p=3491</guid>
		<description><![CDATA[All it takes is 12 steps to get you running with a bootable USB drive.  If you&#8217;d like to go straight to the instructions for the Bootable USB drive, click here. This past weekend I spent some time playing around with Linux Mint 12. Last week, Linux Mint&#8217;s approach to the Gnome2-Gnome3-Unity fiasco was highlighted [...]]]></description>
			<content:encoded><![CDATA[<p><em>All it takes is 12 steps to get you running with a bootable USB drive.  If you&#8217;d like to go straight to the instructions for the Bootable USB drive, <a href="#instructions">click here</a>.</em></p>
<p>This past weekend I spent some time playing around with <a href="http://blog.linuxmint.com/?p=1858">Linux Mint 12</a>.  Last week, Linux Mint&#8217;s approach to the Gnome2-Gnome3-Unity fiasco was highlighted multiple times on slashdot.org.  Linux Mint seeks to blend the aspects of these desktop environments into something that people actually want.  They&#8217;ve given you the choice of which version of Gnome to run, and subsequently, the choice of which way you want to use your desktop environment: application-centered or task-centered.  Anyway, it was a pleasant experience to fiddle with the &#8216;Lisa&#8217; release candidate.</p>
<div class="codesnip-container" >Sidebar: I find the use of the Lisa codename delightfully tantalizing.  It makes me ask so many questions.  Originally, the <a href="http://en.wikipedia.org/wiki/Apple_Lisa">Lisa computer</a> &#8211; for those of you who don&#8217;t know your Apple history &#8211; was meant to be a computer that revolutionized the way computers were used.  What&#8217;s even more titillating is that the Lisa was so special because of its Graphical User Interface (GUI).  The very thing that Linux Mint 12 is trying to &#8220;fix&#8221; is the GUI.  So, whether the codename Lisa is an allusion to the old &#8220;new kind of human-computer interface&#8221;, a tribute to the late Steve Jobs, both, or something totally unrelated, I&#8217;m very excited about Linux Mint 12 and what it&#8217;s trying to accomplish.</div>
<p>Without further commentary:</p>
<h2><a name="instructions" href="#instructions">How to Create a Linux Mint 12 Bootable USB Drive</a></h2>
<p>I based my exploration of creating a bootable USB drive on this <a href="http://www.howtoforge.com/creating-a-bootable-usb-device-on-linux-mint-11">post</a> about Linux Mint 11, the process is essentially the same.  I didn&#8217;t have any luck with the Startup Disk Creator, though, so I went with UNetbootin.  Additionally, you don&#8217;t need to edit any configuration files with the below process.</p>
<ol>
<li>Download UNetbootin</li>
<p>You can get it from it&#8217;s <a href="http://unetbootin.sourceforge.net/">homepage on sourceforge</a> or if you run Ubuntu or Linux Mint as your OS, run this command:</p>
<div class="codesnip-container" >$ sudo apt-get install unetbootin</div>
<li>Grab one of the CD <a href="http://www.linuxmint.com/release.php?id=17">releases from Linux Mint</a>.</li>
<p>I used the <a href="http://www.linuxmint.com/edition.php?id=92">32-bit iso without codecs</a>, so that&#8217;s the only release for which I can vouch.</p>
<li>Insert your USB drive</li>
<li>Erase everything on your USB drive or format the USB drive</li>
<li>Open UNetbootin</li>
<li>Select the Diskimage option, the ISO option and insert the path to the iso you downloaded.</li>
<div style="text-align: center;"><img class="aligncenter" style="text-align: center;" title="UNetbootin screenshot" src="http://www.accella.net/wp-content/uploads/2011/11/Screenshot-UNetbootin.png" alt="UNetbootin screenshot" width="419" height="288" /></p>
<p class="wp-caption-text">UNetbootin screenshot</p>
</div>
<li>Select the Type of drive (USB) to which you&#8217;re writing and enter the path to that drive</li>
<p>See above image. <span style="color: #993300;">Note: your path may be different.</span></p>
<li>Click OK</li>
<p>UNetbootin should create your bootable USB drive for you!</p>
<li>Insert the USB drive into the computer you&#8217;d like to boot into Linux Mint 12</li>
<li>Restart the computer with the USB drive inserted</li>
<p>If your computer&#8217;s boot order isn&#8217;t set to start with USB, you&#8217;ll have to enter the boot menu.  This is usually done by hitting the F12 key as soon as the computer starts and before the &#8216;Starting Windows&#8230;&#8217; screen or any other screen shows.</p>
<li>Hit Enter or Wait&#8230;</li>
<p>If you&#8217;ve successfully booted from the USB drive, you&#8217;ll likely get a prompt that looks like this:</p>
<div class="codesnip-container" >SYSLINUX 3.63 Debian-2008-07-15 EBIOS Copyright (C) 1994-2008 H. Peter Anvin<br />
boot:</div>
<p>You can simply hit enter, and that will trigger the UNetbootin menu.  If you don&#8217;t do anything, within 30 seconds UNetbootin will take over and give you a menu for selecting which item on the USB drive to boot.</p>
<li>Select &#8216;Start Linux Mint&#8217;</li>
<p>Ta da!  That&#8217;s it</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.accella.net/create-a-linux-mint-12-bootable-usb/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Animate.css: Cool animations using CSS3</title>
		<link>http://www.accella.net/animate-css-cool-animations-using-css3/</link>
		<comments>http://www.accella.net/animate-css-cool-animations-using-css3/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 13:36:20 +0000</pubDate>
		<dc:creator>Dan Hauk</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.accella.net/?p=3412</guid>
		<description><![CDATA[Web technologies are always improving, and at an enormous rate. The web is moving in a way that makes it possible to do things natively in the web browser where one once had to rely only on external scripts or images. This is a very exciting concept to modern web designers and front-end developers. Things [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.accella.net/wp-content/uploads/2011/11/animatecss.jpg" alt="Animate.css" title="animatecss" width="646" height="150" class="alignnone size-full wp-image-3424" /></p>
<p>Web technologies are always improving, and at an enormous rate. The web is moving in a way that makes it possible to do things natively in the web browser where one once had to rely only on external scripts or images. This is a very exciting concept to modern web designers and front-end developers. Things like CSS3 give web browsers support for gradients, rounded corners, drop shadows, and other design elements previously only achieved by using images. Modern browsers also include support for transitions and animations using only CSS.</p>
<p>Check out this cool little nugget, made by <a href="http://daneden.me/" target="_blank">Dan Eden</a>, called <a href="http://daneden.me/animate/" target="_blank">animate.css</a> (make sure you view the demo page in Safari, Chrome, or Firefox). Dan has compiled a great selection of animations using only CSS3 transitions for you to use. Simply add the <strong>animate.css</strong> stylesheet to your project and add a class to your element. It&#8217;s that easy to create awesome animations that use native web browser technologies.</p>
<p>One of the main benefits of using CSS transitions and animations over things like jQuery and other Javascript libraries is better performance. This is due to the fact that they are native to the web browser and can take advantage of <a href="http://en.wikipedia.org/wiki/Hardware_acceleration" target="_blank">hardware acceleration</a> &#8211; the use of the computer&#8217;s hardware to perform functions &#8211; whereas external scripts cannot. In addition to this performance boost, CSS animations will generally look better since they can use hardware acceleration.</p>
<p>However, don&#8217;t get too crazy using only CSS animations. There is one major drawback and that is cross-browser compatibility. Currently the only browsers that support this technology are Chrome, Safari, and Firefox. Microsoft has <a href="http://blogs.msdn.com/b/ie/archive/2011/04/12/native-html5-first-ie10-platform-preview-available-for-download.aspx" target="_blank">promised support for CSS transitions in Internet Explorer 10</a>, so it will one day be a reliable cross-browser technology &#8211; just not right now. It&#8217;s important to provide a fallback using a script like jQuery for those browsers which don&#8217;t support CSS transitions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.accella.net/animate-css-cool-animations-using-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accella Launches our Mobile Website</title>
		<link>http://www.accella.net/accella-launches-our-mobile-website/</link>
		<comments>http://www.accella.net/accella-launches-our-mobile-website/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 16:09:44 +0000</pubDate>
		<dc:creator>Jon Stroz</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.accella.net/?p=3253</guid>
		<description><![CDATA[Last week we launched a mobile version of our website. While it is not the full site, it gives users on a mobile device a quick overview of our services and capabilities as well as an easy way to contact us directly from their mobile phone. Clicking on the image to the right will take [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://m.accella.net/index.html"><img style="float:right; padding: 0 0 10px 10px" class="size-full wp-image-294" title="Accella's Mobile Website" src="http://www.accella.net/wp-content/uploads/2011/09/iPhone4-Accella-Mobile-Site.png" alt="Google Display Ads" width="275" height="500" /></a>Last week we launched a mobile version of our website.  While it is not the full site, it gives users on a mobile device a quick overview of our services and capabilities as well as an easy way to contact us directly from their mobile phone.</p>
<p>Clicking on the image to the right will take you to the version of our mobile site, though it obviously renders better when viewed with a mobile phone.  The links on the pages will take you directly to our full-site, the mobile site is really designed to catch a visitor&#8217;s attention and drive them to contact us.</p>
<p>Have you launched a mobile-friendly version of your site?  It takes about a week or so to launch a very simple site like the one we created for ourselves, for more complicated sites, or ones that will tie in to a content management system, it will obviously take longer.</p>
<p><a href="http://www.accella.net/about-accella/contact-us/">Call us today</a> to turn your site mobile friendly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.accella.net/accella-launches-our-mobile-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache2 on Debian ignores HTTPS variable</title>
		<link>http://www.accella.net/apache2-on-debian-ignores-https-variable/</link>
		<comments>http://www.accella.net/apache2-on-debian-ignores-https-variable/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 14:20:16 +0000</pubDate>
		<dc:creator>Nicholas Whittier</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.accella.net/?p=3239</guid>
		<description><![CDATA[After a couple of hours of hair pulling over a few lines of rewrite instructions for apache, my search for inaccurate regular expressions or logic ended with this bug report in the debian community. I&#8217;m sure this bug is addressed in some upstream distributions, and I&#8217;m also sure it&#8217;s not a critical issue, because there [...]]]></description>
			<content:encoded><![CDATA[<p>After a couple of hours of hair pulling over a few lines of rewrite instructions for apache, my search for inaccurate regular expressions or logic ended with <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514005">this bug report in the debian community</a>.  I&#8217;m sure this bug is addressed in some upstream distributions, and I&#8217;m also sure it&#8217;s not a critical issue, because there are other ways to accomplish the same task.  Nonetheless, if you are using debian on your server, and seeing strange logical errors (probably infinite loops that shouldn&#8217;t exist, or failure to evaluate to true when you would expect), check to see if you are using the apache&#8217;s HTTPS variable.</p>
<p>If you are checking that HTTPS is off, your logic will be fine, as that is the default value for the variable (and the only value for the variable on some debian servers).  However, if you are checking that HTTPS is on, your logic will fail, as the HTTPS variable is never set.  I was rewriting to control shifting from SSL to non-SSL, and in some cases this caused infinite loops, in others, code simply failed to ever evaluate to true.</p>
<p>The solution is to use the SERVER_PORT variable instead.  I have always considered this to be less appropriate, because if someone decides to listen for SSL over a non-standard port HTTPS still works but a SERVER_PORT=443 check will fail.  Keeping in mind that your server may (although it&#8217;s unlikely) require a unique port, try changing your conditions as follows:</p>
<pre style="font-size:small; border:1px dashed gray; padding: 4px; color: gray;">
# RewriteCond %{HTTPS} off   ## Always true
# RewriteCond %{HTTPS} on   ## Never true
RewriteCond %{SERVER_PORT} ^443$   ## Evaluates as expected
RewriteCond %{SERVER_PORT} !^443$   ## Evaluates as expected
</pre>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.accella.net/apache2-on-debian-ignores-https-variable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Content Mangement Systems where the user just manages content?</title>
		<link>http://www.accella.net/content-mangement-systems-where-the-user-just-manages-content/</link>
		<comments>http://www.accella.net/content-mangement-systems-where-the-user-just-manages-content/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 20:43:02 +0000</pubDate>
		<dc:creator>Shannon Garrahy</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.accella.net/?p=3200</guid>
		<description><![CDATA[The goal of any Content Managements System (CMS) should be to allow the content managers to create as many pages as they like without deviating from the original website design. Much of this can be done with carefully planned out cascading style sheets (css) and restricting the wysiwyg editor to the standard html formats such [...]]]></description>
			<content:encoded><![CDATA[<p>The goal of any Content Managements System (CMS) should be to allow the content managers to create as many pages as they like without deviating from the original website design. Much of this can be done with carefully planned out cascading style sheets (css) and restricting the wysiwyg editor to the standard html formats such as paragraph, heading 1 (h1) etc. Sometimes a little javascript can further remove the formatting burden from content maintainers.</p>
<p>Recently I was implementing a design in Drupal 7 which called for tables of alternating colors known variously as zebra striping, alternate row striping etc. While this design technique has been around for years it has been approached in various ways largely due to evolving standards. The challenge stems from their being no direct way to stripe or style one particular row differently from another in html without adding a class to it until CSS version 3. One article I liked <a href="http://davidwalsh.name/css-tables-css3-alternate-row-colors">advocates the use of CSS3</a> to do this which results in cleaner markup and and works without any javascript.  The downside of this is that CSS3 has patchy support across older browsers which many site visitors still use. In the end a combination of the CSS3 definitions and the jQuery (natively supported in Drupal) method <a href="http://docs.jquery.com/Tutorials:Zebra_Striping_Made_Easy">outlined here</a> maximized the number of users who would come to the site and see the table formatting at its best.</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;</p>
<p>$(document).ready(function(){</p>
<p>$(&#8220;table tr:nth-child(even)&#8221;).addClass(&#8220;alt&#8221;);</p>
<p>});  &lt;/script&gt;</p>
<p>I hope you find this a useful example of the efforts we at Accella go to in order to keep clients, users and our design team happy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.accella.net/content-mangement-systems-where-the-user-just-manages-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install PHP 5.2 on Red Hat Enterprise Linux 5.6</title>
		<link>http://www.accella.net/install-php-5-2-on-red-hat-enterprise-linux-5-6/</link>
		<comments>http://www.accella.net/install-php-5-2-on-red-hat-enterprise-linux-5-6/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 02:44:25 +0000</pubDate>
		<dc:creator>Nicholas Whittier</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.accella.net/?p=3147</guid>
		<description><![CDATA[Red Hat Enterprise Linux 5.6 ships with PHP 5.1, and also makes PHP 5.3 available. PHP 5.1 is the default, and the server will never update from 5.1 to 5.3 without being explicitly configured to do so. But you may notice that glaring hole where PHP 5.2 should be. Where does that leave users of [...]]]></description>
			<content:encoded><![CDATA[<p>Red Hat Enterprise Linux 5.6 ships with PHP 5.1, and also makes PHP 5.3 available. PHP 5.1 is the default, and the server will never update from 5.1 to 5.3 without being explicitly configured to do so. But you may notice that glaring hole where PHP 5.2 should be.  Where does that leave users of several popular PHP-based Content Management Systems? There are a few officially supported releases and myriad plugins and extensions that require PHP 5.2.</p>
<p>The CentOS Testing repository comes to the rescue (CentOS provides <a href="http://wiki.centos.org/AdditionalResources/Repositories">a lot of very helpful repositories</a>). They even have a <a href="http://wiki.centos.org/HowTos/PHP_5.1_To_5.2">HowTo PHP5.1 to 5.2</a> page. The problem with this page is that it includes some terribly inconvenient styling. A quick cut and paste yields a config page that carries indentation. Yum will fail to parse your configuration data if it is preceded by a space (or if a comment is preceded by space).</p>
<p>If you attempted to follow the wiki instructions, but instead found yourself staring at a &#8220;Config Error: File contains no section headers.&#8221; message, check the <a href="http://dev.centos.org/centos/5/CentOS-Testing.repo">current CentOS-Testing.repo file</a> on the CentOS/5 server. Notice the absence of any indentation preceding the repository section header, variables, and comments. Either use this version in /etc/yum.repos.d/CentOS-Testing.repo (just make sure you add an &#8220;includepkgs=php*&#8221; at the bottom!!!), or manually remove the indentation from the CentOS wiki version. After that, a simple &#8220;yum update&#8221; or &#8220;yum update php*&#8221; will update your server with PHP 5.2. Apache users need to restart apache with &#8220;/sbin/service apache restart&#8221; (or your preferred apache restarting technique), and PHP 5.2 is up and running on your web server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.accella.net/install-php-5-2-on-red-hat-enterprise-linux-5-6/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>XML encoding (utf-8, ascii)</title>
		<link>http://www.accella.net/xml-encoding-utf-8-ascii/</link>
		<comments>http://www.accella.net/xml-encoding-utf-8-ascii/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 03:51:42 +0000</pubDate>
		<dc:creator>Ryan Wright</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.accella.net/?p=3077</guid>
		<description><![CDATA[XML is a markup language similar to HTML. It was designed to transport data. Once data has been enoded, it can be easily read by many different systems. As a result, it is widely used in web services to transfer data. Recently, I was working on a web service which required us to parse the [...]]]></description>
			<content:encoded><![CDATA[<p>XML is a markup language similar to HTML. It was designed to transport data. Once data has been enoded, it can be easily read by many different systems. As a result, it is widely used in web services to transfer data.</p>
<p>Recently, I was working on a web service which required us to parse the data from the XML feed and to store it in the database. Normally this is a simple task which can be achieved by using PHP&#8217;s simple_xml library to parse the data. However, if the document has not been encoded properly, simple_xml will generate an XML.</p>
<p>Whenever an XML document is encoded, the encoding used should be provided in the document.<br />
If the document was encoded with unicode, example, UTF-8, the following would be the first line of the:<br />
&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;</p>
<p>In my case, the xml document was label as UTF-8, however it was an ascii document which contained non-acii characters. This created a major problem with the parser. The quick solution is to strip the non-ascii characters from the document.<br />
This can be achieved with the following php code:</p>
<p>$jobs = file_get_contents(&#8216;/home/mydir/doc.xml&#8217;);<br />
$jobs = preg_replace(&#8216;/[^(\x20-\x7F)]*/&#8217;,&#8221;, $jobs);</p>
]]></content:encoded>
			<wfw:commentRss>http://www.accella.net/xml-encoding-utf-8-ascii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ffmepg and html5 Video &#8211; Avoiding Flash Technology</title>
		<link>http://www.accella.net/ffmepg-and-html5/</link>
		<comments>http://www.accella.net/ffmepg-and-html5/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 01:34:38 +0000</pubDate>
		<dc:creator>wtekeu</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.accella.net/?p=3073</guid>
		<description><![CDATA[As indicated by Saimon, a lot of people have wondered how they could use ffmpeg to produce videos that can leverage the use of the html5 tag &#60;video&#62;. The objective is to avoid the use of the Flash technology. In order to achieve this objective, you need to run the following command to get a WebM [...]]]></description>
			<content:encoded><![CDATA[<p>As indicated by <a href="http://saimon.org/log/des-videos-avec-html5-et-ffmpeg.html" target="_blank">Saimon</a>, a lot of people have wondered how they could use ffmpeg to produce videos that can leverage the use of the html5 tag <em>&lt;video&gt;</em>. The objective is to avoid the use of the Flash technology.</p>
<p>In order to achieve this objective, you need to run the following command to get a <a href="http://fr.wikipedia.org/wiki/WebM">WebM</a> (VP8/Vorbis) video. An encoding format supported by Firefox 4+, Chrome 6+ and Opera 10.6+:</p>
<pre><em>ffmpeg -i input.avi -vcodec libvpx -acodec libvorbis -threads 4 output.webm</em></pre>
<p>and to produce an mp4 (h264/mp3) for Safari 3+ and Internet Eplorer 9+:</p>
<pre><em>ffmpeg -i input.avi -vcodec libx264 -acodec libmp3lame -preset slow -crf 22 -threads 0 output.mp4</em></pre>
<p>then use the following syntax to write an html5 page that can run on all platforms:</p>
<pre><em>&lt;video width="480" height="640" controls&gt;
  &lt;source src="videos/dscn0470.mp4"  type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'&gt;
  &lt;source src="videos/dscn0470.webm" type='video/webm; codecs="vp8, vorbis"'&gt;
&lt;/video&gt;</em></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.accella.net/ffmepg-and-html5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ignoring Files in Subversion &#8211; The Easy Way</title>
		<link>http://www.accella.net/ignoring-files-in-subversion-the-easy-way/</link>
		<comments>http://www.accella.net/ignoring-files-in-subversion-the-easy-way/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 15:19:23 +0000</pubDate>
		<dc:creator>Colin Foley</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.accella.net/?p=2854</guid>
		<description><![CDATA[I always have an extremely challenging time trying to ignore files in a Subversion repository. It must be that I just don&#8217;t get it. To me, there should only be one parameter for ignoring a file, the file itself.  That&#8217;s not how SVN properties work, though. svn propset A typical command for ignoring a file [...]]]></description>
			<content:encoded><![CDATA[<p>I always have an extremely challenging time trying to ignore files in a Subversion repository.  It must be that I just don&#8217;t get it.  To me, there should only be one parameter for ignoring a file, the file itself.  That&#8217;s not how SVN properties work, though.</p>
<h5>svn propset</h5>
<p>A typical command for ignoring a file in SVN is:
<div class="codesnip-container" >svn propset svn:ignore &lt;pattern&gt; &lt;directory&gt;</div>
<p>So, in Drupal, to ignore your settings.php file, you navigate to the sites/default directory and run this command:
<div class="codesnip-container" >svn propset svn:ignore &#8220;settings.php&#8221; .</div>
<p>For some reason, this <strong>never</strong> works for me.  I end up creating a slew of properties all over the repository and none of my files are ignored in version control or removed from the svn status list.  This is where svn propedit comes into play.</p>
<h5>svn propedit</h5>
<div class="codesnip-container" >svn propedit svn:ignore .</div>
<p>svn propedit lets you edit a file that contains ignore patterns for the directory you specify as the last argument in the svn propedit command.</p>
<p>For example, in your sites/ folder of your Drupal installation run this command: 
<div class="codesnip-container" >svn propedit svn:ignore default/</div>
<p>Then, enter &#8216;settings.php&#8217; into the file, save and exit the file.</p>
<p>For some reason, to me this seems like a much clearer approach to ignoring files.  It worked for me&#8230;once&#8230;I haven&#8217;t been able to duplicate it.</p>
<h5>svn propget</h5>
<p>To see all of the ignore properties in your project, navigate to the root directory of your project and run the svn propget command like this:</p>
<div class="codesnip-container" >﻿﻿﻿svn pg -R svn:ignore .</div>
<p></br></p>
<h3>The Bottom Line</h3>
<p>So, what does this all come down to? <strong> Instead of using SVN for your version control, use Git and forget about keeping track of <em>directories</em> and starting thinking of your <em>files</em>. </strong>If you can explain the svn:ignore property to me beyond what I&#8217;ve laid out here, please comment and educate me on setting properties on directories.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.accella.net/ignoring-files-in-subversion-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What are the dangers of using code that is posted online as opposed to developing the code yourself?  Is there any reason to not use it?</title>
		<link>http://www.accella.net/what-are-the-dangers-of-using-code-that-is-posted-online-as-opposed-to-developing-the-code-yourself-is-there-any-reason-to-not-use-it/</link>
		<comments>http://www.accella.net/what-are-the-dangers-of-using-code-that-is-posted-online-as-opposed-to-developing-the-code-yourself-is-there-any-reason-to-not-use-it/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 12:34:15 +0000</pubDate>
		<dc:creator>Shannon Garrahy</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Mobile Development]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.accella.net/?p=2925</guid>
		<description><![CDATA[In my experience the biggest danger in using code that is posted online is that you may end up investing a significant amount of time trying to understand it before realizing that it either doesn&#8217;t work as described or won&#8217;t work for your intended purpose. Having a good process that helps you make the decision [...]]]></description>
			<content:encoded><![CDATA[<p>In my experience the biggest danger in using code that is posted online is that you may end up investing a significant amount of time trying to understand it before realizing that it either doesn&#8217;t work as described or won&#8217;t work for your intended purpose. Having a good process that helps you make the decision to use or not to use a given piece of code can help mitigate the time sink risk. There is a lot of code out there, some of it&#8217;s fantastic some of it&#8217;s terrible and not all of it&#8217;s useful. Starting from scratch can be the only option for highly  customized logic and functionality however assuming that brand new code  is automatically better than code that has been heavily used and tested  is <a href="http://www.joelonsoftware.com/articles/fog0000000069.html" target="_blank">folly</a>. The bottom line is that if I were to create every piece of code I used for every project I ever did, I would only work on a small fraction of those that I currently do.</p>
<p><H3>Steps to evaluating online code</h3>
<ul class="standard_ul">
<li>Is the source trustworthy?
<li>Can I understand the approach that someone else used to solve this problem?
<li>Does the solution cover all or almost all of my needs?
<li>Does it work when I plug it in?
</ul>
<h5>Is the source trustworthy?</h5>
<p>For community driven collaborate development models such as Drupal, trustworthiness is less of a concern. The community model of review allows for a base starting point of avoiding shadiness and malicious add-ons. I can see how long ago something was posted, roughly how many people are using it and if there are any open issues. Knowing that potentially thousands of other developers have reviewed this particular code and past revisions gives me piece of mind that I can use this with minimal fear that something inappropriate is going on behind the scenes.</p>
<p>For other sources such as forums and independent sites, I am typically more cautious. There is a lot of great content out there for php (and other languages of course) that isn&#8217;t neatly rolled up into a drupal module. When visiting such sites, I like to look for a few things before considering downloading code.</p>
<ul class="standard_ul">
<li>Do they offer hashed checksums for verification that the code is presented as published by the original author?
<li>Is the code hosted on a reputable site e.g. <a href="http://sourceforge.net/">sourceforge</a>, <a href="https://github.com/">github</a>?
<li>Has someone I know recommended the module/ plug-in/ feature?
<li>Does it require you to install other non-standard libraries or elements?
<li>Do that have ads or links to disreputable materials?
</ul>
<h5>Can I understand the approach that someone else used to solve this problem?</h5>
<p>If I don&#8217;t understand how the code I&#8217;m reviewing manages to do what it does, I can&#8217;t in good conscience make use of it. I may need to look up unfamiliar function calls to become comfortable that it does what I says it does and that if I needed to make tweaks I could do so without breaking the rest of the code. Every programmer looks at a problem slightly differently and prefer particular devices. I need to evaluate the approach chosen as reasonable given the problem space in order to make it part of any system I am building. If the approach chosen is sloppy, erratic or is too specific for the problem I need to solve, I may use some of the logic but not the code itself as a base for a more complete solution of my own. Generally speaking, if someone has already spent time considering the problem I am facing, solved it and shared it, I should gratefully accept not having to formulate a new piece of code to do the same thing!</p>
<h5>Does the solution cover all or almost all of my needs?</h5>
<p>Sometimes you come across a piece of code that totally addresses a problem you are facing and you can easily adapt work you&#8217;ve already done to take advantage of it. Perhaps you&#8217;ve created a skeleton for a solution but haven&#8217;t accounted for all of the variations and this neat package has them covered. This can be the basis of a really great day <img src='http://www.accella.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Other times you may come across a narrow solution that covers just one of several cases that you need to address. In these circumstances you need to evaluate the merits of copying the useful piece into your own module or working within the design of the existing module to add the missing elements. This really comes down to an evaluation of the effort it would take for you to wrap your problem solving inside someone else&#8217;s construct versus taking their partial solution and placing it within a broader approach that is more natural to you.</p>
<h5>Does it work when I plug it in?</h5>
<p>If a solution looks like it should work from reviewing the source code but doesn&#8217;t give you the right output or chokes when you attempt to integrate it into your system you need to determine how long you should spend trying to fix someone else&#8217;s code. It may be something simple such as not having a particular library installed or it could end up being really buggy or defective code. Estimate how long it would take to write that portion into new code before diving in to fix-it mode. Keep in mind that the goal for reusing existing code is to improve stability and decrease development time!</p>
<h5>Code Reuse</h5>
<p>Code reuse is a great way to solve problems efficiently and a great way to improve your own development skills by analyzing the approaches that other developers take to solve problems. Appropriate caution and being aware of the time you are spending on other people&#8217;s code allows for the kind of rapid, agile development that we at Accella do so successfully.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.accella.net/what-are-the-dangers-of-using-code-that-is-posted-online-as-opposed-to-developing-the-code-yourself-is-there-any-reason-to-not-use-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

