<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>shazron.com</title>
	
	<link>http://www.shazron.com</link>
	<description>tech and travel</description>
	<pubDate>Mon, 17 Nov 2008 17:35:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Shazron" type="application/rss+xml" /><item>
		<title>Adobe AIR 1.5 released, what changed?</title>
		<link>http://feeds.feedburner.com/~r/Shazron/~3/455607881/</link>
		<comments>http://www.shazron.com/2008/11/16/adobe-air-15-released-what-changed/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 05:18:37 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.shazron.com/?p=116</guid>
		<description><![CDATA[Adobe AIR 1.5 has been released today for Mac OS X and Windows. Linux is still at version 1.1.
So what&#8217;s changed that I can see so far? I couldn&#8217;t find any release notes (yet). For one thing, Flash Player 10 is now included. For the Mac, its at version 10,0,12,36. For Windows (XP), it&#8217;s at version 10,0,12,37. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-117" style="margin: 5px;" title="air_icon_special" src="http://www.shazron.com/wp-content/uploads/2008/11/air_icon_special.gif" alt="" width="100" height="100" /></p>
<p>Adobe AIR 1.5 has been <a href="http://get.adobe.com/air" target="_blank">released</a> today for Mac OS X and Windows. Linux is still at version 1.1.</p>
<p>So what&#8217;s changed that I can see so far? I couldn&#8217;t find any release notes (yet). For one thing, Flash Player 10 is now included. For the Mac, its at version <strong>10,0,12,36</strong>. For Windows (XP), it&#8217;s at version <strong>10,0,12,37</strong>. It does <strong>not</strong> however, update the Flash plugins for your other browsers.</p>
<p>I also did some Javascript benchmarks using the <a href="http://www2.webkit.org/perf/sunspider-0.9/sunspider.html" target="_blank">SunSpider</a> Javascript benchmark, to see if perhaps AIR 1.5 includes the new Squirrelfish rendering engine for WebKit.</p>
<p>All tests were done on Mac OS X 10.5.5 (the smaller number the better, of course):</p>
<p><em>Safari 3.2</em>  (5525.26.12) &#8212; <strong>6530.0</strong> ms, <a href="http://www2.webkit.org/perf/sunspider-0.9/sunspider-results.html?%7B%223d-cube%22:%5B1231,857,679,602,541%5D,%223d-morph%22:%5B362,419,358,341,353%5D,%223d-raytrace%22:%5B319,406,351,265,293%5D,%22access-binary-trees%22:%5B80,427,76,79,72%5D,%22access-fannkuch%22:%5B245,244,249,249,251%5D,%22access-nbody%22:%5B760,781,533,471,502%5D,%22access-nsieve%22:%5B60,58,60,65,73%5D,%22bitops-3bit-bits-in-byte%22:%5B68,70,65,68,66%5D,%22bitops-bits-in-byte%22:%5B104,100,104,102,108%5D,%22bitops-bitwise-and%22:%5B174,179,192,201,191%5D,%22bitops-nsieve-bits%22:%5B245,256,231,226,235%5D,%22controlflow-recursive%22:%5B88,91,90,89,89%5D,%22crypto-aes%22:%5B94,82,92,103,89%5D,%22crypto-md5%22:%5B165,135,126,114,114%5D,%22crypto-sha1%22:%5B216,166,139,123,127%5D,%22date-format-tofte%22:%5B172,169,174,185,174%5D,%22date-format-xparb%22:%5B220,213,219,214,209%5D,%22math-cordic%22:%5B694,539,480,461,415%5D,%22math-partial-sums%22:%5B675,561,529,512,447%5D,%22math-spectral-norm%22:%5B360,290,262,254,218%5D,%22regexp-dna%22:%5B224,374,222,219,215%5D,%22string-base64%22:%5B170,177,164,166,179%5D,%22string-fasta%22:%5B227,224,233,217,209%5D,%22string-tagcloud%22:%5B172,170,169,168,171%5D,%22string-unpack-code%22:%5B174,213,177,175,177%5D,%22string-validate-input%22:%5B201,217,189,183,199%5D%7D" target="_blank">result</a></p>
<p><em>FireFox 3.03</em> &#8212; <strong>3211.6</strong> ms, <a href="http://www2.webkit.org/perf/sunspider-0.9/sunspider-results.html?%7B%223d-cube%22:%5B154,144,148,149,158%5D,%223d-morph%22:%5B124,122,127,119,117%5D,%223d-raytrace%22:%5B172,129,126,137,128%5D,%22access-binary-trees%22:%5B50,52,51,55,55%5D,%22access-fannkuch%22:%5B168,167,166,164,171%5D,%22access-nbody%22:%5B158,154,154,154,170%5D,%22access-nsieve%22:%5B65,55,56,55,56%5D,%22bitops-3bit-bits-in-byte%22:%5B57,46,49,47,47%5D,%22bitops-bits-in-byte%22:%5B75,78,78,76,74%5D,%22bitops-bitwise-and%22:%5B86,84,79,83,81%5D,%22bitops-nsieve-bits%22:%5B98,102,103,100,100%5D,%22controlflow-recursive%22:%5B37,43,40,43,39%5D,%22crypto-aes%22:%5B77,74,77,83,76%5D,%22crypto-md5%22:%5B66,55,54,54,66%5D,%22crypto-sha1%22:%5B54,57,58,60,54%5D,%22date-format-tofte%22:%5B227,229,225,231,225%5D,%22date-format-xparb%22:%5B158,157,156,158,153%5D,%22math-cordic%22:%5B138,143,152,144,138%5D,%22math-partial-sums%22:%5B147,150,143,142,141%5D,%22math-spectral-norm%22:%5B71,61,59,58,65%5D,%22regexp-dna%22:%5B281,283,281,277,284%5D,%22string-base64%22:%5B89,91,90,89,98%5D,%22string-fasta%22:%5B208,211,221,209,216%5D,%22string-tagcloud%22:%5B167,166,168,167,167%5D,%22string-unpack-code%22:%5B219,220,222,221,225%5D,%22string-validate-input%22:%5B117,121,114,113,112%5D%7D" target="_blank">result</a></p>
<p><em>Adobe AIR 1.5 WebKit</em> &#8212; <strong>2523.6</strong> ms, <a href="http://www2.webkit.org/perf/sunspider-0.9/sunspider-results.html?%7B%223d-cube%22:%5B132,118,118,119,116%5D,%223d-morph%22:%5B117,111,102,107,103%5D,%223d-raytrace%22:%5B123,120,130,117,118%5D,%22access-binary-trees%22:%5B52,68,51,52,63%5D,%22access-fannkuch%22:%5B113,118,118,116,123%5D,%22access-nbody%22:%5B176,182,184,175,180%5D,%22access-nsieve%22:%5B36,36,30,33,34%5D,%22bitops-3bit-bits-in-byte%22:%5B32,32,33,31,30%5D,%22bitops-bits-in-byte%22:%5B40,42,42,45,44%5D,%22bitops-bitwise-and%22:%5B84,86,87,83,85%5D,%22bitops-nsieve-bits%22:%5B95,90,82,81,85%5D,%22controlflow-recursive%22:%5B30,35,30,31,30%5D,%22crypto-aes%22:%5B61,57,55,60,56%5D,%22crypto-md5%22:%5B51,57,52,53,51%5D,%22crypto-sha1%22:%5B54,48,50,65,52%5D,%22date-format-tofte%22:%5B144,137,145,136,138%5D,%22date-format-xparb%22:%5B89,89,97,90,90%5D,%22math-cordic%22:%5B102,90,99,91,93%5D,%22math-partial-sums%22:%5B138,138,139,134,143%5D,%22math-spectral-norm%22:%5B66,55,56,55,51%5D,%22regexp-dna%22:%5B220,221,235,225,224%5D,%22string-base64%22:%5B91,95,110,111,102%5D,%22string-fasta%22:%5B103,102,118,103,111%5D,%22string-tagcloud%22:%5B137,133,155,138,134%5D,%22string-unpack-code%22:%5B136,139,145,137,137%5D,%22string-validate-input%22:%5B112,109,119,105,108%5D%7D" target="_blank">result</a></p>
<p>According to my results, Adobe AIR 1.5 WebKit&#8217;s Javascript is approximately <strong>2.59x</strong> faster than Safari 3.2, and approximately <strong>1.27x</strong> faster than Firefox 3.03. So is it Squirrelfish? Likely. Extreme? Maybe.</p>
<p>According to the <a href="http://webkit.org/blog/214/introducing-squirrelfish-extreme/" target="_blank">Surfin Safari Blog</a> (for WebKit), Squirrelfish Extreme in the nightly builds is about 3.38x faster than Safari 3.1. But since I have Safari 3.2, I guess that&#8217;s close enough? It can&#8217;t be Squirrelfish (plain) because Squirrelfish non-extreme is only 1.59x as fast as WebKit 3.1. But then it can be just general Javascript improvements as detailed in a blog post by John Gruber on <a href="http://daringfireball.net/2008/07/not_yet_squirrelly" target="_blank">Daring Fireball</a>, so who knows?!</p>
<p>Here&#8217;s the user-agent for Adobe AIR 1.5 WebKit (Mac):<br />
<em><span style="color: #0000ff;">Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.1.2 Safari/525.21</span></em></p>
<p>All the version numbers in the AIR 1.5 user-agent are older than Safari 3.2 (Mac) though, which is:<br />
<em><span style="color: #0000ff;">Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; en-us) AppleWebKit/525.26.2 (KHTML, like Gecko) Version/3.2 Safari/525.26.12</span></em></p>
<p>So the evidence is inconclusive for Squirrelfish. Still no SVG support in Adobe AIR 1.5 WebKit though, no surprise there <img src='http://www.shazron.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><strong>(UPDATE):</strong> According to this new <a href="http://www.adobe.com/devnet/logged_in/rchristensen_lpolanco_air_1.5.html" target="_blank">Adobe blog post</a>, Adobe AIR 1.5 includes Squirrelfish, but does not mention the Extreme variant.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Adobe+AIR+1.5" rel="tag"> Adobe AIR 1.5</a>, <a href="http://technorati.com/tag/changes" rel="tag"> changes</a>, <a href="http://technorati.com/tag/squirrelfish" rel="tag"> squirrelfish </a></p>
<img src="http://feeds.feedburner.com/~r/Shazron/~4/455607881" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shazron.com/2008/11/16/adobe-air-15-released-what-changed/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.shazron.com/2008/11/16/adobe-air-15-released-what-changed/</feedburner:origLink></item>
		<item>
		<title>Quicktime on Safari - Question Mark</title>
		<link>http://feeds.feedburner.com/~r/Shazron/~3/329929483/</link>
		<comments>http://www.shazron.com/2008/07/08/quicktime-on-safari-question-mark/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 15:57:40 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.shazron.com/?p=96</guid>
		<description><![CDATA[Ok, I don&#8217;t know what it is with my OS X install lately after installing OS update 10.5.4 but things seem to be broken left and right. Besides the trash issue in a previous post, Quicktime movies will not play in Safari - but they do play in Firefox. I updated to the latest Quicktime [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, I don&#8217;t know what it is with my OS X install lately after installing OS update 10.5.4 but things seem to be broken left and right. Besides the trash issue in a previous post, Quicktime movies will not play in Safari - but they do play in Firefox. I updated to the latest Quicktime (7.5) and still no go after a restart. After trawling through numerous support forums, this is what worked for me:</p>
<ol>
<li>Navigate to the &#8220;/Library/Internet Plug-Ins&#8221; folder</li>
<li>Delete the &#8220;QuickTime Plugin.webplugin&#8221; file</li>
<li>Restart Safari</li>
</ol>
<p>Go to <a href="http://www.apple.com/trailers">http://www.apple.com/trailers</a> to test.</p>
<p> </p>
<p>Technorati Tags: <a href="http://technorati.com/tag/quicktime+question+mark" rel="tag"> quicktime question mark</a>, <a href="http://technorati.com/tag/safari" rel="tag"> safari </a></p>
<img src="http://feeds.feedburner.com/~r/Shazron/~4/329929483" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shazron.com/2008/07/08/quicktime-on-safari-question-mark/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.shazron.com/2008/07/08/quicktime-on-safari-question-mark/</feedburner:origLink></item>
		<item>
		<title>Mac OS X - Files won’t go in the Trash</title>
		<link>http://feeds.feedburner.com/~r/Shazron/~3/329558478/</link>
		<comments>http://www.shazron.com/2008/07/07/mac-os-x-files-wont-go-in-the-trash/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 06:31:37 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.shazron.com/?p=95</guid>
		<description><![CDATA[Most likely your Trash folder is not owned by you anymore. To fix:

Open Terminal.app, and type in the next 3 commands:
sudo chown &#60;your_user_name&#62;:staff ~/.Trash
sudo chmod 700 ~/.Trash
killall Finder

Technorati Tags:  empty trash immediately,  mac os x 
]]></description>
			<content:encoded><![CDATA[<p>Most likely your Trash folder is not owned by you anymore. To fix:</p>
<ol>
<li>Open Terminal.app, and type in the next 3 commands:</li>
<li>sudo chown &lt;your_user_name&gt;:staff ~/.Trash</li>
<li>sudo chmod 700 ~/.Trash</li>
<li>killall Finder</li>
</ol>
<div><p>Technorati Tags: <a href="http://technorati.com/tag/empty+trash+immediately" rel="tag"> empty trash immediately</a>, <a href="http://technorati.com/tag/mac+os+x" rel="tag"> mac os x </a></p></div>
<img src="http://feeds.feedburner.com/~r/Shazron/~4/329558478" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shazron.com/2008/07/07/mac-os-x-files-wont-go-in-the-trash/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.shazron.com/2008/07/07/mac-os-x-files-wont-go-in-the-trash/</feedburner:origLink></item>
		<item>
		<title>Stressful blogging</title>
		<link>http://feeds.feedburner.com/~r/Shazron/~3/265212522/</link>
		<comments>http://www.shazron.com/2008/04/06/stressful-blogging/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 19:28:53 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.shazron.com/2008/04/06/stressful-blogging/</guid>
		<description><![CDATA[The New York Times has an article about prominent bloggers being stressed out. Hey, just like a &#8220;real&#8221; job (not that theirs is not real of course). In their pay-per-click world, I don&#8217;t know if it will ever get less stressful. Just like any other business. I&#8217;m sure if they quit, some other blogger will [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.shazron.com/wp-content/uploads/2008/04/blog.jpg"><img class="alignleft alignnone size-thumbnail wp-image-94" style="float: left;" title="blog" src="http://www.shazron.com/wp-content/uploads/2008/04/blog-150x150.jpg" alt="" width="150" height="150" /></a>The New York Times has an <a href="http://www.nytimes.com/2008/04/06/technology/06sweat.html?em&amp;ex=1207627200&amp;en=69cf34c83a584d3f&amp;ei=5087%0A">article</a> about prominent bloggers being stressed out. Hey, just like a &#8220;real&#8221; job (not that theirs is not real of course). In their pay-per-click world, I don&#8217;t know if it will ever get less stressful. Just like any other business. I&#8217;m sure if they quit, some other blogger will fill the void.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/blogging" rel="tag">blogging</a></p>
<img src="http://feeds.feedburner.com/~r/Shazron/~4/265212522" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shazron.com/2008/04/06/stressful-blogging/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.shazron.com/2008/04/06/stressful-blogging/</feedburner:origLink></item>
		<item>
		<title>VNC to OS X Leopard from Windows</title>
		<link>http://feeds.feedburner.com/~r/Shazron/~3/250900276/</link>
		<comments>http://www.shazron.com/2008/03/13/vnc-to-os-x-leopard-from-windows/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 17:50:23 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.shazron.com/2008/03/13/vnc-to-os-x-leopard-from-windows/</guid>
		<description><![CDATA[Here are the steps:

Download RealVNC
Launch it
Select the &#8220;Options&#8230;&#8221; button
Select the &#8220;Full Colour (all available colours)&#8221; radio button in the &#8220;Colour and Encoding&#8221; tab

Selecting any other colour level will make RealVNC close abruptly after connection.
Technorati Tags:  vnc,  leopard,  os x,  xp,  vista,  windows 
]]></description>
			<content:encoded><![CDATA[<p><img src="/wp-content/uploads/2008/03/realvnc.gif" style="margin: 0pt 10px 10px 0pt; float: right" alt="realvnc.gif" />Here are the steps:</p>
<ol>
<li>Download <a href="http://www.realvnc.com/">RealVNC</a></li>
<li>Launch it</li>
<li>Select the &#8220;Options&#8230;&#8221; button</li>
<li>Select the &#8220;Full Colour (all available colours)&#8221; radio button in the &#8220;Colour and Encoding&#8221; tab</li>
</ol>
<p>Selecting any other colour level will make RealVNC close abruptly after connection.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/vnc" rel="tag"> vnc</a>, <a href="http://technorati.com/tag/leopard" rel="tag"> leopard</a>, <a href="http://technorati.com/tag/os+x" rel="tag"> os x</a>, <a href="http://technorati.com/tag/xp" rel="tag"> xp</a>, <a href="http://technorati.com/tag/vista" rel="tag"> vista</a>, <a href="http://technorati.com/tag/windows" rel="tag"> windows </a></p>
<img src="http://feeds.feedburner.com/~r/Shazron/~4/250900276" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shazron.com/2008/03/13/vnc-to-os-x-leopard-from-windows/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.shazron.com/2008/03/13/vnc-to-os-x-leopard-from-windows/</feedburner:origLink></item>
		<item>
		<title>Leaving Atimi (hello Windows!)</title>
		<link>http://feeds.feedburner.com/~r/Shazron/~3/250885505/</link>
		<comments>http://www.shazron.com/2008/03/13/leaving-atimi-hello-windows/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 17:36:51 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.shazron.com/2008/03/13/leaving-atimi-hello-windows/</guid>
		<description><![CDATA[I have left Atimi Software Inc. after three years being there, for personal reasons. I loved developing for the Mac, and now is an exciting time especially with the iPhone and its SDK &#8212; but it is back to the Windows world for me. I still will develop Mac stuff as a hobby, for sure. [...]]]></description>
			<content:encoded><![CDATA[<p>I have left <a href="http://www.atimi.com">Atimi Software Inc.</a> after three years being there, for personal reasons. I loved developing for the Mac, and now is an exciting time especially with the iPhone and its SDK &#8212; but it is back to the Windows world for me. I still will develop Mac stuff as a hobby, for sure. An opportunity presented itself to get in on the ground level with a web startup that I couldn&#8217;t pass up, I will blog more about it when it is appropriate.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/atimi" rel="tag"> atimi </a></p>
<img src="http://feeds.feedburner.com/~r/Shazron/~4/250885505" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shazron.com/2008/03/13/leaving-atimi-hello-windows/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.shazron.com/2008/03/13/leaving-atimi-hello-windows/</feedburner:origLink></item>
		<item>
		<title>Linus Torvalds on Git, at Google</title>
		<link>http://feeds.feedburner.com/~r/Shazron/~3/239224128/</link>
		<comments>http://www.shazron.com/2008/02/21/linus-torvalds-on-git-at-google/#comments</comments>
		<pubDate>Fri, 22 Feb 2008 05:46:44 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.shazron.com/2008/02/21/linus-torvalds-on-git-at-google/</guid>
		<description><![CDATA[Linus Torvald&#8217;s talk at Google, about Git, a distributed version control system. I screen-captured his slides, and they are available for download or for view. I&#8217;ve been playing with git a bit in my personal projects. My workplace still uses Perforce though.
When on the road, I have the whole repo with me and can check-in [...]]]></description>
			<content:encoded><![CDATA[<p>Linus Torvald&#8217;s <a href="http://www.youtube.com/watch?v=4XpnKHJAok8" target="_blank">talk at Google</a>, about <a href="http://git.or.cz/" target="_blank">Git</a>, a distributed version control system. I screen-captured his slides, and they are available for <a href="/files/LinusOnGitAtGoogle.pdf?PHPSESSID=330bbf187f85921ece8a69f307792410">download</a> or for <a href="http://www.pdfmenot.com/view/http://www.shazron.com/files/LinusOnGitAtGoogle.pdf" target="_blank">view</a>. I&#8217;ve been playing with git a bit in my personal projects. My workplace still uses <a href="http://www.perforce.com" target="_blank">Perforce</a> though.</p>
<p>When on the road, I have the whole repo with me and can check-in my changes, revert, etc. When I get home, I can push my changes to my server and that can act as my &#8220;backup&#8221;. Although with Xcode 3.0 and its &#8220;snapshot&#8221; feature, I can sort of simulate this, but I would use that as a last resort though.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Linus+Torvalds" rel="tag"> Linus Torvalds</a>, <a href="http://technorati.com/tag/git" rel="tag"> git</a>, <a href="http://technorati.com/tag/distributed+version+control" rel="tag"> distributed version control</a>, <a href="http://technorati.com/tag/Google" rel="tag"> Google </a></p>
<img src="http://feeds.feedburner.com/~r/Shazron/~4/239224128" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shazron.com/2008/02/21/linus-torvalds-on-git-at-google/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.shazron.com/2008/02/21/linus-torvalds-on-git-at-google/</feedburner:origLink></item>
		<item>
		<title>uif2iso on OS X</title>
		<link>http://feeds.feedburner.com/~r/Shazron/~3/237664454/</link>
		<comments>http://www.shazron.com/2008/02/19/uif2iso-on-os-x/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 16:50:26 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.shazron.com/2008/02/19/uif2iso-on-os-x/</guid>
		<description><![CDATA[Keep getting an &#8220;invalid argument&#8221; error when using Luigi Auriemma&#8217;s uif2iso after compiling on Mac OS X? In a nutshell, you will have to use &#8220;fseeko&#8221; instead of &#8220;fseek&#8221;, and &#8220;ftello&#8221; instead of &#8220;ftell&#8221; in his uif2iso.c file, when compiling in OS X.
I have made the appropriate changes (uif2iso.c), as well as fixed the warnings [...]]]></description>
			<content:encoded><![CDATA[<p>Keep getting an &#8220;invalid argument&#8221; error when using Luigi Auriemma&#8217;s <a href="http://freshmeat.net/projects/uif2iso">uif2iso</a> after compiling on Mac OS X? In a nutshell, you will have to use &#8220;fseeko&#8221; instead of &#8220;fseek&#8221;, and &#8220;ftello&#8221; instead of &#8220;ftell&#8221; in his uif2iso.c file, when compiling in OS X.</p>
<p>I have made the appropriate changes (<a href="/files/uif2iso.c?PHPSESSID=330bbf187f85921ece8a69f307792410">uif2iso.c</a>), as well as fixed the warnings (version 0.1.2). I have made a diff of my changes also (<a href="/files/uif2iso.diff.txt?PHPSESSID=330bbf187f85921ece8a69f307792410">uif2iso.diff.txt</a>).</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/uif2iso" rel="tag"> uif2iso</a>, <a href="http://technorati.com/tag/Mac+OS+X" rel="tag"> Mac OS X</a>, <a href="http://technorati.com/tag/invalid+argument" rel="tag"> invalid argument </a></p>
<img src="http://feeds.feedburner.com/~r/Shazron/~4/237664454" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shazron.com/2008/02/19/uif2iso-on-os-x/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.shazron.com/2008/02/19/uif2iso-on-os-x/</feedburner:origLink></item>
		<item>
		<title>Cross-platform JNI (Java Native Interface) with NetBeans</title>
		<link>http://feeds.feedburner.com/~r/Shazron/~3/236910556/</link>
		<comments>http://www.shazron.com/2008/02/18/cross-platform-jni-java-native-interface-with-netbeans/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 10:45:36 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.shazron.com/2008/02/18/cross-platform-jni-java-native-interface-with-netbeans/</guid>
		<description><![CDATA[Recently I had a programming challenge in that I estimated a feature for this Java application that needed to know whether a certain program was running, and if it was running, terminate it.
Of course, in Java, it cannot be done in a cross-platform way. You can certainly launch a process in Java, then terminate that [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.shazron.com/wp-content/uploads/2008/02/jni.jpg" style="margin: 0pt 10px 10px 0pt; float: left" alt="jni.jpg" />Recently I had a programming challenge in that I estimated a feature for this Java application that needed to know whether a certain program was running, and if it was running, terminate it.</p>
<p>Of course, in Java, it cannot be done in a cross-platform way. You can certainly launch a process in Java, then terminate that process you created, but you cannot know if a certain process is running and terminate that. To do this, you will need to have native code, and the way Java interfaces with your native code is through JNI (Java Native Interface).</p>
<p>In subsequent blog posts, I will write about how I coded this &#8220;Process Manager&#8221; JNI library using NetBeans &#8212; creating a process management library that can can return a list of running processes (and their process ids), as well as terminating the process by process id. The libraries I created were implemented in C, using NetBeans, on the Mac OS X, Windows, and Linux (Ubuntu) platforms using NetBeans 6.0.1.</p>
<p>It turns out it was easiest in Linux: you can easily list all the running processes through Java code. Processes are directories under &#8220;/proc&#8221;, with the directory filename as process id. Inside the directory itself is a text file with the filename of &#8220;status&#8221;, and the first line contains the process name. Of course to terminate this process by process id, you will still need to use native code.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/NetBeans" rel="tag"> NetBeans</a>, <a href="http://technorati.com/tag/JNI" rel="tag"> JNI</a>, <a href="http://technorati.com/tag/Java+Native+Interface" rel="tag"> Java Native Interface</a>, <a href="http://technorati.com/tag/cross-platform" rel="tag"> cross-platform</a>, <a href="http://technorati.com/tag/process+management" rel="tag"> process management </a></p>
<img src="http://feeds.feedburner.com/~r/Shazron/~4/236910556" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shazron.com/2008/02/18/cross-platform-jni-java-native-interface-with-netbeans/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.shazron.com/2008/02/18/cross-platform-jni-java-native-interface-with-netbeans/</feedburner:origLink></item>
		<item>
		<title>NetBeans for Ruby on Rails on Mac OS X</title>
		<link>http://feeds.feedburner.com/~r/Shazron/~3/234843440/</link>
		<comments>http://www.shazron.com/2008/02/14/netbeans-for-ruby-on-rails-on-mac-os-x/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 08:42:03 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.shazron.com/2008/02/14/netbeans-for-ruby-on-rails-on-mac-os-x/</guid>
		<description><![CDATA[If you have NetBeans 6.0 and you want to use the bundled JRuby, you might as well get 6.0.1 if you want NetBeans to handle updating the JRuby Gems for you (after changing the permissions of the JRuby gems directory of course, see below). NetBeans 6.0 has an OutOfMemory stack problem when trying to update [...]]]></description>
			<content:encoded><![CDATA[<p><img style="margin: 0pt 10px 10px 0pt; float: left" src="http://www.shazron.com/wp-content/uploads/2008/02/nb-logo-frontpage.gif" alt="nb-logo-frontpage.gif" />If you have NetBeans 6.0 and you want to use the bundled JRuby, you might as well get 6.0.1 if you want NetBeans to handle updating the JRuby Gems for you (after changing the permissions of the JRuby gems directory of course, see below). NetBeans 6.0 has an OutOfMemory stack problem when trying to update the gems. The latest available Rails for JRuby Gems is 1.2.5 I believe (the bleeding edge as of this date is 2.0.2).</p>
<p>Of course, if you are using  OS X&#8217;s included Ruby, just go to your command line and update Ruby gems normally (make sure you update rails with all its dependencies). Make sure to also update your environment.rb (in your Rails project configuration) to reflect the version of Rails you will be using.</p>
<p>When installing NetBeans, the whole bundle is installed using user &#8220;root&#8221; (read, write, execute privileges) and group &#8220;admin&#8221; (read and execute privileges only). The JRuby package is installed &#8220;inside&#8221; the NetBeans app bundle, and it has the same permissions. The current &#8220;user&#8221; needs to have &#8220;write&#8221; permissions to this JRuby directory, for NetBeans to update the gems:</p>
<ul>
<li>/Applications/NetBeans/NetBeans 6.0.1.app/Contents/Resources/NetBeans/ruby1/jruby-1.0.2/lib/ruby/gems/1.8</li>
</ul>
<p>Either that, or you run NetBeans as root. If you want only users from the admin group to have access to this feature of NetBeans, do a &#8220;sudo chmod -R g+w &lt;dir&gt;&#8221;, or if you want everyone to have this write access, just do a  &#8220;sudo chmod -R a+w &lt;dir&gt;&#8221; where &lt;dir&gt; is the directory path I referenced above.</p>
<p>Well, if anyone has trouble running NetBeans with Ruby on Rails, post a comment &#8212; I might have encountered your problem and solved it already, so I might be able to help.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/NetBeans" rel="tag"> NetBeans</a>, <a href="http://technorati.com/tag/Ruby+on+Rails" rel="tag"> Ruby on Rails</a>, <a href="http://technorati.com/tag/JRuby" rel="tag"> JRuby</a>, <a href="http://technorati.com/tag/Mac+OS+X" rel="tag"> Mac OS X </a></p>
<img src="http://feeds.feedburner.com/~r/Shazron/~4/234843440" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.shazron.com/2008/02/14/netbeans-for-ruby-on-rails-on-mac-os-x/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.shazron.com/2008/02/14/netbeans-for-ruby-on-rails-on-mac-os-x/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic Page Served (once) in 0.682 seconds -->
