<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Seifi.org &#187; google</title>
	<atom:link href="http://www.seifi.org/category/google/feed" rel="self" type="application/rss+xml" />
	<link>http://www.seifi.org</link>
	<description>A Web Development Blog by Joe Seifi - seifi.org</description>
	<lastBuildDate>Thu, 26 Jan 2012 01:08:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Lion Mail Deletes IMAP Emails without Notice (Gmail Important Label)</title>
		<link>http://www.seifi.org/email/lion-mail-app-deletes-imap-emails-without-notice-gmail-important-fix.html</link>
		<comments>http://www.seifi.org/email/lion-mail-app-deletes-imap-emails-without-notice-gmail-important-fix.html#comments</comments>
		<pubDate>Thu, 26 Jan 2012 00:59:15 +0000</pubDate>
		<dc:creator>Joe Seifi</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.seifi.org/?p=841</guid>
		<description><![CDATA[Today I ran across this issue. You open Mail on your Mac running Lion with any IMAP email accounts (Gmail, Yahoo, Thirdparty server) and Mac Mail randomly deletes the email messages after it fetches new mail. You can verify this issue by shutting down your Mail app and viewing that messages in fact exist on [...]]]></description>
			<content:encoded><![CDATA[<p>Today I ran across this issue. You open Mail on your Mac running Lion with any IMAP email accounts (Gmail, Yahoo, Thirdparty server) and Mac Mail randomly deletes the email messages after it fetches new mail. You can verify this issue by shutting down your Mail app and viewing that messages in fact exist on the IMAP server. Then you open Mail and the emails are deleted as soon as the check activity is complete. There are no filters or rules running behind the scenes. </p>
<p>A ton of people on <a href="https://discussions.apple.com/thread/3206902">this thread on the Apple website are discussing</a> and running into the same issue.</p>
<p><img src="http://www.seifi.org/wp-content/uploads/2012/01/Mail_IDLE_command_option.png" alt="" title="Mail IDLE command option" width="404" height="348" class="alignnone size-full wp-image-844" /></p>
<p>There are apparently 2 ways to fix this issue:</p>
<p>The first one is to simply disable &#8220;<strong>Use IDLE command if the server supports it</strong>&#8221; from the Advanced settings for your Account, as shown above.</p>
<p>The second fix is to wipe out all your emails and accounts and start all over. This method is pretty risky and I don&#8217;t think you should try it unless you really know what you&#8217;re doing. To do this, quit Mail, then using Terminal, move all the files in ~/Library/Mail/V2/ out into another location. Then Open Mail and recreate all your accounts.</p>
<p><strong>Side note regarding Gmail and Priority Inbox</strong><br />
Personally I ran into this disappearing mail issue with Lion when I realized that Gmail was assigning some emails the <strong>Important</strong> Label without me knowing it. These emails were also skipping the <strong>Inbox</strong>. So basically, anything the Google deemed &#8220;Important&#8221; was never being show to me in Mail. How ironic right? The fix was to go into the Inbox settings in Gmail and Set these options: </p>
<p><strong>Inbox Type</strong>: Classic (The Priority Inbox drives me insane personally)<br />
<strong>Importance Markers</strong>: Show Markers (I tried using the No Markers option but it was causing the emails not to appear in my Mac Mail Inbox)<br />
<strong>Filtered Mail</strong>: Override Filters (Again this option is here to leave messages in your inbox)<br />
And finally in Lion Mail make sure to disable the IDLE option for the account.</p>
<p>Having done all this, I still don&#8217;t fully trust that Gmail is not putting things in the Important folder, so I have turned on the Show in IMAP feature for that label in Gmail Settings and check that folder once in a while in Mail.</p>
<p>I am using Mail Version 5.1 (1251/1251.1) for your reference.</p>
<p>Let me know if you are having similar issues with either Gmail Importance mail disappearing or Lion Mail deleting emails automatically.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seifi.org/email/lion-mail-app-deletes-imap-emails-without-notice-gmail-important-fix.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimizing the Google +1 button for speed</title>
		<link>http://www.seifi.org/javascript/optimizing-the-google-1-button-for-speed.html</link>
		<comments>http://www.seifi.org/javascript/optimizing-the-google-1-button-for-speed.html#comments</comments>
		<pubDate>Fri, 17 Jun 2011 20:38:43 +0000</pubDate>
		<dc:creator>Joe Seifi</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.seifi.org/?p=812</guid>
		<description><![CDATA[If you&#8217;re like most bloggers and site owners, you&#8217;ve probably already added or are planning to add the new Google +1 button to your website, to go along with the Twitter and Facebook buttons. Having implemented the +1 button I&#8217;ve found that the script takes a long time to load, and does not even load [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like most bloggers and site owners, you&#8217;ve probably already added or are planning to add the new Google +1 button to your website, to go along with the Twitter and Facebook buttons. Having implemented the +1 button I&#8217;ve found that the script takes a long time to load, and does not even load if you&#8217;re on an iPhone or iPad. This actually comes as a shock to me considering Google itself is a huge advocate of page speed improvements. The file (plusone.js) is 4 KB (before gzipping) and gets assigned a short expiration time of only 60 minutes by Google. Thankfully the script is gzipped and is only semi-minified, but it still takes a new uncached hit about 1.26 seconds to complete. Most of this time is spent in either the Blocking or Waiting stages, which might have something to do with it being served from a secure server. The decision to load the file over HTTPS by default is a bit baffling to me, especially since the handshake is historically slower. Unless sensitive information exists in the JS code which could be another interesting topic. Google has been doing some work on <a href="http://blog.chromium.org/2011/05/ssl-falsestart-performance-results.html" target="_blank">SSL FalseStart</a> in Chrome to alleviate SSL latency and it seems their goal is to eventually serve all their services securely. Plusone.js then loads a second much larger js file from plusone.google.com also over SSL which comes in at about 57 KB (before gzipping). This file tacks on another 1.17 seconds to the completion time for the +1 button.</p>
<p>After seeing how slow the Google +1 button loads and how it can actually degrade your website&#8217;s overall pageload time, I started looking around for answers. First of all, I found that I&#8217;m not the only one complaining about the issue. Numerous others have started to point out the speed issues with the +1 button. My second thought was to perhaps remove the button from the site, although considering the effect the +1 button has on your website&#8217;s ranking that would mean less love from Google. </p>
<p>So what&#8217;s a developer to do? If we keep the button on our site, overall pageload times spike. But if we remove the button, or not add it, we might lose out on a potential piece of the social voting pie which most believe affects your search performance. </p>
<p>So here are my techniques for making Google +1 button load faster, or at least not slow down your site. Interestingly enough these techniques are the same set of tips and tricks that Google&#8217;s own <a href="http://code.google.com/speed/page-speed/" target="_blank">Page Speed</a> recommends for webmasters.</p>
<h3>1) Save a step, Use Https</h3>
<p>Make sure you use the HTTPS protocol in the URL for the JavaScript source, as the original version of the button snippets given out by Google included the HTTP version http://apis.google.com/js/plusone.js which just does a redirect to https://apis.google.com/js/plusone.js This issue has since been corrected by Google when you use Google&#8217;s <a href="http://www.google.com/webmasters/+1/button/" target="_blank">+1 button generator</a> site.</p>
<h3>2) Don&#8217;t load the script on Mobile devices</h3>
<p>As stated by Google, currently the Google +1 button does not support <a href="http://www.google.com/support/forum/p/Webmasters/thread?tid=6da5296e3d7207e2" target="_blank">mobile devices</a> like the iPhone, iPod touch, iPad, or Android. This means if you have the button code on a mobile site you&#8217;re basically wasting HTTP connections and adding extra weight to your site&#8217;s throughput. To get around this fact you need to write a little utility function in JavaScript that sniffs the userAgent for unsupported devices, and only makes a call to the script if your client is not one of those devices.<br />
For example in the case of an iPhone and iPad website, you would do something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> isMobileUser<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/iphone|ipod|ipad|android|blackberry|mini|windows\sce|palm/i</span>.<span style="color: #660066;">test</span><span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">userAgent</span>.<span style="color: #660066;">toLowerCase</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
<span style="color: #009900;">&#125;</span>
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>isMobileUser<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #006600; font-style: italic;">//include the plusone.js code here</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<h3>3) Load the plusone.js script asynchronously</h3>
<p>HTML 5 has introduced the ability to load scripts asynchronously allowing the rest of the page to load independently of potential bottlenecks. This feature is actually already in use for the Google Analytics code. Keep in mind that only Chrome and Firefox 3.6 and above <a href="http://www.browserscope.org/?category=network" target="_blank">support</a> the <a href="http://www.whatwg.org/specs/web-apps/current-work/#attr-script-async" target="_blank">async</a> feature at this time. But it does not hurt your non-supporting browsers in any way so it&#8217;s safe to use. Here&#8217;s the code that combines the check for unsupported mobile browsers from before to load the +1 button script asynchronously. Note that since this code is loaded asynchronously it doesn&#8217;t matter if you put the call in the footer or header.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> isMobileUser<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/iphone|ipod|ipad|android|blackberry|mini|windows\sce|palm/i</span>.<span style="color: #660066;">test</span><span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">userAgent</span>.<span style="color: #660066;">toLowerCase</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
<span style="color: #009900;">&#125;</span>
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>isMobileUser<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
<span style="color: #006600; font-style: italic;">// create a new script element in the DOM</span>
<span style="color: #003366; font-weight: bold;">var</span> gp1script <span style="color: #339933;">=</span> document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'script'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// set it's type attribute, not really needed in HTML 5 but just to be safe</span>
gp1script.<span style="color: #660066;">type</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'text/javascript'</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// set the HTML 5 attribute of async to true for the script tag</span>
gp1script.<span style="color: #660066;">async</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// set the source attribute to the https version of the google pluseone code</span>
<span style="color: #006600; font-style: italic;">// change this to your own server path if you are cosidering using option 4 below</span>
gp1script.<span style="color: #660066;">src</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'https://apis.google.com/js/plusone.js'</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// add the new script tag to the head or body of the page</span>
<span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'head'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">||</span>document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'body'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>gp1script<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>You would then place the tag where you want the +1 button to render, which since it is a proprietry tag will just be ignored if the script is not present on your page.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;g:plusone&gt;&lt;/g:plusone&gt;</pre></div></div>

<p>If you&#8217;re not comfortable with the <g> tag, you can also use an HTML 5 version to render the +1 button on your site, which uses a css class of g-plusone and sets attributes as needed. For example you can display a standard +1 button with counts using this HTML 5 tag.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;g-plusone&quot; data-size=&quot;standard&quot; data-count=&quot;true&quot;&gt;&lt;/div&gt;</pre></div></div>

<p>Note that you can also place multiple +1 buttons on a single page. For example you might have a +1 button that directs its vote to your main parent homepage like so:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;g:plusone href=&quot;http://www.your_tld.com/&gt;&lt;/g:plusone&gt;</pre></div></div>

<h3>4) Host the plusone.js file yourself</h3>
<p>This option has been suggested by some users, although I personally argue against it just because you&#8217;ll be responsible for continuously monitoring changes and updating your version. The big benefit here is avoiding that dreaded HTTPS server, but keep in mind the script still will make that second call to load the plusone library so you&#8217;re still not home free. Only go this route if you&#8217;re seriously considering a site improvement and are willing and capable of pushing out updates to your version of the script. I&#8217;m sure the Google +1 team is making lots of changes and adding bug fixes which you will miss out on if you forget to update the script on a daily basis. In the extreme case you could perhaps write a program that downloads the latest version of the script from Google&#8217;s servers and updates your version on a daily basis, but then again this becomes a new task to keep an eye on.</p>
<p>Hope this helps and let me know if you have other tips and or feedback regarding these ideas. For more details be sure to read the +1 button <a href="http://code.google.com/apis/+1button/" target="_blank">API</a> page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seifi.org/javascript/optimizing-the-google-1-button-for-speed.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome First Impressions</title>
		<link>http://www.seifi.org/javascript/google-chrome-first-impressions.html</link>
		<comments>http://www.seifi.org/javascript/google-chrome-first-impressions.html#comments</comments>
		<pubDate>Tue, 02 Sep 2008 19:02:35 +0000</pubDate>
		<dc:creator>Joe Seifi</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.seifi.org/?p=677</guid>
		<description><![CDATA[Yet another browser? Well here we go again. Let&#8217;s take a look at Chrome and see what it has to offer. The download page is located here. The installer for Windows XP is only 474KB! You can watch the press conference video about Google Chrome or read the Google Chrome Book in the meantime. What [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.seifi.org/wp-content/uploads/2008/09/googlechromelogo.jpg" alt="" title="Google Chrome Logo" width="55" height="53" class="alignnone size-full wp-image-683" hspace="15" align="right" />Yet another browser? Well here we go again. Let&#8217;s take a look at Chrome and see what it has to offer. The download page is <a href="http://www.google.com/chrome">located here</a>. The installer for Windows XP is only 474KB! You can watch the <a href="http://google.client.shareholder.com/Visitors/event/build2/MediaPresentation.cfm?MediaID=33101&#038;Player=1">press conference video</a> about Google Chrome or read the <a href="http://www.google.com/googlebooks/chrome/index.html">Google Chrome Book</a> in the meantime.</p>
<h3>What we knew so far about Chrome</h3>
<ul>
<li>Uses <a href="http://code.google.com/apis/v8/">V8 JavaScript engine</a> which supports Classes and compilation. There is a <a href="http://code.google.com/apis/v8/run.html">V8 JavaScript benchmark suite</a> that gives FireFox 3 a score of 83, while giving Chrome a score of 1213! Safari 3 gets a score of 128. Judging by this alone, V8 blows away the competition.</li>
<li>Uses Webkit rendering engine.</li>
<li>Tabs run as independent processes which can be managed.</li>
<li>Lots of other <a href="http://gears.google.com/chrome/intl/en/features.html">features</a>.</li>
</ul>
<h3>First Impressions</h3>
<ul>
<li>Installation was a breeze and imported FireFox settings.</li>
<li>No status bar, You only see the status bar when you hover over a hyperlink.</li>
<li>The Task Manager (Shift + Escape) updates in real time and shows memory, CPU and network usage for each tab, each plugin, and the main Chrome process separately. There is also a link to Stats for Nerds with lots more gritty info.</li>
<li>The Flash plugin is extremely CPU usage intensive and causes sluggishness when scrolling. I just loaded a popular <a href="http://www.adobe.com/products/acrobat/">flash website</a> and noticed my machine came down to a near halt. It seems to happen more with Flash files that contain infinite loops, using as much as 70% of the CPU.<br />
<img src="http://www.seifi.org/wp-content/uploads/2008/09/chrome_taskmanager_cpu.gif" alt="" title="Chrome Task Manager CPU Usage" width="377" height="164" class="alignnone size-full wp-image-681" />
</li>
<li>The built in JavaScript console looks like a combination of <a href="http://www.seifi.org/javascript/firebug_tips_and_tricks.html">FireBug</a> and <a href="http://www.seifi.org/css/whats-new-in-safari-31-web-inspector-and-sinppet-editor.html">Web Inspector</a>.</li>
<li>There is a built in JavaScript Debugger (Alt + `)</li>
<li>Passes the <a href="http://www.webstandards.org/files/acid2/test.html">Acid 2 test</a>.</li>
<li>Chrome gets a score of 78 on the <a href="http://acid3.acidtests.org/">Acid 3 test</a>, which is higher than FireFox 3 at 57, <a href="http://webkit.org/blog/158/the-acid-3-test/">Safari</a> at 72, and Opera at 45.<br />
<img src="http://www.seifi.org/wp-content/uploads/2008/09/chrome_acid3.gif" alt="" title="Chrome Acid 3 Results" width="450" height="369" class="alignnone size-full wp-image-682" />
</li>
<li>Omnibar &#8211; this is the URL/location bar in Chrome that has some fuzzy logic built in to suggest &#8220;smart&#8221; autocompletes. This is the current order of the drop down in the auto complete list. There seems to be no way of changing this ordering as of now. Would be nice to be able to customize them.<br />
&nbsp;<br />
<img src="http://www.seifi.org/wp-content/uploads/2008/09/omnibar.gif" alt="" title="Google Chrome Omnibar - Search Amazon" width="396" height="173" /><br />
&nbsp;</p>
<ol>
<li>Search Google for FOOBAR</li>
<li>FOOBAR/ (I&#8217;m not sure how useful this one is really)</li>
<li>Link to the FOOBAR Wikipedia page</li>
<li>Link to I&#8217;m Feeling Lucky URL for term FOOBAR. This item gives you the ability to search within the URL. For example if you type in Amazon in the Omnibar and select the amazon.com option using the down arrows, you will see &#8220;Press Tab to Search Amazon&#8221;. See below instruction on implementing this search functionality for your website.
</li>
<li>Search Google for FOOBAR ANOTHER TERM</li>
<li>Search Google for FOOBAR ANOTHER TERM</li>
<li>A page in your history pertaining to FOOBAR</li>
<li>Link to history search for pages about FOOBAR</li>
</ol>
</li>
</ul>
<h3>Cool Developer related stuff in Chrome</h3>
<p>Google Chrome User Agent String: </p>
<blockquote><p>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.X.Y.Z Safari/525.13.</p></blockquote>
<p>Chrome has a menu option called &#8220;Create application shortcuts&#8230;&#8221; that uses Google Gears to create a shortcut to your webapp. Users can choose to place the shortcut to your webapp on their Desktop, on the Start menu and even the Quick launch bar in Windows. This is a pretty powerful feature. When a user clicks this icon, Chrome opens up without the Omnibar, and your website will appear in an &#8220;Application&#8221; format. You can customize how Chrome creates these shortcuts using meta tags. These tags are named: application-name, description, application-url, and shortcut icons in both 32&#215;32 or 48&#215;48 formats. The favicon is used if not specified. For example you can use the following HTML code in the head of your document. Note that with the Mozilla added support which is used in Chrome, you can use any supported graphic format as your favicon, and not just the old school <a href="http://en.wikipedia.org/wiki/Favicon">favicon.ico</a> file.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;head&gt;
  &lt;meta name=&quot;application-name&quot; content=&quot;Gmail&quot;/&gt;
  &lt;meta name=&quot;description&quot; content=&quot;Google's approach to email&quot;/&gt;
  &lt;meta name=&quot;application-url&quot; content=&quot;http://www.gmail.com&quot;/&gt;
  &lt;link rel=&quot;icon&quot; href=gmail_32x32.png sizes=&quot;32x32&quot;/&gt;
  &lt;link rel=&quot;icon&quot; href=gmail_48x48.png sizes=&quot;48x48&quot;/&gt;
&lt;/head&gt;</pre></div></div>

<p>To open a new tab from your webapp in a separate process using JavaScript you can do this in Chrome.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> w <span style="color: #339933;">=</span> window.<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
w.<span style="color: #660066;">opener</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">;</span>
w.<span style="color: #660066;">document</span>.<span style="color: #660066;">location</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;http://differentsite.com/index.html&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Chrome lets users search your website from its ominbar. To enable and include your website&#8217;s search in Chrome you have to create an <a href="http://www.opensearch.org">OpenSearch</a> description document (OSDD).<br />
For example you can create something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;OpenSearchDescription</span> <span style="color: #000066;">xmlns</span>=<span style="color: #ff0000;">&quot;http://a9.com/-/spec/opensearch/1.1/&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ShortName<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Web Search<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ShortName<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Use Example.com to search the Web.<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Description<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Tags<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>example web<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Tags<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Contact<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>admin@example.com<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Contact<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Url</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;application/atom+xml&quot;</span></span>
<span style="color: #009900;">        <span style="color: #000066;">template</span>=<span style="color: #ff0000;">&quot;http://example.com/?q={searchTerms}&amp;amp;pw={startPage?}&amp;amp;format=atom&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Url</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;application/rss+xml&quot;</span></span>
<span style="color: #009900;">        <span style="color: #000066;">template</span>=<span style="color: #ff0000;">&quot;http://example.com/?q={searchTerms}&amp;amp;pw={startPage?}&amp;amp;format=rss&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Url</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/html&quot;</span> </span>
<span style="color: #009900;">        <span style="color: #000066;">template</span>=<span style="color: #ff0000;">&quot;http://example.com/?q={searchTerms}&amp;amp;pw={startPage?}&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;LongName<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Example.com Web Search<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/LongName<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Image</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">&quot;64&quot;</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">&quot;64&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;image/png&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>http://example.com/websearch.png<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Image<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Image</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">&quot;16&quot;</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">&quot;16&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;image/vnd.microsoft.icon&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>http://example.com/websearch.ico<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Image<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Query</span> <span style="color: #000066;">role</span>=<span style="color: #ff0000;">&quot;example&quot;</span> <span style="color: #000066;">searchTerms</span>=<span style="color: #ff0000;">&quot;cat&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Developer<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Example.com Development Team<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Developer<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Attribution<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     Search data Copyright 2005, Example.com, Inc., All Rights Reserved
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Attribution<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;SyndicationRight<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>open<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/SyndicationRight<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;AdultContent<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>false<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/AdultContent<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Language<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>en-us<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Language<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;OutputEncoding<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>UTF-8<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/OutputEncoding<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;InputEncoding<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>UTF-8<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/InputEncoding<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/OpenSearchDescription<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>Fore more tips read the Google Chrome <a href="http://gears.google.com/chrome/intl/en/webmasters-faq.html">FAQ for web developers</a> page.</p>
<p>ps. Don&#8217;t use the <a href="http://gears.google.com/chrome/">Google gears Chrome download page</a> which gives a JavaScript error!</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">_GU_SetupOneClick <span style="color: #000066; font-weight: bold;">is</span> not defined
<span style="color: #000066;">onload</span><span style="color: #009900;">&#40;</span>load <span style="color: #009900;">&#41;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.seifi.org/javascript/google-chrome-first-impressions.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Microsoft Buys Google for $200 Billion</title>
		<link>http://www.seifi.org/google/microsoft-buys-google-for-200-billion.html</link>
		<comments>http://www.seifi.org/google/microsoft-buys-google-for-200-billion.html#comments</comments>
		<pubDate>Tue, 01 Apr 2008 07:01:45 +0000</pubDate>
		<dc:creator>Joe Seifi</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://www.seifi.org/microsoft/microsoft-buys-google-for-200-billion.html</guid>
		<description><![CDATA[The number one search engine on the planet has just announced the biggest deal to hit the internet since its YouTube buy. Microsoft has just made an offer for Google for the amount of $200,000,000,000 which is about $638 per share of the 137 million outstanding shares. Google shares have plummeted to all time low [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.seifi.org/wp-content/uploads/2008/03/aprilfools.gif' alt='Microsoft Buys Google for $200 Billion' /><br />
The number one search engine on the planet has just announced the biggest deal to hit the internet since its YouTube buy. Microsoft has just made an offer for Google for the amount of $200,000,000,000 which is about $638 per share of the 137 million outstanding shares.</p>
<p>Google shares have plummeted to all time low of $41 per share on the news of the buyout, while Microsoft shares opened trading at an all time high of $121 this morning. Google is shipping its PageRank and search index which contains 1.34 <a target="_blank" href="http://en.wikipedia.org/wiki/Petabyte">Petabytes</a> of data stored in over 550,000 tape drives over to Microsoft using 3,000 Armored Trucks, driving up north from Mountain View to Redmond. The <a target="_blank" href="http://tinyurl.com/3aft6x">848 mile road trip</a> will be overseen by law enforcement agencies both on the ground and in the air.</p>
<p>There is yet no official announcement as to what Microsoft plans to do with the new Google acquisition, but rumors are flying around that Microsoft plans to start selling a new search based operating system with a new built in software called Windows Internet Search that will perform web searches at an alarming fast rate using Google search. The new upgrade will cost around $149 for existing Windows Vista users. Microsoft has no plans of providing search functionality to Apple users.</p>
<p>Microsoft will also be offering a subscription based search to its customers starting next year that is said to incorporate the new Google logic. The search feature will provide subscribers with 10 Google searches per day starting at 0.99c.</p>
<p>In related news, Google announced that it is experiencing unusually high traffic today, as users of the search engine giant around the world are are frantically trying to back up the entire search engine&#8217;s database before Microsoft officially shuts it down in the coming weeks.</p>
<p>Google employees have made a pact to <a href="http://www.youtube.com/watch?v=Yu_moia-oVI" target="_blank">never give up</a> and are voicing their disapproval of the announcement by forming their own Open Source startup search engine company called AprilFools that is expected to be a noteworthy replacement for the many fooled Google users worldwide.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seifi.org/google/microsoft-buys-google-for-200-billion.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How Google Analytics determines Connection Speeds</title>
		<link>http://www.seifi.org/javascript/how-google-analytics-determines-connection-speeds.html</link>
		<comments>http://www.seifi.org/javascript/how-google-analytics-determines-connection-speeds.html#comments</comments>
		<pubDate>Wed, 12 Mar 2008 18:43:55 +0000</pubDate>
		<dc:creator>Joe Seifi</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.seifi.org/ajax/how-google-analytics-determines-connection-speeds.html</guid>
		<description><![CDATA[Today I was looking for an unobtrusive method of determining a user&#8217;s connection speed using JavaScript. A quick search on Google returned an array of tricks mostly having to do with using Ajax to make a call behind the scenes, and track the payload time for the small file. In most cases people use an [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was looking for an unobtrusive method of determining a user&#8217;s connection speed using JavaScript. A quick <a href="http://www.google.com/search?q=javascript+connection+speed" target="_blank">search</a> on Google returned an array of <a href="http://myspeed.ebiene.de/" target="_blank">tricks</a> mostly having to do with using Ajax to make a call behind the scenes, and track the payload time for the small file. In most cases people use an image with a random variable at the end to avoid caching, like image.jpg?foo=1Rt2X21. This is all good but adds an HTTP connection which could potentially interfere with the user&#8217;s experience, especially if they are already on a slow connection to begin with.<span id="more-627"></span></p>
<p>Then I discovered something interesting in <a href="https://www.google.com/analytics/" target="_blank">Google Analytics</a>.</p>
<p>Google Analytics tracks and stores connection speeds for your visitors as part of the Network Properties category. The data provided includes Connection Speed and this corresponds with Pages per visit, Average time on Site, Percentage of new visits, and the Bounce rate. But how in the world does Google compile this data? It <a href="http://groups.google.com/group/analytics-help-basics/browse_thread/thread/c3c01931dcdcf1d/07a492c88916f80e?lnk=gst&amp;q=speed#07a492c88916f80e" target="_blank">appears</a> that people are <a href="http://informationgift.com/2006/10/analytics_guesses_connection_s.html" target="_blank">guessing</a> that Google uses the visitor&#8217;s IP address or hostname to do a lookup in an IP database or a <a href="http://groups.google.com/group/analytics-help-tracking/browse_thread/thread/9206114c0909379e/078a201bc3e9b566?lnk=gst&amp;q=speed#078a201bc3e9b566" target="_blank">reverse lookup</a>, and then makes a guess based on what ISP that IP address belongs to. But Google also loads a small .gif file with each <a href="http://www.google.com/support/urchin45/bin/answer.py?answer=28307" target="_blank">urchin</a> request. This article explains a little trick for using time stamped image loading and <a href="http://www.die.net/musings/page_load_time/" target="_blank">log analysis</a> which seems related.</p>
<p><img src="http://www.seifi.org/wp-content/uploads/2008/03/analyticsconnectionspeeds.gif" alt="Google Analytics Connection Speeds" /></p>
<p>So if your IP belongs to RoadRunner, then we can assume you are on a cable connection and file you under that category. This can sometimes get somewhat hairy and lead to ambiguity as evidenced by the Unknown category shown in Google Analytics. It is also interesting to note the Unknown category is the single largest category in my case with 36% of the total data collected. What happens if you are on AOL or EarthLink? Will the database contain the accurate information to pinpoint if you are on dial-up or broadband? How often is the database updated with new information? What about edge cases, for example if you work in an office where you have a &#8220;broadband&#8221; connection but share it with a large group of people?</p>
<p>The good news is that with Analytics the work happens without interfering with the user experience and no additional HTTP connections are needed. The bad news is, it is not done in real time. So if you are looking for a real-time test this will not work for you, unless you build your own seriously fast IP database web service that you can use asynchronously. The other option is to use the binary image payload test, but that also makes life hard for your users.</p>
<p>So, If you are looking for general statistics for a webapp over a date range then Google Analytics might be the way to go. Keep in mind you will end up with a chunk of Unknown data. As for making snap decisions, you can sniff user bandwidth while they surf with payload testing. Here is another sample <a href="http://site.aol.com/speed.html" target="_blank">page at AOL</a> where they put up a simple fork page and determine your bandwidth speed using JavaScript image loading and setting a user cookie. I can think of a dozen reasons why this is a bad idea but I won&#8217;t go into that here.</p>
<p><!--Content type: SDKML. Transform: wc2mtps.xslt.-->PS. It is worth mentioning that Internet Explorer supports a built in behavior called clientCaps, which provides information about features supported by Microsoft Internet Explorer, as well as a way for installing browser components on demand. The <a href="http://msdn2.microsoft.com/en-us/library/ms531088(VS.85).aspx" target="_blank">connectionType</a> property of clientCaps returns either <strong>lan</strong>, <strong>modem </strong>or <strong>offline</strong>. Since this only works in IE and doesn&#8217;t offer too much granularity, it might be a good test if you are <em>only trying to test IE users specifically</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seifi.org/javascript/how-google-analytics-determines-connection-speeds.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sniff and Disable Firebug Howto (Gmail example)</title>
		<link>http://www.seifi.org/javascript/sniff-and-disable-firebug-howto-gmail-example.html</link>
		<comments>http://www.seifi.org/javascript/sniff-and-disable-firebug-howto-gmail-example.html#comments</comments>
		<pubDate>Wed, 28 Nov 2007 20:02:38 +0000</pubDate>
		<dc:creator>Joe Seifi</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.seifi.org/ajax/sniff-and-disable-firebug-howto-gmail-example.html</guid>
		<description><![CDATA[Here is a simple test to see if users have Firebug installed on their browsers. Obviously this would also weed out non-FireFox users. if &#40;window.console &#38;&#38; window.console.firebug&#41; &#123; alert&#40;&#34;found Firebug&#34;&#41;; &#125;else&#123; alert&#40;&#34;can't find Firebug&#34;&#41;; &#125; Demo: Sniff for FireBug You may have noticed this message in your Gmail homepage recently: The reason for that is [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a simple test to see if users have <a href="http://www.seifi.org/firebug/firebug_tips_and_tricks.html">Firebug</a> installed on their browsers. Obviously this would also weed out non-FireFox users.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>window.<span style="color: #660066;">console</span> <span style="color: #339933;">&amp;&amp;</span> window.<span style="color: #660066;">console</span>.<span style="color: #660066;">firebug</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;found Firebug&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">else</span><span style="color: #009900;">&#123;</span>
  <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;can't find Firebug&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p><span id="more-608"></span><br />
Demo: <a href="javascript:if(window.console &#038;&#038; window.console.firebug){alert('found Firebug');}else{alert('can\'t find Firebug');}">Sniff for FireBug</a></p>
<p>You may have noticed this message in your Gmail homepage recently:<br />
<img src='http://www.seifi.org/wp-content/uploads/2007/11/gmail_firebug_issue.gif' alt='Gmail Doesn’t Like Firebug' /></p>
<p>The reason for that is Firebug by default logs all XMLHttpRequests made for all the websites you visit. The problem is that the data that is logged never gets disposed of or cleared out.  Therefore, FireFox having to collect and store that information and the memory for Firefox will eventually get large enough that will cause your computer to start using paged cache. This will then make Gmail seem like you are swimming through molasses. Gmail by default seems to make 22 XMLHttpRequests when I load the main page. It then makes a new XMLHttpRequest every 30 seconds, to check for new emails, so in the span of 1 hour you will have 120 new Ajax calls tacked on. This is a nice feature of Gmail which makes life simple for its users (Notice there is no &#8220;Get new mail&#8221; button anywhere). But now every new Ajax call is another 1kb of data which adds to the memory usage and tacks on more CPU and RAM consumed by Firebug.</p>
<p>No need to worry though since, another nice feature of Firebug is that you can disable it on a domain name basis. </p>
<p><img src='http://www.seifi.org/wp-content/uploads/2007/11/disable_gmail_firebug.gif' alt='How to disable Firebug for any domain name ex) mail.google.com' align="left" hspace="10" vspace="3" /> To turn off Firebug for mail.google.com first open Firebug by hitting the green icon or F12. Click on the bug icon in the top left and choose the second option labeled &#8220;Disable Firebug for mail.google.com&#8221;. Now Firebug will be turned off and the green icon will be changed to a silver icon for this domain. You should notice a smoother and faster Gmail experience. You can also turn it back on by clicking on the link &#8220;Enable Firebug for this website&#8221;.</p>
<p><img src='http://www.seifi.org/wp-content/uploads/2007/11/allowedsites.gif' alt='Allowed Sites…' align="right" hspace="10" vspace="3" /> The other and better method of speeding up your Firefox and still keeping Firebug around, is to disable Firebug all together and enable it for specific sites that you are working on. To disable Firebug, again you click on the Bug icon and this time choose the first option &#8220;Disable Firebug&#8221;.<br />
Now visit any site that you would like to use Firebug on and then &#8220;right click&#8221; on the silver icon on the bottom and choose &#8220;Allowed Sites&#8230;&#8221; From here you can add the domain name for any sites you want to override. This makes your life easier and makes general surfing faster in FireFox, yet allows for using the powers of the almighty Firebug when needed.</p>
<p>If your application is similar to Gmail where XMLHttpRequests are called in a loop you may want to use the sniff script to warn users to disable Firebug for your domain as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seifi.org/javascript/sniff-and-disable-firebug-howto-gmail-example.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using Gtalk with Miranda IM</title>
		<link>http://www.seifi.org/software/using_gtalk_with_miranda.html</link>
		<comments>http://www.seifi.org/software/using_gtalk_with_miranda.html#comments</comments>
		<pubDate>Wed, 21 Nov 2007 20:01:55 +0000</pubDate>
		<dc:creator>Joe Seifi</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.seifi.org/google/using_gtalk_with_miranda.html</guid>
		<description><![CDATA[<p>how to setup gtalk with miranda &#38; use jabber at the same time</p><p><a href="http://www.google.com/support/talk/bin/answer.py?answer=24885">http://www.google.com/support/talk/bin/answer.py?answer=24885</a></p><p><a href="http://help.miranda-im.org/Connecting_to_multiple_accounts">http://help.miranda-im.org/Connecting_to_multiple_accounts</a></p>]]></description>
			<content:encoded><![CDATA[<p>If you use Miranda IM as your instant messaging app in Windows and you want to use Google Talk which uses the Jabber protocol, you can use these steps to setup an additional Jabber plugin for Miranda and configure it to use the Google servers.</p>
<p>This will allow you to use both a regular Jabber account and GTalk simultaneously withing Miranda.</p>
<p><span id="more-480"></span><br />
From the <a href="http://help.miranda-im.org/Connecting_to_multiple_accounts">Miranda Wiki</a></p>
<blockquote><p>
Miranda can handle as many multiple connections to different accounts as one might need. The way it&#8217;s done in Miranda requires the user to clone the dll file for the appropriate protocol as many times as many accounts of that protocol he wants to stay connected to at the same time.<br />
To connect to multiple  AIM/ICQ/Jabber/MSN/Yahoo and other protocols you have to:</p>
<ol>
<li>Turn off Miranda
</li>
<li>Browse to the Plugins directory
</li>
<li>Rename the protocol&#8217;s dll file to a preffered name, for example: &#8216;aim_1.dll&#8217; or &#8216;aim_home.dll&#8217; etc.
</li>
<li>Copy the renamed dll file to a different directory
</li>
<li>Rename the copied dll file to a name that will let to easily distinguish the accounts, for example: &#8216;aim_2.dll&#8217; or &#8216;aim_work.dll&#8217; etc.
</li>
<li>Move the just renamed dll file back to the Plugins directory
</li>
</ol>
</blockquote>
<p>Once you have that setup start up Miranda and configure your new GTalk DLL with these settings from the <a href="http://www.google.com/support/talk/bin/answer.py?answer=24885">Google Talk Support page for Miranda</a>.</p>
<blockquote>
<ul type="disc">
<li><b>Username</b>: Your Google Talk username (without any @ symbol or domain information)
</li>
<li><b>Password</b>: Your password
</li>
<li><b>Login Server</b>: <font face="Courier New, Courier, mono">gmail.com</font>
  </li>
</ul>
<ul>
<li>If you&#8217;re signing in with a Google Account that&#8217;s not linked to any Google email service, enter <font face="Courier New, Courier, mono">gmail.com</font> </li>
<li>Google Mail accounts should enter <font face="Courier New, Courier, mono">googlemail.com</font></li>
<li>Google Apps users, please visit the Apps Help Center for <a href="http://www.google.com/support/a/bin/answer.py?answer=49157">instructions</a>. </li>
</ul>
<ul type="disc">
<li><b>Use SSL</b>: Yes
  </li>
<li><b>Manually specify connection host</b>: Yes </li>
<li><b>Host</b>: <font face="Courier New, Courier, mono">talk.google.com</font>
  </li>
<li><b>Port</b>: <font face="Courier New, Courier, mono">5223</font>
  </li>
<li><b>Keep connection alive</b>: Yes
  </li>
</ul>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.seifi.org/software/using_gtalk_with_miranda.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Youtube Video Units Released</title>
		<link>http://www.seifi.org/searching/google-youtube-video-units-released.html</link>
		<comments>http://www.seifi.org/searching/google-youtube-video-units-released.html#comments</comments>
		<pubDate>Wed, 10 Oct 2007 05:24:23 +0000</pubDate>
		<dc:creator>Joe Seifi</dc:creator>
				<category><![CDATA[business]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.seifi.org/money/google-youtube-video-units-released.html</guid>
		<description><![CDATA[AdSense Video Units is here! Get great video content from YouTube for your site and earn extra revenue along the way. So now you can make money and enhance your site with high quality, relevant video content from YouTube partners, and earn extra revenue along the way. To get started just log in to your [...]]]></description>
			<content:encoded><![CDATA[<p>
<img src='http://www.seifi.org/wp-content/uploads/2007/10/videodemo.jpg' align='left' alt='Google Youtube Video Units Demo' style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 20px 0px 0px; border-right-width: 0px" />AdSense Video Units is here! Get great video content from YouTube for your site and earn extra revenue along the way. So now you can make money and enhance your site with high quality, relevant video content from YouTube partners, and earn extra revenue along the way. To get started just log in to your AdSense account and click on the AdSense Setup tab. You will see a new product listed there called Video Units.<br />
<span id="more-599"></span></p>
<p>Clicking on Video Units the first time will take you to a page where you are shown a video presentation on Video Units. here is the video:<br />
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/CqXDziUCVWY"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/CqXDziUCVWY" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object></p>
<p>&nbsp; </p>
<p>So how do you actually make money with Video Units? The <a href="https://www.google.com/adsense/support/bin/topic.py?topic=12182&amp;sourceid=aso&amp;subid=ww-ww-et-asui&amp;medium=link">FAQ section</a>&nbsp;of Video Units talks about this. When you place a video unit on your website, you&#8217;ll earn revenue from two types of ad formats: <strong>companion ads</strong>, which sit above your video content within the player and can be either text or image-based, and <strong>text overlay ads</strong>, which appear in the bottom 20% of the video content area. Ads on video units can be paid on either a cost-per-click or cost-per-thousand impression basis.</p>
<p>So companion ads are like banner ads and text overlay ads are like AdWords ads.</p>
<p>The <a href="http://www.youtube.com/adsense_player" target="_blank">setup page</a>&nbsp;walks you through creating the code to place on your site and is quite simple to use. You just pick a color theme, the size of the video ad unit and you can also filter the content to be shown in your player. You can also save the player by giving it a name and description. </p>
<p>Video units come in 3 different sizes:</p>
<p><img src='http://www.seifi.org/wp-content/uploads/2007/10/videounits_layouts.gif' alt='Video Units Layouts' /></p>
<ul>
<li>400 x 415
<li>500 x 510
<li>780 x 560</li>
</ul>
<p>You can pick from 9 preset color schemes:</p>
<p><img src='http://www.seifi.org/wp-content/uploads/2007/10/videounits_colors.gif' alt='Video Units Colors' /></p>
<p>Click on Generate Code, Copy the code, and Paste it into your site. Below is a sample video unit which I&#8217;ve created for testing out the service.</p>
<div id='_ytplayer_vjVQa1PpcFOR6lddZw4OvPyGlZce6SA8M68etWbzGvc='><a href='http://www.youtube.com/browse'>Watch the latest videos on YouTube.com</a></div>
<p><script type="text/javascript" src="http://www.youtube.com/cp/vjVQa1PpcFOR6lddZw4OvPyGlZce6SA8M68etWbzGvc="></script></p>
<p>Some of the advantages of Video Units over regular ads are:</p>
<p>You will now deliver content to your site as opposed to ads. You can also make the content relevant by choosing from&nbsp;categories you wish to have shown. The ads in videos are not obtrusive and you make money from them. You are actually enhancing the user experience and helping to attract and retain users. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.seifi.org/searching/google-youtube-video-units-released.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>YouTube Video Units coming to Google AdSense</title>
		<link>http://www.seifi.org/business/youtube-video-units-coming-to-google-adsense.html</link>
		<comments>http://www.seifi.org/business/youtube-video-units-coming-to-google-adsense.html#comments</comments>
		<pubDate>Sat, 29 Sep 2007 22:14:48 +0000</pubDate>
		<dc:creator>Joe Seifi</dc:creator>
				<category><![CDATA[business]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.seifi.org/design/youtube-video-units-coming-to-google-adsense.html</guid>
		<description><![CDATA[Google seems to be finally gearing up to cash in on its $1.65 billion investment in YouTube.&#160;&#160;Google AdSense is&#160;going to be rolling out Video Units.&#160; Publishers will be able to&#160;make money from YouTube videos&#160;with embedded AdSense ads. The full details are yet to be released, but here is a preview of what we can expect. [...]]]></description>
			<content:encoded><![CDATA[<p>Google seems to be finally gearing up to cash in on its $1.65 billion investment in YouTube.&nbsp;&nbsp;Google AdSense is&nbsp;going to be <a href="http://www.youtube.com/adsense_learn" target="_blank">rolling out Video Units</a>.&nbsp; Publishers will be able to&nbsp;make money from YouTube videos&nbsp;with embedded AdSense ads. The full details are yet to be released, but here is a preview of what we can expect.<span id="more-597"></span>
<p>From what is available on the promo page it looks like you the ads&nbsp;will not be in the same area as the movie, but they appear as part of the YouTube player and outside of the video content to ensure a smooth user experience. <img src='http://www.seifi.org/wp-content/uploads/2007/09/adsense_preview.png' alt='YouTube AdSense Preview' align="left" hspace="10" vpace="5" /> Here is a sample screenshot of how the new YouTube video Ad Units&nbsp;will look like. You will also be able to <a href="http://www.youtube.com/custom_player" target="_blank">customize</a> the color scheme of the flash player to fit your blog or portals look and feel.
<p>The content of the ads will be relevant to the video itself, something that AdSense has already perfected down to a science. Let&#8217;s hope that publishers will&nbsp;have the option to&nbsp;choose specific videos to be shown, or at least choose from a narrow range of topics.
<p>This is&nbsp;a win-win deal for all the parties and&nbsp;great for you publishers, since it will allow you to not only improve your content by adding the YouTube content to your site, but also give you a new source of income.&nbsp; Checking my Google AdSense account, I am not seeing any information on these video ads yet. There is a mention of a &#8220;button&#8221; on the YouTube promo page, but the button is not there! Hopefully we will hear more from Google soon. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.seifi.org/business/youtube-video-units-coming-to-google-adsense.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google thinks I&#8217;m a robot</title>
		<link>http://www.seifi.org/searching/google-thinks-im-a-robot.html</link>
		<comments>http://www.seifi.org/searching/google-thinks-im-a-robot.html#comments</comments>
		<pubDate>Wed, 06 Jun 2007 18:15:27 +0000</pubDate>
		<dc:creator>Joe Seifi</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.seifi.org/google/google-thinks-im-a-robot.html</guid>
		<description><![CDATA[So I was doing some basic blog surfing on BlogSearch when all of a sudden I saw an error page with this text: We&#8217;re sorry&#8230; &#8230; but your query looks similar to automated requests from a computer virus or spyware application. To protect our users, we can&#8217;t process your request right now. We&#8217;ll restore your [...]]]></description>
			<content:encoded><![CDATA[<p>So I was doing some basic blog surfing on <a href="http://blogsearch.google.com">BlogSearch</a> when all of a sudden I saw an error page with this text:</p>
<blockquote><p>We&#8217;re sorry&#8230;<br />
&#8230; but your query looks similar to automated requests from a computer virus or spyware application. To protect our users, we can&#8217;t process your request right now.</p>
<p>We&#8217;ll restore your access as quickly as possible, so try again soon. In the meantime, if you suspect that your computer or network has been infected, you might want to run a virus checker or spyware remover to make sure that your systems are free of viruses and other spurious software.</p>
<p>We apologize for the inconvenience, and hope we&#8217;ll see you again on Google.</p></blockquote>
<p><span id="more-573"></span></p>
<p>Here is a screenshot of the page I get.<br />
<img src='http://www.seifi.org/wp-content/uploads/2007/06/google_sorry_virus.PNG' alt='Google Virus Page' /><br />
I am guessing this had to do with the number of queries per minute or some other type of quota put on the blog search page. I&#8217;m not quite sure I understand the logic behind this limitation. The only thing I can think of is that the application is running low on physical resources.</p>
<p>What happens when non-techy users see this error page? They freak out! They go buying all sorts of virus software and get all paranoid thinking their PC is infected. This is not a user friendly message and Google should find a nicer way to handle this, especially when their stock is trading at over <a href="http://finance.google.com/finance?q=GOOG">$500</a> per share. After a few minutes of &#8220;googling&#8221; around, I found a few <a href="http://codingo.net/blog/?p=14">other people</a> mentioned getting this same error on other Google search properties, even on the Google homepage.</p>
<p>The easy fix for me was to delete the browser cookies and Voila I&#8217;m a human again. I have also heard that somtimes google can blacklist your IP in which case you might have to flush your DNS and renew your IP hoping to get a new one.</p>
<p>I have to say, this was an alarming, annoying and somewhat scary event, especially coming from a company who sends its own robots to my servers dozens of times every day. If Google were to really block me one day it would change my life <img src='http://www.seifi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  or maybe I would just stop googling and start <a href="http://www.ask.com/">asking</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seifi.org/searching/google-thinks-im-a-robot.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

