<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/blog/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://www.gizmola.com/blog/feeds/atom.xml" rel="self" title="GizmoLA.com" type="application/atom+xml" />
    <link href="http://www.gizmola.com/blog/"                        rel="alternate"    title="GizmoLA.com" type="text/html" />
    <link href="http://www.gizmola.com/blog/rss.php?version=2.0"     rel="alternate"    title="GizmoLA.com" type="application/rss+xml" />
    <title type="html">GizmoLA.com</title>
    <subtitle type="html"></subtitle>
    <icon>http://www.gizmola.com/blog/templates/default/img/s9y_banner_small.png</icon>
    <id>http://www.gizmola.com/blog/</id>
    <updated>2010-02-23T09:47:52Z</updated>
    <generator uri="http://www.s9y.org/" version="1.1">Serendipity 1.1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://www.gizmola.com/blog/archives/100-Get-files-from-subversion-without-creating-a-sandbox-using-svn-export.html" rel="alternate" title="Get files from subversion without creating a sandbox using svn export" />
        <author>
            <name>David Rolston</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2010-02-23T07:27:59Z</published>
        <updated>2010-02-23T09:47:52Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=100</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=100</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/100-guid.html</id>
        <title type="html">Get files from subversion without creating a sandbox using svn export</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                One of the first things people learn about using subversion is how to do a "checkout" using <a href="http://www.gizmola.com/blog/exit.php?url_id=1297&amp;entry_id=100"  onmouseover="window.status='http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.ref.svn.c.checkout';return true;" onmouseout="window.status='';return true;"  title="svn checkout">svn co</a>.  The svn checkout command pulls files from the subversion repository into your "sandbox" and in so doing creates what subversion calls a "working copy".  A working copy includes a <em>.svn</em> directory in every subdirectory of the working copy, which is chock full of directories and files that svn uses to determine what you're doing in your sandbox.<br />
<br />
A "working copy" is designed to be just that -- a copy of the source tree built with the assumption that you will be making changes and committing them back to subversion. But what do you do if you want the files, but you don't need or want a sandbox?<br />
<br />
 <br /><a href="http://www.gizmola.com/blog/archives/100-Get-files-from-subversion-without-creating-a-sandbox-using-svn-export.html#extended">Continue reading "Get files from subversion without creating a sandbox using svn export"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/99-Finding-Next-Monday-using-MySQL-Dates.html" rel="alternate" title="Finding &quot;Next Monday&quot; using MySQL Dates" />
        <author>
            <name>David Rolston</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2009-12-02T06:18:39Z</published>
        <updated>2009-12-02T09:34:01Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=99</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=99</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/99-guid.html</id>
        <title type="html">Finding &quot;Next Monday&quot; using MySQL Dates</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Several people who read my article on <a href="blog/archives/51-Exploring-Mysql-CURDATE-and-NOW.-The-same-but-different..html"  title="Exploring Mysql CURDATE and NOW. The same but different">Exploring Mysql CURDATE and NOW. The same but different</a> posed questions regarding how to return a valid MySQL date equivalent to "Next Monday" given any particular day, as determined by MySQL's CURDATE().  This is a little bit tricky, but can be done entirely in MySQL syntax, making it usable with Calendar applications built on top of MySQL queries, without the need to use serverside date functions.  This builds upon concepts discussed in my prior article, so if you have trouble understanding the implications of using CURDATE or DATE_ADD, you should probably take a minute and read that article. <br /><a href="http://www.gizmola.com/blog/archives/99-Finding-Next-Monday-using-MySQL-Dates.html#extended">Continue reading "Finding &quot;Next Monday&quot; using MySQL Dates"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/97-Centos-Virtual-LAMP-server-Part-II.html" rel="alternate" title="Centos Virtual LAMP server -- Part II" />
        <author>
            <name>David Rolston</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2009-08-05T01:10:08Z</published>
        <updated>2010-03-09T19:51:28Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=97</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=97</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/97-guid.html</id>
        <title type="html">Centos Virtual LAMP server -- Part II</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <a href="blog/archives/95-Run-a-Centos-Lamp-development-server-on-XP-using-VirtualBox.html"  title="Part  1 LAMP on VirtualBox">*Part 1 of this series is here*</a><br />
