<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Wojno: Tag time</title>
    <link>http://christopher.wojno.com/articles/tag/time</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Exploration through Code</description>
    <item>
      <title>Mac Applications Not (Force) Quitting</title>
      <description>&lt;p&gt;I&amp;#8217;ve just recently (a few hours ago) run into applications not loading or quitting (even with Forced quits) on Mac &lt;span class="caps"&gt;OSX10&lt;/span&gt;.5 Leopard on a brand-new machine. Here&amp;#8217;s the grueling story:&lt;/p&gt;


	&lt;p&gt;I tried to read a .doc and I declined to try Office 2004 for Mac. Nothing appears wrong at this point. I then tried to launch iTunes, it had the launched icon (blue circle) under it, leading me to believe it was running, but there was no window. I could not interact with iTunes at this point. I attempted repeatedly to launch iTunes to no avail. So, I did what any self-respecting &lt;span class="caps"&gt;GUI&lt;/span&gt; user did: Quit. After ignoring the problem report, I attempted the last straw, the Force Quit. After trying that several times, also to no avail, I turned to the Internet for help. Most forums suggested unplugging your iPod when this happens. I do not have an iPod attached to the computer. So I tried a little Unix magic. But &amp;#8220;kill -9&amp;#8221; from the command line was ineffective. Trevor suggested &amp;#8220;killall Dock,&amp;#8221; (the &lt;a href="http://docs.info.apple.com/article.html?artnum=304728"&gt;Dock&lt;/a&gt; is the application &amp;#8220;Task Bar&amp;#8221; for you Windows users) but that was also ineffective. iTunes appeared thusly in ps xau:&lt;/p&gt;


