<?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/"
	>

<channel>
	<title>Geek Style</title>
	<atom:link href="http://farrokhi.net/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://farrokhi.net/blog</link>
	<description>Babak Farrokhi's e-presence</description>
	<pubDate>Sun, 28 Sep 2008 10:05:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mac Experience (updated for 2008)</title>
		<link>http://farrokhi.net/blog/archives/519</link>
		<comments>http://farrokhi.net/blog/archives/519#comments</comments>
		<pubDate>Sun, 28 Sep 2008 09:58:36 +0000</pubDate>
		<dc:creator>Babak Farrokhi</dc:creator>
		
		<category><![CDATA[OS]]></category>

		<category><![CDATA[Opinion]]></category>

		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://farrokhi.net/blog/?p=519</guid>
		<description><![CDATA[I suddenly came across this old post from 2004 in which I explained my early experiments in OS X. Now after being a hardcore OS X user for more than a year, I found how much the world has changed since. The Firefox is a really usable browser now and IM clients are up to [...]]]></description>
			<content:encoded><![CDATA[<p>I suddenly came across <a href="http://farrokhi.net/blog/archives/295">this old post</a> from 2004 in which I explained my early experiments in OS X. Now after being a hardcore OS X user for more than a year, I found how much the world has changed since. The Firefox is a really usable browser now and IM clients are up to date. I still hate iChat for no good reason. Maybe because I hate IM on the whole.<br />
And guess what. My favorite OS X app is Terminal.<br />
In fact OS X offers an intuitive interface that is very usable and hassle-free. I would call it a real productivity booster. Beside the interface, the OS itself is based on a <a href="http://www.apple.com/macosx/technology/unix.html">mature BSD skeleton</a>, and as a Unix fanatic and really enjoy poking around OS X.</p>
<p>I seriously urge you to switch to Mac if you care about your productivity and performance.</p>
]]></content:encoded>
			<wfw:commentRss>http://farrokhi.net/blog/archives/519/feed</wfw:commentRss>
		</item>
		<item>
		<title>Syncing clock in FreeBSD</title>
		<link>http://farrokhi.net/blog/archives/506</link>
		<comments>http://farrokhi.net/blog/archives/506#comments</comments>
		<pubDate>Sat, 27 Sep 2008 19:51:27 +0000</pubDate>
		<dc:creator>Babak Farrokhi</dc:creator>
		
		<category><![CDATA[OS]]></category>

		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://farrokhi.net/blog/?p=506</guid>
		<description><![CDATA[Keeping accurate time on a host (either a server or a workstation) is important because:
1- You need to know accurately when you should go for lunch or back home
2- You need accurate time in your event log files for further analysis
3- Many programs need to have the correct date and time to function (e.g. MTA)
4- [...]]]></description>
			<content:encoded><![CDATA[<p>Keeping accurate time on a host (either a server or a workstation) is important because:</p>
<p>1- You need to know accurately when you should go for lunch or back home<br />
2- You need accurate time in your event log files for further analysis<br />
3- Many programs need to have the correct date and time to function (e.g. MTA)<br />
4- You need correct timestamps on your files</p>
<p>Given above facts, you will need to enable <a href="http://en.wikipedia.org/wiki/Network_Time_Protocol">NTP</a> on your hosts and keep your system clock in sync with public time servers.</p>
<p>First you should make sure that your timezone setting is correct. The latest timezone information can be updated by installing &#8220;<code>zoneinfo</code>&#8221; port from <code>/usr/ports/misc/zoneinfo</code>:</p>
<p><code><br />
# cd /usr/ports/misc/zoneinfo/<br />
# make install clean<br />
</code></p>
<p>and run <code>tzsetup(8)</code> to make sure you have selected the correct timezone.</p>
<p>Now, to enable automatic time sync during system startup, you need to add a few lines to your <code>/etc/rc.conf</code> file:<br />
<code><br />
ntpdate_enable="YES"<br />
ntpdate_flags="-b pool.ntp.org"<br />
</code></p>
<p>This will make your system to sync the clock upon startup. I use NTP pool at &#8220;<code>pool.ntp.org</code>&#8221; that suggests a NTP server from a large pool of available time servers. However you may use your favorite/local NTP server.</p>
<p>You can also synchronize your time manually by invoking <code>ntpdate(8)</code> from command line, passing an NTP server address to it:<br />
<code><br />
# ntpdate time.nist.gov<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://farrokhi.net/blog/archives/506/feed</wfw:commentRss>
		</item>
		<item>
		<title>Weblog changes</title>
		<link>http://farrokhi.net/blog/archives/501</link>
		<comments>http://farrokhi.net/blog/archives/501#comments</comments>
		<pubDate>Tue, 23 Sep 2008 08:51:49 +0000</pubDate>
		<dc:creator>Babak Farrokhi</dc:creator>
		
		<category><![CDATA[Just Blogging]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://farrokhi.net/blog/?p=501</guid>
		<description><![CDATA[I managed to migrate my blog to WordPress after more than 5 years. I had a bad feeling about the old MT and perhaps that was the reason I was not posting too often.
I redirected the old feed URLs to the new one, but I suggest you update your links and let me know if [...]]]></description>
			<content:encoded><![CDATA[<p>I managed to migrate my blog to WordPress after more than 5 years. I had a bad feeling about the old MT and perhaps that was the reason I was not posting too often.</p>
<p>I redirected the old feed URLs to the new one, but I suggest you update your links and let me know if you are having difficulties accessing content on this website.</p>
]]></content:encoded>
			<wfw:commentRss>http://farrokhi.net/blog/archives/501/feed</wfw:commentRss>
		</item>
		<item>
		<title>New website for my book</title>
		<link>http://farrokhi.net/blog/archives/366</link>
		<comments>http://farrokhi.net/blog/archives/366#comments</comments>
		<pubDate>Sat, 20 Sep 2008 13:10:46 +0000</pubDate>
		<dc:creator>Babak Farrokhi</dc:creator>
		
		<category><![CDATA[OS]]></category>

		<category><![CDATA[Personal]]></category>

		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://farrokhi.net/wordpress/?p=366</guid>
		<description><![CDATA[So after a while, I finally managed to launch a website for my book, &#8220;Network Administration with FreeBSD 7&#8220;. The new website is actually a blog and I would cross-post the topics related to the book on both websites.
I would really appreciate your feedbacks on the current book and suggestions for future editions.
]]></description>
			<content:encoded><![CDATA[<p>So after a while, I finally managed to <a href="http://freebsdbook.com/">launch a website</a> for my book, &#8220;<a href="http://freebsdbook.com/">Network Administration with FreeBSD 7</a>&#8220;. The new website is actually a blog and I would cross-post the topics related to the book on both websites.</p>
<p>I would really appreciate your feedbacks on the current book and suggestions for future editions.</p>
]]></content:encoded>
			<wfw:commentRss>http://farrokhi.net/blog/archives/366/feed</wfw:commentRss>
		</item>
		<item>
		<title>Network Administration with FreeBSD 7</title>
		<link>http://farrokhi.net/blog/archives/365</link>
		<comments>http://farrokhi.net/blog/archives/365#comments</comments>
		<pubDate>Thu, 17 Apr 2008 09:41:48 +0000</pubDate>
		<dc:creator>Babak Farrokhi</dc:creator>
		
		<category><![CDATA[OS]]></category>

		<category><![CDATA[Personal]]></category>

		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://farrokhi.net/wordpress/?p=365</guid>
		<description><![CDATA[
Network Administration with FreeBSD 7 is the book that I have been working on for past year. And now it is published by Packt and is available for purchase from various bookstores.
This book is something that I have been looking for since I started with FreeBSD back in 1997. I needed a practical book with [...]]]></description>
			<content:encoded><![CDATA[<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.packtpub.com/network-administration-with-freebsd/book"><img class="mt-image-right" style="float: right; margin: 0 0 20px 20px;" src="http://www.farrokhi.net/blog/book-cover.jpg" alt="book-cover.jpg" width="270" height="333" /></a></span><br />
<a href="http://www.packtpub.com/network-administration-with-freebsd/book">Network Administration with FreeBSD 7</a> is the book that I have been working on for past year. And now it is published by Packt and is available for purchase from various bookstores.</p>
<p>This book is something that I have been looking for since I started with <a href="http://www.FreeBSD.org/">FreeBSD</a> back in 1997. I needed a practical book with working examples of how to optimize my FreeBSD installations for various types of applications. And I never found that book, until I recently decided to write one.</p>
<p>&#8220;<a href="http://www.packtpub.com/network-administration-with-freebsd/book">Network Administration with FreeBSD 7</a>&#8221; is unique in several ways:</p>
<ul>
<li>I tried to cover the exciting new features and improvements introduced in FreeBSD 7</li>
<li>It is full of tips and tricks on how to optimize your installation from optimizing disk I/O, network, virtual memory, etc.</li>
<li>It covers IPv4 and IPv6 configuration as well and bridging and routing in FreeBSD</li>
<li>It has working examples of different IPSec, GRE, PPP and GIF scenarios</li>
<li>I tried to cover Jail virtualization in working real world examples</li>
<li>Keeping your system up to date and customizing system for specific applications is thoroughly covered</li>
</ul>
<p>I tried to stop telling stories in the book and give more real world examples instead, so reading this book would not make you smile <img src='http://farrokhi.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>An article named <a href="http://www.packtpub.com/article/network-configuration-tunneling-with-free-bsd">Tunneling with FreeBSD</a> (taken from book) is also available on PACKT website.</p>
<p>Update: The book has its own <a href="http://freebsdbook.com/">website</a> at <a href="http://freebsdbook.com/">http://freebsdbook.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://farrokhi.net/blog/archives/365/feed</wfw:commentRss>
		</item>
		<item>
		<title>Webkit passes ACID 3 test</title>
		<link>http://farrokhi.net/blog/archives/364</link>
		<comments>http://farrokhi.net/blog/archives/364#comments</comments>
		<pubDate>Mon, 07 Apr 2008 12:46:17 +0000</pubDate>
		<dc:creator>Babak Farrokhi</dc:creator>
		
		<category><![CDATA[Web Browsers]]></category>

		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://farrokhi.net/wordpress/?p=364</guid>
		<description><![CDATA[I accidentally noticed today that my recent WebKit nightly 31667 passes ACID3 test flawlessly.

Kudos to WebKit team for their great browser!
]]></description>
			<content:encoded><![CDATA[<p>I accidentally noticed today that my recent <a href="http://nightly.webkit.org/">WebKit</a> nightly 31667 <a href="http://webkit.org/blog/173/webkit-achieves-acid3-100100-in-public-build/">passes</a> <a href="http://acid3.acidtests.org/">ACID3 test</a> flawlessly.</p>
<p><span class="mt-enclosure mt-enclosure-image"><img class="mt-image-center" style="margin: 0pt auto 20px; text-align: center; display: block;" src="http://www.farrokhi.net/blog/webkit-acid3.png" alt="webkit-acid3.png" width="487" height="396" /></span><br />
Kudos to <a href="http://webkit.org/">WebKit</a> team for their great browser!</p>
]]></content:encoded>
			<wfw:commentRss>http://farrokhi.net/blog/archives/364/feed</wfw:commentRss>
		</item>
		<item>
		<title>What&#8217;s New in FreeBSD 7.0</title>
		<link>http://farrokhi.net/blog/archives/363</link>
		<comments>http://farrokhi.net/blog/archives/363#comments</comments>
		<pubDate>Wed, 27 Feb 2008 13:03:14 +0000</pubDate>
		<dc:creator>Babak Farrokhi</dc:creator>
		
		<category><![CDATA[Advocacy]]></category>

		<category><![CDATA[OS]]></category>

		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://farrokhi.net/wordpress/?p=363</guid>
		<description><![CDATA[I came across this interesting article about upcoming FreeBSD 7 that outlines some of the most important changes in this release.
The upcoming release of FreeBSD 7 is a major milestone for all FreeBSD developers and users.  It is the most amazing release I have ever had the chance to play with. There are plenty [...]]]></description>
			<content:encoded><![CDATA[<p>I came across this interesting <a href="http://www.onlamp.com/lpt/a/7230">article</a> about upcoming <a href="http://www.freebsd.org/releases/7.0R/relnotes.html">FreeBSD 7</a> that outlines some of the most important changes in this release.</p>
<p>The upcoming release of FreeBSD 7 is a major milestone for all FreeBSD developers and users.  It is the most amazing release I have ever had the chance to play with. There are plenty of new features and many improvements, especially in networking (which is my area of interest).<br />
I have had this chance to play with MySQL 5.1 running on FreeBSD 7 on top of 8 cores of Xeon processor in 64-bit mode. My impression was that it was almost as fast as kris&#8217;s <a href="http://people.freebsd.org/~kris/scaling/mysql.html">benchmarks</a> and totally kicked linux 2.6 in threading and SMP performance.</p>
<p>This is something I expected to see in FreeBSD 6. However FreeBSD seems to be catching up with linux again.</p>
]]></content:encoded>
			<wfw:commentRss>http://farrokhi.net/blog/archives/363/feed</wfw:commentRss>
		</item>
		<item>
		<title>Depenguinator, A great tool for the Linux enthusiasts</title>
		<link>http://farrokhi.net/blog/archives/362</link>
		<comments>http://farrokhi.net/blog/archives/362#comments</comments>
		<pubDate>Wed, 30 Jan 2008 05:24:14 +0000</pubDate>
		<dc:creator>Babak Farrokhi</dc:creator>
		
		<category><![CDATA[Advocacy]]></category>

		<category><![CDATA[OS]]></category>

		<category><![CDATA[FreeBSD]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://farrokhi.net/wordpress/?p=362</guid>
		<description><![CDATA[Colin Percival (The original author of freebsd-update and binary diff), spent a few hours to resurrect the dead Depenguinator from ashes.
Using Depenguinator 2.0, you can remotely upgrade a happily living Linux system to the latest version of FreeBSD. To me its extremely useful when upgrading a Linux box to FreeBSD in a hosting facility that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.daemonology.net/">Colin Percival</a> (The original author of <a href="http://www.daemonology.net/freebsd-update/">freebsd-update</a> and <a href="http://www.daemonology.net/bsdiff/">binary diff</a>), spent a few hours to resurrect the dead Depenguinator from ashes.<br />
Using <a href="http://www.daemonology.net/blog/2008-01-29-depenguinator-2.0.html">Depenguinator 2.0</a>, you can remotely upgrade a happily living Linux system to the latest version of FreeBSD. To me its extremely useful when upgrading a Linux box to FreeBSD in a hosting facility that does not offer any FreeBSD servers.</p>
<p>The project needs help from community to test and report issues back to the developer in order to improve the software. However it is worth giving a try on your Ubuntu box.</p>
<p>On a related note, I was thinking of porting this into the package repository of various Linux distributions. <img src='http://farrokhi.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://farrokhi.net/blog/archives/362/feed</wfw:commentRss>
		</item>
		<item>
		<title>New theme</title>
		<link>http://farrokhi.net/blog/archives/361</link>
		<comments>http://farrokhi.net/blog/archives/361#comments</comments>
		<pubDate>Tue, 13 Nov 2007 13:01:41 +0000</pubDate>
		<dc:creator>Babak Farrokhi</dc:creator>
		
		<category><![CDATA[Just Blogging]]></category>

		<guid isPermaLink="false">http://farrokhi.net/wordpress/?p=361</guid>
		<description><![CDATA[Yes, Finally I did it. I was quite unhappy with the old theme, and I was also not using the cutting edge features such as Tags, Widgets, etc.
So here you are: The new theme. I will definitely update it  in a few days to make it look better.
]]></description>
			<content:encoded><![CDATA[<p>Yes, Finally I did it. I was quite unhappy with the old theme, and I was also not using the cutting edge features such as Tags, Widgets, etc.</p>
<p>So here you are: The new theme. I will definitely update it  in a few days to make it look better.</p>
]]></content:encoded>
			<wfw:commentRss>http://farrokhi.net/blog/archives/361/feed</wfw:commentRss>
		</item>
		<item>
		<title>Interesting new features in Leopard</title>
		<link>http://farrokhi.net/blog/archives/360</link>
		<comments>http://farrokhi.net/blog/archives/360#comments</comments>
		<pubDate>Tue, 16 Oct 2007 16:29:40 +0000</pubDate>
		<dc:creator>Babak Farrokhi</dc:creator>
		
		<category><![CDATA[OS]]></category>

		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://farrokhi.net/wordpress/?p=360</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>Now that Mac OS X 10.5 (Leopard) is due to be <a href="http://apple.slashdot.org/article.pl?sid=07/10/16/1358210">released</a> in 26 October, everyone is curious to see what is <a href="http://www.apple.com/macosx/features/300.html">new in this version</a> and upgrade as soon as its released.<br />
Among the many new features, there has been a few of them that seemed interesting to me:</p>
<blockquote><p><strong>Create Instruments with DTrace</strong><br/><br />
Monitor system activity from high-level application behavior down to the operating system kernel, all thanks to the power of DTrace and the instrument builder.</p></blockquote>
<p>Sounds familiar? Yes, its the same DTrace you know from <a href="http://www.sun.com/bigadmin/content/dtrace/">Solaris</a> (<a href="http://dtrace.what-creek.com/">also in FreeBSD</a>). It would be very interesting for system developers to get the best out of OS X core system. Of course, there is an eye-candy interface for using DTrace called <a href="mailto:http://developer.apple.com/leopard/overview/tools.html">Xray</a>.</p>
<blockquote><p><strong>Self-Tuning TCP</strong><br/><br />
Let Leopard adjust TCP buffer size automatically. Get optimum application performance, especially in high-bandwidth/high-latency environments.</p></blockquote>
<p>Using a BSD kernel, OS X already enjoys a fine-grained TCP/IP protocol stack, which supports latest enhancements and extensions. This self-tuning feature will definitely improve the network throughput in many situations. However I hope this can be disabled since some expert users prefer to configure the low level TCP/IP parameters based on their experience.</p>
<blockquote><p><strong>Application-Based Firewall</strong><br/><br />
Gain more control over the built-in firewall. Specify the behavior of specific applications to either allow or block incoming connections.</p></blockquote>
<p>This one was really missing in previous releases and many people were relying on <a href="http://www.obdev.at/products/littlesnitch/index.html">Little Snitch</a> to achieve this feature. Of course I believe brilliant people in Apple were smart enough to make it so it does not annoy users like windows firewall does.</p>
<blockquote><p><strong>Sandboxing</strong><br/><br />
Enjoy a higher level of protection. Sandboxing prevents hackers from hijacking applications to run their own code by making sure applications only do what they’re intended to do. It restricts an application’s file access, network access, and ability to launch other applications. Many Leopard applications — such as Bonjour, Quick Look, and the Spotlight indexer — are sandboxed so hackers can’t exploit them.</p></blockquote>
<p>Something that I am sure has equivalent in Windows, almost like running an application in a <a href="http://en.wikipedia.org/wiki/Chroot">chroot</a>ed environment. However it sounds more complicated. This will hopefully improve the security in application level and reduce application level exploits (buffer overflow,&#8230;) risks.</p>
<blockquote><p><strong>Multicore Optimized</strong><br/><br />
Take full advantage of modern architectures with multiple processor cores with improved scheduling, memory management, and processor affinity algorithms.</p></blockquote>
<p>OS X was obviously not optimized for multi-core systems (despite the fact that apple has been shipping multi-core systems for more than a year). This enhancement will definitely improve the core system performance by getting the most out of processor power.</p>
<p><strong>Conclusion</strong></p>
<p>After using OS X for more than a year now, its my favorite <i>Desktop</i> environment. I like the eye-candy  user interface while enjoying enterprise grade FreeBSD system core. I cannot wait to upgrade to the latest release, but I am certain that it is worth to wait a few days more.</p>
]]></content:encoded>
			<wfw:commentRss>http://farrokhi.net/blog/archives/360/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