<br />
<h3>Customizing your LAMP server</h3><br />
Unix people are probably familiar with the father of the DNS system -- the /etc/hosts file.  The hosts file has a simple format:<br />
<br />
ipaddress hostname<br />
<br />
In the days prior to DNS, people would update a master hosts file and copy it around to all the servers in the enterprise.  Surprisingly Windows versions also support this file, as a way of overriding DNS, so we can use this to our advantage, by adding an entry for our development server.  In this example, I'm going to use dev.gizmola.com, which is not a real server.<br />
<br />
One important reason to do this is that Apache and other web servers, use a feature of HTTP 1.1 that specifies a header field named "Host:".  This mechanism facilitates the service of multiple domains from a single apache server, through the configuration of apache virtual host (or vhost) entires.  The server uses the Host name in the HTTP header to determine how to route requests, so without host name resolution. you have to use non-standard ports and other mechanisms that are more trouble than they're worth. a<br />
<br />
 <br /><a href="http://www.gizmola.com/blog/archives/97-Centos-Virtual-LAMP-server-Part-II.html#extended">Continue reading "Centos Virtual LAMP server -- Part II"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/96-Intels-T6500-No-VT-for-you!-Sony-You-got-Vaio-VT-We-turn-it-off..html" rel="alternate" title="Intel's T6500 -- No VT for you!  Sony: You got Vaio VT? We turn it off." />
        <author>
            <name>David Rolston</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2009-07-30T21:48:49Z</published>
        <updated>2009-07-31T08:48:42Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=96</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=96</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/1-Tech" label="Tech" term="Tech" />
    
        <id>http://www.gizmola.com/blog/archives/96-guid.html</id>
        <title type="html">Intel's T6500 -- No VT for you!  Sony: You got Vaio VT? We turn it off.</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                At the time I'm writing this, you can easily find websites still listing the specifications for Intel's T6500 chip as including Intel VT.  The T6500 is prevalent in the consumer Notebook space particularly because it was built to work with an 800mhz front side bus, allowing it to go in cheaper motherboards.  You'll find the T6500 in a lot of midrange and budget 64bit notebook computers, from nearly all the major notebook manufacturers.  Whether or not you care about VT depends on your interest in 64bit Virtualization software from Parallels to VMWare to Sun Virtualbox to Xen to VirtualPC.  <br />
<br />
VT is a marketing name for the hardware assisted virtualization workaround, originally named Vanderpool, that adds the Virtual Machine Extensions (VMX) instructions needed by VM's like Xen and Sun VirtualBox to provide 64bit OS virtualization.   AMD has a similar set of extensions it added, marketed as AMD-V, although they built in the memory segmentation support that alleviates the problem with 64bit memory virtualization as far back as the D revisions of their AMD64 chips.   One such website includes this boilerplate--<br />
<br />
<blockquote><br />
T6500 contain Advanced Technologies about Intel Virtualization Technology that increasing manageability, security, and flexibility in IT environments, virtualization technologies like hardware-assisted Intel Virtualization Technology (Intel® VT)<br />
</blockquote><br />
<br />
<div class="serendipity_imageComment_left" style="width: 110px"><div class="serendipity_imageComment_img"><a class='serendipity_image_link' href='http://www.gizmola.com/blog/uploads/images/T6500spec20july2009.JPG'><!-- s9ymdb:193 --><img width='110' height='88'  src="http://www.gizmola.com/blog/uploads/images/T6500spec20july2009.tn.JPG" alt="" /></a></div><div class="serendipity_imageComment_txt">Click to see full size screenshot of original Intel specification.</div></div>If you were to have visited Intel's own site prior to July 20th of 2009, you would have found information indicating that the chip had VT support.  This is a fairly mind boggling omission when you consider that the chip was manufactured, delivered to customers, and has been sold to customers for well over a month before Intel corrected its own site!  On July 21st, Intel updated its website, and VT support is now removed from the specs.  An Intel representative agreed that the information on the site was incorrect, once challenged by a consumer with a T6500 based machine, who had used Intel's own tools to enumerate the features on the chip.<br />
<br />
<blockquote><br />
I am sorry, I was mistaken. Thanks for bringing this to my attention.<br />
<br />
The T6500 does not support VT. I used ark.intel.com as my reference, but as you pointed out, the information turned out to be incorrect. The processor feature information for the T6500 contained within ark.intel.com has been corrected. VT is actually not a feature of the T6500.<br />
<br />
The processor identification tool is correctly reporting that VT is not a supported feature of the Intel® Core2 Duo Processor T6500.<br />
<br />
John S.<br />
Intel Customer Support<br />
</blockquote> <br /><a href="http://www.gizmola.com/blog/archives/96-Intels-T6500-No-VT-for-you!-Sony-You-got-Vaio-VT-We-turn-it-off..html#extended">Continue reading "Intel's T6500 -- No VT for you!  Sony: You got Vaio VT? We turn it off."</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/95-Run-a-Centos-Lamp-development-server-on-XP,-Vista-or-Win-7-using-VirtualBox.html" rel="alternate" title="Run a Centos Lamp development server on XP, Vista or Win 7 using VirtualBox" />
        <author>
            <name>David Rolston</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2009-07-16T21:07:21Z</published>
        <updated>2010-03-09T19:52:09Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=95</wfw:comment>
    
        <slash:comments>6</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=95</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/95-guid.html</id>
        <title type="html">Run a Centos Lamp development server on XP, Vista or Win 7 using VirtualBox</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                If you use a Windows based workstation or notebook computer virtualization offers a way for you to run a linux server environment using the same linux distribution and configuration you'll use in production.  Virtualization allows you to explore clustering and network setups that can't be tested on your workstation alone and simplifies your development environment by keeping the LAMP environment contained inside a VM.  <br />
