<?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>Digitivity &#187; Web/Software Development</title>
	<atom:link href="http://digitivity.org/category/websoftware-development/feed" rel="self" type="application/rss+xml" />
	<link>http://digitivity.org</link>
	<description>The Digital Productivity Blog</description>
	<lastBuildDate>Sat, 24 Dec 2011 17:34:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Nginx: A Faster Alternative to Apache</title>
		<link>http://digitivity.org/1187/nginx-a-faster-alternative-to-apache-tutorial</link>
		<comments>http://digitivity.org/1187/nginx-a-faster-alternative-to-apache-tutorial#comments</comments>
		<pubDate>Mon, 14 Nov 2011 18:40:12 +0000</pubDate>
		<dc:creator>Digitivity</dc:creator>
				<category><![CDATA[Web/Software Development]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP-FPM]]></category>
		<category><![CDATA[PHP-PFM]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://digitivity.org/?p=1187</guid>
		<description><![CDATA[<p>Posted in <a href="http://digitivity.org/category/websoftware-development" title="Web/Software Development">Web/Software Development</a></p>Most websites use a combination of the Apache webserver and PHP. But <a href="http://nginx.org/">Nginx</a> (pronounce "engine-x") can be a lot faster than Apache, especially for serving static files. Combine that with using <a href="http://php-fpm.org/about/">PHP-PFM</a>, and you have a speed demon. Here's a <a href="http://arstechnica.com/business/news/2011/11/a-faster-web-server-ripping-out-apache-for-nginx.ars">tutorial</a> on how to replace your current setup with Nginx and PHP-PFM.


Related posts:<ol><li><a href='http://digitivity.org/146/firefox-31-beta-has-new-faster-tracemonkey-javascript-engine' rel='bookmark' title='Permanent Link: Firefox 3.1 Beta Has New, Faster TraceMonkey Javascript Engine'>Firefox 3.1 Beta Has New, Faster TraceMonkey Javascript Engine</a></li>
<li><a href='http://digitivity.org/771/facebook-announces-a-better-faster-php-hiphop-php-c-plus-plus-compiler' rel='bookmark' title='Permanent Link: Facebook Announces a Better, Faster PHP: HipHop PHP'>Facebook Announces a Better, Faster PHP: HipHop PHP</a></li>
<li><a href='http://digitivity.org/1148/feather-beta-how-make-slow-youtube-faster-speed' rel='bookmark' title='Permanent Link: Feather Beta: How to Make YouTube Faster'>Feather Beta: How to Make YouTube Faster</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Most websites use a combination of the Apache webserver and PHP. But <a href="http://nginx.org/">Nginx</a> (pronounce &#8220;engine-x&#8221;) can be a lot faster than Apache, especially for serving static files. Combine that with using <a href="http://php-fpm.org/about/">PHP-FPM</a>, and you have a speed demon. Here&#8217;s a <a href="http://arstechnica.com/business/news/2011/11/a-faster-web-server-ripping-out-apache-for-nginx.ars">tutorial</a> on how to replace your current setup with Nginx and PHP-FPM.</p>


<p>Related posts:<ol><li><a href='http://digitivity.org/146/firefox-31-beta-has-new-faster-tracemonkey-javascript-engine' rel='bookmark' title='Permanent Link: Firefox 3.1 Beta Has New, Faster TraceMonkey Javascript Engine'>Firefox 3.1 Beta Has New, Faster TraceMonkey Javascript Engine</a></li>
<li><a href='http://digitivity.org/771/facebook-announces-a-better-faster-php-hiphop-php-c-plus-plus-compiler' rel='bookmark' title='Permanent Link: Facebook Announces a Better, Faster PHP: HipHop PHP'>Facebook Announces a Better, Faster PHP: HipHop PHP</a></li>
<li><a href='http://digitivity.org/1148/feather-beta-how-make-slow-youtube-faster-speed' rel='bookmark' title='Permanent Link: Feather Beta: How to Make YouTube Faster'>Feather Beta: How to Make YouTube Faster</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://digitivity.org/1187/nginx-a-faster-alternative-to-apache-tutorial/feed</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
		<item>
		<title>Moving Drupal Sites to Pantheon Manually</title>
		<link>http://digitivity.org/1173/moving-drupal-websites-to-pantheon-manual-import</link>
		<comments>http://digitivity.org/1173/moving-drupal-websites-to-pantheon-manual-import#comments</comments>
		<pubDate>Mon, 31 Oct 2011 17:37:47 +0000</pubDate>
		<dc:creator>Digitivity</dc:creator>
				<category><![CDATA[Web/Software Development]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Pantheon]]></category>
		<category><![CDATA[Pantheon import]]></category>
		<category><![CDATA[Pantheon setup]]></category>

		<guid isPermaLink="false">http://digitivity.org/?p=1173</guid>
		<description><![CDATA[<p>Posted in <a href="http://digitivity.org/category/websoftware-development" title="Web/Software Development">Web/Software Development</a></p><a href="https://getpantheon.com/">Pantheon</a>, the new Drupal hosting service, has a web-based method for migrating your website from your old server to the Pantheon servers.

But it doesn't work so well for large sites. For one thing, the web upload option doesn't support archives greater than 150MB. Even that size is pushing it. Browsers aren't really meant for transferring large amounts of data.

Here are some notes on importing large websites into Pantheon.


Related posts:<ol><li><a href='http://digitivity.org/1171/inside-the-pantheon_migrate-module-backup-and-migrate-archive' rel='bookmark' title='Permanent Link: Inside the Pantheon Backup and Migrate Archive'>Inside the Pantheon Backup and Migrate Archive</a></li>
<li><a href='http://digitivity.org/964/how-to-manually-add-etc-host-ip-address-in-windows-linux-and-osx' rel='bookmark' title='Permanent Link: How to Manually Add Hosts in Windows, Linux, and OS/X'>How to Manually Add Hosts in Windows, Linux, and OS/X</a></li>
<li><a href='http://digitivity.org/973/drupal-symfony2-integration' rel='bookmark' title='Permanent Link: Drupal Symfony2 Integration'>Drupal Symfony2 Integration</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="https://getpantheon.com/">Pantheon</a>, the new Drupal hosting service, has a web-based method for migrating your website from your old server to the Pantheon servers.</p>
<p>But it doesn&#8217;t work so well for large sites. For one thing, the web upload option doesn&#8217;t support archives greater than 150MB. Even that size is pushing it. Browsers aren&#8217;t really meant for transferring large amounts of data.</p>
<p>Failing that, you can specify a URL from which Pantheon is to download a backup archive. But that&#8217;s not really a good idea either. For one thing, you&#8217;re downloading in plaintext, unencrypted. Secondly, it&#8217;s your webserver which is sending the data. Leaving aside the possibility that a 32-bit server might not be able to handle a file greater than 2GB, your webserver is going to be tied up for a long time serving that file. It&#8217;s possible it could tie up your entire network connection, leading to your visitors not being see your website.</p>
<p>Better than that is to upload the file through scp or sftp. Those are meant for transferring data. Note: for the purpose of transferring the archive, it&#8217;s fine to zip (gzip) the file. But apparently, Pantheon wants an unzipped tar archive for its tools.</p>
<p>After the archive is ready, you specify the location of the archive in the web interface. It takes a long time: 2-3 hours for a 2GB database. It may seem like it&#8217;s hanging, but it&#8217;s not.</p>
<p>After the site import process loads the database, it copies the site files over.</p>
<p>When processing the site files, Pantheon makes one change in your settings.php file: It adds a directive to include a Pantheon-specific settings file. But, strangely it doesn&#8217;t reference the correct file path. Update it to this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$pantheon_config_file</span> = <span style="color: #ff0000;">'../../../pantheon6.settings.php'</span>;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>file_exists<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #007800;">$pantheon_config_file</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
    include_once <span style="color: #007800;">$pantheon_config_file</span>;
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

<p>If you had any directives regarding memcache, remove them. Pantheon will add one of its own. Also, there is only one Memcache server at the default port (11211). </p>


<p>Related posts:<ol><li><a href='http://digitivity.org/1171/inside-the-pantheon_migrate-module-backup-and-migrate-archive' rel='bookmark' title='Permanent Link: Inside the Pantheon Backup and Migrate Archive'>Inside the Pantheon Backup and Migrate Archive</a></li>
<li><a href='http://digitivity.org/964/how-to-manually-add-etc-host-ip-address-in-windows-linux-and-osx' rel='bookmark' title='Permanent Link: How to Manually Add Hosts in Windows, Linux, and OS/X'>How to Manually Add Hosts in Windows, Linux, and OS/X</a></li>
<li><a href='http://digitivity.org/973/drupal-symfony2-integration' rel='bookmark' title='Permanent Link: Drupal Symfony2 Integration'>Drupal Symfony2 Integration</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://digitivity.org/1173/moving-drupal-websites-to-pantheon-manual-import/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Inside the Pantheon Backup and Migrate Archive</title>
		<link>http://digitivity.org/1171/inside-the-pantheon_migrate-module-backup-and-migrate-archive</link>
		<comments>http://digitivity.org/1171/inside-the-pantheon_migrate-module-backup-and-migrate-archive#comments</comments>
		<pubDate>Sun, 30 Oct 2011 18:44:39 +0000</pubDate>
		<dc:creator>Digitivity</dc:creator>
				<category><![CDATA[Web/Software Development]]></category>
		<category><![CDATA[backup_migrate]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Pantheon]]></category>
		<category><![CDATA[Pantheon archive]]></category>
		<category><![CDATA[pantheon_migrate]]></category>

		<guid isPermaLink="false">http://digitivity.org/?p=1171</guid>
		<description><![CDATA[<p>Posted in <a href="http://digitivity.org/category/websoftware-development" title="Web/Software Development">Web/Software Development</a></p>I needed to create a archive of a site in order to migrate it to Pantheon, a new service for running Drupal sites in a more straightforward way than has been available up to now.

Pantheon provides a Drupal module which is supposed to automagically create a complete backup of your site, which can then be used to migrate it to Pantheon's servers.

Unfortunately, it seems it doesn't always work, calling for more unorthodox methods.


Related posts:<ol><li><a href='http://digitivity.org/10/how-to-serve-your-wordpress-blog-from-the-root-directory-if-its-installed-in-a-subdirectory' rel='bookmark' title='Permanent Link: How to Serve Your WordPress Blog from the Root Directory If It&#8217;s Installed in a Subdirectory'>How to Serve Your WordPress Blog from the Root Directory If It&#8217;s Installed in a Subdirectory</a></li>
<li><a href='http://digitivity.org/739/techcrunch-blog-gets-hacked-again-wordpress-security' rel='bookmark' title='Permanent Link: TechCrunch Blog Gets Hacked Again &#038; WordPress Security'>TechCrunch Blog Gets Hacked Again &#038; WordPress Security</a></li>
<li><a href='http://digitivity.org/377/wikileaks-archive-of-climategate-cru-e-mail-files' rel='bookmark' title='Permanent Link: WikiLeaks Archive of Climategate CRU E-Mail Files'>WikiLeaks Archive of Climategate CRU E-Mail Files</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I needed to create a archive of a site in order to migrate it to <a href="https://getpantheon.com/">Pantheon</a>, a new service for running Drupal sites in a more straightforward way than has been available up to now.</p>
<p>Pantheon provides a Drupal module which is supposed to automagically create a complete backup of your site, which can then be used to migrate it to Pantheon&#8217;s servers.</p>
<p>Unfortunately, it seems it doesn&#8217;t always work, calling for more unorthodox methods.</p>
<p>Speciically, I wanted to find out what kind of archive it creates. The pushbutton method wasn&#8217;t working on this site, which has multi-gigabyte database, so I installed the Pantheon module (<a href="http://drupal.org/project/pantheon">pantheon_migrate</a>) on a basically clean install of Drupal, and noted where it saved the archive:</p>
<p>This did the trick in finding it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;\.tar&quot;</span></pre></div></div>

<p>It saves it in an undesirable location (at a publicly accessible URL which I won&#8217;t expose here). So, basically anybody could download your site archive if they were looking for it. Bad Pantheon, bad boy. I guess they did it that way so people who don&#8217;t have a clue about webservers can still migrate their sites by clicking a few buttons. I should note that they do provide alternative methods for migration, but you really have to know exactly what the whole process is going to do in order to avoid any security risks.</p>
<p>By the way, it doesn&#8217;t compress the archive, either, making for some huge up/downloads.</p>
<p>Once I got to the tar file, I had a look at what was inside with the tar list files command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> tf the-site-archive-<span style="color: #000000;">123</span>.tar <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">less</span></pre></div></div>

<p>Interestingly, it&#8217;s a dump of all the files in your site, in a directory of the same name as the tar file (without &#8220;.tar&#8221;). I.e., when you untar the archive, the files are not dumped in the current directory, but rather reside in another subdirectory. This only matters because Pantheon&#8217;s migration tools probably expect your files to be in a certain place in the archive. Note that this is different from what the <a href="http://drupal.org/project/backup_migrate">backup_migrate</a> module does. backup_migrate (required by pantheon_migrate) creates a database dump in a .sql file.</p>
<p>The second thing pantheon_migrate does is put the database dump within a file called <tt>database.sql</tt> in the same directory in the archive where index.php lives. That&#8217;s the actual name of the file, regardless of what your MySQL database is called.</p>
<p>The third thing to note is that pantheon_migrate module also includes your <tt>settings.php</tt> file. This is interesting in that the main point of <tt>settings.php</tt> is to contain your database login info, and yet that is obviously going to be different once you&#8217;re on the Pantheon server. Acquia&#8217;s cloud solution uses a generalized database setting. You include a certain line they give you, and your database settings are automagically set. I have yet to see how Pantheon does it. Also, often, <tt>settings.php</tt> is left out of source code control. Does Pantheon do that too?</p>
<p>Finally, if there happens to be something in the backup_migrate backup directory, don&#8217;t include that directory in the archive. It would be pointless, and sort of mind-spinningly redundant.</p>
<p>After all that, I also had a look at the PHP code of the pantheon_migrate module. It builds off the backup_migrate module by extending the <tt>backup_migrate_destination</tt> class. Here&#8217;s where it does things like exclude the backup directory from the backup, which would create a backup of a backup.</p>
<p>Any insights?</p>


<p>Related posts:<ol><li><a href='http://digitivity.org/10/how-to-serve-your-wordpress-blog-from-the-root-directory-if-its-installed-in-a-subdirectory' rel='bookmark' title='Permanent Link: How to Serve Your WordPress Blog from the Root Directory If It&#8217;s Installed in a Subdirectory'>How to Serve Your WordPress Blog from the Root Directory If It&#8217;s Installed in a Subdirectory</a></li>
<li><a href='http://digitivity.org/739/techcrunch-blog-gets-hacked-again-wordpress-security' rel='bookmark' title='Permanent Link: TechCrunch Blog Gets Hacked Again &#038; WordPress Security'>TechCrunch Blog Gets Hacked Again &#038; WordPress Security</a></li>
<li><a href='http://digitivity.org/377/wikileaks-archive-of-climategate-cru-e-mail-files' rel='bookmark' title='Permanent Link: WikiLeaks Archive of Climategate CRU E-Mail Files'>WikiLeaks Archive of Climategate CRU E-Mail Files</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://digitivity.org/1171/inside-the-pantheon_migrate-module-backup-and-migrate-archive/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How to Create a Watermark with ImageMagick</title>
		<link>http://digitivity.org/1158/how-to-create-a-watermark-with-imagemagick</link>
		<comments>http://digitivity.org/1158/how-to-create-a-watermark-with-imagemagick#comments</comments>
		<pubDate>Sat, 22 Oct 2011 17:26:00 +0000</pubDate>
		<dc:creator>Digitivity</dc:creator>
				<category><![CDATA[Web/Software Development]]></category>
		<category><![CDATA[ImageMagick]]></category>
		<category><![CDATA[watermark]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://digitivity.org/1158/how-to-create-a-watermark-with-imagemagick</guid>
		<description><![CDATA[<p>Posted in <a href="http://digitivity.org/tumblog/links">Links</a></p><p><a href="http://www.selonen.org/arto/netbsd/watermarks.html" rel="bookmark" title="How to Create a Watermark with ImageMagick" target="_blank">http://www.selonen.org/arto/netbsd/watermarks.html</a></p>If you&#8217;re putting images on the Web, they&#8217;re available for people to download en masse and repost them as their own. So you might want to watermark them. That won&#8217;t prevent people from downloading and reposting, but at least you can identify the images as being original to you. There are plenty of ways to [...]


Related posts:<ol><li><a href='http://digitivity.org/925/how-to-create-an-ubuntu-live-boot-cd' rel='bookmark' title='Permanent Link: How to Create an Ubuntu Boot CD for Lucid Lynx'>How to Create an Ubuntu Boot CD for Lucid Lynx</a></li>
<li><a href='http://digitivity.org/938/updating-ubuntu-boot-cd-iso-images-with-zsync-incremental-download' rel='bookmark' title='Permanent Link: Updating Ubuntu Boot CD Images with zsync'>Updating Ubuntu Boot CD Images with zsync</a></li>
<li><a href='http://digitivity.org/739/techcrunch-blog-gets-hacked-again-wordpress-security' rel='bookmark' title='Permanent Link: TechCrunch Blog Gets Hacked Again &#038; WordPress Security'>TechCrunch Blog Gets Hacked Again &#038; WordPress Security</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re putting images on the Web, they&#8217;re available for people to download en masse and repost them as their own. So you might want to watermark them. That won&#8217;t prevent people from downloading and reposting, but at least you can identify the images as being original to you.</p>
<p>There are plenty of ways to add a watermark, but the easiest way to do as a batch process is with ImageMagic. Read the tutorial <a href="http://www.selonen.org/arto/netbsd/watermarks.html">here</a>.</p>


<p>Related posts:<ol><li><a href='http://digitivity.org/925/how-to-create-an-ubuntu-live-boot-cd' rel='bookmark' title='Permanent Link: How to Create an Ubuntu Boot CD for Lucid Lynx'>How to Create an Ubuntu Boot CD for Lucid Lynx</a></li>
<li><a href='http://digitivity.org/938/updating-ubuntu-boot-cd-iso-images-with-zsync-incremental-download' rel='bookmark' title='Permanent Link: Updating Ubuntu Boot CD Images with zsync'>Updating Ubuntu Boot CD Images with zsync</a></li>
<li><a href='http://digitivity.org/739/techcrunch-blog-gets-hacked-again-wordpress-security' rel='bookmark' title='Permanent Link: TechCrunch Blog Gets Hacked Again &#038; WordPress Security'>TechCrunch Blog Gets Hacked Again &#038; WordPress Security</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://digitivity.org/1158/how-to-create-a-watermark-with-imagemagick/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>MaraDNS: A Secure Nameserver Alternative to BIND</title>
		<link>http://digitivity.org/1144/maradns-a-secure-nameserver-alternative-to-bind</link>
		<comments>http://digitivity.org/1144/maradns-a-secure-nameserver-alternative-to-bind#comments</comments>
		<pubDate>Fri, 14 Oct 2011 15:07:00 +0000</pubDate>
		<dc:creator>Digitivity</dc:creator>
				<category><![CDATA[Web/Software Development]]></category>
		<category><![CDATA[BIND]]></category>
		<category><![CDATA[daemon]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[MaraDNS]]></category>
		<category><![CDATA[nameserver]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://digitivity.org/1144/maradns-a-secure-nameserver-alternative-to-bind</guid>
		<description><![CDATA[<p>Posted in <a href="http://digitivity.org/tumblog/links">Links</a></p><p><a href="http://www.maradns.org/" rel="bookmark" title="MaraDNS: A Secure Nameserver Alternative to BIND" target="_blank">http://www.maradns.org/</a></p>If you&#8217;re running a website, either you or your service provider is running a nameserver. The most popular nameserver is BIND (Berkeley Internet Name Daemon). It&#8217;s old, venerable, full of features, complicated, and big. Sort of like Sendmail. MaraDNS is the secure, small, easy alternative. It&#8217;s also open source (like BIND). Related posts:Magento Alternatives: PrestaShop [...]


Related posts:<ol><li><a href='http://digitivity.org/1060/magento-alternatives-prestashop-and-drupal-commerce' rel='bookmark' title='Permanent Link: Magento Alternatives: PrestaShop and Drupal Commerce'>Magento Alternatives: PrestaShop and Drupal Commerce</a></li>
<li><a href='http://digitivity.org/1137/debian-vs-ubuntu-server' rel='bookmark' title='Permanent Link: Debian vs. Ubuntu Server'>Debian vs. Ubuntu Server</a></li>
<li><a href='http://digitivity.org/817/track-your-mouse-screen-movements-with-mousepath' rel='bookmark' title='Permanent Link: Track Your Mouse Movements with MousePath'>Track Your Mouse Movements with MousePath</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re running a website, either you or your service provider is running a nameserver. The most popular nameserver is BIND (Berkeley Internet Name Daemon).</p>
<p>It&#8217;s old, venerable, full of features, complicated, and big. Sort of like Sendmail.</p>
<p><a href="http://www.maradns.org/">MaraDNS</a> is the secure, small, easy alternative. It&#8217;s also open source (like BIND).</p>


<p>Related posts:<ol><li><a href='http://digitivity.org/1060/magento-alternatives-prestashop-and-drupal-commerce' rel='bookmark' title='Permanent Link: Magento Alternatives: PrestaShop and Drupal Commerce'>Magento Alternatives: PrestaShop and Drupal Commerce</a></li>
<li><a href='http://digitivity.org/1137/debian-vs-ubuntu-server' rel='bookmark' title='Permanent Link: Debian vs. Ubuntu Server'>Debian vs. Ubuntu Server</a></li>
<li><a href='http://digitivity.org/817/track-your-mouse-screen-movements-with-mousepath' rel='bookmark' title='Permanent Link: Track Your Mouse Movements with MousePath'>Track Your Mouse Movements with MousePath</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://digitivity.org/1144/maradns-a-secure-nameserver-alternative-to-bind/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Dive Into HTML5 Author Missing?</title>
		<link>http://digitivity.org/1134/dive-into-html5-author-missing</link>
		<comments>http://digitivity.org/1134/dive-into-html5-author-missing#comments</comments>
		<pubDate>Thu, 06 Oct 2011 18:33:00 +0000</pubDate>
		<dc:creator>Digitivity</dc:creator>
				<category><![CDATA[Web/Software Development]]></category>
		<category><![CDATA[Dive into Accessibility]]></category>
		<category><![CDATA[Dive Into HTML5]]></category>
		<category><![CDATA[Dive Into Python]]></category>
		<category><![CDATA[Mark Pilgrim]]></category>

		<guid isPermaLink="false">http://digitivity.org/1134/dive-into-html5-author-missing</guid>
		<description><![CDATA[<p>Posted in <a href="http://digitivity.org/tumblog/links">Links</a></p><p><a href="http://meyerweb.com/eric/thoughts/2011/10/04/searching-for-mark-pilgrim/" rel="bookmark" title="Dive Into HTML5 Author Missing?" target="_blank">http://meyerweb.com/eric/thoughts/2011/10/04/searching-for-mark-pilgrim/</a></p>The author of Dive Into HTML5 has apparently committed infocide (removal of oneself from the Internet). This&#8217;ll probably give even more encouragement to packrats to keep local copies of everything they find even mildly useful. UPDATE: People have come up with alternative copies of Mark Pilgrim&#8217;s online books. http://diveintopython3.kennethreitz.com/ and http://diveintohtml5.info/ Related posts:Slideshare Dumps Flash [...]


Related posts:<ol><li><a href='http://digitivity.org/1116/slideshare-dumps-flash-for-html5' rel='bookmark' title='Permanent Link: Slideshare Dumps Flash for HTML5'>Slideshare Dumps Flash for HTML5</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The author of Dive Into HTML5 has apparently committed <a href="http://meyerweb.com/eric/thoughts/2011/10/04/searching-for-mark-pilgrim/">infocide</a> (removal of oneself from the Internet). This&#8217;ll probably give even more encouragement to packrats to keep local copies of everything they find even mildly useful.</p>
<p>UPDATE: People have come up with alternative copies of Mark Pilgrim&#8217;s online books. http://diveintopython3.kennethreitz.com/ and http://diveintohtml5.info/</p>


<p>Related posts:<ol><li><a href='http://digitivity.org/1116/slideshare-dumps-flash-for-html5' rel='bookmark' title='Permanent Link: Slideshare Dumps Flash for HTML5'>Slideshare Dumps Flash for HTML5</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://digitivity.org/1134/dive-into-html5-author-missing/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>New York&#8217;s Technology Incubator: General Assembly</title>
		<link>http://digitivity.org/1128/new-yorks-technology-incubator-general-assembly</link>
		<comments>http://digitivity.org/1128/new-yorks-technology-incubator-general-assembly#comments</comments>
		<pubDate>Mon, 03 Oct 2011 17:08:04 +0000</pubDate>
		<dc:creator>Digitivity</dc:creator>
				<category><![CDATA[Web/Software Development]]></category>
		<category><![CDATA[General Assembly]]></category>
		<category><![CDATA[New York]]></category>
		<category><![CDATA[New York City]]></category>
		<category><![CDATA[technology incubator]]></category>

		<guid isPermaLink="false">http://digitivity.org/?p=1128</guid>
		<description><![CDATA[<p>Posted in <a href="http://digitivity.org/tumblog/images-2">Images</a></p><p><a href="http://digitivity.org/1128/new-yorks-technology-incubator-general-assembly" title="image"><img src="http://digitivity.org/blog/wp-content/uploads/2011/10/general-assembly.png" alt="image" width="512" /></a></p>Joel Spolsky wrote a while back about how hard it is to find rental offices in New York City. It would basically be impossible for a 2-man startup to find a decent office in NYC. And it&#8217;s not like you can just use your garage. After all, how many people in Manhattan have a garage? [...]


Related posts:<ol><li><a href='http://digitivity.org/785/will-the-nfl-put-you-in-jail-for-illegal-superbowl-party-55-inch-tv' rel='bookmark' title='Permanent Link: Will the NFL Put You in Jail for a SuperBowl Party?'>Will the NFL Put You in Jail for a SuperBowl Party?</a></li>
<li><a href='http://digitivity.org/1090/dead-programmers-blog' rel='bookmark' title='Permanent Link: Dead Programmer&#8217;s Blog'>Dead Programmer&#8217;s Blog</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Joel Spolsky wrote a while back about <a href="http://www.joelonsoftware.com/articles/OfficeNewYork.html">how hard it is to find rental offices in New York City</a>.</p>
<p>It would basically be impossible for a 2-man startup to find a decent office in NYC. And it&#8217;s not like you can just use your garage. After all, how many people in Manhattan have a garage?</p>
<p>So somebody came up with a technology incubator called <a href="http://www.generalassemb.ly/">General Assembly</a> (cute reference to the UN, I guess, which is also in NYC). They have 20k square feet of space, which includes shared areas (library, media room, lounge) and work areas. They also have classrooms and hold classes, too. It&#8217;s like you never left college.</p>


<p>Related posts:<ol><li><a href='http://digitivity.org/785/will-the-nfl-put-you-in-jail-for-illegal-superbowl-party-55-inch-tv' rel='bookmark' title='Permanent Link: Will the NFL Put You in Jail for a SuperBowl Party?'>Will the NFL Put You in Jail for a SuperBowl Party?</a></li>
<li><a href='http://digitivity.org/1090/dead-programmers-blog' rel='bookmark' title='Permanent Link: Dead Programmer&#8217;s Blog'>Dead Programmer&#8217;s Blog</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://digitivity.org/1128/new-yorks-technology-incubator-general-assembly/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Free News Feeds</title>
		<link>http://digitivity.org/1126/free-news-feeds</link>
		<comments>http://digitivity.org/1126/free-news-feeds#comments</comments>
		<pubDate>Sun, 02 Oct 2011 18:50:00 +0000</pubDate>
		<dc:creator>Digitivity</dc:creator>
				<category><![CDATA[Web/Software Development]]></category>
		<category><![CDATA[free newsfeed]]></category>
		<category><![CDATA[NewsFactor]]></category>
		<category><![CDATA[newsfeed]]></category>
		<category><![CDATA[RSS]]></category>

		<guid isPermaLink="false">http://digitivity.org/1126/free-news-feeds</guid>
		<description><![CDATA[<p>Posted in <a href="http://digitivity.org/tumblog/links">Links</a></p><p><a href="http://freenewsfeed.newsfactor.com/" rel="bookmark" title="Free News Feeds" target="_blank">http://freenewsfeed.newsfactor.com/</a></p>If you&#8217;re looking for a free RSS news feed, you can get it from NewsFactor. They have free articles you can post to your website as long as you link back to them. Related posts:What Is RSS? An Introduction to Feeds and RSS Feed Readers Does RSS Kill Your Productivity and Make You Insane? Updating [...]


Related posts:<ol><li><a href='http://digitivity.org/555/what-is-rss-an-introduction-to-feeds-and-rss-feed-readers' rel='bookmark' title='Permanent Link: What Is RSS? An Introduction to Feeds and RSS Feed Readers'>What Is RSS? An Introduction to Feeds and RSS Feed Readers</a></li>
<li><a href='http://digitivity.org/1044/rss-kill-your-productivity-make-you-insane-waste-time' rel='bookmark' title='Permanent Link: Does RSS Kill Your Productivity and Make You Insane?'>Does RSS Kill Your Productivity and Make You Insane?</a></li>
<li><a href='http://digitivity.org/43/updating-old-posts-or-posting-new-ones' rel='bookmark' title='Permanent Link: Updating Old Posts or Posting New Ones'>Updating Old Posts or Posting New Ones</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re looking for a free RSS news feed, you can get it from <a href="http://freenewsfeed.newsfactor.com">NewsFactor</a>. They have free articles you can post to your website as long as you link back to them.</p>


<p>Related posts:<ol><li><a href='http://digitivity.org/555/what-is-rss-an-introduction-to-feeds-and-rss-feed-readers' rel='bookmark' title='Permanent Link: What Is RSS? An Introduction to Feeds and RSS Feed Readers'>What Is RSS? An Introduction to Feeds and RSS Feed Readers</a></li>
<li><a href='http://digitivity.org/1044/rss-kill-your-productivity-make-you-insane-waste-time' rel='bookmark' title='Permanent Link: Does RSS Kill Your Productivity and Make You Insane?'>Does RSS Kill Your Productivity and Make You Insane?</a></li>
<li><a href='http://digitivity.org/43/updating-old-posts-or-posting-new-ones' rel='bookmark' title='Permanent Link: Updating Old Posts or Posting New Ones'>Updating Old Posts or Posting New Ones</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://digitivity.org/1126/free-news-feeds/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Dreamhost 14th Birthday Promotion: $110 Discount</title>
		<link>http://digitivity.org/1110/dreamhost-14th-birthday-web-hosting-promotion-110-dollar-discount</link>
		<comments>http://digitivity.org/1110/dreamhost-14th-birthday-web-hosting-promotion-110-dollar-discount#comments</comments>
		<pubDate>Sat, 24 Sep 2011 16:58:38 +0000</pubDate>
		<dc:creator>Digitivity</dc:creator>
				<category><![CDATA[Web/Software Development]]></category>
		<category><![CDATA[discount]]></category>
		<category><![CDATA[DreamHost]]></category>
		<category><![CDATA[web hosting]]></category>
		<category><![CDATA[webhost]]></category>

		<guid isPermaLink="false">http://digitivity.org/?p=1110</guid>
		<description><![CDATA[<p>Posted in <a href="http://digitivity.org/tumblog/images-2">Images</a></p><p><a href="http://digitivity.org/1110/dreamhost-14th-birthday-web-hosting-promotion-110-dollar-discount" title="image"><img src="http://digitivity.org/blog/wp-content/uploads/2011/09/dreamhost-14th-birthday.png" alt="image" width="512" /></a></p>Dreamhost, one of the largest webhosts, is holding a promotion today only: Sign up today for a risk-free trial of a one-year hosting plan using the promotional code &#8220;777bday11&#8243; and you&#8217;ll get an entire year of web hosting (including a domain registration) for just $9.24! That&#8217;s 92% off our normal pricing! Related posts:DreamHost Offers Web [...]


Related posts:<ol><li><a href='http://digitivity.org/300/dreamhost-offers-web-hosting-for-one-year-for-924-with-a-one-day-promotional-code' rel='bookmark' title='Permanent Link: DreamHost Offers Web Hosting for One Year for $9.24 with a One-Day Promotional Code'>DreamHost Offers Web Hosting for One Year for $9.24 with a One-Day Promotional Code</a></li>
<li><a href='http://digitivity.org/1093/free-webhosting' rel='bookmark' title='Permanent Link: Free Webhosting'>Free Webhosting</a></li>
<li><a href='http://digitivity.org/1041/uk-registrar-nominet-to-let-police-close-down-websites' rel='bookmark' title='Permanent Link: UK Registrar Nominet to Let Police Close Down Websites'>UK Registrar Nominet to Let Police Close Down Websites</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://dreamhost.com/">Dreamhost</a>, one of the largest webhosts, is holding a promotion today only:</p>
<blockquote><p>
Sign up today for a risk-free trial of a one-year hosting plan using the promotional code &#8220;777bday11&#8243; and you&#8217;ll get an entire year of web hosting (including a domain registration) for just $9.24! That&#8217;s 92% off our normal pricing!
</p></blockquote>


<p>Related posts:<ol><li><a href='http://digitivity.org/300/dreamhost-offers-web-hosting-for-one-year-for-924-with-a-one-day-promotional-code' rel='bookmark' title='Permanent Link: DreamHost Offers Web Hosting for One Year for $9.24 with a One-Day Promotional Code'>DreamHost Offers Web Hosting for One Year for $9.24 with a One-Day Promotional Code</a></li>
<li><a href='http://digitivity.org/1093/free-webhosting' rel='bookmark' title='Permanent Link: Free Webhosting'>Free Webhosting</a></li>
<li><a href='http://digitivity.org/1041/uk-registrar-nominet-to-let-police-close-down-websites' rel='bookmark' title='Permanent Link: UK Registrar Nominet to Let Police Close Down Websites'>UK Registrar Nominet to Let Police Close Down Websites</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://digitivity.org/1110/dreamhost-14th-birthday-web-hosting-promotion-110-dollar-discount/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>MySQL: String &#8216;blah@localhost&#8217; is too long for user name</title>
		<link>http://digitivity.org/1092/mysql-string-blahlocalhost-is-too-long-for-user-name</link>
		<comments>http://digitivity.org/1092/mysql-string-blahlocalhost-is-too-long-for-user-name#comments</comments>
		<pubDate>Sat, 17 Sep 2011 18:54:51 +0000</pubDate>
		<dc:creator>Digitivity</dc:creator>
				<category><![CDATA[Web/Software Development]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL client]]></category>
		<category><![CDATA[MySQL privileges]]></category>
		<category><![CDATA[MySQL user]]></category>

		<guid isPermaLink="false">http://digitivity.org/?p=1092</guid>
		<description><![CDATA[<p>Posted in <a href="http://digitivity.org/category/websoftware-development" title="Web/Software Development">Web/Software Development</a></p>While creating a MySQL user on the command line, you might run into this error: mysql&#62; GRANT ALL PRIVILEGES ON mydb.* TO 'myuser@localhost' WITH GRANT OPTION; ERROR 1470 &#40;HY000&#41;: String 'myuser@localhost' is too long for user name &#40;should be no longer than 16&#41; The problem is that the single quotes surround both the username and [...]


Related posts:<ol><li><a href='http://digitivity.org/953/creating-a-database-in-mysql-with-mysql-query-browser-on-ubuntu-linux' rel='bookmark' title='Permanent Link: Creating a Database in MySQL with MySQL Query Browser on Ubuntu Linux'>Creating a Database in MySQL with MySQL Query Browser on Ubuntu Linux</a></li>
<li><a href='http://digitivity.org/161/will-the-real-mysql-please-stand-up' rel='bookmark' title='Permanent Link: Will the Real MySQL Please Stand Up?'>Will the Real MySQL Please Stand Up?</a></li>
<li><a href='http://digitivity.org/455/monty-widenius-is-still-trying-to-save-mysql-from-itself-oracle-sun-eu' rel='bookmark' title='Permanent Link: Monty Widenius Is Still Trying to Save MySQL From Itself'>Monty Widenius Is Still Trying to Save MySQL From Itself</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>While creating a MySQL user on the command line, you might run into this error:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysql<span style="color: #000000; font-weight: bold;">&gt;</span> GRANT ALL PRIVILEGES ON mydb.<span style="color: #000000; font-weight: bold;">*</span> TO <span style="color: #ff0000;">'myuser@localhost'</span> WITH GRANT OPTION;
ERROR <span style="color: #000000;">1470</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>HY000<span style="color: #7a0874; font-weight: bold;">&#41;</span>: String <span style="color: #ff0000;">'myuser@localhost'</span> is too long <span style="color: #000000; font-weight: bold;">for</span> user name <span style="color: #7a0874; font-weight: bold;">&#40;</span>should be no longer than <span style="color: #000000;">16</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>The problem is that the single quotes surround both the username and <tt>localhost</tt>. Instead, you should have two sets of quotes, like so:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #ff0000;">'myuser'</span><span style="color: #000000; font-weight: bold;">@</span><span style="color: #ff0000;">'localhost'</span></pre></div></div>

<p>This works:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysql<span style="color: #000000; font-weight: bold;">&gt;</span> GRANT ALL PRIVILEGES ON mydb.<span style="color: #000000; font-weight: bold;">*</span> TO <span style="color: #ff0000;">'myuser'</span><span style="color: #000000; font-weight: bold;">@</span><span style="color: #ff0000;">'localhost'</span> WITH GRANT OPTION;
Query OK, <span style="color: #000000;">0</span> rows affected <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0.01</span> sec<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>



<p>Related posts:<ol><li><a href='http://digitivity.org/953/creating-a-database-in-mysql-with-mysql-query-browser-on-ubuntu-linux' rel='bookmark' title='Permanent Link: Creating a Database in MySQL with MySQL Query Browser on Ubuntu Linux'>Creating a Database in MySQL with MySQL Query Browser on Ubuntu Linux</a></li>
<li><a href='http://digitivity.org/161/will-the-real-mysql-please-stand-up' rel='bookmark' title='Permanent Link: Will the Real MySQL Please Stand Up?'>Will the Real MySQL Please Stand Up?</a></li>
<li><a href='http://digitivity.org/455/monty-widenius-is-still-trying-to-save-mysql-from-itself-oracle-sun-eu' rel='bookmark' title='Permanent Link: Monty Widenius Is Still Trying to Save MySQL From Itself'>Monty Widenius Is Still Trying to Save MySQL From Itself</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://digitivity.org/1092/mysql-string-blahlocalhost-is-too-long-for-user-name/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: digitivity.org @ 2012-05-21 21:18:06 -->
