<?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>isageo &#187; Technology</title>
	<atom:link href="http://www.isageo.com/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.isageo.com</link>
	<description>about all aspects of life</description>
	<lastBuildDate>Wed, 31 Mar 2010 20:19:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Data Versioning using Triggers in MySQL</title>
		<link>http://www.isageo.com/2010/02/data-versioning-using-triggers-in-mysql/</link>
		<comments>http://www.isageo.com/2010/02/data-versioning-using-triggers-in-mysql/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 16:01:48 +0000</pubDate>
		<dc:creator>geo</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[triggers]]></category>
		<category><![CDATA[versioning]]></category>

		<guid isPermaLink="false">http://www.isageo.com/?p=189</guid>
		<description><![CDATA[At any time during database driven development you ask yourself how to keep track of the changes made to your data in your database. I asked myself the same question. And I came up with a simple solution using triggers.
A trigger is a small function stored inside your database that gets triggered on a event [...]]]></description>
			<content:encoded><![CDATA[<p>At any time during database driven development you ask yourself how to keep track of the changes made to your data in your database. I asked myself the same question. And I came up with a simple solution using triggers.</p>
<p>A trigger is a small function stored inside your database that gets triggered on a event in your database. Like, the moment you add or update a row in your table.</p>
<p>For versioning we need 2 things:</p>
<p>- a few extra fields in your table<br />
- a copy of the table structure of the table you want versioning turned on</p>
<p>First, let&#8217;s define 2 extra fields:</p>
<p>- <strong>enuVersionStatus</strong> (ENUM) = &#8216;INSERT&#8217;, &#8216;UPDATE&#8217;, &#8216;DELETE&#8217;<br />
- <strong>tsVersionStatus</strong> (timestamp) = current_timestamp &amp; on update current_timestamp</p>
<p><strong>enuVersionStatus</strong> is defined as a enumerable field that holds the state of the data<br />
<strong>tsVersionStatus</strong> is defined as a timestamp and holds the timestamp when the data has been edited</p>
<p>Now we copy the entire structure of our table to a log, or history table. Let&#8217;s just append a &#8220;_log&#8221; to this table and remove any indexes or auto_increment statements. And lastly we create a new trigger:</p>
<blockquote><p>DELIMITER $$<br />
CREATE TRIGGER myTable_Trigger<br />
BEFORE UPDATE ON myTable<br />
FOR EACH ROW<br />
BEGIN<br />
INSERT INTO myTable_log (SELECT * FROM myTable WHERE id = OLD.id);<br />
END$$</p></blockquote>
<p>What the trigger does is very simple. Just before doing any update on the table, the &#8220;old&#8221; entry is being written into the log table. The data in myTable holds the live data and the myTable_log holds all the old entries.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.isageo.com/2010/02/data-versioning-using-triggers-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Flex Builder 3 on Eclipse 3.5 (Gallileo) on OS X</title>
		<link>http://www.isageo.com/2009/12/install-flex-builder-3-n-eclipse-3-5-gallileo-on-os-x/</link>
		<comments>http://www.isageo.com/2009/12/install-flex-builder-3-n-eclipse-3-5-gallileo-on-os-x/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 12:33:02 +0000</pubDate>
		<dc:creator>geo</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.isageo.com/?p=131</guid>
		<description><![CDATA[Today I tried to finish setting up my flex development setup. I had issues setting up a decent php environment inside of the stand alone Flex Builder 3 (based on Eclipse 3.3). So I decided to get myself a good Eclipse PDT from www.eclipse.org/pdt/. Then I tried installing the Flex Builder 3 plug-in for Eclipse. [...]]]></description>
			<content:encoded><![CDATA[<p>Today I tried to finish setting up my flex development setup. I had issues setting up a decent php environment inside of the stand alone Flex Builder 3 (based on Eclipse 3.3). So I decided to get myself a good Eclipse PDT from <a href="http://www.eclipse.org/pdt/">www.eclipse.org/pdt/</a>. Then I tried installing the Flex Builder 3 plug-in for Eclipse. There I ran into serious problems:</p>
<p>It seems that Eclipse made some big changes in Eclipse 3.5 (Gallileo). So the Flex Builder 3 plug-in would not install correctly. After surfing the internet for answers I found a post about the link-file inside the links folder. It seemed that I had to edit this file in order to get it going.</p>
<p>Almost!</p>
<p>Not only do you have to edit the file <strong>links/com.adobe.flexbuilder.feature.core.osx.link</strong> from <code>/Applications/Adobe Flex Builder 3 Plug-in</code> to <code>path=/Applications/Adobe Flex Builder 3 Plug-in</code><br />
But this only works with the Cocoa version of Eclipse!</p>
<p>Finally, the working setup:</p>
<ul>
<li>Eclipse PDT Cocoa version</li>
<li>Flex Builder 3 plug-in</li>
<li>Changes to the links/com.adobe.flexbuilder.feature.core.osx.link file as described above</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.isageo.com/2009/12/install-flex-builder-3-n-eclipse-3-5-gallileo-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup VMWare virtual machines using Powershell</title>
		<link>http://www.isageo.com/2009/11/backup-vmware-virtual-machines-using-powershell/</link>
		<comments>http://www.isageo.com/2009/11/backup-vmware-virtual-machines-using-powershell/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 22:52:31 +0000</pubDate>
		<dc:creator>geo</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[vcb]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.isageo.com/?p=55</guid>
		<description><![CDATA[Finally I got some time to update my VMWare Backup Script!
I had to change some of the features I had in mind. But it is still enough to get a backup done. So first, let’s see what we have to do on our VMWare Infrastructure Server. The custom fields we defined earlier have to be [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px;">Finally I got some time to update my VMWare Backup Script!</p>
<p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px;">I had to change some of the features I had in mind. But it is still enough to get a backup done. So first, let’s see what we have to do on our VMWare Infrastructure Server. The custom fields we defined earlier have to be changed as follows:</p>
<blockquote>
<p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px;">0_BackupEnabled (”Yes” to enable)<br />
1_BackupAccess (nbd, san, …)<br />
2_BackupRotation (days to store the backup)<br />
3_BackupCurrentStatus<br />
4_BackupLastStatus<br />
5_BackupSize (in kb)<br />
6_BackupTime</p></blockquote>
<p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px;">So after updating the custom fields as described we can use the finished script to enable the backups by editing the custom fields for every virtual machine you want to backup. It’s quite easy and you can enable the backup of a virtual machine after creating a new one. No need to edit configuration files on the backup server, or to add new backup schedules.</p>
<p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px;">The finished script can be downloaded here: <a style="color: #3d7283; text-decoration: none;" href="http://idisk.mac.com/polysign-Public?view=web">http://idisk.mac.com/polysign-Public?view=web<br />
</a>(Folder “code”, Filename: vcbackup.txt)</p>
<p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px;">Just edit the configuration in the script file and you are good to go. Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.isageo.com/2009/11/backup-vmware-virtual-machines-using-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
