<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>E-insight</title>
	<atom:link href="http://einsight.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://einsight.wordpress.com</link>
	<description>I do because I can. A blog on software engineering and music, possibly others as well.</description>
	<lastBuildDate>Wed, 28 Oct 2009 01:21:47 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='einsight.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/c1f9e57e2f6d379b31cc9df892830827?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>E-insight</title>
		<link>http://einsight.wordpress.com</link>
	</image>
			<item>
		<title>Why must implement Object.Hashcode along with Object.Equals</title>
		<link>http://einsight.wordpress.com/2009/10/26/why-must-implement-object-hashcode-along-with-object-equals/</link>
		<comments>http://einsight.wordpress.com/2009/10/26/why-must-implement-object-hashcode-along-with-object-equals/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 03:03:26 +0000</pubDate>
		<dc:creator>metalickl</dc:creator>
				<category><![CDATA[Software Insights]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[software engineering]]></category>

		<guid isPermaLink="false">http://einsight.wordpress.com/?p=39</guid>
		<description><![CDATA[I&#8217;ve heard of this advice over and over from various sources, and never been able to fully understand why. Until recently (few weeks ago), I was working with various java.util.Collection classes, there were a few connection made relating to this.
Whenever you get an Objects from hash based collections, such as HashMap, with a String or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=39&subd=einsight&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve heard of this advice over and over from various sources, and never been able to fully understand why. Until recently (few weeks ago), I was working with various <em>java.util.Collection</em> classes, there were a few connection made relating to this.</p>
<p>Whenever you get an <em>Objects</em> from hash based collections, such as <em>HashMap</em>, with a <strong>String or Integer</strong> key, you could simply say <em>map.get(&#8220;key&#8221;)</em> or <em>map.get(new String(&#8220;key&#8221;))</em>. This is because <em>Strings </em>or <em>Integers </em>are logical equivalent, which is a greater set than traditional identity equivalence (==). This allows greater flexibility to retrieve stored content from our little hash locker by playing the Keymaker, and constructing a key that is identical to the original one (in our case, a new String with the same characters).</p>
<p>But you cannot do this with entity objects. By default implementation, their <em>Object.equals(Object o)</em> simply returns this==o. This means you can never retrieve the stored content with any other object beside the one you&#8217;ve used in <em>Map</em>.<em>put(Object key, Object value)</em>.</p>
<p>Hash based collections simply uses the hash code to identify a smaller, refined group of stored objects from the larger collection. If you&#8217;ve modified <em>Object.equals</em> to allow both identity and logical equivalence, but not <em>Object.hashcode</em>. Then try to search the collection with the logically equivalent key (same colour, same groove, but just not the key you&#8217;ve used the first time!), then obviously the hash based collection, who relies only on <em>Object.hashcode</em> to refine the search will have no idea that this Type is also logically equivalent. In this case, its attempt to refine the collection fails with false precondition.</p>
<p>&#8212;&#8211;</p>
<p>May be off topic, but then you would think an easy way to implement equals (for both identity and logical equivalence) along with hashcode would be simply compare the <strong>string representation</strong> of the 2 Objects (including instance members in some way or the other) and just output the hashcode of the <strong>string representation</strong> of the Object. This saves you the time (mostly brain power) to implement the non-trivial hash functions.  This is acceptable, but not performance efficient or easy to read.</p>
<p>This is why it&#8217;s always nice to override <em>Object.toString()</em> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>&#8212;&#8211;</p>
<p>Btw, Object serialization does preserve identity equivalence, IF:</p>
<ol>
<li>Both a and b are written as and subsequently read from as parts of the same stream. Here&#8217;s a quote from <a rel="nofollow" href="http://java.sun.com/javase/6/docs/api/java/io/ObjectInputStream.html">ObjectInputStream</a> documentation: &#8220;Graphs of objects are restored correctly using a <strong>reference sharing</strong> mechanism.&#8221;</li>
<li>Class of a and b does not override <em>readResolve()</em> that has the potential of changing how references are restored back; neither do classes that hold a and b.</li>
</ol>
<p>For all other cases, object identity will NOT be preserved.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/einsight.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/einsight.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/einsight.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/einsight.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/einsight.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/einsight.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/einsight.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/einsight.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/einsight.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/einsight.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=39&subd=einsight&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://einsight.wordpress.com/2009/10/26/why-must-implement-object-hashcode-along-with-object-equals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23046eb59014af21d679fb9c6579fb18?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">metalickl</media:title>
		</media:content>
	</item>
		<item>
		<title>A fresh start</title>
		<link>http://einsight.wordpress.com/2009/10/18/a-fresh-start/</link>
		<comments>http://einsight.wordpress.com/2009/10/18/a-fresh-start/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 02:29:25 +0000</pubDate>
		<dc:creator>metalickl</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://einsight.wordpress.com/?p=37</guid>
		<description><![CDATA[Haven&#8217;t been blogging at all for the past two years. Time for a fresh start. So much have changed and it&#8217;s also a time to change the focus of the blog. I will be posting more interesting things in software engineering and music.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=37&subd=einsight&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Haven&#8217;t been blogging at all for the past two years. Time for a fresh start. So much have changed and it&#8217;s also a time to change the focus of the blog. I will be posting more interesting things in software engineering and music.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/einsight.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/einsight.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/einsight.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/einsight.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/einsight.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/einsight.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/einsight.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/einsight.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/einsight.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/einsight.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=37&subd=einsight&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://einsight.wordpress.com/2009/10/18/a-fresh-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23046eb59014af21d679fb9c6579fb18?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">metalickl</media:title>
		</media:content>
	</item>
		<item>
		<title>Next iPhone update could leave you with an iBrick</title>
		<link>http://einsight.wordpress.com/2007/09/24/next-iphone-update-could-leave-you-with-an-ibrick/</link>
		<comments>http://einsight.wordpress.com/2007/09/24/next-iphone-update-could-leave-you-with-an-ibrick/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 02:23:49 +0000</pubDate>
		<dc:creator>metalickl</dc:creator>
				<category><![CDATA[Gadegets Insights]]></category>
		<category><![CDATA[Hardware Insights]]></category>
		<category><![CDATA[PDA and Mobile Insights]]></category>

		<guid isPermaLink="false">http://einsight.wordpress.com/2007/09/24/next-iphone-update-could-leave-you-with-an-ibrick/</guid>
		<description><![CDATA[Apple: Next iPhone update could break unlocked phones
Posted by Tom Krazit 
Apple issued a statement Monday afternoon warning users of unlocked iPhones that the next software update it ships will probably break their phones.
It&#8217;s not clear how many people have unlocked their iPhone to run on networks other than AT&#38;T&#8217;s, but there has definitely been [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=35&subd=einsight&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h1>Apple: Next iPhone update could break unlocked phones</h1>
<p class="byline"><span class="left">Posted by <a href="http://www.news.com/8300-13579_3-37.html?authorId=140&amp;tag=author"><font color="#0048c0">Tom Krazit</font></a> </span><span><!-- missing include --></span></p>
<p class="postBody">Apple issued a statement Monday afternoon warning users of unlocked iPhones that the next software update it ships will probably break their phones.</p>
<p>It&#8217;s not clear how many people have unlocked their iPhone to run on networks other than AT&amp;T&#8217;s, but there has <a href="http://www.news.com/8301-13579_3-9775682-37.html" title="Temporarily unlock your iPhone for $99 -- Tuesday, Sep 11, 2007"><font color="#0048c0">definitely been some interest</font></a> among early adopters who want no part of AT&amp;T&#8217;s network. Most of those folks were always operating under the assumption that Apple might relock their iPhones with future software updates, but were they expecting Apple to actually disable the phone?</p>
<p style="width:270px;" class="cnet-image-div float-left"><img width="270" src="http://i.i.com.com/cnwk.1d/i/bto/20070924/32180293-2-440-0_270x202.jpg" height="202" class="cnet-image" /></p>
<p class="image-caption">Hacked your iPhone? The next software update from Apple could break your phone.</p>
<p><span class="image-credit">(Credit: CNET Networks)</span></p>
<p>&#8220;Apple has discovered that many of the unauthorized iPhone unlocking programs available on the Internet cause irreparable damage to the iPhone&#8217;s software, which will likely result in the modified iPhone becoming permanently inoperable when a future Apple-supplied iPhone software update is installed,&#8221; the company said in a statement issued after the close of the stock market. &#8220;Apple strongly discourages users from installing unauthorized unlocking programs on their iPhones. Users who make unauthorized modifications to the software on their iPhone violate their iPhone software license agreement and void their warranty. The permanent inability to use an iPhone due to installing unlocking software is not covered under the iPhone&#8217;s warranty.&#8221;</p>
<p>This is not going to sit well with the fringe early adopter who, having already suffered through the <a href="http://www.news.com/8301-13579_3-9773207-37.html" title="Apple to offer $100 store credit to iPhone customers -- Thursday, Sep 6, 2007"><font color="#0048c0">price cut debacle</font></a>, now faces the prospect of a dead iPhone. The probable solution, as discussed earlier today by our new friends at <a href="http://www.iphoneatlas.com/2007/09/24/apple-reps-iphone-warranty-will-be-voided-by-hacks-third-party-native-apps/" class="external-link"><font color="#0048c0">iPhone Atlas</font></a>, involves restoring the iPhone to the factory default settings before installing the new update. The next update will be released later this week to allow iPhone owners to access the new <a href="http://www.news.com/8301-13579_3-9770620-37.html" title="Live from Moscone Center with Apple  -- Wednesday, Sep 5, 2007"><font color="#0048c0">Wi-Fi Music Store</font></a> introduced earlier this month.</p>
<p>That assumes, I guess, that the iPhone hackers will probably find some way around the new update next week, and that&#8217;s probably not that much of a stretch. But it seems Apple is hell-bent on making sure too many people don&#8217;t make unauthorized modifications to its iBaby, which in some ways, makes sense to me. This is a brand new product, and even Apple may not totally be aware of the problems that could arise from willy-nilly hacking.</p>
<p>So, be forewarned: if you hacked your iPhone, you might want to hold off on installing this week&#8217;s update unless you&#8217;re willing to go back to using AT&amp;T&#8217;s network.</p>
<p><strong>Update:</strong> The Unofficial Apple Weblog thinks that doing a factory restore might not be enough to reverse the unlocking process. They&#8217;ve posted a detailed, step-by-step process for &#8220;re-locking&#8221; your iPhone that might make you wince unless you&#8217;re handy with code. Check it out <a href="http://www.tuaw.com/2007/09/24/how-to-relock-your-iphone-before-the-firmware-update/" class="external-link"><font color="#0048c0">here</font></a>, but TUAW warns this is still in the early testing stages.</p>
<p>from cnet news: <a href="http://www.news.com/8301-13579_3-9783713-37.html"><font color="#4389cf">http://www.news.com/8301-13579_3-9783713-37.html</font></a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/einsight.wordpress.com/35/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/einsight.wordpress.com/35/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/einsight.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/einsight.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/einsight.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/einsight.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/einsight.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/einsight.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/einsight.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/einsight.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/einsight.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/einsight.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=35&subd=einsight&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://einsight.wordpress.com/2007/09/24/next-iphone-update-could-leave-you-with-an-ibrick/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23046eb59014af21d679fb9c6579fb18?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">metalickl</media:title>
		</media:content>

		<media:content url="http://i.i.com.com/cnwk.1d/i/bto/20070924/32180293-2-440-0_270x202.jpg" medium="image" />
	</item>
		<item>
		<title>Microsoft offers downgrade from Vista to XP</title>
		<link>http://einsight.wordpress.com/2007/09/22/microsoft-offers-downgrade-from-vista-to-xp/</link>
		<comments>http://einsight.wordpress.com/2007/09/22/microsoft-offers-downgrade-from-vista-to-xp/#comments</comments>
		<pubDate>Sun, 23 Sep 2007 03:17:58 +0000</pubDate>
		<dc:creator>metalickl</dc:creator>
				<category><![CDATA[Software Insights]]></category>
		<category><![CDATA[Software Insights@Windows Vista]]></category>

		<guid isPermaLink="false">http://einsight.wordpress.com/2007/09/22/microsoft-offers-downgrade-from-vista-to-xp/</guid>
		<description><![CDATA[It&#8217;s no shock that Windows Vista isn&#8217;t, shall we say, universally loved, and it&#8217;s also unsurprising that a plethora of businesses have voiced their preference to keep on runnin&#8217; their operations on Windows XP. Presumably in response, Microsoft is &#8220;quietly allowing PC makers to offer a downgrade option to buyers that get machines with the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=34&subd=einsight&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It&#8217;s no shock that Windows Vista isn&#8217;t, shall we say, universally loved, and it&#8217;s also unsurprising that a plethora of businesses have voiced their preference to keep on runnin&#8217; their operations on Windows XP. Presumably in response, Microsoft is &#8220;quietly allowing PC makers to offer a downgrade option to buyers that get machines with the new operating system but want to switch to Windows XP,&#8221; but the program only applies to Vista Business and Ultimate editions. The likes of Fujitsu, HP, Lenovo and Dell all have processes in place to ensure that customers have the ability to downgrade if they so choose, and while some firms are still selling their PCs with XP pre-installed, debates are already swirling around how long that tactic can remain in place.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/einsight.wordpress.com/34/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/einsight.wordpress.com/34/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/einsight.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/einsight.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/einsight.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/einsight.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/einsight.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/einsight.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/einsight.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/einsight.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/einsight.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/einsight.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=34&subd=einsight&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://einsight.wordpress.com/2007/09/22/microsoft-offers-downgrade-from-vista-to-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23046eb59014af21d679fb9c6579fb18?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">metalickl</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft presents source code to China</title>
		<link>http://einsight.wordpress.com/2007/08/09/microsoft-presents-source-code-to-china/</link>
		<comments>http://einsight.wordpress.com/2007/08/09/microsoft-presents-source-code-to-china/#comments</comments>
		<pubDate>Thu, 09 Aug 2007 16:51:44 +0000</pubDate>
		<dc:creator>metalickl</dc:creator>
				<category><![CDATA[IT Industries]]></category>

		<guid isPermaLink="false">http://einsight.wordpress.com/2007/08/09/microsoft-presents-source-code-to-china/</guid>
		<description><![CDATA[From ChinaTechNews.com:
Microsoft (MSFT) has announced further plans to open Vista source code in China.
Microsoft has reportedly signed a new government security program source code agreement with China Information Technology Security Certification Center, allowing CNITSEC and other approved institutions to look over the source code and relevant technical data of Microsoft&#8217;s products, including Windows Vista, Windows [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=33&subd=einsight&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>From ChinaTechNews.com:</p>
<p>Microsoft (<a href="http://www.chinatechnews.com/stocks.php?Symbol=MSFT"><u><font color="#0000ff">MSFT</font></u></a>) has announced further plans to open Vista source code in China.<span></span></p>
<p>Microsoft has reportedly signed a new government security program source code agreement with China Information Technology Security Certification Center, allowing CNITSEC and other approved institutions to look over the source code and relevant technical data of Microsoft&#8217;s products, including Windows Vista, <font color="#c0504d"><em>Windows XP, Office, Windows CE and etcetera</em></font>, so as to improve their evaluation on the security of Microsoft products. The agreement is an important part of the MOU signed between National Development and Reform Commission and Microsoft in April 2006.</p>
<p>Microsoft&#8217;s Government Security Program helps government departments and international organizations evaluate the security of Microsoft products. CNITSEC previously signed an agreement with Microsoft on security source code in February 2003 and was authorized to check over the company&#8217;s major source code and technical data.</p>
<p>Microsoft&#8217;s move should bring good results in the promotion of information and enhancement of <font color="#f79646">mutual trust </font>between China and the United States</p>
<p> &#8212;&#8212;</p>
<p>From CCTV.cn</p>
<p><strong>本报北京8月7日电(记者杨谷)</strong>微软操作系统的安全性一直受到怀疑。日前,微软公司和我有关机构签约,将新款操作系统视窗Vista等软件的源代码提供给我国查看。    根据微软与中国信息安全产品测评认证中心签署的新一期政府安全计划源代码协议,中国信息安全产品测评认证中心和相关被授权机构可以查</p>
<table align="left">
<tr>
<td><span style="display:none;"></span></td>
</tr>
</table>
<p>看包括视窗Vista、视窗XP、Office2003、视窗CE等软件的源代码及相关技术信息,从而提高对微软产品的安全分析和测评能力。上一期的政府安全计划源代码协议签署于2003年,随着微软产品的不断更新换代,双方决定签署新一期的政府安全计划源代码协议。</p>
<p>    微软的各种软件在我国拥有广大的用户,不少关键部门采用了微软产品作为信息系统的核心,因此其安全性备受关注。中国信息安全产品测评认证中心主任王海生表示,今后将加深对微软产品安全性的了解和研究分析,不断提高有效控制安全风险的能力,履行“信息海关”的职责。</p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">——————————</font></p>
<p>E-Insight, 2007</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/einsight.wordpress.com/33/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/einsight.wordpress.com/33/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/einsight.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/einsight.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/einsight.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/einsight.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/einsight.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/einsight.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/einsight.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/einsight.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/einsight.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/einsight.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=33&subd=einsight&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://einsight.wordpress.com/2007/08/09/microsoft-presents-source-code-to-china/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23046eb59014af21d679fb9c6579fb18?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">metalickl</media:title>
		</media:content>
	</item>
		<item>
		<title>Norwegian hacker crack iPhone just one week after its release</title>
		<link>http://einsight.wordpress.com/2007/07/06/norwegian-hacker-crack-iphone-just-one-week-after-its-release/</link>
		<comments>http://einsight.wordpress.com/2007/07/06/norwegian-hacker-crack-iphone-just-one-week-after-its-release/#comments</comments>
		<pubDate>Fri, 06 Jul 2007 16:14:46 +0000</pubDate>
		<dc:creator>metalickl</dc:creator>
				<category><![CDATA[Gadegets Insights]]></category>
		<category><![CDATA[IT Industries]]></category>
		<category><![CDATA[PDA and Mobile Insights]]></category>
		<category><![CDATA[Software Insights]]></category>

		<guid isPermaLink="false">http://einsight.wordpress.com/2007/07/06/norwegian-hacker-crack-iphone-just-one-week-after-its-release/</guid>
		<description><![CDATA[According to a post on his blog, a well-known Norwegian hacker has figured out a way to bypass restrictions on the iPhone that forces people to activate on the AT&#38;T network. Now the iPhone might be worth buying.Digital Journal — Jon Lech Johansen, a 23-year-old famous for his hacking of consumer electronics, says he has [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=32&subd=einsight&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><blockquote><p><strong>According to a post on his blog, a well-known Norwegian hacker has figured out a way to bypass restrictions on the iPhone that forces people to activate on the AT&amp;T network. Now the iPhone might be worth buying.</strong>Digital Journal — Jon Lech Johansen, a 23-year-old famous for his hacking of consumer electronics, says he has cracked the iPhone. <a target="_blank" href="http://nanocr.eu/2007/07/03/iphone-without-att/"><u><font color="#0000ff">In a post on his blog</font></u></a> on July 3 (titled &#8220;iPhone Independence Day&#8221;), Johansen said: &#8220;I’ve found a way to activate a brand new unactivated iPhone without giving any of your money or personal information to <s>AT&amp;T</s> NSA. The iPhone does not have phone capability, but the iPod and WiFi work. Stay tuned!&#8221;</p>
<p>Johansen&#8217;s blog, titled &#8220;So Sue Me&#8221; provides source code and software for hackers to activate an iPhone for iPod+WiFi use.</p>
<p><font color="#ff0000">Hackers and coders have been working around the clock to crack the iPhone&#8217;s security restrictions since its launch a week ago.</font><font color="#ff0000">Apple is in a long-term contract with AT&amp;T, meaning anyone who wants an iPhone must activate it through the wireless carrier.<br />
<font color="#800000"><br />
</font>Mark Siegel, <a target="_blank" href="http://news.yahoo.com/s/nm/20070706/wr_nm/iphone_hacker_dc;_ylt=AiYLV7corBsfxQw0jwF7HcYjtBAF"><u><font color="#0000ff">a spokesman for AT&amp;T said</font></u></a> it was &#8220;necessary&#8221; to activate the iPhone on his company&#8217;s network to &#8220;ensure optimum performance.&#8221;</p>
<p></font>Despite what AT&amp;T&#8217;s spin doctors have said, anyone in the tech world knows the wireless provider has what can only be described as a horribly slow Edge network, and many Apple fans want to use the phone without activating on AT&amp;T.</p>
<p>The hack is important for an iPhone owner who wants to travel abroad and use the Internet or the phone&#8217;s music without having to pay AT&amp;T to activate the phone.</p>
<p>As hackers continue to dig through code, cracks will also (likely) eventually lead to a way for the iPhone to work on another network. The phone comes locked, and a crack is (of course) against AT&amp;T and Apple&#8217;s contract.</p>
<p>No doubt, few crackers actually care about that.</p>
<p>Johansen is practically a god in the underground tech world, most well-known as &#8220;DVD Jon&#8221; for reversing the code on DVDs that protect them from being pirated.</p>
<p>On his blog, Johansen warns the &#8220;application will not do anything unless you understand the magic numbers as well as add the hosts entry,&#8221; and you will need software installed on your computer. </p></blockquote>
<p>by Christopher Hogg</p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">——————————</font></p>
<p>E-Insight, 2007</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/einsight.wordpress.com/32/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/einsight.wordpress.com/32/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/einsight.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/einsight.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/einsight.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/einsight.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/einsight.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/einsight.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/einsight.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/einsight.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/einsight.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/einsight.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=32&subd=einsight&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://einsight.wordpress.com/2007/07/06/norwegian-hacker-crack-iphone-just-one-week-after-its-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23046eb59014af21d679fb9c6579fb18?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">metalickl</media:title>
		</media:content>
	</item>
		<item>
		<title>sometimes i feel like a great chef</title>
		<link>http://einsight.wordpress.com/2007/07/05/sometimes-i-feel-like-a-great-chef/</link>
		<comments>http://einsight.wordpress.com/2007/07/05/sometimes-i-feel-like-a-great-chef/#comments</comments>
		<pubDate>Thu, 05 Jul 2007 17:54:03 +0000</pubDate>
		<dc:creator>metalickl</dc:creator>
				<category><![CDATA[IT Industries]]></category>

		<guid isPermaLink="false">http://einsight.wordpress.com/2007/07/05/sometimes-i-feel-like-a-great-chef/</guid>
		<description><![CDATA[sometimes i feel like a great chef by F.S.J. (Fake Steve Jobs)
sometimes i feel like a great chef
who has devoted his entire life
to monastic study of the art of cooking
&#38; gathered the finest ingredients
&#38; built the most advanced kitchen
&#38; prepared the most exquisite meal
so perfect so delicious so extraordinary
more astounding than any meal ever created
yet [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=31&subd=einsight&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h3><a href="http://fakesteve.blogspot.com/2006/08/sometimes-i-feel-like-great-chef.html"><font color="#4389cf">sometimes i feel like a great chef</font></a> <font size="1">by F.S.J. (Fake Steve Jobs)</font></h3>
<p>sometimes i feel like a great chef<br />
who has devoted his entire life<br />
to monastic study of the art of cooking<br />
&amp; gathered the finest ingredients<br />
&amp; built the most advanced kitchen<br />
&amp; prepared the most exquisite meal<br />
so perfect so delicious so extraordinary<br />
more astounding than any meal ever created<br />
yet each day i stand in my window<br />
&amp; watch ninety-seven percent of the world<br />
walk past my restaurant<br />
into the mcdonald’s<br />
across the street.</p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">——————————</font></p>
<p>E-Insight, 2007</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/einsight.wordpress.com/31/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/einsight.wordpress.com/31/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/einsight.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/einsight.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/einsight.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/einsight.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/einsight.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/einsight.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/einsight.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/einsight.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/einsight.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/einsight.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=31&subd=einsight&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://einsight.wordpress.com/2007/07/05/sometimes-i-feel-like-a-great-chef/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23046eb59014af21d679fb9c6579fb18?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">metalickl</media:title>
		</media:content>
	</item>
		<item>
		<title>Install a Mac OS X Tiger on your PC</title>
		<link>http://einsight.wordpress.com/2007/06/28/install-a-mac-os-x-tiger-on-your-pc/</link>
		<comments>http://einsight.wordpress.com/2007/06/28/install-a-mac-os-x-tiger-on-your-pc/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 14:06:45 +0000</pubDate>
		<dc:creator>metalickl</dc:creator>
				<category><![CDATA[Software Insights]]></category>

		<guid isPermaLink="false">http://einsight.wordpress.com/2007/06/28/install-a-mac-os-x-tiger-on-your-pc/</guid>
		<description><![CDATA[How to install a Mac OS X Tiger on your own PC, originally by vinceqz
Here my man installed Mac OS X 10.4.8 on one of his notebooks. It&#8217;s actually quite simple when you doing it, you only need a dvd and computer. haha
Well if you want duo system (install OS X in addition to your xp), [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=30&subd=einsight&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>How to install a Mac OS X Tiger on your own PC</strong>, originally by vinceqz</p>
<p>Here my man installed Mac OS X 10.4.8 on one of his notebooks. It&#8217;s actually quite simple when you doing it, you only need a dvd and computer. haha</p>
<p>Well if you want duo system (install OS X in addition to your xp), just make an additional drive, 15G should be enough. If you want single system, you can install straight away.</p>
<p>check for hardware compatiability: <a href="http://wiki.osx86project.org/wiki/index.php/Main_Page"><font color="#4389cf">http://wiki.osx86project.org/wiki/index.php/Main_Page</font></a><font color="#e6e6dd"> </font></p>
<p>First step: the most important step&#8230; Download Mac OS X JaS 10.4.8 AMD Intel. You can find the file through eMule or BT, here is a link to the seed for BT: <a href="http://www.sendspace.com/file/lpt3jg"><font color="#4389cf">http://www.sendspace.com/file/lpt3jg</font></a></p>
<p>Good, now burn a dvd from the image file you&#8217;ve just downloaded.</p>
<p>Now, for duo system users. You should do a disc partition, an application called Partition Magic, or Acronis disk Director Suite 10 should do the trick. But remember, the disc format for the OS X must be &#8220;<strong>FAT 32 Logical</strong>&#8221; <font color="#ff0000">not</font> &#8220;<strong>NTF</strong>&#8220;, remember!!! After you install the system, you then need to change &#8220;<strong>FAT 32 Logical</strong>&#8221; to &#8220;<strong>FAT 32 Primary</strong>&#8220;, remember!!! SO that OS X can start properly.</p>
<p>put the dvd into computer, restart and you will see&#8230;<br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcDaU0ISTKUImLpKDd577k2XXbJJq1Z6wFu1z6S6lxywYaT_r0ZaSDSsx1h8lnwb_s0" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcCdbR4XZ8Fn9ZjzGUjpwM6NvACbgskAuqgIiRqQWBLLxdyoCm6WZ1EbFJl-ZvUa7QE" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcABh1ht8K6cZp3y--7eVvcZO7wVW7YzrbfFHHHCeHiT1F6Snlo-p6PRxFdKlIiJWfA" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcAajxn6cwXKp1NmCFhI7R8_RF6Exi0lX856aD4SwqoVF82DOtdo3ohQTgZmijBMoUg" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcBnokGEUyaLsGl1H7cGEZYfyjJNVfe27WAyeKfSRIJDgfmbPnCnHDsNWn8C1sksIaQ" /><font color="#e6e6dd"> </font><br />
here you select the language, you can choose chinese.<br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcB-TkvVqAglSrcow1xECVFdnPLg1qvO17Y6Z8yhrF98JqV664tfxAPZ_u1g2a5w-S0" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcA3burTTdnYU6Zb72Y4pM3AbFG8HAiPqykpiKcoaYButNyw9HkcTlQ_pfLpVkynZnA" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcC1987QJKw-jlnaOtWRAfKV-auWDa3TvhmskWxNdn7m9QdYPtEn0Vcqxe8lMwtqh74" /><font color="#e6e6dd"> </font><br />
After choosing which driver you will install OS X, e.g. D:\ or E:\, you will be asked to format the disc into Mac OS Extended (Journled)<br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcB5pqEY0MPwyBG7anvE2_dnVbxYg2sn_V3RIjuYRWAW93AYg3lLVtlmvHFaW7cLgSI" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcC1987QJKw-jlnaOtWRAfKV-auWDa3TvhmskWxNdn7m9QdYPtEn0Vcqxe8lMwtqh74" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcDWFX_d6RlbI0qh0oym7u1owkLB0sYBNsfPByWtrO_Ci2SwTkCHLHtfsUFnRehBWP4" /><font color="#e6e6dd"> </font><br />
Very simple.<br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcAZNS9wAI-Pzum_5oPcE8GZKAgSf7G1N7WXG_pkVUPBkyZ59dU27-KzTbXE1Vms69U" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcB5XCkeOlC7IPDsB2zOR9rLMWbV6pZRxYRmqZAhXbM_W-KHT-gsbC-nzh_VoiqnJZs" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcAJV59RwPoUgWi_5NKVWacKmA0OyrB2jS9_3Z9Fetvb0_ixSMc8JZqjkwhS5I4_JNg" /><font color="#e6e6dd"> </font><br />
If you have Intel CPU, choose the file for Intel CPU!!!!!<br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcCdR89T27wkU-u0sgFTVPywiARVT7gJkiqph84ltCcm2UUZ3luAPC3rM_TgShTq1b8" /><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcDNt2UOIWT2f3-EtBZA3V5nydWMk9GwzLjnIQEXIiPrIFRgN917XW3VpZkW6MflD8s" /><font color="#e6e6dd"> </font><br />
Skip&#8230;<br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcDuYdtG8fasJnJ3tmujfFC0YPZXAvZJ1wE_oiJOINQTo7xpf5oPhDMPmEi-jf-gcww" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcCmKBLg2vC6qVkFBGxTkVsVuSHyQOPkKrPEnLwZBaHsYnXFRd46H_Of4qSwoAVkjoc" /><font color="#e6e6dd"> </font></p>
<p>The total instalation time is about 30 minutes or so, you can rest aside and listen to some music or watch some tv.<br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcD3hMxq_PHhK29MtOKna9SLclU2DjiSJVma0xToY_f1IFDYcoth2uNPEAqhChDtDM8" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcAZUvn1qAWiF6LXCjo4idfFyKeyvr9qOSh-gxx3VknqjLN-eMRwvgKAwq8VRpcKgeo" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcCLHfeuL62uGtOXc2tpM3e_P0mt7W1yBnumQ2R-ZsJvckqI7NMoHIwiU7XkYgc2LS4" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcC2gfDfY2lvYgqY2_UC7kzmLiuhgT1gv6vpuvHJ7j2HYRJLfyE58J7HsaJAFxlKbC0" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcDR6z5OL8DIvFjsAQQracnIc3CYc3RX1QshLgPUn0X4dH5L7A77DFTDvL8hyFjkJm4" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcD33js7P8HyvRv5pbOiKOWJY6Cbn-hIHZhXup1dir4VbFUde1usAZPIihSRLdWKiDo" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcB-ytRjdUespdJ5LpaWxojyqGZTFsyz1l1HkkRbkMMyjq2LoasrEZm-2XLz2ajLdI8" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcBD1yCzptWFEUMFvXIn9btm3oSZYELVCUTmHx-W8lj9j2DEGhS_PTJKieh3r4rV-LY" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcDaremOiz0fNv2Z7QizRyS7VP1OesiCJYYuOt7DR14250fvJ4og_H_f7haWCWg_aiA" /><font color="#e6e6dd"> </font><br />
Haha, you are done. Here is a comparison with MacBook pro.<br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcDijCNYIf9_1s56E3VqjVP_bFmhxlvNl7eTsOhEKAEUx4AA2nuqP0AunwQWicyc0HU" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcBFMqeQ4KgKJdqYWCT11jB2pwUE-8AJRct7Yf3x5QvORXY7bCJFSi-5-K2rX6eTwS4" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcAA8jKmApB9EFcM8TiEvnLgfwO7w031XauCSoqLuxE18_Lai9QgVlIdVgH3_0n-dQQ" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcD3KdWC3gazhXOR6xecLOeqZCWbdp4leHTWyxxgDCtXnLb9Nybhe9-3BANIDAJLPfw" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcBVqEHlHjYfzcKRtBhIH5nk6k5eUGNA3sP4wYgIoPH9B9TckF-gT0-sQkIModezKVE" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcBAUbwzDIIGXyorUM1u7QgW5tNAzMARZWlAXB6s53VaD18DlsyOwFWwvyOphnbfLfA" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcBB7_RYRw9do_OnyC7i3rq4d6_HvcDvxReX4iwulzdODBO2dLO-0pq-aD4FAxfE0Ag" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcAks4vIxJI6KuF5LZ2O4TnA4LOlHLABP28sE6LSwdDaRgmHzusxrvaa9jzD9J7SBLw" /><font color="#e6e6dd"> </font><br />
<img src="http://blufiles.storage.msn.com/y1p2urZsXoxQcBljoxylfVFOOjQDwoWD3PVy72r8ScDkP3NOXW3PPu0Lb_9MeIaia0nd5Z2K3lbt_k" /><font color="#e6e6dd"> </font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</font></p>
<p>E-Insight, 2007</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/einsight.wordpress.com/30/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/einsight.wordpress.com/30/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/einsight.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/einsight.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/einsight.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/einsight.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/einsight.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/einsight.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/einsight.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/einsight.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/einsight.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/einsight.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=30&subd=einsight&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://einsight.wordpress.com/2007/06/28/install-a-mac-os-x-tiger-on-your-pc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23046eb59014af21d679fb9c6579fb18?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">metalickl</media:title>
		</media:content>

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcDaU0ISTKUImLpKDd577k2XXbJJq1Z6wFu1z6S6lxywYaT_r0ZaSDSsx1h8lnwb_s0" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcCdbR4XZ8Fn9ZjzGUjpwM6NvACbgskAuqgIiRqQWBLLxdyoCm6WZ1EbFJl-ZvUa7QE" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcABh1ht8K6cZp3y--7eVvcZO7wVW7YzrbfFHHHCeHiT1F6Snlo-p6PRxFdKlIiJWfA" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcAajxn6cwXKp1NmCFhI7R8_RF6Exi0lX856aD4SwqoVF82DOtdo3ohQTgZmijBMoUg" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcBnokGEUyaLsGl1H7cGEZYfyjJNVfe27WAyeKfSRIJDgfmbPnCnHDsNWn8C1sksIaQ" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcB-TkvVqAglSrcow1xECVFdnPLg1qvO17Y6Z8yhrF98JqV664tfxAPZ_u1g2a5w-S0" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcA3burTTdnYU6Zb72Y4pM3AbFG8HAiPqykpiKcoaYButNyw9HkcTlQ_pfLpVkynZnA" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcC1987QJKw-jlnaOtWRAfKV-auWDa3TvhmskWxNdn7m9QdYPtEn0Vcqxe8lMwtqh74" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcB5pqEY0MPwyBG7anvE2_dnVbxYg2sn_V3RIjuYRWAW93AYg3lLVtlmvHFaW7cLgSI" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcC1987QJKw-jlnaOtWRAfKV-auWDa3TvhmskWxNdn7m9QdYPtEn0Vcqxe8lMwtqh74" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcDWFX_d6RlbI0qh0oym7u1owkLB0sYBNsfPByWtrO_Ci2SwTkCHLHtfsUFnRehBWP4" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcAZNS9wAI-Pzum_5oPcE8GZKAgSf7G1N7WXG_pkVUPBkyZ59dU27-KzTbXE1Vms69U" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcB5XCkeOlC7IPDsB2zOR9rLMWbV6pZRxYRmqZAhXbM_W-KHT-gsbC-nzh_VoiqnJZs" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcAJV59RwPoUgWi_5NKVWacKmA0OyrB2jS9_3Z9Fetvb0_ixSMc8JZqjkwhS5I4_JNg" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcCdR89T27wkU-u0sgFTVPywiARVT7gJkiqph84ltCcm2UUZ3luAPC3rM_TgShTq1b8" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcDNt2UOIWT2f3-EtBZA3V5nydWMk9GwzLjnIQEXIiPrIFRgN917XW3VpZkW6MflD8s" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcDuYdtG8fasJnJ3tmujfFC0YPZXAvZJ1wE_oiJOINQTo7xpf5oPhDMPmEi-jf-gcww" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcCmKBLg2vC6qVkFBGxTkVsVuSHyQOPkKrPEnLwZBaHsYnXFRd46H_Of4qSwoAVkjoc" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcD3hMxq_PHhK29MtOKna9SLclU2DjiSJVma0xToY_f1IFDYcoth2uNPEAqhChDtDM8" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcAZUvn1qAWiF6LXCjo4idfFyKeyvr9qOSh-gxx3VknqjLN-eMRwvgKAwq8VRpcKgeo" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcCLHfeuL62uGtOXc2tpM3e_P0mt7W1yBnumQ2R-ZsJvckqI7NMoHIwiU7XkYgc2LS4" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcC2gfDfY2lvYgqY2_UC7kzmLiuhgT1gv6vpuvHJ7j2HYRJLfyE58J7HsaJAFxlKbC0" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcDR6z5OL8DIvFjsAQQracnIc3CYc3RX1QshLgPUn0X4dH5L7A77DFTDvL8hyFjkJm4" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcD33js7P8HyvRv5pbOiKOWJY6Cbn-hIHZhXup1dir4VbFUde1usAZPIihSRLdWKiDo" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcB-ytRjdUespdJ5LpaWxojyqGZTFsyz1l1HkkRbkMMyjq2LoasrEZm-2XLz2ajLdI8" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcBD1yCzptWFEUMFvXIn9btm3oSZYELVCUTmHx-W8lj9j2DEGhS_PTJKieh3r4rV-LY" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcDaremOiz0fNv2Z7QizRyS7VP1OesiCJYYuOt7DR14250fvJ4og_H_f7haWCWg_aiA" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcDijCNYIf9_1s56E3VqjVP_bFmhxlvNl7eTsOhEKAEUx4AA2nuqP0AunwQWicyc0HU" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcBFMqeQ4KgKJdqYWCT11jB2pwUE-8AJRct7Yf3x5QvORXY7bCJFSi-5-K2rX6eTwS4" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcAA8jKmApB9EFcM8TiEvnLgfwO7w031XauCSoqLuxE18_Lai9QgVlIdVgH3_0n-dQQ" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcD3KdWC3gazhXOR6xecLOeqZCWbdp4leHTWyxxgDCtXnLb9Nybhe9-3BANIDAJLPfw" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcBVqEHlHjYfzcKRtBhIH5nk6k5eUGNA3sP4wYgIoPH9B9TckF-gT0-sQkIModezKVE" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcBAUbwzDIIGXyorUM1u7QgW5tNAzMARZWlAXB6s53VaD18DlsyOwFWwvyOphnbfLfA" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcBB7_RYRw9do_OnyC7i3rq4d6_HvcDvxReX4iwulzdODBO2dLO-0pq-aD4FAxfE0Ag" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcAks4vIxJI6KuF5LZ2O4TnA4LOlHLABP28sE6LSwdDaRgmHzusxrvaa9jzD9J7SBLw" medium="image" />

		<media:content url="http://blufiles.storage.msn.com/y1p2urZsXoxQcBljoxylfVFOOjQDwoWD3PVy72r8ScDkP3NOXW3PPu0Lb_9MeIaia0nd5Z2K3lbt_k" medium="image" />
	</item>
		<item>
		<title>Things to look for when select a cellphone</title>
		<link>http://einsight.wordpress.com/2007/06/27/things-to-look-for-when-select-a-cellphone/</link>
		<comments>http://einsight.wordpress.com/2007/06/27/things-to-look-for-when-select-a-cellphone/#comments</comments>
		<pubDate>Wed, 27 Jun 2007 14:05:58 +0000</pubDate>
		<dc:creator>metalickl</dc:creator>
				<category><![CDATA[Gadegets Insights]]></category>
		<category><![CDATA[PDA and Mobile Insights]]></category>

		<guid isPermaLink="false">http://einsight.wordpress.com/2007/06/27/things-to-look-for-when-select-a-cellphone/</guid>
		<description><![CDATA[Things to look for when select a cellphone
Many of you will be going on holidays overseas this summer, and consider buying a cellphone, digital camera, mp4 and etcetera. Here I would give you some suggestions in picking a cell phone, as the last gift I can give you before we say goodbye.
The integration of camera, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=29&subd=einsight&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Things to look for when select a cellphone</strong></p>
<p>Many of you will be going on holidays overseas this summer, and consider buying a cellphone, digital camera, mp4 and etcetera. Here I would give you some suggestions in picking a cell phone, as the last gift I can give you before we say goodbye.</p>
<p>The integration of camera, mp3 into cellphone is almost an inevitable procedure of any phone behind the glass display case. Sony Ericsson has just released w610i is one of the delegates of these popular walkman/digital cam phones, though it is not the type of phones I would select.</p>
<p>For professionals, businessmen, many of the functions such as push-email from the highly successful Blackberry, schedule/calendar, notepad, internet and etcetera are equally important to entertainment functions. PDA (personal digital assistants), those that lack the function of mobile phone, but would serve all the above needs are dying out. The future belongs to the decedents of PDA’s, which combines the functions of pocket pc and mobile phone. Such phones are called Smartphones. The obvious choice comes to mind would be an iPhone, which is coming out in just 4 days (June 29th). Other choices includes Blackberry phones, the latest is Blackberry 8300 (Curve), but slightly too expensive both to purchase and to maintain (the service that is).</p>
<p> <img border="0" src="http://www.msmobilenews.com/uploads2/2006/10/wm5_crossbow_screenshot.png" alt="Windows Mobile 6" /> <img border="0" width="199" src="http://www.allaboutsymbian.com/reviews/images/n80/n80-1.jpg" alt="Symbian" height="238" style="width:196px;height:232px;" /> <img border="0" width="198" src="http://www.applesfera.com/images/MacBerry71-main.jpg" alt="Blackberry" height="236" /></p>
<p>The secret to Smartphones’ power lies within its integrated firmware, which includes an OS (operation system); so that one can update its software at convenience, e.g. install/uninstall softwares, games. You can do absolutely anything you do on a computer, read pdf books, listen to mp3’s, watch optimized movie clips, play games and ectcetera.</p>
<p> <img border="0" src="http://www.scriptamanentgroup.net/byte/wp-content/uploads/screenshot0002.jpg" alt="FExploerer on Symbian" /> <img border="0" src="http://www.beebee.com.cn/images/200701/smartmovie.jpg" alt="Smartmovie on Symbian" /></p>
<p>Some popular phones, like Nokia 3250, an excellent smartphone with Symbian 9.0 has a problem that dust can get inside the space under the glass screen. Motorola also have some great phones, the new Razr looks slick, but the drawback is its short battery duration and it’s not a smartphone so that you are limited in installing applications. Some additional aspects you should look out for is that the phone should be at least tri-band or quad-band GSM phone, it specifies the frequency it supports so that it will work in Canada. Other things I would personally look in a phone are the size of its screen, talking time, wifi/Bluetooth support, battery duration (this is most important), signal and its ability to resist dust/water/impact.   </p>
<p>Long story short, buy a phone, buy a smartphone. If the phone was a man, than its OS (symbian/Microsoft/linux) is its brain so that it can accept new applications that would serve other purposes than a simple mobile phone. The screen is its face and the battery duration whos how long it lasts without sleep, haha. Good luck finding your phone.</p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</font></p>
<p>E-Insight, 2007</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/einsight.wordpress.com/29/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/einsight.wordpress.com/29/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/einsight.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/einsight.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/einsight.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/einsight.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/einsight.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/einsight.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/einsight.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/einsight.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/einsight.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/einsight.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=29&subd=einsight&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://einsight.wordpress.com/2007/06/27/things-to-look-for-when-select-a-cellphone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23046eb59014af21d679fb9c6579fb18?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">metalickl</media:title>
		</media:content>

		<media:content url="http://www.msmobilenews.com/uploads2/2006/10/wm5_crossbow_screenshot.png" medium="image">
			<media:title type="html">Windows Mobile 6</media:title>
		</media:content>

		<media:content url="http://www.allaboutsymbian.com/reviews/images/n80/n80-1.jpg" medium="image">
			<media:title type="html">Symbian</media:title>
		</media:content>

		<media:content url="http://www.applesfera.com/images/MacBerry71-main.jpg" medium="image">
			<media:title type="html">Blackberry</media:title>
		</media:content>

		<media:content url="http://www.scriptamanentgroup.net/byte/wp-content/uploads/screenshot0002.jpg" medium="image">
			<media:title type="html">FExploerer on Symbian</media:title>
		</media:content>

		<media:content url="http://www.beebee.com.cn/images/200701/smartmovie.jpg" medium="image">
			<media:title type="html">Smartmovie on Symbian</media:title>
		</media:content>
	</item>
		<item>
		<title>How to setup OpenGL in Win32 environment</title>
		<link>http://einsight.wordpress.com/2007/06/03/how-to-setup-opengl-in-win32-environment/</link>
		<comments>http://einsight.wordpress.com/2007/06/03/how-to-setup-opengl-in-win32-environment/#comments</comments>
		<pubDate>Mon, 04 Jun 2007 01:17:38 +0000</pubDate>
		<dc:creator>metalickl</dc:creator>
				<category><![CDATA[Software Insights]]></category>

		<guid isPermaLink="false">http://einsight.wordpress.com/2007/06/03/how-to-setup-opengl-in-win32-environment/</guid>
		<description><![CDATA[How to setup OpenGL in Win32 environment
Because of different computer games have different qualifications in terms of graphics, compatibility, hardware and operation, so their programming are done differently, especially there is quite a few distinctive platforms and different companies also have their own preferences. Some popular platforms are Microsoft’s XBOX, Sony’s PlayStation, Nitendo’s Wii etcetera. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=26&subd=einsight&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h4 class="TextColor1">How to setup OpenGL in Win32 environment</h4>
<p class="bvMsg">Because of different computer games have different qualifications in terms of graphics, compatibility, hardware and operation, so their programming are done differently, especially there is quite a few distinctive platforms and different companies also have their own preferences. Some popular platforms are Microsoft’s XBOX, Sony’s PlayStation, Nitendo’s Wii etcetera. When you want to play a specific game, you need to know which platform it runs on. For example, you need to own a Playstation to play its games.</p>
<p>There is one more platform, perhaps the most well known of all, is PC. Although the performance of PC is not as superb as those specialized gaming platforms, it still holds a great market share in gaming entertainment. Most of PC is based on Win32, and runs Windows. Many popular PC games are developed with DirectX because it is introduced by Microsoft and contains all the graphic displays, operations and controls. If you want to develop these kinds of games, you need to download a very large SDK (free) library. Today, I will describe another graphic engine, OpenGL.</p>
<p>OpenGL (Open Graphics Library) is a standard for a cross-platform graphics development. Some of the games developed by OpenGL are Doom3, Quake, and etcetera. Strictly speaking, OpenGL can be developed for any platform, and you don’t need to download a SDK, (if you have Visual Studio) because Microsoft cooperated with SGI, so it provides the running library.</p>
<p>Ok, you can now see the code attached; ‘I’ copied it from the Microsoft website. When you run it, you will see a little red light flashing and spinning.</p>
<p>You should have Visual Studio C++, start a new Win32 Project, and use any name you wish. Under Application Settings, choose Windows Application and Empty Project. When the project is initialized, you will see a folder called Source Files. Right Click it and choose Add New Items, choose Code in the popped up window. Then choose C++ File(.cpp), give a name, and hit ‘ok’.</p>
<p>Copy &amp; paste the code included as followed. Then run it.</p>
<p>Source Code:</p>
<blockquote><p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">// MyOpenGL.cpp : Defines the entry point for the application.<br />
//</font><span style="color:#e6e6dd;"> </span></span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.<br />
#define _WIN32_WINNT 0&#215;0501 // Change this to the appropriate value to target other versions of Windows.<br />
#endif </font></span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers</font><span style="color:#e6e6dd;"> </span></span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">#include &lt; windows.h &gt;<br />
#include &lt; GL/gl.h &gt;<br />
#include &lt; GL/glu.h &gt;<br />
#include &lt; gl/glaux.h &gt;<br />
#include &lt; math.h &gt;</font><span style="color:#e6e6dd;"> </span></span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">#pragma comment( lib, &#8220;opengl32.lib&#8221; )<br />
#pragma comment( lib, &#8220;glu32.lib&#8221; )<br />
#pragma comment( lib, &#8220;glaux.lib&#8221; ) </font></span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">/* Windows globals, defines, and prototypes */<br />
TCHAR szAppName[]=L&#8221;Win OpenGL&#8221;;<br />
HWND ghWnd;<br />
HDC ghDC;<br />
HGLRC ghRC;</font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">#define SWAPBUFFERS SwapBuffers(ghDC)<br />
#define BLACK_INDEX 0<br />
#define RED_INDEX 13<br />
#define GREEN_INDEX 14<br />
#define BLUE_INDEX 16<br />
#define WIDTH 600<br />
#define HEIGHT 450</font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">LONG WINAPI MainWndProc (HWND, UINT, WPARAM, LPARAM);<br />
BOOL bSetupPixelFormat(HDC);</font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">/* OpenGL globals, defines, and prototypes */</p>
<p>GLfloat LightAmbient[]= { 1.0f, 0.0f, 0.0f, 1.0f };<br />
GLfloat LightDiffuse[]= { 1.0f, 1.0f, 1.0f, 1.0f };<br />
GLfloat LightPosition[]= { 0.50f, .50f, -6.0f, 1.0f };<br />
GLfloat Lightspecular[] = { 0.5f, 0.5f, 0.5f, 1.0f };<span style="color:#e6e6dd;"> </span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">GLfloat LightAmbient1[]= { 1.0f, 1.0f, 0.0f, 1.0f }; </font></span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><br />
<font color="#000000">GLvoid resize(GLsizei, GLsizei);<br />
GLvoid initializeGL(GLsizei, GLsizei);<br />
GLvoid drawScene(GLvoid);<br />
GLfloat yrot=0.0f;<br />
GLfloat xrot=0.0f;<br />
GLfloat zrot=0.0f;</font><span style="color:#e6e6dd;"> </span></span></p>
<p></font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">/*Win32 code*/<br />
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)<br />
{<br />
MSG msg;<br />
WNDCLASS wndclass;</font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">/* Register the frame class */<br />
wndclass.style = 0;<br />
wndclass.lpfnWndProc = (WNDPROC)MainWndProc;<br />
wndclass.cbClsExtra = 0;<br />
wndclass.cbWndExtra = 0;<br />
wndclass.hInstance = hInstance;<br />
wndclass.hIcon = LoadIcon (hInstance, szAppName);<br />
wndclass.hCursor = LoadCursor (NULL,IDC_ARROW);<br />
wndclass.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);<br />
wndclass.lpszMenuName = szAppName;<br />
wndclass.lpszClassName = szAppName;</font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">if (!RegisterClass (&amp;wndclass) )<br />
return FALSE;</font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">/* Create the frame */<br />
ghWnd = CreateWindow (szAppName,<br />
L&#8221;OpenGL Sample&#8221;,<br />
WS_OVERLAPPEDWINDOW | WS_CLIPSIBLINGS | WS_CLIPCHILDREN,<br />
CW_USEDEFAULT,<br />
CW_USEDEFAULT,<br />
WIDTH,<br />
HEIGHT,<br />
NULL,<br />
NULL,<br />
hInstance,<br />
NULL);</p>
<p>/* make sure window was created */<br />
if (!ghWnd)<br />
return FALSE;</p>
<p>/* show and update main window */<br />
ShowWindow (ghWnd, nCmdShow);</p>
<p>UpdateWindow (ghWnd);</p>
<p>/* animation loop */<br />
while (1) {<br />
/*<br />
* Process all pending messages<br />
*/</p>
<p>while (PeekMessage(&amp;msg, NULL, 0, 0, PM_NOREMOVE) == TRUE)<br />
{<br />
if (GetMessage(&amp;msg, NULL, 0, 0) )<br />
{<br />
TranslateMessage(&amp;msg);<br />
DispatchMessage(&amp;msg);<br />
} else {<br />
return TRUE;<br />
}<br />
}<br />
drawScene();<br />
}<br />
}</p>
<p>/* main window procedure */<br />
LONG WINAPI MainWndProc (<br />
HWND hWnd,<br />
UINT uMsg,<br />
WPARAM wParam,<br />
LPARAM lParam)<br />
{<br />
LONG lRet = 1;<br />
PAINTSTRUCT ps;<br />
RECT rect;</p>
<p>switch (uMsg) {</p>
<p>case WM_CREATE:<br />
ghDC = GetDC(hWnd);<br />
if (!bSetupPixelFormat(ghDC))<br />
PostQuitMessage (0);</p>
<p>ghRC = wglCreateContext(ghDC);<br />
wglMakeCurrent(ghDC, ghRC);<br />
GetClientRect(hWnd, &amp;rect);<br />
initializeGL(rect.right, rect.bottom);<br />
break;</p>
<p>case WM_PAINT:<br />
BeginPaint(hWnd, &amp;ps);<br />
EndPaint(hWnd, &amp;ps);<br />
break;</p>
<p>case WM_SIZE:<br />
GetClientRect(hWnd, &amp;rect);<br />
resize(rect.right, rect.bottom);<br />
break;</p>
<p>case WM_CLOSE:<br />
if (ghRC)<br />
wglDeleteContext(ghRC);<br />
if (ghDC)<br />
ReleaseDC(hWnd, ghDC);<br />
ghRC = 0;<br />
ghDC = 0;</p>
<p>DestroyWindow (hWnd);<br />
break;</p>
<p>case WM_DESTROY:<br />
if (ghRC)<br />
wglDeleteContext(ghRC);<br />
if (ghDC)<br />
ReleaseDC(hWnd, ghDC);</p>
<p>PostQuitMessage (0);<br />
break;</p>
<p></font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">case WM_KEYDOWN:<br />
switch (wParam) {<br />
case VK_LEFT:<br />
zrot+=1.0f; break;<br />
case VK_RIGHT:<br />
zrot-=1.0f;break;<br />
case VK_UP:<br />
xrot+=1.0f;break;<br />
case VK_DOWN:<br />
xrot-=1.0f;break;<br />
}<br />
default:<br />
lRet = DefWindowProc (hWnd, uMsg, wParam, lParam);<br />
break;<br />
}</font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">return lRet;<br />
}</font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">BOOL bSetupPixelFormat(HDC hdc)<br />
{<br />
PIXELFORMATDE***OR pfd, *ppfd;<br />
int pixelformat;</font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000"><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">ppfd = &amp;pfd; </font></span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">ppfd-&gt;nSize = sizeof(PIXELFORMATDE***OR);<br />
ppfd-&gt;nVersion = 1;<br />
ppfd-&gt;dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL |<br />
PFD_DOUBLEBUFFER;<br />
ppfd-&gt;dwLayerMask = PFD_MAIN_PLANE;<br />
ppfd-&gt;iPixelType = PFD_TYPE_COLORINDEX;<br />
ppfd-&gt;cColorBits = 8;<br />
ppfd-&gt;cDepthBits = 16;<br />
ppfd-&gt;cAccumBits = 0;<br />
ppfd-&gt;cStencilBits = 0; </font></span></p>
<p></font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">pixelformat = ChoosePixelFormat(hdc, ppfd);<br />
SetPixelFormat(hdc, pixelformat, ppfd);<br />
return TRUE;<br />
}</font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">/* OpenGL code */</font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">GLvoid resize( GLsizei width, GLsizei height )<br />
{<br />
GLfloat aspect;</font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">glViewport( 0, 0, width, height );</p>
<p>aspect = (GLfloat) width / height;</p>
<p>glMatrixMode( GL_PROJECTION );<br />
glLoadIdentity();<br />
gluPerspective( 45.0, aspect, 3.0, 7.0 );<br />
glMatrixMode( GL_MODELVIEW );<br />
}<br />
//construct the basic objects, and put them in a list<br />
GLvoid createObjects()<br />
{<br />
GLUquadricObj *quadObjBody;<br />
GLUquadricObj *quadObjNet;<br />
GLUquadricObj *quadObjTop;<br />
GLUquadricObj *quadObjUp;<br />
GLUquadricObj *quadObjDown1;<br />
GLUquadricObj *quadObjDown2;<br />
GLUquadricObj *quadObjHandle;<br />
GLUquadricObj *quadObjHead;</p>
<p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">glNewList(1, GL_COMPILE);<br />
glPushMatrix();<br />
glScalef(0.7,0.7,0.7);<br />
//draw the handle<br />
glPushMatrix();<br />
glLightfv(GL_LIGHT0, GL_AMBIENT, LightAmbient1);<br />
glTranslatef(0.0f,.0f,-1.4f);<br />
quadObjHandle = gluNewQuadric ();<br />
gluQuadricDrawStyle (quadObjHandle, GLU_SILHOUETTE);<br />
gluCylinder(quadObjHandle,0.02,0.02,0.5f,32,32);<br />
quadObjHead = gluNewQuadric ();<br />
gluSphere (quadObjHead, 0.05f, 64, 64);<br />
glPopMatrix();<br />
//draw the top<br />
glPushMatrix();<br />
glLightfv(GL_LIGHT0, GL_AMBIENT, LightAmbient1);<br />
glTranslatef(0.0f,.0f,-1.05f);<br />
quadObjUp = gluNewQuadric ();<br />
gluQuadricDrawStyle (quadObjUp, GLU_SILHOUETTE);<br />
gluCylinder(quadObjUp,0.25,0.3,0.1,32,32);</font><span style="color:#e6e6dd;"> </span></span></p>
<p></font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">quadObjTop = gluNewQuadric();<br />
gluQuadricDrawStyle (quadObjTop, GLU_LINE);<br />
gluDisk(quadObjTop,0.02f,0.25,10,10);<br />
glPopMatrix();<br />
//draw the body<br />
glPushMatrix();<br />
glScalef(1.0,1.0,.80);<br />
quadObjNet = gluNewQuadric ();<br />
gluQuadricDrawStyle (quadObjNet, GLU_LINE);<br />
gluSphere (quadObjNet, 1.205f, 8, 64);</font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">glLightfv(GL_LIGHT0, GL_AMBIENT, LightAmbient);<br />
quadObjBody = gluNewQuadric ();<br />
gluSphere (quadObjBody, 1.20f, 64, 64);<br />
glPopMatrix();<br />
//draw the bottom<br />
glPushMatrix();<br />
glLightfv(GL_LIGHT0, GL_AMBIENT, LightAmbient1);<br />
glTranslatef(0.0f,.0f,0.95f);<span style="color:#e6e6dd;"> </span></font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000"><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">quadObjDown1 = gluNewQuadric ();<br />
gluQuadricDrawStyle (quadObjDown1, GLU_SILHOUETTE);<br />
gluCylinder(quadObjDown1,0.25,0.3,0.2,32,32);</font><span style="color:#e6e6dd;"> </span></span></font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000"><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">quadObjDown2 = gluNewQuadric ();<br />
gluQuadricDrawStyle (quadObjDown2, GLU_SILHOUETTE);<br />
gluCylinder(quadObjDown2,0.15,0.2,0.3,32,32);</font><span style="color:#e6e6dd;"> </span></span></p>
<p></font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">glPopMatrix();</font><span style="color:#e6e6dd;"> </span></span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">glPopMatrix();<br />
glEndList(); </font></span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><br />
<font color="#000000">}<br />
//initial, lighting, enable something<br />
GLvoid initializeGL(GLsizei width, GLsizei height)<br />
{<br />
GLfloat aspect; </font></span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">glClearIndex( (GLfloat)BLACK_INDEX); </font></span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">glShadeModel(GL_SMOOTH); //make the color smoothly<br />
glClearColor( 0.50, 0.50, 0.50, 1.0 ); //set the screen clear color<br />
glClearDepth(.0f); //set the depth of buffer<br />
glEnable(GL_DEPTH_TEST); //allow depth test<br />
glDepthFunc(GL_GREATER); //the type of depth test<br />
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST); </font></span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">glEnable(GL_LIGHTING);<br />
glLightfv(GL_LIGHT0, GL_AMBIENT, LightAmbient);<br />
glLightfv(GL_LIGHT0, GL_DIFFUSE, LightDiffuse);<br />
glLightfv(GL_LIGHT0, GL_SPECULAR, Lightspecular);<br />
glLightfv(GL_LIGHT0, GL_POSITION,LightPosition);<br />
glEnable(GL_LIGHT0);</font><span style="color:#e6e6dd;"> </span></span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">glEnable(GL_NORMALIZE);<br />
glFrontFace(GL_FRONT_AND_BACK);<br />
glMatrixMode( GL_PROJECTION );<br />
aspect = (GLfloat) width / height; </font></span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">gluPerspective( 45.0, aspect, 5.0f, 10.0f );<br />
glMatrixMode( GL_MODELVIEW ); </font></span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">createObjects();<br />
}</font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">//move<br />
GLvoid drawScene(GLvoid)<br />
{<br />
glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );</font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">glLoadIdentity();<span style="color:#e6e6dd;"> </span></font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000"><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">glPushMatrix();<br />
glTranslatef(0.0f,0.0f,-4.0f);<br />
glRotatef(xrot,1.0f,0.0f,0.0f);<br />
glRotatef(zrot,0.0f,0.0f,1.0f);<br />
glPushMatrix();<br />
glRotatef(yrot,0.0f,1.0f,0.0f);<br />
glPushMatrix();<br />
glRotatef(90,1.0f,.0f,.0f);<br />
glCallList(1);<br />
glPopMatrix();<br />
glPopMatrix();<br />
glPopMatrix(); </font></span></p>
<p><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">if(abs(yrot &#8211; 360.0f) &lt; 0.01)<br />
yrot=0.0f;<br />
yrot+=0.5f;</font><span style="color:#e6e6dd;"> </span></span></p>
<p></font></span><span style="font-size:11pt;font-family:'Courier New';"><font color="#000000">glFlush();<br />
SWAPBUFFERS;<br />
}</font></span> </p></blockquote>
<p>please excuse me for any spelling/grammar errors, I don&#8217;t proof read.</p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</font></p>
<p>E-Insight, 2007</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/einsight.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/einsight.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/einsight.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/einsight.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/einsight.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/einsight.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/einsight.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/einsight.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/einsight.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/einsight.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/einsight.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/einsight.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=einsight.wordpress.com&blog=658461&post=26&subd=einsight&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://einsight.wordpress.com/2007/06/03/how-to-setup-opengl-in-win32-environment/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/23046eb59014af21d679fb9c6579fb18?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">metalickl</media:title>
		</media:content>
	</item>
	</channel>
</rss>