<br />
While VMWare offers these capabilities with their VMWare workstation product, Sun has created a free alternative called VirtualBox, with many of the same capabilities in VMWare workstation.  VirtualBox runs on a variety of intel chip based operating systems including OS/X, Windows XP &amp; Vista, Linux and Solaris, and supports the installation of many different "Guest" operating systems.  In this article, I'll detail the installation and configuration of Centos.  Centos is a great choice for a Linux server operating system, as it is widely used by hosting companies due to its Redhat Enterprise Linux (RHEL) core.<br />
<br />
Our goals in this setup will be:<br />
<br />
&bull; Centos server running the LAMP stack<br />
&bull; XP can be used to develop code using the IDE of your choice.  <br />
&bull; The XP Workstation can communicate with the linux server using standard tools: putty, winscp, firefox<br />
&bull; The setup works even when no other networking is available.  When a network is available, no network reconfiguration is required.<br />
&bull; Use XP to setup private domain resolution so apache vhost configurations can be tested.<br />
<br />
Let's get started.   <br />
<br />
 <br /><a href="http://www.gizmola.com/blog/archives/95-Run-a-Centos-Lamp-development-server-on-XP,-Vista-or-Win-7-using-VirtualBox.html#extended">Continue reading "Run a Centos Lamp development server on XP, Vista or Win 7 using VirtualBox"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/93-Too-much-information-about-the-MySQL-TIMESTAMP.html" rel="alternate" title="Too much information about the MySQL TIMESTAMP" />
        <author>
            <name>David Rolston</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2009-04-23T20:55:47Z</published>
        <updated>2009-06-26T04:29:56Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=93</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=93</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/93-guid.html</id>
        <title type="html">Too much information about the MySQL TIMESTAMP</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                The MySQL timestamp is an oddity, being both a mySQL "Data Type" as well as a type of specialty column that provides a built in default.  It doesn't help matters, that the timestamp was changed significantly around mysql version 4.1.  <br />
