<?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>Mental Note: Change This Title &#187; Finish Writing Me Plz</title>
	<atom:link href="http://www.crccheck.com/blog/category/drafts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.crccheck.com/blog</link>
	<description>And change this tagline too</description>
	<lastBuildDate>Tue, 07 Sep 2010 06:29:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>print_r() for javascript</title>
		<link>http://www.crccheck.com/blog/2009/07/print_r-for-javascript/</link>
		<comments>http://www.crccheck.com/blog/2009/07/print_r-for-javascript/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 22:10:33 +0000</pubDate>
		<dc:creator>crccheck</dc:creator>
				<category><![CDATA[Finish Writing Me Plz]]></category>
		<category><![CDATA[Nerd]]></category>

		<guid isPermaLink="false">http://www.crccheck.com/blog/?p=77</guid>
		<description><![CDATA[I typically just use uneval() to figure out what&#8217;s inside an array/object, but what about when it&#8217;s large and heterogeneous? I wanted to find a version of php&#8217;s print_r() for JavaScript. Here is link to the Original Version of dump() I based mine off of:
www.openjs.com/scripts/others/dump_function_php_print_r.php
When I tried it, the first thing I noticed what that [...]]]></description>
			<content:encoded><![CDATA[<p>I typically just use uneval() to figure out what&#8217;s inside an array/object, but what about when it&#8217;s large and heterogeneous? I wanted to find a version of php&#8217;s <a href="http://us.php.net/%20print_r" target="_blank">print_r()</a> for JavaScript. Here is link to the <a href="http://www.openjs.com/scripts/others/dump_function_php_print_r.php" target="_blank">Original Version of dump()</a> I based mine off of:</p>
<p style="text-align: center;"><a href="http://www.openjs.com/scripts/others/dump_function_php_print_r.php" target="_blank">www.openjs.com/scripts/others/dump_function_php_print_r.php</a></p>
<p style="text-align: left;">When I tried it, the first thing I noticed what that it put quotes around everything, and that long strings with line breaks got messy, so I did a quick adaptation to suit my immediate needs and came up with this:</p>
<pre>function dump(arr,level) {
  function magicquotes(value) { return (isNaN(value)) ? '"' + value.replace(/\n/g,"\n"+indent) + '"' : value; }
  level = level | 0;
  var indent = new Array(level+1).join("\t"), dumped_text = "";

  if(typeof(arr) == 'object') { //Array/Hashes/Objects
    for(var item in arr) {
      var value = arr[item];

      if(typeof(value) == 'object')
          dumped_text += indent + "'" + item + "' :\n" + dump(value,level+1);
      else
          dumped_text += indent + "'" + item + "' =&gt; " + magicquotes(value) + "\n";
    }
  } else { //Stings/Chars/Numbers etc.
    dumped_text = "===&gt;"+arr+"&lt;===("+typeof(arr)+")";
  }
  return dumped_text;
}</pre>
<p>I also found links to many other print_r(), var_dump() equivalents, but they either depended on write, were overly complicated, or returned a lot of excess text I wasn&#8217;t interested in.</p>
<p>So why not just call it print_r ? Well, the original I copied was called dump, and I&#8217;ve always been annoyed typing that underscore, so I just didn&#8217;t change it.</p>
<p>Update: found another alternative. It&#8217;s really long and puts out a lot of extraneous information, but it&#8217;s worth looking at: <a href="http://wiki.greasespot.net/Code_snippets#Dump_the_properties_of_an_object">wiki.greasespot.net/Code_snippets#Dump_the_properties_of_an_object</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.crccheck.com/blog/2009/07/print_r-for-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Things I Hate About Macs</title>
		<link>http://www.crccheck.com/blog/2008/10/things-i-hate-about-macs/</link>
		<comments>http://www.crccheck.com/blog/2008/10/things-i-hate-about-macs/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 17:55:32 +0000</pubDate>
		<dc:creator>crccheck</dc:creator>
				<category><![CDATA[Finish Writing Me Plz]]></category>
		<category><![CDATA[Life=Boring]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.crccheck.com/blog/?p=23</guid>
		<description><![CDATA[So when I get frustrated at work, I work on this list of things that annoy me while working on Macs. Of course when the problem shows up, it's things I hate about macs.]]></description>
			<content:encoded><![CDATA[<p>So when I get frustrated at work, I work on this list of things that annoy me while working on Macs. Of course when the problem shows up, it&#8217;s things I hate about Macs. I&#8217;ll update this post once in a while as I add and revise the list.</p>
<h3><a id="finder" name="finder">Finder</a></h3>
<div class="level3">
<ul>
<li class="level1">
<div class="li">Takes up too much space</div>
</li>
<li class="level1">
<div class="li">can&#8217;t copy/paste files</div>
</li>
<li class="level1">
<div class="li">mpeg 2 files have to load in memory before previewing, causing massive lag (not just mpeg2)</div>
</li>
<li class="level1">
<div class="li">Inconsistent Keyboard Shortcuts. Cmd-D shows desktop, but only work in dialogs, Cmd-1,2,3 changes views, but not in Spotlight. Back/Forward not the same as Safari</div>
</li>
<li class="level1">
<div class="li">No hierarchal structure</div>
</li>
<li class="level1">
<div class="li">hides files</div>
</li>
<li class="level1">
<div class="li">hard to see file size, free space</div>
</li>
<li class="level1">
<div class="li">orphans status windows, have to kill Finder to close them</div>
</li>
<li class="level1">
<div class="li">windows take excessive amount of space</div>
</li>
<li class="level1">
<div class="li">if a file transfer fails, Finder freaks out (data corruption, orphaned files, orphaned windows, locked files)</div>
</li>
<li class="level1">
<div class="li">[OSX 10.4] Shortcuts in Sidebar mounted across networks get de-linked occasionally</div>
</li>
</ul>
</div>
<h3><a id="quicktime" name="quicktime">Quicktime</a></h3>
<div class="level3">
<ul>
<li class="level1">
<div class="li">Can&#8217;t play AC3</div>
</li>
<li class="level1">
<div class="li">Always processes video (pixel aspect ratios, display frame size, actual frame size, etc)</div>
</li>
<li class="level1">
<div class="li">Tons of other stuff</div>
</li>
<li class="level1">
<div class="li">Takes 50% more bitrate to achieve the same quality as equivalent PC solution</div>
</li>
<li class="level1">
<div class="li">Can&#8217;t play back uncompressed AVIs unless they&#8217;re RGB</div>
</li>
</ul>
</div>
<h3><a id="os_x" name="os_x">OS X</a></h3>
<div class="level3">
<ul>
<li class="level1">
<div class="li">lack of keyboard navigation/ mouse dependent</div>
</li>
<li class="level1">
<div class="li">mouse stupidity… 1 button?!</div>
</li>
<li class="level1">
<div class="li">dialog boxes… why can&#8217;t i tab between all fields? (i know there&#8217;s an option but it&#8217;s not consistent… if it even works). Why does hitting space not do the same thing as hitting the ENTER key? it&#8217;s like they WANT you to use the mouse.</div>
</li>
</ul>
</div>
<h3><a id="fcp" name="fcp">FCP</a></h3>
<div class="level3">
<ul>
<li class="level1">
<div class="li">Doesn&#8217;t remember any settings, takes forever to do many operations because I have to go through every setting every time!</div>
</li>
<li class="level1">
<div class="li">Everytime I export to Quicktime Movie, picking the right frame size is a chore every time. Current view only works at 100% magnification and full sized viewer.</div>
</li>
<li class="level1">
<div class="li">Export to Quicktime Movie: picking AVI defaults to poor quality settings, while picking Quicktime defaults to nice settings</div>
</li>
<li class="level1">
<div class="li">can&#8217;t rename tracks</div>
</li>
<li class="level1">
<div class="li">depends too much on it&#8217;s render cache, which is wrong often times and you have to clear it and force it to rerender.</div>
</li>
<li class="level1">
<div class="li">Asks you to save everytime you open a project no matter if you actually changed anything</div>
</li>
<li class="level1">
<div class="li">Bug: broken AR for outputting 16:9 text to Compressor (it stretches it to 4:3 and then crops it to 16:9)</div>
</li>
<li class="level1">
<div class="li">No backwards compatibility at all, even between minor revisions</div>
</li>
<li class="level1">
<div class="li">Media Manager can&#8217;t handle files with the same name, but different paths.</div>
</li>
<li class="level1">
<div class="li">Can&#8217;t play back AAC audio</div>
</li>
<li class="level1">
<div class="li">Broken 44.1 ↔ 48 sample rate conversion</div>
</li>
<li class="level1">
<div class="li">broken frame geometry</div>
</li>
<li class="level1">
<div class="li">Auto-sequence-settings doesn&#8217;t change audio settings to match the source</div>
</li>
</ul>
</div>
<h3><a id="compressor" name="compressor">Compressor</a></h3>
<div class="level3">
<ul>
<li class="level1">
<div class="li">buggy, unreliable</div>
</li>
<li class="level1">
<div class="li">doesn&#8217;t take advantage of multiple cores. I&#8217;m rendering here and none of my 4 cores is above 25% utilization!</div>
</li>
<li class="level1">
<div class="li">new UI is horrible, everything takes up so much space</div>
</li>
<li class="level1">
<div class="li">can&#8217;t apply a setting or destination to multiple files</div>
</li>
<li class="level1">
<div class="li">rename auto selects the file extension too. not consistent with OSX 10.5 Leopard</div>
</li>
</ul>
</div>
<h3><a id="dvd_studio_pro" name="dvd_studio_pro">DVD Studio Pro</a></h3>
<div class="level3">
<ul>
<li class="level1">
<div class="li">Converts everything to mpeg-2, even if it re-renders (unnecessary renders)</div>
</li>
<li class="level1">
<div class="li">quits so easily. not robust. causes most of the problems itself</div>
</li>
<li class="level1">
<div class="li">buggy</div>
</li>
<li class="level1">
<div class="li">refuses to use assets even if they&#8217;re within <acronym title="specification">spec</acronym> and play elsewhere</div>
</li>
<li class="level1">
<div class="li">can&#8217;t interchange m2v and mpv file extensions</div>
</li>
<li class="level1">
<div class="li">Won&#8217;t remember Asset sort preference</div>
</li>
<li class="level1">
<div class="li">Scrolling through Assets is laggy</div>
</li>
<li class="level1">
<div class="li">Refreshed Assets = Broken Asset = start over from scratch</div>
</li>
<li class="level1">
<div class="li">marker placement is stupid (won&#8217;t snap to GOPs post-creation)</div>
</li>
<li class="level1">
<div class="li">audio gets off sync unless babied</div>
</li>
<li class="level1">
<div class="li">audio and video can&#8217;t be grouped together</div>
</li>
<li class="level1">
<div class="li">can&#8217;t zoom/pan around the track w/o workarounds</div>
</li>
<li class="level1">
<div class="li">can&#8217;t encode assets over the network</div>
</li>
<li class="level1">
<div class="li">one a process fails, it will always fail until you restart the program</div>
</li>
</ul>
</div>
<h3><a id="hardware" name="hardware">Hardware</a></h3>
<div class="level3">
<ul>
<li class="level1">
<div class="li">c&#8217;mon… two button mouse please, three would be better. Personally, I prefer 7</div>
</li>
<li class="level1">
<div class="li">optical drives (i know apple doesn&#8217;t make them) are unreliable. give more read errors than what other OEMs</div>
</li>
<li class="level1">
<div class="li">headphone jack high pitch noise problem</div>
</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.crccheck.com/blog/2008/10/things-i-hate-about-macs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working with 10bit 4:2:2 Quicktimes</title>
		<link>http://www.crccheck.com/blog/2008/10/working-with-10bit-422/</link>
		<comments>http://www.crccheck.com/blog/2008/10/working-with-10bit-422/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 20:31:48 +0000</pubDate>
		<dc:creator>crccheck</dc:creator>
				<category><![CDATA[Film]]></category>
		<category><![CDATA[Finish Writing Me Plz]]></category>

		<guid isPermaLink="false">http://www.crccheck.com/blog/?p=19</guid>
		<description><![CDATA[So I finally got around to doing some compression tests. My source was a 1280&#215;720 23.98fps 10bit 4:2:2 &#8220;uncompressed&#8221; quicktime. That is a typical file that comes across my desk. I wanted to see what compression I should set my Final Cut Pro timeline to. At first, I opened the quicktime in Quicktime Player and [...]]]></description>
			<content:encoded><![CDATA[<p>So I finally got around to doing some compression tests. My source was a 1280&#215;720 23.98fps 10bit 4:2:2 &#8220;uncompressed&#8221; quicktime. That is a typical file that comes across my desk. I wanted to see what compression I should set my Final Cut Pro timeline to. At first, I opened the quicktime in Quicktime Player and exported to a variety of codecs. But when I opened all of the files, I noticed that they were all darker than they should have been. That indicated to me that Quicktime Player had done some sort of colorspace conversion. So I redid the same test from inside Final Cut Pro. Sequence Settings were set to the same as the source video.</p>
<p>For the test, I used these codecs:</p>
<ul>
<li>None</li>
<li>Animation (100%)</li>
<li>PNG</li>
<li>Apple Intermediate Codec</li>
<li>MJPEG-a</li>
<li>MJPEG-b</li>
<li>HDV</li>
<li>DVCPRO HD</li>
<li>Prores</li>
<li>Prores (hq)</li>
<li>4:2:2 8-bit</li>
<li>4:2:2 10-bit</li>
</ul>
<h2>Results</h2>
<dl id="attachment_21" class="wp-caption aligncenter" style="width: 510px;">
<dt class="wp-caption-dt"><a href="http://www.crccheck.com/blog/wp-content/uploads/2008/10/codec-compare.png"><img class="size-full wp-image-21 aligncenter" title="codec-compare" src="http://www.crccheck.com/blog/wp-content/uploads/2008/10/codec-compare.png" alt="bar graph" width="500" height="254" /></a></dt>
</dl>
<p>So I noticed that None, Animation, PNG, Apple Intermediate Codec, and MJPEG went through a colorspace conversion. So I won&#8217;t be using them again.</p>
<p>HDV and DVCPRO HD were slightly fuzzier than the original, but also smaller than the remaining formats. DVCPRO HD also underwent a slight tonal change in image quality. DVCPRO HD also has poor cross-platform support, and both of these formats have restrictions on their frame size.</p>
<p>Prores lived up to its name, and was as fast to compress as the 4:2:2 &#8220;uncompressed&#8221; formats, while also yielding files over 75% smaller, with little perceptual quality loss. They also had the benefit of not causing FCP to re-render the timeline.</p>
<p>&lt;needs more pics&gt;</p>
<h2>Conclusion</h2>
<p>I&#8217;ll have to re-run this test with a simple filter applied to the image. I&#8217;ll probably add 8 pixels of black to the bottom or something. I think that 4:2:2 10-bit won the fps race because Final Cut Pro just copied the data instead of having to recompress as it did with all the other formats. I also haven&#8217;t figured out why Prores HQ was faster than Prores.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crccheck.com/blog/2008/10/working-with-10bit-422/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pen Density Function</title>
		<link>http://www.crccheck.com/blog/2008/04/pen-density-function/</link>
		<comments>http://www.crccheck.com/blog/2008/04/pen-density-function/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 07:20:00 +0000</pubDate>
		<dc:creator>crccheck</dc:creator>
				<category><![CDATA[Finish Writing Me Plz]]></category>
		<category><![CDATA[Nerd]]></category>
		<category><![CDATA[pics plz]]></category>

		<guid isPermaLink="false">http://www.crccheck.com/blog/?p=12</guid>
		<description><![CDATA[Hmmm, I think that for every environment and every situation, there exists a minimum density of pens such that the average time it takes for a someone looking for a pen is less than the amount of time before frustration sets in.

d = minimum density of pens
p = density of people
v = average velocity of [...]]]></description>
			<content:encoded><![CDATA[<p>Hmmm, I think that for every environment and every situation, there exists a minimum density of pens such that the average time it takes for a someone looking for a pen is less than the amount of time before frustration sets in.</p>
<ol>
<li>d = minimum density of pens</li>
<li>p = density of people</li>
<li>v = average velocity of user</li>
<li>t = mean time between pen usage</li>
<li>f = time it takes for user to get frustrated</li>
<li>k = konstant</li>
</ol>
<p>d = p • k • v² / f / t</p>
<p>For me, I think that <em>d</em> is around 0.25 pens/m² in my standard environment.</p>
<p>Now to calculate how the probability density function relates to the pen density function and write it up in a portable document format.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crccheck.com/blog/2008/04/pen-density-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modding the Promise NS4300N</title>
		<link>http://www.crccheck.com/blog/2008/03/modding-the-promise-ns4300n/</link>
		<comments>http://www.crccheck.com/blog/2008/03/modding-the-promise-ns4300n/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 06:09:18 +0000</pubDate>
		<dc:creator>crccheck</dc:creator>
				<category><![CDATA[Finish Writing Me Plz]]></category>
		<category><![CDATA[Nerd]]></category>
		<category><![CDATA[warranty breaker]]></category>

		<guid isPermaLink="false">http://www.crccheck.com/blog/2008/03/modding-the-promise-ns4300n/</guid>
		<description><![CDATA[I&#8217;ve been really happy with the Promise NS4300 network attached storage (NAS). It&#8217;s biggest weakness is its noise. I got sick of it so I pulled it apart to see what I could do about it.  The PSU fan was a 40&#215;40x20 fan (model AD0412UB-C50). Here&#8217;s a spec sheet. The noise level is rated [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been really happy with the Promise NS4300 network attached storage (NAS). It&#8217;s biggest weakness is its noise. I got sick of it so I pulled it apart to see what I could do about it.  The PSU fan was a 40&#215;40x20 fan (model AD0412UB-C50). Here&#8217;s a <a href="http://us.100y.com.tw/PNoInfo/41490.htm">spec sheet</a>. The noise level is rated at 36.1 dBA. Finding info on the 80&#215;80x15 case fan (model fd128015eb) was a little tougher. It&#8217;s noise level is rated at 37.5dBa.</p>
<p>So far, all I&#8217;ve done is put some neoprene washers to isolate the vibrations of the PSU fan and replaced the 80&#215;80x15 with a 92&#215;92x25 fan. I mounted the new fan on the outside of the unit. It makes it uglier, but so far it&#8217;s been much quieter. I&#8217;ll make guides on how to crack open the housing and what I did later. (Hint: you&#8217;ll need a T10 security bit)</p>
<p>The only thing wrong now is that the rpm sensor for the case fan isn&#8217;t working, so the unit kept beeping incessantly. I gotta find out if I messed up my fan&#8217;s rpm sensor or what. Luckily the web admin interface lets you disable the beeping.</p>
<p>I haven&#8217;t expanded the grill for the 92mm fan from the 80mm fan yet. After I do that, I can disable the PSU fan and duct it into the case fan. With the new fan on its lowest speed, the case is 39 deg C. With the fan on its highest speed (it&#8217;s still quieter than the old fan) it goes down to 35 deg C.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crccheck.com/blog/2008/03/modding-the-promise-ns4300n/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
