<?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>Codebreaker &#187; mac</title>
	<atom:link href="http://blog.sumin.us/archives/tag/mac/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.sumin.us</link>
	<description>2bc08752a0894eb2c7afb345286e391d</description>
	<lastBuildDate>Wed, 08 Sep 2010 02:15:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Future Project: OpenOffice for Mac</title>
		<link>http://blog.sumin.us/archives/1153</link>
		<comments>http://blog.sumin.us/archives/1153#comments</comments>
		<pubDate>Sat, 12 Sep 2009 09:34:16 +0000</pubDate>
		<dc:creator>Sumin</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[openoffice]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://blog.sumin.us/?p=1153</guid>
		<description><![CDATA[Thoughts Mac applications in general have been maintaining a pretty good consistency in terms of user interface/experience. In case of Windows or Linux applications, it is not a big of deal to be inconsistent because either there is no concrete guideline that states how applications should look and how they behave, or no one really [...]]]></description>
			<content:encoded><![CDATA[<h3>Thoughts</h3>

<p>Mac applications in general have been maintaining a pretty good consistency in terms of user interface/experience. In case of Windows or Linux applications, it is not a big of deal to be inconsistent because either there is no concrete guideline that states how applications should look and how they behave, or no one really cares what the guideline suggests. However, in case of Mac applications, it really makes your application distinguishable, usually in a bad way, if you don't follow the guide line. Our popular example would be the <a href="http://www.openoffice.org">OpenOffice</a> application suite.</p>

<h3>OpenOffice Writer</h3>

<p><a href="/wp-content/uploads/2009/10/Screen-shot-2009-10-12-at-2.14.04-AM.png"><img src="/wp-content/uploads/2009/10/Screen-shot-2009-10-12-at-2.14.04-AM-400x276.png" alt="Screen shot 2009-10-12 at 2.14.04 AM" title="Screen shot 2009-10-12 at 2.14.04 AM" width="400" height="276" class="aligncenter size-medium wp-image-1155" /></a></p>

<p>I have no doubt that OpenOffice is a great application and I use it on my Linux workstation, but let's face it. It's ugly.</p>

<h3>Apple iWork Pages</h3>

<p><a href="/wp-content/uploads/2009/10/Screen-shot-2009-10-12-at-2.09.49-AM.png"><img src="/wp-content/uploads/2009/10/Screen-shot-2009-10-12-at-2.09.49-AM-382x400.png" alt="Screen shot 2009-10-12 at 2.09.49 AM" title="Screen shot 2009-10-12 at 2.09.49 AM" width="382" height="400" class="aligncenter size-medium wp-image-1154" /></a></p>

<p>Yup. I actually paid for this ;-)</p>

<h3>What I Want To Do</h3>

<p>So, what I want to do is to make a decent user interface for OpenOffice, using the Cocoa framework, to give it a consistent look and feel and common behaviors provided by the Cocoa framework so that it looks like a typical Mac application.</p>

<p>It's going to be a lot of work even though significant amount of code base of the OpenOffice remains unchanged. If you have skills and time, please jump in to this. I won't mind for you to <em>steal</em> my idea. I would love to see what comes out.</p>
<!-- AdSense Now! V1.83 -->
<!-- Post[count: 2] -->
<div class="adsense adsense-leadout" style="text-align:center;margin: 12px;"><script type="text/javascript"><!--
google_ad_client = "pub-2353453386862167";
/* 468x60, created 10/26/09 */
google_ad_slot = "1252542387";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sumin.us/archives/1153/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>My Workstation</title>
		<link>http://blog.sumin.us/archives/1103</link>
		<comments>http://blog.sumin.us/archives/1103#comments</comments>
		<pubDate>Wed, 15 Jul 2009 12:40:18 +0000</pubDate>
		<dc:creator>Sumin</dc:creator>
				<category><![CDATA[photographs]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://blog.sumin.us/?p=1103</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="/wp-content/uploads/2009/07/dsc_7170.jpg"><img src="http://blog.sumin.us/wp-content/uploads/2009/07/dsc_7170.jpg" alt="dsc_7170" title="dsc_7170" width="480" height="320" class="aligncenter size-full wp-image-1104" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sumin.us/archives/1103/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Mac OS X Snow Leopard Developer Preview</title>
		<link>http://blog.sumin.us/archives/1086</link>
		<comments>http://blog.sumin.us/archives/1086#comments</comments>
		<pubDate>Thu, 18 Jun 2009 01:01:57 +0000</pubDate>
		<dc:creator>Sumin</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://blog.sumin.us/?p=1086</guid>
		<description><![CDATA[I can't wait until I see the new expose!]]></description>
			<content:encoded><![CDATA[<p><img src="/wp-content/uploads/2009/06/screenshot-on-2009-06-11-at-104745-am.png" alt="screenshot-on-2009-06-11-at-104745-am" title="screenshot-on-2009-06-11-at-104745-am" width="321" height="393" class="aligncenter size-full wp-image-1087" /></p>

<p>I can't wait until I see the new expose!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sumin.us/archives/1086/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Command Line Based ogg to mp3 Converter on Mac OS X</title>
		<link>http://blog.sumin.us/archives/693</link>
		<comments>http://blog.sumin.us/archives/693#comments</comments>
		<pubDate>Fri, 14 Dec 2007 09:56:26 +0000</pubDate>
		<dc:creator>Sumin</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[MP3]]></category>
		<category><![CDATA[OGG]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://blog.sumin.us/archives/693</guid>
		<description><![CDATA[First of all, you need to install vorbis-tools and lame, assuming you have MacPorts installed. If you're using some other package management system, that's fine. Go ahead and install these two packages. If you don't have any, you can always manually install it. sudo port install vorbis-tools lame I'm going to decode an ogg file [...]]]></description>
			<content:encoded><![CDATA[<p>First of all, you need to install <code>vorbis-tools</code> and <code>lame</code>, assuming you have <a href="http://www.macports.org/">MacPorts</a> installed. If you're using some other package management system, that's fine. Go ahead and install these two packages. If you don't have any, you can always manually install it.</p>

<pre><code>sudo port install vorbis-tools lame
</code></pre>

<p>I'm going to decode an ogg file into a wav file and then convert the wav file to an mp3 file. For example,</p>

<pre><code>oggdec test.ogg
lame -h --vbr-new test.ogg
</code></pre>

<p>If you want to make an mp3 file with a constant bit rate, use <code>-b</code> option. Refer <code>lame --help</code> for details. However, it is not a good idea to manually invoke this command for every single file you want to convert. So, I'm gonna make a very simple shell script to do all the works.</p>

<pre><code>#/bin/bash

for file in *.ogg; do
    oggdec $file
    file=$(basename $file .ogg)
    lame -h --vbr-new -V 2 "${file}.wav" "${file}.mp3"
    rm "${file}.wav"
done
</code></pre>

<p>I'm giving an option <code>-V 2</code> to specify VBR quality of the result. 0 for highest and 9 for lowest quality.</p>

<p>Here's a screenshot:</p>

<p><a href="http://gallery.sumin.us/v/screenshots/general/ogg_to_mp3.png.html"><img src="http://gallery.sumin.us/d/463-1/ogg_to_mp3.png" alt="" class="aligncenter" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sumin.us/archives/693/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using Time Machine with Network Drive</title>
		<link>http://blog.sumin.us/archives/690</link>
		<comments>http://blog.sumin.us/archives/690#comments</comments>
		<pubDate>Sun, 18 Nov 2007 06:04:13 +0000</pubDate>
		<dc:creator>Sumin</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[time machine]]></category>

		<guid isPermaLink="false">http://blog.sumin.us/archives/690</guid>
		<description><![CDATA[Preparing a Backup Volume First thing you need to is to make a backup volume. You can use hdiutil on the command line if you want, but I'm gonna go with OSX's Disk Utility in this article. It's located under /Applications/Utilities. You can also find it on Spotlight. I always do that. What you are [...]]]></description>
			<content:encoded><![CDATA[<h3>Preparing a Backup Volume</h3>

<p>First thing you need to is to make a backup volume. You can use <code>hdiutil</code> on the command line if you want, but I'm gonna go with OSX's Disk Utility in this article. It's located under <code>/Applications/Utilities</code>. You can also find it on Spotlight. I always do that.</p>

<p>What you are going to create is a disk image. This disk image will act like a physical disk volume so that Time Machine can backup your data on this disk image.</p>

<p>Once you launch Disk Utility, click <em>New Image</em> to make a new disk volume.
<a href="http://gallery.sumin.us/v/screenshots/timemachine/5a766b45bca17f80.png.html"><img class="aligncenter" src="http://gallery.sumin.us/d/1407-1/5a766b45bca17f80.png" alt="" /></a></p>

<p>Then the something like this pops up.
<a href="http://gallery.sumin.us/v/screenshots/timemachine/8ef179a604a07f51.png.html"><img class="aligncenter" src="http://gallery.sumin.us/d/1405-3/8ef179a604a07f51.png" alt="" /></a></p>

<p>You need to set a few things here.</p>

<h5>Save As</h5>

<p>The important thing here is that your disk image name must include your Mac's <a href="http://en.wikipedia.org/wiki/MAC_address">MAC address</a>.</p>

<p>For example, if your MAC address is 00:11:22:33:44:55 then your disk image name is going to be:</p>

<pre><code>TimeMachine_001122334455.sparsebundle
</code></pre>

<p>And then you need to locate your disk image directly under the network drive that you're gonna use for backup. For example, if your network drive is mounted at <code>/Volumes/backup</code> then your disk image is going to be at <code>/Volumes/backup/TimeMachine_001122334455.sparsebundle</code>.</p>

<p>Don't know what your MAC address is? Go to Network Preferences. Select whatever network interface you're using. Usually Ethernet or AirPort. Click <em>Advanced...</em> button. And then go to <em>Ethernet</em> tab.</p>

<p><a href="http://gallery.sumin.us/v/screenshots/timemachine/86fbb34071953f78.png.html"><img alt="" src="http://gallery.sumin.us/d/1411-1/86fbb34071953f78.png" class="aligncenter" width="665" height="478" /></a></p>

<p>Yeah. That's your MAC address.</p>

<p>Or you could use <code>ifconfig</code> command. It's a lot easier for me.</p>

<pre><code>ifconfig en0
</code></pre>

<h5>Volume Name</h5>

<p>It can be whatever you want. Doesn't really matter.</p>

<h5>Volume Size</h5>

<p>Must be larger than the hard drive on your Mac. You can exclude directories that you don't want to backup from Time Machine. Then the volume size must be larger than the size of the rest of files and directories. Disk Utility will make a disk image regardless of available space on the volume. When Time Machine attempts to backup your data, it will fail if there is not enough space on the disk image.</p>

<h5>Encryption</h5>

<p>(Haven't tested yet)</p>

<h5>Image Format</h5>

<p>Set it to be <em>sparse bundle disk image</em></p>

<h3>Changing Settings</h3>

<p>Run the following command in Terminal:</p>

<pre><code>defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
</code></pre>

<p>I've been using a shared directory on a personal server through smb protocol, and that's where I'm going to locate the backup volume that I created previously. I'm pretty sure it would work with shared directories on Windows machines as well. I didn't test it though.</p>

<p>Click <em>Change Disk...</em> on Time Machine Preferences.
<a href="http://gallery.sumin.us/v/screenshots/timemachine/512f4700f8c0a8b631c7c204fdd3e41f.png.html"><img class="aligncenter" src="http://gallery.sumin.us/d/711-1/512f4700f8c0a8b631c7c204fdd3e41f.png" alt="" /></a></p>

<p>Then you will be able to see something like this:
<a href="http://gallery.sumin.us/v/screenshots/timemachine/4d07545f1a35436d9fd041a2754ebf53.png.html"><img class="aligncenter" src="http://gallery.sumin.us/d/714-1/4d07545f1a35436d9fd041a2754ebf53.png" alt="" /></a></p>

<p>Select your network drive and start backing up!</p>

<!--http://omarqazi.com/post/18214016-->
]]></content:encoded>
			<wfw:commentRss>http://blog.sumin.us/archives/690/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