<br />
<h3>The Old TIMESTAMP</h3><br />
In older mysql versions, the TIMESTAMP was not in the same format as a DateTime column, and you could also set up truncation by defining the TIMESTAMP to have a fixed size.  For example, you could define a TIMESTAMP column to be a TIMESTAMP(4) which would then only store the 4 digit Year portion of a DateTime value.  I won't go into much detail on the pre version 4.1 TIMESTAMP, however, if you're stuck with an older version of MySQL I recommend you read the manual carefully before you attempt to use any of the information here.  I'm going to concentrate on the current TIMESTAMP.<br />
<br />
<h3>TIMESTAMP Properties</h3><br />
At its most fundamental, the TIMESTAMP is really nothing more than a Unix TimeStamp, which is to say, that internally it is stored as an integer value of seconds.  Where a MySQL DATETIME column can be used to store any date and time from Jan 1, 1000 to 12/31/9999, the TIMESTAMP is limited in the same ways that the Unix timestamp is currently limited -- it can only store values from Jan 1, 1970 to Jan 9, 2038.  <br />
<br />
Those familiar with Unix design, will recognize the Jan 9, 2038 date as being the next big "Y2K" computing panic, and if you're young enough, you may realize a large payday in your future, selling remediation services to companies in roughly another 28 years.  The folks at <a href="http://www.gizmola.com/blog/exit.php?url_id=1020&amp;entry_id=93"  onmouseover="window.status='http://www.y2038.com/';return true;" onmouseout="window.status='';return true;"  title="http://www.y2038.com/">http://www.y2038.com/</a> are already estimating this to be as much as a 10 trillion dollar jackpot, although no doubt by that time most of the coding will be done by the Morlocks from their <em>underground cave cities</em>.   Outsourcing of IT to Morlocks will be a major industry trend by the year 2020, mark my words.<br />
<br />
 <br /><a href="http://www.gizmola.com/blog/archives/93-Too-much-information-about-the-MySQL-TIMESTAMP.html#extended">Continue reading "Too much information about the MySQL TIMESTAMP"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/91-Mysql-Update-Null-+-1-is-Null!.html" rel="alternate" title="Mysql Update:  Null + 1 is Null!  " />
        <author>
            <name>David Rolston</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2009-02-12T20:18:11Z</published>
        <updated>2009-06-26T04:30:36Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=91</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=91</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/91-guid.html</id>
        <title type="html">Mysql Update:  Null + 1 is Null!  </title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <h3><u>You can't add to Null</u></h3><br />
Here's something about mysql create table definitions that can easily catch you if you aren't careful.  Consider this table definition:<br />
<br />
<div class="mysql geshi" style="text-align: left"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">TABLE</span> screenshots <span style="color: #FF00FF;">&#40;</span>id <span style="color: #FF9900; font-weight: bold;">INT</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span> <span style="color: #9900FF; font-weight: bold;">AUTO_INCREMENT</span> <span style="color: #990099; font-weight: bold;">PRIMARY</span> <span style="color: #990099; font-weight: bold;">KEY</span><span style="color: #FF00FF;">,</span> votes <span style="color: #FF9900; font-weight: bold;">INT</span><span style="color: #FF00FF;">&#41;</span><span style="color: #FF00FF;">;</span></div></li></ol></div><br />
<br />
<div class="bash geshi" style="text-align: left"><br />mysql<span style="color: #000000; font-weight: bold;">&gt;</span> CREATE TABLE screenshots <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">id</span> INT NOT NULL AUTO_INCREMENT PRIMARY KEY, votes INT<span style="color: #7a0874; font-weight: bold;">&#41;</span>; &#160; &#160; &#160;<br />Query OK, <span style="color: #000000;">0</span> rows affected <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0.09</span> sec<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />&#160;</div><br />
<br />
What the user wanted was a simple table to keep track of user submitted screen shots.  Of course the real table had a submission date, and name column but I've omitted those in order to focus on what can happen when you allow a numeric column to have NULL values.  <br />
<br />
In the application in question, when a user votes for the screen shot they like, the system should "count" the vote, by increasing the values in the "votes" column by one.  Initially the developer working on this application was trying to read the value from the database, and in a PHP web script, they would increment this value and take the result and set "votes" to be equal to it in an UPDATE statement.  I explained that this could cause lost votes, because if two or more users were voting at nearly the same time, each would overwrite the value of the "vote" column.  In fact there are scenarios far worse than that --- a user with a cached page could vote and set the vote count back days or weeks.  I didn't bother to mention the possibility that someone might recognize what was going on in the web form, and start tampering with it, since it was plainly evident that the form was passing the current number of votes.  <br />
<br />
One of the many benefits of using a relational database is built in concurrency.  In an UPDATE statement, you can add to the value of the column without having to know what its original value is, just as computer languages allow assignment to a variable that references the variable's current value (ie. $a = $a + 1, $a++).<br />
<br />
<div class="mysql geshi" style="text-align: left"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #990099; font-weight: bold;">UPDATE</span> screenshots <span style="color: #990099; font-weight: bold;">SET</span> votes <span style="color: #FF00FF;">=</span> votes <span style="color: #FF00FF;">+</span> <span style="color: #008080;">1</span> <span style="color: #990099; font-weight: bold;">WHERE</span> id <span style="color: #FF00FF;">=</span> &#160;</div></li></ol></div><br />
<br />
All that's needed is to have the serverside language provide a value for a particular "id"  and the votes will be tallied and updated correctly.  Even more importantly, mysql will serialize the updates, insuring that no votes are lost.<br />
<br />
However, given the original Mysql CREATE TABLE statement , what will happen if our code embeds the UPDATE statement provided? <br /><a href="http://www.gizmola.com/blog/archives/91-Mysql-Update-Null-+-1-is-Null!.html#extended">Continue reading "Mysql Update:  Null + 1 is Null!  "</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/89-Heathers.html" rel="alternate" title="Heathers" />
        <author>
            <name>David Rolston</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2009-01-07T22:08:57Z</published>
        <updated>2009-06-26T04:31:08Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=89</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=89</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/14-Music" label="Music" term="Music" />
    
        <id>http://www.gizmola.com/blog/archives/89-guid.html</id>
        <title type="html">Heathers</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                For some time now I've felt like an honorary citizen of Ireland, having married a girl from Dublin and been blessed with two children upon which my wife and I have bestowed the most Irish of names.  I've visited the country numerous times over the last 15 years and find myself becoming more intrigued with its history, culture and music with each visit.  I've witnessed first hand Ireland's rapid evolution under the influence of unprecedented economic growth and the tidal wave of change brought by the European union.  Any such metamorphosis  brings with it changes that are both good and bad.  The skies of Ireland's major cities have in recent years become thick with giant construction cranes, and its citizens have seen real estate prices hit astronomical highs.  Ireland's youth no longer are confronted with the economic necessity of emigration, and expatriates have begun to return home in increasing numbers.  The country now faces ironic and unforeseen challenges in the wake of its stunning reversal of fortune.  <br />
