<?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>Joe Auricchio</title>
	<atom:link href="http://joe.definitelynotsafe.com/feed" rel="self" type="application/rss+xml" />
	<link>http://joe.definitelynotsafe.com</link>
	<description>Missing the point since 1986</description>
	<lastBuildDate>Wed, 13 Jan 2010 21:56:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MacBook Maintenance, and Patience</title>
		<link>http://joe.definitelynotsafe.com/macbook-maintenance-and-patience</link>
		<comments>http://joe.definitelynotsafe.com/macbook-maintenance-and-patience#comments</comments>
		<pubDate>Tue, 05 Jan 2010 19:42:17 +0000</pubDate>
		<dc:creator>Joe Auricchio</dc:creator>
				<category><![CDATA[Doing]]></category>

		<guid isPermaLink="false">http://joe.definitelynotsafe.com/?p=382</guid>
		<description><![CDATA[Over this winter break, a friend asked me to replace her MacBook&#8217;s display. It was cracked and showed no image at all, just frozen colorful static. Whatever trauma befell the poor machine broke more than just the display&#8212;hard drive, optical drive, and keyboard/topcase had just been replaced.
Repairing Apple&#8217;s older laptops is notoriously difficult. They are [...]]]></description>
			<content:encoded><![CDATA[<p>Over this winter break, a friend asked me to replace her MacBook&#8217;s display. It was cracked and showed no image at all, just frozen colorful static. Whatever trauma befell the poor machine broke more than just the display&mdash;hard drive, optical drive, and keyboard/topcase had just been replaced.</p>
<p>Repairing Apple&#8217;s older laptops is notoriously difficult. They are not easy to work on. They are not designed to be: they are designed to be compact, durable, and look nice. Even apparently simple tasks can require removing dozens of tiny screws and disengaging delicate plastic tabs. Just before I went to college, I replaced a PowerBook G3 Lombard&#8217;s infamous right hinge; that was a fun two hours. Optical drives can&#8217;t be done in less than half an hour. Hard drives are sometimes a bit easier, sometimes not.</p>
<p>But a MacBook&#8217;s display is a <em>special</em> kind of difficult to remove. <a href="http://cfcl.com/rick/macsonly/index.html">My father</a>, who does Mac tech support and repairs for a living now, wouldn&#8217;t attempt the screen swap&mdash;it takes so long, that at the going labor rate, it&#8217;s prohibitively expensive. But &#8220;fools rush in&#8221;, so I volunteered for the suicide mission.</p>
<p>So I spent a day performing <a href="http://www.ifixit.com/Guide/Repair/Installing-MacBook-Core-2-Duo-LCD-Panel/1498/1">61 &#8220;Very Difficult&#8221; steps</a> forward then backward. It took five hours.</p>
<p>It seemed like a good idea to make a timelapse video of the process.</p>
<p><a href="/macbook-timelapse.mp4" target="_blank"><img src="/macbook-timelapse-poster.jpg" width="480" height="360"></a><br/><br />
<small>There&#8217;s also a 40MB <a href="/macbook-timelapse-hq.mp4" target="_blank">higher-quality version</a>, at a slower pace, so you can see what&#8217;s really happening instead of a crazy blur.</small></p>
<p>I used printed instructions from <a href="http://ifixit.com/">the magnificent iFixit.com</a>. A few times, I had to look at the higher-resolution color pictures on my computer to see exactly which screw I was supposed to remove; the orange, red, and yellow diagrams don&#8217;t translate well from screen to greyscale laser printer.</p>
<p><img src="/macbook-timelapse-instructions.jpg" width="480" height="360"/></p>
<p>As I removed screws and small parts, I taped them to the paper right next to the instruction, arranged in the same left-to-right order as their points of installation. The tape kept all the parts where they were supposed to be, and none got lost; I never confused similar-but-not-identical screws; I had parts exactly when I needed to reinstall them; and I moved completed pages aside, along with all their screws and parts. This tape trick came to me in a flash of insight while driving around town. I know I&#8217;m not the first person to come up with this, but I thought it was pretty clever, if I do say so myself ;)</p>
<p>I hit two snags in the repair process. First, after I swapped panels and reassembled the machine, the backlight didn&#8217;t work. You can&#8217;t quite see it in the video, but when I powered the machine up, the grey screen with Apple logo appeared like normal, but very very dimly. The LCD worked but it was almost impossible to see anything without the backlight. At first I panicked: did I break it? Did I <a href="http://en.wikipedia.org/wiki/Electrostatic_discharge#ESD_Damage_due_to_charge_potentials">fry something with static electricity</a>? The <a href="http://www.ifixit.com/Guide/Repair/MacBook-Core-2-Duo-LCD-Panel/1498/15#s1218">inverter board</a> that powers the backlight: is it more delicate than it seemed? As I reviewed the iFixit instructions to be sure I&#8217;d done everything right, I noticed <a href="http://www.ifixit.com/Guide/Repair/MacBook-Core-2-Duo-LCD-Panel/1498/16#c3251">a comment that explained what I did wrong</a>. I took everything apart again, opened up the top half, and checked that inverter connector. Sure enough, it hadn&#8217;t &#8220;snapped&#8221;. I reconnected the essential cables and tested again, and the screen fired right up. Perfect. Whew.</p>
<p><img src="/macbook-timelapse-bezel.jpg" width="480" height="360"/></p>
<p>The second snag was reassembling the <a href="http://www.ifixit.com/Guide/Repair/MacBook-Core-2-Duo-LCD-Panel/1498/13#top">front display bezel</a>. It&#8217;s hard to see from the iFixit pictures, but between the white or black bezel and the metal frame there are twelve small grey plastic pieces. These grey bits are supposed to pop into the metal frame and stay there permanently. The protrusions on the back of the bezel slide into slots in the grey bits, holding on the bezel by friction. When I slid a credit card under the bezel, the bezel was supposed to detach from the grey bits. Unfortunately, what really happened is that the grey bits stayed tenaciously attached to the bezel, and I pulled up bezel and bits from the frame. I don&#8217;t know if this was because of aging materials, manufacturing variation, or (most likely) my sloppy credit card technique. The grey pieces wouldn&#8217;t snap back into the frame&mdash;they just bent. So I had to carefully pull all twelve off the bezel, bend their tabs back into shape, and pop them back into the frame. Finally I put the bezel back on. The iSight lens really didn&#8217;t want to stay in the bezel, so I had to flip the whole thing upside down to let gravity keep it in place. That was a small pain.</p>
<p>The hardest part was slowing down, taking my time, and working carefully and methodically. I&#8217;m a naturally impatient person. I hate wasting time, or spending more than is needed. And yet every time I tried to rush something (taking out a screw) or let my attention drift (looking at the various chips on the logic board, instead of the screwhead), I made a mistake (screw fell into the deep recesses of the case and had to be retrieved). I constantly had to make myself focus, slow down, and be patient. These are not things I usually do. The real challenge of this repair wasn&#8217;t the dexterity of my fingers, the keenness of my eyes, or finding a way forward when reality didn&#8217;t match the instructions. The real challenge was to myself: to sit quietly and do one thing at a time, carefully and attentively.</p>
<blockquote><p> All man&#8217;s miseries derive from a single cause: the inability to sit in a quiet room alone.</p></blockquote>
<p>&mdash;Blaise Pascal (unsourced)</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.definitelynotsafe.com/macbook-maintenance-and-patience/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CISC vs RISC in 2003</title>
		<link>http://joe.definitelynotsafe.com/336</link>
		<comments>http://joe.definitelynotsafe.com/336#comments</comments>
		<pubDate>Wed, 18 Mar 2009 23:51:52 +0000</pubDate>
		<dc:creator>Joe Auricchio</dc:creator>
				<category><![CDATA[Quoting]]></category>

		<guid isPermaLink="false">http://joe.definitelynotsafe.com/?p=336</guid>
		<description><![CDATA[Furthermore, x86 represents a worst case in the areas where it differs significantly from RISC-style processors&#8230;
Paul Barham, et al., Xen and the art of virtualization, SOSP 2003. Emphasis original, deliberately taken out of context.
]]></description>
			<content:encoded><![CDATA[<blockquote><p>Furthermore, x86 represents a <i>worst case</i> in the areas where it differs significantly from RISC-style processors&#8230;</p></blockquote>
<p><cite>Paul Barham, et al., <a href="http://research.microsoft.com/en-us/um/people/tharris/papers/2003-sosp.pdf">Xen and the art of virtualization</a>, SOSP 2003.</cite> Emphasis original, deliberately taken out of context.</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.definitelynotsafe.com/336/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lessig on motivation</title>
		<link>http://joe.definitelynotsafe.com/335</link>
		<comments>http://joe.definitelynotsafe.com/335#comments</comments>
		<pubDate>Tue, 10 Mar 2009 19:45:12 +0000</pubDate>
		<dc:creator>Joe Auricchio</dc:creator>
				<category><![CDATA[Quoting]]></category>

		<guid isPermaLink="false">http://joe.definitelynotsafe.com/335</guid>
		<description><![CDATA[If the Internet has taught us anything, it is that you can always get people to do what they already want to do.
Lawrence Lessig, NYTimes
]]></description>
			<content:encoded><![CDATA[<blockquote><p>If the Internet has taught us anything, it is that you can always get people to do what they already want to do.</p></blockquote>
<p><cite>Lawrence Lessig, <a href="http://freakonomics.blogs.nytimes.com/2009/03/02/lawrence-lessig-answers-your-questions-on-copyright-corruption-and-congress/">NYTimes</a></cite></p>
]]></content:encoded>
			<wfw:commentRss>http://joe.definitelynotsafe.com/335/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Passwords and typing timing</title>
		<link>http://joe.definitelynotsafe.com/passwords-and-typing-timing</link>
		<comments>http://joe.definitelynotsafe.com/passwords-and-typing-timing#comments</comments>
		<pubDate>Wed, 25 Feb 2009 05:47:18 +0000</pubDate>
		<dc:creator>Joe Auricchio</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Doing]]></category>
		<category><![CDATA[Thinking]]></category>

		<guid isPermaLink="false">http://joe.definitelynotsafe.com/?p=333</guid>
		<description><![CDATA[I type my 17-character password very fast. It&#8217;s a strictly automatic process, all muscle-memory.
The timing is very critical and synchronization problems happen a lot. There&#8217;s lots of hand-alternation; sometimes one hand is a decisecond early or late and I type a letter out of order. Sometimes I hit J instead of H because the &#8220;down&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>I type my 17-character password <i>very fast</i>. It&#8217;s a strictly automatic process, all muscle-memory.</p>
<p>The timing is very critical and synchronization problems happen a lot. There&#8217;s lots of hand-alternation; sometimes one hand is a decisecond early or late and I type a letter out of order. Sometimes I hit J instead of H because the &#8220;down&#8221; muscles are faster than the &#8220;left&#8221; muscles.</p>
<p>All these errors are compounded because I don&#8217;t actually <i>know</i> my password consciously. I&#8217;m not typing a word, I&#8217;m just activating a motor program. I don&#8217;t think &#8220;H&#8221;, I just put my finger &#8220;where it&#8217;s supposed to go next&#8221;. So all the error-correction in the cerebellum and motor cortex that I&#8217;ve built up from a decade of typing never has a chance to help.</p>
<p>Amusingly, I can type my ordinary and root passwords just fine under the influence of alcohol. So a complex password isn&#8217;t an <a href="http://en.wikipedia.org/wiki/Ignition_interlock_device">IID</a> for a computer.</p>
<p>On a darkly humorous note, many years from now, this may be an excellent stroke diagnostic. If I can&#8217;t type my password without concentrating, it&#8217;s time to call the paramedics.</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.definitelynotsafe.com/passwords-and-typing-timing/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>It&#8217;s cool when your roommates study in your field</title>
		<link>http://joe.definitelynotsafe.com/its-cool-when-your-roommates-study-in-your-field</link>
		<comments>http://joe.definitelynotsafe.com/its-cool-when-your-roommates-study-in-your-field#comments</comments>
		<pubDate>Thu, 05 Feb 2009 10:05:42 +0000</pubDate>
		<dc:creator>Joe Auricchio</dc:creator>
				<category><![CDATA[Doing]]></category>

		<guid isPermaLink="false">http://joe.definitelynotsafe.com/?p=331</guid>
		<description><![CDATA[Rushi is reading a PDF textbook on his computer.
&#8220;Joe, do you have a physical copy of this?&#8221;
I glance at the page of text on the screen, reach over to the heap of junk piled on top of the coffee table, carefully rummage around for a moment, and pull out the book in question. He doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Rushi is reading a PDF textbook on his computer.</p>
<p>&#8220;Joe, do you have a physical copy of this?&#8221;</p>
<p>I glance at the page of text on the screen, reach over to the heap of junk piled on top of the coffee table, carefully rummage around for a moment, and pull out <a href="http://www.amazon.com/Algorithms-Sanjoy-Dasgupta/dp/0073523402">the book in question</a>. He doesn&#8217;t need to tell me what book he&#8217;s reading: <i>it haunts my dreams still</i></p>
<p><small>Of course, last quarter when I was in the undergrad algorithms course, I borrowed <i>his</i> copy of <a href="http://www.amazon.com/Algorithm-Design-Jon-Kleinberg/dp/0321295358">the Kleinberg, Tardos book</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://joe.definitelynotsafe.com/its-cool-when-your-roommates-study-in-your-field/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Defeating the Cylon Missile</title>
		<link>http://joe.definitelynotsafe.com/defeating-the-cylon-missile</link>
		<comments>http://joe.definitelynotsafe.com/defeating-the-cylon-missile#comments</comments>
		<pubDate>Mon, 19 Jan 2009 02:14:30 +0000</pubDate>
		<dc:creator>Joe Auricchio</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joe.definitelynotsafe.com/?p=329</guid>
		<description><![CDATA[
See it
Put it on your 3-9 line
Countermeasures
Turn hard into it
Pray

(BSG is sweet)
]]></description>
			<content:encoded><![CDATA[<ol>
<li>See it</li>
<li>Put it on your 3-9 line</li>
<li>Countermeasures</li>
<li>Turn hard <u>into</u> it</li>
<li>Pray</li>
</ol>
<p><small>(BSG is sweet)</small></p>
]]></content:encoded>
			<wfw:commentRss>http://joe.definitelynotsafe.com/defeating-the-cylon-missile/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Awe</title>
		<link>http://joe.definitelynotsafe.com/awe</link>
		<comments>http://joe.definitelynotsafe.com/awe#comments</comments>
		<pubDate>Mon, 19 Jan 2009 00:20:33 +0000</pubDate>
		<dc:creator>Joe Auricchio</dc:creator>
				<category><![CDATA[Thinking]]></category>

		<guid isPermaLink="false">http://joe.definitelynotsafe.com/?p=326</guid>
		<description><![CDATA[There is a professor at UCSD (Angela Yu, Cognitive Science department) who graduated from MIT with a 5.0 GPA on a 5.0 scale.
This is impressive.
She majored in theoretical math, brain &#38; cognitive sciences, and computer science. Yes, that&#8217;s three degrees.
This is dumbfounding.
She did it in four years.
This can&#8217;t be possible.
]]></description>
			<content:encoded><![CDATA[<p>There is a professor at UCSD (Angela Yu, Cognitive Science department) who graduated from MIT with a 5.0 GPA on a 5.0 scale.</p>
<p>This is impressive.</p>
<p>She majored in theoretical math, brain &amp; cognitive sciences, and computer science. Yes, that&#8217;s three degrees.</p>
<p>This is dumbfounding.</p>
<p>She did it in four years.</p>
<p>This can&#8217;t be possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.definitelynotsafe.com/awe/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Scott demonstrates that P != NP</title>
		<link>http://joe.definitelynotsafe.com/scott-demonstrates-p-notequal-np</link>
		<comments>http://joe.definitelynotsafe.com/scott-demonstrates-p-notequal-np#comments</comments>
		<pubDate>Wed, 03 Dec 2008 22:32:56 +0000</pubDate>
		<dc:creator>Joe Auricchio</dc:creator>
				<category><![CDATA[Reading]]></category>

		<guid isPermaLink="false">http://joe.definitelynotsafe.com/?p=324</guid>
		<description><![CDATA[It looks like CAPE found the original proof. Now where&#8217;s that million-dollar prize?
]]></description>
			<content:encoded><![CDATA[<p>It looks like <a href="http://cape.ucsd.edu/">CAPE</a> found the <a href="http://twinkle.tapulous.com/index.php?hash=a7936c8c79a38657b21441790bb70176afd50aa4">original proof</a>. Now where&#8217;s that million-dollar prize?</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.definitelynotsafe.com/scott-demonstrates-p-notequal-np/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari 3.2&#8217;s Anti-Phishing</title>
		<link>http://joe.definitelynotsafe.com/safari-32s-anti-phishing</link>
		<comments>http://joe.definitelynotsafe.com/safari-32s-anti-phishing#comments</comments>
		<pubDate>Sat, 29 Nov 2008 03:17:36 +0000</pubDate>
		<dc:creator>Joe Auricchio</dc:creator>
				<category><![CDATA[Reading]]></category>

		<guid isPermaLink="false">http://joe.definitelynotsafe.com/?p=321</guid>
		<description><![CDATA[MacWorld deconstructs the anti-phishing features in Safari 3.2.
Bottom line for security &#38; web developers: It&#8217;s Google&#8217;s database, they&#8217;ve been doing this for 3 years, only hashes go over the network, locally cached. It&#8217;s good stuff.
Bottom line for privacy-interested people: If you hit a suspicious hash prefix, you ask Google&#8217;s servers for the full hash. In [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.macworld.com/article/137094/2008/11/safari_safe_browsing.html">MacWorld deconstructs</a> the anti-phishing features in Safari 3.2.</p>
<p>Bottom line for security &amp; web developers: It&#8217;s Google&#8217;s database, they&#8217;ve been doing this for 3 years, only hashes go over the network, locally cached. It&#8217;s good stuff.</p>
<p>Bottom line for privacy-interested people: If you hit a suspicious hash prefix, you ask Google&#8217;s servers for the full hash. In theory this is enough for Google to do some analytics. Certainly it doesn&#8217;t directly reveal what URLs you are really visiting. Apple&#8217;s privacy policy does not discuss any sending of data to anyone but the site you visit (i.e. it is mute on this sort of feature). It further does not bind Google from misuse of anything they could collect. Mozilla&#8217;s privacy policy covers these bases.</p>
<p>Bottom line for anyone who has better things to worry about: It&#8217;s fine, leave the checkbox on, and if it ever warns you that you may be visiting a malicious website, <b>stop</b> and listen to it. You are probably not where you intend to be. <a href="http://numist.wordpress.com/2008/08/15/keeping-you-safe-from-internet-sodomy/">Scott can explain</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.definitelynotsafe.com/safari-32s-anti-phishing/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dumb Things are Happening with Comments</title>
		<link>http://joe.definitelynotsafe.com/dumb-things-are-happening-with-comments</link>
		<comments>http://joe.definitelynotsafe.com/dumb-things-are-happening-with-comments#comments</comments>
		<pubDate>Sun, 23 Nov 2008 21:31:08 +0000</pubDate>
		<dc:creator>Joe Auricchio</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Meta]]></category>

		<guid isPermaLink="false">http://joe.definitelynotsafe.com/?p=316</guid>
		<description><![CDATA[I get a lot of spam comments on the blog here. You don&#8217;t see them, because I mark them as spam, a few hundred every week. They&#8217;re roughly uniformly distributed across all my posts. If fewer posts are open, I get fewer comments. So I want to minimize the number of comments I have to [...]]]></description>
			<content:encoded><![CDATA[<p>I get a lot of spam comments on the blog here. You don&#8217;t see them, because I mark them as spam, a few hundred every week. They&#8217;re roughly uniformly distributed across all my posts. If fewer posts are open, I get fewer comments. So I want to minimize the number of comments I have to deal with.</p>
<p>I&#8217;m trying to use Mark Kenny&#8217;s <a href="http://beingmrkenny.co.uk/extended-comment-options/">Extended Comment Options plugin</a> to automatically close comments on old posts. I used this plugin a long time ago, and it was great. But now, in WP 2.6, it seems to do <i>exactly the inverse of what it says on the box</i>: it closes my most recent posts and opens the oldest ones.</p>
<p>I don&#8217;t understand. Isn&#8217;t this just<br />
<code>UPDATE `wp_posts` SET `comment_status` = 'closed' WHERE `ID` IN (SELECT `ID` FROM `wp_posts` WHERE `post_status` = 'publish' AND `post_type` = 'post' ORDER BY `post_date_gmt` DESC) LIMIT 0,10</code></p>
<p>(Okay, it&#8217;s not quite that simple, because MySQL doesn&#8217;t do ORDER BY or LIMIT in subqueries&#8230; But it&#8217;s close! Temporary table?)</p>
<p>Has anybody got a good solution to this, better than a cron job to run that query?</p>
<p>Meanwhile, apologies to everyone who wanted to comment but couldn&#8217;t.</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.definitelynotsafe.com/dumb-things-are-happening-with-comments/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
