<?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>Snipe.Net &#187; Tips &amp; Tricks</title>
	<atom:link href="http://www.snipe.net/topics/tips-and-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.snipe.net</link>
	<description>Bitterness never tasted so sweet</description>
	<lastBuildDate>Thu, 29 Jul 2010 05:03:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Use Your Own Domain for OpenID Logins</title>
		<link>http://www.snipe.net/2010/02/use-your-own-domain-for-openid-logins/</link>
		<comments>http://www.snipe.net/2010/02/use-your-own-domain-for-openid-logins/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 03:04:10 +0000</pubDate>
		<dc:creator>snipe</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[myspace]]></category>
		<category><![CDATA[openid]]></category>

		<guid isPermaLink="false">http://www.snipe.net/?p=2902</guid>
		<description><![CDATA[I&#8217;m a big fan of OpenID, and the concept of a unified login system, but the implemention of OpenID on many of the websites that use it is often miserable. This article can simplify your OpenID login experience. NOTE: If you want to skip all my chatter and explanation and just get to the code, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.snipe.net%2F2010%2F02%2Fuse-your-own-domain-for-openid-logins%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.snipe.net%2F2010%2F02%2Fuse-your-own-domain-for-openid-logins%2F&amp;source=snipeyhead&amp;style=normal&amp;service=bit.ly&amp;service_api=R_92bd97f4f8b9fa8a40675b36ea291223" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;m a big fan of <a href="http://openid.net/">OpenID</a>, and the concept of a unified login system, but the implemention of OpenID on many of the websites that use it is often miserable. This article can simplify your OpenID login experience.<br />
<span id="more-2902"></span></p>
<p>NOTE: If you want to skip all my chatter and explanation and just get to the code, check out <a href="http://blog.stackoverflow.com/2009/01/using-your-own-url-as-your-openid/" target="_blank">Jeff Atwood&#8217;s post on the StackOverflow blog</a>. It&#8217;s much less verbose, but probably not ideal for people unfamiliar with OpenID.</p>
<h3>What is OpenID?</h3>
<p>OpenID is &#8220;a decentralized authentication protocol that makes it easy for people to sign up and access web accounts&#8221;. That means if you create an account on any website using OpenID (such as Google, Yahoo, Flickr, MySpace, AOL, WordPress.Com, LiveJournal, Get Satisfaction, and more recently Facebook, to name just a few), you can use that account to login to any website using OpenID. It attempts to simplify logging into websites by using one account, and therefore not having to create a new username and password set for every website on which you wish to create an account.</p>
<p>Many studies have shown that the average web user feels overwhelmed by the number of usernames and passwords they have to remember, which means they often end up using very simple paswords that are easy to remember, and often use the same password for multiple websites. </p>
<p>This is, of course, a big no-no. If one of the websites gets compromised and user login data is exposed, malicious parties now potentially have access to all of the websites for which the user has used the same password. So if my BigButtPorn.Com account gets hacked, and I use the same login for my bank, my banking login credentials are now compromised. Unifying a login makes user registrations easier, so people will arguably be more apt to use a strong password for that one OpenID account. (I should mention that I have no idea if BigButtPorn.Com exists, or if it uses OpenID. As such, the example above should not be considered an endorsement for BigButtPorn.Com, or any other kind of butt porn, for that matter.)</p>
<p>Incidentally, in this day and age, there is absolutely no reason for anyone to still be using the same password for ANY two websites. Thanks to applications like <a href="http://agilewebsolutions.com/products/1Password" target="_blank">1Password</a>, hard-to-guess passwords are automatically generated and stored for easy access, and every popular web browser allows you to store passwords. Remembering passwords isn&#8217;t even something people should be concerned with.</p>
<h3>How Does it Work?</h3>
<p>If I have a Livejournal account where my journal address is snipeyhead.livejournal.com and I want to use my LiveJournal OpenID to login to a different website, I would enter <em>snipeyhead.livejournal.com</em> in the OpenID url field of the site:</p>
<p><img class="aligncenter size-large wp-image-2920" title="snipeyhead" src="http://www.snipe.net/wp-content/uploads/2010/02/snipeyhead-560x218.png" alt="" width="560" height="218" /></p>
<p>(Alternatively, if the OpenID provider&#8217;s icon is listed, as LiveJournal&#8217;s is above, I could login without knowing my OpenID url. Most OpenID logins will give you the option of selecting which service you&#8217;d like to use, or manually entering your OpenID url.)</p>
<p>If this is the first time I&#8217;m using this OpenID account to login to this particular website, I&#8217;ll be taken to my OpenID provider&#8217;s website (in this example, Livejournal.Com) and I&#8217;ll be asked if I want to allow the website to use my OpenID account to authenticate. I will then confirm this, and be taken back to the original website I&#8217;m trying to login to.</p>
<p>Pretty simple, right? Unfortunately, this is often not as straightforward as it seems, not because of OpenID itself, but because of the way many websites implement their OpenID system.</p>
<h3>Where it Gets Wonky</h3>
<p>The way many websites implement OpenID can be utterly maddening, if you have more than one OpenID account &#8211; which you probably do.</p>
<p><strong>I was recently on the <a href="http://uxexchange.com/" target="_blank">UXExchange</a> website and was nearly apoplectic with rage as I tried OpenID after OpenID account.</strong> I know I have an account there. I have had an account there since the day they launched. But I have NO idea which OpenID I created my account with.</p>
<p>After the 5th try, I gave up and realized I&#8217;d have to create a new account. This pissed me off for a few reasons, not the least of which being that in this particular community, prior community engagement (the number of questions you&#8217;ve posted and answered, etc) establish your rank. By creating a new account, I&#8217;m effectively seen by the community as a newbie, and I&#8217;m enough of a nerd that stuff like that matters to me. </p>
<p>Ironically, UXEchange is a <em>usability and information architecture</em> community. I know that I can email them to consolidate my accounts, and I probably will, but this experience really helped underline how easy it is to screw up the user interface for OpenID. </p>
<p>In short, the problem becomes remembering which out of the collection of OpenIDs you have is the one you&#8217;ve used to initially create an account with a particular website.</p>
<h3>Making it a Little Easier</h3>
<p><strong>To use OpenID without losing your mind, you have a few options. </strong>The easier would be to decide that you will only ever use one specific OpenID to login to third-party websites, and leave it at that. The problem I have with that is that mainstream adoption of OpenID has happened over a very long period of time, so I may have started off with only LiveJournal as an OpenID account, but then gradually Google, Blogger, Myspace, etc added OpenID support, so I decided that I&#8217;d rather use one of the newer ones instead of my LiveJournal account. This is how things got fragmented and confusing for me, and I would assume other people as well.</p>
<p><strong>Fortunately, there is a little known feature of OpenID called <em>delegation</em> that can help save your sanity. </strong>If you have your own website with it&#8217;s own domain name, you can delegate your own domain name to act as your OpenID.</p>
<p><strong>I decided to start from scratch.</strong> I don&#8217;t know if I&#8217;ll always have my LiveJournal account, I don&#8217;t know how much I trust Google anymore, I hate MySpace, I don&#8217;t use Blogger, and so on. I created an account at <strong><a href="https://www.myopenid.com/" target="_blank">myopenid.com</a></strong>, a very simple OpenID provider that is easy to remember and offers persona managament.</p>
<p>A 20-second registration later, I was set up with <strong>snipe.myopenid.com</strong> as my new OpenID identifier.</p>
<p>To enable my domain, snipe.net, to act as a delegate for MyOpenID.Com, I added the following to the header of Snipe.Net:</p>
<pre class="brush: html">&lt;link rel=&quot;openid.server&quot; href=&quot;http://www.myopenid.com/server&quot;  /&gt;
2.&lt;link rel=&quot;openid.delegate&quot; href=&quot;http://snipe.myopenid.com/&quot; /&gt;
3.&lt;link rel=”openid2.provider” href=”http://www.myopenid.com/server” /&gt;
4.&lt;link rel=”openid2.local_id” href=”http://snipe.myopenid.com/” /&gt;</pre>
<p>Now, instead of trying to remember which OpenID provider I used, I use &#8216;snipe.net&#8217; as my OpenID manual url, and it automatically knows to use my account at MyOpenID to authenticate. Since I&#8217;m the only one that has control over Snipe.Net, I&#8217;m the only one that can delegate Snipe.Net as snipe.myopenid.com.</p>
<p><img src="http://www.snipe.net/wp-content/uploads/2010/02/snipenet-560x220.png" alt="" title="snipenet" width="560" height="220" class="aligncenter size-large wp-image-2922" /></p>
<p>So that&#8217;s all there is to it. I have heard that delegating using Google and Yahoo is tricky, if not impossible, but I haven&#8217;t looked into it. I personally prefer to avoid letting either of those companies have too much of a reach over what I&#8217;m commenting on and where.</p>


<p>Possibly related posts:<ol><li><a href='http://www.snipe.net/2009/05/new-facebook-phishing-attempts/' rel='bookmark' title='Permanent Link: New Facebook Phishing Attempts'>New Facebook Phishing Attempts</a> <small>Looks like a new round of phishing attacks are well...</small></li>
<li><a href='http://www.snipe.net/2007/02/my-forum-domain-banlist/' rel='bookmark' title='Permanent Link: My forum domain banlist'>My forum domain banlist</a> <small>I keep my list of banned email addresses and domains...</small></li>
<li><a href='http://www.snipe.net/2008/10/is-imappop3-gmail-or-gtalk-periodically-rejecting-your-password/' rel='bookmark' title='Permanent Link: Is IMAP/POP3 Gmail or Gtalk periodically rejecting your password?'>Is IMAP/POP3 Gmail or Gtalk periodically rejecting your password?</a> <small>I have run into this many times: my Gtalk password...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.snipe.net/2010/02/use-your-own-domain-for-openid-logins/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Unclutter Your Facebook Feed: Set FB Lite As Your Default</title>
		<link>http://www.snipe.net/2010/01/facebook-lite-default/</link>
		<comments>http://www.snipe.net/2010/01/facebook-lite-default/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 07:44:54 +0000</pubDate>
		<dc:creator>snipe</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Life Tools]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://www.snipe.net/?p=2778</guid>
		<description><![CDATA[Whether you&#8217;re on Facebook for fun or for work, chances are your newsfeed is crammed full of inane application notifications that make it hard to actually find the real content you actually want to see from your friends. UPDATE: Sadly, in April 2010, Facebook shut down FB Lite so this article is now moot. It [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.snipe.net%2F2010%2F01%2Ffacebook-lite-default%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.snipe.net%2F2010%2F01%2Ffacebook-lite-default%2F&amp;source=snipeyhead&amp;style=normal&amp;service=bit.ly&amp;service_api=R_92bd97f4f8b9fa8a40675b36ea291223" height="61" width="50" /><br />
			</a>
		</div>
<p>Whether you&#8217;re on Facebook for fun or for work, chances are your newsfeed is crammed full of inane application notifications that make it hard to actually find the real content you actually want to see from your friends.</p>
<h2><span id="more-2778"></span>UPDATE: Sadly, in April 2010, <a href="http://www.macworld.com/article/150741/2010/04/facebooklite.html?lsrc=rss_main" target="_blank">Facebook shut down FB Lite</a> so this article is now moot. It was a good run while it lasted. <img src='http://www.snipe.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </h2>
<p>Your Facebook friends are total tools with entirely too much free time on their hands. So are mine. If you want to continue to use Facebook but bypass all of the crap that fills your Facebook homepage newsfeed, you&#8217;re in luck.</p>
<h3>Facebook Lite?</h3>
<p>A few months ago, Facebook introduced Facebook Lite &#8211; a pared down version of Facebook for people who were frustrated with the ever-sluggish load time of the normal Facebook homepage. This lite version loads fewer javascript libraries and is blazing fast compared to to dismal experience that regular Facebook.</p>
<p>The speed increase is great &#8211; but there is an awesome added bonus that isn&#8217;t widely publicized:</p>
<p><strong>Using Facebook Lite, you will never see another application notification again.</strong></p>
<p>That&#8217;s right. Facebook Lite does not display application notifications. At all. Which is awesome-covered awesome with awesome filling.</p>
<p>To see it in action, just point your browser to <a href="http://lite.facebook.com">http://lite.facebook.com</a>.</p>
<p><strong>But wait &#8211; there&#8217;s more.</strong></p>
<h3>Kiss Those Application Notifications Goodbye For Good</h3>
<p>Even more awesome, there is a way to <strong>set Facebook Lite as your default view</strong>, so that every time you go to your Facebook homepage newsfeed, it loads the Lite version instead of the Clusterfuck version. Here&#8217;s how to do it:<br />
<strong> </strong></p>
<ol>
<li><strong>Go to <a href="http://lite.facebook.com/settings/defaultsite/">http://lite.facebook.com/settings/defaultsite/</a>.</strong></li>
<li><strong>Select Facebook Lite from the radio boxes.</strong></li>
<li><strong>Click &#8220;Save&#8221;.</strong></li>
<li><strong>Rejoice.</strong></li>
</ol>
<p><strong> </strong></p>
<div id="attachment_2780" class="wp-caption aligncenter" style="width: 469px"><a href="http://lite.facebook.com/settings/defaultsite/"><img class="size-full wp-image-2780" title="fb-lite" src="http://www.snipe.net/wp-content/uploads/2010/01/fb-lite.jpg" alt="" width="459" height="194" /></a><p class="wp-caption-text">Set Facebook Lite as your default in your settings</p></div>
<p>That&#8217;s all there is to it. Honest. You&#8217;re free. You&#8217;re welcome.</p>
<p>Granted, this trick won&#8217;t stop your friends from posting a thousand pictures of their cat (yeah, guilty) or drunkenly updating their status in horrifyingly graphic detail that makes you want to claw your eyes out &#8211; but I don&#8217;t think there&#8217;s an app for that yet.</p>


<p>Possibly related posts:<ol><li><a href='http://www.snipe.net/2010/05/facebook-fan-pages-10k/' rel='bookmark' title='Permanent Link: Want to Set a Default Landing Tab on Your Facebook Fan Page? It&#8217;ll Cost You'>Want to Set a Default Landing Tab on Your Facebook Fan Page? It&#8217;ll Cost You</a> <small>You&#8217;re gonna love this. And by love I mean be...</small></li>
<li><a href='http://www.snipe.net/2008/12/planning-a-facebook-application-part-two/' rel='bookmark' title='Permanent Link: Planning a Facebook Application: Part Two'>Planning a Facebook Application: Part Two</a> <small>I know I promised you that we&#8217;d get into some...</small></li>
<li><a href='http://www.snipe.net/2008/09/planning-a-facebook-application/' rel='bookmark' title='Permanent Link: Planning Your Facebook Application'>Planning Your Facebook Application</a> <small>This is part one of a series &#8211; the technical...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.snipe.net/2010/01/facebook-lite-default/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Practical Mod_Rewrite for Web Developers</title>
		<link>http://www.snipe.net/2009/02/practical-mod_rewrite/</link>
		<comments>http://www.snipe.net/2009/02/practical-mod_rewrite/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 23:44:53 +0000</pubDate>
		<dc:creator>snipe</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[best practices]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.snipe.net/?p=1481</guid>
		<description><![CDATA[On *nix-based servers, mod_rewrite can be a powerful tool in any web monkey&#8217;s arsenal, however it still voodoo to many, while others may not even be aware that it can help them at all. What is Mod_Rewrite? Simply put, mod_rewrite is an Apache module that let&#8217;s you rewrite urls based on rules you define. That&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.snipe.net%2F2009%2F02%2Fpractical-mod_rewrite%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.snipe.net%2F2009%2F02%2Fpractical-mod_rewrite%2F&amp;source=snipeyhead&amp;style=normal&amp;service=bit.ly&amp;service_api=R_92bd97f4f8b9fa8a40675b36ea291223" height="61" width="50" /><br />
			</a>
		</div>
<p>On *nix-based servers, mod_rewrite can be a powerful tool in any web monkey&#8217;s arsenal, however it still voodoo to many, while others may not even be aware that it can help them at all.</p>
<h2><span id="more-1481"></span>What is Mod_Rewrite?</h2>
<p><strong>Simply put, mod_rewrite is an Apache module that let&#8217;s you rewrite urls based on rules you define.</strong> That&#8217;s it. Seriously.</p>
<p>Regardless of how confusing some of the rules you may have come across appear to be, all they are doing is taking one url and rewriting as a different url. This rewriting happens at the server level, before the user&#8217;s browser sees anything, so the end result is seamless to them.</p>
<p><strong>When you hear about &#8220;search engine friendly&#8221; urls, you&#8217;re most often seeing mod_rewrite in action.</strong> Mod_rewrite is the Apache module that let&#8217;s you turn a url like:</p>
<p><a class="linkification-ext" title="Linkification: http://www.example.com/shop.php?category=Books&amp;Title=Foo" href="http://www.example.com/shop.php?category=Books&amp;Title=Foo">http://www.example.com/shop.php?category=Books&amp;Title=Foo</a></p>
<p>into:</p>
<p><a class="linkification-ext" title="Linkification: http://www.example.com/shop/books/foo.html" href="http://www.example.com/shop/books/foo.html">http://www.example.com/shop/books/foo.html</a></p>
<p><strong>Some other common uses for mod_rewrite:</strong></p>
<ul>
<li>Directing all traffic from multiple domain names to one domain</li>
<li>Directing all traffic from www and non-www to one location</li>
<li>Blocking traffic from specific websites</li>
<li>Blocking spammy searchbots and offline browsers from spidering your site and eating your bandwidth</li>
<li>Mask file extensions</li>
<li>Preventing image hotlinking (other web pages linking to images on your server)</li>
</ul>
<p>Apache&#8217;s mod_rewrite can be intimidating if you start where you&#8217;re supposed to start &#8211; <a href="http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html" target="_blank">the Apache documentation</a>, however there are some very useful, common &#8211; and <em>simple</em> rewrite rules that you may wish to consider implementing into your site development plan, if you&#8217;re not doing so already.</p>
<p><strong>Note: If you&#8217;re using Microsoft IIS, you have a few options</strong>, but I don&#8217;t use IIS, so I&#8217;m afraid I won&#8217;t be of much help to you beyond telling you where to look. <a href="http://www.isapirewrite.com/" target="_blank">ISAPI ReWrite</a> seems to be very popular, and there is a free &#8220;lite&#8221; version available.</p>
<h2>Getting Started</h2>
<p>Your mod_rewrite rules typically live in an .htaccess file in your web root. You can only have one .htaccess per directory, but you can have individual .htaccess files in sub-directories under the web root. I generally do not recommend doing this. If mod_rewrite rules from one .htaccess conflict with the rules from the .htaccess in a sub-directory, it can be a real pain in the ass to troubleshoot. Try to avoid it.</p>
<p>When you&#8217;re adding mod_rewrite rules to your .htaccess file, you&#8217;ll want to start by using a conditional that checks to see if mod_rewrite is installed on your server. This can prevent getting a 500 Internal Server Error if you don&#8217;t.</p>
<pre class="brush: c#">&lt;ifmodule mod_rewrite.c&gt;
# Start your (rewrite) engines...
RewriteEngine On

# rules and conditions go here...
&lt;/ifmodule&gt;</pre>
<h2>Directing Multiple Domain Names to a Single Domain Url</h2>
<p>If you have multiple domain names pointing to the same site, mod_rewrite can also help you direct all traffic to a single domain url, to improve your search engine rankings. Search engines don&#8217;t take too kindly to the same content living at multiple urls &#8211; they usually think its an attempt to spam the search engine &#8211; and you can actually be penalized for it. To redirect all traffic to one specific domain name,</p>
<pre class="brush: css">RewriteCond %{HTTP_HOST} !^www\.snipe\.net$ [NC]
RewriteRule ^(.*)$ http://www.snipe.net/$1 [R=301]</pre>
<p>This basically says &#8220;if the domain requested (the HTTP_HOST) does not match <em><a class="linkification-ext" title="Linkification: http://www.snipe.net" href="http://www.snipe.net">www.snipe.net</a></em> then rewrite the url as <em><a class="linkification-ext" title="Linkification: http://www.snipe.net" href="http://www.snipe.net">www.snipe.net</a></em>&#8220;. (Note the escaping slashes after the www and before the .net in the condition.)  The R=301 specifies that the redirect should be a 301 redirect, meaning that the address has moved permanently and search engines should use the new url instead of the old one.</p>
<h2>To www or not to www</h2>
<p>Even if you have only one domain name, if you&#8217;re not redirecting traffic from the &#8220;www&#8221; version to the &#8220;non-www&#8221; version (or vice versa), you may encounter this problem. Whether or not you choose to use the www in your url is largely a branding decision more than anything else (i.e. it doesn&#8217;t really matter in most cases) &#8211; but you should pick one and stick with it.</p>
<p><strong>Require (force) the www</strong></p>
<pre class="brush: css">RewriteCond %{HTTP_HOST} !^www\.snipe\.net$ [NC]
RewriteRule ^(.*)$ http://www.snipe.net/$1 [R=301,L]</pre>
<p><strong>Remove the www</strong></p>
<pre class="brush: css">RewriteCond %{HTTP_HOST} !^snipe\.net$ [NC]
RewriteRule ^(.*)$ http://snipe.net/$1 [R=301,L]</pre>
<h2>Deny traffic by referrer</h2>
<p>There may be a few reasons why you want to block traffic by referrer. Maybe you&#8217;re getting a lot of bandwidth-sucking hits from a spammy website &#8211; or maybe someone is linking to you that you feel does not represent you very well, and you want to pull the plug on traffic from coming their site.</p>
<pre class="brush: css">RewriteCond %{HTTP_REFERER} onebadsite\.com [NC,OR]
RewriteCond %{HTTP_REFERER} anotherbadsite\.com [NC]
RewriteRule .* - [F,L]</pre>
<p>In this snippet, the rule is saying &#8220;If the referring url is onebadsite.com OR anotherbadsite.com, redirect the user to an HTTP Forbidden error.&#8221; The NC specifies that the condition is <em>not</em> case-sensitive, and the OR flag is&#8230; well&#8230; an &#8220;or&#8221;. OR is used with multiple RewriteCond directives to combine them with OR instead of the implicit AND.</p>
<p><img class="aligncenter size-large wp-image-1501" title="snipe-sucks" src="http://www.snipe.net/wp-content/uploads/2009/02/snipe-sucks-560x509.png" alt="snipe-sucks" width="560" height="509" /></p>
<p><strong>Keep in mind &#8211; this method of blocking traffic is hardly foolproof, at least in the latter of the two scenarios above. </strong>If the webmaster of onebadsite.com is linking to you in a way or context you do not want (and you&#8217;ve asked them to remove the link), the above method will cause a user on onebadsite.com&#8217;s website who has clicked on the link to you from onebadsite.com to hit a Forbidden error. If that user has half a brain, they may very well just google your site name or try to access it later from a bookmark &#8211; but it&#8217;s a simple measure you can take to keep the idjits out.</p>
<h2>Blocking Bad Bots and Spiders</h2>
<p>While there is some potential debate as to what is a &#8220;bad&#8221; bot or spider, the consensus seems to that a bot is bad if they do more harm than good, such as e-mail harvesters, site rippers that download entire websites for offline browsing, etc. Even if bandwidth isn&#8217;t so much an issue, I like to block these just on principle.</p>
<p>Please note &#8211; this list is not mine &#8211; it was <a href="http://www.javascriptkit.com/howto/htaccess13.shtml" target="_blank">directly nicked from a list on JavascriptKit</a>.</p>
<pre class="brush: css">RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [OR]
RewriteCond %{HTTP_USER_AGENT} ^Bot\ mailto:craftbot@yahoo.com [OR]
RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [OR]
RewriteCond %{HTTP_USER_AGENT} ^Custo [OR]
RewriteCond %{HTTP_USER_AGENT} ^DISCo [OR]
RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon [OR]
RewriteCond %{HTTP_USER_AGENT} ^eCatch [OR]
RewriteCond %{HTTP_USER_AGENT} ^EirGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [OR]
RewriteCond %{HTTP_USER_AGENT} ^Express\ WebPictures [OR]
RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [OR]
RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE [OR]
RewriteCond %{HTTP_USER_AGENT} ^FlashGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetRight [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetWeb! [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [OR]
RewriteCond %{HTTP_USER_AGENT} ^GrabNet [OR]
RewriteCond %{HTTP_USER_AGENT} ^Grafula [OR]
RewriteCond %{HTTP_USER_AGENT} ^HMView [OR]
RewriteCond %{HTTP_USER_AGENT} HTTrack [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} Indy\ Library [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^InterGET [OR]
RewriteCond %{HTTP_USER_AGENT} ^Internet\ Ninja [OR]
RewriteCond %{HTTP_USER_AGENT} ^JetCar [OR]
RewriteCond %{HTTP_USER_AGENT} ^JOC\ Web\ Spider [OR]
RewriteCond %{HTTP_USER_AGENT} ^larbin [OR]
RewriteCond %{HTTP_USER_AGENT} ^LeechFTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mass\ Downloader [OR]
RewriteCond %{HTTP_USER_AGENT} ^MIDown\ tool [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mister\ PiX [OR]
RewriteCond %{HTTP_USER_AGENT} ^Navroad [OR]
RewriteCond %{HTTP_USER_AGENT} ^NearSite [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetAnts [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Octopus [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [OR]
RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [OR]
RewriteCond %{HTTP_USER_AGENT} ^pavuk [OR]
RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [OR]
RewriteCond %{HTTP_USER_AGENT} ^RealDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^ReGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [OR]
RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Surfbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [OR]
RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [OR]
RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebAuto [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebCopier [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebFetch [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebReaper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebSauger [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebStripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Wget [OR]
RewriteCond %{HTTP_USER_AGENT} ^Widow [OR]
RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus
RewriteRule ^.* - [F,L]</pre>
<p><strong>Once again, this method isn&#8217;t foolproof. </strong>The HTTP_USER_AGENT is quite easily spoofed, and some site ripping applications even allow you to specify what user agent you want to appear as. But if your site is large, implementing this list may make a significant impact on your monthly bandwidth bill.</p>
<h2>Mask File Extensions</h2>
<p>If for some reason you want to hide the fact that you&#8217;re using PHP (or Perl, or whatever), all it takes is a simple line in your .htaccess to have your .php files look like .html files:</p>
<pre class="brush: css">RewriteRule ^(.*)\.html$ $1.php [R=301,L] </pre>
<p>You could even completely obfuscate it if you wanted to, for example serving files that end in .snipe that are really .php files:</p>
<pre class="brush: css">RewriteRule ^(.*)\.snipe$ $1.php [R=301,L] </pre>
<p>In these examples, redirects all files that end in .html (or .snipe) to be served from <em>filename.php</em> so it looks like all your pages are .html (or .snipe) but really they are .php. Notice again that we&#8217;re using a 301 redirect.</p>
<h2>Prevent Image/File Hotlinking</h2>
<p>This snippets prevents people from hotlinking to your files &#8211; that is, linking directly to files hosted on your server from their website, thus sucking your bandwidth. It should be noted that in my experience, this rewrite rule seems somewhat spotty, and doesn&#8217;t always work, so be sure to test thoroughly.</p>
<pre class="brush: css">RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?snipe.net/.*$ [NC]
RewriteRule \.(gif|jpg|swf|flv|png)$ /images/dont_steal_bandwidth_jackass.png [R=302,L] </pre>
<p>This rule basically says &#8220;If the request&#8217;s referrer is not blank (meaning the file was accessed directly in a browser) AND is not snipe.net (case insensitive), rewrite any files that end in .gif, .jpg, .swf, .flv or .png to display the file /images/dont_steal_bandwidth_jackass.png.</p>
<p>I have a friend who was trolling through their server logs (as he tended to do) and he realized that someone was using an image from his server, a Debian logo, if I recall correctly &#8211; as their MySpace background image. My friend spicyjack, being of the snarky persuasion, set up a leech=prevention mod_rewrite that directed all requests for that image that were not coming FROM his server to an image that was&#8230; shall we say&#8230;. not something you&#8217;d want as the background image of your MySpace page. (Google &#8220;hotcurry.jpg&#8221; if you&#8217;re really curious. It&#8217;s NSFW. Or anything, or that matter.)</p>
<h2>Search Engine Friendly URLS &#8211; Make Dynamic Pages appear Static</h2>
<p>To turn site.com/index.php?category=foo&amp;subcat=bar into site.com/category-foo/bar.html, just use:</p>
<pre class="brush: css">RewriteRule ^category-([0-9]+)/([0-9A-Za-z]+).html index.php?category=$1&amp;amp;subcat=$2 </pre>
<p>The category number and the subcategory name are variables, these are now represented by $1 and $2. The round brackets and the stuff inside them will be replaced by the variables. The things inside the round brackets are the regex rules for what the variable can contain. Example [0-9] means that it can contain any number from 0 to 9 and the + sign means that the number can be repeated 1 or more times.</p>
<h2>The [L]ast Word</h2>
<p>The [L] flag tells mod-rewrite that no more rules should be processed after that. Also remember that the order these rules are in DOES matter, so you&#8217;ll want to consider their intended behavior carefully when you&#8217;re planning your .htaccess. If at all possible, have your Apache error logs accessible while experimenting. when mod_rewrite goes wrong, it very often gives you a generic (and infuriating) &#8220;500 Internal Server Error&#8221; instead of anything actually useful to you &#8211; the Apache error logs may help shed some light on things.</p>
<p>Also be sure to test thoroughly whenever using mod_rewrite, since you can seriously break stuff if you&#8217;re not careful.</p>
<h2>More Resources</h2>
<p>Can&#8217;t get enough mod_rewrite? Check out these links for additional information and tips.</p>
<ul>
<li><a href="http://www.htaccesselite.com/mod-rewrite-flags-vt101.html" target="_blank">Mod_Rewrite flags</a></li>
<li><a href="http://www.askapache.com/htaccess/mod_rewrite-tips-and-tricks.html" target="_blank">Mod_rewrite Tips &amp; Tricks</a></li>
<li><a href="http://www.askapache.com/htaccess/mod_rewrite-variables-cheatsheet.html" target="_blank">Mod_Rewrite Cheat Sheet</a></li>
</ul>
<p>And if you&#8217;ve got a handy mod_rewrite rule you can&#8217;t live without, let us know in the comments.</p>


<p>Possibly related posts:<ol><li><a href='http://www.snipe.net/2010/06/upgrading-to-wordpress-3/' rel='bookmark' title='Permanent Link: Upgrading to WordPress 3.0 and Adding Multi-Site'>Upgrading to WordPress 3.0 and Adding Multi-Site</a> <small>WordPress 3.0, code name “Thelonious”, has been released, and it...</small></li>
<li><a href='http://www.snipe.net/2009/03/and-still-more-notes-on-mosso/' rel='bookmark' title='Permanent Link: And Still More Notes on Mosso'>And Still More Notes on Mosso</a> <small>Continuing in the Moving to Mosso series, I&#8217;ve come across...</small></li>
<li><a href='http://www.snipe.net/2005/06/more-about-register_globals/' rel='bookmark' title='Permanent Link: More About register_globals'>More About register_globals</a> <small>If you&#8217;ve been directed to this page, that means that...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.snipe.net/2009/02/practical-mod_rewrite/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Tilt-Shift Photos (and How to Fake Them)</title>
		<link>http://www.snipe.net/2009/01/tilt-shift-photography/</link>
		<comments>http://www.snipe.net/2009/01/tilt-shift-photography/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 17:03:52 +0000</pubDate>
		<dc:creator>snipe</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[image manipulation]]></category>
		<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://www.snipe.net/?p=886</guid>
		<description><![CDATA[Tilt-shift photography (also known in the industry as &#8220;swing and tilt&#8221;) is a method by which photographers can take an aerial shot of a real-life place that makes it look as though it&#8217;s a miniature model. It&#8217;s a fascinating effect, and I have always found it interesting how the lens can fool the eye into [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.snipe.net%2F2009%2F01%2Ftilt-shift-photography%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.snipe.net%2F2009%2F01%2Ftilt-shift-photography%2F&amp;source=snipeyhead&amp;style=normal&amp;service=bit.ly&amp;service_api=R_92bd97f4f8b9fa8a40675b36ea291223" height="61" width="50" /><br />
			</a>
		</div>
<p>Tilt-shift photography (also known in the industry as &#8220;swing and tilt&#8221;) is a method by which photographers can take an aerial shot of a real-life place that makes it look as though it&#8217;s a miniature model. It&#8217;s a fascinating effect, and I have always found it interesting how the lens can fool the eye into believing something that isn&#8217;t real simply by adjusting light and focus. The end-result is very cool, and always reminds me a bit of the intro to Mr. Roger&#8217;s Neighborhood.<span id="more-886"></span></p>
<h2>Some Amazing Examples of Tilt-Shift Photography</h2>
<p>While tilt-shift photography has been gaining momentum, photographers Olivo Barbieri andÂ  <a href="http://www.vincentlaforet.com/" target="_blank">Vincent LaForet</a> were some of the first to bring this technique mainstream, with LaForet&#8217;s work featured in the New York Times and all over the country. I&#8217;ve included a few of his pieces here, but if you like this style, be sure to check out the <strong><a href="http://www.nytimes.com/packages/html/magazine/20070531_VINCENT_FEATURE/blocker.html" target="_blank">New York Times photo slideshow</a></strong> (with fascinating audio) of his work, a great collection of <strong><a href="http://www.smashingmagazine.com/2008/11/16/beautiful-examples-of-tilt-shift-photography/" target="_blank">50 Beautiful Examples of Tilt-Shift Photography</a></strong> by Smashing Magazine, and a <strong><a href="http://www.funtasticus.com/20081128/effective-tilt-shift-photography/" target="_blank">substantial collection on Funtasticus</a></strong> (although I suspect a few of these may be faked &#8211; but more on that later.)</p>
<div id="attachment_891" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2009/01/lf2.jpg"><img class="size-full wp-image-891" title="lf2" src="http://www.snipe.net/wp-content/uploads/2009/01/lf2.jpg" alt="Photo by Vincent LaForet" width="500" height="349" /></a><p class="wp-caption-text">Photo by Vincent LaForet</p></div>
<div id="attachment_892" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2009/01/tennis.jpg"><img class="size-full wp-image-892" title="tennis" src="http://www.snipe.net/wp-content/uploads/2009/01/tennis.jpg" alt="Photo by Vincent LaForet" width="500" height="332" /></a><p class="wp-caption-text">Photo by Vincent LaForet</p></div>
<div id="attachment_893" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2009/01/train.jpg"><img class="size-full wp-image-893" title="train" src="http://www.snipe.net/wp-content/uploads/2009/01/train.jpg" alt="Photo by Vincent LaForet" width="500" height="335" /></a><p class="wp-caption-text">Photo by Vincent LaForet</p></div>
<h2>So How Does it Work?</h2>
<p>According to <a href="http://en.wikipedia.org/wiki/Tilt-shift_photography" target="_blank">Wikipedia</a>:</p>
<blockquote><p>Tilt-shift photography refers to the use of camera movements on small- and medium format cameras. In many cases, it refers to tilting the lens relative to the image plane and using a large aperture to achieve a very shallow depth of field. The technique relies on <a href="http://en.wikipedia.org/wiki/Scheimpflug_principle" target="_blank">the Scheimpflug principle</a> [a geometric rule that describes the orientation of the plane of focus of an optical system (such as a camera) when the lens plane is not parallel to the image plane] and usually requires the use of special lenses.</p>
<p>&#8220;Tilt-shift&#8221; actually encompasses two different types of movements: rotation of the lens, called tilt, and movement of the lens parallel to the image plane, called shift. Tilt is used to control the orientation of the plane of focus (PoF), and hence the part of an image that appears sharp. Shift is used to control perspective, usually involving the convergence of parallel lines.</p></blockquote>
<p>Applying tilt on a small- or medium-format camera usually requires a tilt-shift lens or perspective control lens; shift can be applied with the same type of lens or with a lens that offers only the shift movement.</p>
<p>An article on <a href="http://www.cheapshooter.com/2007/08/24/tilt-shift-photography-its-a-small-world-after-all/" target="_blank">Cheapshooter</a> describes it like this:</p>
<blockquote><p>A tilt-shift lens allows the photographer very exacting control over the depth-of-field in an image, much more than any regular lens could provide. Focus can be restricted to a single, narrow band, with everything else rapidly blurring away. This distorts the appearance and makes the eye think that distances are a lot smaller than they typically are. When applied to a large scene like a city or a museum, everything appears miniature.</p></blockquote>
<p>Tilt-shift and perspective-correction lenses are available for many SLR cameras, but most are far more expensive than comparable lenses without movements. The <strong><a href="http://en.wikipedia.org/wiki/Lensbaby" target="_blank">Lensbaby SLR lens</a></strong> is a low-cost alternative for providing tilt and swing for many SLR cameras, although the effect is somewhat different from that of the lenses just described. Because of the simple optical design, aberrations are significant, and sharp focus is limited to a region near the lens axis. Consequently, the Lensbaby&#8217;s primary application is selective focus. If that&#8217;s what you&#8217;re looking for, however, the Lensbaby may be a great (and affordable) choice.</p>
<h2>Tilt-Shift for the Rest of Us: Miniature Faking</h2>
<p>Unlike my amazingly talented husband, who is a <a href="http://flickr.com/photos/lundegaard/sets/72157607004256283/" target="_blank">professional photographer</a> (among other things), I am less-than-awesome behind a camera. I&#8217;ve managed to pull off a few decent shots in my life, but only thanks to digital cameras, and taking thousands of shots, hoping one might come out the way I want. Seriously, if I were kidnapped by that bad guy from the Saw franchise, and all I had to do to get out was take a decent photo using a camera that doesn&#8217;t auto-focus, I&#8217;d be dead.</p>
<p>My skills are more in the post-production area, using Photoshop to create the effect I am not capable of achieving through my camera alone. I can fake it, even though I can&#8217;t make it.</p>
<p>And just like everything else genuine and cool in this world, you have to figure that eventually someone would figure out how to fake it.</p>
<p>In principle, itâ€™s not hard to make a fake: essentially, pick an area in a photo that you want to sharpen, then blur the rest. (Unnatural color saturation, one helpful fake-tilt-shift tutorial offers, â€œmakes it look more as if itâ€™s built from polystyrene and lichen.â€) In practice, itâ€™s a little harder and takes some time, but the end results are really fun.</p>
<p>Two excellent tutorials on using Photoshop to turn a regular photo into a faked tilt-shift photo can be found on <strong><a href="http://www.tiltshiftphotography.net/photoshop-tutorial.php" target="_blank">TiltShiftPhotography.Net</a></strong> and <strong><a href="http://recedinghairline.co.uk/tutorials/fakemodel/" target="_blank">Receding Hairline</a></strong>, although like any other tutorial for photo editing, it&#8217;s not an exact formula since every photo is different. Once you get a feel for the process, you&#8217;ll want to play around with the settings until you get the end result you&#8217;re looking for.</p>
<p>If you don&#8217;t have any aerial photos laying around to practice on, consider using Google Earth.Â  To get an idea of exactly how amazing this effect can be using Google Earth images, check out <a href="http://www.gearthblog.com/blog/archives/2008/12/tilt_shift_photography_using_google.html" target="_blank">this video</a> on the Google Earth Blog, that does a <strong><a href="http://www.gearthblog.com/blog/archives/2008/12/tilt_shift_photography_using_google.html" target="_blank">video flyover of San Francisco using faked tilt-shift photos</a> </strong>based on images from Google Earth. Simply incredible.</p>
<h2>And, For the Truly Lazy&#8230;</h2>
<p>The website <strong><a href="http://tiltshiftmaker.com/" target="_blank">TiltShiftMaker.Com</a></strong> lets you upload your own real-life photos, and use a simple interface to select the area you want to focus on. Click a button, and boom, you&#8217;re done. If you&#8217;re skeptical that it can be that easy, check out <a href="http://flickr.com/groups/tiltshiftmaker/" target="_blank">their gallery on Flickr</a> and see for yourself.</p>


<p>Possibly related posts:<ol><li><a href='http://www.snipe.net/2008/11/photo-retouching-how-to-salvage-a-dark-digital-photo/' rel='bookmark' title='Permanent Link: Photo Retouching &#8211; How to Salvage a Dark Digital Photo'>Photo Retouching &#8211; How to Salvage a Dark Digital Photo</a> <small>I prefer not to shoot with flash when I can...</small></li>
<li><a href='http://www.snipe.net/2008/12/techy-spin-on-office-cards/' rel='bookmark' title='Permanent Link: Put a Fun, Techy Spin on the Boring Office Card'>Put a Fun, Techy Spin on the Boring Office Card</a> <small>You know the drill &#8211; someone in the office is...</small></li>
<li><a href='http://www.snipe.net/2008/11/facebook-and-myspace-users-beware-virus/' rel='bookmark' title='Permanent Link: Facebook and MySpace Users, Beware!'>Facebook and MySpace Users, Beware!</a> <small>I have received two virus emails from two unrelated friends,...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.snipe.net/2009/01/tilt-shift-photography/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Airport in OSX Dropping Wifi Connection</title>
		<link>http://www.snipe.net/2008/12/airport-in-osx-dropping-wifi-connection/</link>
		<comments>http://www.snipe.net/2008/12/airport-in-osx-dropping-wifi-connection/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 16:31:26 +0000</pubDate>
		<dc:creator>snipe</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[airport]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://www.snipe.net/?p=567</guid>
		<description><![CDATA[Ever since buying a new 17&#8243; Macbook Pro, I have been having consistent problems with keeping a wifi connection in my house. I know this is an Apple issue, not a router issue, as I can sit in the exact same spot in the house with Dell and get a strong signal that never drops [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.snipe.net%2F2008%2F12%2Fairport-in-osx-dropping-wifi-connection%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.snipe.net%2F2008%2F12%2Fairport-in-osx-dropping-wifi-connection%2F&amp;source=snipeyhead&amp;style=normal&amp;service=bit.ly&amp;service_api=R_92bd97f4f8b9fa8a40675b36ea291223" height="61" width="50" /><br />
			</a>
		</div>
<p>Ever since buying a new 17&#8243; Macbook Pro, I have been having consistent problems with keeping a wifi connection in my house. I know this is an Apple issue, not a router issue, as I can sit in the exact same spot in the house with Dell and get a strong signal that never drops off. Being incredibly frustrated by this problem, I have done a lot of research, and it seems I&#8217;m not the only one having issues. If you&#8217;re here, chances are you&#8217;re having them too.<span id="more-567"></span></p>
<p><span style="text-decoration: line-through;">I am not sure that my problem is actually solved, but</span> With some help from someone suffering a similar problem, my issue was finally solved, but since there are so many things that work for some people and not others, I thought it would be helpful if I compiled a list of options that have been shown to work for some people, so you don&#8217;t have to dig quite as far as I had to. Right now, finding these solutions involves reading literally hundreds of forum and blog posts, so hopefully having them organized in one place will be helpful to someone.</p>
<p>First I&#8217;ll give you a little more detail on what I&#8217;m running and what I&#8217;ve learned:</p>
<p>I have a 17&#8243; Intel-based dual core 2.5 Ghz  Macbook Pro, only about two months old, running Leopard 10.5.6. My router is an Airport Extreme Broadcom BCM43xx 1.0 (5.10.38.24), however I was running into this problem with my old Linksys G router as well. In fact, I ended up shelling out $180 for the new Airport Extreme specifically in an effort to fix this wifi issue. I had realized this wasn&#8217;t necessarily a router issue, but figured the extra antenna in the Airport Extreme N router might help. It didn&#8217;t.</p>
<h2>The Problem:</h2>
<p>From the moment I took the Macbook Pro out of the box, I have had terrible issues with dropped wifi connections in my house. My wifi signal shows full strength, and then suddenly dips down but still appears active, although the connectivity itself drops to zero. This can happen several times a day to literally every 10 seconds. (Just upgrading my WordPress software last night took an hour because I couldn&#8217;t hold onto a connection long enough for the files to upload, and had to keep restarting.)</p>
<p>When the connection drops, I can sometimes get it back before it completely fails by clicking on the Airport icon and letting it scan. Once the status goes from &#8220;scanning&#8221; to &#8220;on&#8221;, the signal comes back. When I do that, the connection recovers fully, but the dropoff can happen again in 5 seconds, so it is clearly not an ideal solution.</p>
<p><img class="aligncenter size-full wp-image-576" title="picture-11" src="http://www.snipe.net/wp-content/uploads/2008/12/picture-11.png" alt="picture-11" width="419" height="218" /></p>
<p>A post on <a href="http://installingcats.com/2008/06/06/airport-wireless-connection-drops-on-leopard-10-5-2/" target="_blank">InstallingCats</a> summed it up nicely:</p>
<blockquote><p>After doing some research, I had a theory that AirPort was searching through old wireless connections within /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist constantly looking for a better signal. And whenever the current wireless connection suffered from minor transient interference (say cordless telephones), it would immediately try to connect to another base station or try to switch to a different channel. Have a look at your version of the airport preferences file by navigating to it in Finder, starting with Macintosh HD, then Library, Preferences, and finally within the SystemConfiguration folder. You can simply hit enter with the file highlighted to use Quick Look. You can also use Terminal to quickly print the file to the screen with the following command: <code>cat /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist</code></p>
<p>Once the AirPort control software in 10.5.2 set about trying to find a better wireless connection, it would never successfully get back your original wireless connection which was really fine. Hence, from time to time, you would see a slight drop in wireless signal strength, then after clicking on the AirPort wireless icon, it would scan for networks for a few seconds, then return to full strength, yet you would have already lost Internet access.</p></blockquote>
<p>Unfortunately, the fixes offered didn&#8217;t work for me, but at least it seems I&#8217;m on the right track in my theories. Not that <em>that</em> does me a lot of good&#8230;</p>
<h2>What I have Learned So Far:</h2>
<p><strong>This is NOT an uncommon problem.</strong> There are literally thousands of posts, both on Mac discussion sites and on the official Apple discussion boards. Apple is aware of the problem, and they evidently made an effort to address it in the recent OSX upgrades. The upgrade to 10.5.6 has solved the problem for some people &#8211; it did not solve the problem for me.</p>
<p><strong>For this specific issue, the router itself is not the issue &#8211; Leopard is the problem.</strong> If your router is working for everyone in the house except your Macs, it may not be worth it to go out and buy a new router. I dumped my old Linksys G-router for the Apple Airport Extreme N-router and although the signal is much stronger now, there have been no changes in the dropout issues. My router was old, so I don&#8217;t regret the upgrade, but if you&#8217;re having the problem discussed here, it probably won&#8217;t help much.</p>
<p>There is <a href="http://forums.macosxhints.com/archive/index.php/t-67942.html" target="_blank">some discussion</a> about how <strong>the aluminum body of the Macbook Pros interferes with wifi signal reception</strong>. (Older PPC macs often had the antenna in their display frame, but newer Macs have the antenna in the hinge.) While I have experienced a weaker signal with Macbook Pro than I did with my Dell, I do not believe this problem is related, as I have seen people with every imaginable kind of Mac laptop having these wifi issue, regardless of whether the laptop is plastic or aluminum.</p>
<p>Since forcing Airport to scan by clicking on the Airport icon works 99% of the time, this leads me to believe that<strong> Airport is either 1) erroneously losing the signal or 2) getting confused and trying to connect to another network, despite already being connected to a preferred network</strong>.</p>
<p><strong>Many people report this problem starting with them upgrading to Leopard.</strong> Apple has apparently been trying to fix it since 10.5.2, but many users are still having the problem, which they never had before upgrading to Leopard.</p>
<h2>Possible Fixes</h2>
<p>In my many hours or research, here are some things you can try that have shown some level of success for people encountering this problem. They did not work for me (or at least not entirely, some seemed to improve things temporarily or marginally) but many users reported success with this, so if if saves you some headache, rock on.</p>
<p>Like any other troubleshooting process, you will want to try these one at a time. If you make a bunch of changes at once and something worked, you won&#8217;t know which change actually fixed it &#8211; and conversely, if you do one thing that fixes it and two other things that break something else, you won&#8217;t know you actually found the fix.</p>
<p><strong>If you&#8217;re running Leopard, upgrade to 10.5.6</strong>. The latest OSX upgrade specifically mentions fixes to some Airport issues, and many users have reported better performance after the update.</p>
<p><strong>If you&#8217;re using an Airport Extreme router, make sure your router&#8217;s firmware is up to date.</strong> You can find the setting to check for updates automatically in: Utilities &gt; Airport Utility &gt; Airport Extreme &gt; Base Station &gt; Options.</p>
<p><strong>Download and install <a href="http://www.chimoosoft.com/products/apgrapher/" target="_blank">AP Grapher</a></strong>, a freeware program for Mac OS X which searches for and displays nearby wireless (AirPort/WiFi) access points along with information about their percent availability, maximum signal strength, and last contact time. At the very worst, the graph visually shows you when your connection is about to crap out &#8211; and at the very best, some people have reported this actually helping to prevent the dropoffs, presumably because AP Grapher is constantly pinging the router.</p>
<p><strong>Set up terminal window to ping your router.</strong> This is easy to do but is obviously not ideal, as you&#8217;ll have to do this every time you connect to your wifi, but it actually seems to have helped for me. If you&#8217;re comfortable with setting up Apple Scripts, Jeff over at the forums on Beyond-School.Org shows you a quick way to automate this in <a href="http://beyond-school.org/2008/06/21/airport-scanning/comment-page-2/#comment-5854" target="_blank">his blog comment post</a>.</p>
<p><strong>Check for (and remove) the RealPlayer Downloader login item. </strong>I never had RealPlayer installed (yuck), so it wasn&#8217;t an issue with me, but a lot of people have reported this as a fix that worked for them.</p>
<ol>
<li>Go to System Preferences</li>
<li>In the fourth row, under Systems, click on the Accounts icon</li>
<li>In the Accounts screen, click on Login Items</li>
<li>Click on RealPlayer Downloader, then remove it from login Items by clicking on the minus sign</li>
</ol>
<p><strong>Try removing security on your router.</strong> I have not tried this myself &#8211; its the only one of the options I&#8217;ve found that I haven&#8217;t tried, as it makes me uncomfortable (which is silly, I know, because wifi networks are SO easily hackable by even the most rudimentary means). Might be worth trying, even if just temporarily to see if it works.</p>
<p><strong>Try manually setting a channel on your router instead of letting it choose automatically. </strong>This is a hit or miss process of course, since we can&#8217;t see which channel is the best option based on interference, but tweaking the channel seems to have worked for people. A lot of people report 5 being particularly successful, but that seems arbitrary to me. That said, a lot of this stuff seems arbitrary, and if you&#8217;re as frustrated as I have been, you&#8217;ll probably try it.</p>
<p>Directly in conflict with this advise, according to <a href="http://installingcats.com/2008/06/06/airport-wireless-connection-drops-on-leopard-10-5-2/" target="_blank">a post on InstallingCats</a>, &#8220;Change wireless channel on your wifi router (e.g. AirPort Extreme base station, NetGear, Linksys) from 6 (the default) to anything from 1-4 or 8 to 11. Please refer to your router&#8217;s instruction manual on how to do this. The reason for avoiding channels 5 and 7 is that wifi routers by design will automatically switch to one channel above or below their current channel when wifi signal noise passes a certain value. Thus, if you were having problems on channel 6, your router and AirPort have already tried channels 5 and 7 and you&#8217;re still experiencing problems.&#8221;</p>
<p><strong>Set Airport to NOT display an icon in the menu bar.</strong> You can do this by going to System Preferences &gt; Network, selecting Airport in the left side options and un-checking the &#8220;Show Airport status in menu bar&#8221; option. I&#8217;ve had mixed results with this one. It seems like the dropouts *are* fewer when I do this, but when it does drop, my only way of getting it back before complete disconnection is to force Airport to scan using that icon. So I have the problem less often, but when it happens, I have to go back into System Preferences &gt; Network and recheck the box, then click on the icon to force it to come back. A little time-consuming when you&#8217;re in the process of getting your face eaten off by a Fel Reaver while playing World of Warcraft. <img src='http://www.snipe.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>Check the &#8220;Ask to Join New Networks&#8221; option. </strong>In System &gt; Network &gt; Airport, there is a checkbox that allows you to toggle whether or not you wish to be asked to join a wireless network that isn&#8217;t in your known networks list. Checking this may help some people by telling Airport to not try automatically connecting you to a network that isn&#8217;t in your preferred networks list.</p>
<p><strong>Minimize interference from other sources. </strong>If possible, use the 5Ghz transmission frequency/band for your wireless router. Most wireless devices (nearly all wireless routers and cordless telephones) in homes use the 2.4Ghz transmission band. Avoiding this band will result in much less radio noise. You would change this configuration option in your router settings, not on your Mac.</p>
<p><strong>Remove the AirPort preferences file.</strong> Locate the file named com.apple.airport.preferences.plist, which is stored in the /Macintosh HD/Library/Preferences/SystemConfiguration/ folder and remove it (after copying to the desktop, just to have a backup). Then reboot the computer and set up the WiFi connection again.</p>
<h2>What Finally Worked For Me</h2>
<p>Neil deMause, a commenter on BeyondSchool.Org was in a similar situation, having tried all of the above solutions (a great many of which worked for other people, but not for us) to no avail. He was kind enough to <a href="http://beyond-school.org/2008/06/21/airport-scanning/comment-page-2/#comment-7339" target="_blank">post what finally ended up working for him</a>, and it looks like that might have worked for me too. It&#8217;s been over 24 hours and I haven&#8217;t had a single signal drop yet (knock on wood), so I am feel pretty comfortable that this actually solved it.</p>
<p>Neil writes:</p>
<blockquote><p>Well, I have a solution, but it was neither cheap nor easy. After a trip to the shop found no problems with the Airport card, I broke down and bought an Airport Extreme router, to see if that would help. Test results showed:</p>
<p>* Airport Extreme set to b/g/n compatible: same problem.</p>
<p>* Airport Extreme set to n only, at 2.4 GHz: same problem.</p>
<p>* Airport Extreme set to n only, at 5 GHz: Blazing fast connection speeds, not a single lost packet, even in rooms of my house where wireless reception was previously only a rumor.</p></blockquote>
<p>So ultimately, all I did was go into my Airport Extreme settings and change it from b/g/n to n-only. That&#8217;s it.</p>
<p>Neil&#8217;s setup was a little more complicated than mine. For me, just switching to N-only (on channel 11) seems to have done the trick. Although I have several older Windows-based laptops, I rarely use them anymore, so I didn&#8217;t have to deal with getting the older (non-N) Windows boxes to work on the N-only network, but just in case that&#8217;s the situation you&#8217;re in, here&#8217;s what Neil did:</p>
<blockquote><p>Unfortunately, we also have a Windows laptop in the house that doesn&#8217;t have an n wireless card. So until we can buy one, right now I have my old b/g router daisy-chained to my new Airport Extreme, serving up a separate subnet just for the sake of the Windows laptop. My friend who helped me set this up characterized this as <em>insane</em>, but hey, it works.</p></blockquote>
<p>So, the saga seems to be over, for me and Neil at least. Thank. Freaking. God. Many, many thanks to Neil. I totally owe him a beer.</p>
<h2>Still Not Working?</h2>
<p>If none of these solutions work, I&#8217;d suggest checking out <a href="http://www.macfixit.com/article.php?story=2005093011343164" target="_blank">this excellent article on MacFixIt</a> that goes through additional router troubleshooting steps. They may not all apply, since this problem isn&#8217;t really a router issue, but you may want to try tweaking some of the settings they mention there to see if anything helps.</p>
<p>For those who are a little more tech savvy and comfortable trying something more advanced, there is a <a href="http://taisteal.atomiclemur.com/2007/06/how-tiger-10410-killed-my-wireless-and-how-i-fixed-it/" target="_blank">rollback fix posted on Atomic Lemur</a> that basically reverts back to an older, pre-breakage set of settings. This is ambitious for a Mac newbie though, and I wouldn&#8217;t recommend it unless you&#8217;re fairly comfortable at the command line.</p>
<p><span style="text-decoration: line-through;">If I find a fix that really, truly works &#8211; or even some more that don&#8217;t work for me but work for others, I&#8217;ll post them here.</span></p>
<p>Big thanks to the people at <a href="http://beyond-school.org/2008/06/21/airport-scanning/" target="_blank">Beyond-School.Org</a> and several other blogs and forums &#8211; their thorough discussions are what made this blog post possible.</p>


<p>Possibly related posts:<ol><li><a href='http://www.snipe.net/2009/02/laptop-bags-for-17-inch-macbook-pro/' rel='bookmark' title='Permanent Link: Laptop Bags for 17-inch Macbook Pro'>Laptop Bags for 17-inch Macbook Pro</a> <small>I have an addiction to laptop bags. I&#8217;m not sure...</small></li>
<li><a href='http://www.snipe.net/2009/01/handy-mac-osx-command-line-tricks/' rel='bookmark' title='Permanent Link: Handy Mac OSX Command Line Tricks'>Handy Mac OSX Command Line Tricks</a> <small>Mac users love their Macs for lots of different reasons...</small></li>
<li><a href='http://www.snipe.net/2010/06/upgrading-to-wordpress-3/' rel='bookmark' title='Permanent Link: Upgrading to WordPress 3.0 and Adding Multi-Site'>Upgrading to WordPress 3.0 and Adding Multi-Site</a> <small>WordPress 3.0, code name “Thelonious”, has been released, and it...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.snipe.net/2008/12/airport-in-osx-dropping-wifi-connection/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Facebook and MySpace Users, Beware!</title>
		<link>http://www.snipe.net/2008/11/facebook-and-myspace-users-beware-virus/</link>
		<comments>http://www.snipe.net/2008/11/facebook-and-myspace-users-beware-virus/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 19:08:20 +0000</pubDate>
		<dc:creator>snipe</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[myspace]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[social networks]]></category>
		<category><![CDATA[virus]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.snipe.net/?p=386</guid>
		<description><![CDATA[I have received two virus emails from two unrelated friends, indicating their accounts have been compromised. The messages are being sent through Facebook and both have had a spammy sounding subject line and a link to a geocities website. This was suspicious enough, but the fact that one message came from a friend I haven&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.snipe.net%2F2008%2F11%2Ffacebook-and-myspace-users-beware-virus%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.snipe.net%2F2008%2F11%2Ffacebook-and-myspace-users-beware-virus%2F&amp;source=snipeyhead&amp;style=normal&amp;service=bit.ly&amp;service_api=R_92bd97f4f8b9fa8a40675b36ea291223" height="61" width="50" /><br />
			</a>
		</div>
<p>I have received two virus emails from two unrelated friends, indicating their accounts have been compromised. The messages are being sent through Facebook and both have had a spammy sounding subject line and a link to a geocities website. This was suspicious enough, but the fact that one message came from a friend I haven&#8217;t spoken to much in a year made it even more so. <span id="more-386"></span></p>
<p>The first virus email subject was <strong>&#8220;RE: You were caught on our secret camera!&#8221;</strong> and the second was<strong> &#8220;RE: You have a great hair cut in this movie&#8221;</strong> . The geocities addresses they pointed to were for user&#8217;s reedgates21 and richiemack11.  I&#8217;ve googled both addresses and gotten no results, so my guess is that they are randomly generating geocities accounts and generating these emails. A co-worker just one too &#8211; variation on a theme. Subject is <strong>&#8220;Don&#8217;t cry! Your mom will never see this movie&#8221;</strong>, also pointing to geocities, user name rkssbcyzk. Another one, <strong>&#8220;I&#8217;m not kidding I just saw your pics all over  a site address swimcaw&#8221;</strong> has come through as a wall post.</p>
<h2>The links in the Facebook messages point to websites that contain viruses. Do NOT click on them.</h2>
<p>Below are some examples of what they look like. (These are just images, so you can click on them for larger versions to see how the messages come into your inbox.)</p>
<div id="attachment_389" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2008/11/virus2.gif"><img class="size-full wp-image-389" title="Screenshot 1" src="http://www.snipe.net/wp-content/uploads/2008/11/virus2.gif" alt="" width="500" height="343" /></a><p class="wp-caption-text">Screenshot 1</p></div>
<div id="attachment_390" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2008/11/virus1.gif"><img class="size-full wp-image-390" title="Screenshot 2" src="http://www.snipe.net/wp-content/uploads/2008/11/virus1.gif" alt="" width="500" height="343" /></a><p class="wp-caption-text">Screenshot 2</p></div>
<div id="attachment_391" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2008/11/virus3.gif"><img class="size-full wp-image-391" title="Screenshot 3" src="http://www.snipe.net/wp-content/uploads/2008/11/virus3.gif" alt="Screenshot 2" width="500" height="343" /></a><p class="wp-caption-text">Screenshot 3</p></div>
<p>If you&#8217;re using Firefox, your browser should warn you that you&#8217;re about to try to access a page that has been linked to virus/malware when you click on the Facebook messages in question, but if you&#8217;re using an older version of IE (shame on you!), you may not get any warning at all.</p>
<h2>When You Receive a Virus Email</h2>
<ol>
<li>DO NOT CLICK ON THE LINK</li>
<li>Send an e-mail (or call) the sender, letting them know they are likely infected with a virus</li>
<li>Suggest to the friend that they change their password from another, uninfected computer, and follow the steps further down in this article to remove the virus. (The method they use will depend on which virus they&#8217;ve been infected with.)</li>
<li>Once the virus is cleared from the sender&#8217;s system, suggest they <a href="http://www.amictools.com/v-anti_keylogger_shield.html">install a free anti-keylogger program</a> and switching to <a href="http://www.mozilla.com/en-US/firefox/" target="_blank">Firefox</a> just to be safe</li>
</ol>
<p>Ultimately, its like anything else &#8211; common sense will go a long way. If the email seems odd (for example, the fact that the subjects sometimes start with &#8220;RE:&#8221;, as if they were replies to a message you sent, but you never sent a message with that subject), the phrasing seems off or not something your friend would actually say, something is probably awry. If you&#8217;re unsure, contact the friend directly and ask if they sent it to you.</p>
<p>This has been happening a lot lately, and the scenario Tech Crunch describes <a href="http://www.techcrunch.com/2008/08/07/elaborate-facebook-worm-virus-spreading/">in this article</a> sounds a lot like what&#8217;s happening here.</p>
<p>Keep in mind&#8230; Facebook applications do NOT have access to your password, so unless you installed an application that &#8220;required you&#8221; to download an executable application (any kind of .exe, .msi, etc), your Facebook applications should NOT be the cause. (Being an application developer, I can say that I couldn&#8217;t steal someone&#8217;s password even if I wanted to, using their API. HOWEVER there have been several reports of phony applications and groups that require some sort of download in order to get the full experience (<a href="http://www.theregister.co.uk/2008/01/04/facebook_adware/">Secret Crush</a> was one of them).</p>
<p><strong>NO application or group should EVER require you to download and install anything. If they do, report them to the social network immediately.</strong></p>
<p>Also keep in mind that <strong>these viruses are not limited to Facebook users</strong>. I&#8217;m more familiar with the Facebook scenario because I avoid MySpace like the plague, but every time I login there are spammy and/or virus-y emails awaiting me. This isn&#8217;t as much a flaw in the Facebook platform as a result of social networks still being young and going through some growing pains. MySpace has just as much of a problem with these issues, if not moreso, since they have been historically less concerned about user experience and safety.</p>
<h2>Another Variation &#8211; Fake YouTube Links</h2>
<p>Another variation of the viruses being sent around Facebook is a similar message to users suggesting they are appearing in a <strong>YouTube video</strong> and providing the supposed link to view it. Instead of actually seeing a video, the virus advises viewers they need to download an updated version of Flash, which if followed may install a virus into the user&#8217;s computer. <a href="http://www.sync-blog.com/sync/2008/08/breaking-news-f.html">More info on that version, including sample messages and screenshots, is available here</a>.</p>
<h2>Why Its Working</h2>
<p>If you find yourself infected, don&#8217;t be too hard on yourself. People have become so used to receiving emails from Facebook asking them to confirm this or that that it could be argued that people are more prone to click on a link that looks like it came from Facebook without being as diligent as we would be if we weren&#8217;t used to preforming this same action 10 times a day for legitimate Facebook actions. <span class="content">For example, most users of Facebook are familiar with the &#8220;Joe has added you as a friend on Facebook€¦&#8221; stock email.</span></p>
<p><span class="content">Some users are conditioned to follow this process whenever they receive an email of this sort. Some people can receive this email several times every day and perform this login procedure so often it becomes automatic. This simple, clean design is very easy for a phisher to mimic. Since users are conditioned to follow this process blindly, they might not notice that the email is spoofed or that the address bar is slightly incorrect. This makes Facebook users ideal targets for the type of generic phishing attacks that are usually directed at financial institutions.</span></p>
<h2>If You Clicked on the Link And Your Computer is Infected</h2>
<p>I spent some time trolling Facebook&#8217;s forums to see if anyone had any specific direction on how to remove this virus from an infected machine. I found a few possible solutions, although since the people posting didn&#8217;t know or didn&#8217;t mention the name of the specific virus they were infected with, it may take some trial and error to find the solution that works best for you.</p>
<p>If your virus detection software determines that you&#8217;re infected with <strong>Bolivar23.exe</strong>, you can <a href="http://www.d-a-l.com/help/spyware-adware-viruses-hijackthis-logs/57987-bolivar23-exe-problem.html">click here for directions on how to remove it</a>.</p>
<p>In early August, there was a different one going around, called Koobface. Kaspersky&#8217;s website writes:</p>
<div style="margin-left: 40px;">Net-Worm.Win32.Koobface.a spreads when a user accesses his/ her MySpace account. The worm creates a range of commentaries to friends&#8217; accounts. Net-Worm.Win32.Koobface.b, which targets Facebook users, creates spam messages and sends them to the infected users&#8217; friends via the Facebook site.  The messages and comments include texts such as:</div>
<div style="margin-left: 40px;">
<ul>
<li><em><strong>Paris Hilton Tosses Dwarf On The Street</strong></em></li>
<li><em><strong>Examiners Caught Downloading Grades From The Internet</strong></em></li>
<li><em><strong>Hello</strong></em></li>
<li><em><strong>You must see it!!! LOL. My friend catched you on hidden cam; </strong><br />
</em></li>
<li><em>I<strong>s it really celebrity? Funny Moments</strong></em><strong> and many others</strong>.</li>
<li><em><strong>Yoou&#8217;re so prettty goood on thiis viddeo.</strong></em></li>
</ul>
</div>
<div style="margin-left: 40px;">Messages and comments on MySpace and Facebook include links to <strong>youtube.[skip].pl</strong>.  If the user clicks on this link, s/he is redirected to a site which purportedly contains a video clip.  If the user tries to watch it, a message appears saying the user needs the latest version of Flash Player in order to watch the clip. However, instead of the latest version of Flash Player, <strong>a file called codesetup.exe is downloaded to the victim&#8217;s machine</strong>; this file is also a network worm. The result is that users who have come to the site via Facebook will have the MySpace worm downloaded to their machines, and vice versa. [<a href="http://usa.kaspersky.com/about-us/news-press-releases.php?smnr_id=900000149">more</a>]</div>
<p>One confirmed method of removing this virus is by downloading <a href="http://www.malwarebytes.org/">MalwareBytes</a> &#8211; for some at the time, it seemed to be the only out of the box software that was able to remove it.</p>
<p>Still another that was around this time, <strong>Troj/Dloadr-BPL Trojan horse</strong>, was reported on by Sophos:</p>
<p style="padding-left: 60px;">Messages left on Facebook users&#8217; walls are urging members to view a video (which pretends to be hosted on a Google website), but clicking on the link and visiting the webpage takes users to a site which urges them to download an executable to watch the movie.</p>
<p style="padding-left: 60px;">Sophos detects the executable file as the Troj/Dloadr-BPL Trojan horse, which in turn downloads further malicious code (detected as Troj/Agent-HJX), and displays an innocent image of a court jester sticking his tongue out. [<a href="http://www.sophos.com/pressoffice/news/articles/2008/08/facebook.html">more</a>]</p>
<h2>In Conclusion</h2>
<p>This isn&#8217;t the first wave of social network viruses, nor will it be the last. There isn&#8217;t one social network that is more prone to them than others. As we allow social networks to become a bigger part of how we communicate, we must simply remain cautious and avoid the temptation to become complacent. Pay attention to the links you click on that are sent through Facebook, the same way you pay attention to suspicious e-mails that come in through normal e-mail.</p>


<p>Possibly related posts:<ol><li><a href='http://www.snipe.net/2009/05/new-facebook-phishing-attempts/' rel='bookmark' title='Permanent Link: New Facebook Phishing Attempts'>New Facebook Phishing Attempts</a> <small>Looks like a new round of phishing attacks are well...</small></li>
<li><a href='http://www.snipe.net/2009/02/advertising-on-facebook-part-one/' rel='bookmark' title='Permanent Link: Advertising on Facebook &#8211; Part One'>Advertising on Facebook &#8211; Part One</a> <small>I have a Facebook application that seems to be doing...</small></li>
<li><a href='http://www.snipe.net/2009/02/advertising-on-facebook-part-three/' rel='bookmark' title='Permanent Link: Advertising on Facebook &#8211; Part Three'>Advertising on Facebook &#8211; Part Three</a> <small>Part three of this series will deal specifically with an...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.snipe.net/2008/11/facebook-and-myspace-users-beware-virus/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Photo Retouching &#8211; How to Salvage a Dark Digital Photo</title>
		<link>http://www.snipe.net/2008/11/photo-retouching-how-to-salvage-a-dark-digital-photo/</link>
		<comments>http://www.snipe.net/2008/11/photo-retouching-how-to-salvage-a-dark-digital-photo/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 18:25:38 +0000</pubDate>
		<dc:creator>snipe</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[photo editing]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[retouching]]></category>

		<guid isPermaLink="false">http://www.snipe.net/?p=360</guid>
		<description><![CDATA[I prefer not to shoot with flash when I can help it &#8211; I don&#8217;t like the way it washes colors out. Unfortunately, sometimes if you don&#8217;t leave the exposure open long enough, or don&#8217;t have time to adjust your exposure in the first place (candid shots are my favorite but can be a bitch [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.snipe.net%2F2008%2F11%2Fphoto-retouching-how-to-salvage-a-dark-digital-photo%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.snipe.net%2F2008%2F11%2Fphoto-retouching-how-to-salvage-a-dark-digital-photo%2F&amp;source=snipeyhead&amp;style=normal&amp;service=bit.ly&amp;service_api=R_92bd97f4f8b9fa8a40675b36ea291223" height="61" width="50" /><br />
			</a>
		</div>
<p>I prefer not to shoot with flash when I can help it &#8211; I don&#8217;t like the way it washes colors out. Unfortunately, sometimes if you don&#8217;t leave the exposure open long enough, or don&#8217;t have time to adjust your exposure in the first place (candid shots are my favorite but can be a bitch if you only have a second to capture the moment), you end up with under-exposed photos that may be too dark to use. Dark photos are particularly challenging to retouch, because as you make the image lighter, it can end up looking very grainy. This tutorial will show you a few ways to salvage a dark photo and minimize some of the graininess.</p>
<p><span id="more-360"></span></p>
<p>Retouching dark photos is possible because the camera captures more information than your eyes can see, so even if something looks very dark, there is more information contained there that can be brought out using a series of filters and adjustments. Bear in mind that the end result will be much nicer if the photo can be resized to a smaller version. The tricks we&#8217;ll use here can get rid of some of the graininess, but it does so by reducing noise and effectively blurring the image slightly, so if your end result image is smaller than the original, you&#8217;ll end up with a nicer finished product. Depending on how dark the image is that you&#8217;re starting with, the end result may not be perfect, but it may work for your needs.</p>
<p>For this tutorial, we&#8217;ll use a photo taken at a recent concert. <a href="http://www.frontalot.com" target="_blank">MC Frontalot</a>, <a href="http://mclars.com/" target="_blank">MC Lars</a>, <a href="http://ytcracker.com/" target="_blank">YTCracker</a> and <a href="http://devospice.com/" target="_blank">Devo Spice</a> played at the <a href="http://www.mexicalilive.com/" target="_blank">Mexicali Blues Cafe</a> in Teaneck, New Jersey on the evening of the United States presidential election between John McCain and Barack Obama. (OUSTANDING show, by the way &#8211; go see them if you can, and bask in their awesomeness. Seriously. More photos of the show that are far better than the photo used in this article are <a href="http://www.flickr.com/photos/lundegaard/sets/72157608676548666/" target="_blank">available here</a>.) Being political people, the musicians were kind enough to give us election updates every 10 minutes or so. In this shot, I&#8217;m looking over MC Frontalot&#8217;s shoulder, checking out the results map on CNN. However, it wasn&#8217;t a staged shot, and flash would have ruined it, so the shot came out too dark.</p>
<div id="attachment_363" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2008/11/original_smaller.jpg"><img class="size-full wp-image-363" title="Original image" src="http://www.snipe.net/wp-content/uploads/2008/11/original_smaller.jpg" alt="Original image" width="500" height="334" /></a><p class="wp-caption-text">Original image</p></div>
<p>With a few tweaks, we can make this a usable photo. It was so dark to start with, its never going to be portfolio quality, but for pics that you can&#8217;t reshoot and would like to try to save, these techniques may help.</p>
<h2>Getting There</h2>
<p>The first place I start is either with IMAGE &gt; ADJUSTMENTS &gt; CURVES or IMAGE &gt; ADJUSTMENT &gt; LEVELS. In this case I started with levels. The three arrows you see on the bottom of the levels palette signify your shadow, midtones and highlights, left to right in that order. Most of the time, you&#8217;re going to want to move your midtones the most, and then finesse the levels with your shadow and highlights. This will bring up the light levels in the entire image, and then you can pull some of the shadows down again so it doesn&#8217;t look too washed out.</p>
<div id="attachment_372" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2008/11/levels-1.jpg"><img class="size-full wp-image-372" title="Adjusting with levels" src="http://www.snipe.net/wp-content/uploads/2008/11/levels-1.jpg" alt="Adjusting with levels" width="500" height="373" /></a><p class="wp-caption-text">Adjusting with levels</p></div>
<p>As you can see, its still a little grainy, but there&#8217;s only so much we&#8217;ll be able to do to save this one. That said, I liked the shot, so I wanted to do what I could. This is a particularly severe example, so our end result isn&#8217;t amazing, but at least you can see what&#8217;s going on. When you&#8217;re starting with a less extreme example, your results will be much better.</p>
<div id="attachment_369" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2008/11/original_sm_after_lvls1.jpg"><img class="size-full wp-image-369" title="After adjustting LEVELS" src="http://www.snipe.net/wp-content/uploads/2008/11/original_sm_after_lvls1.jpg" alt="After adjustting LEVELS" width="500" height="334" /></a><p class="wp-caption-text">After adjustting LEVELS</p></div>
<p>This looks pretty grainy, even at this smaller size &#8211; but the image I was working with was 2896&#215;1936, so it was *really* grainy in the larger version. Here&#8217;s an &#8220;actual size&#8221; detail shot.</p>
<div id="attachment_370" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2008/11/snipe-grainy.jpg"><img class="size-full wp-image-370" title="Grainy detail" src="http://www.snipe.net/wp-content/uploads/2008/11/snipe-grainy.jpg" alt="Grainy detail" width="500" height="449" /></a><p class="wp-caption-text">Grainy detail</p></div>
<p>Far from awesome, but its getting there &#8211; you can actually see my face now. We&#8217;re not going to be able to get too much more lightness in this one without making it even more grainy, so I&#8217;m going to stick with this level of exposure and work on smoothing out some of the noise.</p>
<p>The best way to accomplish this is going to be using the noise reduction filter, which basically blurs the pixels slightly and attempts to smooth out harsh variations in pixel colors.</p>
<p>Using FILTERS &gt; NOISE &gt; REDUCE NOISE, we&#8217;re able to blur out some of the grain and reduce the colors in the noise, making it less obvious. You&#8217;ll have to play with these settings to get it the way you want it &#8211; and you may even need to run the filter again to get the level you want &#8211; but bear in mind that the more you preserve sharpness and/or detail, the less effective this is going to be. This is where working with a larger image and resizing down is nice &#8211; the blurring becomes less obvious on a resized image.</p>
<div id="attachment_373" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2008/11/reduce-noise.jpg"><img class="size-full wp-image-373" title="Noise reduction settings" src="http://www.snipe.net/wp-content/uploads/2008/11/reduce-noise.jpg" alt="" width="500" height="468" /></a><p class="wp-caption-text">Noise reduction settings</p></div>
<p>Because this is an extreme example that started off very dark, I ran the noise reduction filter again with the same settings.</p>
<div id="attachment_375" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2008/11/original_small_after_2xnr.jpg"><img class="size-full wp-image-375" title="Noise reduction filter applied twice" src="http://www.snipe.net/wp-content/uploads/2008/11/original_small_after_2xnr.jpg" alt="Noise reduction filter applied twice" width="500" height="334" /></a><p class="wp-caption-text">Noise reduction filter applied twice</p></div>
<p>I then cropped the image, getting rid of some of the extra stuff along the sides, resized it and then hit it once more with the levels to bring out a teensy bit more of the shadow, which helps reduce the grain further.</p>
<p>So we went from a practically unusable photo:</p>
<div id="attachment_363" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2008/11/original_smaller.jpg"><img class="size-full wp-image-363" title="Original image" src="http://www.snipe.net/wp-content/uploads/2008/11/original_smaller.jpg" alt="Original image" width="500" height="334" /></a><p class="wp-caption-text">Original image</p></div>
<p>To an image that won&#8217;t exactly end up in my photo portfolio, but at least you can see what&#8217;s happening:</p>
<div id="attachment_377" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2008/11/final-cropped.jpg"><img class="size-full wp-image-377" title="Final result" src="http://www.snipe.net/wp-content/uploads/2008/11/final-cropped.jpg" alt="Final result" width="500" height="385" /></a><p class="wp-caption-text">Final result</p></div>
<p>Obviously, you&#8217;ll need to play with the settings on each of the filters to get the result you want &#8211; and hopefully you won&#8217;t be starting with an image that is basically pitch black, so your final product will be a little smoother.</p>
<p>If you&#8217;re stuck with an image that is particularly grainy, you can also try to get a little creative by using the texture to your advantage. By making the image black and white or sepia-toned, the grainy look can actually help the image, making it appear more aged. To convert an image to black and white or sepia, go to IMAGE &gt; ADJUSTMENTS &gt; BLACK &amp; WHITE.</p>
<div id="attachment_378" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2008/11/black-and-white.jpg"><img class="size-full wp-image-378" title="Use the Black and White filter to add sepia tones" src="http://www.snipe.net/wp-content/uploads/2008/11/black-and-white.jpg" alt="Use the Black and White filter to add sepia tones" width="500" height="317" /></a><p class="wp-caption-text">Use the Black and White filter to add sepia tones</p></div>
<p>Some variations:</p>
<div id="attachment_379" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2008/11/final-bw.jpg"><img class="size-full wp-image-379" title="Black and White" src="http://www.snipe.net/wp-content/uploads/2008/11/final-bw.jpg" alt="Black and White" width="500" height="385" /></a><p class="wp-caption-text">Black and White</p></div>
<div id="attachment_380" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2008/11/final-sepia.jpg"><img class="size-full wp-image-380" title="Sepia tint" src="http://www.snipe.net/wp-content/uploads/2008/11/final-sepia.jpg" alt="Sepia tint" width="500" height="385" /></a><p class="wp-caption-text">Sepia tint</p></div>
<p>And don&#8217;t forget to play around a little. I found that I liked the end result better when I ran the Black &amp; White filter using the tint setting twice.</p>
<div id="attachment_381" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.snipe.net/wp-content/uploads/2008/11/final-sepiax2.jpg"><img class="size-full wp-image-381" title="Sepia tint applied twice in a row" src="http://www.snipe.net/wp-content/uploads/2008/11/final-sepiax2.jpg" alt="Sepia tint applied twice in a row" width="500" height="385" /></a><p class="wp-caption-text">Sepia tint applied twice in a row</p></div>
<p>And that&#8217;s all there is to it. Have any tips of your own for saving a photo that&#8217;s just too dark? Be sure to share in the comments!</p>


<p>Possibly related posts:<ol><li><a href='http://www.snipe.net/2009/02/painting-in-photoshop/' rel='bookmark' title='Permanent Link: Photo-Realistic Painting in Photoshop'>Photo-Realistic Painting in Photoshop</a> <small>While Photoshop is an incredibly powerful photo manipulator, you can...</small></li>
<li><a href='http://www.snipe.net/2008/08/turn-any-photo-into-a-vintage-photo/' rel='bookmark' title='Permanent Link: Turn any photo into a vintage photo'>Turn any photo into a vintage photo</a> <small>With the Bakamatsu Koshashin Generator, you can turn any photograph...</small></li>
<li><a href='http://www.snipe.net/2008/01/it-is-pitch-dark/' rel='bookmark' title='Permanent Link: It Is Pitch Dark'>It Is Pitch Dark</a> <small>...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.snipe.net/2008/11/photo-retouching-how-to-salvage-a-dark-digital-photo/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Is IMAP/POP3 Gmail or Gtalk periodically rejecting your password?</title>
		<link>http://www.snipe.net/2008/10/is-imappop3-gmail-or-gtalk-periodically-rejecting-your-password/</link>
		<comments>http://www.snipe.net/2008/10/is-imappop3-gmail-or-gtalk-periodically-rejecting-your-password/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 12:52:25 +0000</pubDate>
		<dc:creator>snipe</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[bugfixes]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[gtalk]]></category>

		<guid isPermaLink="false">http://www.snipe.net/?p=322</guid>
		<description><![CDATA[I have run into this many times: my Gtalk password is stored in my email program (Thunderbird as an IMAP account) and my Gtalk password is stored in Adium, and every now and then, when I start my computer, Google tells me my password is wrong. I can&#8217;t login to Gtalk, I can&#8217;t check my [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.snipe.net%2F2008%2F10%2Fis-imappop3-gmail-or-gtalk-periodically-rejecting-your-password%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.snipe.net%2F2008%2F10%2Fis-imappop3-gmail-or-gtalk-periodically-rejecting-your-password%2F&amp;source=snipeyhead&amp;style=normal&amp;service=bit.ly&amp;service_api=R_92bd97f4f8b9fa8a40675b36ea291223" height="61" width="50" /><br />
			</a>
		</div>
<p>I have run into this many times: my Gtalk password is stored in my email program (Thunderbird as an IMAP account) and my Gtalk password is stored in Adium, and every now and then, when I start my computer, Google tells me my password is wrong.</p>
<p><span id="more-322"></span></p>
<p>I can&#8217;t login to Gtalk, I can&#8217;t check my email. Accessing Gmail via the web interface works fine, so I know Google isn&#8217;t down, but every time I check mail in Thunderbird, I get a password error. I faithfully retype my password, only to have it reject it anyway.</p>
<p>Using Adium, I can logon to AIM, Yahoo, even LJ Chat (tho I don&#8217;t know why I ever would), but every moment or two, I get a password prompt. If I pull up the Accounts screen and try to manually connect, it gets to &#8220;Authenticating: 75%&#8221; and then hits me with another password box.</p>
<p>While I have no idea why this works, it does:</p>
<ol>
<li>Quit/close your email client (Thunderbird, in my case)</li>
<li>Quit/close your chat program (Adium in my case)</li>
<li>Go to <a href="https://www.google.com/accounts/DisplayUnlockCaptcha" target="_blank">https://www.google.com/accounts/DisplayUnlockCaptcha</a></li>
<li>Complete the captcha prompt there and submit the form</li>
<li>Restart your email and chat clients &#8211; all should be well.</li>
</ol>
<p>It would seem some of sort of authentication bug with Google. The captcha gets all of the services back on the same page.</p>


<p>Possibly related posts:<ol><li><a href='http://www.snipe.net/2009/02/some-notes-on-moving-to-mosso/' rel='bookmark' title='Permanent Link: Some Notes on Moving to Mosso'>Some Notes on Moving to Mosso</a> <small>It&#8217;s been over a month since I opened my account...</small></li>
<li><a href='http://www.snipe.net/2008/05/more-on-plaxo/' rel='bookmark' title='Permanent Link: More on Plaxo'>More on Plaxo</a> <small>As part of my seemingly never-ending quest to get data...</small></li>
<li><a href='http://www.snipe.net/2010/02/use-your-own-domain-for-openid-logins/' rel='bookmark' title='Permanent Link: Use Your Own Domain for OpenID Logins'>Use Your Own Domain for OpenID Logins</a> <small>I&#8217;m a big fan of OpenID, and the concept of...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.snipe.net/2008/10/is-imappop3-gmail-or-gtalk-periodically-rejecting-your-password/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Using Twitter for Business?</title>
		<link>http://www.snipe.net/2008/08/using-twitter-for-business/</link>
		<comments>http://www.snipe.net/2008/08/using-twitter-for-business/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 18:18:27 +0000</pubDate>
		<dc:creator>snipe</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Geek Life]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[social networking]]></category>
		<category><![CDATA[social networks]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.snipe.net/?p=221</guid>
		<description><![CDATA[Two interesting articles have come out recently, discussing tips and techniques for people interested in using Twitter as a business or marketing tool. As I work for an advertising agency that specializes in leveraging new technologies (such as Facebook applications) to market towards a younger, more tech-savvy audience, this is something I was particularly interested [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.snipe.net%2F2008%2F08%2Fusing-twitter-for-business%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.snipe.net%2F2008%2F08%2Fusing-twitter-for-business%2F&amp;source=snipeyhead&amp;style=normal&amp;service=bit.ly&amp;service_api=R_92bd97f4f8b9fa8a40675b36ea291223" height="61" width="50" /><br />
			</a>
		</div>
<p>Two interesting articles have come out recently, discussing tips and techniques for people interested in using Twitter as a business or marketing tool. As I work for an advertising agency that specializes in leveraging new technologies (such as Facebook applications) to market towards a younger, more tech-savvy audience, this is something I was particularly interested in.<span id="more-221"></span></p>
<p>In his article <em><a href="http://www.chrisbrogan.com/50-ideas-on-using-twitter-for-business/" target="_blank">50 Ideas on Using Twitter for Business</a></em>,Â  blogger and 10-year veteran of the &#8216;Net industry Chris Brogan writes:</p>
<blockquote><p>We really canâ€™t deny the fact that businesses are testing out Twitter as part of their steps into the social media landscape. You can say itâ€™s a stupid application, that no business gets done there, but there are too many of us (including me) that can disagree and point out business value. Iâ€™m not going to address the naysayers much with this. Instead, Iâ€™m going to offer 50 thoughts for people looking to use Twitter for business. And by â€œbusiness,â€ I mean anything from a solo act to a huge enterprise customer.</p></blockquote>
<p>In his article, Brogan runs you through first steps, ideas on what to tweet about, potential pitfalls and criticisms you may encounter, and some possible positives you can throw back at the naysayers.</p>
<p>In a WebProNews article from today titled <em><a href="http://www.webpronews.com/topnews/2008/08/28/the-poetics-of-professional-tweeting" target="_blank">The Poetics of Professional Tweeting</a></em>, blogger Jason Lee Miller takes a step back and looks at Twittering for business in a more abstract sense, discussing what&#8217;s working and what&#8217;s not.Â  He writes:</p>
<blockquote><p>Over at Wired.comâ€™s â€œ<a href="http://blog.wired.com/music/2008/08/musician-tweets.html">Listening Post</a>â€ blog, Scott Thill bemoans the lack of â€œpenetrating insightsâ€ from the band <a href="http://twitter.com/remhq">REMâ€™s Twitter feed</a> before noting the un-Snoopness of <a href="http://twitter.com/snoopdogg">Snoop Dogâ€™s</a>. Some PR poser, someone completely out of touch of with the bow-wow-wow-yippie-yo-yippie-yay-ishness of Snoop spends 140 characters telling followers to pick up a copy of the new album at their local Wal-Mart.</p>
<p><img class="alignnone" title="Snoop Tweet" src="http://images.ientrymail.com/webpronews/article_pics/snoopDogg.jpg" alt="" width="350" height="157" /></p></blockquote>
<p>Not very Snoopish, at all.</p>
<p>While Twitter wasn&#8217;t created with the intention of becoming a business tool (to my knowledge, anyway), it was only a matter of time before marketers would start looking for a way to leverage it to reach out to customers (and potential customers).Â  While Brogan offers specific suggestions on what to tweet about, Miller cautions potential business-tweeters about remaining true &#8211; sound advice for marketers in ANY medium.</p>
<p>Another interesting article comes from Mack Collier of Search Engine Guide, which brings up an interesting point of what happens when companies try to use Twitter (or other social networking tools) on their own terms, instead of as the rest of us use them. His example, titled <em><a href="http://www.searchengineguide.com/mack-collier/worst-example-of-a-company-twittering.php" target="_blank">Worst Example of a Company Twittering?</a></em>, shows an interesting scenario involving DirectTV.</p>
<p>I don&#8217;t know what the future holds for businesses and Twitter, but I do know that people can tell when they&#8217;re being played, and when your attempts to seem hip and young and cool come across as phony and contrived. Like every other aspect of successful marketing, the message you&#8217;re sending and the venue by which you do it should feel authentic or it just won&#8217;t fly.</p>


<p>Possibly related posts:<ol><li><a href='http://www.snipe.net/2009/12/twitter-business-contributors/' rel='bookmark' title='Permanent Link: Twitter Gets Down to Business'>Twitter Gets Down to Business</a> <small>Twitter has taken the first steps of what will no...</small></li>
<li><a href='http://www.snipe.net/2008/07/what-exactly-is-the-point-of-twitter/' rel='bookmark' title='Permanent Link: What Exactly is the Point of Twitter?'>What Exactly is the Point of Twitter?</a> <small>Since this question has come up at least three times...</small></li>
<li><a href='http://www.snipe.net/2009/12/viral-marketing-or-social-media-spam/' rel='bookmark' title='Permanent Link: Twitter Retweet Contests: Viral Marketing or Social Media Spam?'>Twitter Retweet Contests: Viral Marketing or Social Media Spam?</a> <small>Those of us who eat, sleep (and occasionally &#8212; oh...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.snipe.net/2008/08/using-twitter-for-business/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Firefox Add-On ErrorZilla breaks FF3 SSL error page</title>
		<link>http://www.snipe.net/2008/07/firefox-add-on-errorzilla-breaks-ff3-ssl-error-page/</link>
		<comments>http://www.snipe.net/2008/07/firefox-add-on-errorzilla-breaks-ff3-ssl-error-page/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 17:17:40 +0000</pubDate>
		<dc:creator>snipe</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[addons]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[ff3]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.snipe.net/?p=170</guid>
		<description><![CDATA[If you use the Firefox add-on ErrorZilla, which conveniently displays additional options (Try Again, Google Cache, Coralize, Wayback, Ping, Trace, and Whois buttons) when Firefox hits an error page, you may notice something frustrating happening in Firefox 3. Firefox 3 handles &#8220;invalid&#8221; and self-signed SSL certificates differently than Firefox 2. In an effort to help [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.snipe.net%2F2008%2F07%2Ffirefox-add-on-errorzilla-breaks-ff3-ssl-error-page%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.snipe.net%2F2008%2F07%2Ffirefox-add-on-errorzilla-breaks-ff3-ssl-error-page%2F&amp;source=snipeyhead&amp;style=normal&amp;service=bit.ly&amp;service_api=R_92bd97f4f8b9fa8a40675b36ea291223" height="61" width="50" /><br />
			</a>
		</div>
<p>If you use the Firefox add-on <a href="https://addons.mozilla.org/en-US/firefox/addon/3336">ErrorZilla</a>, which conveniently displays additional options (Try Again, Google Cache, Coralize, Wayback, Ping, Trace, and Whois buttons) when Firefox hits an error page, you may notice something frustrating happening in Firefox 3.<span id="more-170"></span></p>
<p>Firefox 3 handles &#8220;invalid&#8221; and self-signed SSL certificates differently than Firefox 2. In an effort to help the user take control of their own security, Firefox 3 will block the page with an error explaining why the certificate is invalid (&#8220;The certificate is not trusted because it is self signed.Â  Error code: sec_error_ca_cert_invalid&#8221;) &#8211; and provides a link (albeit a tiny one) that will allow the user to add an exception, allowing that SSL certificate to be accepted and the page to load.</p>
<p><a href="http://www.snipe.net/wp-content/uploads/2008/07/ssl.png"><img class="alignnone size-full wp-image-171" title="ssl" src="http://www.snipe.net/wp-content/uploads/2008/07/ssl.png" alt="" width="500" height="265" /></a></p>
<p>If you have ErrorZilla installed and are running Firefox 3, you&#8217;ll actually get stuck and won&#8217;t be able to add the exception and therefore won&#8217;t be able to load the page. This can be a big problem if you&#8217;re running self-signed certificates to encrypt your cpanel/webmin/&lt;other hosting management software&gt; administration areas. Instead, what you see is something like this:</p>
<p><a href="http://www.snipe.net/wp-content/uploads/2008/07/ssl-errorzilla.png"><img class="alignnone size-full wp-image-172" title="ssl-errorzilla" src="http://www.snipe.net/wp-content/uploads/2008/07/ssl-errorzilla.png" alt="" width="500" height="301" /></a></p>
<p>No option to add the exception.</p>
<p>Its unfortunate, since the ErrorZilla developers took the time to update the add-on to &#8220;work&#8221; with Firefox 3 (meaning it is able to be installed and doesn&#8217;t throw a version error), but I&#8217;m going to have to disable it until they have the SSL exceptions stuff sorted out.</p>
<p>On the plus side, Jay Baldwin <a href="http://www.jaybaldwin.com/Blog.aspx?cid=4" target="_blank">posts to his blog</a> (dated June 30, 2008) that he grok&#8217;s why it&#8217;s not working:</p>
<blockquote><p>The main concern is that the error page is not considered trusted, so it has no ability to access resource:// script files, the local file system, chrome:// script files, direct to chrome:// pages, or the like, which means it is on the same security level as a foreign &#8220;public&#8221; website &#8212; it has no access to read from a config file in your Firefox profile or from the Preferences Service (about:config).</p>
<p>I&#8217;m still working on finding a way around this . . .Â  Hit me up in the comments if any of you could suggest a solution.Â  <img src='http://www.snipe.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p></blockquote>
<p>Which does, in fact, make sense.The site isn&#8217;t trusted, so its not allowed to access the styles used by ErrorZilla.</p>
<p>So &#8211; <a href="http://www.jaybaldwin.com/Blog.aspx?cid=4" target="_blank">hit him up</a> if you have any thoughts. <img src='http://www.snipe.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<p>Possibly related posts:<ol><li><a href='http://www.snipe.net/2002/06/google-style-page-numbering-with-x-per-page-and-y-page-numbers-displayed/' rel='bookmark' title='Permanent Link: Google Style Page Numbering (with x per page and y page numbers displayed)'>Google Style Page Numbering (with x per page and y page numbers displayed)</a> <small>With just a few modifications, we can create a piece...</small></li>
<li><a href='http://www.snipe.net/2008/06/tweak-firefox-3-to-display-richer-colors/' rel='bookmark' title='Permanent Link: Tweak Firefox 3 to Display Richer Colors'>Tweak Firefox 3 to Display Richer Colors</a> <small>If the digital photo you just uploaded looks more washed...</small></li>
<li><a href='http://www.snipe.net/2002/06/page-numbering-with-x-results-per-page/' rel='bookmark' title='Permanent Link: Page Numbering (with x results per page)'>Page Numbering (with x results per page)</a> <small>Although there are several examples of this type of code...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.snipe.net/2008/07/firefox-add-on-errorzilla-breaks-ff3-ssl-error-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