<br />
<br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/0CnNbLZxZK0&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/0CnNbLZxZK0&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object> <br /><a href="http://www.gizmola.com/blog/archives/89-Heathers.html#extended">Continue reading "Heathers"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/88-Lampsig-2008-Presentation-on-Subversion-for-Lamp-Developers.html" rel="alternate" title="Lampsig 2008 Presentation on Subversion for Lamp Developers" />
        <author>
            <name>David Rolston</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-10-13T21:24:39Z</published>
        <updated>2009-06-26T04:31:49Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=88</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=88</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/88-guid.html</id>
        <title type="html">Lampsig 2008 Presentation on Subversion for Lamp Developers</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <a class='serendipity_image_link' href='http://www.gizmola.com/blog/pages/svnpresentation.html'><!-- s9ymdb:157 --><img width='266' height='189' style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://www.gizmola.com/blog/uploads/images/snvpres.jpg" alt="" /></a><br />
Here are the slides for the presentation on subversion I gave at the September 2008 LampSIG meeting.  I hope some may find them useful, however they were meant only to provide a skeleton for the talk, and aren't a complete tutorial by any means.  The following links to other sites were mentioned in the talk:<br />
<br />
<a href="http://www.gizmola.com/blog/exit.php?url_id=1023&amp;entry_id=88"  onmouseover="window.status='http://svnbook.red-bean.com/';return true;" onmouseout="window.status='';return true;"  title="red-bean book">The Red bean book, aka Subversion manual</a><br />
<a href="http://www.gizmola.com/blog/exit.php?url_id=1024&amp;entry_id=88"  onmouseover="window.status='http://www.orcaware.com/svn/wiki/Svnmerge.py';return true;" onmouseout="window.status='';return true;"  title="The svnmerge python script">The svnmerge python script</a><br />
<a href="http://www.gizmola.com/blog/exit.php?url_id=1025&amp;entry_id=88"  onmouseover="window.status='http://www.onlamp.com/pub/a/onlamp/2004/08/19/subversiontips.html?page=1';return true;" onmouseout="window.status='';return true;"  title="Subversion tips">Subversion tips Article</a><br />
<a href="http://www.gizmola.com/blog/exit.php?url_id=1026&amp;entry_id=88"  onmouseover="window.status='http://www.digilife.be/quickreferences/QRC/Subversion%20Quick%20Reference%20Card.pdf';return true;" onmouseout="window.status='';return true;"  title="Subversion Cheat Card">Subversion Cheat Card</a><br />
<br />
<br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html" rel="alternate" title="Linux shell scripting: bad interpreter: No such file or directory" />
        <author>
            <name>David Rolston</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-09-15T23:22:39Z</published>
        <updated>2009-06-26T04:32:27Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=87</wfw:comment>
    
        <slash:comments>6</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=87</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/10-Linux" label="Linux" term="Linux" />
    
        <id>http://www.gizmola.com/blog/archives/87-guid.html</id>
        <title type="html">Linux shell scripting: bad interpreter: No such file or directory</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                This error pops up for a couple of reasons.  At the top of the script there will probably be a line that looks like this:<br />