&lt;pre&gt;% ps xau | grep iTunes
6432   0.0  0.0        0      0   ??   E    6:45PM   0:00.00 (iTunes)&lt;/pre&gt;

	&lt;p&gt;I&amp;#8217;ve never seen an &amp;#8220;E&amp;#8221; state before, nor a process enclosed in parenthesis. According to the man pages for ps, the &amp;#8220;E&amp;#8221; means &amp;#8220;the process is trying to exit.&amp;#8221; The man pages, however, are silent as to what (PROCESS &lt;span class="caps"&gt;NAME&lt;/span&gt;) means.&lt;/p&gt;


	&lt;h1&gt;Can&amp;#8217;t Quit, Can&amp;#8217;t Delete&lt;/h1&gt;


	&lt;p&gt;&lt;a href="http://www.apple.com/macosx/features/timemachine.html"&gt;Time Machine&lt;/a&gt; is running and was backing files up at that time to  an external &lt;span class="caps"&gt;USB&lt;/span&gt; disk. It also refused to load or force quit (like iTunes) after stopping the back up. I could also not view the trash as it claimed that items were &amp;#8220;being deleted.&amp;#8221; The system was still responsive (I could browse the Internet to look for forums with this problem, but found nothing completely applicable). I attempted to restart: &lt;span class="caps"&gt;APPLE MENU&lt;/span&gt; &amp;gt; Restart. All windows quit, but the system would not complete the restart. After trying to restart &lt;span class="caps"&gt;AGAIN&lt;/span&gt; (the dock was still visible, so I opened up a Terminal and the menu reappeared), iTunes, System Preferences (Time Machine) and trash were still inaccessible. I then forced a restart by holding down the power button.&lt;/p&gt;


	&lt;h2&gt;Office 2004 for Mac not the problem&lt;/h2&gt;


	&lt;p&gt;Now, convinced Office was the problem, to avoid this problem again I attempted to deinstall the Office 2000 Test Drive application(s). That began to run, it claimed to have progressed 1/10th of the way through (as seen by the progress bar) at which point, the application was hung. Force quit was ineffective. I submitted a problem report about Remove Office crashing. But the application persists! Force quitting that does not shut it down either. Things are getting serious.&lt;/p&gt;


	&lt;h1&gt;Time machine&lt;/h1&gt;


	&lt;p&gt;Time Machine was not actively backing up at this time. I decided to unmount the back up drive &amp;#8220;Time Machine Backups&amp;#8221; (what Time Machine calls its backup drive). This did nothing as well. The drive refused to unmount, even though backups were stopped (this was done via System Preferences &amp;gt; Time Machine and then click the circled X near &amp;#8220;Backing up&amp;#8221; or &amp;#8220;Next Backup&amp;#8221;. Since that didn&amp;#8217;t work, I decided to go for the gusto. I yanked the &lt;span class="caps"&gt;USB&lt;/span&gt; cable to the backup drive. This caused the trash to immediately empty. Remove Office quit. It appears that Time Machine is causing these hangs.&lt;/p&gt;


	&lt;h2&gt;The External Drive&lt;/h2&gt;


	&lt;p&gt;The external hard drive is a Smart Disk, 60GB FireLite XPress.&lt;/p&gt;


	&lt;p&gt;I then decided to check the disk. I launched the disk utility (Applications&amp;gt;Utilities&amp;gt;Disk Utility.app) and ran &amp;#8220;Verify Disk&amp;#8221;. It claims that the drive appears to be OK. I repaired it anyway and after a vigorous re-indexing (thank you Spotlight (AKA &amp;#8220;mdworker&amp;#8221; to ps)) the volume, again, appears to be OK. Things appear to be working again. I&amp;#8217;ll try yanking the cable if it misbehaves again.&lt;/p&gt;


	&lt;h1&gt;Problem&lt;/h1&gt;


	&lt;p&gt;Applications not quitting, even after forced quit&lt;/p&gt;


	&lt;h1&gt;Solution&lt;/h1&gt;


	&lt;p&gt;Unplug external hard drives/iPods connected via &lt;span class="caps"&gt;USB&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;Although it appears that Time Machine may be responsible, it may apply to all external &lt;span class="caps"&gt;USB&lt;/span&gt; hard drive devices.&lt;/p&gt;</description>
      <pubDate>Fri, 28 Dec 2007 21:24:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:c60ca314-725b-49ee-808e-5d43198fc135</guid>
      <author>Christopher Wojno</author>
      <link>http://christopher.wojno.com/articles/2007/12/28/mac-applications-not-force-quitting</link>
      <category>How-Tos</category>
      <category>time</category>
      <category>problem</category>
      <category>mac</category>
      <category>force</category>
      <category>usb</category>
      <category>quit</category>
      <category>application</category>
      <category>machine</category>
      <category>hard</category>
      <category>drive</category>
    </item>
    <item>
      <title>Deleting Files and the DMCA</title>
      <description>&lt;p&gt;Trevor Johns clued me into an article that ran through &lt;a href="http://www.slashdot.org"&gt;/.&lt;/a&gt; recently concerning &lt;a href="http://www.wired.com/politics/onlinerights/news/2007/08/coupons"&gt;coupon fraud.&lt;/a&gt; I am not interested in the fraud part of the case, as some people are; rather, I take an interest in the hypothetical decision about the &lt;a href="http://thomas.loc.gov/cgi-bin/query/z?c105:H.R.2281.ENR:"&gt;&lt;span class="caps"&gt;DMCA&lt;/span&gt;.&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;What interests me is, if the &lt;span class="caps"&gt;DMCA&lt;/span&gt; is applicable in this case, what impact will the judge&amp;#8217;s decision play on the rest of the United States?&lt;/p&gt;


	&lt;p&gt;First, can the &lt;span class="caps"&gt;DMCA&lt;/span&gt; be reasonably applied in this case? I have no professional training, but I&amp;#8217;ll see what I can swing.&lt;/p&gt;


	&lt;h1&gt;Facts of the case&lt;/h1&gt;


	&lt;p&gt;What are they arguing about? You can pull out a crusty gem: &amp;#8220;posting code and instructions&amp;#8230;to circumvent copy protection on&amp;#8230;coupons&lt;sup&gt;&lt;a href="#fn1"&gt;1&lt;/a&gt;&lt;/sup&gt;.&amp;#8221; So that&amp;#8217;s the legal plot. The digital coupons, which are defensible property with inherent value, are guarded by a mechanism to prevent creating more than a set number of copies by a single user on a single machine.&lt;/p&gt;


	&lt;p&gt;For the sake of addressing issues before they crop up: No, it does not matter if you have many computers and print off the same coupon from each. No, it does not matter if you have multiple users on a machine and the mechanism operates on a per-user basis (allowing you to create many accounts on the computer and therefore print many coupons off without deleting files or changing registry settings). All of that is irrelevant. What matters are the facts of the case because that is how law in the United States works. Can you make a trade secret argument here? Sure, but that has nothing to do with this case.&lt;/p&gt;


	&lt;p&gt;To regress, coupons are (and should still be considered today, even if issued digitally) a transference of right to a consumer (or  a set of consumers) by the issuing entity. The coupon is merely tangible proof of such transference. The proof is what the entity is trying to protect against copying.&lt;/p&gt;


	&lt;h1&gt;The (not-so) Clever Author&lt;/h1&gt;


	&lt;p&gt;Let&amp;#8217;s digress for a moment and enter the world of book publishing. Authors write the books to contain (well&amp;#8230; sometimes) information or a (good) story. Publishers print the books and they are distributed to the public for sale. Authors copyright their work (if they&amp;#8217;re smart that is) and transfer that right to copy to the publishers, either in part or, more frequently, in whole. Assume that this author is more clever a programmer than a lawyer (didn&amp;#8217;t get a Copyright). When attempting to get a publisher for his or her new book, a mechanism is included in the text to frustrate a publisher&amp;#8217;s attempt to make more than one copy. Should the book publisher attempt to give the book to someone else to read and deliberately modify it or the environment that mechanism expects to do so, then the publisher &lt;em&gt;may&lt;/em&gt; have violated the &lt;span class="caps"&gt;DMCA&lt;/span&gt;. Is it wrong that the publisher will profit from the work of this seemingly clever author? You bet. Is it illegal? Probably. Will the &lt;span class="caps"&gt;DMCA&lt;/span&gt; save the day? Very unlikely. Why?&lt;/p&gt;


	&lt;h2&gt;Bad Media, bad!&lt;/h2&gt;


	&lt;p&gt;To further digress, this is why I dislike the bulk of the news media. This article took a story and developed it only to the point where it entertains readers but does not convey any insightful information. I suppose that is in accord with the media mantra: &amp;#8220;report the truth.&amp;#8221; It is not the whole truth, but it is elementary fact-finding. I think it is important that this fact-finding (at any level) is done, but I would prefer to see more developed conclusions to these &amp;#8220;stories.&amp;#8221;&lt;/p&gt;


	&lt;h2&gt;Books and Coupons&lt;/h2&gt;


	&lt;p&gt;To relate the publisher and the coupons: With coupons, the author of the &amp;#8220;work&amp;#8221; is the issuing entity. It transfers the right to print coupons to the coupon-printing website which, in turn, transfers the right to you to print a coupon. Our author and publisher are in a situation similar to a coupon issuer and a coupon consumer (respectively).&lt;/p&gt;


	&lt;h1&gt;Legal Fun&lt;/h1&gt;


	&lt;p&gt;Back to our not-so-smart author/programmer and his low-down, dirty publisher (not to say that all publishers are low-down and dirty). Why does the &lt;span class="caps"&gt;DMCA&lt;/span&gt; not apply here? Go to the law. Section 1201 of the &lt;span class="caps"&gt;DMCA&lt;/span&gt; states: (emphasis added) &amp;#8220;No person shall circumvent a technological measure that &lt;em&gt;effectively&lt;/em&gt; controls access to a work protected under this title&lt;sup&gt;&lt;a href="#fn2"&gt;2&lt;/a&gt;&lt;/sup&gt;.&amp;#8221; Here&amp;#8217;s an out: will the judge consider registry keys and files as &amp;#8220;effective&amp;#8221; mechanisms to prevent the copying of those coupons? John Stottlemire (the defendant in the coupon case) and his counsel are banking on not. Observe how obvious the defendant is playing into this section of the &lt;span class="caps"&gt;DMCA&lt;/span&gt; as Kravets quotes him, &amp;#8220;All I did was erase files or registry keys. Nothing was hacked. Nothing was decoded that was any way&lt;sup&gt;&lt;a href="#fn1"&gt;1&lt;/a&gt;&lt;/sup&gt;.&amp;#8221; Brilliant. Translate: Judge, the not-so-smart coupon printer didn&amp;#8217;t take enough precautions to protect his right to copy. Judge thinks: well, that wasn&amp;#8217;t &amp;#8220;effective&amp;#8221; now was it?&lt;/p&gt;


	&lt;p&gt;Saying case-closed is premature. The judge can be clueless (not to say he or she is, I have not met the individual), but it is possible. Now what? The case hinges on that single element. Section 1201.b. includes providing instructions and software (for free or otherwise) about circumventing the hypothetically effectively protected property. Hypothetically, he&amp;#8217;s going to jail.&lt;/p&gt;


	&lt;p&gt;Not convincing enough? Try Section 1202.b &amp;#8220;REMOVAL &lt;span class="caps"&gt;OR ALTERATION OF COPYRIGHT MANAGEMENT INFORMATION&lt;/span&gt;- No person shall, without the authority of the copyright owner or the law intentionally remove or alter any copyright management information&lt;sup&gt;&lt;a href="#fn2"&gt;2&lt;/a&gt;&lt;/sup&gt;.&amp;#8221; If you read Section 1202.c.7&lt;sup&gt;&lt;a href="#fn2"&gt;2&lt;/a&gt;&lt;/sup&gt;, you&amp;#8217;ll see that the registry keys can and will likely be construed as a copyright management information.&lt;/p&gt;


	&lt;h1&gt;The Unlikely Heroes&lt;/h1&gt;


	&lt;p&gt;This doesn&amp;#8217;t look good for John Stottlemire (oh and I find it asinine that he&amp;#8217;s being associated with &lt;span class="caps"&gt;DVD&lt;/span&gt; John&lt;sup&gt;&lt;a href="#fn1"&gt;1&lt;/a&gt;&lt;/sup&gt; based on shared first names and skiffs with copyright, the talent levels just are not on par). But oh, whoever will save him!? Well. Microsoft could (I know what you&amp;#8217;re thinking: Christopher has lost it. Why would Microsoft step in? ). They are not the only ones. Guess what? Your operating system manages files. It also provides a method to delete those files. Oops, your operating system just violated 1202. Oh, they&amp;#8217;re not a non-profit educational institution or &lt;span class="caps"&gt;ISP&lt;/span&gt;? They might be liable too!? It&amp;#8217;s not my fault your honor! Microsoft let me delete my files and I&amp;#8230;&lt;em&gt;sniff&lt;/em&gt;... I&amp;#8230; Just couldn&amp;#8217;t stop!&lt;/p&gt;


	&lt;p&gt;Long shot? Why? Not-DVD-John here did the same thing: created something to help the public circumvent/alter copyright management information. I could see any file system manufacturer or distributor (which Microsoft definitely is) getting snagged in this. How could they cover themselves against liability? Implement their own copy protection scheme that the operating system manufacturer could sue &lt;em&gt;you&lt;/em&gt; for in the event someone else sues them because you cracked the copy-protection scheme. Microsoft already has this &lt;a href="http://www.microsoft.com/presspass/features/2006/oct06/10-04SoftwareProtection.mspx"&gt;well covered,&lt;/a&gt; especially in Vista.&lt;/p&gt;


	&lt;p&gt;How else can you circumvent this &lt;em&gt;hypothetically&lt;/em&gt; &amp;#8220;effective&amp;#8221; management? Reformat/reinstall your disk/operating systm (not regularly feasible, but still possible), employ disk-rollback software (you see this in school libraries, at the end of the day, you start from scratch),  or delete random files from your computer (you laugh or are afraid, but I used to do this as a kid to see what would break). Any of these actions will trigger it. Any company or person that provides the means to do so will be liable for &lt;span class="caps"&gt;DMCA&lt;/span&gt; violations.&lt;/p&gt;


	&lt;p&gt;In light of this, it is unlikely that, even if the judge did think a file is an effective protection method, he would never rule against so many major players.&lt;/p&gt;


	&lt;p&gt;Not to sound as if you wasted your time (if you learned something, you didn&amp;#8217;t), but this entire article is a waste of time, aside from prompting 2 discussions about the applicability of the &lt;span class="caps"&gt;DMCA&lt;/span&gt;. The judge will likely never find it applicable. Not worth mentioning more than once is Not-DVD-John did wrong, but not by the &lt;span class="caps"&gt;DMCA&lt;/span&gt;.&lt;/p&gt;


	&lt;h2&gt;Disclaimer&lt;/h2&gt;


	&lt;p&gt;I am not a lawyer and I have had no professional training in the field of any law. You are responsible for your own actions, always.&lt;/p&gt;


	&lt;p id="fn1"&gt;&lt;sup&gt;1&lt;/sup&gt; Kravets, David. &amp;#8220;Coupon Hacker Faces &lt;span class="caps"&gt;DMCA&lt;/span&gt; Lawsuit&amp;#8221;. &lt;em&gt;Wired.&lt;/em&gt; Aug 20, 2007. Aug 21, 2007. &amp;lt;&lt;a href ="http://www.wired.com/politics/onlinerights/news/2007/08/coupons"&gt;http://www.wired.com/politics/onlinerights/news/2007/08/coupons&lt;/a&gt;&amp;gt;.&lt;/p&gt;


	&lt;p id="fn2"&gt;&lt;sup&gt;2&lt;/sup&gt; &amp;#8220;Digital Millennium Copyright Act&amp;#8221;. &lt;em&gt;United States Government.&lt;/em&gt; House of Representatives. &amp;lt;&lt;a href="http://thomas.loc.gov/cgi-bin/query/z?c105:H.R.2281.ENR:"&gt;http://thomas.loc.gov/cgi-bin/query/z?c105:H.R.2281.ENR:&lt;/a&gt;&amp;gt;.&lt;/p&gt;</description>
      <pubDate>Tue, 21 Aug 2007 12:00:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:d43a8ae2-b37c-4f8d-a36f-7af629c4bf08</guid>
      <author>Christopher Wojno</author>
      <link>http://christopher.wojno.com/articles/2007/08/21/deleting-files-and-the-dmca</link>
      <category>Legal</category>
      <category>DMCA</category>
      <category>delete</category>
      <category>file</category>
      <category>legal</category>
      <category>absurd</category>
      <category>waste</category>
      <category>of</category>
      <category>time</category>
    </item>
  </channel>
</rss>
