<?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>stve.cx &#187; Bug</title>
	<atom:link href="http://stve.cx/tag/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://stve.cx</link>
	<description>the daily experience of a full time geek</description>
	<lastBuildDate>Mon, 08 Apr 2013 15:16:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Apple, USB Errors and Customer Service</title>
		<link>http://stve.cx/2011/08/apple-usb-errors-and-customer-service/</link>
		<comments>http://stve.cx/2011/08/apple-usb-errors-and-customer-service/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 21:42:54 +0000</pubDate>
		<dc:creator>iStefo</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Apple Store]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[MacBook Air]]></category>

		<guid isPermaLink="false">http://stve.cx/?p=124</guid>
		<description><![CDATA[Today, I ran into a problem with my brand new MacBook Air which I bought only 4 weeks ago. Here is the story: (if you want to skip the technical details, go ahead to What the f&#42;ck do you want to tell us? ;)) This morning I went to my holiday job like the last [...]]]></description>
			<content:encoded><![CDATA[<blockquote>
  <p>Today, I ran into a problem with my brand new MacBook Air which I bought only 4 weeks ago. Here is the story: (if you want to skip the technical details, go ahead to <em>What the f&#42;ck do you want to tell us?</em> ;))</p>
</blockquote>

<p>This morning I went to my holiday job like the last two weeks in order to finish my work for this holidays. But after 15 minutes, my <em>Magic Mouse</em> connected via Bluetooth got disconnected. Nothing unusual, I simply swapped the batteries. But as I was finished, my MacBook wouldn&#8217;t react to any input sent via the built-in keyboard and trackpad, nor the external keyboard attached to the cinema display acting as a hub.</p>

<p><span id="more-124"></span></p>

<p>I also noticed, that the Bluetooth menu bar icon was in the &#8220;Bluetooth offline&#8221; state<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup>, which was the strange. As suggested, I restarted my mac. At least I tried.</p>

<p>The mac did not even proceed to the gray screen showing the Apple logo. To make it even worse, non of the keyboards connected seemed to affect the boot process, I was unable to go into <em>Single User Mode</em>, <em>Verbose Mode</em> or the reset the <em>PRAM</em><sup id="fnref:2"><a href="#fn:2" rel="footnote">2</a></sup>. The only thing that worked was <em>Safe Boot</em>, unhappily the login mask didn&#8217;t respond to my input, so I couldn&#8217;t log in.</p>

<p>After I tried everything a few more times with different external keyboard setups I once was able to log in and set the boot parameter to <em>verbose</em> with the</p>

<blockquote>
  <p>$ sudo nvram boot-args=-v</p>
</blockquote>

<p>command and while rebooting, I saw some error &#8212; all of them regarding <em>kIOUSBHighSpeedSplitError</em>, <em>kIOReturnNotResponding</em> or the following message:</p>

<blockquote>
  <p>The IOUSBFamily was not able to enumerate a device.</p>
</blockquote>

<h2>What the f*ck do you want to tell us?</h2>

<p>Ok, here is the point of this post:</p>

<p>I gave up on fixing the error by myself (and my colleagues at Boinx Software[^3], thanks for your help!) so I looked for an appointment at the Munich Apple Store. The next available date was next week, 5 workdays from now.</p>

<p>Srsly, WTF? How does Apple believe someone can easily wait 5 workdays only to have his problem be looked at? I mean, after this time that doesn&#8217;t mean that I can resume working, can I?</p>

<p>It&#8217;s a shame that Apple has no plan or service for <em>emergency</em> cases in which it&#8217;s clear the device has to be physically repaired. Not even to mention that it&#8217;s absolutely out of the question that a 4 week old device stops working and the only service provided is, that the Apple Store Employee sets up a Genius Bar appointment for me (thanks, I <em>am</em> somewhat able to click through apple.com by myself).</p>

<p>I am actually asking myself whether Apple really cares about people earning money with their Hard- and Software. (Of course I have backups, but switching my workflow to my other mac won&#8217;t be exactly a trivial point which can be done in 5 minutes)</p>

<p>Any similar experiences?</p>

<div class="footnotes">
<hr />
<ol>

<li id="fn:1">
<p><a href="http://support.apple.com/kb/TS3048">Apple Knowledge Base</a>&#160;<a href="#fnref:1" rev="footnote">&#8617;</a></p>
</li>

<li id="fn:2">
<p><a href="http://face.centosprime.com/macosxw/startup-keys-boot-options/">Cheat-Sheet for Mac Boot commands, bookmark it!</a>&#160;<a href="#fnref:2" rev="footnote">&#8617;</a></p>
</li>

</ol>
</div>
 <p><a href="http://stve.cx/?flattrss_redirect&amp;id=124&amp;md5=7e35b1784b3d6b5196e0687e5a77ae74" title="Flattr" target="_blank"><img src="http://stve.cx/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://stve.cx/2011/08/apple-usb-errors-and-customer-service/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to fix your annoying Spotlight in Lion</title>
		<link>http://stve.cx/2011/08/fix-spotlight-lion/</link>
		<comments>http://stve.cx/2011/08/fix-spotlight-lion/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 20:06:39 +0000</pubDate>
		<dc:creator>iStefo</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Workaround]]></category>

		<guid isPermaLink="false">http://stve.cx/?p=112</guid>
		<description><![CDATA[After upgrading, some Lion users reported a really disturbing problem with the built-in search system Spotlight: Only some of the files are being indexed. Because my Mac also had this problem, I tried to resolve it and after a few hours googling about a solution I finally found a way to fix Spotlight. First you [...]]]></description>
			<content:encoded><![CDATA[<blockquote>
  <p>After upgrading, some Lion users reported a really disturbing problem with the built-in search system <em>Spotlight</em>: Only some of the files are being indexed.</p>
</blockquote>

<p>Because my Mac also had this problem, I tried to resolve it and after a few hours googling about a solution I finally found a way to fix Spotlight.</p>

<p><span id="more-112"></span></p>

<p>First you should delete your current spotlight index.</p>

<p>Go to System Preferences -> Spotlight -> Privacy. At this point you have to add your Hardrive to the provided list in order to prevent it from being indexed by Spotlight. It could be that a few Macs will start working correctly after excluding the hard drive again. <em>If not</em> you should go to terminal, and deleting the index manually. This can be done with:</p>

<blockquote>
  <p>$ sudo mdutil -E /</p>
</blockquote>

<p>After entering your Password Spotlight will try to reindex your Hardrive. At this Point some more User will get a working Search back. The few People (including me) wich get a error like:</p>

<blockquote>
  <p>Error: unable to perform operation. (-1)<br />
            No index.</p>
</blockquote>

<p>Now, perform</p>

<blockquote>
  <p>$ sudo rm -r /.Spotlight-V100</p>
</blockquote>

<p>to delete the wonky Spotlight Index. Now restart your Mac and hope that it will be properly reindexed.</p>

<blockquote>
  <p>This guest post was written by Marcel Riedlinger<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup>, so all the flattr revenue for this post will go to him ;)</p>
</blockquote>

<div class="footnotes">
<hr />
<ol>

<li id="fn:1">
<p><a href="http://riddl.de">Marcel Riedlinger</a>&#160;<a href="#fnref:1" rev="footnote">&#8617;</a></p>
</li>

</ol>
</div>
 <p><a href="http://stve.cx/?flattrss_redirect&amp;id=112&amp;md5=10587ea54d800a065fa1ab655f0b96b6" title="Flattr" target="_blank"><img src="http://stve.cx/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://stve.cx/2011/08/fix-spotlight-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery 1.6 and Animations (Workaround)</title>
		<link>http://stve.cx/2011/06/jquery-1-6-animations/</link>
		<comments>http://stve.cx/2011/06/jquery-1-6-animations/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 07:00:06 +0000</pubDate>
		<dc:creator>iStefo</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Workaround]]></category>

		<guid isPermaLink="false">http://stve.cx/?p=74</guid>
		<description><![CDATA[If you are doing animation intense stuff with jQuery1 you probably have noticed that there can be problems with animations, especially when you try to run multiple animations at the same time. Without going into details how you should handle the new features (you can go thru them at the jQuery release note2) just 2 [...]]]></description>
			<content:encoded><![CDATA[<p>If you are doing animation intense stuff with jQuery<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup> you probably have noticed that there can be problems with animations, especially when you try to run multiple animations at the same time.</p>

<p>Without going into details how you should handle the new features (you can go thru them at the jQuery release note<sup id="fnref:2"><a href="#fn:2" rel="footnote">2</a></sup>) just 2 quick fixes for your current projects:</p>

<p><span id="more-74"></span></p>

<p><strong>1. Use Units</strong></p>

<p>One problem can exist if you you call your animation like this:</p>

<p><pre class="brush: jscript; title: ; notranslate">
    $('selector').animate({ 'height': 100 });
    </pre></p>

<p>Using this code snippet, the lags should be fixed:</p>

<p><pre class="brush: jscript; title: ; notranslate">
    $('selector').animate({ 'height': '100px' });
    // or for a 'dynamic' height from a variable
    var number = 100;
    $('selector').animate({ 'height': number + 'px' });
    </pre></p>

<p><strong>2. Tweak opacity first</strong></p>

<p>like you can see in <a href="http://jsfiddle.net/69eEL/">this example</a><sup id="fnref:3"><a href="#fn:3" rel="footnote">3</a></sup>, the animation does not run as expected. However, this can be fixed by <em>1.</em> commenting out the <em>opacity</em> part (which is not an option in most cases) or <em>2.</em> by placing the <em>opacity</em> line on top of every block, like in <a href="http://jsfiddle.net/hctX2/">this example</a><sup id="fnref:4"><a href="#fn:4" rel="footnote">4</a></sup>.</p>

<p>That&#8217;s it. In my case, both didn&#8217;t solve the problem completely (because I needed 2d transformations, which caused bugs whatever I did) so I switched completely to CSS3 Animations, which are widely available in Webkit, Mozilla and Opera (and maybe IE 9). I think I&#8217;ll soon have a post about that ;)</p>

<div class="footnotes">
<hr />
<ol>

<li id="fn:1">
<p><a href="http://jquery.com/">jQuery Website</a>&#160;<a href="#fnref:1" rev="footnote">&#8617;</a></p>
</li>

<li id="fn:2">
<p><a href="http://blog.jquery.com/2011/05/03/jquery-16-released/">jQuery 1.6 Blog Post</a>&#160;<a href="#fnref:2" rev="footnote">&#8617;</a></p>
</li>

<li id="fn:3">
<p><a href="http://jsfiddle.net/69eEL/">Bug Demo w/ Opacity</a>&#160;<a href="#fnref:3" rev="footnote">&#8617;</a></p>
</li>

<li id="fn:4">
<p><a href="http://jsfiddle.net/hctX2/">Fixed Demo w/ Opacity</a>&#160;<a href="#fnref:4" rev="footnote">&#8617;</a></p>
</li>

</ol>
</div>
 <p><a href="http://stve.cx/?flattrss_redirect&amp;id=74&amp;md5=ecf708c6cb32e51e11add413ff00f99d" title="Flattr" target="_blank"><img src="http://stve.cx/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://stve.cx/2011/06/jquery-1-6-animations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