<br />
<div class="bash geshi" style="text-align: left"><span style="color: #666666; font-style: italic;">#!/bin/sh</span></div><br />
<br />
This is telling Linux that this script should be interpreted using the /bin/sh program.  So your first step is to verify that program exists.  I tend to use:<br />
<br />
<div class="bash geshi" style="text-align: left"><span style="color: #c20cb9; font-weight: bold;">which</span> <span style="color: #c20cb9; font-weight: bold;">sh</span></div><br />
<br />
This will typically come back with a response like this:<br />
<br />
<div class="bash geshi" style="text-align: left"><span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">sh</span></div><br />
<br />
This is telling us that the path to the sh program is in fact /bin/sh, matching the path specified at the top of the script.  Ok, so what gives?  Well, it's possible that this script was made on an operating system that has line ending characters different than linux.  This could have been on on a Mac or PC, or the file could have been converted when it was packaged.  In this case, you get the relatively misleading <strong>bad interpreter: No such file or directory</strong> message, which is really trying to look for sh<garbage character>, although you don't get any indication of the fact. <br />
<br />
So, how to fix? Read on. <br /><a href="http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#extended">Continue reading "Linux shell scripting: bad interpreter: No such file or directory"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/86-EAs-Spore-DRM-fiasco.html" rel="alternate" title="EA's Spore DRM fiasco" />
        <author>
            <name>David Rolston</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-09-13T18:57:00Z</published>
        <updated>2009-06-26T04:32:53Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=86</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=86</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/17-Games" label="Games" term="Games" />
    
        <id>http://www.gizmola.com/blog/archives/86-guid.html</id>
        <title type="html">EA's Spore DRM fiasco</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <!-- s9ymdb:155 --><img width='95' height='110' style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://www.gizmola.com/blog/uploads/images/spore.tn.png" alt="" />EA's big fall PC gaming release is the long awaited "Spore" from Maxis, beloved studio responsible for all things Sim.  Spore has been in some form of development since 2000, and finally hit stores on Sept. 7th, 2008, accompanied by  predictions of the title living up to its hype and transcending it from EA brass.<br />
<br />
I took a look at the Amazon user ratings for the game, and was shocked to see that it has been absolutely shellacked -- currently 2300+ reviews and only 1.5 stars.  The primary reason for the low ratings?  Customer outrage over EA's employment of the Sony SecuROM copy protection system, that allows someone purchasing the game, to activate it 3 times.  As was pointed out in an amazon review:<br />
<br />
<blockquote>Then there's the DRM. Let me just clarify what people are saying by adding, it not only counts installations, but changes to your hardware ! Upgrade a system component (memory, CPU, vid card) and you are out an installation....Basically I just paid $50 for a coaster.</blockquote><br />
<br />
When will companies learn that treating their customers like thieves is never a good business practice?<br />
<br />
 <br /><a href="http://www.gizmola.com/blog/archives/86-EAs-Spore-DRM-fiasco.html#extended">Continue reading "EA's Spore DRM fiasco"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/85-New-LulaLampsig-Coop-Server.html" rel="alternate" title="New Lula/Lampsig Coop Server" />
        <author>
            <name>David Rolston</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-07-24T17:55:09Z</published>
        <updated>2009-06-26T04:33:26Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=85</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=85</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/85-guid.html</id>
        <title type="html">New Lula/Lampsig Coop Server</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                So the UML Coop has finally after 3 years of talking about it, acquired a new server from Silicon Mechanics.  Read the rest of the article for the complete specifications.  We will be moving off User Mode Linux (UML) and on to OpenVZ. This change will allow us to accept some new members to the coop, so if you're interested drop me a line.<br />
