<?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>Dae’s blog</title>
	<atom:link href="http://dae.cyberic.eu/feed/" rel="self" type="application/rss+xml" />
	<link>http://dae.cyberic.eu</link>
	<description></description>
	<lastBuildDate>Tue, 09 Mar 2010 10:21:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AppleScript to mount/unmount a drive</title>
		<link>http://dae.cyberic.eu/blog/applescript-to-mount-unmount-a-drive/</link>
		<comments>http://dae.cyberic.eu/blog/applescript-to-mount-unmount-a-drive/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 17:50:52 +0000</pubDate>
		<dc:creator>Dae</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[mac pro]]></category>

		<guid isPermaLink="false">http://dae.cyberic.eu/?p=512</guid>
		<description><![CDATA[On my Mac Pro I have two internal hard drives I rarely use. Some times they &#8220;sleep&#8221; and while doing so, every file opening dialog, search in Spotlight or search in Dictionary might wake them up and that takes some time. I could, of course, disable sleeping in power settings, but then the drives would [...]]]></description>
			<content:encoded><![CDATA[<p>On my Mac Pro I have two internal hard drives I rarely use. Some times they &#8220;sleep&#8221; and while doing so, every file opening dialog, search in Spotlight or search in Dictionary might wake them up and that takes some time. I could, of course, disable sleeping in power settings, but then the drives would be unreasonably wasting power all the time, so I decided to write an <strong>AppleScript to mount or unmount a drive</strong> depending on it&#8217;s state.<br />
<span id="more-512"></span><br />
I will make a proper release of the script some time, now you can have a half-baked source code. The script requires Growl to be installed in the system. Tested only on Mac OS X 10.6 &#8220;Snow Leopard&#8221;. Please use at your own risk!</p>
<p>Change <code>myVolumeLabel</code> variable to the label of any volume on the drive you want to (un)mount.</p>
<pre><code>set myVolumeLabel to "Storage"

tell application "GrowlHelperApp"
	set the allNotificationsList to {"Disk mounted", "Disk unmounted"}

	register as application "Disk Mounter" all notifications allNotificationsList default notifications allNotificationsList icon of application "Disk Utility.app"
end tell

tell application "Finder"
	set diskDev to do shell script "diskutil list | grep " &amp; myVolumeLabel &amp; " | grep -o 'disk[1-9]*' "
	if not (disk myVolumeLabel exists) then
		do shell script "diskutil mountDisk " &amp; diskDev
		tell application "GrowlHelperApp" to notify with name "Disk mounted" title "Volume mounted" description "Disk “" &amp; diskDev &amp; "” with volume “" &amp; myVolumeLabel &amp; "” has been successfully mounted." application name "Disk Mounter" icon of application "Disk Utility.app"
	else
		do shell script "diskutil unmountDisk " &amp; diskDev
		tell application "GrowlHelperApp" to notify with name "Disk unmounted" title "Disk unmounted" description "Disk “" &amp; diskDev &amp; "” with volume “" &amp; myVolumeLabel &amp; "” has been successfully unmounted." application name "Disk Mounter" icon of application "Disk Utility.app"
	end if
end tell</code></pre>
<p><strong>Last updated:</strong> 09.03.10</p>
<p><span style="color: #ff0000;"><strong>Update:</strong></span> please note that unmounting an internal HDD screws up some links, for instance, if you had shared folders — they will not be shared after re-mounting the drive. Use the script only with the drives that you never/link use at all in Mac OS — in my case, this applies to the Bootcamp drive.</p>
]]></content:encoded>
			<wfw:commentRss>http://dae.cyberic.eu/blog/applescript-to-mount-unmount-a-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mouse cursor skipping (jumping) bug on Mac OS X</title>
		<link>http://dae.cyberic.eu/blog/mouse-cursor-skipping-jumping-bug-on-mac-os-x/</link>
		<comments>http://dae.cyberic.eu/blog/mouse-cursor-skipping-jumping-bug-on-mac-os-x/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 19:58:57 +0000</pubDate>
		<dc:creator>Dae</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[mac os]]></category>
		<category><![CDATA[mouse]]></category>

		<guid isPermaLink="false">http://dae.cyberic.eu/?p=476</guid>
		<description><![CDATA[
What I know so far about the mouse cursor skipping (jumpy, jittery, erratic movement)   bug of Mac OS X portrayed in the video above:

it occurs mostly with gaming and &#8220;high-precision&#8221; mice, confirmed the following (when the source is not specified the source is me, asterisk indicates that you can find a fix/walkaround below):

Logitech G5, first [...]]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/7k0iBmhzoFM&amp;hl=ru_RU&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/7k0iBmhzoFM&amp;hl=ru_RU&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><span id="more-476"></span>What I know so far about the <strong>mouse cursor skipping (jumpy, jittery, erratic movement)   bug of Mac OS X</strong> portrayed in the video above:</p>
<ol>
<li>it occurs mostly with gaming and &#8220;high-precision&#8221; mice, confirmed the following <em>(when the source is not specified the source is me, asterisk indicates that you can find a fix/walkaround below)</em>:
<ol>
<li>Logitech G5, <a href="http://dae.cyberic.eu/wp-content/uploads/logitech-g5-first-edition.jpg">first  edition</a> and <a href="http://dae.cyberic.eu/wp-content/uploads/logitech-g5-second-edition.jpg">second  edition</a>,</li>
<li>Logitech RX1000,</li>
<li>Razer DeathAdder 3G ”Mac edition”*,</li>
<li>Logitech G3 <em>(<a href="http://www.youtube.com/watch?v=7k0iBmhzoFM">source</a> and <a href="http://episteme.arstechnica.com/eve/forums/a/tpc/f/8300945231/m/552003601831?r=637003601831#637003601831">source</a>)</em>,</li>
<li>Logitech G9x <em>(<a href="http://logitech.lithium.com/t5/G-Series-Mice/G9x-Tracking-Bug-on-Mac-OS-X/td-p/386523">source</a>)</em>,</li>
<li>Razer DeathAdder <em>(<a href="http://episteme.arstechnica.com/eve/forums/a/tpc/f/8300945231/m/328002508831">source</a>)</em>*,</li>
<li>Razer Copperhead <em>(<a href="http://episteme.arstechnica.com/eve/forums/a/tpc/f/8300945231/m/328002508831">source</a></em><em>)*</em>,</li>
<li>Razer Lachesis <em>(<a href="http://episteme.arstechnica.com/eve/forums/a/tpc/f/8300945231/m/328002508831?r=541004558831#541004558831">source</a>)</em>*,</li>
<li>&#8230; <em>(please suggest more in the comments)</em>;</li>
</ol>
</li>
<li>it occurs on Mac OS X 10.5 &#8220;Leopard&#8221;, 10.6 &#8220;Snow Leopard&#8221; and <span style="text-decoration: line-through;">I  don&#8217;t know about 10.4 &#8220;Tiger&#8221;</span> 10.4 Tiger too (<a href="http://maczealots.com/reviews/logitech-mx1000/">source</a>);</li>
<li>it does not occur on Windows with the very same mice;</li>
<li>it occurs with a newly installed system when no 3rd party software is installed, so it&#8217;s most likely software independent;</li>
<li>it&#8217;s computer independent. I&#8217;ve seen it on various Mac Pro, MacBook, MacBook Pro, MacBook Air and even on a Hackintosh;</li>
<li>if you connect both &#8220;normal&#8221; and &#8220;jittery&#8221; mice together to the same computer, &#8220;normal&#8221; will remain &#8220;normal&#8221; and &#8220;jittery&#8221; will remain &#8220;jittery&#8221;;</li>
<li>regardless of what some Google search results say, the bug occurs no matter with or without an external display;</li>
<li>regardless of what some Google search results say, the bug is not gone when you turn off Bluetooth &#8220;search for input devices&#8230;&#8221; option or  turn off Bluetooth entirely;</li>
<li>regardless of what some Google search results say, reflashing Logitech G5 (neither of the editions) does not fix the bug;</li>
<li>USB Overdrive, SteerMouse or ControllerMate do not fix the bug;</li>
<li><strong>the problem is very likely to be related to USB polling rate setting of the mouse</strong>. Mice with 125 Hz polling rate don&#8217;t experience problems with Mac OS X (for example, Logitech MX518 which has a 125 Hz polling rate is working fine with Mac OS X, although it  is considered a gaming mouse). My personal assumption about the nature of the bug (proven with USB Prober): the USB driver of Mac OS X does not adjust its polling rate to the polling rates of such mice.</li>
<li><span style="color: #ff0000;"><strong>the problem can be somewhat fixed for Razer mice!</strong></span> Install official Razer drivers, connect your Razer mouse and <a href="http://dae.cyberic.eu/wp-content/uploads/razer-driver-change-polling-rate.jpg">set polling rate</a> to 125 Hz. Once you do that,<strong> the mouse will work fine on any Mac</strong> you connect it to since the setting is stored in the internal memory of the mouse. You can do the described procedure on either Mac OS X or Windows, but I personally recommend to do that on Windows, because unfortunately (as for November 2009) Razer Mac driver will not uninstall itself correctly from your Mac if you tell it to do so;</li>
<li>unfortunately changing the polling rate setting of a mouse in Logitech SetPoint on Windows doesn&#8217;t solve the problem with that mouse on Mac OS X.</li>
</ol>
<p>It seems to me that the bug is very common — just happy Macintoshers either don&#8217;t notice or tend to ignore it. I have reported it to Apple (problem ID: 7675662).</p>
<p>More information on the issue is welcome in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://dae.cyberic.eu/blog/mouse-cursor-skipping-jumping-bug-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Permission error of AppleScript in iTunes</title>
		<link>http://dae.cyberic.eu/blog/permission-error-of-applescript-in-itunes/</link>
		<comments>http://dae.cyberic.eu/blog/permission-error-of-applescript-in-itunes/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 16:19:16 +0000</pubDate>
		<dc:creator>Dae</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[mac software]]></category>

		<guid isPermaLink="false">http://dae.cyberic.eu/?p=470</guid>
		<description><![CDATA[I was getting a permission error (code -54) when trying to set an id3 tag of a  track using AppleScript. The solution was to add a delay between each  operation: delay 1
Note that the track will remain &#8220;locked&#8221; until you restart iTunes.
]]></description>
			<content:encoded><![CDATA[<p>I was getting a permission error (code -54) when trying to set an id3 tag of a  track using AppleScript. The solution was to add a delay between each  operation: <code>delay 1</code></p>
<p><strong>Note</strong> that the track will remain &#8220;locked&#8221; until you restart iTunes.</p>
]]></content:encoded>
			<wfw:commentRss>http://dae.cyberic.eu/blog/permission-error-of-applescript-in-itunes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Скрипт для замены основного шрифта сайта</title>
		<link>http://dae.cyberic.eu/blog/skript-dlya-zameny-osnovnogo-shrifta-sayta/</link>
		<comments>http://dae.cyberic.eu/blog/skript-dlya-zameny-osnovnogo-shrifta-sayta/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 22:28:07 +0000</pubDate>
		<dc:creator>Dae</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[mac software]]></category>
		<category><![CDATA[vkontakte]]></category>
		<category><![CDATA[на русском]]></category>

		<guid isPermaLink="false">http://dae.cyberic.eu/?p=438</guid>
		<description><![CDATA[Я написал небольшой скрипт для файрфоксовского плагина GreaseMonkey, заменяющий основной шрифт сайта на Helvetica Neue. Это имеет смысл в тех случаях, когда дизайнер сайта использовал шрифт, отсутствующий на вашей Mac OS X, а предлагаемая им же замена выглядит намного хуже оригинала.
Пример такого сайта — ВКонтакте. Отсутствующий у меня шрифт Tahoma зачем-то заменяется на более широкий [...]]]></description>
			<content:encoded><![CDATA[<p>Я написал небольшой скрипт для файрфоксовского плагина <a href="https://addons.mozilla.org/en-US/firefox/addon/748">GreaseMonkey</a>, заменяющий основной шрифт сайта на Helvetica Neue. Это имеет смысл в тех случаях, когда дизайнер сайта использовал шрифт, отсутствующий на вашей Mac OS X, а предлагаемая им же замена выглядит намного хуже оригинала.</p>
<p><span id="more-438"></span>Пример такого сайта — ВКонтакте. Отсутствующий у меня шрифт Tahoma зачем-то заменяется на более широкий Verdana, который заставляет отдельные элементы разъезжаться.</p>
<p><img class="aligncenter size-full wp-image-456" title="override-fonts-vkontakte-1" src="http://dae.cyberic.eu/wp-content/uploads/override-fonts-vkontakte-1.png" alt="" width="360" height="288" /></p>
<p><img class="aligncenter size-full wp-image-457" title="override-fonts-vkontakte-2" src="http://dae.cyberic.eu/wp-content/uploads/override-fonts-vkontakte-2.png" alt="" width="475" height="182" /></p>
<p>По умолчанию скрипт работает только с ВКонтакте, но вы всегда можете добавить новый сайт в настройках GreaseMonkey:</p>
<p><img class="aligncenter size-medium wp-image-458" title="greasemonkey-override-fonts-settings" src="http://dae.cyberic.eu/wp-content/uploads/greasemonkey-override-fonts-settings-476x392.png" alt="" width="476" height="392" /></p>
<p><a href="http://dae.cyberic.eu/wp-content/uploads/Override fonts with Helvetica Neue.user.js">Установить скрипт «Override fonts with Helvetica Neue»</a>.<br />
<em>(перед установкой убедитесь, что у вас установлен и включен плагин GreaseMonkey).<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://dae.cyberic.eu/blog/skript-dlya-zameny-osnovnogo-shrifta-sayta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inability to upload files using any browser on Windows</title>
		<link>http://dae.cyberic.eu/blog/inability-to-upload-files-using-any-browser-on-windows/</link>
		<comments>http://dae.cyberic.eu/blog/inability-to-upload-files-using-any-browser-on-windows/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 20:18:24 +0000</pubDate>
		<dc:creator>Dae</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://dae.cyberic.eu/?p=427</guid>
		<description><![CDATA[One my friend who runs Windows XP encountered a strange problem: she couldn&#8217;t upload any large (more than ≈100 KB) files using upload forms on websites under any browser. We tried Internet Explorer, Firefox and Chrome with no result, although Flash uploaders were still working. The solution was to change the MTU value in the [...]]]></description>
			<content:encoded><![CDATA[<p>One my friend who runs Windows XP encountered a strange problem: she couldn&#8217;t upload any large (more than ≈100 KB) files using upload forms on websites under any browser. We tried Internet Explorer, Firefox and Chrome with no result, although Flash uploaders were still working. <a href="http://www.dslreports.com/faq/6264">The solution</a> was to change the MTU value in the registry.</p>
]]></content:encoded>
			<wfw:commentRss>http://dae.cyberic.eu/blog/inability-to-upload-files-using-any-browser-on-windows/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Slow startup and sleep problems on MacBook Pro 2,2</title>
		<link>http://dae.cyberic.eu/blog/slow-startup-and-sleep-problems-on-macbook-pro-22/</link>
		<comments>http://dae.cyberic.eu/blog/slow-startup-and-sleep-problems-on-macbook-pro-22/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 19:21:19 +0000</pubDate>
		<dc:creator>Dae</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[mac hardware]]></category>

		<guid isPermaLink="false">http://dae.cyberic.eu/?p=413</guid>
		<description><![CDATA[Once I noticed that it has been taking up to 5–7 minutes for my MacBook Pro 2,2 to boot (the longest phase of the startup process was the blue screen which usually appears right before the desktop) and additionally, sleep (hibernate) mode stopped working. Both problems appeared simultaneously, so right from the start it was [...]]]></description>
			<content:encoded><![CDATA[<p>Once I noticed that it has been taking up to 5–7 minutes for my MacBook Pro 2,2 to boot (the longest phase of the startup process was the blue screen which usually appears right before the desktop) and additionally, sleep (hibernate) mode stopped working. Both problems appeared simultaneously, so right from the start it was clear that they&#8217;re related.</p>
<p><span id="more-413"></span>To diagnose the problem, I booted in verbose mode (hold Cmd + V when it starts booting, later you may find the logs in Console.app) and noticed these lines:</p>
<pre><code>Jun 21 03:02:15 Dae-MBP configd[36]: InterfaceNamer: Busy services :
Jun 21 03:02:15 Dae-MBP configd[36]: InterfaceNamer:   MacBookPro2,2 [1]
Jun 21 03:02:15 Dae-MBP configd[36]: InterfaceNamer:   MacBookPro2,2/AppleACPIPlatformExpert [1]
Jun 21 03:02:15 Dae-MBP configd[36]: InterfaceNamer:   MacBookPro2,2/AppleACPIPlatformExpert/PCI0@0 [1]
Jun 21 03:02:15 Dae-MBP configd[36]: InterfaceNamer:   MacBookPro2,2/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI [1]
Jun 21 03:02:15 Dae-MBP configd[36]: InterfaceNamer:   MacBookPro2,2/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PCIB@1E [1]
Jun 21 03:02:15 Dae-MBP configd[36]: InterfaceNamer:   MacBookPro2,2/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PCIB@1E/IOPCI2PCIBridge [1]
Jun 21 03:02:15 Dae-MBP configd[36]: InterfaceNamer:   MacBookPro2,2/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PCIB@1E/IOPCI2PCIBridge/FRWR@3 [1]
Jun 21 03:02:15 Dae-MBP configd[36]: InterfaceNamer:   MacBookPro2,2/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PCIB@1E/IOPCI2PCIBridge/FRWR@3/AppleFWOHCI [1]
Jun 21 03:02:15 Dae-MBP configd[36]: InterfaceNamer:   MacBookPro2,2/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PCIB@1E/IOPCI2PCIBridge/FRWR@3/AppleFWOHCI/IOFireWireController [1]
Jun 21 03:02:15 Dae-MBP configd[36]: InterfaceNamer:   MacBookPro2,2/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PCIB@1E/IOPCI2PCIBridge/FRWR@3/AppleFWOHCI/IOFireWireController/IOFireWireLocalNode [1]
Jun 21 03:06:20 Dae-MBP /usr/libexec/hidd[27]: Timeout waiting for IOKit to be quiet
</code></pre>
<p>Obviously something was wrong with firewire. I checked my firewire 400 port and it appeared to be broken. Quick search revealed that the problem of dieing firewire ports is not uncommon for this generation of MacBook Pros, and the only way to repair it is to replace a logic board. I confirmed all of these by contacting a technician of local Apple reseller.</p>
<p>Since my MacBook was out of warranty and I didn&#8217;t want to spend 350€  on a new logic board for a quite old computer, I decided to minimize the consequences. The solution was easy: to move IOFireWireFamily.kext out of /System/Extensions. I as well have to repeat this operation after installing system updates. The sleep problem was gone as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://dae.cyberic.eu/blog/slow-startup-and-sleep-problems-on-macbook-pro-22/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create an iPhone ringtone on Mac</title>
		<link>http://dae.cyberic.eu/blog/create-an-iphone-ringtone-on-mac/</link>
		<comments>http://dae.cyberic.eu/blog/create-an-iphone-ringtone-on-mac/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 00:58:27 +0000</pubDate>
		<dc:creator>Dae</dc:creator>
				<category><![CDATA[How to’s]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac software]]></category>

		<guid isPermaLink="false">http://dae.cyberic.eu/?p=162</guid>
		<description><![CDATA[This “how to” will guide you through the process of making an iPhone ringtone from a mp3 file using free tools on Mac OS X. I&#8217;m pretty sure most of those steps can as well be reproduced on Windows, since both applications we&#8217;re going to use — Audacity and iTunes — exist for both systems.

Step [...]]]></description>
			<content:encoded><![CDATA[<p>This “how to” will guide you through the process of making an iPhone ringtone from a mp3 file using free tools on Mac OS X. I&#8217;m pretty sure most of those steps can as well be reproduced on Windows, since both applications we&#8217;re going to use — Audacity and iTunes — exist for both systems.<br />
<span id="more-162"></span></p>
<h3>Step 1</h3>
<p>Download and install <a href="http://audacity.sourceforge.net/download/">Audacity</a> and <a href="http://manual.audacityteam.org/index.php?title=FAQ:Installation_and_Plug-Ins#How_do_I_download_and_install_the_FFmpeg_Import.2FExport_Library.3F">FFmpeg</a>. Both are free open-source programs: Audacity is a sound editor, and FFmpeg is a media converter, which will allow us to export ringtones into the AAC format required by iTunes.</p>
<p>After that we need to link Audacity to ffmpeg: launch Audacity, go to preferences and click the <strong>“Locate”</strong> button under “FFmpeg Import/Export Library”.<br />
<img class="aligncenter size-full wp-image-179" title="audacity-preferences-locate-ffmpeg" src="http://dae.cyberic.eu/wp-content/uploads/audacity-preferences-locate-ffmpeg.png" alt="" width="611" height="355" /></p>
<h3>Step 2</h3>
<p>Press File → Open (in Audacity, of course) and pick the audio track you would like to make a ringtone from. I&#8217;ve chosen “Mmmbop” by Hanson which is the ringtone of Dr. House in “House” TV series. Once the file is open, you will see something like this:<br />
<img class="aligncenter size-full wp-image-190" title="audacity-interface" src="http://dae.cyberic.eu/wp-content/uploads/audacity-interface.png" alt="" width="806" height="470" />The blue graphic is an audio track. You can click anywhere on it to set the position to play from or you can select fragments of it to edit them.</p>
<p><strong>Press the space bar</strong> (or the green right arrow button in the topmost controls) to play your track.</p>
<h3>Step 3</h3>
<p>Now we can actually start making the ringtone. iTunes has a 40 seconds length limitation for a ringtone, so you can&#8217;t just convert the whole track into it.</p>
<p>Take a look at <strong>“Audio Position”</strong> counter in the bottom of the window — when you hear the best position to cut your ringtone from, note down the time. After that, stop the playback and type the noted time into the “Selection Start” field, then switch the radio button from “End” to “Length” above the middle field and change the last number to 40. I&#8217;ve decided to cut the ringtone from 1 minute 40 seconds (mind the selection):<br />
<img class="aligncenter size-full wp-image-193" title="audacity-selection" src="http://dae.cyberic.eu/wp-content/uploads/audacity-selection.png" alt="" width="806" height="470" />Now copy the selection (Cmd+C), make a new Audacity file (Cmd+N) and paste the selected piece (Cmd+V). The new track might look totally different than it was in the original file: don&#8217;t be scared, you might need to zoom out a bit (Cmd+F to fit in window). You may now close the original file.</p>
<h3>Step 4</h3>
<p>Now let&#8217;s add some effects.</p>
<p><strong> First of all</strong>, iPhones have quiet speakers, so it&#8217;d be worth to amplify the ringtone to the maximum. Press Cmd+A to select the whole track, then in the top menu choose Effect → Amplify.</p>
<p>You will see a small dialog:<br />
<img class="aligncenter size-full wp-image-194" title="audacity-amplify" src="http://dae.cyberic.eu/wp-content/uploads/audacity-amplify.png" alt="" width="305" height="217" /></p>
<p>Tick “Allow clipping” and change “Amplification (dB)” to any positive value. You may experiment with preview to find the most suitable amplification value before the hisses are too strong. I&#8217;ve chosen 5.<strong></strong></p>
<p><strong>Secondly</strong>, I wouldn&#8217;t want a call to scare me or bother people around me, so I&#8217;ve changed volume in the beginning of the ringtone to grow gradually. To do the same, just select the first 10 seconds of the track and in the top menu press Effect → Fade In.</p>
<p><strong>Thirdly</strong>, the ringtone might play continuously several times before I pick up the phone, so I&#8217;ve also used the “Fade Out” effect on the last 5 seconds of the track to smooth the “discrepancy” between the end and beginning of it.</p>
<p>Eventually the track will resemble this:<br />
<img title="audacity-ringtone-result" src="http://dae.cyberic.eu/wp-content/uploads/audacity-ringtone-result.png" alt="" width="806" height="470" /></p>
<h3>Step 5</h3>
<p>Press File → Export. The program will ask you to set some meta tags, you may optionally specify “Artist Name” and “Track Title” — that would be enough:<br />
<img class="aligncenter size-full wp-image-196" title="audacity-metadata" src="http://dae.cyberic.eu/wp-content/uploads/audacity-metadata.png" alt="" width="437" height="357" />In file saving dialog, choose format: “M4A (AAC) Files (FFmpeg)” and as well click the nearby “Options” button to make sure the slider remains at 128.</p>
<h3>Step 6</h3>
<p>After saving your file, find it in Finder and change it&#8217;s extension from “.m4a” to “.m4r”:</p>
<p><img class="aligncenter size-full wp-image-208" title="rename-m4a-to-m4r" src="http://dae.cyberic.eu/wp-content/uploads/rename-m4a-to-m4r.png" alt="" width="166" height="106" />(If you don&#8217;t see extensions in file names, go to Finder preferences → “Advanced” tab → tick “Show all filename extensions”).</p>
<p>Double click your file to add it to iTunes. It should appear under “Ringtones” now.</p>
]]></content:encoded>
			<wfw:commentRss>http://dae.cyberic.eu/blog/create-an-iphone-ringtone-on-mac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>“Building boot caches” error when changing startup disk</title>
		<link>http://dae.cyberic.eu/blog/building-boot-caches-error-when-changing-startup-disk/</link>
		<comments>http://dae.cyberic.eu/blog/building-boot-caches-error-when-changing-startup-disk/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 15:56:09 +0000</pubDate>
		<dc:creator>Dae</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[mac os]]></category>

		<guid isPermaLink="false">http://dae.cyberic.eu/?p=126</guid>
		<description><![CDATA[Once I tried to change the default startup disk on my Mac running Snow Leopard and the following error appeared: “you can&#8217;t change the startup disk to the selected disk. Building boot caches on boot helper partition failed”.

At first I was trying to figure what&#8217;s a boot helper partition and where do I find it, [...]]]></description>
			<content:encoded><![CDATA[<p>Once I tried to change the default startup disk on my Mac running Snow Leopard and the following error appeared: “you can&#8217;t change the startup disk to the selected disk. Building boot caches on boot helper partition failed”.<br />
<span id="more-126"></span><img class="aligncenter size-full wp-image-177" title="building-boot-caches-failed" src="http://dae.cyberic.eu/wp-content/uploads/building-boot-caches-failed.png" alt="" width="500" height="299" /></p>
<p>At first I was trying to figure what&#8217;s a boot helper partition and where do I find it, but eventually I decided to take a look at com.apple.Boot.plist file, which appeared to be non-existent in it&#8217;s regular place.</p>
<p>So I created one by myself. In Terminal:</p>
<pre><code>sudo nano /Library/Preferences/SystemConfiguration/com.apple.Boot.plist</code></pre>
<p>There inserted the default code:</p>
<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://
www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
	&lt;key&gt;Kernel&lt;/key&gt;
	&lt;string&gt;mach_kernel&lt;/string&gt;
	&lt;key&gt;Kernel Flags&lt;/key&gt;
	&lt;string&gt;&lt;/string&gt;
&lt;/dict&gt;
&lt;/plist&gt;
</code></pre>
<p>(Cmd+X to save the file).</p>
<p>This solved the problem for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://dae.cyberic.eu/blog/building-boot-caches-error-when-changing-startup-disk/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>“Failed to expand the files” error</title>
		<link>http://dae.cyberic.eu/blog/failed-to-expand-the-files-error/</link>
		<comments>http://dae.cyberic.eu/blog/failed-to-expand-the-files-error/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 20:58:34 +0000</pubDate>
		<dc:creator>Dae</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[canon]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://dae.cyberic.eu/?p=89</guid>
		<description><![CDATA[Getting &#8220;failed to expand the files&#8221; while installing Canon camera software, such as ZoomBrowser Ex? Just turn off your antivirus.
]]></description>
			<content:encoded><![CDATA[<p>Getting &#8220;failed to expand the files&#8221; while installing Canon camera software, such as ZoomBrowser Ex? Just turn off your antivirus.</p>
]]></content:encoded>
			<wfw:commentRss>http://dae.cyberic.eu/blog/failed-to-expand-the-files-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BBEdit preview shows raw PHP code</title>
		<link>http://dae.cyberic.eu/blog/bbedit-preview-shows-raw-php-code/</link>
		<comments>http://dae.cyberic.eu/blog/bbedit-preview-shows-raw-php-code/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 20:28:41 +0000</pubDate>
		<dc:creator>Dae</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[bbedit]]></category>
		<category><![CDATA[mac software]]></category>

		<guid isPermaLink="false">http://dae.cyberic.eu/?p=85</guid>
		<description><![CDATA[If your BBEdit preview shows raw PHP code, go to &#8220;Preferences&#8221; and configure a &#8220;HTML web-site&#8221; with &#8220;Use local preview server&#8221; ticked.
]]></description>
			<content:encoded><![CDATA[<p>If your BBEdit preview shows raw PHP code, go to &#8220;Preferences&#8221; and configure a &#8220;HTML web-site&#8221; with &#8220;Use local preview server&#8221; ticked.</p>
]]></content:encoded>
			<wfw:commentRss>http://dae.cyberic.eu/blog/bbedit-preview-shows-raw-php-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
