<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>phpslacker &#187; mac</title>
	<atom:link href="http://phpslacker.com/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://phpslacker.com</link>
	<description>yet another g33k blog *sigh*</description>
	<lastBuildDate>Sat, 12 Jun 2010 21:18:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='phpslacker.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/704ee04d116ebf72af131a280f4fcac1?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>phpslacker &#187; mac</title>
		<link>http://phpslacker.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://phpslacker.com/osd.xml" title="phpslacker" />
	<atom:link rel='hub' href='http://phpslacker.com/?pushpress=hub'/>
		<item>
		<title>Test-drive: MySQL Workbench</title>
		<link>http://phpslacker.com/2009/02/21/test-drive-mysql-workbench/</link>
		<comments>http://phpslacker.com/2009/02/21/test-drive-mysql-workbench/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 16:52:50 +0000</pubDate>
		<dc:creator>phpslacker</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[test-drives]]></category>
		<category><![CDATA[dbdesigner]]></category>
		<category><![CDATA[erd]]></category>
		<category><![CDATA[workbench]]></category>

		<guid isPermaLink="false">http://phpslacker.com/?p=186</guid>
		<description><![CDATA[Workbench? MySQL Workbench is a cross-platform, visual database design tool developed by MySQL. It is the highly anticipated successor application of the DBDesigner4 project. MySQL Workbench will be available as a native GUI tool on Window, Linux and OS X. Some history MySQL Workbench has been in the making for a while. Building on from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpslacker.com&amp;blog=4392513&amp;post=186&amp;subd=stickytape&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Workbench?</h2>
<p>
<q cite="http://dev.mysql.com/workbench/?page_id=6"><br />
MySQL Workbench is a cross-platform, visual database design tool developed by MySQL. It is the highly anticipated successor application of the DBDesigner4 project. MySQL Workbench will be available as a native GUI tool on Window, Linux and OS X.<br />
</q>
</p>
<h2>Some history</h2>
<p>
<a href="http://dev.mysql.com/workbench/" rel="nofollow">MySQL Workbench</a> has been in the making for a while. Building on from <a href="http://www.fabforce.net/dbdesigner4/" rel="nofollow">DBDesigner 4</a> I&#8217;m sure there&#8217;s a community of anxious MySQL developers who can&#8217;t wait for a free and quality ERD-modelling (and more) tool for MySQL. The mysql command-line client is brilliant. I love it and will always use it BUT there&#8217;s no substitute for managing entity relationships visually.
</p>
<p>
I&#8217;ve been waiting on <a href="http://dev.mysql.com/workbench/" rel="nofollow">MySQL Workbench</a> for ages (more specifically a <a href="http://dev.mysql.com/workbench/?p=192" rel="nofollow">Mac OS X release</a>). On the day the windows version was released I soon installed it in my Windows XP virtual machine. It works really well but realistically its too painful to use via VirtualBox. Could be a breeze with VMWare Fusion. Anyone tried this?
</p>
<h2>It really is Alpha</h2>
<p>
MySQL Workbench 5.1.7 is an alpha release for Mac OS X and Linux which prolly explains why the dmg is only 7 megabytes. Features are missing!
</p>
<h2>And lift-off</h2>
<p>
Installation was easy. Typical drag-and-drop to Applications folder installation. First launch was all over in about 10 seconds. Workbench crashed when I tried File -&gt; Open Recent menu item. Strange. Evidence follows:
</p>
<div id="attachment_191" class="wp-caption alignnone" style="width: 310px"><a href="http://stickytape.files.wordpress.com/2009/02/picture-4.png"><img src="http://stickytape.files.wordpress.com/2009/02/picture-4.png?w=300&#038;h=187" alt="Workbench Crash" title="Workbench Crash" width="300" height="187" class="size-medium wp-image-191" /></a><p class="wp-caption-text">Workbench Crash</p></div>
<h2>And lift-off</h2>
<p>
On second launch I avoided &#8220;Open Recent&#8221; menu item. I tried the reverse engineer from .SQL script feature. Workbench smartly recreated a schema from an old project schema.sql I had lying around. I couldn&#8217;t edit any of the tables. Workbench complained about a &#8220;missing editor&#8221;. Maybe it wants to integrate with MySQL Query Browser or something?
</p>
<div id="attachment_189" class="wp-caption alignnone" style="width: 310px"><a href="http://stickytape.files.wordpress.com/2009/02/picture-2.png"><img src="http://stickytape.files.wordpress.com/2009/02/picture-2.png?w=300&#038;h=187" alt="Workbench reverse engineer script example" title="Workbench reverse engineer script example" width="300" height="187" class="size-medium wp-image-189" /></a><p class="wp-caption-text">Workbench reverse engineer script example</p></div>
<h2>ERD&#8217;ing</h2>
<p>
Getting around an apparently buggy UI I did get to link some tables with many-to-one relationships. The experience was positively engaging. Workbench is already a vast improvement on the kludgy and  buggy DBDesigner. Some screenshots to follow:
</p>
<div id="attachment_190" class="wp-caption alignnone" style="width: 310px"><a href="http://stickytape.files.wordpress.com/2009/02/picture-3.png"><img src="http://stickytape.files.wordpress.com/2009/02/picture-3.png?w=300&#038;h=187" alt="Workbench many-to-one example" title="Workbench many-to-one example" width="300" height="187" class="size-medium wp-image-190" /></a><p class="wp-caption-text">Workbench many-to-one example</p></div>
<p>
And just to verify that the &#8220;Open Recent&#8221; crash wasn&#8217;t an anomaly I tried it again. Kaboom. A rather strange bug indeed.
</p>
<h2>Conclusion</h2>
<p>
If you&#8217;re going to use Workbench on real projects I advise practicing the &#8220;save every 5 seconds&#8221; rule. It is but only an Alpha but a very promising one at that. Regardless. I&#8217;m excited. I can&#8217;t wait for the first stable release. To the MySQL Workbench (and entire team at Sun MySQL) thanks for great tools and a great database. Love it. Bugs and all.</p>
<br /> Tagged: dbdesigner, erd, mac, mysql, workbench <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stickytape.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stickytape.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stickytape.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stickytape.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stickytape.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stickytape.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stickytape.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stickytape.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stickytape.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stickytape.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stickytape.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stickytape.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stickytape.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stickytape.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpslacker.com&amp;blog=4392513&amp;post=186&amp;subd=stickytape&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpslacker.com/2009/02/21/test-drive-mysql-workbench/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3192d5f19ae8e0c31333c056f613de6b?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">phpslacker</media:title>
		</media:content>

		<media:content url="http://stickytape.files.wordpress.com/2009/02/picture-4.png?w=300" medium="image">
			<media:title type="html">Workbench Crash</media:title>
		</media:content>

		<media:content url="http://stickytape.files.wordpress.com/2009/02/picture-2.png?w=300" medium="image">
			<media:title type="html">Workbench reverse engineer script example</media:title>
		</media:content>

		<media:content url="http://stickytape.files.wordpress.com/2009/02/picture-3.png?w=300" medium="image">
			<media:title type="html">Workbench many-to-one example</media:title>
		</media:content>
	</item>
		<item>
		<title>Making an iso in mac os x leopard</title>
		<link>http://phpslacker.com/2009/02/15/making-an-iso-in-mac-os-x-leopard/</link>
		<comments>http://phpslacker.com/2009/02/15/making-an-iso-in-mac-os-x-leopard/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 14:09:40 +0000</pubDate>
		<dc:creator>phpslacker</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[iso]]></category>

		<guid isPermaLink="false">http://phpslacker.com/?p=145</guid>
		<description><![CDATA[The other day I desperately wanted/needed to install Ubuntu 8.04 Server as a virtual machine using VirtualBox. I could either install Ubuntu directly from the installation disc or install from a mounted ISO. I figured an ISO would be faster and more reliable. I looked all over Mac&#8217;s applications folder for a GUI utility but [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpslacker.com&amp;blog=4392513&amp;post=145&amp;subd=stickytape&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>
The other day I desperately wanted/needed to install Ubuntu 8.04 Server as a virtual machine using <a href="http://virtualbox.org" rel="nofollow">VirtualBox</a>. I could either install Ubuntu directly from the installation disc or install from a mounted ISO. I figured an ISO would be faster and more reliable. I looked all over Mac&#8217;s applications folder for a GUI utility but the for the life of me couldn&#8217;t find one to create an iso. I really thought Disk Utility would have that feature, it doesn&#8217;t right?
</p>
<p>In *nix when the GUI fails you can always go old skool.</p>
<h2>Open Terminal</h2>
<p><code><br />
qbook:~ quinton$ drutil status<br />
 Vendor   Product           Rev<br />
 MATSHITA CD-RW  CW-8221    GA0K</p>
<p>           Type: CD-ROM               Name: /dev/disk3<br />
       Sessions: 1                  Tracks: 1<br />
   Overwritable:   00:00:00         blocks:        0 /   0.00MB /   0.00MiB<br />
     Space Free:   00:00:00         blocks:        0 /   0.00MB /   0.00MiB<br />
     Space Used:   59:42:17         blocks:   268667 / 550.23MB / 524.74MiB<br />
    Writability:<br />
</code></p>
<p>Assuming you&#8217;ve already inserted the disc for copying. This command tells you where its been mounted.</p>
<h2>Unmount the disk to be iso&#8217;d</h2>
<p><code></p>
<p>qbook:~ quinton$ diskutil unmountDisk /dev/disk3<br />
Unmount of all volumes on disk3 was successful<br />
</code></p>
<p>Using the location derived from the previous command. In my case the CD-ROM is /dev/disk3. Yours may differ</p>
<h2>Make the iso</h2>
<p><code><br />
qbook:~ quinton$ dd if=/dev/disk3s0 of=ubuntu_8.04_lts_server.iso bs=2048<br />
268667+0 records in<br />
268667+0 records out<br />
550230016 bytes transferred in 308.685634 secs (1782493 bytes/sec)<br />
</code></p>
<p>The real magic happens here. If you&#8217;re curious about progress you can watch the size of the newly created iso file &#8220;grow&#8221; in size using Finder or another terminal tab/window. Shouldn&#8217;t take longer than 10mins or so (for a 700mb cd)</p>
<h2>Mount the ISO</h2>
<p><code><br />
qbook:~ quinton$ hdid ubuntu_8.04_lts_server.iso<br />
/dev/disk1          	                               	/Volumes/Ubuntu-Server 8.<br />
</code></p>
<p>
And to confirm the ISO is working. This command will mount the ISO as a readable volume. Should be viewable in Finder alongside all your other mounted devices.</p>
<br /> Tagged: iso, mac <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stickytape.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stickytape.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stickytape.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stickytape.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stickytape.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stickytape.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stickytape.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stickytape.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stickytape.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stickytape.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stickytape.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stickytape.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stickytape.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stickytape.wordpress.com/145/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpslacker.com&amp;blog=4392513&amp;post=145&amp;subd=stickytape&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpslacker.com/2009/02/15/making-an-iso-in-mac-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3192d5f19ae8e0c31333c056f613de6b?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">phpslacker</media:title>
		</media:content>
	</item>
	</channel>
</rss>