<!-- s9ymdb:154 --><img width='110' height='37' style="border: 0px; padding-left: 5px; padding-right: 5px;" src="http://www.gizmola.com/blog/uploads/images/server.tn.jpg" alt="" /><br />
<br />
 <br /><a href="http://www.gizmola.com/blog/archives/85-New-LulaLampsig-Coop-Server.html#extended">Continue reading "New Lula/Lampsig Coop Server"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/84-AT+T-Wireless-XPress-Mail-Courier-IMAP-setup-problem-Trash-Folder.html" rel="alternate" title="AT+T Wireless XPress Mail Courier IMAP setup problem - Trash Folder?" />
        <author>
            <name>David Rolston</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-07-12T21:40:17Z</published>
        <updated>2009-06-26T04:35:25Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=84</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=84</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/10-Linux" label="Linux" term="Linux" />
    
        <id>http://www.gizmola.com/blog/archives/84-guid.html</id>
        <title type="html">AT+T Wireless XPress Mail Courier IMAP setup problem - Trash Folder?</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <!-- s9ymdb:151 --><img width='433' height='423' style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://www.gizmola.com/blog/uploads/images/xpressmail.png" alt="" />Having recently left a company that had Exchange, the removal of Goodlink from my Samsung Blackjack left the phone in a fairly broken state.  I fixed this by doing a full reset (Turn on phone while holding Up Arrow) and choosing 1.  This put things back in basic working order.<br />
<br />
My efforts to use the built in email client to access my Courier IMap Email had never been successful, so I decided to explore AT+T's XPress Mail system.  This consists of client software you install on the phone, and a desktop application that connects through AT+T's servers to give you access to your email remotely, and also can be used to give you access to files on your PC. <br />
<br />
Upon install of the client you choose your mail server (in my case IMAP) and input the basic settings required by most IMAP client softare (Account name &amp; Password, email address, the IMAP server, SMTP server, security settings, etc).  I did notice an unusual configuration box asking for "Root Folder Path" which I left blank.  Here's where the fun began.<br />
<br />
<br />
<br />
<br />
<br />
 <br /><a href="http://www.gizmola.com/blog/archives/84-AT+T-Wireless-XPress-Mail-Courier-IMAP-setup-problem-Trash-Folder.html#extended">Continue reading "AT+T Wireless XPress Mail Courier IMAP setup problem - Trash Folder?"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/82-LAMP-Tutorial-Series-originally-published-on-PHPFreaks.com.html" rel="alternate" title="LAMP Tutorial Series originally published on PHPFreaks.com" />
        <author>
            <name>David Rolston</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-05-27T19:52:58Z</published>
        <updated>2009-06-26T04:34:50Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=82</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=82</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/82-guid.html</id>
        <title type="html">LAMP Tutorial Series originally published on PHPFreaks.com</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                A few years ago I published a 3 part LAMP tutorial series entitled <strong>LAMP, MySQL/PHP Database Driven Websites</strong> on the well known php community website PHPFreaks.com.  This series dealt with a slew of practical issues including how a LAMP server works, relational database design using MySQL, many to many tables, SQL inner and outer joins, practical PHP debugging, php documentation tools, basic PHP classes, css, interactive javascript &amp; DHTML with a <em>chooser</em> widget, php HEREDOC and php basics like how to process forms and utilize GET and POST methods.<br />
