<?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>Jed Laundry &#187; bad apple</title> <atom:link href="http://www.jlaundry.com/tag/bad-apple/feed/" rel="self" type="application/rss+xml" /><link>http://www.jlaundry.com</link> <description></description> <lastBuildDate>Tue, 22 Nov 2011 22:17:07 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Safari Crashes, PubSubAgent has issues, everything dies, oh my!</title><link>http://www.jlaundry.com/2009/safari-crashes-pubsubagent-has-issues-everything-dies-oh-my/</link> <comments>http://www.jlaundry.com/2009/safari-crashes-pubsubagent-has-issues-everything-dies-oh-my/#comments</comments> <pubDate>Tue, 13 Oct 2009 03:59:25 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[bad apple]]></category> <category><![CDATA[Fail]]></category> <category><![CDATA[safari]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=165</guid> <description><![CDATA[Ever had one of those days, where everything just seems to be going wrong? Over the last 6 hours, I&#8217;ve been trying to debug why Safari, Mail.app, iTunes and Adium crash without ANY explanation, after any of said applications tried to load a webpage. It started randomly (haven&#8217;t made major changes in the last few [...]]]></description> <content:encoded><![CDATA[<p>Ever had one of those days, where everything just seems to be going wrong? Over the last 6 hours, I&#8217;ve been trying to debug why Safari, Mail.app, iTunes and Adium crash without ANY explanation, after any of said applications tried to load a webpage.</p><p>It started randomly (haven&#8217;t made major changes in the last few days), so I assumed it was something corrupted. The only hint was that after Safari, Mail, iTunes or Adium crashed, PubSubAgent would use 100% CPU time. So, I fire up Instruments and look at the trace for PubSubAgent. It seems to be calling CFHTTPCookieStorageFlushCookieStores many times, which is odd, because a quick Google doesn&#8217;t return anything useful about this system call, obviously related to CFHTTP.</p><p>Fast forward 4 hours later when I&#8217;ve cleared caches, nuked my Safari config, tried removing PubSubAgent (which just made it worse). The fix? Removing <strong>~/Library/Cookies/Cookies.plist</strong>. Oddly enough, it has a companion &#8211; <strong>~/Library/Cookies/Cookies.plist &#8211; corrupt</strong>.</p><p>So, just a recap; somewhere the system knew my Cookies file was corrupted. But instead of spitting this out to the Console, throwing a Dialog, or ANY form of useful information, I had to trudge through my Library looking for something which could be causing the problem, and manually removing it. It was by chance that I noticed the Cookies folder, which is strangely not in the Safari folder where one would normally expect it.</p><p>And just to make matters worse; Safari&#8217;s &#8220;Reset Safari&#8221; did nothing to solve the problem. That&#8217;s right, checking the &#8220;Remove all cookies&#8221; checkbox did NOT remove the cookies!</p><p>Good user interaction FTW!</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2009/safari-crashes-pubsubagent-has-issues-everything-dies-oh-my/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Snow Leopard: Outdated-software-R-us!</title><link>http://www.jlaundry.com/2009/snow-leopard-outdated-software-r-us/</link> <comments>http://www.jlaundry.com/2009/snow-leopard-outdated-software-r-us/#comments</comments> <pubDate>Fri, 18 Sep 2009 12:17:31 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[10.6]]></category> <category><![CDATA[apple security]]></category> <category><![CDATA[bad apple]]></category> <category><![CDATA[outdated software]]></category> <category><![CDATA[snow leopard]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=143</guid> <description><![CDATA[I apologize in advance for the lack of coherency in this post; it&#8217;s late, and I&#8217;m tired. So, I have a custom backup script (mostly because I know I can do it better for my workflow than some off the shelf solution). It uses tar&#8217;s listed-incremental function to do, as you can guess, incremental backups [...]]]></description> <content:encoded><![CDATA[<p><strong>I apologize in advance for the lack of coherency in this post; it&#8217;s late, and I&#8217;m tired.</strong></p><p>So, I have a custom backup script (mostly because I know I can do it better for my workflow than some off the shelf solution). It uses tar&#8217;s listed-incremental function to do, as you can guess, incremental backups over a monthly cycle. It&#8217;s been working well since I made it on Tiger, except today, the first time I&#8217;ve tried to take a backup since upgrading to Snow Leopard.Â It straight off failed, claiming it doesn&#8217;t understand listed-incrementals.</p><p>I&#8217;m scratching my head as to why (it&#8217;s really not a complex script), before I realise it&#8217;s using an older version of tar than what shipped with Tiger and Leopard (or it&#8217;s using BSD tar as opposed to GNU tar&#8230; but I can&#8217;t verify what Tiger/Leopard had, all I know is it worked previously). Hmmm&#8230; ok. So I open Macports, install the latest version of gnutar, removed the crappy Snow Leopard tar and all keps going happily&#8230; except I now have a wiggling suspicion in the back of my mind that there is another disturbance in the force&#8230;</p><p>I dig a little, and it&#8217;s not long before I discover that Apple also decided to ship bzip2 1.0.4, which has a <a
href="https://www.cert.fi/haavoittuvuudet/joint-advisory-archive-formats.html">security exploit</a> that was fixed 1 year 6 months before 10.6 was released&#8230;</p><p>WTF Apple? Is anyone paying attention to software releases over there? It makes me wonder, what other outdated, exploitable software is installed on my laptop?</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2009/snow-leopard-outdated-software-r-us/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>iPhone 3GS WiFi Speed Issues</title><link>http://www.jlaundry.com/2009/iphone-3gs-wifi-speed-issues/</link> <comments>http://www.jlaundry.com/2009/iphone-3gs-wifi-speed-issues/#comments</comments> <pubDate>Sat, 29 Aug 2009 21:04:13 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[bad apple]]></category> <category><![CDATA[iPhone]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=126</guid> <description><![CDATA[So, since buying my iPhone 3GS, it&#8217;s been plauged with speed issues over WiFi. Not the awesome Lightwire service on campus, but my home, with my Cisco Aironet 123AG access point, the last place in the world I expect to have problems. For those lucky enough not to experience slack WiFi, the problem is that [...]]]></description> <content:encoded><![CDATA[<p>So, since buying my iPhone 3GS, it&#8217;s been plauged with speed issues over WiFi. Not the awesome <a
href="http://www.lightwire.co.nz">Lightwire</a> service on campus, but my home, with my Cisco Aironet 123AG access point, the <em>last</em> place in the world I expect to have problems.</p><p>For those lucky enough not to experience slack WiFi, the problem is that is some applications are completely unusable. Using the <a
href="http://i.dslr.net/tinyspeedtest.html">http://i.dslr.net/tinyspeedtest.html</a> website, my iPhone (on good days) gets ~4000ms pings and I~50kbps. But there should be no reason for this; The speedtest.net app works fine, showing speeds of ~14Mbps&#8230; Curious&#8230;</p><p>So, I did some packet captures (the capture point being on wired ethernet, directly after the AP); the iPhone takes seconds to ACK the TCP packets when running Mail or Safari (didn&#8217;t bother testing any other applications).</p><p>My logic may be failed, but if I run the test and get 256ms and 3500kbps on my MacBook, there should be no reason why this isn&#8217;t possible on my iPhone. My MacBook uses .11a, while the iPhone 3GS seems to only use .11b/g (which is very odd, because <a
href="http://www.phonewreck.com/2009/06/19/iphone-3gs-teardown-and-analysis/">the chipset is there to support 802.11a</a>), so each device isn&#8217;t sharing radio space with the other.</p><p>So I tried screwing with the settings, and the thing which had the most profound effect was the Beacon Interval. By changing it from 4000 Kusec to 40 Kusec, instantly I went from having ~4000ms pings to ~330ms pings, and a usable data rate of 864kbps! I then lowered it to the absolutely lowest time possible, 20 Kusec, and now have ~285ms pings and ~1500kbps to <a
href="http://i.dslr.net/tinyspeedtest.html">http://i.dslr.net/tinyspeedtest.html</a>.</p><p>This does, however, bring one very pressing question;Â Why does this only affect my 3GS? Beverley&#8217;s original iPhone worked fine before changing the settings, as well as our 2 laptops, and various visitor&#8217;s laptops. In fact, I used this and 4 other identical APs at the <a
href="http://www.xlan.co.nz">NZ WCG</a>, providing internets to ~25 different laptops and PDAs of various descriptions, all roaming around the event, with the exact same configuration I started with, <strong>and not a single complaint</strong>. It obviously can&#8217;t be the fault of the AP&#8230; can it?</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2009/iphone-3gs-wifi-speed-issues/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