<br />
The series was fairly successful, (a 4.5 of 5 after hundreds of ratings), many pages of comments and questions, and page views to the 100k's+ although PHPFreaks auditing system was turned off at some point and stopped recording views.<br />
<br />
Unfortunately, some years ago PHPFreaks.com suffered some fairly catastrophic issues with its publishing system.  There were also some bugs, and the site was exploited with some XSS, and the admins simply decommissioned the majority of the site.  My series was part of what disappeared.  At that point, a couple of college Computer Science courses on web development had taken the series and integrated it into their curriculum, and the professor of one of these courses had converted it into a Word document, which I was able to download and convert to pdf.<br />
<br />
I plan to write a compatible publishing addon for gizmola.com so that I can take the original markup and republish it here, but in the meantime, here is the series in pdf format.  The conversion utility they used stripped out the original markup, and page breaks are gone, but the text, source code, and illustrations are all still there.  <br />
<br />
I also offer all the source code for parts 2 &amp; 3 of the series.  I'm not sure what happened to the source for part 1, however, it is all included inline in the tutorial.  <a href="http://www.gizmola.com/blog/exit.php?url_id=1036&amp;entry_id=82"  onmouseover="window.status='http://www.gizmola.com/blog/index.php?serendipity[subpage]=downloads&amp;level=1&amp;thiscat=6';return true;" onmouseout="window.status='';return true;"  title="LAMP Tutorial Series.">The <strong>LAMP, MySQL/PHP Database Driven Websites</strong> series is now available in pdf format.  Click here.</a><br />
<br />
<br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/81-Free-Apple-Mac-style-Dock-with-Windows-Vista-and-RocketDock.html" rel="alternate" title="Free Apple Mac style Dock with Windows Vista and RocketDock" />
        <author>
            <name>David Rolston</name>
            <email>nospam@example.com</email>
        </author>
    
        <published>2008-02-10T22:32:25Z</published>
        <updated>2009-06-26T04:34:06Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=81</wfw:comment>
    
        <slash:comments>17</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=81</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/1-Tech" label="Tech" term="Tech" />
    
        <id>http://www.gizmola.com/blog/archives/81-guid.html</id>
        <title type="html">Free Apple Mac style Dock with Windows Vista and RocketDock</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <!-- s9ymdb:146 --><img width='115' height='79' style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://www.gizmola.com/blog/uploads/images/rocketdocklogo.jpg" alt="" />One of the distinctive features of Apple computers is a piece of software called "<a href="http://www.gizmola.com/blog/exit.php?url_id=1030&amp;entry_id=81"  onmouseover="window.status='http://docs.info.apple.com/article.html?artnum=304728';return true;" onmouseout="window.status='';return true;"  title="Mac 101: The Dock">The Dock</a>".  The Dock is sort of an always there menu with big icons that spawn your most frequently used programs.  Docks also can run small programs or docklets that can do things like display a clock or show you the weather.  Docks also can be configured to display running programs that have been minimized in a mini window.  You bring a running program to the front, or launch a program by hovering over the dock with your mouse, and clicking on the icon.<br />
<br />
<!-- s9ymdb:149 --><img width='600' height='76' style="border: 0px; padding-left: 5px; padding-right: 5px;" src="http://www.gizmola.com/blog/uploads/images/rocketdockdock.jpg" alt="" />   <br />
<br />
I suppose that people who don't know any better might think that this is something you can only get from Apple, but as it turns out there are docks for Linux and Windows.  At home I have a Gateway computer running Windows Vista business, and I wanted to add a Dock.  After a bit of hunting, I found some recommendations and settled upon <a href="http://www.gizmola.com/blog/exit.php?url_id=1031&amp;entry_id=81"  onmouseover="window.status='http://rocketdock.com/';return true;" onmouseout="window.status='';return true;"  title="RocketDock">RocketDock</a> from <a href="http://www.gizmola.com/blog/exit.php?url_id=1032&amp;entry_id=81"  onmouseover="window.status='http://punklabs.com/';return true;" onmouseout="window.status='';return true;"  title="Punk Labs">Punk Labs</a>.  Punk Labs as it turns out is really a couple (he's a programmer, she's a designer) who go by the pseudonyms of PolyVector and Skunkie respectively.  The about screen describes RocketDock tongue in cheek as a "peace offering" from the pair of self admitted Apple fans to Windows users everywhere.  <br />
<br />
The RocketDock website provides links to the various versions and a <a href="http://www.gizmola.com/blog/exit.php?url_id=1033&amp;entry_id=81"  onmouseover="window.status='http://rocketdock.com/Help/English/';return true;" onmouseout="window.status='';return true;"  title="RocketDock online manual">straightforward online manual.</a>  You get most of the features of the Apple Dock program, and it's very easy to work with.  Once installed and running, the RocketDock appears at the top of the screen, with a set of default icons.  Right click on the RocketDock and you get a menu that lets you adjust Dock settings.  There are various themes that will style the look and feel of the RocketDock, and the RocketDock site offers an Extra's link with downloads to styles and docklet programs other people have contributed.  While it's just a quibble with this otherwise great program, there's not much in the way of Docklets available, but I found it hard to resist adding on the simple analog style clock. <br /><a href="http://www.gizmola.com/blog/archives/81-Free-Apple-Mac-style-Dock-with-Windows-Vista-and-RocketDock.html#extended">Continue reading "Free Apple Mac style Dock with Windows Vista and RocketDock"</a>
            </div>
        </content>
        
    </entry>

</feed>