<?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>beer planet &#187; Programming</title> <atom:link href="http://beerpla.net/category/programming/feed/" rel="self" type="application/rss+xml" /><link>http://beerpla.net</link> <description>where things have nothing to do with beer - tutorials, tips, how-tos, thoughts, hacks, and other techy nonsense</description> <lastBuildDate>Thu, 17 May 2012 22:50:53 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <atom:link rel='hub' href='http://beerpla.net/?pushpress=hub'/> <item><title>How To Fix Incomplete WordPress (WXR) Exports</title><link>http://beerpla.net/2012/04/13/how-to-fix-incomplete-wordpress-wxr-exports/</link> <comments>http://beerpla.net/2012/04/13/how-to-fix-incomplete-wordpress-wxr-exports/#comments</comments> <pubDate>Fri, 13 Apr 2012 08:19:07 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[channel]]></category> <category><![CDATA[closing]]></category> <category><![CDATA[error]]></category> <category><![CDATA[export]]></category> <category><![CDATA[incomplete]]></category> <category><![CDATA[item]]></category> <category><![CDATA[parsing]]></category> <category><![CDATA[premature end of data in tag channel]]></category> <category><![CDATA[tag]]></category> <category><![CDATA[validation]]></category> <category><![CDATA[wxr]]></category> <category><![CDATA[xmllint]]></category> <guid
isPermaLink="false">http://beerpla.net/?p=1614</guid> <description><![CDATA[<p>Having spent way more time on this problem than I really should have, I&#039;m going to make sure everyone can actually find a solution instead of useless WordPress support threads.</p><h2>The Problem</h2><p>I wanted to export all the data from WordPress using its native export mechanism (located at <a
href="http://YOURBLOG/wp-admin/export.php">http://YOURBLOG/wp-admin/export.php</a>), but since the blog <a
href="http://www.androidpolice.com" target="_blank">I was working on</a> was pretty large (6k posts, 120k comments), I kept getting XML files that ended prematurely and for which xmllint spit out this error:</p><blockquote><p>Premature end of data in tag channel</p></blockquote><p>Upon closer inspection, I saw the XML file ended with a random, yet always fully closed, &#60;/item&#62; tag, but was missing the closing &#60;/channel&#62; and &#60;/rss&#62; tags, as well as a whole ...<div
class=clear></div> <a
href="http://beerpla.net/2012/04/13/how-to-fix-incomplete-wordpress-wxr-exports/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p>Having spent way more time on this problem than I really should have, I&#039;m going to make sure everyone can actually find a solution instead of useless WordPress support threads.</p><h2>The Problem</h2><p>I wanted to export all the data from WordPress using its native export mechanism (located at <a
href="http://YOURBLOG/wp-admin/export.php">http://YOURBLOG/wp-admin/export.php</a>), but since the blog <a
href="http://www.androidpolice.com" target="_blank">I was working on</a> was pretty large (6k posts, 120k comments), I kept getting XML files that ended prematurely and for which xmllint spit out this error:</p><blockquote><p>Premature end of data in tag channel</p></blockquote><p>Upon closer inspection, I saw the XML file ended with a random, yet always fully closed, &lt;/item&gt; tag, but was missing the closing &lt;/channel&gt; and &lt;/rss&gt; tags, as well as a whole bunch of data.</p><p>My immediate theory was that PHP was running out of memory. It&#039;s also interesting that the number of &lt;item&gt; elements was always divisible by 20, but after looking at the code in export.php, I saw the loop grabbed 20 posts at a time. This revelation made it obvious that the code crashed while processing one of the batches, which only made the out-of-memory theory stronger.</p><h2>The Solution</h2><p>After raising the memory in the export.php file itself and verifying the fix, I came up with the following solution that removes the need to modify core WordPress files. Just add this somewhere in <strong><em>functions.php</em></strong>:</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td
class="code"><pre>/**
* Dynamically increase allowed memory limit for export.
*
*/
function my_export_wp() {
  ini_set('memory_limit', '1024M');
}
add_action('export_wp', 'my_export_wp');</pre></td></tr></table></div><p>The code above will dynamically set the memory limit high enough for all but unimaginably large jobs to complete. Feel free to adjust this limit if you have, for instance, millions of comments and lots of RAM on the web server.</p><p>And there you have it &#8211; full exports. Much better, isn&#039;t it?</p><p><strong>P.S.</strong> Some shared hosting providers have PHP set to ignore the directive above, in which case this solution, or no other solution but upgrading your hosting, will do anything.</p><p><strong>P.P.S.</strong> There is a bug (<a
href="http://core.trac.wordpress.org/ticket/15203" target="_blank">#15203</a>) in WordPress &lt;=3.3.1, which doesn&#039;t properly escape posts that contain CDATA and breaks XML. It is slated for a fix in WordPress 3.4, but if you haven&#039;t upgraded yet (it&#039;s not even out at the time of this writing), you can still apply the fix manually, <a
href="http://core.trac.wordpress.org/changeset/19858" target="_blank">like so</a>. My dumps wouldn&#039;t validate before the fix, but I&#039;ve confirmed that they now fully validate after.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Incomplete+Wordpress+%28WXR%29+Exports&amp;link=http://beerpla.net/2012/04/13/how-to-fix-incomplete-wordpress-wxr-exports/&amp;notes=Having%20spent%20way%20more%20time%20on%20this%20problem%20than%20I%20really%20should%20have%2C%20I%27m%20going%20to%20make%20sure%20everyone%20can%20actually%20find%20a%20solution%20instead%20of%20useless%20Wordpress%20support%20threads.%20%20The%20Problem%20%20I%20wanted%20to%20export%20all%20the%20data%20from%20Wordpress%20using%20its%20native%20export%20mechanism%20%28located%20at%20http%3A%2F%2FYOURBLOG%2F&amp;short_link=http://bit.ly/ILTotG&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Incomplete+Wordpress+%28WXR%29+Exports&amp;link=http://beerpla.net/2012/04/13/how-to-fix-incomplete-wordpress-wxr-exports/&amp;notes=Having%20spent%20way%20more%20time%20on%20this%20problem%20than%20I%20really%20should%20have%2C%20I%27m%20going%20to%20make%20sure%20everyone%20can%20actually%20find%20a%20solution%20instead%20of%20useless%20Wordpress%20support%20threads.%20%20The%20Problem%20%20I%20wanted%20to%20export%20all%20the%20data%20from%20Wordpress%20using%20its%20native%20export%20mechanism%20%28located%20at%20http%3A%2F%2FYOURBLOG%2F&amp;short_link=http://bit.ly/ILTotG&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Incomplete+Wordpress+%28WXR%29+Exports&amp;link=http://beerpla.net/2012/04/13/how-to-fix-incomplete-wordpress-wxr-exports/&amp;notes=Having%20spent%20way%20more%20time%20on%20this%20problem%20than%20I%20really%20should%20have%2C%20I%27m%20going%20to%20make%20sure%20everyone%20can%20actually%20find%20a%20solution%20instead%20of%20useless%20Wordpress%20support%20threads.%20%20The%20Problem%20%20I%20wanted%20to%20export%20all%20the%20data%20from%20Wordpress%20using%20its%20native%20export%20mechanism%20%28located%20at%20http%3A%2F%2FYOURBLOG%2F&amp;short_link=http://bit.ly/ILTotG&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Incomplete+Wordpress+%28WXR%29+Exports&amp;link=http://beerpla.net/2012/04/13/how-to-fix-incomplete-wordpress-wxr-exports/&amp;notes=Having%20spent%20way%20more%20time%20on%20this%20problem%20than%20I%20really%20should%20have%2C%20I%27m%20going%20to%20make%20sure%20everyone%20can%20actually%20find%20a%20solution%20instead%20of%20useless%20Wordpress%20support%20threads.%20%20The%20Problem%20%20I%20wanted%20to%20export%20all%20the%20data%20from%20Wordpress%20using%20its%20native%20export%20mechanism%20%28located%20at%20http%3A%2F%2FYOURBLOG%2F&amp;short_link=http://bit.ly/ILTotG&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Incomplete+Wordpress+%28WXR%29+Exports&amp;link=http://beerpla.net/2012/04/13/how-to-fix-incomplete-wordpress-wxr-exports/&amp;notes=Having%20spent%20way%20more%20time%20on%20this%20problem%20than%20I%20really%20should%20have%2C%20I%27m%20going%20to%20make%20sure%20everyone%20can%20actually%20find%20a%20solution%20instead%20of%20useless%20Wordpress%20support%20threads.%20%20The%20Problem%20%20I%20wanted%20to%20export%20all%20the%20data%20from%20Wordpress%20using%20its%20native%20export%20mechanism%20%28located%20at%20http%3A%2F%2FYOURBLOG%2F&amp;short_link=http://bit.ly/ILTotG&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Incomplete+Wordpress+%28WXR%29+Exports&amp;link=http://beerpla.net/2012/04/13/how-to-fix-incomplete-wordpress-wxr-exports/&amp;notes=Having%20spent%20way%20more%20time%20on%20this%20problem%20than%20I%20really%20should%20have%2C%20I%27m%20going%20to%20make%20sure%20everyone%20can%20actually%20find%20a%20solution%20instead%20of%20useless%20Wordpress%20support%20threads.%20%20The%20Problem%20%20I%20wanted%20to%20export%20all%20the%20data%20from%20Wordpress%20using%20its%20native%20export%20mechanism%20%28located%20at%20http%3A%2F%2FYOURBLOG%2F&amp;short_link=http://bit.ly/ILTotG&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Incomplete+Wordpress+%28WXR%29+Exports&amp;link=http://beerpla.net/2012/04/13/how-to-fix-incomplete-wordpress-wxr-exports/&amp;notes=Having%20spent%20way%20more%20time%20on%20this%20problem%20than%20I%20really%20should%20have%2C%20I%27m%20going%20to%20make%20sure%20everyone%20can%20actually%20find%20a%20solution%20instead%20of%20useless%20Wordpress%20support%20threads.%20%20The%20Problem%20%20I%20wanted%20to%20export%20all%20the%20data%20from%20Wordpress%20using%20its%20native%20export%20mechanism%20%28located%20at%20http%3A%2F%2FYOURBLOG%2F&amp;short_link=http://bit.ly/ILTotG&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20To%20Fix%20Incomplete%20Wordpress%20%28WXR%29%20Exports&amp;link=http://beerpla.net/2012/04/13/how-to-fix-incomplete-wordpress-wxr-exports/&amp;notes=Having%20spent%20way%20more%20time%20on%20this%20problem%20than%20I%20really%20should%20have%2C%20I%27m%20going%20to%20make%20sure%20everyone%20can%20actually%20find%20a%20solution%20instead%20of%20useless%20Wordpress%20support%20threads.%20%20The%20Problem%20%20I%20wanted%20to%20export%20all%20the%20data%20from%20Wordpress%20using%20its%20native%20export%20mechanism%20%28located%20at%20http%3A%2F%2FYOURBLOG%2F&amp;short_link=http://bit.ly/ILTotG&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2010/11/06/how-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc/" rel="bookmark" title="November 6, 2010">How To Dynamically Increase Memory Limits When Interfacing With WordPress Using XML-RPC (Windows Live Writer, Etc)</a></li><li><a
href="http://beerpla.net/2010/01/31/how-to-remove-inline-hardcoded-recent-comments-sidebar-widget-style-from-your-wordpress-theme/" rel="bookmark" title="January 31, 2010">How To Remove Inline Hardcoded Recent Comments Sidebar Widget Style From Your WordPress Theme</a></li><li><a
href="http://beerpla.net/2010/10/15/how-to-add-shortcode-support-to-wordpress-comments-and-sidebars/" rel="bookmark" title="October 15, 2010">How To Add Shortcode Support To WordPress Comments And Sidebar Widgets</a></li><li><a
href="http://beerpla.net/2010/01/15/follow-up-to-loading-css-and-js-conditionally/" rel="bookmark" title="January 15, 2010">Follow-up To Loading CSS And JS Conditionally</a></li><li><a
href="http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/" rel="bookmark" title="November 4, 2009">[Android] Auto Formatting Android XML Files With Eclipse</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2012%2F04%2F13%2Fhow-to-fix-incomplete-wordpress-wxr-exports%2F&amp;title=How%20To%20Fix%20Incomplete%20WordPress%20%28WXR%29%20Exports" id="wpa2a_2"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2012/04/13/how-to-fix-incomplete-wordpress-wxr-exports/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>How To Dynamically Increase Memory Limits When Interfacing With WordPress Using XML-RPC (Windows Live Writer, Etc)</title><link>http://beerpla.net/2010/11/06/how-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc/</link> <comments>http://beerpla.net/2010/11/06/how-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc/#comments</comments> <pubDate>Sat, 06 Nov 2010 09:00:44 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Performance]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[error 500]]></category> <category><![CDATA[limit]]></category> <category><![CDATA[memory]]></category> <category><![CDATA[out of memory]]></category> <category><![CDATA[rpc]]></category> <category><![CDATA[server error]]></category> <category><![CDATA[web server]]></category> <category><![CDATA[Windows Live Writer]]></category> <category><![CDATA[WLW]]></category> <category><![CDATA[xml]]></category> <category><![CDATA[xml-rpc]]></category> <category><![CDATA[xmlrpc]]></category> <guid
isPermaLink="false">http://beerpla.net/2010/11/06/how-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc/</guid> <description><![CDATA[<p>Today&#039;s snippet is tremendously helpful if you are using an XML-RPC WordPress interface to read and publish your articles and are running into <em><strong>500 Server Error</strong></em> issues due to running out of memory, manifesting themselves in something like this error message: <em><strong>&#34;Invalid Server Response &#8211; The response to the metaWeblog.newMediaObject method received from the weblog server was invalid&#34;</strong></em>.</p><p>For example, my regular PHP memory allocation is 32MB or so, but if I load up Windows Live Writer, my favorite publishing tool, and ask it to load 1000 of the latest blog posts, I will undoubtedly get a server error back.</p><p>One solution would be to increase the memory allocated to PHP to something higher, like 256MB, which is how ...<div
class=clear></div> <a
href="http://beerpla.net/2010/11/06/how-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p>Today&#039;s snippet is tremendously helpful if you are using an XML-RPC WordPress interface to read and publish your articles and are running into <em><strong>500 Server Error</strong></em> issues due to running out of memory, manifesting themselves in something like this error message: <em><strong>&quot;Invalid Server Response &#8211; The response to the metaWeblog.newMediaObject method received from the weblog server was invalid&quot;</strong></em>.</p><p>For example, my regular PHP memory allocation is 32MB or so, but if I load up Windows Live Writer, my favorite publishing tool, and ask it to load 1000 of the latest blog posts, I will undoubtedly get a server error back.</p><p>One solution would be to increase the memory allocated to PHP to something higher, like 256MB, which is how I used to get around the issue. I say &quot;get around&quot; because it&#039;s not a good solution &#8211; if someone finds a page that uses a lot of memory on your site, they could easily kill not only your web server but the whole machine due to swap death. Keeping a lower memory limit allows you to run your web server, such as Apache, with more children, thus serving more requests without getting overloaded.</p><p>So, I&#039;ve looked into the WordPress core and came up with what I think is a proper fix &#8211; dynamic memory limit tweaking when dealing with XML-RPC only. Here is the code &#8211; add it to your <em><strong>functions.php</strong></em> and you should be golden:</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td
class="code"><pre>/**
* Dynamically increase allowed memory limit for XML-RPC only.
*
* @param array $methods
* @return array
*/
function my_xmlrpc_methods($methods) {
  ini_set('memory_limit', '256M');
  return $methods;
}
add_action('xmlrpc_methods', 'my_xmlrpc_methods');</pre></td></tr></table></div><p>The code is pretty self-explanatory: it hooks into a WordPress hook that fires only for XML-RPC requests and adjusts the memory limit on the fly. No more out of memory errors and I&#039;m able to load 1000 posts in Windows Live Writer without problems.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Dynamically+Increase+Memory+Limits+When+Interfacing+With+Wordpress+Using+XML-RPC+%28Windows+Live+Writer%2C+Etc%29&amp;link=http://beerpla.net/2010/11/06/how-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc/&amp;notes=Today%27s%20snippet%20is%20tremendously%20helpful%20if%20you%20are%20using%20an%20XML-RPC%20Wordpress%20interface%20to%20read%20and%20publish%20your%20articles%20and%20are%20running%20into%20500%20Server%20Error%20issues%20due%20to%20running%20out%20of%20memory%2C%20manifesting%20themselves%20in%20something%20like%20this%20error%20message%3A%20%26quot%3BInvalid%20Server%20Response%20-%20The%20respon&amp;short_link=http://bit.ly/cOxNJ3&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Dynamically+Increase+Memory+Limits+When+Interfacing+With+Wordpress+Using+XML-RPC+%28Windows+Live+Writer%2C+Etc%29&amp;link=http://beerpla.net/2010/11/06/how-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc/&amp;notes=Today%27s%20snippet%20is%20tremendously%20helpful%20if%20you%20are%20using%20an%20XML-RPC%20Wordpress%20interface%20to%20read%20and%20publish%20your%20articles%20and%20are%20running%20into%20500%20Server%20Error%20issues%20due%20to%20running%20out%20of%20memory%2C%20manifesting%20themselves%20in%20something%20like%20this%20error%20message%3A%20%26quot%3BInvalid%20Server%20Response%20-%20The%20respon&amp;short_link=http://bit.ly/cOxNJ3&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Dynamically+Increase+Memory+Limits+When+Interfacing+With+Wordpress+Using+XML-RPC+%28Windows+Live+Writer%2C+Etc%29&amp;link=http://beerpla.net/2010/11/06/how-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc/&amp;notes=Today%27s%20snippet%20is%20tremendously%20helpful%20if%20you%20are%20using%20an%20XML-RPC%20Wordpress%20interface%20to%20read%20and%20publish%20your%20articles%20and%20are%20running%20into%20500%20Server%20Error%20issues%20due%20to%20running%20out%20of%20memory%2C%20manifesting%20themselves%20in%20something%20like%20this%20error%20message%3A%20%26quot%3BInvalid%20Server%20Response%20-%20The%20respon&amp;short_link=http://bit.ly/cOxNJ3&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Dynamically+Increase+Memory+Limits+When+Interfacing+With+Wordpress+Using+XML-RPC+%28Windows+Live+Writer%2C+Etc%29&amp;link=http://beerpla.net/2010/11/06/how-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc/&amp;notes=Today%27s%20snippet%20is%20tremendously%20helpful%20if%20you%20are%20using%20an%20XML-RPC%20Wordpress%20interface%20to%20read%20and%20publish%20your%20articles%20and%20are%20running%20into%20500%20Server%20Error%20issues%20due%20to%20running%20out%20of%20memory%2C%20manifesting%20themselves%20in%20something%20like%20this%20error%20message%3A%20%26quot%3BInvalid%20Server%20Response%20-%20The%20respon&amp;short_link=http://bit.ly/cOxNJ3&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Dynamically+Increase+Memory+Limits+When+Interfacing+With+Wordpress+Using+XML-RPC+%28Windows+Live+Writer%2C+Etc%29&amp;link=http://beerpla.net/2010/11/06/how-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc/&amp;notes=Today%27s%20snippet%20is%20tremendously%20helpful%20if%20you%20are%20using%20an%20XML-RPC%20Wordpress%20interface%20to%20read%20and%20publish%20your%20articles%20and%20are%20running%20into%20500%20Server%20Error%20issues%20due%20to%20running%20out%20of%20memory%2C%20manifesting%20themselves%20in%20something%20like%20this%20error%20message%3A%20%26quot%3BInvalid%20Server%20Response%20-%20The%20respon&amp;short_link=http://bit.ly/cOxNJ3&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Dynamically+Increase+Memory+Limits+When+Interfacing+With+Wordpress+Using+XML-RPC+%28Windows+Live+Writer%2C+Etc%29&amp;link=http://beerpla.net/2010/11/06/how-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc/&amp;notes=Today%27s%20snippet%20is%20tremendously%20helpful%20if%20you%20are%20using%20an%20XML-RPC%20Wordpress%20interface%20to%20read%20and%20publish%20your%20articles%20and%20are%20running%20into%20500%20Server%20Error%20issues%20due%20to%20running%20out%20of%20memory%2C%20manifesting%20themselves%20in%20something%20like%20this%20error%20message%3A%20%26quot%3BInvalid%20Server%20Response%20-%20The%20respon&amp;short_link=http://bit.ly/cOxNJ3&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Dynamically+Increase+Memory+Limits+When+Interfacing+With+Wordpress+Using+XML-RPC+%28Windows+Live+Writer%2C+Etc%29&amp;link=http://beerpla.net/2010/11/06/how-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc/&amp;notes=Today%27s%20snippet%20is%20tremendously%20helpful%20if%20you%20are%20using%20an%20XML-RPC%20Wordpress%20interface%20to%20read%20and%20publish%20your%20articles%20and%20are%20running%20into%20500%20Server%20Error%20issues%20due%20to%20running%20out%20of%20memory%2C%20manifesting%20themselves%20in%20something%20like%20this%20error%20message%3A%20%26quot%3BInvalid%20Server%20Response%20-%20The%20respon&amp;short_link=http://bit.ly/cOxNJ3&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20To%20Dynamically%20Increase%20Memory%20Limits%20When%20Interfacing%20With%20Wordpress%20Using%20XML-RPC%20%28Windows%20Live%20Writer%2C%20Etc%29&amp;link=http://beerpla.net/2010/11/06/how-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc/&amp;notes=Today%27s%20snippet%20is%20tremendously%20helpful%20if%20you%20are%20using%20an%20XML-RPC%20Wordpress%20interface%20to%20read%20and%20publish%20your%20articles%20and%20are%20running%20into%20500%20Server%20Error%20issues%20due%20to%20running%20out%20of%20memory%2C%20manifesting%20themselves%20in%20something%20like%20this%20error%20message%3A%20%26quot%3BInvalid%20Server%20Response%20-%20The%20respon&amp;short_link=http://bit.ly/cOxNJ3&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2012/04/13/how-to-fix-incomplete-wordpress-wxr-exports/" rel="bookmark" title="April 13, 2012">How To Fix Incomplete WordPress (WXR) Exports</a></li><li><a
href="http://beerpla.net/2011/11/16/how-to-disableblock-external-http-requests-in-wordpress/" rel="bookmark" title="November 16, 2011">How To: Disable/Block External HTTP Requests In WordPress</a></li><li><a
href="http://beerpla.net/2010/01/15/follow-up-to-loading-css-and-js-conditionally/" rel="bookmark" title="January 15, 2010">Follow-up To Loading CSS And JS Conditionally</a></li><li><a
href="http://beerpla.net/2010/01/13/wordpress-plugin-development-how-to-include-css-and-javascript-conditionally-and-only-when-needed-by-the-posts/" rel="bookmark" title="January 13, 2010">[WordPress Plugin Development] How To Include CSS and JavaScript Conditionally And Only When Needed By The Posts</a></li><li><a
href="http://beerpla.net/2010/10/15/how-to-add-shortcode-support-to-wordpress-comments-and-sidebars/" rel="bookmark" title="October 15, 2010">How To Add Shortcode Support To WordPress Comments And Sidebar Widgets</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2010%2F11%2F06%2Fhow-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc%2F&amp;title=How%20To%20Dynamically%20Increase%20Memory%20Limits%20When%20Interfacing%20With%20WordPress%20Using%20XML-RPC%20%28Windows%20Live%20Writer%2C%20Etc%29" id="wpa2a_4"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2010/11/06/how-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>How To Add Shortcode Support To WordPress Comments And Sidebar Widgets</title><link>http://beerpla.net/2010/10/15/how-to-add-shortcode-support-to-wordpress-comments-and-sidebars/</link> <comments>http://beerpla.net/2010/10/15/how-to-add-shortcode-support-to-wordpress-comments-and-sidebars/#comments</comments> <pubDate>Sat, 16 Oct 2010 03:20:26 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[action]]></category> <category><![CDATA[add]]></category> <category><![CDATA[comment]]></category> <category><![CDATA[filter]]></category> <category><![CDATA[shortcode]]></category> <category><![CDATA[sidebar]]></category> <category><![CDATA[support]]></category> <category><![CDATA[trigger]]></category> <guid
isPermaLink="false">http://beerpla.net/2010/10/15/how-to-add-shortcode-support-to-wordpress-comments-and-sidebars/</guid> <description><![CDATA[<p>WordPress has a great way of letting you use simple text tags called shortcodes to provide a whole bunch of functionality, including custom PHP code. In this article, I&#039;m assuming that you already know what shortcodes do and how they operate (if you don&#039;t, head over here: <a
href="http://codex.wordpress.org/Shortcode_API">Shortcode_API</a>).</p><p>One glaring omission in the way shortcodes are set up by default is that they only get triggered in the content of your post, leaving the sidebar and comments out. I&#039;m sure this is done for security, so that your readers can&#039;t screw something up by posting shortcodes they&#039;re not supposed to &#8211; after all, shortcodes are PHP snippets on the backend.</p><p>However, let&#039;s assume you really know what you&#039;re doing ...<div
class=clear></div> <a
href="http://beerpla.net/2010/10/15/how-to-add-shortcode-support-to-wordpress-comments-and-sidebars/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p>WordPress has a great way of letting you use simple text tags called shortcodes to provide a whole bunch of functionality, including custom PHP code. In this article, I&#039;m assuming that you already know what shortcodes do and how they operate (if you don&#039;t, head over here: <a
href="http://codex.wordpress.org/Shortcode_API">Shortcode_API</a>).</p><p>One glaring omission in the way shortcodes are set up by default is that they only get triggered in the content of your post, leaving the sidebar and comments out. I&#039;m sure this is done for security, so that your readers can&#039;t screw something up by posting shortcodes they&#039;re not supposed to &#8211; after all, shortcodes are PHP snippets on the backend.</p><p>However, let&#039;s assume you really know what you&#039;re doing and you want, for example, to allow certain shortcodes in the comments and all shortcodes in the sidebar. It&#039;s your site and you should be able to do whatever you want with it. For instance, I wanted to provide a way to include QR codes using a <a
href="http://www.androidpolice.com/2010/09/15/new-androidpolice-com-feature-instant-qr-magic-hover-on-any-link-in-any-post-to-get-the-corresponding-qr-code-poll/">[qr] shortcode syntax that I&#039;d written</a> both in the sidebar and in the comments, except in the comments that was the only shortcode I wanted to allow my readers to use.</p><p>Since these cases can get complicated, let&#039;s start simple and then progressively get deeper.</p><h2>Allow all shortcodes in the sidebar</h2><p>Assuming you want to enable shortcodes in the <a
href="http://wordpress.org/extend/plugins/php-code-widget/">PHP Code Widget</a> widgets (I believe this is the most common way to add PHP support to the sidebar), use this code:</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
</pre></td><td
class="code"><pre>add_filter('widget_execphp', 'do_shortcode');</pre></td></tr></table></div><p>If you have some other widgets in mind, you have to find out the right filter and use it just like above.</p><h2>Allow only whitelisted shortcodes in the comments</h2><p>Since I don&#039;t want <em>all</em> shortcodes to fire here, things get slightly trickier.</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td
class="code"><pre>function init_common_shortcodes() {
  add_shortcode('qr', 'my_shortcode_qr');
}
&nbsp;
function init_comment_shortcodes() {
  remove_all_shortcodes();
  init_common_shortcodes();
  add_filter('comment_text', 'do_shortcode');
}
&nbsp;
init_common_shortcodes();
add_filter('comments_template', 'init_comment_shortcodes');</pre></td></tr></table></div><p>The code above will remove all shortcodes when it gets to comments and reinitialize only the whitelisted one called &quot;<strong>[</strong>qr<strong>]</strong>&quot;, which is exactly what I wanted.</p><p><div
class="note"><div
class="noteclassic"><strong>Note</strong>: If your code somehow uses shortcodes after the comments (such as a sidebar or a custom post query), you will need the trick in the next section.</div></div></p><h2>Allow all shortcodes in the sidebar AND only whitelisted ones in the comments</h2><p>At this point, things get slightly tricky because if I combine the previous 2 solutions into 1, by the time WordPress gets to the sidebar, it&#039;ll be left without any shortcodes at all &#8211; they&#039;ve been removed by the code dealing with comments. Therefore, I need to save the shortcodes before dealing with comments and then restore them after the comments and before the sidebar.</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
</pre></td><td
class="code"><pre>function my_remove_all_shortcodes() {
  global $shortcode_tags;
  global $temp_shortcode_tags;
  $temp_shortcode_tags = $shortcode_tags;
  remove_all_shortcodes();
}
&nbsp;
function my_restore_all_shortcodes() {
  global $shortcode_tags;
  global $temp_shortcode_tags;
  if(!empty($temp_shortcode_tags)) {
    $shortcode_tags = $temp_shortcode_tags;
  }
}
&nbsp;
function init_common_shortcodes() {
  add_shortcode('qr', 'my_shortcode_qr');
}
&nbsp;
function init_comment_shortcodes() {
  my_remove_all_shortcodes();
  init_common_shortcodes();
  add_filter('comment_text', 'do_shortcode');
}
&nbsp;
add_filter('comments_template', 'init_comment_shortcodes');
add_filter('dynamic_sidebar', 'my_restore_all_shortcodes');
add_filter('widget_execphp', 'do_shortcode');
init_common_shortcodes();</pre></td></tr></table></div><p>Here is what the code does:</p><ol><li>Initialize custom shortcodes that I want to add all over the place.</li><li>When WP gets to the comment block, it removes all shortcodes (again, for security) and re-initializes only the ones I want, but this time remembers them so that they can be restored later.</li><li>After the comments, when WP gets to the dynamic sidebar, it restores all the shortcodes and applies them to each <a
href="http://wordpress.org/extend/plugins/php-code-widget/">PHP Code Widget</a>.</li></ol><p>And there you have it. Of course, the code may need tweaking for your own scenario but the ideas are all there. If you spot an error or know of an easier/better way, please let me know.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Add+Shortcode+Support+To+Wordpress+Comments+And+Sidebar+Widgets&amp;link=http://beerpla.net/2010/10/15/how-to-add-shortcode-support-to-wordpress-comments-and-sidebars/&amp;notes=Wordpress%20has%20a%20great%20way%20of%20letting%20you%20use%20simple%20text%20tags%20called%20shortcodes%20to%20provide%20a%20whole%20bunch%20of%20functionality%2C%20including%20custom%20PHP%20code.%20In%20this%20article%2C%20I%27m%20assuming%20that%20you%20already%20know%20what%20shortcodes%20do%20and%20how%20they%20operate%20%28if%20you%20don%27t%2C%20head%20over%20here%3A%20Shortcode_API%29.%0D%0AOne%20glarin&amp;short_link=http://bit.ly/am7MRr&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Add+Shortcode+Support+To+Wordpress+Comments+And+Sidebar+Widgets&amp;link=http://beerpla.net/2010/10/15/how-to-add-shortcode-support-to-wordpress-comments-and-sidebars/&amp;notes=Wordpress%20has%20a%20great%20way%20of%20letting%20you%20use%20simple%20text%20tags%20called%20shortcodes%20to%20provide%20a%20whole%20bunch%20of%20functionality%2C%20including%20custom%20PHP%20code.%20In%20this%20article%2C%20I%27m%20assuming%20that%20you%20already%20know%20what%20shortcodes%20do%20and%20how%20they%20operate%20%28if%20you%20don%27t%2C%20head%20over%20here%3A%20Shortcode_API%29.%0D%0AOne%20glarin&amp;short_link=http://bit.ly/am7MRr&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Add+Shortcode+Support+To+Wordpress+Comments+And+Sidebar+Widgets&amp;link=http://beerpla.net/2010/10/15/how-to-add-shortcode-support-to-wordpress-comments-and-sidebars/&amp;notes=Wordpress%20has%20a%20great%20way%20of%20letting%20you%20use%20simple%20text%20tags%20called%20shortcodes%20to%20provide%20a%20whole%20bunch%20of%20functionality%2C%20including%20custom%20PHP%20code.%20In%20this%20article%2C%20I%27m%20assuming%20that%20you%20already%20know%20what%20shortcodes%20do%20and%20how%20they%20operate%20%28if%20you%20don%27t%2C%20head%20over%20here%3A%20Shortcode_API%29.%0D%0AOne%20glarin&amp;short_link=http://bit.ly/am7MRr&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Add+Shortcode+Support+To+Wordpress+Comments+And+Sidebar+Widgets&amp;link=http://beerpla.net/2010/10/15/how-to-add-shortcode-support-to-wordpress-comments-and-sidebars/&amp;notes=Wordpress%20has%20a%20great%20way%20of%20letting%20you%20use%20simple%20text%20tags%20called%20shortcodes%20to%20provide%20a%20whole%20bunch%20of%20functionality%2C%20including%20custom%20PHP%20code.%20In%20this%20article%2C%20I%27m%20assuming%20that%20you%20already%20know%20what%20shortcodes%20do%20and%20how%20they%20operate%20%28if%20you%20don%27t%2C%20head%20over%20here%3A%20Shortcode_API%29.%0D%0AOne%20glarin&amp;short_link=http://bit.ly/am7MRr&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Add+Shortcode+Support+To+Wordpress+Comments+And+Sidebar+Widgets&amp;link=http://beerpla.net/2010/10/15/how-to-add-shortcode-support-to-wordpress-comments-and-sidebars/&amp;notes=Wordpress%20has%20a%20great%20way%20of%20letting%20you%20use%20simple%20text%20tags%20called%20shortcodes%20to%20provide%20a%20whole%20bunch%20of%20functionality%2C%20including%20custom%20PHP%20code.%20In%20this%20article%2C%20I%27m%20assuming%20that%20you%20already%20know%20what%20shortcodes%20do%20and%20how%20they%20operate%20%28if%20you%20don%27t%2C%20head%20over%20here%3A%20Shortcode_API%29.%0D%0AOne%20glarin&amp;short_link=http://bit.ly/am7MRr&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Add+Shortcode+Support+To+Wordpress+Comments+And+Sidebar+Widgets&amp;link=http://beerpla.net/2010/10/15/how-to-add-shortcode-support-to-wordpress-comments-and-sidebars/&amp;notes=Wordpress%20has%20a%20great%20way%20of%20letting%20you%20use%20simple%20text%20tags%20called%20shortcodes%20to%20provide%20a%20whole%20bunch%20of%20functionality%2C%20including%20custom%20PHP%20code.%20In%20this%20article%2C%20I%27m%20assuming%20that%20you%20already%20know%20what%20shortcodes%20do%20and%20how%20they%20operate%20%28if%20you%20don%27t%2C%20head%20over%20here%3A%20Shortcode_API%29.%0D%0AOne%20glarin&amp;short_link=http://bit.ly/am7MRr&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Add+Shortcode+Support+To+Wordpress+Comments+And+Sidebar+Widgets&amp;link=http://beerpla.net/2010/10/15/how-to-add-shortcode-support-to-wordpress-comments-and-sidebars/&amp;notes=Wordpress%20has%20a%20great%20way%20of%20letting%20you%20use%20simple%20text%20tags%20called%20shortcodes%20to%20provide%20a%20whole%20bunch%20of%20functionality%2C%20including%20custom%20PHP%20code.%20In%20this%20article%2C%20I%27m%20assuming%20that%20you%20already%20know%20what%20shortcodes%20do%20and%20how%20they%20operate%20%28if%20you%20don%27t%2C%20head%20over%20here%3A%20Shortcode_API%29.%0D%0AOne%20glarin&amp;short_link=http://bit.ly/am7MRr&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20To%20Add%20Shortcode%20Support%20To%20Wordpress%20Comments%20And%20Sidebar%20Widgets&amp;link=http://beerpla.net/2010/10/15/how-to-add-shortcode-support-to-wordpress-comments-and-sidebars/&amp;notes=Wordpress%20has%20a%20great%20way%20of%20letting%20you%20use%20simple%20text%20tags%20called%20shortcodes%20to%20provide%20a%20whole%20bunch%20of%20functionality%2C%20including%20custom%20PHP%20code.%20In%20this%20article%2C%20I%27m%20assuming%20that%20you%20already%20know%20what%20shortcodes%20do%20and%20how%20they%20operate%20%28if%20you%20don%27t%2C%20head%20over%20here%3A%20Shortcode_API%29.%0D%0AOne%20glarin&amp;short_link=http://bit.ly/am7MRr&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2010/01/31/how-to-remove-inline-hardcoded-recent-comments-sidebar-widget-style-from-your-wordpress-theme/" rel="bookmark" title="January 31, 2010">How To Remove Inline Hardcoded Recent Comments Sidebar Widget Style From Your WordPress Theme</a></li><li><a
href="http://beerpla.net/2010/01/13/wordpress-plugin-development-how-to-include-css-and-javascript-conditionally-and-only-when-needed-by-the-posts/" rel="bookmark" title="January 13, 2010">[WordPress Plugin Development] How To Include CSS and JavaScript Conditionally And Only When Needed By The Posts</a></li><li><a
href="http://beerpla.net/2012/04/13/how-to-fix-incomplete-wordpress-wxr-exports/" rel="bookmark" title="April 13, 2012">How To Fix Incomplete WordPress (WXR) Exports</a></li><li><a
href="http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/" rel="bookmark" title="March 21, 2010">How To Diagnose And Fix Incorrect Post Comment Counts In WordPress</a></li><li><a
href="http://beerpla.net/2011/11/16/how-to-disableblock-external-http-requests-in-wordpress/" rel="bookmark" title="November 16, 2011">How To: Disable/Block External HTTP Requests In WordPress</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2010%2F10%2F15%2Fhow-to-add-shortcode-support-to-wordpress-comments-and-sidebars%2F&amp;title=How%20To%20Add%20Shortcode%20Support%20To%20WordPress%20Comments%20And%20Sidebar%20Widgets" id="wpa2a_6"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2010/10/15/how-to-add-shortcode-support-to-wordpress-comments-and-sidebars/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>How To Update Eclipse From Galileo (3.5) To Helios (3.6) In-Place Without Reinstalling</title><link>http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/</link> <comments>http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/#comments</comments> <pubDate>Wed, 29 Sep 2010 23:47:21 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Eclipse]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[clean]]></category> <category><![CDATA[galileo]]></category> <category><![CDATA[helios]]></category> <category><![CDATA[in-place]]></category> <category><![CDATA[inline]]></category> <category><![CDATA[update]]></category> <category><![CDATA[upgrade]]></category> <guid
isPermaLink="false">http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/</guid> <description><![CDATA[<p><a
href="http://beerpla.net/wp-content/uploads/2011/12/image.png" class="lightview" rel="gallery['1549']" title="image"><img
style="margin: 0px 10px 10px 0px; display: inline; float: left" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/2011/12/image_thumb.png" width="150" height="139" /></a>As a developer, I both love and hate Eclipse for its chaotic nature, buggy and sometimes unusable interface, but at the same time incredible usefulness and ability to serve as a single tool for all of my development, be it C++, PHP, Java, Android, Perl, etc.</p><p>One of the biggest problems with Eclipse is that there is no clear upgrade path from major versions, for example 3.5-&#62;3.6. What I ended up having to do for years is back up the old release, download and unpack the new release, and then try to migrate all the settings by importing and exporting left and right. Not so pleasant.</p><p>Turns out, as of Eclipse 3.3 (though I&#039;ve only tried it with Eclipse 3.5), ...<div
class=clear></div> <a
href="http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p><a
href="http://beerpla.net/wp-content/uploads/2011/12/image.png" class="lightview" rel="gallery['1549']" title="image"><img
style="margin: 0px 10px 10px 0px; display: inline; float: left" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/2011/12/image_thumb.png" width="150" height="139" /></a>As a developer, I both love and hate Eclipse for its chaotic nature, buggy and sometimes unusable interface, but at the same time incredible usefulness and ability to serve as a single tool for all of my development, be it C++, PHP, Java, Android, Perl, etc.</p><p>One of the biggest problems with Eclipse is that there is no clear upgrade path from major versions, for example 3.5-&gt;3.6. What I ended up having to do for years is back up the old release, download and unpack the new release, and then try to migrate all the settings by importing and exporting left and right. Not so pleasant.</p><p>Turns out, as of Eclipse 3.3 (though I&#039;ve only tried it with Eclipse 3.5), it&#039;s possible to successfully complete an in-place upgrade without doing any wiping or voodoo hackery. I&#039;ve successfully completed this on 2 of my machines and now need to share it with the rest of the world.</p><p><a
href="http://beerpla.net/wp-content/uploads/HowToUpdateEclipseFromGa.6InPlaceWithout_E371/image.png" class="lightview" rel="gallery['1549']" title="image"><img
style="margin: 0px auto; display: block; float: none" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/HowToUpdateEclipseFromGa.6InPlaceWithout_E371/image_thumb.png" width="634" height="330" /></a></p><p><strong>Step 1.</strong> Go to Help &gt; Install New Software… &gt; Available Software Sites or Windows &gt; Preferences &gt; Install/Update &gt; Available Software Sites. I personally prefer the former way because it results in fewer clicks but both end up in the same place.</p><p><strong>Step 2.</strong> Everywhere you see 3.5, press Edit and change it to 3.6. Similarly, change &quot;galileo&quot; to &quot;helios&quot;. For example, you should end up with at least these (if you don&#039;t have these, just add them):</p><blockquote><p><a
title="http://download.eclipse.org/eclipse/updates/3.6" href="http://download.eclipse.org/eclipse/updates/3.6">http://download.eclipse.org/eclipse/updates/3.6</a></p><p><a
title="http://download.eclipse.org/releases/helios" href="http://download.eclipse.org/releases/helios">http://download.eclipse.org/releases/helios</a></p></blockquote><p>Note: you may also need to update other repositories (for example, Galileo was compatible with CDT 6, while Helios needed CDT 7).</p><p><a
href="http://beerpla.net/wp-content/uploads/HowToUpdateEclipseFromGa.6InPlaceWithout_E371/image_3.png" class="lightview" rel="gallery['1549']" title="image"><img
style="margin: 0px auto; display: block; float: none" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/HowToUpdateEclipseFromGa.6InPlaceWithout_E371/image_thumb_3.png" width="700" height="399" /></a></p><p><strong>Step 3.</strong> Press OK, then go to Help &gt; Check for Updates. You should see the progress in the Progress tab &#8211; let the magic happen, restart when prompted, and after a few minutes, you should have a working upgraded version of Eclipse.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Update+Eclipse+From+Galileo+%283.5%29+To+Helios+%283.6%29+In-Place+Without+Reinstalling&amp;link=http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/&amp;notes=As%20a%20developer%2C%20I%20both%20love%20and%20hate%20Eclipse%20for%20its%20chaotic%20nature%2C%20buggy%20and%20sometimes%20unusable%20interface%2C%20but%20at%20the%20same%20time%20incredible%20usefulness%20and%20ability%20to%20serve%20as%20a%20single%20tool%20for%20all%20of%20my%20development%2C%20be%20it%20C%2B%2B%2C%20PHP%2C%20Java%2C%20Android%2C%20Perl%2C%20etc.%20%20One%20of%20the%20biggest%20problems%20with%20Eclipse&amp;short_link=http://bit.ly/9NFt2t&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Update+Eclipse+From+Galileo+%283.5%29+To+Helios+%283.6%29+In-Place+Without+Reinstalling&amp;link=http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/&amp;notes=As%20a%20developer%2C%20I%20both%20love%20and%20hate%20Eclipse%20for%20its%20chaotic%20nature%2C%20buggy%20and%20sometimes%20unusable%20interface%2C%20but%20at%20the%20same%20time%20incredible%20usefulness%20and%20ability%20to%20serve%20as%20a%20single%20tool%20for%20all%20of%20my%20development%2C%20be%20it%20C%2B%2B%2C%20PHP%2C%20Java%2C%20Android%2C%20Perl%2C%20etc.%20%20One%20of%20the%20biggest%20problems%20with%20Eclipse&amp;short_link=http://bit.ly/9NFt2t&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Update+Eclipse+From+Galileo+%283.5%29+To+Helios+%283.6%29+In-Place+Without+Reinstalling&amp;link=http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/&amp;notes=As%20a%20developer%2C%20I%20both%20love%20and%20hate%20Eclipse%20for%20its%20chaotic%20nature%2C%20buggy%20and%20sometimes%20unusable%20interface%2C%20but%20at%20the%20same%20time%20incredible%20usefulness%20and%20ability%20to%20serve%20as%20a%20single%20tool%20for%20all%20of%20my%20development%2C%20be%20it%20C%2B%2B%2C%20PHP%2C%20Java%2C%20Android%2C%20Perl%2C%20etc.%20%20One%20of%20the%20biggest%20problems%20with%20Eclipse&amp;short_link=http://bit.ly/9NFt2t&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Update+Eclipse+From+Galileo+%283.5%29+To+Helios+%283.6%29+In-Place+Without+Reinstalling&amp;link=http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/&amp;notes=As%20a%20developer%2C%20I%20both%20love%20and%20hate%20Eclipse%20for%20its%20chaotic%20nature%2C%20buggy%20and%20sometimes%20unusable%20interface%2C%20but%20at%20the%20same%20time%20incredible%20usefulness%20and%20ability%20to%20serve%20as%20a%20single%20tool%20for%20all%20of%20my%20development%2C%20be%20it%20C%2B%2B%2C%20PHP%2C%20Java%2C%20Android%2C%20Perl%2C%20etc.%20%20One%20of%20the%20biggest%20problems%20with%20Eclipse&amp;short_link=http://bit.ly/9NFt2t&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Update+Eclipse+From+Galileo+%283.5%29+To+Helios+%283.6%29+In-Place+Without+Reinstalling&amp;link=http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/&amp;notes=As%20a%20developer%2C%20I%20both%20love%20and%20hate%20Eclipse%20for%20its%20chaotic%20nature%2C%20buggy%20and%20sometimes%20unusable%20interface%2C%20but%20at%20the%20same%20time%20incredible%20usefulness%20and%20ability%20to%20serve%20as%20a%20single%20tool%20for%20all%20of%20my%20development%2C%20be%20it%20C%2B%2B%2C%20PHP%2C%20Java%2C%20Android%2C%20Perl%2C%20etc.%20%20One%20of%20the%20biggest%20problems%20with%20Eclipse&amp;short_link=http://bit.ly/9NFt2t&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Update+Eclipse+From+Galileo+%283.5%29+To+Helios+%283.6%29+In-Place+Without+Reinstalling&amp;link=http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/&amp;notes=As%20a%20developer%2C%20I%20both%20love%20and%20hate%20Eclipse%20for%20its%20chaotic%20nature%2C%20buggy%20and%20sometimes%20unusable%20interface%2C%20but%20at%20the%20same%20time%20incredible%20usefulness%20and%20ability%20to%20serve%20as%20a%20single%20tool%20for%20all%20of%20my%20development%2C%20be%20it%20C%2B%2B%2C%20PHP%2C%20Java%2C%20Android%2C%20Perl%2C%20etc.%20%20One%20of%20the%20biggest%20problems%20with%20Eclipse&amp;short_link=http://bit.ly/9NFt2t&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Update+Eclipse+From+Galileo+%283.5%29+To+Helios+%283.6%29+In-Place+Without+Reinstalling&amp;link=http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/&amp;notes=As%20a%20developer%2C%20I%20both%20love%20and%20hate%20Eclipse%20for%20its%20chaotic%20nature%2C%20buggy%20and%20sometimes%20unusable%20interface%2C%20but%20at%20the%20same%20time%20incredible%20usefulness%20and%20ability%20to%20serve%20as%20a%20single%20tool%20for%20all%20of%20my%20development%2C%20be%20it%20C%2B%2B%2C%20PHP%2C%20Java%2C%20Android%2C%20Perl%2C%20etc.%20%20One%20of%20the%20biggest%20problems%20with%20Eclipse&amp;short_link=http://bit.ly/9NFt2t&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20To%20Update%20Eclipse%20From%20Galileo%20%283.5%29%20To%20Helios%20%283.6%29%20In-Place%20Without%20Reinstalling&amp;link=http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/&amp;notes=As%20a%20developer%2C%20I%20both%20love%20and%20hate%20Eclipse%20for%20its%20chaotic%20nature%2C%20buggy%20and%20sometimes%20unusable%20interface%2C%20but%20at%20the%20same%20time%20incredible%20usefulness%20and%20ability%20to%20serve%20as%20a%20single%20tool%20for%20all%20of%20my%20development%2C%20be%20it%20C%2B%2B%2C%20PHP%2C%20Java%2C%20Android%2C%20Perl%2C%20etc.%20%20One%20of%20the%20biggest%20problems%20with%20Eclipse&amp;short_link=http://bit.ly/9NFt2t&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/" rel="bookmark" title="November 4, 2009">[Android] Auto Formatting Android XML Files With Eclipse</a></li><li><a
href="http://beerpla.net/2007/07/09/how-to-download-and-install-windows-media-player-11-bypassing-wga/" rel="bookmark" title="July 9, 2007">How To Download And Install Windows Media Player 11 Bypassing WGA</a></li><li><a
href="http://beerpla.net/2009/10/06/supercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again/" rel="bookmark" title="October 6, 2009">Supercharge Your GNU Screen With A Power &quot;Taskbar&quot; And Never Feel Lost Again</a></li><li><a
href="http://beerpla.net/2011/05/06/how-to-fix-error_not_found-0x80070490-during-windows-7-sp1-installation/" rel="bookmark" title="May 6, 2011">How To Fix ERROR_NOT_FOUND 0&#215;80070490 During Windows 7 SP1 Installation</a></li><li><a
href="http://beerpla.net/2010/01/31/heres-an-exclusive-10-off-nuspheres-phped-coupon-also-includes-nucoder-and-phpdoc-discount-code/" rel="bookmark" title="January 31, 2010">[Updated for 2012] Here&#039;s An Exclusive 10% Off NuSphere PHPEd Discount Coupon Code (Also Includes NuCoder And PHPDoc)</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2010%2F09%2F29%2Fhow-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling%2F&amp;title=How%20To%20Update%20Eclipse%20From%20Galileo%20%283.5%29%20To%20Helios%20%283.6%29%20In-Place%20Without%20Reinstalling" id="wpa2a_8"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/feed/</wfw:commentRss> <slash:comments>15</slash:comments> </item> <item><title>[Updated for 2012] Here&#039;s An Exclusive 10% Off NuSphere PHPEd Discount Coupon Code (Also Includes NuCoder And PHPDoc)</title><link>http://beerpla.net/2010/01/31/heres-an-exclusive-10-off-nuspheres-phped-coupon-also-includes-nucoder-and-phpdoc-discount-code/</link> <comments>http://beerpla.net/2010/01/31/heres-an-exclusive-10-off-nuspheres-phped-coupon-also-includes-nucoder-and-phpdoc-discount-code/#comments</comments> <pubDate>Sun, 31 Jan 2010 19:18:07 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[% off]]></category> <category><![CDATA[debugger]]></category> <category><![CDATA[development]]></category> <category><![CDATA[discount]]></category> <category><![CDATA[editor]]></category> <category><![CDATA[ide]]></category> <category><![CDATA[nu-coder]]></category> <category><![CDATA[nucoder]]></category> <category><![CDATA[nusphere]]></category> <category><![CDATA[percent off]]></category> <category><![CDATA[php ed]]></category> <category><![CDATA[php editor]]></category> <category><![CDATA[phpdoc]]></category> <category><![CDATA[phped]]></category> <category><![CDATA[phpexpress]]></category> <category><![CDATA[techplatform]]></category> <guid
isPermaLink="false">http://beerpla.net/2010/01/31/heres-an-exclusive-10-off-nuspheres-phped-coupon-also-includes-nucoder-and-phpdoc/</guid> <description><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" title="NuSphere PHPEd" alt="NuSphere PHPEd" align="left" src="http://beerpla.net/wp-content/uploads/2011/07/image.png" width="150" height="150" /></p><h2>Introduction</h2><p>I don&#039;t know about you, but I can&#039;t imagine doing my PHP development without an IDE with a debugger anymore.</p><p>It autocompletes for me, it lets me step through each line of code, jumping around the project, execute and change the code flow on the fly, and does many other things that make me feel cozy, comfortable, and efficient at PHP development (as opposed to, say, CPP which makes me feel cold and lonely).</p><p>There are many PHP IDEs out there and I&#039;ve tried most of them (including the free <a
href="http://www.phpeclipse.com/" rel="nofollow">PHPEclipse</a> and <a
href="http://www.eclipse.org/pdt/" rel="nofollow">PDT</a> for Eclipse) but kept coming back to <a
href="http://www.nusphere.com/products/phped.htm" rel="nofollow">NuSphere&#039;s PHPEd</a> every time. The other ones just don&#039;t do as good of a job and don&#039;t have the ...<div
class=clear></div> <a
href="http://beerpla.net/2010/01/31/heres-an-exclusive-10-off-nuspheres-phped-coupon-also-includes-nucoder-and-phpdoc-discount-code/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" title="NuSphere PHPEd" alt="NuSphere PHPEd" align="left" src="http://beerpla.net/wp-content/uploads/2011/07/image.png" width="150" height="150" /></p><h2>Introduction</h2><p>I don&#039;t know about you, but I can&#039;t imagine doing my PHP development without an IDE with a debugger anymore.</p><p>It autocompletes for me, it lets me step through each line of code, jumping around the project, execute and change the code flow on the fly, and does many other things that make me feel cozy, comfortable, and efficient at PHP development (as opposed to, say, CPP which makes me feel cold and lonely).</p><p>There are many PHP IDEs out there and I&#039;ve tried most of them (including the free <a
href="http://www.phpeclipse.com/" rel="nofollow">PHPEclipse</a> and <a
href="http://www.eclipse.org/pdt/" rel="nofollow">PDT</a> for Eclipse) but kept coming back to <a
href="http://www.nusphere.com/products/phped.htm" rel="nofollow">NuSphere&#039;s PHPEd</a> every time. The other ones just don&#039;t do as good of a job and don&#039;t have the array of features PHPEd does. Did you know Dmitri, the author of PHPEd, actually wrote the PHP debugger and profiler for PHPEd from scratch?</p><p>But this post is not about PHPEd&#039;s features &#8211; I&#039;m planning on doing a few detailed ones later on &#8211; this post is a quick note about a coupon code for <strong><em>10% off PHPEd</em></strong> or any of their other products.</p><p><div
class="note"><div
class="notetip"><strong>Update 7/3/11</strong>: PHPEd 6 has been released. Check out what&#039;s new <a
href="http://www.nusphere.com/products/phped_new_features.htm">here</a>.</div></div></p><h2>The Coupon</h2><p>Here it is for your immediate enjoyment:</p><p><div
class="note"><div
class="notetip"><strong>Updated for 2012</strong>: Exclusive 10% off at <a
href="http://www.nusphere.com/products/index.htm" rel="nofollow">NuSphere.com</a>: ALL-OTH-10-O-A9771</div></div></p><p>Just add the products you want to your cart and enter the coupon in the Coupon code field:</p><p><img
style="display: inline; margin-left: 0px; margin-right: 0px" title="Nusphere 10% off coupon code ALL-OTH-10-O-CBCD0" alt="Nusphere 10% off coupon code ALL-OTH-10-O-CBCD0" src="http://beerpla.net/wp-content/uploads/2011/07/image1.png" width="552" height="234" /></p><p>Observe the discount applied immediately:</p><p>&#160;<img
style="display: inline" title="Nusphere 10% off coupon code ALL-OTH-10-O-CBCD0" alt="Nusphere 10% off coupon code ALL-OTH-10-O-CBCD0" src="http://beerpla.net/wp-content/uploads/2011/07/image2.png" width="407" height="105" /></p><p><strong>Edit:</strong> it seems that they&#039;re running some sort of a promotion &#8211; PHPEd Pro temporarily has an additional $80 off the regular price. The discount was set to expire on January 15th but it seems to be still active:</p><p><img
style="display: inline" title="PHPEd $80 of" alt="PHPEd $80 of" src="http://beerpla.net/wp-content/uploads/2011/07/image3.png" width="243" height="146" />&#160;</p><p>The 10% off should work on top of the $80 discount no problem.</p><p>Enjoy!</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=%5BUpdated+for+2012%5D+Here%27s+An+Exclusive+10%25+Off+NuSphere+PHPEd+Discount+Coupon+Code+%28Also+Includes+NuCoder+And+PHPDoc%29&amp;link=http://beerpla.net/2010/01/31/heres-an-exclusive-10-off-nuspheres-phped-coupon-also-includes-nucoder-and-phpdoc-discount-code/&amp;notes=%20%20Introduction%20%20I%20don%27t%20know%20about%20you%2C%20but%20I%20can%27t%20imagine%20doing%20my%20PHP%20development%20without%20an%20IDE%20with%20a%20debugger%20anymore.%20%20It%20autocompletes%20for%20me%2C%20it%20lets%20me%20step%20through%20each%20line%20of%20code%2C%20jumping%20around%20the%20project%2C%20execute%20and%20change%20the%20code%20flow%20on%20the%20fly%2C%20and%20does%20many%20other%20things%20that%20m&amp;short_link=http://bit.ly/c7m16M&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=%5BUpdated+for+2012%5D+Here%27s+An+Exclusive+10%25+Off+NuSphere+PHPEd+Discount+Coupon+Code+%28Also+Includes+NuCoder+And+PHPDoc%29&amp;link=http://beerpla.net/2010/01/31/heres-an-exclusive-10-off-nuspheres-phped-coupon-also-includes-nucoder-and-phpdoc-discount-code/&amp;notes=%20%20Introduction%20%20I%20don%27t%20know%20about%20you%2C%20but%20I%20can%27t%20imagine%20doing%20my%20PHP%20development%20without%20an%20IDE%20with%20a%20debugger%20anymore.%20%20It%20autocompletes%20for%20me%2C%20it%20lets%20me%20step%20through%20each%20line%20of%20code%2C%20jumping%20around%20the%20project%2C%20execute%20and%20change%20the%20code%20flow%20on%20the%20fly%2C%20and%20does%20many%20other%20things%20that%20m&amp;short_link=http://bit.ly/c7m16M&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=%5BUpdated+for+2012%5D+Here%27s+An+Exclusive+10%25+Off+NuSphere+PHPEd+Discount+Coupon+Code+%28Also+Includes+NuCoder+And+PHPDoc%29&amp;link=http://beerpla.net/2010/01/31/heres-an-exclusive-10-off-nuspheres-phped-coupon-also-includes-nucoder-and-phpdoc-discount-code/&amp;notes=%20%20Introduction%20%20I%20don%27t%20know%20about%20you%2C%20but%20I%20can%27t%20imagine%20doing%20my%20PHP%20development%20without%20an%20IDE%20with%20a%20debugger%20anymore.%20%20It%20autocompletes%20for%20me%2C%20it%20lets%20me%20step%20through%20each%20line%20of%20code%2C%20jumping%20around%20the%20project%2C%20execute%20and%20change%20the%20code%20flow%20on%20the%20fly%2C%20and%20does%20many%20other%20things%20that%20m&amp;short_link=http://bit.ly/c7m16M&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=%5BUpdated+for+2012%5D+Here%27s+An+Exclusive+10%25+Off+NuSphere+PHPEd+Discount+Coupon+Code+%28Also+Includes+NuCoder+And+PHPDoc%29&amp;link=http://beerpla.net/2010/01/31/heres-an-exclusive-10-off-nuspheres-phped-coupon-also-includes-nucoder-and-phpdoc-discount-code/&amp;notes=%20%20Introduction%20%20I%20don%27t%20know%20about%20you%2C%20but%20I%20can%27t%20imagine%20doing%20my%20PHP%20development%20without%20an%20IDE%20with%20a%20debugger%20anymore.%20%20It%20autocompletes%20for%20me%2C%20it%20lets%20me%20step%20through%20each%20line%20of%20code%2C%20jumping%20around%20the%20project%2C%20execute%20and%20change%20the%20code%20flow%20on%20the%20fly%2C%20and%20does%20many%20other%20things%20that%20m&amp;short_link=http://bit.ly/c7m16M&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=%5BUpdated+for+2012%5D+Here%27s+An+Exclusive+10%25+Off+NuSphere+PHPEd+Discount+Coupon+Code+%28Also+Includes+NuCoder+And+PHPDoc%29&amp;link=http://beerpla.net/2010/01/31/heres-an-exclusive-10-off-nuspheres-phped-coupon-also-includes-nucoder-and-phpdoc-discount-code/&amp;notes=%20%20Introduction%20%20I%20don%27t%20know%20about%20you%2C%20but%20I%20can%27t%20imagine%20doing%20my%20PHP%20development%20without%20an%20IDE%20with%20a%20debugger%20anymore.%20%20It%20autocompletes%20for%20me%2C%20it%20lets%20me%20step%20through%20each%20line%20of%20code%2C%20jumping%20around%20the%20project%2C%20execute%20and%20change%20the%20code%20flow%20on%20the%20fly%2C%20and%20does%20many%20other%20things%20that%20m&amp;short_link=http://bit.ly/c7m16M&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=%5BUpdated+for+2012%5D+Here%27s+An+Exclusive+10%25+Off+NuSphere+PHPEd+Discount+Coupon+Code+%28Also+Includes+NuCoder+And+PHPDoc%29&amp;link=http://beerpla.net/2010/01/31/heres-an-exclusive-10-off-nuspheres-phped-coupon-also-includes-nucoder-and-phpdoc-discount-code/&amp;notes=%20%20Introduction%20%20I%20don%27t%20know%20about%20you%2C%20but%20I%20can%27t%20imagine%20doing%20my%20PHP%20development%20without%20an%20IDE%20with%20a%20debugger%20anymore.%20%20It%20autocompletes%20for%20me%2C%20it%20lets%20me%20step%20through%20each%20line%20of%20code%2C%20jumping%20around%20the%20project%2C%20execute%20and%20change%20the%20code%20flow%20on%20the%20fly%2C%20and%20does%20many%20other%20things%20that%20m&amp;short_link=http://bit.ly/c7m16M&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=%5BUpdated+for+2012%5D+Here%27s+An+Exclusive+10%25+Off+NuSphere+PHPEd+Discount+Coupon+Code+%28Also+Includes+NuCoder+And+PHPDoc%29&amp;link=http://beerpla.net/2010/01/31/heres-an-exclusive-10-off-nuspheres-phped-coupon-also-includes-nucoder-and-phpdoc-discount-code/&amp;notes=%20%20Introduction%20%20I%20don%27t%20know%20about%20you%2C%20but%20I%20can%27t%20imagine%20doing%20my%20PHP%20development%20without%20an%20IDE%20with%20a%20debugger%20anymore.%20%20It%20autocompletes%20for%20me%2C%20it%20lets%20me%20step%20through%20each%20line%20of%20code%2C%20jumping%20around%20the%20project%2C%20execute%20and%20change%20the%20code%20flow%20on%20the%20fly%2C%20and%20does%20many%20other%20things%20that%20m&amp;short_link=http://bit.ly/c7m16M&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=%5BUpdated%20for%202012%5D%20Here%27s%20An%20Exclusive%2010%25%20Off%20NuSphere%20PHPEd%20Discount%20Coupon%20Code%20%28Also%20Includes%20NuCoder%20And%20PHPDoc%29&amp;link=http://beerpla.net/2010/01/31/heres-an-exclusive-10-off-nuspheres-phped-coupon-also-includes-nucoder-and-phpdoc-discount-code/&amp;notes=%20%20Introduction%20%20I%20don%27t%20know%20about%20you%2C%20but%20I%20can%27t%20imagine%20doing%20my%20PHP%20development%20without%20an%20IDE%20with%20a%20debugger%20anymore.%20%20It%20autocompletes%20for%20me%2C%20it%20lets%20me%20step%20through%20each%20line%20of%20code%2C%20jumping%20around%20the%20project%2C%20execute%20and%20change%20the%20code%20flow%20on%20the%20fly%2C%20and%20does%20many%20other%20things%20that%20m&amp;short_link=http://bit.ly/c7m16M&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/" rel="bookmark" title="June 21, 2009">Hidden Features Of Perl, PHP, Javascript, C, C++, C#, Java, Ruby, Python, And Others [Collection Of Incredibly Useful Lists]</a></li><li><a
href="http://beerpla.net/2009/12/17/how-to-make-firebugs-javascript-debugger-break-inside-dynamic-javascript-using-the-debugger-keyword-ie-chrome-too/" rel="bookmark" title="December 17, 2009">How To Make Firebug&#039;s JavaScript Debugger Break Inside Dynamic JavaScript Using The &#039;debugger&#039; Keyword (IE &amp; Chrome Too)</a></li><li><a
href="http://beerpla.net/2010/01/18/wordpress-developers-how-do-you-make-a-living-poll-discussion/" rel="bookmark" title="January 18, 2010">WordPress Developers &#8211; How Do You Make A Living [Poll + Discussion]?</a></li><li><a
href="http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/" rel="bookmark" title="September 29, 2010">How To Update Eclipse From Galileo (3.5) To Helios (3.6) In-Place Without Reinstalling</a></li><li><a
href="http://beerpla.net/2008/07/23/how-to-check-if-the-local-svn-revision-is-up-to-date/" rel="bookmark" title="July 23, 2008">How To Check If The Local SVN Revision Is Up-To-Date</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2010%2F01%2F31%2Fheres-an-exclusive-10-off-nuspheres-phped-coupon-also-includes-nucoder-and-phpdoc-discount-code%2F&amp;title=%5BUpdated%20for%202012%5D%20Here%26%23039%3Bs%20An%20Exclusive%2010%25%20Off%20NuSphere%20PHPEd%20Discount%20Coupon%20Code%20%28Also%20Includes%20NuCoder%20And%20PHPDoc%29" id="wpa2a_10"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2010/01/31/heres-an-exclusive-10-off-nuspheres-phped-coupon-also-includes-nucoder-and-phpdoc-discount-code/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Follow-up To Loading CSS And JS Conditionally</title><link>http://beerpla.net/2010/01/15/follow-up-to-loading-css-and-js-conditionally/</link> <comments>http://beerpla.net/2010/01/15/follow-up-to-loading-css-and-js-conditionally/#comments</comments> <pubDate>Fri, 15 Jan 2010 20:07:40 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[action]]></category> <category><![CDATA[admin_print_scripts]]></category> <category><![CDATA[admin_print_styles]]></category> <category><![CDATA[conditional]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[enqueue]]></category> <category><![CDATA[hook]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[js]]></category> <category><![CDATA[load]]></category> <category><![CDATA[ob_flush]]></category> <category><![CDATA[ob_start]]></category> <category><![CDATA[optimization]]></category> <category><![CDATA[output buffer]]></category> <category><![CDATA[Performance]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[script]]></category> <category><![CDATA[style]]></category> <category><![CDATA[time]]></category> <category><![CDATA[wp_enqueue_script]]></category> <category><![CDATA[wp_enqueue_style]]></category> <category><![CDATA[wp_print_scripts]]></category> <category><![CDATA[wp_print_styles]]></category> <guid
isPermaLink="false">http://beerpla.net/2010/01/15/follow-up-to-loading-css-and-js-conditionally/</guid> <description><![CDATA[<p>First of all, I&#039;d like to thank everyone who read and gave their 2 cents about the <a
href="http://beerpla.net/2010/01/13/wordpress-plugin-development-how-to-include-css-and-javascript-conditionally-and-only-when-needed-by-the-posts/">[Wordpress Plugin Development] How To Include CSS and JavaScript Conditionally And Only When Needed By The Posts</a> post. The article was well received and will hopefully spark some optimizations around loading styles and scripts.</p><p>Here are some discussions and mentions around the web:</p><ul><li><a
href="http://weblogtoolscollection.com/archives/2010/01/15/how-to-include-css-and-javascript-conditionally/" rel="nofollow">an article</a> on Weblog Tools Collection</li><li><a
href="http://www.wptavern.com/forum/resources/1213-including-javascript-css-conditionally.html" rel="nofollow">a forum post</a> on WP Tavern</li><li><a
href="http://topsy.com/tb/ping.fm/DIM0S" rel="nofollow">twitter</a> retweets</li></ul><p>Sure, there are drawbacks to this method and it does require some more processing on the backend and it&#039;s not for everyone, which is why we should always strive for an even better solution.</p><p>I stand by my point of view that, for instance, my dedicated ...<div
class=clear></div> <a
href="http://beerpla.net/2010/01/15/follow-up-to-loading-css-and-js-conditionally/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p>First of all, I&#039;d like to thank everyone who read and gave their 2 cents about the <a
href="http://beerpla.net/2010/01/13/wordpress-plugin-development-how-to-include-css-and-javascript-conditionally-and-only-when-needed-by-the-posts/">[Wordpress Plugin Development] How To Include CSS and JavaScript Conditionally And Only When Needed By The Posts</a> post. The article was well received and will hopefully spark some optimizations around loading styles and scripts.</p><p>Here are some discussions and mentions around the web:</p><ul><li><a
href="http://weblogtoolscollection.com/archives/2010/01/15/how-to-include-css-and-javascript-conditionally/" rel="nofollow">an article</a> on Weblog Tools Collection</li><li><a
href="http://www.wptavern.com/forum/resources/1213-including-javascript-css-conditionally.html" rel="nofollow">a forum post</a> on WP Tavern</li><li><a
href="http://topsy.com/tb/ping.fm/DIM0S" rel="nofollow">twitter</a> retweets</li></ul><p>Sure, there are drawbacks to this method and it does require some more processing on the backend and it&#039;s not for everyone, which is why we should always strive for an even better solution.</p><p>I stand by my point of view that, for instance, my dedicated gallery shouldn&#039;t load for people who will never even go see my photos.</p><p>I think an ideal solution would be for WP core developers, who had a lot of experience designing WordPress&#039; internals and who know what can work and what can&#039;t, perhaps <a
href="http://www.ma.tt" rel="nofollow">Matt</a> included, to get together and think about a better solution really hard.</p><p>Conditional loading similar to the one discussed here is already possible in the admin area, which creates dynamic hooks by appending page ids to <strong><em>&#039;admin_print_styles&#039;</em></strong> and <strong><em>&#039;admin_print_scripts&#039;</em></strong>. It is, however, still not good enough to be used more generically because those hooks rely on the page you are on, rather than the content of that page.</p><p>Another possibility is using a PHP technique called <strong><em>output buffering</em></strong> (<a
href="http://php.net/manual/en/function.ob-start.php" rel="nofollow"><strong><em>ob_start()</em></strong></a>, <a
href="http://www.php.net/manual/en/function.ob-flush.php" rel="nofollow"><strong><em>ob_flush()</em></strong></a>, etc) that grants second chances to data that had already been echoed. It intercepts all echo and print calls and redirects them into a memory buffer, so instead of printing data to the page right away, you can now modify the header even if it had already been processed. It&#039;s like giving it a second chance.</p><p>Would it work for WordPress? I am not sure but I sure could use your feedback, devs.</p><p><div
class="note"><div
class="notetip"><strong>Update: </strong>Scribu, a WordPress master, <a
href="http://scribu.net/wordpress/optimal-script-loading.html" rel="nofollow">came up with the approach</a> that would at least handle loading JS, as it would put it in the footer, which can be done after the posts have been parsed.</p><p>His approach doesn&#039;t handle CSS which is why I decided to seek another solution but it doesn&#039;t require an extra pass through the posts and it benefits from using the shortcode API instead of stripos() or some hacky regex you&#039;d need to come up with.</p><p>It&#039;s a great compromise for developers who do not want to take the approach I outlined in the article linked at the top of this page.</div></div></p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Follow-up+To+Loading+CSS+And+JS+Conditionally&amp;link=http://beerpla.net/2010/01/15/follow-up-to-loading-css-and-js-conditionally/&amp;notes=First%20of%20all%2C%20I%27d%20like%20to%20thank%20everyone%20who%20read%20and%20gave%20their%202%20cents%20about%20the%20%5BWordpress%20Plugin%20Development%5D%20How%20To%20Include%20CSS%20and%20JavaScript%20Conditionally%20And%20Only%20When%20Needed%20By%20The%20Posts%20post.%20The%20article%20was%20well%20received%20and%20will%20hopefully%20spark%20some%20optimizations%20around%20loading%20styles%20an&amp;short_link=http://bit.ly/76og1l&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Follow-up+To+Loading+CSS+And+JS+Conditionally&amp;link=http://beerpla.net/2010/01/15/follow-up-to-loading-css-and-js-conditionally/&amp;notes=First%20of%20all%2C%20I%27d%20like%20to%20thank%20everyone%20who%20read%20and%20gave%20their%202%20cents%20about%20the%20%5BWordpress%20Plugin%20Development%5D%20How%20To%20Include%20CSS%20and%20JavaScript%20Conditionally%20And%20Only%20When%20Needed%20By%20The%20Posts%20post.%20The%20article%20was%20well%20received%20and%20will%20hopefully%20spark%20some%20optimizations%20around%20loading%20styles%20an&amp;short_link=http://bit.ly/76og1l&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Follow-up+To+Loading+CSS+And+JS+Conditionally&amp;link=http://beerpla.net/2010/01/15/follow-up-to-loading-css-and-js-conditionally/&amp;notes=First%20of%20all%2C%20I%27d%20like%20to%20thank%20everyone%20who%20read%20and%20gave%20their%202%20cents%20about%20the%20%5BWordpress%20Plugin%20Development%5D%20How%20To%20Include%20CSS%20and%20JavaScript%20Conditionally%20And%20Only%20When%20Needed%20By%20The%20Posts%20post.%20The%20article%20was%20well%20received%20and%20will%20hopefully%20spark%20some%20optimizations%20around%20loading%20styles%20an&amp;short_link=http://bit.ly/76og1l&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Follow-up+To+Loading+CSS+And+JS+Conditionally&amp;link=http://beerpla.net/2010/01/15/follow-up-to-loading-css-and-js-conditionally/&amp;notes=First%20of%20all%2C%20I%27d%20like%20to%20thank%20everyone%20who%20read%20and%20gave%20their%202%20cents%20about%20the%20%5BWordpress%20Plugin%20Development%5D%20How%20To%20Include%20CSS%20and%20JavaScript%20Conditionally%20And%20Only%20When%20Needed%20By%20The%20Posts%20post.%20The%20article%20was%20well%20received%20and%20will%20hopefully%20spark%20some%20optimizations%20around%20loading%20styles%20an&amp;short_link=http://bit.ly/76og1l&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Follow-up+To+Loading+CSS+And+JS+Conditionally&amp;link=http://beerpla.net/2010/01/15/follow-up-to-loading-css-and-js-conditionally/&amp;notes=First%20of%20all%2C%20I%27d%20like%20to%20thank%20everyone%20who%20read%20and%20gave%20their%202%20cents%20about%20the%20%5BWordpress%20Plugin%20Development%5D%20How%20To%20Include%20CSS%20and%20JavaScript%20Conditionally%20And%20Only%20When%20Needed%20By%20The%20Posts%20post.%20The%20article%20was%20well%20received%20and%20will%20hopefully%20spark%20some%20optimizations%20around%20loading%20styles%20an&amp;short_link=http://bit.ly/76og1l&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Follow-up+To+Loading+CSS+And+JS+Conditionally&amp;link=http://beerpla.net/2010/01/15/follow-up-to-loading-css-and-js-conditionally/&amp;notes=First%20of%20all%2C%20I%27d%20like%20to%20thank%20everyone%20who%20read%20and%20gave%20their%202%20cents%20about%20the%20%5BWordpress%20Plugin%20Development%5D%20How%20To%20Include%20CSS%20and%20JavaScript%20Conditionally%20And%20Only%20When%20Needed%20By%20The%20Posts%20post.%20The%20article%20was%20well%20received%20and%20will%20hopefully%20spark%20some%20optimizations%20around%20loading%20styles%20an&amp;short_link=http://bit.ly/76og1l&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Follow-up+To+Loading+CSS+And+JS+Conditionally&amp;link=http://beerpla.net/2010/01/15/follow-up-to-loading-css-and-js-conditionally/&amp;notes=First%20of%20all%2C%20I%27d%20like%20to%20thank%20everyone%20who%20read%20and%20gave%20their%202%20cents%20about%20the%20%5BWordpress%20Plugin%20Development%5D%20How%20To%20Include%20CSS%20and%20JavaScript%20Conditionally%20And%20Only%20When%20Needed%20By%20The%20Posts%20post.%20The%20article%20was%20well%20received%20and%20will%20hopefully%20spark%20some%20optimizations%20around%20loading%20styles%20an&amp;short_link=http://bit.ly/76og1l&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Follow-up%20To%20Loading%20CSS%20And%20JS%20Conditionally&amp;link=http://beerpla.net/2010/01/15/follow-up-to-loading-css-and-js-conditionally/&amp;notes=First%20of%20all%2C%20I%27d%20like%20to%20thank%20everyone%20who%20read%20and%20gave%20their%202%20cents%20about%20the%20%5BWordpress%20Plugin%20Development%5D%20How%20To%20Include%20CSS%20and%20JavaScript%20Conditionally%20And%20Only%20When%20Needed%20By%20The%20Posts%20post.%20The%20article%20was%20well%20received%20and%20will%20hopefully%20spark%20some%20optimizations%20around%20loading%20styles%20an&amp;short_link=http://bit.ly/76og1l&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2010/01/13/wordpress-plugin-development-how-to-include-css-and-javascript-conditionally-and-only-when-needed-by-the-posts/" rel="bookmark" title="January 13, 2010">[WordPress Plugin Development] How To Include CSS and JavaScript Conditionally And Only When Needed By The Posts</a></li><li><a
href="http://beerpla.net/2009/02/17/swapping-column-values-in-mysql/" rel="bookmark" title="February 17, 2009">Swapping Column Values in MySQL</a></li><li><a
href="http://beerpla.net/2010/11/06/how-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc/" rel="bookmark" title="November 6, 2010">How To Dynamically Increase Memory Limits When Interfacing With WordPress Using XML-RPC (Windows Live Writer, Etc)</a></li><li><a
href="http://beerpla.net/2010/01/31/how-to-remove-inline-hardcoded-recent-comments-sidebar-widget-style-from-your-wordpress-theme/" rel="bookmark" title="January 31, 2010">How To Remove Inline Hardcoded Recent Comments Sidebar Widget Style From Your WordPress Theme</a></li><li><a
href="http://beerpla.net/2012/04/13/how-to-fix-incomplete-wordpress-wxr-exports/" rel="bookmark" title="April 13, 2012">How To Fix Incomplete WordPress (WXR) Exports</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2010%2F01%2F15%2Ffollow-up-to-loading-css-and-js-conditionally%2F&amp;title=Follow-up%20To%20Loading%20CSS%20And%20JS%20Conditionally" id="wpa2a_12"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2010/01/15/follow-up-to-loading-css-and-js-conditionally/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>[Web Dev] Browser Breakdown Stats+Charts From Plaxo.com For December 2009 And Thoughts</title><link>http://beerpla.net/2010/01/11/web-dev-browser-breakdown-statscharts-from-plaxo-com-for-december-2009-and-thoughts/</link> <comments>http://beerpla.net/2010/01/11/web-dev-browser-breakdown-statscharts-from-plaxo-com-for-december-2009-and-thoughts/#comments</comments> <pubDate>Mon, 11 Jan 2010 18:00:00 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Firefox]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Stuff]]></category> <category><![CDATA[2009]]></category> <category><![CDATA[breakdown]]></category> <category><![CDATA[browser]]></category> <category><![CDATA[chart]]></category> <category><![CDATA[chrome]]></category> <category><![CDATA[december]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[ie]]></category> <category><![CDATA[internet explorer]]></category> <category><![CDATA[mozilla]]></category> <category><![CDATA[opera]]></category> <category><![CDATA[opera mini]]></category> <category><![CDATA[piechart]]></category> <category><![CDATA[plaxo]]></category> <category><![CDATA[statistics]]></category> <category><![CDATA[stats]]></category> <guid
isPermaLink="false">http://beerpla.net/2010/01/11/web-dev-browser-breakdown-statscharts-from-plaxo-com-for-december-2009-and-thoughts/</guid> <description><![CDATA[<p>It&#039;s always important to know for developers what browsers they are developing for, who dominates the market, and what the current trends are.</p><p>I have gotten my hands on the Plaxo.com visitors&#039; browser stats for December of 2009.</p><p>This information is valuable because Plaxo has a relatively general demographics, as it&#039;s not a site only geeks or only moms visit, and the statistics tends to not be skewed. Therefore, as you can see, Firefox doesn&#039;t occupy the same share as you might see on a techy site (on this site, more than 50% of users visit in Firefox).</p><p>Also, since Plaxo has a couple million monthly visitors and therefore a couple million data points, statistically speaking these numbers are relatively ...<div
class=clear></div> <a
href="http://beerpla.net/2010/01/11/web-dev-browser-breakdown-statscharts-from-plaxo-com-for-december-2009-and-thoughts/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[</p><p>It&#039;s always important to know for developers what browsers they are developing for, who dominates the market, and what the current trends are.</p><p>I have gotten my hands on the Plaxo.com visitors&#039; browser stats for December of 2009.</p><p>This information is valuable because Plaxo has a relatively general demographics, as it&#039;s not a site only geeks or only moms visit, and the statistics tends to not be skewed. Therefore, as you can see, Firefox doesn&#039;t occupy the same share as you might see on a techy site (on this site, more than 50% of users visit in Firefox).</p><p>Also, since Plaxo has a couple million monthly visitors and therefore a couple million data points, statistically speaking these numbers are relatively accurate.</p><p>Without further ado, here is the data, with some spiffy charts.</p><h2>Overall Browser Breakdown For December 2009</h2><div
align="center"><table
border="0" cellspacing="0" cellpadding="0" align="center"><tbody><tr><td
width="170">Internet Explorer</td><td
width="171">64.00%</td></tr><tr><td>Firefox</td><td>23.60%</td></tr><tr><td>Safari</td><td>6.20%</td></tr><tr><td>Chrome</td><td>4.60%</td></tr><tr><td>Opera</td><td>0.60%</td></tr><tr><td>Mozilla</td><td>0.30%</td></tr><tr><td>Mozilla Compatible Agent</td><td>0.10%</td></tr><tr><td>Opera Mini</td><td>0.10%</td></tr><tr><td>BlackBerry9530</td><td>0.10%</td></tr><tr><td>BlackBerry9000</td><td>0.10%</td></tr></tbody></table></div><p><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="Overall Browser Breakdown For December 2009" alt="Overall Browser Breakdown For December 2009" src="http://beerpla.net/wp-content/uploads/d20534bd5016_10C3/image.png" width="705" height="486" /></p><p>&#160;</p><h2>Internet Explorer Version Breakdown For December 2009</h2><p>Some numbers here have a value of 0.00% which means they&#039;ve been rounded down and have really low numbers. The order is still correct though.</p><div
align="center"><table
border="0" cellspacing="0" cellpadding="0" align="center"><tbody><tr><td
width="170">IE Version</td><td
width="171">%</td></tr><tr><td>7</td><td>65.90%</td></tr><tr><td>6</td><td>17.20%</td></tr><tr><td>8</td><td>16.90%</td></tr><tr><td>5.5</td><td>0.00%</td></tr><tr><td>999.1</td><td>0.00%</td></tr><tr><td>5.01</td><td>0.00%</td></tr><tr><td>5</td><td>0.00%</td></tr><tr><td>4.01</td><td>0.00%</td></tr><tr><td>6.1</td><td>0.00%</td></tr><tr><td>6.5</td><td>0.00%</td></tr></tbody></table></div><p><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="Internet Explorer Version Breakdown For December 2009" alt="Internet Explorer Version Breakdown For December 2009" src="http://beerpla.net/wp-content/uploads/d20534bd5016_10C3/image_3.png" width="705" height="486" /></p><div>&#160;</div><h2>Firefox Version Breakdown For December 2009</h2><div
align="center"><table
border="0" cellspacing="0" cellpadding="0" align="center"><tbody><tr><td
width="170">3.5.5</td><td
width="171">37.30%</td></tr><tr><td>3.5.6</td><td>27.00%</td></tr><tr><td>3.0.15</td><td>12.80%</td></tr><tr><td>3.0.16</td><td>7.70%</td></tr><tr><td>3.5.3</td><td>1.80%</td></tr><tr><td>3.5.2</td><td>1.30%</td></tr><tr><td>2.0.0.20</td><td>1.50%</td></tr><tr><td>3.6</td><td>0.80%</td></tr><tr><td>3.0.13</td><td>0.60%</td></tr><tr><td>3.0.10</td><td>0.80%</td></tr></tbody></table></div><p><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="Firefox Version Breakdown For December 2009" alt="Firefox Version Breakdown For December 2009" src="http://beerpla.net/wp-content/uploads/d20534bd5016_10C3/image_4.png" width="705" height="486" /></p><p>&#160;</p><h2>Thoughts</h2><ul><li>Internet Explorer is doing remarkably well &#8211; it is still most definitely the primary browser, so testing it should be planned accordingly.</li><li>Internet Explorer 7 is by far the most popular version with 65.9% of all IE versions, followed by IE6 at 17.2% (wtf??), and only then IE8 at 16.9%. This definitely came as a surprise to me &#8211; both in how popular IE7 still is and how pathetic Microsoft&#039;s efforts to upgrade Windows users up from IE6 have been.</li><li>Safari and Chrome are neck and neck at 6.20% and 4.6% respectively, with Chrome gaining rapidly.</li><li>Opera is doing undeservedly badly &#8211; 0.6%. That makes me sad.</li><li>IE 999.1? Interesting. I wonder if it&#039;s some sort of an uber hacked version.</li><li>And, instead of conclusion: damn you, IE6! Why can&#039;t you die already?</li></ul><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=%5BWeb+Dev%5D+Browser+Breakdown+Stats%2BCharts+From+Plaxo.com+For+December+2009+And+Thoughts&amp;link=http://beerpla.net/2010/01/11/web-dev-browser-breakdown-statscharts-from-plaxo-com-for-december-2009-and-thoughts/&amp;notes=%20%20It%27s%20always%20important%20to%20know%20for%20developers%20what%20browsers%20they%20are%20developing%20for%2C%20who%20dominates%20the%20market%2C%20and%20what%20the%20current%20trends%20are.%20%20I%20have%20gotten%20my%20hands%20on%20the%20Plaxo.com%20visitors%27%20browser%20stats%20for%20December%20of%202009.%20%20This%20information%20is%20valuable%20because%20Plaxo%20has%20a%20relatively%20general&amp;short_link=http://bit.ly/btJtGJ&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=%5BWeb+Dev%5D+Browser+Breakdown+Stats%2BCharts+From+Plaxo.com+For+December+2009+And+Thoughts&amp;link=http://beerpla.net/2010/01/11/web-dev-browser-breakdown-statscharts-from-plaxo-com-for-december-2009-and-thoughts/&amp;notes=%20%20It%27s%20always%20important%20to%20know%20for%20developers%20what%20browsers%20they%20are%20developing%20for%2C%20who%20dominates%20the%20market%2C%20and%20what%20the%20current%20trends%20are.%20%20I%20have%20gotten%20my%20hands%20on%20the%20Plaxo.com%20visitors%27%20browser%20stats%20for%20December%20of%202009.%20%20This%20information%20is%20valuable%20because%20Plaxo%20has%20a%20relatively%20general&amp;short_link=http://bit.ly/btJtGJ&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=%5BWeb+Dev%5D+Browser+Breakdown+Stats%2BCharts+From+Plaxo.com+For+December+2009+And+Thoughts&amp;link=http://beerpla.net/2010/01/11/web-dev-browser-breakdown-statscharts-from-plaxo-com-for-december-2009-and-thoughts/&amp;notes=%20%20It%27s%20always%20important%20to%20know%20for%20developers%20what%20browsers%20they%20are%20developing%20for%2C%20who%20dominates%20the%20market%2C%20and%20what%20the%20current%20trends%20are.%20%20I%20have%20gotten%20my%20hands%20on%20the%20Plaxo.com%20visitors%27%20browser%20stats%20for%20December%20of%202009.%20%20This%20information%20is%20valuable%20because%20Plaxo%20has%20a%20relatively%20general&amp;short_link=http://bit.ly/btJtGJ&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=%5BWeb+Dev%5D+Browser+Breakdown+Stats%2BCharts+From+Plaxo.com+For+December+2009+And+Thoughts&amp;link=http://beerpla.net/2010/01/11/web-dev-browser-breakdown-statscharts-from-plaxo-com-for-december-2009-and-thoughts/&amp;notes=%20%20It%27s%20always%20important%20to%20know%20for%20developers%20what%20browsers%20they%20are%20developing%20for%2C%20who%20dominates%20the%20market%2C%20and%20what%20the%20current%20trends%20are.%20%20I%20have%20gotten%20my%20hands%20on%20the%20Plaxo.com%20visitors%27%20browser%20stats%20for%20December%20of%202009.%20%20This%20information%20is%20valuable%20because%20Plaxo%20has%20a%20relatively%20general&amp;short_link=http://bit.ly/btJtGJ&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=%5BWeb+Dev%5D+Browser+Breakdown+Stats%2BCharts+From+Plaxo.com+For+December+2009+And+Thoughts&amp;link=http://beerpla.net/2010/01/11/web-dev-browser-breakdown-statscharts-from-plaxo-com-for-december-2009-and-thoughts/&amp;notes=%20%20It%27s%20always%20important%20to%20know%20for%20developers%20what%20browsers%20they%20are%20developing%20for%2C%20who%20dominates%20the%20market%2C%20and%20what%20the%20current%20trends%20are.%20%20I%20have%20gotten%20my%20hands%20on%20the%20Plaxo.com%20visitors%27%20browser%20stats%20for%20December%20of%202009.%20%20This%20information%20is%20valuable%20because%20Plaxo%20has%20a%20relatively%20general&amp;short_link=http://bit.ly/btJtGJ&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=%5BWeb+Dev%5D+Browser+Breakdown+Stats%2BCharts+From+Plaxo.com+For+December+2009+And+Thoughts&amp;link=http://beerpla.net/2010/01/11/web-dev-browser-breakdown-statscharts-from-plaxo-com-for-december-2009-and-thoughts/&amp;notes=%20%20It%27s%20always%20important%20to%20know%20for%20developers%20what%20browsers%20they%20are%20developing%20for%2C%20who%20dominates%20the%20market%2C%20and%20what%20the%20current%20trends%20are.%20%20I%20have%20gotten%20my%20hands%20on%20the%20Plaxo.com%20visitors%27%20browser%20stats%20for%20December%20of%202009.%20%20This%20information%20is%20valuable%20because%20Plaxo%20has%20a%20relatively%20general&amp;short_link=http://bit.ly/btJtGJ&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=%5BWeb+Dev%5D+Browser+Breakdown+Stats%2BCharts+From+Plaxo.com+For+December+2009+And+Thoughts&amp;link=http://beerpla.net/2010/01/11/web-dev-browser-breakdown-statscharts-from-plaxo-com-for-december-2009-and-thoughts/&amp;notes=%20%20It%27s%20always%20important%20to%20know%20for%20developers%20what%20browsers%20they%20are%20developing%20for%2C%20who%20dominates%20the%20market%2C%20and%20what%20the%20current%20trends%20are.%20%20I%20have%20gotten%20my%20hands%20on%20the%20Plaxo.com%20visitors%27%20browser%20stats%20for%20December%20of%202009.%20%20This%20information%20is%20valuable%20because%20Plaxo%20has%20a%20relatively%20general&amp;short_link=http://bit.ly/btJtGJ&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=%5BWeb%20Dev%5D%20Browser%20Breakdown%20Stats%2BCharts%20From%20Plaxo.com%20For%20December%202009%20And%20Thoughts&amp;link=http://beerpla.net/2010/01/11/web-dev-browser-breakdown-statscharts-from-plaxo-com-for-december-2009-and-thoughts/&amp;notes=%20%20It%27s%20always%20important%20to%20know%20for%20developers%20what%20browsers%20they%20are%20developing%20for%2C%20who%20dominates%20the%20market%2C%20and%20what%20the%20current%20trends%20are.%20%20I%20have%20gotten%20my%20hands%20on%20the%20Plaxo.com%20visitors%27%20browser%20stats%20for%20December%20of%202009.%20%20This%20information%20is%20valuable%20because%20Plaxo%20has%20a%20relatively%20general&amp;short_link=http://bit.ly/btJtGJ&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/05/13/firefox-being-slow-especially-switching-tabs-high-cpu-load-memory-problems-are-you-using-firecookie-for-firebug/" rel="bookmark" title="May 13, 2009">Firefox Being Slow, Especially Switching Tabs, High CPU Load, Memory Problems? Are You Using Firecookie For Firebug?</a></li><li><a
href="http://beerpla.net/2011/06/13/goodbye-outlook-i-dont-need-you-anymore-gmail-now-lets-you-paste-images-directly-from-clipboard/" rel="bookmark" title="June 13, 2011">[Updated x3] Goodbye Outlook, I Don&#039;t Need You Anymore &#8211; Gmail Now Lets You Paste Images Directly From Clipboard</a></li><li><a
href="http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/" rel="bookmark" title="November 21, 2009">Meet Firefox For Mobile [Video + Feature Highlights + More Info]</a></li><li><a
href="http://beerpla.net/2009/10/29/modern-day-frame-busting-with-x-frame-options-and-this-content-cannot-be-displayed-in-a-frame-warnings/" rel="bookmark" title="October 29, 2009">Modern-Day Frame Busting With X-FRAME-OPTIONS And &quot;This content cannot be displayed in a frame&quot; Warnings</a></li><li><a
href="http://beerpla.net/2006/07/15/converting-from-cvs-to-svn-developers-notes-and-why-svn-is-better/" rel="bookmark" title="July 15, 2006">Converting from CVS to SVN: Developer&#039;s Notes And Why SVN Is Better</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2010%2F01%2F11%2Fweb-dev-browser-breakdown-statscharts-from-plaxo-com-for-december-2009-and-thoughts%2F&amp;title=%5BWeb%20Dev%5D%20Browser%20Breakdown%20Stats%2BCharts%20From%20Plaxo.com%20For%20December%202009%20And%20Thoughts" id="wpa2a_14"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2010/01/11/web-dev-browser-breakdown-statscharts-from-plaxo-com-for-december-2009-and-thoughts/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How To Fix Intermittent MySQL Errcode 13 Errors On Windows</title><link>http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/</link> <comments>http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comments</comments> <pubDate>Tue, 05 Jan 2010 10:49:33 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Databases]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[13]]></category> <category><![CDATA[errcode]]></category> <category><![CDATA[errcode 13]]></category> <category><![CDATA[error]]></category> <category><![CDATA[mcafee]]></category> <category><![CDATA[microsoft security essentials]]></category> <category><![CDATA[myd]]></category> <category><![CDATA[myi]]></category> <category><![CDATA[myisam]]></category> <category><![CDATA[windows]]></category> <category><![CDATA[Wordpress]]></category> <guid
isPermaLink="false">http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/</guid> <description><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" title="13" alt="13" align="left" src="http://beerpla.net/wp-content/uploads/HowToFixIntermittentMySQLErrcode13Errors_1A77/image.png" width="150" height="150" /></p><h2>The Problem</h2><p>I&#039;ve had MySQL on my Windows 7 laptop for a bit (as part of <a
href="http://www.wampserver.com/en/" rel="nofollow">wampserver</a>), mostly for local offline WordPress development.</p><p>However, even though MySQL is relatively stable, I&#039;ve been observing a vast quantity of intermittent MySQL errors, as reported by WordPress in the PHP error log (C:\wamp\logs\php_error.log). Here are some examples:</p><div
class="wp_syntax"><div
class="code"><pre>[05-Jan-2010 09:47:51] WordPress database error Error on delete of
'C:\Windows\TEMP\#sql17e0_1a2_6.MYD' (Errcode: 13) for query SELECT t.*, tt.*
FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON tt.term_id = t.term_id
INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id =
tt.term_taxonomy_id WHERE tt.taxonomy IN ('category') AND tr.object_id IN (3)
ORDER BY t.name ASC made by require, require_once, include, get_footer,
locate_template, load_template, require_once, dynamic_sidebar,
call_user_func_array, widget_rrm_recent_posts, RecentPosts-&#38;gt;execute,
ppl_expand_template, </pre></div>...<div
class=clear></div> <a
href="http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></div>]]></description> <content:encoded><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" title="13" alt="13" align="left" src="http://beerpla.net/wp-content/uploads/HowToFixIntermittentMySQLErrcode13Errors_1A77/image.png" width="150" height="150" /></p><h2>The Problem</h2><p>I&#039;ve had MySQL on my Windows 7 laptop for a bit (as part of <a
href="http://www.wampserver.com/en/" rel="nofollow">wampserver</a>), mostly for local offline WordPress development.</p><p>However, even though MySQL is relatively stable, I&#039;ve been observing a vast quantity of intermittent MySQL errors, as reported by WordPress in the PHP error log (C:\wamp\logs\php_error.log). Here are some examples:</p><div
class="wp_syntax"><div
class="code"><pre>[05-Jan-2010 09:47:51] WordPress database error Error on delete of
'C:\Windows\TEMP\#sql17e0_1a2_6.MYD' (Errcode: 13) for query SELECT t.*, tt.*
FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON tt.term_id = t.term_id
INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id =
tt.term_taxonomy_id WHERE tt.taxonomy IN ('category') AND tr.object_id IN (3)
ORDER BY t.name ASC made by require, require_once, include, get_footer,
locate_template, load_template, require_once, dynamic_sidebar,
call_user_func_array, widget_rrm_recent_posts, RecentPosts-&amp;gt;execute,
ppl_expand_template, otf_categorylinks, get_the_category, wp_get_object_terms
&nbsp;
[05-Jan-2010 09:50:42] WordPress database error Error on delete of
'C:\Windows\TEMP\#sql17e0_1b0_0.MYD' (Errcode: 13) for query  SELECT
SQL_CALC_FOUND_ROWS  wp_posts.* FROM wp_posts  INNER JOIN wp_term_relationships
ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_term_taxonomy ON
(wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id)
WHERE 1=1  AND wp_term_taxonomy.taxonomy = 'category' AND
wp_term_taxonomy.term_id IN ('3') AND wp_posts.post_type = 'post' AND
(wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private') GROUP BY
wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 10 made by require, wp,
WP-&amp;gt;main, WP-&amp;gt;query_posts, WP_Query-&amp;gt;query, WP_Query-&amp;gt;get_posts</pre></div></div><p>The important part here is &quot;Errcode: 13&quot;, which is a file access error. The MySQL daemon process (mysqld.exe) randomly cannot access temporary tables it itself creates, which causes these errors and failed queries.</p><h2>Digging Around</h2><p>After looking around and finding nothing obvious, I tracked down a few forum posts mentioning the same issue.</p><p>Here is the gist &#8211; the problem is caused by an anti-virus program that is clearly not working properly.</p><p>The one mentioned on the forums is McAfee (big surprise, right? McAfee is a piece of junk &#8211; probably the worst anti-virus I&#039;ve ever tried). In my case, however, it was the recently installed freeware security program from Microsoft called <a
href="http://www.microsoft.com/Security_Essentials/" rel="nofollow">Microsoft Security Essentials</a>, highly praised but problematic in this case nonetheless.</p><p>After thinking about it, I am confident that these security programs don&#039;t actually purposely prohibit access to the files MySQL creates. Instead, they lock these files for the duration of the check, so that the system doesn&#039;t get infected before they are approved. If you notice, the problems are related to temporary tables, created by MySQL on the fly. MySQL probably has a very short access timeout for these files, for performance reasons, and because it doesn&#039;t get this access fast enough, it considers it a failure (file deletions are failing, as you can see in the log).</p><h2>The Solution</h2><p>Now onto fixing the problem. The solution is to have Microsoft Security Essentials, in my case, or whatever your security program may be ignore these files.</p><p>You can block the whole Temp directory from being checked. It is not a good idea, as viruses can trickle down to that location and bypass your anti-virus:</p><p><a
href="http://beerpla.net/wp-content/uploads/HowToFixIntermittentMySQLErrcode13Errors_1A77/image_3.png" class="lightview" rel="gallery['1313']" title="Ignore Windows Temp dir in Microsoft Security Essentials"><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="Ignore Windows Temp dir in Microsoft Security Essentials" alt="Ignore Windows Temp dir in Microsoft Security Essentials" src="http://beerpla.net/wp-content/uploads/HowToFixIntermittentMySQLErrcode13Errors_1A77/image_thumb.png" width="700" height="545" /></a></p><p>Instead, you should just ignore by file extension: *.MYI and *.MYD. MySQL uses files with these extensions for its MyISAM table types. Using this approach is obviously safer as it doesn&#039;t single out a directory and instead targets specific files:</p><p><a
href="http://beerpla.net/wp-content/uploads/HowToFixIntermittentMySQLErrcode13Errors_1A77/image_4.png" class="lightview" rel="gallery['1313']" title="Ignore *.MYI and *.MYD in Microsoft Security Essentials"><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="Ignore *.MYI and *.MYD in Microsoft Security Essentials" alt="Ignore *.MYI and *.MYD in Microsoft Security Essentials" src="http://beerpla.net/wp-content/uploads/HowToFixIntermittentMySQLErrcode13Errors_1A77/image_thumb_3.png" width="700" height="545" /></a></p><p>After I applied either of these exclusions, all MySQL Error 13 problems went away immediately.</p><h2>Conclusion</h2><p>The intermittent Error 13 problem on Windows is caused by 2 otherwise legitimate processes which, when mixed together, end up breaking MySQL.</p><p>Is this entirely the fault of the antivirus programs? Inadvertently, perhaps so.</p><p>Could MySQL be a bit smarter in this scenario? Perhaps so as well.</p><p>What do you, MySQL pros, think?</p><div
class='post_blob_1'>We offer guaranteed success in <a
href="http://www.test-king.com/exams/646-671.htm">646-671</a> as well as <a
href="http://www.test-king.com/exams/646-985.htm">646-985</a> exam using world’s best quality <a
href="http://www.test-king.com/exams/E20-340.htm">E20-340</a> training resources.</div><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Intermittent+MySQL+Errcode+13+Errors+On+Windows&amp;link=http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/&amp;notes=%20%0D%0AThe%20Problem%0D%0AI%27ve%20had%20MySQL%20on%20my%20Windows%207%20laptop%20for%20a%20bit%20%28as%20part%20of%20wampserver%29%2C%20mostly%20for%20local%20offline%20Wordpress%20development.%0D%0AHowever%2C%20even%20though%20MySQL%20is%20relatively%20stable%2C%20I%27ve%20been%20observing%20a%20vast%20quantity%20of%20intermittent%20MySQL%20errors%2C%20as%20reported%20by%20Wordpress%20in%20the%20PHP%20error%20log%20%28&amp;short_link=http://bit.ly/cJxOPu&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Intermittent+MySQL+Errcode+13+Errors+On+Windows&amp;link=http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/&amp;notes=%20%0D%0AThe%20Problem%0D%0AI%27ve%20had%20MySQL%20on%20my%20Windows%207%20laptop%20for%20a%20bit%20%28as%20part%20of%20wampserver%29%2C%20mostly%20for%20local%20offline%20Wordpress%20development.%0D%0AHowever%2C%20even%20though%20MySQL%20is%20relatively%20stable%2C%20I%27ve%20been%20observing%20a%20vast%20quantity%20of%20intermittent%20MySQL%20errors%2C%20as%20reported%20by%20Wordpress%20in%20the%20PHP%20error%20log%20%28&amp;short_link=http://bit.ly/cJxOPu&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Intermittent+MySQL+Errcode+13+Errors+On+Windows&amp;link=http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/&amp;notes=%20%0D%0AThe%20Problem%0D%0AI%27ve%20had%20MySQL%20on%20my%20Windows%207%20laptop%20for%20a%20bit%20%28as%20part%20of%20wampserver%29%2C%20mostly%20for%20local%20offline%20Wordpress%20development.%0D%0AHowever%2C%20even%20though%20MySQL%20is%20relatively%20stable%2C%20I%27ve%20been%20observing%20a%20vast%20quantity%20of%20intermittent%20MySQL%20errors%2C%20as%20reported%20by%20Wordpress%20in%20the%20PHP%20error%20log%20%28&amp;short_link=http://bit.ly/cJxOPu&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Intermittent+MySQL+Errcode+13+Errors+On+Windows&amp;link=http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/&amp;notes=%20%0D%0AThe%20Problem%0D%0AI%27ve%20had%20MySQL%20on%20my%20Windows%207%20laptop%20for%20a%20bit%20%28as%20part%20of%20wampserver%29%2C%20mostly%20for%20local%20offline%20Wordpress%20development.%0D%0AHowever%2C%20even%20though%20MySQL%20is%20relatively%20stable%2C%20I%27ve%20been%20observing%20a%20vast%20quantity%20of%20intermittent%20MySQL%20errors%2C%20as%20reported%20by%20Wordpress%20in%20the%20PHP%20error%20log%20%28&amp;short_link=http://bit.ly/cJxOPu&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Intermittent+MySQL+Errcode+13+Errors+On+Windows&amp;link=http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/&amp;notes=%20%0D%0AThe%20Problem%0D%0AI%27ve%20had%20MySQL%20on%20my%20Windows%207%20laptop%20for%20a%20bit%20%28as%20part%20of%20wampserver%29%2C%20mostly%20for%20local%20offline%20Wordpress%20development.%0D%0AHowever%2C%20even%20though%20MySQL%20is%20relatively%20stable%2C%20I%27ve%20been%20observing%20a%20vast%20quantity%20of%20intermittent%20MySQL%20errors%2C%20as%20reported%20by%20Wordpress%20in%20the%20PHP%20error%20log%20%28&amp;short_link=http://bit.ly/cJxOPu&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Intermittent+MySQL+Errcode+13+Errors+On+Windows&amp;link=http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/&amp;notes=%20%0D%0AThe%20Problem%0D%0AI%27ve%20had%20MySQL%20on%20my%20Windows%207%20laptop%20for%20a%20bit%20%28as%20part%20of%20wampserver%29%2C%20mostly%20for%20local%20offline%20Wordpress%20development.%0D%0AHowever%2C%20even%20though%20MySQL%20is%20relatively%20stable%2C%20I%27ve%20been%20observing%20a%20vast%20quantity%20of%20intermittent%20MySQL%20errors%2C%20as%20reported%20by%20Wordpress%20in%20the%20PHP%20error%20log%20%28&amp;short_link=http://bit.ly/cJxOPu&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Intermittent+MySQL+Errcode+13+Errors+On+Windows&amp;link=http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/&amp;notes=%20%0D%0AThe%20Problem%0D%0AI%27ve%20had%20MySQL%20on%20my%20Windows%207%20laptop%20for%20a%20bit%20%28as%20part%20of%20wampserver%29%2C%20mostly%20for%20local%20offline%20Wordpress%20development.%0D%0AHowever%2C%20even%20though%20MySQL%20is%20relatively%20stable%2C%20I%27ve%20been%20observing%20a%20vast%20quantity%20of%20intermittent%20MySQL%20errors%2C%20as%20reported%20by%20Wordpress%20in%20the%20PHP%20error%20log%20%28&amp;short_link=http://bit.ly/cJxOPu&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20To%20Fix%20Intermittent%20MySQL%20Errcode%2013%20Errors%20On%20Windows&amp;link=http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/&amp;notes=%20%0D%0AThe%20Problem%0D%0AI%27ve%20had%20MySQL%20on%20my%20Windows%207%20laptop%20for%20a%20bit%20%28as%20part%20of%20wampserver%29%2C%20mostly%20for%20local%20offline%20Wordpress%20development.%0D%0AHowever%2C%20even%20though%20MySQL%20is%20relatively%20stable%2C%20I%27ve%20been%20observing%20a%20vast%20quantity%20of%20intermittent%20MySQL%20errors%2C%20as%20reported%20by%20Wordpress%20in%20the%20PHP%20error%20log%20%28&amp;short_link=http://bit.ly/cJxOPu&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2010/03/21/how-to-diagnose-and-fix-incorrect-post-comment-counts-in-wordpress/" rel="bookmark" title="March 21, 2010">How To Diagnose And Fix Incorrect Post Comment Counts In WordPress</a></li><li><a
href="http://beerpla.net/2008/04/15/mysql-conference-liveblogging-explain-demystified-tuesday-200p/" rel="bookmark" title="April 15, 2008">MySQL Conference Liveblogging: EXPLAIN Demystified (Tuesday 2:00PM)</a></li><li><a
href="http://beerpla.net/2009/02/17/swapping-column-values-in-mysql/" rel="bookmark" title="February 17, 2009">Swapping Column Values in MySQL</a></li><li><a
href="http://beerpla.net/2009/05/11/mysql-deletingupdating-rows-common-to-2-tables-speed-and-slave-lag-considerations/" rel="bookmark" title="May 11, 2009">[MySQL] Deleting/Updating Rows Common To 2 Tables &#8211; Speed And Slave Lag Considerations</a></li><li><a
href="http://beerpla.net/2008/04/16/mysql-conference-liveblogging-benchmarking-tools-wednesday-425pm/" rel="bookmark" title="April 16, 2008">MySQL Conference Liveblogging: Benchmarking Tools (Wednesday 4:25PM)</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2010%2F01%2F05%2Fhow-to-fix-intermittent-mysql-errcode-13-errors-on-windows%2F&amp;title=How%20To%20Fix%20Intermittent%20MySQL%20Errcode%2013%20Errors%20On%20Windows" id="wpa2a_16"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/feed/</wfw:commentRss> <slash:comments>12</slash:comments> </item> <item><title>How To Make Firebug&#039;s JavaScript Debugger Break Inside Dynamic JavaScript Using The &#039;debugger&#039; Keyword (IE &amp; Chrome Too)</title><link>http://beerpla.net/2009/12/17/how-to-make-firebugs-javascript-debugger-break-inside-dynamic-javascript-using-the-debugger-keyword-ie-chrome-too/</link> <comments>http://beerpla.net/2009/12/17/how-to-make-firebugs-javascript-debugger-break-inside-dynamic-javascript-using-the-debugger-keyword-ie-chrome-too/#comments</comments> <pubDate>Thu, 17 Dec 2009 19:39:50 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[JavaScript]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[break]]></category> <category><![CDATA[breakpoint]]></category> <category><![CDATA[chrome]]></category> <category><![CDATA[debug]]></category> <category><![CDATA[debugger]]></category> <category><![CDATA[debugger keyword]]></category> <category><![CDATA[dynamic]]></category> <category><![CDATA[firebug]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[ie]]></category> <category><![CDATA[internet explorer]]></category> <category><![CDATA[keyword]]></category> <category><![CDATA[on-demand]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/12/17/how-to-make-firebugs-javascript-debugger-break-inside-dynamic-javascript-using-the-debugger-keyword-ie-chrome-too/</guid> <description><![CDATA[<p><a
href="http://beerpla.net/wp-content/uploads/HowToMakeFirebugsJavaScriptDebuggerBreak_13D41/image.png" class="lightview" rel="gallery['1303']" title="image"><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/HowToMakeFirebugsJavaScriptDebuggerBreak_13D41/image_thumb.png" width="150" height="147" /></a> As a backend developer, I don&#039;t get to work with JavaScript much anymore. However, from time to time, a project would come along that uses JavaScript (specifically, AJAX) to load some backend data on the fly. Of course, nothing works 100% right away<strong><font
size="5">*</font></strong>, so I would often have to tweak this JavaScript and massage it until it does what I need.</p><p>Here&#039;s where Firebug comes in with its JavaScript debugger. I&#039;m used to using a debugger in every language I deal with, so using Firebug is a no brainer. Since it supports breakpoints, stopping execution and inspecting local variables and the rest of the scope generally beats alerts and console.logs for me.</p><p>Here&#039;s what a typical breakpoint looks ...<div
class=clear></div> <a
href="http://beerpla.net/2009/12/17/how-to-make-firebugs-javascript-debugger-break-inside-dynamic-javascript-using-the-debugger-keyword-ie-chrome-too/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p><a
href="http://beerpla.net/wp-content/uploads/HowToMakeFirebugsJavaScriptDebuggerBreak_13D41/image.png" class="lightview" rel="gallery['1303']" title="image"><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/HowToMakeFirebugsJavaScriptDebuggerBreak_13D41/image_thumb.png" width="150" height="147" /></a> As a backend developer, I don&#039;t get to work with JavaScript much anymore. However, from time to time, a project would come along that uses JavaScript (specifically, AJAX) to load some backend data on the fly. Of course, nothing works 100% right away<strong><font
size="5">*</font></strong>, so I would often have to tweak this JavaScript and massage it until it does what I need.</p><p>Here&#039;s where Firebug comes in with its JavaScript debugger. I&#039;m used to using a debugger in every language I deal with, so using Firebug is a no brainer. Since it supports breakpoints, stopping execution and inspecting local variables and the rest of the scope generally beats alerts and console.logs for me.</p><p>Here&#039;s what a typical breakpoint looks like in Firebug:</p><p><a
href="http://beerpla.net/wp-content/uploads/HowToMakeFirebugsJavaScriptDebuggerBreak_13D41/image_3.png" class="lightview" rel="gallery['1303']" title="Firebug JavaScript breakpoint triggered"><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="Firebug JavaScript breakpoint triggered" alt="Firebug JavaScript breakpoint triggered" src="http://beerpla.net/wp-content/uploads/HowToMakeFirebugsJavaScriptDebuggerBreak_13D41/image_thumb_3.png" width="700" height="173" /></a></p><p>It&#039;s easy to set breakpoints in static scripts &#8211; just open the Scripts tab, select a JavaScript file from the dropdown menu, and click to the left of the wanted line number.</p><p>Then, when the page is reloaded, if your breakpoints are triggered, Firebug will pause script execution and transfer the control to you.</p><p><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="Setting Firebug JavaScript breakpoint" alt="Setting Firebug JavaScript breakpoint" src="http://beerpla.net/wp-content/uploads/HowToMakeFirebugsJavaScriptDebuggerBreak_13D41/image_4.png" width="593" height="179" /></p><p>In most cases, the method above is the only method of setting breakpoints you will ever need to use.</p><h2>The Problem With Dynamic JavaScript</h2><p>However, what if the JavaScript file where you need to set breakpoints is not static but instead dynamic (generated on the fly). If you set a breakpoint in this case and reload the page, the breakpoint will most likely disappear, especially if the JavaScript url is generated uniquely every time.</p><h2>The Solution</h2><p>If you have access to the source, the solution comes in the form of the</p><div
class="wp_syntax"><div
class="code"><pre>debugger;</pre></div></div><p>keyword. Just add it to your dynamic JavaScript generator or into any JavaScript file you have access to exactly where you want Firebug to break, and voila &#8211; it does.</p><p><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="JavaScript debugger keyword" alt="JavaScript debugger keyword" src="http://beerpla.net/wp-content/uploads/HowToMakeFirebugsJavaScriptDebuggerBreak_13D41/image_5.png" width="345" height="94" /></p><p>More so, this method also works in Google Chrome and <a
href="http://www.codestore.net/store.nsf/unid/DOMT-5UBUVW" rel="nofollow">IE (if you have Microsoft Script Debugger)</a>. Here is a screenshot of my Chrome Beta 4.0.266.0 triggering:</p><p><img
style="display: block; float: none; margin-left: auto; margin-right: auto" alt="Chrome JavaScript debugger" src="/for_www/chrome-js-debugger.png" /></p><p> I consider this feature relatively unpublished and therefore awesome because:</p><ul><li>it&#039;s hard to search for this specific meaning of the keyword &quot;debugger&quot; when Firebug itself is a debugger and it&#039;s a very popular word</li><li>nobody really reads documentation for Firebug, and even if they do, I haven&#039;t actually seen the debugger keyword mentioned</li><li>I didn&#039;t know about it until recently, even though I&#039;ve been using Firebug for years</li></ul><p>Of course, you need access to the code for this to work, so it&#039;s not going to work if you&#039;re trying to debug someone else&#039;s JavaScript.</p><p>And finally, don&#039;t forget to remove any traces of &#039;debugger&#039; from your code when you go live or your users will rightfully hunt you down.</p><h2>Credits And References:</h2><ul><li>suggested by a co-worker from <a
href="http://www.plaxo.com" rel="nofollow">Plaxo</a> &#8211; Russ. Thanks Russ!</li><li>some more interesting info at <a
href="http://stackoverflow.com/questions/858779/making-firebug-break-inside-dynamically-loaded-javascript" rel="nofollow">StackOverflow</a> and <a
href="http://devcenter.infragistics.com/Articles/ArticleTemplate.Aspx?ArticleID=2183" rel="nofollow">Infragistics</a>.</li></ul><p>Happy debugging!</p><p>(<strong><font
size="5">*</font></strong>) &#8211; if your project works 100% on the first pass, you must be either a magician or <a
href="http://stackoverflow.com/users/22656/jon-skeet" rel="nofollow">Jon Skeet</a> (<a
href="http://meta.stackoverflow.com/questions/9134/jon-skeet-facts" rel="nofollow">Jon Skeet Facts</a> &#8211; a-la Chuck Norris, a must read).</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Make+Firebug%27s+JavaScript+Debugger+Break+Inside+Dynamic+JavaScript+Using+The+%27debugger%27+Keyword+%28IE+%26amp%3B+Chrome+Too%29&amp;link=http://beerpla.net/2009/12/17/how-to-make-firebugs-javascript-debugger-break-inside-dynamic-javascript-using-the-debugger-keyword-ie-chrome-too/&amp;notes=%20As%20a%20backend%20developer%2C%20I%20don%27t%20get%20to%20work%20with%20JavaScript%20much%20anymore.%20However%2C%20from%20time%20to%20time%2C%20a%20project%20would%20come%20along%20that%20uses%20JavaScript%20%28specifically%2C%20AJAX%29%20to%20load%20some%20backend%20data%20on%20the%20fly.%20Of%20course%2C%20nothing%20works%20100%25%20right%20away%2A%2C%20so%20I%20would%20often%20have%20to%20tweak%20this%20JavaScript%20&amp;short_link=http://bit.ly/aUKYre&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Make+Firebug%27s+JavaScript+Debugger+Break+Inside+Dynamic+JavaScript+Using+The+%27debugger%27+Keyword+%28IE+%26amp%3B+Chrome+Too%29&amp;link=http://beerpla.net/2009/12/17/how-to-make-firebugs-javascript-debugger-break-inside-dynamic-javascript-using-the-debugger-keyword-ie-chrome-too/&amp;notes=%20As%20a%20backend%20developer%2C%20I%20don%27t%20get%20to%20work%20with%20JavaScript%20much%20anymore.%20However%2C%20from%20time%20to%20time%2C%20a%20project%20would%20come%20along%20that%20uses%20JavaScript%20%28specifically%2C%20AJAX%29%20to%20load%20some%20backend%20data%20on%20the%20fly.%20Of%20course%2C%20nothing%20works%20100%25%20right%20away%2A%2C%20so%20I%20would%20often%20have%20to%20tweak%20this%20JavaScript%20&amp;short_link=http://bit.ly/aUKYre&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Make+Firebug%27s+JavaScript+Debugger+Break+Inside+Dynamic+JavaScript+Using+The+%27debugger%27+Keyword+%28IE+%26amp%3B+Chrome+Too%29&amp;link=http://beerpla.net/2009/12/17/how-to-make-firebugs-javascript-debugger-break-inside-dynamic-javascript-using-the-debugger-keyword-ie-chrome-too/&amp;notes=%20As%20a%20backend%20developer%2C%20I%20don%27t%20get%20to%20work%20with%20JavaScript%20much%20anymore.%20However%2C%20from%20time%20to%20time%2C%20a%20project%20would%20come%20along%20that%20uses%20JavaScript%20%28specifically%2C%20AJAX%29%20to%20load%20some%20backend%20data%20on%20the%20fly.%20Of%20course%2C%20nothing%20works%20100%25%20right%20away%2A%2C%20so%20I%20would%20often%20have%20to%20tweak%20this%20JavaScript%20&amp;short_link=http://bit.ly/aUKYre&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Make+Firebug%27s+JavaScript+Debugger+Break+Inside+Dynamic+JavaScript+Using+The+%27debugger%27+Keyword+%28IE+%26amp%3B+Chrome+Too%29&amp;link=http://beerpla.net/2009/12/17/how-to-make-firebugs-javascript-debugger-break-inside-dynamic-javascript-using-the-debugger-keyword-ie-chrome-too/&amp;notes=%20As%20a%20backend%20developer%2C%20I%20don%27t%20get%20to%20work%20with%20JavaScript%20much%20anymore.%20However%2C%20from%20time%20to%20time%2C%20a%20project%20would%20come%20along%20that%20uses%20JavaScript%20%28specifically%2C%20AJAX%29%20to%20load%20some%20backend%20data%20on%20the%20fly.%20Of%20course%2C%20nothing%20works%20100%25%20right%20away%2A%2C%20so%20I%20would%20often%20have%20to%20tweak%20this%20JavaScript%20&amp;short_link=http://bit.ly/aUKYre&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Make+Firebug%27s+JavaScript+Debugger+Break+Inside+Dynamic+JavaScript+Using+The+%27debugger%27+Keyword+%28IE+%26amp%3B+Chrome+Too%29&amp;link=http://beerpla.net/2009/12/17/how-to-make-firebugs-javascript-debugger-break-inside-dynamic-javascript-using-the-debugger-keyword-ie-chrome-too/&amp;notes=%20As%20a%20backend%20developer%2C%20I%20don%27t%20get%20to%20work%20with%20JavaScript%20much%20anymore.%20However%2C%20from%20time%20to%20time%2C%20a%20project%20would%20come%20along%20that%20uses%20JavaScript%20%28specifically%2C%20AJAX%29%20to%20load%20some%20backend%20data%20on%20the%20fly.%20Of%20course%2C%20nothing%20works%20100%25%20right%20away%2A%2C%20so%20I%20would%20often%20have%20to%20tweak%20this%20JavaScript%20&amp;short_link=http://bit.ly/aUKYre&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Make+Firebug%27s+JavaScript+Debugger+Break+Inside+Dynamic+JavaScript+Using+The+%27debugger%27+Keyword+%28IE+%26amp%3B+Chrome+Too%29&amp;link=http://beerpla.net/2009/12/17/how-to-make-firebugs-javascript-debugger-break-inside-dynamic-javascript-using-the-debugger-keyword-ie-chrome-too/&amp;notes=%20As%20a%20backend%20developer%2C%20I%20don%27t%20get%20to%20work%20with%20JavaScript%20much%20anymore.%20However%2C%20from%20time%20to%20time%2C%20a%20project%20would%20come%20along%20that%20uses%20JavaScript%20%28specifically%2C%20AJAX%29%20to%20load%20some%20backend%20data%20on%20the%20fly.%20Of%20course%2C%20nothing%20works%20100%25%20right%20away%2A%2C%20so%20I%20would%20often%20have%20to%20tweak%20this%20JavaScript%20&amp;short_link=http://bit.ly/aUKYre&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Make+Firebug%27s+JavaScript+Debugger+Break+Inside+Dynamic+JavaScript+Using+The+%27debugger%27+Keyword+%28IE+%26amp%3B+Chrome+Too%29&amp;link=http://beerpla.net/2009/12/17/how-to-make-firebugs-javascript-debugger-break-inside-dynamic-javascript-using-the-debugger-keyword-ie-chrome-too/&amp;notes=%20As%20a%20backend%20developer%2C%20I%20don%27t%20get%20to%20work%20with%20JavaScript%20much%20anymore.%20However%2C%20from%20time%20to%20time%2C%20a%20project%20would%20come%20along%20that%20uses%20JavaScript%20%28specifically%2C%20AJAX%29%20to%20load%20some%20backend%20data%20on%20the%20fly.%20Of%20course%2C%20nothing%20works%20100%25%20right%20away%2A%2C%20so%20I%20would%20often%20have%20to%20tweak%20this%20JavaScript%20&amp;short_link=http://bit.ly/aUKYre&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20To%20Make%20Firebug%27s%20JavaScript%20Debugger%20Break%20Inside%20Dynamic%20JavaScript%20Using%20The%20%27debugger%27%20Keyword%20%28IE%20%26amp%3B%20Chrome%20Too%29&amp;link=http://beerpla.net/2009/12/17/how-to-make-firebugs-javascript-debugger-break-inside-dynamic-javascript-using-the-debugger-keyword-ie-chrome-too/&amp;notes=%20As%20a%20backend%20developer%2C%20I%20don%27t%20get%20to%20work%20with%20JavaScript%20much%20anymore.%20However%2C%20from%20time%20to%20time%2C%20a%20project%20would%20come%20along%20that%20uses%20JavaScript%20%28specifically%2C%20AJAX%29%20to%20load%20some%20backend%20data%20on%20the%20fly.%20Of%20course%2C%20nothing%20works%20100%25%20right%20away%2A%2C%20so%20I%20would%20often%20have%20to%20tweak%20this%20JavaScript%20&amp;short_link=http://bit.ly/aUKYre&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2010/01/13/wordpress-plugin-development-how-to-include-css-and-javascript-conditionally-and-only-when-needed-by-the-posts/" rel="bookmark" title="January 13, 2010">[WordPress Plugin Development] How To Include CSS and JavaScript Conditionally And Only When Needed By The Posts</a></li><li><a
href="http://beerpla.net/2010/01/31/heres-an-exclusive-10-off-nuspheres-phped-coupon-also-includes-nucoder-and-phpdoc-discount-code/" rel="bookmark" title="January 31, 2010">[Updated for 2012] Here&#039;s An Exclusive 10% Off NuSphere PHPEd Discount Coupon Code (Also Includes NuCoder And PHPDoc)</a></li><li><a
href="http://beerpla.net/2009/06/09/how-to-make-your-site-lightning-fast-by-compressing-deflategzip-your-html-javascript-css-xml-etc-in-apache/" rel="bookmark" title="June 9, 2009">How To Make Your Site Lightning Fast* By Compressing (deflate/gzip) Your HTML, Javascript, CSS, XML, etc In Apache</a></li><li><a
href="http://beerpla.net/2010/11/06/how-to-dynamically-increase-memory-limits-when-interfacing-with-wordpress-using-xml-rpc-windows-live-writer-etc/" rel="bookmark" title="November 6, 2010">How To Dynamically Increase Memory Limits When Interfacing With WordPress Using XML-RPC (Windows Live Writer, Etc)</a></li><li><a
href="http://beerpla.net/2012/04/13/how-to-fix-incomplete-wordpress-wxr-exports/" rel="bookmark" title="April 13, 2012">How To Fix Incomplete WordPress (WXR) Exports</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F12%2F17%2Fhow-to-make-firebugs-javascript-debugger-break-inside-dynamic-javascript-using-the-debugger-keyword-ie-chrome-too%2F&amp;title=How%20To%20Make%20Firebug%26%23039%3Bs%20JavaScript%20Debugger%20Break%20Inside%20Dynamic%20JavaScript%20Using%20The%20%26%23039%3Bdebugger%26%23039%3B%20Keyword%20%28IE%20%26amp%3B%20Chrome%20Too%29" id="wpa2a_18"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/12/17/how-to-make-firebugs-javascript-debugger-break-inside-dynamic-javascript-using-the-debugger-keyword-ie-chrome-too/feed/</wfw:commentRss> <slash:comments>15</slash:comments> </item> <item><title>Meet Firefox For Mobile [Video + Feature Highlights + More Info]</title><link>http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/</link> <comments>http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/#comments</comments> <pubDate>Sat, 21 Nov 2009 18:47:21 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Android]]></category> <category><![CDATA[Awesomeness]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[2009]]></category> <category><![CDATA[adblock]]></category> <category><![CDATA[add-ons]]></category> <category><![CDATA[december]]></category> <category><![CDATA[html 5]]></category> <category><![CDATA[location]]></category> <category><![CDATA[maemo]]></category> <category><![CDATA[mobile]]></category> <category><![CDATA[mozilla]]></category> <category><![CDATA[release date]]></category> <category><![CDATA[symbian]]></category> <category><![CDATA[video]]></category> <category><![CDATA[weave]]></category> <category><![CDATA[windows mobile]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/</guid> <description><![CDATA[<p><a
href="http://beerpla.net/wp-content/uploads/MeetFirefoxForMobileVIDEOSummary_8FC3/image.png" class="lightview" rel="gallery['1262']" title="image"><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/MeetFirefoxForMobileVIDEOSummary_8FC3/image_thumb.png" width="150" height="141" /></a> When I visited Mozilla&#039;s offices about 6 months ago, I saw a mobile testing station which included about 20-30 different phones lounging around, with their chargers plugged in. I knew something serious was coming soon. There were rumors about Firefox for Mobile for a while but nothing to really show for it. That was then…</p><p>Today, however, we know a lot more. Firefox for Mobile, codenamed Fennec, is coming next month (see More Info below) and looks very promising.</p><p>Here is a recent video of the Firefox&#039;s mobile and design teams discussing and showing the features of Mobile Firefox:</p><div
style="padding-bottom: 0px; padding-left: 0px; width: 425px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:71390ce9-82cf-46d5-9c60-ed340895f381" class="wlWriterEditableSmartContent"><div></div></div><h2>Feature Highlights</h2><p>For the busy folks, here are the highlights from the video:</p><ul><li>Mobile Firefox uses as much screen real estate</li>...<div
class=clear></div> <a
href="http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></ul>]]></description> <content:encoded><![CDATA[<p><a
href="http://beerpla.net/wp-content/uploads/MeetFirefoxForMobileVIDEOSummary_8FC3/image.png" class="lightview" rel="gallery['1262']" title="image"><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/MeetFirefoxForMobileVIDEOSummary_8FC3/image_thumb.png" width="150" height="141" /></a> When I visited Mozilla&#039;s offices about 6 months ago, I saw a mobile testing station which included about 20-30 different phones lounging around, with their chargers plugged in. I knew something serious was coming soon. There were rumors about Firefox for Mobile for a while but nothing to really show for it. That was then…</p><p>Today, however, we know a lot more. Firefox for Mobile, codenamed Fennec, is coming next month (see More Info below) and looks very promising.</p><p>Here is a recent video of the Firefox&#039;s mobile and design teams discussing and showing the features of Mobile Firefox:</p><div
style="padding-bottom: 0px; padding-left: 0px; width: 425px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:71390ce9-82cf-46d5-9c60-ed340895f381" class="wlWriterEditableSmartContent"><div><object
width="425" height="355"><param
name="movie" value="http://www.youtube.com/v/jpuDJfTr8Yc&amp;hl=en"></param><embed
src="http://www.youtube.com/v/jpuDJfTr8Yc&amp;hl=en" type="application/x-shockwave-flash" width="425" height="355"></embed></object></div></div><h2>Feature Highlights</h2><p>For the busy folks, here are the highlights from the video:</p><ul><li>Mobile Firefox uses as much screen real estate as possible to show the page</li><li>swipe screen left to see the open tab list</li><li>swipe right to see navigation buttons</li><li>awesome bar knows what you&#039;re looking for as you start typing, just like in your desktop Firefox</li><li>sync using Mozilla Weave &#8211; seamless sync desktop and mobile, including history and open tabs</li><li>location based browsing &#8211; allows sharing your location with websites automatically (obviously, with your approval only &#8211; excellent!)</li><li>security and privacy are the #1 priority</li><li>mobile add-ons &#8211; they&#039;re trying to create the same development platform that the desktop Firefox already uses. Yup, that means AdBlock is coming.</li><li>HTML 5 support</li></ul><p>And some more from Mozilla and <a
href="http://gigaom.com/2009/10/19/on-mobile-phones-firefoxs-big-bet-is-nokia-android/" rel="nofollow">GigaOM&#039;s interview with Mozilla CEO John Lilly</a>:</p><ul><li>support for Javascript, CSS, Flash, SVG, video, and audio</li><li>based on Firefox 3.6 engine which is not even available for desktops yet</li><li>Firefox for Mobile will initially support Windows Mobile and Maemo, followed by Android and Symbian</li><ul><li>surely, iPhone owners are out of luck as Apple will never allow a competing browser app on their market. Great &#8211; another reason to switch to Android</li><li>Blackberry users are also out of luck as BB uses Java</li><li>Android also uses Java and initially Mozilla ignored it. However, later the Android NDK came out, which allows building of applications in C/C++ and this fact changed everything</li></ul><li>the first public releases should be available in December 2009, according to <a
href="http://www.top10.co.uk/mobilephones/news/2009/11/firefox_mobile_available_december/" rel="nofollow">this article</a>.</li></ul><p>Some useful linkage:</p><ul><li><a
href="https://wiki.mozilla.org/Mobile" rel="nofollow">Mozilla&#039;s own Mobile wiki page</a></li><li><a
href="https://wiki.mozilla.org/Mobile/FeatureList" rel="nofollow">Mobile features</a></li><li><a
href="https://wiki.mozilla.org/Mobile/Platforms" rel="nofollow">Supported platforms</a> (looks slightly out of date)</li><li><a
href="http://gigaom.com/2009/10/19/on-mobile-phones-firefoxs-big-bet-is-nokia-android/" rel="nofollow">GigaOM: On Mobile Phones, Firefox’s Big Bet Is Nokia &amp; Android</a></li><li><a
href="http://lifehacker.com/5385622/firefox-headed-to-android-phones" rel="nofollow">Firefox Headed to Android Phones</a></li></ul><h2>Conclusion</h2><p>Firefox for Mobile is going to be a serious contender in the mobile web space &#8211; we know how serious these guys can get, don&#039;t we? After all, they&#039;ve turned a barely known browser into a #2 in the last few years (soon to be #1, right?). Surely, they can do it again, this time in mobile.</p><p>I will be trying out Mobile Firefox (for Android) as soon as I get my hands on it, so expect a detailed review then. I have little doubt that it will replace my plain mobile browser.</p><p>What do you guys think?</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Meet+Firefox+For+Mobile+%5BVideo+%2B+Feature+Highlights+%2B+More+Info%5D&amp;link=http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/&amp;notes=%20When%20I%20visited%20Mozilla%27s%20offices%20about%206%20months%20ago%2C%20I%20saw%20a%20mobile%20testing%20station%20which%20included%20about%2020-30%20different%20phones%20lounging%20around%2C%20with%20their%20chargers%20plugged%20in.%20I%20knew%20something%20serious%20was%20coming%20soon.%20There%20were%20rumors%20about%20Firefox%20for%20Mobile%20for%20a%20while%20but%20nothing%20to%20really%20sho&amp;short_link=http://bit.ly/dq1K2I&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Meet+Firefox+For+Mobile+%5BVideo+%2B+Feature+Highlights+%2B+More+Info%5D&amp;link=http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/&amp;notes=%20When%20I%20visited%20Mozilla%27s%20offices%20about%206%20months%20ago%2C%20I%20saw%20a%20mobile%20testing%20station%20which%20included%20about%2020-30%20different%20phones%20lounging%20around%2C%20with%20their%20chargers%20plugged%20in.%20I%20knew%20something%20serious%20was%20coming%20soon.%20There%20were%20rumors%20about%20Firefox%20for%20Mobile%20for%20a%20while%20but%20nothing%20to%20really%20sho&amp;short_link=http://bit.ly/dq1K2I&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Meet+Firefox+For+Mobile+%5BVideo+%2B+Feature+Highlights+%2B+More+Info%5D&amp;link=http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/&amp;notes=%20When%20I%20visited%20Mozilla%27s%20offices%20about%206%20months%20ago%2C%20I%20saw%20a%20mobile%20testing%20station%20which%20included%20about%2020-30%20different%20phones%20lounging%20around%2C%20with%20their%20chargers%20plugged%20in.%20I%20knew%20something%20serious%20was%20coming%20soon.%20There%20were%20rumors%20about%20Firefox%20for%20Mobile%20for%20a%20while%20but%20nothing%20to%20really%20sho&amp;short_link=http://bit.ly/dq1K2I&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Meet+Firefox+For+Mobile+%5BVideo+%2B+Feature+Highlights+%2B+More+Info%5D&amp;link=http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/&amp;notes=%20When%20I%20visited%20Mozilla%27s%20offices%20about%206%20months%20ago%2C%20I%20saw%20a%20mobile%20testing%20station%20which%20included%20about%2020-30%20different%20phones%20lounging%20around%2C%20with%20their%20chargers%20plugged%20in.%20I%20knew%20something%20serious%20was%20coming%20soon.%20There%20were%20rumors%20about%20Firefox%20for%20Mobile%20for%20a%20while%20but%20nothing%20to%20really%20sho&amp;short_link=http://bit.ly/dq1K2I&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Meet+Firefox+For+Mobile+%5BVideo+%2B+Feature+Highlights+%2B+More+Info%5D&amp;link=http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/&amp;notes=%20When%20I%20visited%20Mozilla%27s%20offices%20about%206%20months%20ago%2C%20I%20saw%20a%20mobile%20testing%20station%20which%20included%20about%2020-30%20different%20phones%20lounging%20around%2C%20with%20their%20chargers%20plugged%20in.%20I%20knew%20something%20serious%20was%20coming%20soon.%20There%20were%20rumors%20about%20Firefox%20for%20Mobile%20for%20a%20while%20but%20nothing%20to%20really%20sho&amp;short_link=http://bit.ly/dq1K2I&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Meet+Firefox+For+Mobile+%5BVideo+%2B+Feature+Highlights+%2B+More+Info%5D&amp;link=http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/&amp;notes=%20When%20I%20visited%20Mozilla%27s%20offices%20about%206%20months%20ago%2C%20I%20saw%20a%20mobile%20testing%20station%20which%20included%20about%2020-30%20different%20phones%20lounging%20around%2C%20with%20their%20chargers%20plugged%20in.%20I%20knew%20something%20serious%20was%20coming%20soon.%20There%20were%20rumors%20about%20Firefox%20for%20Mobile%20for%20a%20while%20but%20nothing%20to%20really%20sho&amp;short_link=http://bit.ly/dq1K2I&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Meet+Firefox+For+Mobile+%5BVideo+%2B+Feature+Highlights+%2B+More+Info%5D&amp;link=http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/&amp;notes=%20When%20I%20visited%20Mozilla%27s%20offices%20about%206%20months%20ago%2C%20I%20saw%20a%20mobile%20testing%20station%20which%20included%20about%2020-30%20different%20phones%20lounging%20around%2C%20with%20their%20chargers%20plugged%20in.%20I%20knew%20something%20serious%20was%20coming%20soon.%20There%20were%20rumors%20about%20Firefox%20for%20Mobile%20for%20a%20while%20but%20nothing%20to%20really%20sho&amp;short_link=http://bit.ly/dq1K2I&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Meet%20Firefox%20For%20Mobile%20%5BVideo%20%2B%20Feature%20Highlights%20%2B%20More%20Info%5D&amp;link=http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/&amp;notes=%20When%20I%20visited%20Mozilla%27s%20offices%20about%206%20months%20ago%2C%20I%20saw%20a%20mobile%20testing%20station%20which%20included%20about%2020-30%20different%20phones%20lounging%20around%2C%20with%20their%20chargers%20plugged%20in.%20I%20knew%20something%20serious%20was%20coming%20soon.%20There%20were%20rumors%20about%20Firefox%20for%20Mobile%20for%20a%20while%20but%20nothing%20to%20really%20sho&amp;short_link=http://bit.ly/dq1K2I&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/09/03/htc-hero-coming-to-sprint-october-11th-179-99-powerful-and-sexy-here-is-why-you-need-to-own-it/" rel="bookmark" title="September 3, 2009">HTC Hero Coming To Sprint October 11th! $179.99, Powerful, And Sexy. Here Is Why You Need To Own It</a></li><li><a
href="http://beerpla.net/2008/10/15/more-on-android-a-mobile-os-with-a-clue/" rel="bookmark" title="October 15, 2008">More On Android &ndash; A Mobile OS With A Clue</a></li><li><a
href="http://beerpla.net/2008/04/21/sun-definitely-developing-a-phone/" rel="bookmark" title="April 21, 2008">Sun Definitely Developing A Phone This Year</a></li><li><a
href="http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/" rel="bookmark" title="May 18, 2009">How To Fix Redrawing Problems In Your VNC</a></li><li><a
href="http://beerpla.net/2009/11/11/skype-extension-for-firefox-is-a-piece-of-crap-leaks-memory-hangs-firefox-clubs-baby-seals/" rel="bookmark" title="November 11, 2009">Skype Extension For Firefox Is A Piece Of Crap &#8211; Leaks Memory, Hangs Firefox, Clubs Baby Seals</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F11%2F21%2Fmeet-firefox-for-mobile-video-feature-highlights-more-info%2F&amp;title=Meet%20Firefox%20For%20Mobile%20%5BVideo%20%2B%20Feature%20Highlights%20%2B%20More%20Info%5D" id="wpa2a_20"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>[Android] Auto Formatting Android XML Files With Eclipse</title><link>http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/</link> <comments>http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/#comments</comments> <pubDate>Thu, 05 Nov 2009 02:44:54 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Android]]></category> <category><![CDATA[Eclipse]]></category> <category><![CDATA[Java]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[auto format]]></category> <category><![CDATA[autoformat]]></category> <category><![CDATA[automatic]]></category> <category><![CDATA[clean up]]></category> <category><![CDATA[cleanup]]></category> <category><![CDATA[format]]></category> <category><![CDATA[indentation]]></category> <category><![CDATA[tag]]></category> <category><![CDATA[xml]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/</guid> <description><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/AndroidAutoFormattingAndroidXMLFilesWith_14588/image_thumb.png" width="150" height="109" /> In this article I will describe the problem I&#039;ve had with Eclipse&#039;s handling of XML file formatting as well as the best way to fix it.</p><p>&#160;</p><p>I use Eclipse to do my Android development for a few reasons:</p><ul><li>it&#039;s the only IDE fully supported by the Android dev team</li><li>it has a visual Layout/Resources builder that transforms XML files into corresponding visual representations</li><li>it&#039;s free and open source</li><li>I&#039;ve been using Eclipse for many years and am very familiar with it</li></ul><p><div
class="note"><div
class="noteclassic">In order to use the visual features in Eclipse when developing for Android, you need to install <a
href="http://developer.android.com/sdk/eclipse-adt.html" rel="nofollow">the ADT plugin</a> provided by Google</div></div></p><h2>The Problem</h2><p>However, one thing about Eclipse Android development has bothered me for a while ...<div
class=clear></div> <a
href="http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/AndroidAutoFormattingAndroidXMLFilesWith_14588/image_thumb.png" width="150" height="109" /> In this article I will describe the problem I&#039;ve had with Eclipse&#039;s handling of XML file formatting as well as the best way to fix it.</p><p>&#160;</p><p>I use Eclipse to do my Android development for a few reasons:</p><ul><li>it&#039;s the only IDE fully supported by the Android dev team</li><li>it has a visual Layout/Resources builder that transforms XML files into corresponding visual representations</li><li>it&#039;s free and open source</li><li>I&#039;ve been using Eclipse for many years and am very familiar with it</li></ul><p><div
class="note"><div
class="noteclassic">In order to use the visual features in Eclipse when developing for Android, you need to install <a
href="http://developer.android.com/sdk/eclipse-adt.html" rel="nofollow">the ADT plugin</a> provided by Google</div></div></p><h2>The Problem</h2><p>However, one thing about Eclipse Android development has bothered me for a while &#8211; and that is XML formatting by the visual tools. See, if you open an XML file in Eclipse and use the Layout/Resources tab (which functions as either a visual UI builder or a visual frontend to resource management), Eclipse creates the XML representation of what you&#039;re building and dumps it into the file you&#039;re editing. The problem is, this XML is not formatted in any way &#8211; Eclipse just writes it in a single line, which looks absolutely horrible and is essentially unusable.</p><p>For example, I had this beautifully formatted XML file with a sample Android menu. After using the Layout tab to add another item, I ended up with an single ugly unindented line for it.</p><p><a
href="http://beerpla.net/wp-content/uploads/AndroidAutoFormattingAndroidXMLFilesWith_14588/image_3.png" class="lightview" rel="gallery['1215']" title="image"><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/AndroidAutoFormattingAndroidXMLFilesWith_14588/image_thumb_3.png" width="700" height="189" /></a></p><h2>The Solution</h2><p>Here&#039;s how to solve this in an almost fully automated fashion, using formatting rules that I think result in the most readable file. There is no need for external tools &#8211; Eclipse provides everything needed.</p><ul><li>open up Window-&gt;Preferences-&gt;XML-&gt;XML Files-&gt;Editor <br
/><a
href="http://beerpla.net/wp-content/uploads/AndroidAutoFormattingAndroidXMLFilesWith_14588/image_4.png" class="lightview" rel="gallery['1215']" title="image"><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/AndroidAutoFormattingAndroidXMLFilesWith_14588/image_thumb_4.png" width="636" height="667" /></a></li><li>check the &quot;Split multiple attributes each on a new line&quot; and adjust other options according to your liking (such as Indent using spaces and Indentation size)</li><li>press OK to save the options</li><li>all you have to do now is press Ctrl-Shift-F or select Source-&gt;Format</li></ul><p>Let&#039;s see what this does to the XML I showed above:</p><p><a
href="http://beerpla.net/wp-content/uploads/AndroidAutoFormattingAndroidXMLFilesWith_14588/image_5.png" class="lightview" rel="gallery['1215']" title="image"><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/AndroidAutoFormattingAndroidXMLFilesWith_14588/image_thumb_5.png" width="573" height="333" /></a> It&#039;s a beauty, isn&#039;t it? Eclipse&#039;s Auto Format is one of its best features (yes, you can apply it to your Android Java code too as well as pretty much any other document format).</p><h2>Bonus &#8211; XML Cleanup</h2><p>As an added bonus, Eclipse also offers a Cleanup XML option, which can do the following:</p><ul><li>compress empty element tags</li><li>insert required attributes</li><li>insert missing tags</li><li>quote attribute values</li><li>format source (as above)</li><li>convert line delimiters to Windows, UNIX, or Mac</li></ul><p>You can access the Cleanup option via Source-&gt;Cleanup</p><p><a
href="http://beerpla.net/wp-content/uploads/AndroidAutoFormattingAndroidXMLFilesWith_14588/image_6.png" class="lightview" rel="gallery['1215']" title="image"><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/AndroidAutoFormattingAndroidXMLFilesWith_14588/image_thumb_6.png" width="225" height="247" /></a> Running Cleanup on my already pretty clean XML file turned the last &lt;item&gt; into this:</p><p><a
href="http://beerpla.net/wp-content/uploads/AndroidAutoFormattingAndroidXMLFilesWith_14588/image_7.png" class="lightview" rel="gallery['1215']" title="image"><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/AndroidAutoFormattingAndroidXMLFilesWith_14588/image_thumb_7.png" width="554" height="104" /></a> The first option compressed the &lt;item&gt;&lt;/item&gt; declaration to simply &lt;item /&gt;. Neat, isn&#039;t it?</p><h2>Final Words</h2><p><strong>+</strong> Clean is good.</p><p><strong>+</strong> Uniform is good.</p><p><strong>+</strong> Use Ctrl-Shift-F and make it a habit.</p><p><strong>+</strong> Create a keyboard shortcut to the Cleanup function by going to Window-&gt;Preferences-&gt;General-&gt;Keys and use it instead of Ctrl-Shift-F (since it already formats as part of the Cleanup).</p><p><strong>?</strong> I&#039;d like to know if there is a way to apply auto formatting upon save, automatically. Do you?</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=%5BAndroid%5D+Auto+Formatting+Android+XML+Files+With+Eclipse&amp;link=http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/&amp;notes=%20In%20this%20article%20I%20will%20describe%20the%20problem%20I%27ve%20had%20with%20Eclipse%27s%20handling%20of%20XML%20file%20formatting%20as%20well%20as%20the%20best%20way%20to%20fix%20it.%20%20%26%23160%3B%20%20I%20use%20Eclipse%20to%20do%20my%20Android%20development%20for%20a%20few%20reasons%3A%20%20%20%20%20it%27s%20the%20only%20IDE%20fully%20supported%20by%20the%20Android%20dev%20team%20%20%20%20%20it%20has%20a%20visual%20Layout%2FReso&amp;short_link=http://bit.ly/cNm6Ld&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=%5BAndroid%5D+Auto+Formatting+Android+XML+Files+With+Eclipse&amp;link=http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/&amp;notes=%20In%20this%20article%20I%20will%20describe%20the%20problem%20I%27ve%20had%20with%20Eclipse%27s%20handling%20of%20XML%20file%20formatting%20as%20well%20as%20the%20best%20way%20to%20fix%20it.%20%20%26%23160%3B%20%20I%20use%20Eclipse%20to%20do%20my%20Android%20development%20for%20a%20few%20reasons%3A%20%20%20%20%20it%27s%20the%20only%20IDE%20fully%20supported%20by%20the%20Android%20dev%20team%20%20%20%20%20it%20has%20a%20visual%20Layout%2FReso&amp;short_link=http://bit.ly/cNm6Ld&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=%5BAndroid%5D+Auto+Formatting+Android+XML+Files+With+Eclipse&amp;link=http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/&amp;notes=%20In%20this%20article%20I%20will%20describe%20the%20problem%20I%27ve%20had%20with%20Eclipse%27s%20handling%20of%20XML%20file%20formatting%20as%20well%20as%20the%20best%20way%20to%20fix%20it.%20%20%26%23160%3B%20%20I%20use%20Eclipse%20to%20do%20my%20Android%20development%20for%20a%20few%20reasons%3A%20%20%20%20%20it%27s%20the%20only%20IDE%20fully%20supported%20by%20the%20Android%20dev%20team%20%20%20%20%20it%20has%20a%20visual%20Layout%2FReso&amp;short_link=http://bit.ly/cNm6Ld&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=%5BAndroid%5D+Auto+Formatting+Android+XML+Files+With+Eclipse&amp;link=http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/&amp;notes=%20In%20this%20article%20I%20will%20describe%20the%20problem%20I%27ve%20had%20with%20Eclipse%27s%20handling%20of%20XML%20file%20formatting%20as%20well%20as%20the%20best%20way%20to%20fix%20it.%20%20%26%23160%3B%20%20I%20use%20Eclipse%20to%20do%20my%20Android%20development%20for%20a%20few%20reasons%3A%20%20%20%20%20it%27s%20the%20only%20IDE%20fully%20supported%20by%20the%20Android%20dev%20team%20%20%20%20%20it%20has%20a%20visual%20Layout%2FReso&amp;short_link=http://bit.ly/cNm6Ld&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=%5BAndroid%5D+Auto+Formatting+Android+XML+Files+With+Eclipse&amp;link=http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/&amp;notes=%20In%20this%20article%20I%20will%20describe%20the%20problem%20I%27ve%20had%20with%20Eclipse%27s%20handling%20of%20XML%20file%20formatting%20as%20well%20as%20the%20best%20way%20to%20fix%20it.%20%20%26%23160%3B%20%20I%20use%20Eclipse%20to%20do%20my%20Android%20development%20for%20a%20few%20reasons%3A%20%20%20%20%20it%27s%20the%20only%20IDE%20fully%20supported%20by%20the%20Android%20dev%20team%20%20%20%20%20it%20has%20a%20visual%20Layout%2FReso&amp;short_link=http://bit.ly/cNm6Ld&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=%5BAndroid%5D+Auto+Formatting+Android+XML+Files+With+Eclipse&amp;link=http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/&amp;notes=%20In%20this%20article%20I%20will%20describe%20the%20problem%20I%27ve%20had%20with%20Eclipse%27s%20handling%20of%20XML%20file%20formatting%20as%20well%20as%20the%20best%20way%20to%20fix%20it.%20%20%26%23160%3B%20%20I%20use%20Eclipse%20to%20do%20my%20Android%20development%20for%20a%20few%20reasons%3A%20%20%20%20%20it%27s%20the%20only%20IDE%20fully%20supported%20by%20the%20Android%20dev%20team%20%20%20%20%20it%20has%20a%20visual%20Layout%2FReso&amp;short_link=http://bit.ly/cNm6Ld&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=%5BAndroid%5D+Auto+Formatting+Android+XML+Files+With+Eclipse&amp;link=http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/&amp;notes=%20In%20this%20article%20I%20will%20describe%20the%20problem%20I%27ve%20had%20with%20Eclipse%27s%20handling%20of%20XML%20file%20formatting%20as%20well%20as%20the%20best%20way%20to%20fix%20it.%20%20%26%23160%3B%20%20I%20use%20Eclipse%20to%20do%20my%20Android%20development%20for%20a%20few%20reasons%3A%20%20%20%20%20it%27s%20the%20only%20IDE%20fully%20supported%20by%20the%20Android%20dev%20team%20%20%20%20%20it%20has%20a%20visual%20Layout%2FReso&amp;short_link=http://bit.ly/cNm6Ld&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=%5BAndroid%5D%20Auto%20Formatting%20Android%20XML%20Files%20With%20Eclipse&amp;link=http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/&amp;notes=%20In%20this%20article%20I%20will%20describe%20the%20problem%20I%27ve%20had%20with%20Eclipse%27s%20handling%20of%20XML%20file%20formatting%20as%20well%20as%20the%20best%20way%20to%20fix%20it.%20%20%26%23160%3B%20%20I%20use%20Eclipse%20to%20do%20my%20Android%20development%20for%20a%20few%20reasons%3A%20%20%20%20%20it%27s%20the%20only%20IDE%20fully%20supported%20by%20the%20Android%20dev%20team%20%20%20%20%20it%20has%20a%20visual%20Layout%2FReso&amp;short_link=http://bit.ly/cNm6Ld&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2008/04/09/some-useful-vim-commands-my-vim-cheatsheet/" rel="bookmark" title="April 9, 2008">Some Useful vim Commands &#8211; My vim Cheatsheet</a></li><li><a
href="http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/" rel="bookmark" title="October 15, 2009">Installing The Android Plugin For Eclipse</a></li><li><a
href="http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/" rel="bookmark" title="September 29, 2010">How To Update Eclipse From Galileo (3.5) To Helios (3.6) In-Place Without Reinstalling</a></li><li><a
href="http://beerpla.net/2010/01/18/wordpress-developers-how-do-you-make-a-living-poll-discussion/" rel="bookmark" title="January 18, 2010">WordPress Developers &#8211; How Do You Make A Living [Poll + Discussion]?</a></li><li><a
href="http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/" rel="bookmark" title="December 22, 2008">Mastering The Linux Shell &#8211; Bash Shortcuts Explained (Now With Cheat Sheets)</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F11%2F04%2Fandroid-auto-formatting-android-xml-files-with-eclipse%2F&amp;title=%5BAndroid%5D%20Auto%20Formatting%20Android%20XML%20Files%20With%20Eclipse" id="wpa2a_22"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Modern-Day Frame Busting With X-FRAME-OPTIONS And &quot;This content cannot be displayed in a frame&quot; Warnings</title><link>http://beerpla.net/2009/10/29/modern-day-frame-busting-with-x-frame-options-and-this-content-cannot-be-displayed-in-a-frame-warnings/</link> <comments>http://beerpla.net/2009/10/29/modern-day-frame-busting-with-x-frame-options-and-this-content-cannot-be-displayed-in-a-frame-warnings/#comments</comments> <pubDate>Fri, 30 Oct 2009 01:10:32 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[click jacking]]></category> <category><![CDATA[clickjacking]]></category> <category><![CDATA[deny]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[frame busting]]></category> <category><![CDATA[framebusting]]></category> <category><![CDATA[framekiller]]></category> <category><![CDATA[internet explorer]]></category> <category><![CDATA[same-origin]]></category> <category><![CDATA[sameorigin]]></category> <category><![CDATA[x-frame-options]]></category> <category><![CDATA[xss]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/10/29/modern-day-frame-busting-with-x-frame-options-and-this-content-cannot-be-displayed-in-a-frame-warnings/</guid> <description><![CDATA[<p><a
href="http://beerpla.net/wp-content/uploads/ModernDayFrameBustingWithXFRAMEOPTIONSAn_F770/image.png" class="lightview" rel="gallery['1194']" title="image"><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/ModernDayFrameBustingWithXFRAMEOPTIONSAn_F770/image_thumb.png" width="150" height="150" /></a> Today I found out something entirely new about <a
href="http://en.wikipedia.org/wiki/Framekiller" rel="nofollow">framebusting</a> and specifically <a
href="http://beerpla.net/2009/02/12/how-to-fight-clickjacking-using-the-recent-twitter-hijacking-as-an-example/">clickjacking</a> protection techniques.</p><p>I was working with a site that was using frames. Suddenly, one of the frames (which was hosted on a domain that differed from the one it was embedded in) displayed the following message (in Firefox 3.5.4):</p><div
class="wp_syntax"><div
class="code"><pre>This content cannot be displayed in a frame
&#160;
To protect your security, the publisher of this content does
not allow it to be displayed in a frame.
&#160;
Click here to open this content in a new window</pre></div></div><p><a
href="http://beerpla.net/wp-content/uploads/ModernDayFrameBustingWithXFRAMEOPTIONSAn_F770/image_3.png" class="lightview" rel="gallery['1194']" title="image"><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/ModernDayFrameBustingWithXFRAMEOPTIONSAn_F770/image_thumb_3.png" width="677" height="221" /></a></p><p>Notice how this is a native Firefox window and not a web page rendering. Quite stumped, I started looking at the frame response and finally found that it included this ...<div
class=clear></div> <a
href="http://beerpla.net/2009/10/29/modern-day-frame-busting-with-x-frame-options-and-this-content-cannot-be-displayed-in-a-frame-warnings/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p><a
href="http://beerpla.net/wp-content/uploads/ModernDayFrameBustingWithXFRAMEOPTIONSAn_F770/image.png" class="lightview" rel="gallery['1194']" title="image"><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/ModernDayFrameBustingWithXFRAMEOPTIONSAn_F770/image_thumb.png" width="150" height="150" /></a> Today I found out something entirely new about <a
href="http://en.wikipedia.org/wiki/Framekiller" rel="nofollow">framebusting</a> and specifically <a
href="http://beerpla.net/2009/02/12/how-to-fight-clickjacking-using-the-recent-twitter-hijacking-as-an-example/">clickjacking</a> protection techniques.</p><p>I was working with a site that was using frames. Suddenly, one of the frames (which was hosted on a domain that differed from the one it was embedded in) displayed the following message (in Firefox 3.5.4):</p><div
class="wp_syntax"><div
class="code"><pre>This content cannot be displayed in a frame
&nbsp;
To protect your security, the publisher of this content does
not allow it to be displayed in a frame.
&nbsp;
Click here to open this content in a new window</pre></div></div><p><a
href="http://beerpla.net/wp-content/uploads/ModernDayFrameBustingWithXFRAMEOPTIONSAn_F770/image_3.png" class="lightview" rel="gallery['1194']" title="image"><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/ModernDayFrameBustingWithXFRAMEOPTIONSAn_F770/image_thumb_3.png" width="677" height="221" /></a></p><p>Notice how this is a native Firefox window and not a web page rendering. Quite stumped, I started looking at the frame response and finally found that it included this little header:</p><div
class="wp_syntax"><div
class="code"><pre>X-FRAME-OPTIONS: DENY</pre></div></div><p>Turns out that modern browsers like <strike>Firefox 3.5</strike> (turns out it&#039;s the <a
href="https://addons.mozilla.org/en-US/firefox/addon/722" rel="nofollow">NoScript addon</a> that does this and not Firefox itself) and IE8 treat this header as a precautionary measure and display a generic &quot;warning&quot; to the user instead of the page content in certain conditions described below. This effort, <a
href="http://blogs.msdn.com/ie/archive/2009/01/27/ie8-security-part-vii-clickjacking-defenses.aspx" rel="nofollow">led, surprisingly, by Microsoft</a>, was really to protect users from clickjacking (I wrote about clickjacking <a
href="http://beerpla.net/2009/02/12/how-to-fight-clickjacking-using-the-recent-twitter-hijacking-as-an-example/">here</a> earlier) but can be viewed as an alternative to framebusting.</p><p>Microsoft introduced the new X-FRAME-OPTIONS header with the following possible values:</p><ul><li>DENY &#8211; prevents the page from being rendered if it is contained in a frame</li><li>SAMEORIGIN &#8211; same as above, unless the page belongs to the same domain as the top-level frameset holder.</li></ul><p><strike>Firefox adopted this technique a few months later</strike> (again, I was wrong here &#8211; it was NoScript that did it), and I expect other browsers to follow.</p><p>So what does it mean to you, the developer?</p><ul><li>setting such a header will essentially render frame busting code unnecessary in modern browsers</li><li>but it has a downside of displaying a relatively ugly warning to the user</li><li>no automatic redirect is done as your page (including any framebusting code) is not loaded</li><li>thus requiring an extra click</li><li>and popping up a new tab or window</li><li>it will work even if the user has Javascript disabled, which is more secure</li></ul><p>Some useful discussion on the issue can also be found in <a
href="http://hackademix.net/2009/01/29/x-frame-options-in-firefox/" rel="nofollow">this post</a> on Hackademix.net.</p><p>So is it good practice to use this new X-FRAME-OPTIONS header instead of the traditional framebusting code? I definitely think so, especially if Firefox and other browsers start supporting it. What do you say?</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Modern-Day+Frame+Busting+With+X-FRAME-OPTIONS+And+%26quot%3BThis+content+cannot+be+displayed+in+a+frame%26quot%3B+Warnings&amp;link=http://beerpla.net/2009/10/29/modern-day-frame-busting-with-x-frame-options-and-this-content-cannot-be-displayed-in-a-frame-warnings/&amp;notes=%20Today%20I%20found%20out%20something%20entirely%20new%20about%20framebusting%20and%20specifically%20clickjacking%20protection%20techniques.%0D%0AI%20was%20working%20with%20a%20site%20that%20was%20using%20frames.%20Suddenly%2C%20one%20of%20the%20frames%20%28which%20was%20hosted%20on%20a%20domain%20that%20differed%20from%20the%20one%20it%20was%20embedded%20in%29%20displayed%20the%20following%20message&amp;short_link=http://bit.ly/chOjyg&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Modern-Day+Frame+Busting+With+X-FRAME-OPTIONS+And+%26quot%3BThis+content+cannot+be+displayed+in+a+frame%26quot%3B+Warnings&amp;link=http://beerpla.net/2009/10/29/modern-day-frame-busting-with-x-frame-options-and-this-content-cannot-be-displayed-in-a-frame-warnings/&amp;notes=%20Today%20I%20found%20out%20something%20entirely%20new%20about%20framebusting%20and%20specifically%20clickjacking%20protection%20techniques.%0D%0AI%20was%20working%20with%20a%20site%20that%20was%20using%20frames.%20Suddenly%2C%20one%20of%20the%20frames%20%28which%20was%20hosted%20on%20a%20domain%20that%20differed%20from%20the%20one%20it%20was%20embedded%20in%29%20displayed%20the%20following%20message&amp;short_link=http://bit.ly/chOjyg&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Modern-Day+Frame+Busting+With+X-FRAME-OPTIONS+And+%26quot%3BThis+content+cannot+be+displayed+in+a+frame%26quot%3B+Warnings&amp;link=http://beerpla.net/2009/10/29/modern-day-frame-busting-with-x-frame-options-and-this-content-cannot-be-displayed-in-a-frame-warnings/&amp;notes=%20Today%20I%20found%20out%20something%20entirely%20new%20about%20framebusting%20and%20specifically%20clickjacking%20protection%20techniques.%0D%0AI%20was%20working%20with%20a%20site%20that%20was%20using%20frames.%20Suddenly%2C%20one%20of%20the%20frames%20%28which%20was%20hosted%20on%20a%20domain%20that%20differed%20from%20the%20one%20it%20was%20embedded%20in%29%20displayed%20the%20following%20message&amp;short_link=http://bit.ly/chOjyg&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Modern-Day+Frame+Busting+With+X-FRAME-OPTIONS+And+%26quot%3BThis+content+cannot+be+displayed+in+a+frame%26quot%3B+Warnings&amp;link=http://beerpla.net/2009/10/29/modern-day-frame-busting-with-x-frame-options-and-this-content-cannot-be-displayed-in-a-frame-warnings/&amp;notes=%20Today%20I%20found%20out%20something%20entirely%20new%20about%20framebusting%20and%20specifically%20clickjacking%20protection%20techniques.%0D%0AI%20was%20working%20with%20a%20site%20that%20was%20using%20frames.%20Suddenly%2C%20one%20of%20the%20frames%20%28which%20was%20hosted%20on%20a%20domain%20that%20differed%20from%20the%20one%20it%20was%20embedded%20in%29%20displayed%20the%20following%20message&amp;short_link=http://bit.ly/chOjyg&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Modern-Day+Frame+Busting+With+X-FRAME-OPTIONS+And+%26quot%3BThis+content+cannot+be+displayed+in+a+frame%26quot%3B+Warnings&amp;link=http://beerpla.net/2009/10/29/modern-day-frame-busting-with-x-frame-options-and-this-content-cannot-be-displayed-in-a-frame-warnings/&amp;notes=%20Today%20I%20found%20out%20something%20entirely%20new%20about%20framebusting%20and%20specifically%20clickjacking%20protection%20techniques.%0D%0AI%20was%20working%20with%20a%20site%20that%20was%20using%20frames.%20Suddenly%2C%20one%20of%20the%20frames%20%28which%20was%20hosted%20on%20a%20domain%20that%20differed%20from%20the%20one%20it%20was%20embedded%20in%29%20displayed%20the%20following%20message&amp;short_link=http://bit.ly/chOjyg&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Modern-Day+Frame+Busting+With+X-FRAME-OPTIONS+And+%26quot%3BThis+content+cannot+be+displayed+in+a+frame%26quot%3B+Warnings&amp;link=http://beerpla.net/2009/10/29/modern-day-frame-busting-with-x-frame-options-and-this-content-cannot-be-displayed-in-a-frame-warnings/&amp;notes=%20Today%20I%20found%20out%20something%20entirely%20new%20about%20framebusting%20and%20specifically%20clickjacking%20protection%20techniques.%0D%0AI%20was%20working%20with%20a%20site%20that%20was%20using%20frames.%20Suddenly%2C%20one%20of%20the%20frames%20%28which%20was%20hosted%20on%20a%20domain%20that%20differed%20from%20the%20one%20it%20was%20embedded%20in%29%20displayed%20the%20following%20message&amp;short_link=http://bit.ly/chOjyg&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Modern-Day+Frame+Busting+With+X-FRAME-OPTIONS+And+%26quot%3BThis+content+cannot+be+displayed+in+a+frame%26quot%3B+Warnings&amp;link=http://beerpla.net/2009/10/29/modern-day-frame-busting-with-x-frame-options-and-this-content-cannot-be-displayed-in-a-frame-warnings/&amp;notes=%20Today%20I%20found%20out%20something%20entirely%20new%20about%20framebusting%20and%20specifically%20clickjacking%20protection%20techniques.%0D%0AI%20was%20working%20with%20a%20site%20that%20was%20using%20frames.%20Suddenly%2C%20one%20of%20the%20frames%20%28which%20was%20hosted%20on%20a%20domain%20that%20differed%20from%20the%20one%20it%20was%20embedded%20in%29%20displayed%20the%20following%20message&amp;short_link=http://bit.ly/chOjyg&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Modern-Day%20Frame%20Busting%20With%20X-FRAME-OPTIONS%20And%20%26quot%3BThis%20content%20cannot%20be%20displayed%20in%20a%20frame%26quot%3B%20Warnings&amp;link=http://beerpla.net/2009/10/29/modern-day-frame-busting-with-x-frame-options-and-this-content-cannot-be-displayed-in-a-frame-warnings/&amp;notes=%20Today%20I%20found%20out%20something%20entirely%20new%20about%20framebusting%20and%20specifically%20clickjacking%20protection%20techniques.%0D%0AI%20was%20working%20with%20a%20site%20that%20was%20using%20frames.%20Suddenly%2C%20one%20of%20the%20frames%20%28which%20was%20hosted%20on%20a%20domain%20that%20differed%20from%20the%20one%20it%20was%20embedded%20in%29%20displayed%20the%20following%20message&amp;short_link=http://bit.ly/chOjyg&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/02/12/how-to-fight-clickjacking-using-the-recent-twitter-hijacking-as-an-example/" rel="bookmark" title="February 12, 2009">How To Fight Clickjacking (Using The Recent Twitter Hijacking As An Example)</a></li><li><a
href="http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/" rel="bookmark" title="November 21, 2009">Meet Firefox For Mobile [Video + Feature Highlights + More Info]</a></li><li><a
href="http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/" rel="bookmark" title="August 4, 2007">Watch &#8211; A Useful Linux Command You May Have Never Heard Of</a></li><li><a
href="http://beerpla.net/2009/06/09/how-to-make-your-site-lightning-fast-by-compressing-deflategzip-your-html-javascript-css-xml-etc-in-apache/" rel="bookmark" title="June 9, 2009">How To Make Your Site Lightning Fast* By Compressing (deflate/gzip) Your HTML, Javascript, CSS, XML, etc In Apache</a></li><li><a
href="http://beerpla.net/2006/06/12/rendr-a-live-awesome-csshtml-rendering-tool/" rel="bookmark" title="June 12, 2006">Rendr &#8211; a Live Awesome CSS/HTML Rendering Tool</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F10%2F29%2Fmodern-day-frame-busting-with-x-frame-options-and-this-content-cannot-be-displayed-in-a-frame-warnings%2F&amp;title=Modern-Day%20Frame%20Busting%20With%20X-FRAME-OPTIONS%20And%20%26quot%3BThis%20content%20cannot%20be%20displayed%20in%20a%20frame%26quot%3B%20Warnings" id="wpa2a_24"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/10/29/modern-day-frame-busting-with-x-frame-options-and-this-content-cannot-be-displayed-in-a-frame-warnings/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>StackOverflow.com, SuperUser.com, ServerFault.com Fan? Here&#039;s A Greasemonkey Script To Keep Track Of All Your Accounts</title><link>http://beerpla.net/2009/10/24/are-you-a-stackoverflow-com-superuser-com-serverfault-com-fan-heres-a-greasemonkey-script-to-keep-track-of-your-accounts-on-all-of-them/</link> <comments>http://beerpla.net/2009/10/24/are-you-a-stackoverflow-com-superuser-com-serverfault-com-fan-heres-a-greasemonkey-script-to-keep-track-of-your-accounts-on-all-of-them/#comments</comments> <pubDate>Sat, 24 Oct 2009 19:40:22 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[aggregate]]></category> <category><![CDATA[greasemonkey]]></category> <category><![CDATA[jeff atwood]]></category> <category><![CDATA[joel spolsky]]></category> <category><![CDATA[script]]></category> <category><![CDATA[server fault]]></category> <category><![CDATA[serverfault]]></category> <category><![CDATA[stack overflow]]></category> <category><![CDATA[stackoverflow]]></category> <category><![CDATA[super user]]></category> <category><![CDATA[superuser]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/10/24/are-you-a-stackoverflow-com-superuser-com-serverfault-com-fan-heres-a-greasemonkey-script-to-keep-track-of-your-accounts-on-all-of-them/</guid> <description><![CDATA[<h2>What Is This All About?</h2><p><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/Sta.comFanHeresAGreasemonkeyScriptToKeep_A7B6/image_7.png" width="150" height="116" />If you, like me, love <a
href="http://www.stackoverflow.com" rel="nofollow">StackOverflow</a>, <a
href="http://www.superuser.com" rel="nofollow">SuperUser</a>, <a
href="http://www.serverfault.com" rel="nofollow">ServerFault</a> &#8211; the community programming/software/sysadmin Q&#38;A sites built by <a
href="http://www.joelonsoftware.com" rel="nofollow">Joel Spolsky</a> and <a
href="http://codinghorror.com" rel="nofollow"></a><a
href="http://www.codinghorror.com" rel="nofollow">Jeff Atwood</a> and you are an active member of these sites, you owe it to yourself to install this underappreciated and unadvertised greasemonkey script: <a
href="http://userscripts.org/scripts/show/54155" rel="nofollow">StackOverflow &#8211; User Info Aggregate</a>. I really think it should get more attention. All credit goes to <a
href="http://userscripts.org/users/100479">Jon Erickson</a>.</p><p>(What? You&#039;ve never heard of the sites mentioned above and you call yourself a programmer? Shame on you &#8211; go check them out immediately!)</p><p>Once you install the script, the top bar that normally shows only single site statistics, like so:</p><p><a
href="http://beerpla.net/wp-content/uploads/Sta.comFanHeresAGreasemonkeyScriptToKeep_A7B6/image.png" class="lightview" rel="gallery['1182']" title="image"><img
style="display: inline" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/Sta.comFanHeresAGreasemonkeyScriptToKeep_A7B6/image_thumb.png" width="640" height="35" /></a></p><p>will turn into a multi-site bar, with all ...<div
class=clear></div> <a
href="http://beerpla.net/2009/10/24/are-you-a-stackoverflow-com-superuser-com-serverfault-com-fan-heres-a-greasemonkey-script-to-keep-track-of-your-accounts-on-all-of-them/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<h2>What Is This All About?</h2><p><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/Sta.comFanHeresAGreasemonkeyScriptToKeep_A7B6/image_7.png" width="150" height="116" />If you, like me, love <a
href="http://www.stackoverflow.com" rel="nofollow">StackOverflow</a>, <a
href="http://www.superuser.com" rel="nofollow">SuperUser</a>, <a
href="http://www.serverfault.com" rel="nofollow">ServerFault</a> &#8211; the community programming/software/sysadmin Q&amp;A sites built by <a
href="http://www.joelonsoftware.com" rel="nofollow">Joel Spolsky</a> and <a
href="http://codinghorror.com" rel="nofollow"></a><a
href="http://www.codinghorror.com" rel="nofollow">Jeff Atwood</a> and you are an active member of these sites, you owe it to yourself to install this underappreciated and unadvertised greasemonkey script: <a
href="http://userscripts.org/scripts/show/54155" rel="nofollow">StackOverflow &#8211; User Info Aggregate</a>. I really think it should get more attention. All credit goes to <a
href="http://userscripts.org/users/100479">Jon Erickson</a>.</p><p>(What? You&#039;ve never heard of the sites mentioned above and you call yourself a programmer? Shame on you &#8211; go check them out immediately!)</p><p>Once you install the script, the top bar that normally shows only single site statistics, like so:</p><p><a
href="http://beerpla.net/wp-content/uploads/Sta.comFanHeresAGreasemonkeyScriptToKeep_A7B6/image.png" class="lightview" rel="gallery['1182']" title="image"><img
style="display: inline" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/Sta.comFanHeresAGreasemonkeyScriptToKeep_A7B6/image_thumb.png" width="640" height="35" /></a></p><p>will turn into a multi-site bar, with all your stats at a glance, like so:</p><p><a
href="http://beerpla.net/wp-content/uploads/Sta.comFanHeresAGreasemonkeyScriptToKeep_A7B6/image_3.png" class="lightview" rel="gallery['1182']" title="image"><img
style="display: inline" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/Sta.comFanHeresAGreasemonkeyScriptToKeep_A7B6/image_thumb_3.png" width="667" height="35" /></a></p><p>Each icon is hyperlinked to your account on the respective site, which makes navigating between all of them very easy.</p><h2>Installation</h2><p
align="left">Here are the steps required to get the script up and running:</p><ol><li><div
align="left">Install <a
href="https://addons.mozilla.org/en-US/firefox/addon/748" rel="nofollow">greasemonkey</a> for Firefox.</div></li><li><div
align="left">Install the <a
href="http://userscripts.org/scripts/show/54155" rel="nofollow">StackOverflow &#8211; User Info Aggregate</a> script.</div></li><li><div
align="left">Right click on the greasemonkey icon and select Manage User Scripts… <br
/><a
href="http://beerpla.net/wp-content/uploads/Sta.comFanHeresAGreasemonkeyScriptToKeep_A7B6/image_4.png" class="lightview" rel="gallery['1182']" title="image"><img
style="display: inline" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/Sta.comFanHeresAGreasemonkeyScriptToKeep_A7B6/image_thumb_4.png" width="245" height="155" /></a></div></li><li><div
align="left">Select the script from the list and click the Edit button. This should open up your favorite editor or prompt you to select one. <br
/><a
href="http://beerpla.net/wp-content/uploads/Sta.comFanHeresAGreasemonkeyScriptToKeep_A7B6/image_5.png" class="lightview" rel="gallery['1182']" title="image"><img
style="display: inline" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/Sta.comFanHeresAGreasemonkeyScriptToKeep_A7B6/image_thumb_5.png" width="204" height="83" /></a></div></li><li><div
align="left">Find the section with userIds and replace them with ones of your own (by default the IDs belong to the script author). You can get your own IDs from the user info page (click your name at the top of each site you have an account on). <br
/>&#160;<a
href="http://beerpla.net/wp-content/uploads/Sta.comFanHeresAGreasemonkeyScriptToKeep_A7B6/image_6.png" class="lightview" rel="gallery['1182']" title="image"><img
style="display: inline" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/Sta.comFanHeresAGreasemonkeyScriptToKeep_A7B6/image_thumb_6.png" width="553" height="130" /></a></div></li><li><div
align="left">Now save the script file and reload the page &#8211; you should have all the stats displayed in one place.</div></li></ol><h2>Credits</h2><ul><li><div
align="left">Big thanks to the creator of this script <a
href="http://userscripts.org/users/100479">Jon Erickson</a>.</div></li><li><div
align="left">Orginal Meta.StackOverflow <a
href="http://meta.stackoverflow.com/questions/5933/greasemonkey-script-to-show-profile-reputation-and-badges-from-all-so-sites-in" rel="nofollow">post</a> by Jon.</div></li></ul><p
align="left">Enjoy.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=StackOverflow.com%2C+SuperUser.com%2C+ServerFault.com+Fan%3F+Here%27s+A+Greasemonkey+Script+To+Keep+Track+Of+All+Your+Accounts&amp;link=http://beerpla.net/2009/10/24/are-you-a-stackoverflow-com-superuser-com-serverfault-com-fan-heres-a-greasemonkey-script-to-keep-track-of-your-accounts-on-all-of-them/&amp;notes=What%20Is%20This%20All%20About%3F%20%20If%20you%2C%20like%20me%2C%20love%20StackOverflow%2C%20SuperUser%2C%20ServerFault%20-%20the%20community%20programming%2Fsoftware%2Fsysadmin%20Q%26amp%3BA%20sites%20built%20by%20Joel%20Spolsky%20and%20Jeff%20Atwood%20and%20you%20are%20an%20active%20member%20of%20these%20sites%2C%20you%20owe%20it%20to%20yourself%20to%20install%20this%20underappreciated%20and%20unadvertised&amp;short_link=http://bit.ly/9NtQ4a&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=StackOverflow.com%2C+SuperUser.com%2C+ServerFault.com+Fan%3F+Here%27s+A+Greasemonkey+Script+To+Keep+Track+Of+All+Your+Accounts&amp;link=http://beerpla.net/2009/10/24/are-you-a-stackoverflow-com-superuser-com-serverfault-com-fan-heres-a-greasemonkey-script-to-keep-track-of-your-accounts-on-all-of-them/&amp;notes=What%20Is%20This%20All%20About%3F%20%20If%20you%2C%20like%20me%2C%20love%20StackOverflow%2C%20SuperUser%2C%20ServerFault%20-%20the%20community%20programming%2Fsoftware%2Fsysadmin%20Q%26amp%3BA%20sites%20built%20by%20Joel%20Spolsky%20and%20Jeff%20Atwood%20and%20you%20are%20an%20active%20member%20of%20these%20sites%2C%20you%20owe%20it%20to%20yourself%20to%20install%20this%20underappreciated%20and%20unadvertised&amp;short_link=http://bit.ly/9NtQ4a&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=StackOverflow.com%2C+SuperUser.com%2C+ServerFault.com+Fan%3F+Here%27s+A+Greasemonkey+Script+To+Keep+Track+Of+All+Your+Accounts&amp;link=http://beerpla.net/2009/10/24/are-you-a-stackoverflow-com-superuser-com-serverfault-com-fan-heres-a-greasemonkey-script-to-keep-track-of-your-accounts-on-all-of-them/&amp;notes=What%20Is%20This%20All%20About%3F%20%20If%20you%2C%20like%20me%2C%20love%20StackOverflow%2C%20SuperUser%2C%20ServerFault%20-%20the%20community%20programming%2Fsoftware%2Fsysadmin%20Q%26amp%3BA%20sites%20built%20by%20Joel%20Spolsky%20and%20Jeff%20Atwood%20and%20you%20are%20an%20active%20member%20of%20these%20sites%2C%20you%20owe%20it%20to%20yourself%20to%20install%20this%20underappreciated%20and%20unadvertised&amp;short_link=http://bit.ly/9NtQ4a&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=StackOverflow.com%2C+SuperUser.com%2C+ServerFault.com+Fan%3F+Here%27s+A+Greasemonkey+Script+To+Keep+Track+Of+All+Your+Accounts&amp;link=http://beerpla.net/2009/10/24/are-you-a-stackoverflow-com-superuser-com-serverfault-com-fan-heres-a-greasemonkey-script-to-keep-track-of-your-accounts-on-all-of-them/&amp;notes=What%20Is%20This%20All%20About%3F%20%20If%20you%2C%20like%20me%2C%20love%20StackOverflow%2C%20SuperUser%2C%20ServerFault%20-%20the%20community%20programming%2Fsoftware%2Fsysadmin%20Q%26amp%3BA%20sites%20built%20by%20Joel%20Spolsky%20and%20Jeff%20Atwood%20and%20you%20are%20an%20active%20member%20of%20these%20sites%2C%20you%20owe%20it%20to%20yourself%20to%20install%20this%20underappreciated%20and%20unadvertised&amp;short_link=http://bit.ly/9NtQ4a&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=StackOverflow.com%2C+SuperUser.com%2C+ServerFault.com+Fan%3F+Here%27s+A+Greasemonkey+Script+To+Keep+Track+Of+All+Your+Accounts&amp;link=http://beerpla.net/2009/10/24/are-you-a-stackoverflow-com-superuser-com-serverfault-com-fan-heres-a-greasemonkey-script-to-keep-track-of-your-accounts-on-all-of-them/&amp;notes=What%20Is%20This%20All%20About%3F%20%20If%20you%2C%20like%20me%2C%20love%20StackOverflow%2C%20SuperUser%2C%20ServerFault%20-%20the%20community%20programming%2Fsoftware%2Fsysadmin%20Q%26amp%3BA%20sites%20built%20by%20Joel%20Spolsky%20and%20Jeff%20Atwood%20and%20you%20are%20an%20active%20member%20of%20these%20sites%2C%20you%20owe%20it%20to%20yourself%20to%20install%20this%20underappreciated%20and%20unadvertised&amp;short_link=http://bit.ly/9NtQ4a&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=StackOverflow.com%2C+SuperUser.com%2C+ServerFault.com+Fan%3F+Here%27s+A+Greasemonkey+Script+To+Keep+Track+Of+All+Your+Accounts&amp;link=http://beerpla.net/2009/10/24/are-you-a-stackoverflow-com-superuser-com-serverfault-com-fan-heres-a-greasemonkey-script-to-keep-track-of-your-accounts-on-all-of-them/&amp;notes=What%20Is%20This%20All%20About%3F%20%20If%20you%2C%20like%20me%2C%20love%20StackOverflow%2C%20SuperUser%2C%20ServerFault%20-%20the%20community%20programming%2Fsoftware%2Fsysadmin%20Q%26amp%3BA%20sites%20built%20by%20Joel%20Spolsky%20and%20Jeff%20Atwood%20and%20you%20are%20an%20active%20member%20of%20these%20sites%2C%20you%20owe%20it%20to%20yourself%20to%20install%20this%20underappreciated%20and%20unadvertised&amp;short_link=http://bit.ly/9NtQ4a&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=StackOverflow.com%2C+SuperUser.com%2C+ServerFault.com+Fan%3F+Here%27s+A+Greasemonkey+Script+To+Keep+Track+Of+All+Your+Accounts&amp;link=http://beerpla.net/2009/10/24/are-you-a-stackoverflow-com-superuser-com-serverfault-com-fan-heres-a-greasemonkey-script-to-keep-track-of-your-accounts-on-all-of-them/&amp;notes=What%20Is%20This%20All%20About%3F%20%20If%20you%2C%20like%20me%2C%20love%20StackOverflow%2C%20SuperUser%2C%20ServerFault%20-%20the%20community%20programming%2Fsoftware%2Fsysadmin%20Q%26amp%3BA%20sites%20built%20by%20Joel%20Spolsky%20and%20Jeff%20Atwood%20and%20you%20are%20an%20active%20member%20of%20these%20sites%2C%20you%20owe%20it%20to%20yourself%20to%20install%20this%20underappreciated%20and%20unadvertised&amp;short_link=http://bit.ly/9NtQ4a&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=StackOverflow.com%2C%20SuperUser.com%2C%20ServerFault.com%20Fan%3F%20Here%27s%20A%20Greasemonkey%20Script%20To%20Keep%20Track%20Of%20All%20Your%20Accounts&amp;link=http://beerpla.net/2009/10/24/are-you-a-stackoverflow-com-superuser-com-serverfault-com-fan-heres-a-greasemonkey-script-to-keep-track-of-your-accounts-on-all-of-them/&amp;notes=What%20Is%20This%20All%20About%3F%20%20If%20you%2C%20like%20me%2C%20love%20StackOverflow%2C%20SuperUser%2C%20ServerFault%20-%20the%20community%20programming%2Fsoftware%2Fsysadmin%20Q%26amp%3BA%20sites%20built%20by%20Joel%20Spolsky%20and%20Jeff%20Atwood%20and%20you%20are%20an%20active%20member%20of%20these%20sites%2C%20you%20owe%20it%20to%20yourself%20to%20install%20this%20underappreciated%20and%20unadvertised&amp;short_link=http://bit.ly/9NtQ4a&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/12/20/enable-a-twitter-retweet-rt-button-that-lets-you-add-comments-before-retweeting/" rel="bookmark" title="December 20, 2009">Enable A Twitter Retweet (RT) Button That Lets You Add Comments Before Retweeting</a></li><li><a
href="http://beerpla.net/2009/03/17/twitter-autocomplete-auto-url-expansion-auto-url-shortener-auto-pagination-rt-button-nested-replies-inline-media-embed-search-tabs-and-more/" rel="bookmark" title="March 17, 2009">Twitter.com Autocomplete, Auto URL Expansion, Auto URL Shortener, RT Button, Nested Replies, Inline Media Embed, Search Tabs, And More</a></li><li><a
href="http://beerpla.net/2009/02/12/how-to-fight-clickjacking-using-the-recent-twitter-hijacking-as-an-example/" rel="bookmark" title="February 12, 2009">How To Fight Clickjacking (Using The Recent Twitter Hijacking As An Example)</a></li><li><a
href="http://beerpla.net/2009/12/17/how-to-make-firebugs-javascript-debugger-break-inside-dynamic-javascript-using-the-debugger-keyword-ie-chrome-too/" rel="bookmark" title="December 17, 2009">How To Make Firebug&#039;s JavaScript Debugger Break Inside Dynamic JavaScript Using The &#039;debugger&#039; Keyword (IE &amp; Chrome Too)</a></li><li><a
href="http://beerpla.net/2010/01/09/how-to-exportimport-your-expandrivesftpdrive-drives-and-settings/" rel="bookmark" title="January 9, 2010">How To Export/Import Your ExpanDrive/SFTPDrive Drives And Settings</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F10%2F24%2Fare-you-a-stackoverflow-com-superuser-com-serverfault-com-fan-heres-a-greasemonkey-script-to-keep-track-of-your-accounts-on-all-of-them%2F&amp;title=StackOverflow.com%2C%20SuperUser.com%2C%20ServerFault.com%20Fan%3F%20Here%26%23039%3Bs%20A%20Greasemonkey%20Script%20To%20Keep%20Track%20Of%20All%20Your%20Accounts" id="wpa2a_26"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/10/24/are-you-a-stackoverflow-com-superuser-com-serverfault-com-fan-heres-a-greasemonkey-script-to-keep-track-of-your-accounts-on-all-of-them/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Impressions From The StackOverflow&#039;s DevDays Conference In San Francisco</title><link>http://beerpla.net/2009/10/19/impressions-from-the-stackoverflows-devdays-conference-in-san-francisco/</link> <comments>http://beerpla.net/2009/10/19/impressions-from-the-stackoverflows-devdays-conference-in-san-francisco/#comments</comments> <pubDate>Tue, 20 Oct 2009 03:16:48 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Android]]></category> <category><![CDATA[Java]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Python]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[Twitter]]></category> <category><![CDATA[conference]]></category> <category><![CDATA[devdays]]></category> <category><![CDATA[iphone]]></category> <category><![CDATA[jeff atwood]]></category> <category><![CDATA[joel spolsky]]></category> <category><![CDATA[jquery]]></category> <category><![CDATA[qt]]></category> <category><![CDATA[San Francisco]]></category> <category><![CDATA[stackoverflow]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/10/19/impressions-from-the-stackoverflows-devdays-conference-in-san-francisco/</guid> <description><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" align="left" src="http://static1.abduzeedo.com/files/posts/sites_week/stackoverflow.jpg" width="150" height="100" />I just got back from the <a
href="http://www.stackoverflow.com" rel="nofollow">StackOverflow</a>&#039;s <a
href="http://stackoverflow.carsonified.com/events/sanfrancisco/" rel="nofollow">DevDays</a> conference in the rainy (at least today) San Francisco.</p><p>I was really glad to see <a
href="http://twitter.com/spolsky" rel="nofollow">Joel Spolsky</a>, <a
href="http://twitter.com/codinghorror" rel="nofollow">Jeff Atwood</a>, and the whole StackOverflow team in person, as well as listen to great talks in the following topics:</p><p>9:00 &#8211; 9:50&#160;&#160;&#160; Joel Spolsky Opening Keynote <br
/>9:50 &#8211; 10:45&#160;&#160;&#160; Mark Harrison Python <br
/>11:00 &#8211; 11:55&#160;&#160;&#160; Rory Blyth iPhone <br
/>11:55 &#8211; 12:25&#160;&#160;&#160; Joel Spolsky Fogbugz <br
/>13:30 &#8211; 14:25&#160;&#160;&#160; Scott Hanselman ASP.NET-MVC <br
/>14:25 &#8211; 14:45&#160;&#160;&#160; Jeff Atwood Stack Overflow <br
/>14:45 &#8211; 15:40&#160;&#160;&#160; Daniel Rocha Qt <br
/>16:10 &#8211; 17:05&#160;&#160;&#160; James Yum Android <br
/>17:05 &#8211; 18:00&#160;&#160;&#160; Yehuda Katz jQuery</p><p>My own favorite topics were in the following order of fun/usefulness level:</p><ul><li>iPhone (though I&#039;m interested</li>...<div
class=clear></div> <a
href="http://beerpla.net/2009/10/19/impressions-from-the-stackoverflows-devdays-conference-in-san-francisco/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></ul>]]></description> <content:encoded><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" align="left" src="http://static1.abduzeedo.com/files/posts/sites_week/stackoverflow.jpg" width="150" height="100" />I just got back from the <a
href="http://www.stackoverflow.com" rel="nofollow">StackOverflow</a>&#039;s <a
href="http://stackoverflow.carsonified.com/events/sanfrancisco/" rel="nofollow">DevDays</a> conference in the rainy (at least today) San Francisco.</p><p>I was really glad to see <a
href="http://twitter.com/spolsky" rel="nofollow">Joel Spolsky</a>, <a
href="http://twitter.com/codinghorror" rel="nofollow">Jeff Atwood</a>, and the whole StackOverflow team in person, as well as listen to great talks in the following topics:</p><p>9:00 &#8211; 9:50&#160;&#160;&#160; Joel Spolsky Opening Keynote <br
/>9:50 &#8211; 10:45&#160;&#160;&#160; Mark Harrison Python <br
/>11:00 &#8211; 11:55&#160;&#160;&#160; Rory Blyth iPhone <br
/>11:55 &#8211; 12:25&#160;&#160;&#160; Joel Spolsky Fogbugz <br
/>13:30 &#8211; 14:25&#160;&#160;&#160; Scott Hanselman ASP.NET-MVC <br
/>14:25 &#8211; 14:45&#160;&#160;&#160; Jeff Atwood Stack Overflow <br
/>14:45 &#8211; 15:40&#160;&#160;&#160; Daniel Rocha Qt <br
/>16:10 &#8211; 17:05&#160;&#160;&#160; James Yum Android <br
/>17:05 &#8211; 18:00&#160;&#160;&#160; Yehuda Katz jQuery</p><p>My own favorite topics were in the following order of fun/usefulness level:</p><ul><li>iPhone (though I&#039;m interested in Android development myself but it&#039;s always good to check out the competition) &#8211; it was fun and not boring. Quirky, jittery, OCD all come to mind.</li><li>Joel&#039;s keynote (Hi, Joel, I&#039;m <a
href="http://twitter.com/ArtemR" rel="nofollow">@ArtemR</a> ) &#8211; I welcome the discussion of simple vs feature rich, though Joel has talked about this on his blog <a
href="http://www.joelonsoftware.com/items/2006/12/09.html" rel="nofollow">multiple</a> <a
href="http://www.joelonsoftware.com/items/2006/11/21.html" rel="nofollow">times</a>.</li><li>jQuery &#8211; nice intro into history of jQuery and competition with other frameworks. The technical level of specific examples was quite basic.</li><li>Android &#8211; this is the topic I&#039;m mostly interested in and unfortunately the main speaker got substituted by a guy who has obviously not presented in front of a large crowd before (sorry, I have to criticize &#8211; you&#039;ll do better and better each time! Just don&#039;t worry so much and know your stuff) and was pretty much a recent college grad from the looks of it. He did a pretty decent job at making the code run but a really poor job of marketing and explaining Android&#039;s weaknesses and strengths, as some people on twitter <a
href="http://twitter.com/scanningcrew/statuses/5004657117" rel="nofollow">pointed</a> <a
href="http://twitter.com/SuperDalgas/statuses/5004654967" rel="nofollow">out</a>.</li><li>StackOverflow review &#8211; quite brief but fun. Thanks Jeff!</li><li>Python &#8211; very odd that it was even there &#8211; just a look at a few lines of code from the infamous Python google-like suggest algorithm.</li><li>Qt &#8211; didn&#039;t really care for it but sat through it. Nokia, meh. Next!</li><li>ASP.NET, Fogbugz &#8211; I skipped as I didn&#039;t care much for those</li></ul><p>Overall, I feel like the information presented in all sessions was pretty basic but I guess that was the idea &#8211; a little bit of everything for everyone.</p><p>The absence of WiFi was pretty disappointing as I think it was advertised but I didn&#039;t care much for it. Kept everyone more concentrated anyway.</p><p>The free memory upgrades by Microsoft was an AWESOME move (though mine is already at 4GB and they didn&#039;t give out 4GB sticks)!</p><p>Lunch was decent &#8211; Boudin. Lots of drinks and snacks.</p><p>Well worth $99.</p><p><a
href="http://twitter.com/search?q=+%23devdays+since%3A2009-10-18+until%3A2009-10-19" rel="nofollow">Twitter #devdays results</a>.</p><p><a
href="http://meta.stackoverflow.com/questions/26536/devdays-reviews-san-francisco/" rel="nofollow">Cross-posted</a> to Meta-StackOverflow.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Impressions+From+The+StackOverflow%27s+DevDays+Conference+In+San+Francisco&amp;link=http://beerpla.net/2009/10/19/impressions-from-the-stackoverflows-devdays-conference-in-san-francisco/&amp;notes=I%20just%20got%20back%20from%20the%20StackOverflow%27s%20DevDays%20conference%20in%20the%20rainy%20%28at%20least%20today%29%20San%20Francisco.%20%20I%20was%20really%20glad%20to%20see%20Joel%20Spolsky%2C%20Jeff%20Atwood%2C%20and%20the%20whole%20StackOverflow%20team%20in%20person%2C%20as%20well%20as%20listen%20to%20great%20talks%20in%20the%20following%20topics%3A%20%209%3A00%20-%209%3A50%26%23160%3B%26%23160%3B%26%23160%3B%20Joel%20Spol&amp;short_link=http://bit.ly/bIgG0v&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Impressions+From+The+StackOverflow%27s+DevDays+Conference+In+San+Francisco&amp;link=http://beerpla.net/2009/10/19/impressions-from-the-stackoverflows-devdays-conference-in-san-francisco/&amp;notes=I%20just%20got%20back%20from%20the%20StackOverflow%27s%20DevDays%20conference%20in%20the%20rainy%20%28at%20least%20today%29%20San%20Francisco.%20%20I%20was%20really%20glad%20to%20see%20Joel%20Spolsky%2C%20Jeff%20Atwood%2C%20and%20the%20whole%20StackOverflow%20team%20in%20person%2C%20as%20well%20as%20listen%20to%20great%20talks%20in%20the%20following%20topics%3A%20%209%3A00%20-%209%3A50%26%23160%3B%26%23160%3B%26%23160%3B%20Joel%20Spol&amp;short_link=http://bit.ly/bIgG0v&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Impressions+From+The+StackOverflow%27s+DevDays+Conference+In+San+Francisco&amp;link=http://beerpla.net/2009/10/19/impressions-from-the-stackoverflows-devdays-conference-in-san-francisco/&amp;notes=I%20just%20got%20back%20from%20the%20StackOverflow%27s%20DevDays%20conference%20in%20the%20rainy%20%28at%20least%20today%29%20San%20Francisco.%20%20I%20was%20really%20glad%20to%20see%20Joel%20Spolsky%2C%20Jeff%20Atwood%2C%20and%20the%20whole%20StackOverflow%20team%20in%20person%2C%20as%20well%20as%20listen%20to%20great%20talks%20in%20the%20following%20topics%3A%20%209%3A00%20-%209%3A50%26%23160%3B%26%23160%3B%26%23160%3B%20Joel%20Spol&amp;short_link=http://bit.ly/bIgG0v&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Impressions+From+The+StackOverflow%27s+DevDays+Conference+In+San+Francisco&amp;link=http://beerpla.net/2009/10/19/impressions-from-the-stackoverflows-devdays-conference-in-san-francisco/&amp;notes=I%20just%20got%20back%20from%20the%20StackOverflow%27s%20DevDays%20conference%20in%20the%20rainy%20%28at%20least%20today%29%20San%20Francisco.%20%20I%20was%20really%20glad%20to%20see%20Joel%20Spolsky%2C%20Jeff%20Atwood%2C%20and%20the%20whole%20StackOverflow%20team%20in%20person%2C%20as%20well%20as%20listen%20to%20great%20talks%20in%20the%20following%20topics%3A%20%209%3A00%20-%209%3A50%26%23160%3B%26%23160%3B%26%23160%3B%20Joel%20Spol&amp;short_link=http://bit.ly/bIgG0v&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Impressions+From+The+StackOverflow%27s+DevDays+Conference+In+San+Francisco&amp;link=http://beerpla.net/2009/10/19/impressions-from-the-stackoverflows-devdays-conference-in-san-francisco/&amp;notes=I%20just%20got%20back%20from%20the%20StackOverflow%27s%20DevDays%20conference%20in%20the%20rainy%20%28at%20least%20today%29%20San%20Francisco.%20%20I%20was%20really%20glad%20to%20see%20Joel%20Spolsky%2C%20Jeff%20Atwood%2C%20and%20the%20whole%20StackOverflow%20team%20in%20person%2C%20as%20well%20as%20listen%20to%20great%20talks%20in%20the%20following%20topics%3A%20%209%3A00%20-%209%3A50%26%23160%3B%26%23160%3B%26%23160%3B%20Joel%20Spol&amp;short_link=http://bit.ly/bIgG0v&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Impressions+From+The+StackOverflow%27s+DevDays+Conference+In+San+Francisco&amp;link=http://beerpla.net/2009/10/19/impressions-from-the-stackoverflows-devdays-conference-in-san-francisco/&amp;notes=I%20just%20got%20back%20from%20the%20StackOverflow%27s%20DevDays%20conference%20in%20the%20rainy%20%28at%20least%20today%29%20San%20Francisco.%20%20I%20was%20really%20glad%20to%20see%20Joel%20Spolsky%2C%20Jeff%20Atwood%2C%20and%20the%20whole%20StackOverflow%20team%20in%20person%2C%20as%20well%20as%20listen%20to%20great%20talks%20in%20the%20following%20topics%3A%20%209%3A00%20-%209%3A50%26%23160%3B%26%23160%3B%26%23160%3B%20Joel%20Spol&amp;short_link=http://bit.ly/bIgG0v&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Impressions+From+The+StackOverflow%27s+DevDays+Conference+In+San+Francisco&amp;link=http://beerpla.net/2009/10/19/impressions-from-the-stackoverflows-devdays-conference-in-san-francisco/&amp;notes=I%20just%20got%20back%20from%20the%20StackOverflow%27s%20DevDays%20conference%20in%20the%20rainy%20%28at%20least%20today%29%20San%20Francisco.%20%20I%20was%20really%20glad%20to%20see%20Joel%20Spolsky%2C%20Jeff%20Atwood%2C%20and%20the%20whole%20StackOverflow%20team%20in%20person%2C%20as%20well%20as%20listen%20to%20great%20talks%20in%20the%20following%20topics%3A%20%209%3A00%20-%209%3A50%26%23160%3B%26%23160%3B%26%23160%3B%20Joel%20Spol&amp;short_link=http://bit.ly/bIgG0v&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Impressions%20From%20The%20StackOverflow%27s%20DevDays%20Conference%20In%20San%20Francisco&amp;link=http://beerpla.net/2009/10/19/impressions-from-the-stackoverflows-devdays-conference-in-san-francisco/&amp;notes=I%20just%20got%20back%20from%20the%20StackOverflow%27s%20DevDays%20conference%20in%20the%20rainy%20%28at%20least%20today%29%20San%20Francisco.%20%20I%20was%20really%20glad%20to%20see%20Joel%20Spolsky%2C%20Jeff%20Atwood%2C%20and%20the%20whole%20StackOverflow%20team%20in%20person%2C%20as%20well%20as%20listen%20to%20great%20talks%20in%20the%20following%20topics%3A%20%209%3A00%20-%209%3A50%26%23160%3B%26%23160%3B%26%23160%3B%20Joel%20Spol&amp;short_link=http://bit.ly/bIgG0v&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/" rel="bookmark" title="June 21, 2009">Hidden Features Of Perl, PHP, Javascript, C, C++, C#, Java, Ruby, Python, And Others [Collection Of Incredibly Useful Lists]</a></li><li><a
href="http://beerpla.net/2009/10/24/are-you-a-stackoverflow-com-superuser-com-serverfault-com-fan-heres-a-greasemonkey-script-to-keep-track-of-your-accounts-on-all-of-them/" rel="bookmark" title="October 24, 2009">StackOverflow.com, SuperUser.com, ServerFault.com Fan? Here&#039;s A Greasemonkey Script To Keep Track Of All Your Accounts</a></li><li><a
href="http://beerpla.net/2008/12/19/monitor-all-your-domains-from-one-location/" rel="bookmark" title="December 19, 2008">Monitor All Your Domains From One Location</a></li><li><a
href="http://beerpla.net/2009/04/09/the-real-reasons-to-use-twitter-get-over-your-prejudice-already/" rel="bookmark" title="April 9, 2009">The Real Reasons To Use Twitter (Get Over Your Prejudice Already)</a></li><li><a
href="http://beerpla.net/2006/08/06/minority-report-becomes-reality/" rel="bookmark" title="August 6, 2006">Minority Report Becomes Reality</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F10%2F19%2Fimpressions-from-the-stackoverflows-devdays-conference-in-san-francisco%2F&amp;title=Impressions%20From%20The%20StackOverflow%26%23039%3Bs%20DevDays%20Conference%20In%20San%20Francisco" id="wpa2a_28"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/10/19/impressions-from-the-stackoverflows-devdays-conference-in-san-francisco/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Installing The Android Plugin For Eclipse</title><link>http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/</link> <comments>http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/#comments</comments> <pubDate>Thu, 15 Oct 2009 21:36:56 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Android]]></category> <category><![CDATA[Java]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Eclipse]]></category> <category><![CDATA[exception]]></category> <category><![CDATA[install]]></category> <category><![CDATA[installation]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[problem]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/</guid> <description><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/InstallingTheAndroidPluginForEclipse_C4DA/image.png" width="150" height="157" /> Today is my first day looking at Android development. My first encounter with the Android plugin for Eclipse has not been very smooth, to say the least. I am not sure if it&#039;s Android&#039;s or Eclipse&#039;s fault but I just wasted 2 hours on errors during the plugin installation and would like to pass on the time savings to you.</p><p>The <a
href="http://developer.android.com/sdk/1.6_r1/installing.html" rel="nofollow">plugin install page</a> provides initial instructions and the location of the plugin to give Eclipse (<a
title="https://dl-ssl.google.com/android/eclipse/" href="https://dl-ssl.google.com/android/eclipse/" rel="nofollow">https://dl-ssl.google.com/android/eclipse/</a>). This is very standard stuff and I&#039;ve installed many plugins exactly the same way. However, here&#039;s when problems started.</p><h3>Problem #1: Error while loading manipulator</h3><p>Eclipse just shows a cryptic Install failed box. Here are the highlights:</p><ul><li>!MESSAGE Error while loading</li>...<div
class=clear></div> <a
href="http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></ul>]]></description> <content:encoded><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/InstallingTheAndroidPluginForEclipse_C4DA/image.png" width="150" height="157" /> Today is my first day looking at Android development. My first encounter with the Android plugin for Eclipse has not been very smooth, to say the least. I am not sure if it&#039;s Android&#039;s or Eclipse&#039;s fault but I just wasted 2 hours on errors during the plugin installation and would like to pass on the time savings to you.</p><p>The <a
href="http://developer.android.com/sdk/1.6_r1/installing.html" rel="nofollow">plugin install page</a> provides initial instructions and the location of the plugin to give Eclipse (<a
title="https://dl-ssl.google.com/android/eclipse/" href="https://dl-ssl.google.com/android/eclipse/" rel="nofollow">https://dl-ssl.google.com/android/eclipse/</a>). This is very standard stuff and I&#039;ve installed many plugins exactly the same way. However, here&#039;s when problems started.</p><h3>Problem #1: Error while loading manipulator</h3><p>Eclipse just shows a cryptic Install failed box. Here are the highlights:</p><ul><li>!MESSAGE Error while loading manipulator</li><li>java.lang.IllegalStateException: !fwConfigLocation.equals(fwPersistentDataLocation)</li></ul><p>It looks like for whatever reason, Eclipse&#039;s fwConfigLocation variable does not match fwPersistentDataLocation. I have no idea where those come from and searching for a solution (such as this <a
href="http://pt.sourceforge.jp/ticket/browse.php?group_id=685&amp;tid=17583" rel="nofollow">crazy Japanese sourceforge</a> and <a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=277242" rel="nofollow">this Eclipse bug</a>), restarting Eclipse, and beating my head against the wall took the majority of my the 2 hours I spent on this.</p><p>Here&#039;s the full log, which will help people with the same problem find it in search engines:</p><div
class="wp_syntax"><div
class="code"><pre>!ENTRY org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2009-10-15 13:21:11.224
!MESSAGE Error while loading manipulator.
!STACK 0
java.lang.IllegalStateException: !fwConfigLocation.equals(fwPersistentDataLocation)
	!fwConfigLocation=C:\eclipse\configuration
	,fwPersistentDataLocation=C:\eclipse\plugins\configuration
	at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.checkConsistencyOfFwConfigLocAndFwPersistentDataLoc(EquinoxManipulatorImpl.java:65)
	at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.loadWithoutFwPersistentData(EquinoxManipulatorImpl.java:360)
	at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.load(EquinoxManipulatorImpl.java:331)
	at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:50)
	at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
	at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.uninstallBundle(UninstallBundleAction.java:74)
	at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.execute(UninstallBundleAction.java:29)
	at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
	at org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
	at org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
	at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
	at org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
	at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.performProvisioningPlan(ProvisioningUtil.java:389)
	at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProfileModificationOperation.doExecute(ProfileModificationOperation.java:61)
	at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningOperation.execute(ProvisioningOperation.java:37)
	at org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningOperationRunner$1.run(ProvisioningOperationRunner.java:94)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
&nbsp;
!ENTRY org.eclipse.equinox.p2.engine 4 4 2009-10-15 13:21:11.240
!MESSAGE An error occurred while uninstalling
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2009-10-15 13:21:11.240
!MESSAGE session context was:(profile=epp.package.php, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Uninstall, operand=[R]javax.activation 1.1.0.v200905021805 --&gt; [R]javax.activation 1.1.0.v200906290531, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction).
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2009-10-15 13:21:11.240
!MESSAGE Error while loading manipulator.
!STACK 0
java.lang.IllegalStateException: Error while loading manipulator.
	at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:54)
	at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
	at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.uninstallBundle(UninstallBundleAction.java:74)
	at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.execute(UninstallBundleAction.java:29)
	at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
	at org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
	at org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
	at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
	at org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
	at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.performProvisioningPlan(ProvisioningUtil.java:389)
	at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProfileModificationOperation.doExecute(ProfileModificationOperation.java:61)
	at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningOperation.execute(ProvisioningOperation.java:37)
	at org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningOperationRunner$1.run(ProvisioningOperationRunner.java:94)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SESSION 2009-10-15 13:31:40.853 -----------------------------------------------
eclipse.buildId=I20090611-1540
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86</pre></div></div><p>Finally, I found a solution that worked &#8211; modify eclipse.ini (the one that sits in elipse&#039;s install directory) and add the following:</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
</pre></td><td
class="code"><pre>-startup
file:/C:/eclipse/plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
--launcher.library
file:/C:/eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519</pre></td></tr></table></div><p>Note that the exact locations may differ for you, so figure out what is installed on your machine and replace accordingly.</p><p>Also, it seems that the location of the file HAS to be on a new line &#8211; otherwise it is not recognized. What kind of shit is that, Eclipse? Some values in eclipse.ini are specified on the same line separated by space, some separated by &#039;=&#039;, and some have to be on a new line? This fun trivia fact wasted about 45 minutes of my time.</p><p>And yes, startup has 1 dash and launcher.library has 2. /sigh</p><p><strong>Edit:</strong> it looks like by default Eclipse does come with these options. I somehow managed to lose them, so this is probably my fault. The error couldn&#039;t be more cryptic though.</p><h3>Problem #2: java.io.IOException: The file &quot;C:\eclipse\features\com.android.ide.eclipse.adt_0.9.3.v200909031112-12945&quot; does not exist</h3><p>Great. Now what…</p><p>After examining the features directory, I indeed found that directory com.android.ide.eclipse.adt_0.9.3.v200909031112-12945 does not exist. What I did find though is com.android.ide.eclipse.adt_0.9.3.v200909031112-12945.jar, which is simply an archive. Why didn&#039;t you unpack this archive, Eclipse? Or Android plugin devs? Whoever is responsible for this &#8211; argh!</p><p>After quickly creating the directories and unpacking the .jar contents into them, Eclipse was finally able to install the Android plugin.</p><p>&#160;</p><p>If installing a plugin is this friendly, I can only imagine what awaits me in Android app development. Am I the only one with these problems? You let me know.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Installing+The+Android+Plugin+For+Eclipse&amp;link=http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/&amp;notes=%20Today%20is%20my%20first%20day%20looking%20at%20Android%20development.%20My%20first%20encounter%20with%20the%20Android%20plugin%20for%20Eclipse%20has%20not%20been%20very%20smooth%2C%20to%20say%20the%20least.%20I%20am%20not%20sure%20if%20it%27s%20Android%27s%20or%20Eclipse%27s%20fault%20but%20I%20just%20wasted%202%20hours%20on%20errors%20during%20the%20plugin%20installation%20and%20would%20like%20to%20pass%20on%20th&amp;short_link=http://bit.ly/c76rI4&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Installing+The+Android+Plugin+For+Eclipse&amp;link=http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/&amp;notes=%20Today%20is%20my%20first%20day%20looking%20at%20Android%20development.%20My%20first%20encounter%20with%20the%20Android%20plugin%20for%20Eclipse%20has%20not%20been%20very%20smooth%2C%20to%20say%20the%20least.%20I%20am%20not%20sure%20if%20it%27s%20Android%27s%20or%20Eclipse%27s%20fault%20but%20I%20just%20wasted%202%20hours%20on%20errors%20during%20the%20plugin%20installation%20and%20would%20like%20to%20pass%20on%20th&amp;short_link=http://bit.ly/c76rI4&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Installing+The+Android+Plugin+For+Eclipse&amp;link=http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/&amp;notes=%20Today%20is%20my%20first%20day%20looking%20at%20Android%20development.%20My%20first%20encounter%20with%20the%20Android%20plugin%20for%20Eclipse%20has%20not%20been%20very%20smooth%2C%20to%20say%20the%20least.%20I%20am%20not%20sure%20if%20it%27s%20Android%27s%20or%20Eclipse%27s%20fault%20but%20I%20just%20wasted%202%20hours%20on%20errors%20during%20the%20plugin%20installation%20and%20would%20like%20to%20pass%20on%20th&amp;short_link=http://bit.ly/c76rI4&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Installing+The+Android+Plugin+For+Eclipse&amp;link=http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/&amp;notes=%20Today%20is%20my%20first%20day%20looking%20at%20Android%20development.%20My%20first%20encounter%20with%20the%20Android%20plugin%20for%20Eclipse%20has%20not%20been%20very%20smooth%2C%20to%20say%20the%20least.%20I%20am%20not%20sure%20if%20it%27s%20Android%27s%20or%20Eclipse%27s%20fault%20but%20I%20just%20wasted%202%20hours%20on%20errors%20during%20the%20plugin%20installation%20and%20would%20like%20to%20pass%20on%20th&amp;short_link=http://bit.ly/c76rI4&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Installing+The+Android+Plugin+For+Eclipse&amp;link=http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/&amp;notes=%20Today%20is%20my%20first%20day%20looking%20at%20Android%20development.%20My%20first%20encounter%20with%20the%20Android%20plugin%20for%20Eclipse%20has%20not%20been%20very%20smooth%2C%20to%20say%20the%20least.%20I%20am%20not%20sure%20if%20it%27s%20Android%27s%20or%20Eclipse%27s%20fault%20but%20I%20just%20wasted%202%20hours%20on%20errors%20during%20the%20plugin%20installation%20and%20would%20like%20to%20pass%20on%20th&amp;short_link=http://bit.ly/c76rI4&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Installing+The+Android+Plugin+For+Eclipse&amp;link=http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/&amp;notes=%20Today%20is%20my%20first%20day%20looking%20at%20Android%20development.%20My%20first%20encounter%20with%20the%20Android%20plugin%20for%20Eclipse%20has%20not%20been%20very%20smooth%2C%20to%20say%20the%20least.%20I%20am%20not%20sure%20if%20it%27s%20Android%27s%20or%20Eclipse%27s%20fault%20but%20I%20just%20wasted%202%20hours%20on%20errors%20during%20the%20plugin%20installation%20and%20would%20like%20to%20pass%20on%20th&amp;short_link=http://bit.ly/c76rI4&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Installing+The+Android+Plugin+For+Eclipse&amp;link=http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/&amp;notes=%20Today%20is%20my%20first%20day%20looking%20at%20Android%20development.%20My%20first%20encounter%20with%20the%20Android%20plugin%20for%20Eclipse%20has%20not%20been%20very%20smooth%2C%20to%20say%20the%20least.%20I%20am%20not%20sure%20if%20it%27s%20Android%27s%20or%20Eclipse%27s%20fault%20but%20I%20just%20wasted%202%20hours%20on%20errors%20during%20the%20plugin%20installation%20and%20would%20like%20to%20pass%20on%20th&amp;short_link=http://bit.ly/c76rI4&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Installing%20The%20Android%20Plugin%20For%20Eclipse&amp;link=http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/&amp;notes=%20Today%20is%20my%20first%20day%20looking%20at%20Android%20development.%20My%20first%20encounter%20with%20the%20Android%20plugin%20for%20Eclipse%20has%20not%20been%20very%20smooth%2C%20to%20say%20the%20least.%20I%20am%20not%20sure%20if%20it%27s%20Android%27s%20or%20Eclipse%27s%20fault%20but%20I%20just%20wasted%202%20hours%20on%20errors%20during%20the%20plugin%20installation%20and%20would%20like%20to%20pass%20on%20th&amp;short_link=http://bit.ly/c76rI4&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/" rel="bookmark" title="November 4, 2009">[Android] Auto Formatting Android XML Files With Eclipse</a></li><li><a
href="http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/" rel="bookmark" title="September 29, 2010">How To Update Eclipse From Galileo (3.5) To Helios (3.6) In-Place Without Reinstalling</a></li><li><a
href="http://beerpla.net/2007/08/29/a-short-note-on-eaccelerator-the-php-accelerator/" rel="bookmark" title="August 29, 2007">A Short Note On eAccelerator &#8211; The PHP Accelerator</a></li><li><a
href="http://beerpla.net/2008/10/09/my-notes-on-learning-python-coming-from-perl/" rel="bookmark" title="October 9, 2008">My Notes On Learning Python Coming From Perl</a></li><li><a
href="http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/" rel="bookmark" title="November 21, 2009">Meet Firefox For Mobile [Video + Feature Highlights + More Info]</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F10%2F15%2Finstalling-the-android-plugin-for-eclipse%2F&amp;title=Installing%20The%20Android%20Plugin%20For%20Eclipse" id="wpa2a_30"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>Supercharge Your GNU Screen With A Power &quot;Taskbar&quot; And Never Feel Lost Again</title><link>http://beerpla.net/2009/10/06/supercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again/</link> <comments>http://beerpla.net/2009/10/06/supercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again/#comments</comments> <pubDate>Tue, 06 Oct 2009 14:30:00 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[My Favorites]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[bandwidth]]></category> <category><![CDATA[bar]]></category> <category><![CDATA[gnu]]></category> <category><![CDATA[gnu screen]]></category> <category><![CDATA[load]]></category> <category><![CDATA[manage]]></category> <category><![CDATA[screen]]></category> <category><![CDATA[screenrc]]></category> <category><![CDATA[taskbar]]></category> <category><![CDATA[time]]></category> <category><![CDATA[tip]]></category> <category><![CDATA[trick]]></category> <category><![CDATA[windows]]></category> <category><![CDATA[wormulon]]></category> <guid
isPermaLink="false">http://beerpla.net/?p=1154</guid> <description><![CDATA[<h2>Introduction</h2><p><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/SuperchargeYourGNUScreenWithAPowerBar_B381/image_thumb_3.png" width="240" height="24" /><a
href="http://www.gnu.org/software/screen/" rel="nofollow"><em>Screen</em></a> is awesome. Once you become comfortable navigating around it, you start using it ALL the time. No more dropped sessions, no having 10 Putty windows open at the same time, no more nohup.</p><p>However, with default <em>screen </em>settings I&#039;ve always felt a bit lost and out of place, mostly because there was no &#34;taskbar&#34; with a bird&#039;s eye view of all windows. Pressing <em>ctrl-a, &#34;</em> really does get annoying fast (that&#039;s the command that brings up the window selector &#8211; screenshot below).</p><p><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/SuperchargeYourGNUScreenWithAPowerBar_B381/image_thumb.png" width="153" height="117" /></p><p>So instead I modded my <em>screen</em> to have a &#34;taskbar&#34; which sits at the bottom of <em>screen</em> and adds:</p><ul><li>the name of each window</li><li>a clear marking of window states, such as<ul><li>the currently active window</li></ul></li>...<div
class=clear></div> <a
href="http://beerpla.net/2009/10/06/supercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></ul>]]></description> <content:encoded><![CDATA[<h2>Introduction</h2><p><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/SuperchargeYourGNUScreenWithAPowerBar_B381/image_thumb_3.png" width="240" height="24" /><a
href="http://www.gnu.org/software/screen/" rel="nofollow"><em>Screen</em></a> is awesome. Once you become comfortable navigating around it, you start using it ALL the time. No more dropped sessions, no having 10 Putty windows open at the same time, no more nohup.</p><p>However, with default <em>screen </em>settings I&#039;ve always felt a bit lost and out of place, mostly because there was no &quot;taskbar&quot; with a bird&#039;s eye view of all windows. Pressing <em>ctrl-a, &quot;</em> really does get annoying fast (that&#039;s the command that brings up the window selector &#8211; screenshot below).</p><p><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/SuperchargeYourGNUScreenWithAPowerBar_B381/image_thumb.png" width="153" height="117" /></p><p>So instead I modded my <em>screen</em> to have a &quot;taskbar&quot; which sits at the bottom of <em>screen</em> and adds:</p><ul><li>the name of each window</li><li>a clear marking of window states, such as<ul><li>the currently active window (* and different background)</li><li>last used window (-)</li><li>if you&#039;re sharing the current window with someone else (&amp;)</li></ul></li><li>the current incoming/outgoing bandwidth in bytes/sec, updating every 5 seconds</li><li>the current time</li><li>the load on the server, as reported by the <em>uptime</em> or <em>w</em> commands</li></ul><p>Of course, all of the above is customizable to your liking, but this is what I picked for myself.</p><p>Without further ado, here&#039;s a screenshot:</p><p><a
href="http://beerpla.net/wp-content/uploads/SuperchargeYourGNUScreenWithAPowerBar_B381/image_3.png" class="lightview" rel="gallery['1154']" title="screen power taskbar"><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="screen power taskbar" alt="screen power taskbar" src="http://beerpla.net/wp-content/uploads/SuperchargeYourGNUScreenWithAPowerBar_B381/image_thumb_3.png" width="700" height="71" /></a></p><p>Doesn&#039;t that make you feel much more homey?</p><p>Now using a shared <em>screen </em>session for pair programming, as suggested in a <a
href="http://haruska.com/2009/09/29/remote-pair-programming/" rel="nofollow">recent article</a> posted on <a
href="http://news.ycombinator.com" rel="nofollow">Hacker News</a>, suddenly sounds even more appealing.</p><p><div
class="note"><div
class="notetip">Did you know you could rename each individual window within screen? Just press ctrl-a A and enter a new name.</div></div></p><h2>Installation</h2><p>Here&#039;s what you need to get this bar on your <em>screen</em>:</p><ul><li>download my <a
href="http://beerpla.net/downloads/.screenrc">.screenrc</a> (0 B, downloaded 963 times) and put it in your home directory. Make sure the location of wormulon (installed in the next step) is correct. Also, specify the right network interface (eth0 in most cases). <br
/>Here is the file, for reference:</li></ul><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td
class="code"><pre># Monitor eth0 bandwidth and update every 5 s
# Assign the output of this cmd to '%1`' and use it in the below hardstatus line:
backtick 1 0 0 /usr/local/bin/wormulon -d 5 -i eth0
&nbsp;
hardstatus alwayslastline &quot;%{bw}[%H] [%?%-Lw%?%{wb}%n*%f %t%{bw}%?%+Lw%?]%=%{bw} [%1`] [%c:%s] [%l]&quot; # modified from http://lists.gnu.org/archive/html/screen-users/2007-08/msg00008.html
&nbsp;
# Set the scrollback length:
defscrollback 10000
&nbsp;
# Select whether you want to see the copyright notice during startup:
startup_message off</pre></td></tr></table></div><ul><li>download and compile <em>wormulon</em> (<a
href="http://beerpla.net/downloads/wormulon-0.1.4.tar.gz">wormulon-0.1.4.tar.gz</a> 45.3 kB, downloaded 473 times or from a <a
href="http://www.sourcefiles.org/Monitoring/Network/wormulon-0.1.4.tar.gz" rel="nofollow">mirror</a>) &#8211; a nifty little program that shows incoming and outgoing bandwidth and is perfect for integrating with <em>screen</em>. You can omit this step if you don&#039;t want the bandwidth monitor. I know the name is a bit odd but it&#039;s a legit little open source utility &#8211; feel free to check out the code.</li></ul><div
class="wp_syntax"><div
class="code"><pre>tar xvzf wormulon-0.1.4.tar.gz
cd wormulon-0.1.4/
./configure &amp;&amp; make
sudo make install # this installs into /usr/local/bin/;
                  # alternatively, copy the wormulon binary wherever you
                  # want and update the path in .screenrc</pre></div></div><p>Now restart screen and you&#039;re good to go.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Supercharge+Your+GNU+Screen+With+A+Power+%26quot%3BTaskbar%26quot%3B+And+Never+Feel+Lost+Again&amp;link=http://beerpla.net/2009/10/06/supercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again/&amp;notes=Introduction%0D%0AScreen%20is%20awesome.%20Once%20you%20become%20comfortable%20navigating%20around%20it%2C%20you%20start%20using%20it%20ALL%20the%20time.%20No%20more%20dropped%20sessions%2C%20no%20having%2010%20Putty%20windows%20open%20at%20the%20same%20time%2C%20no%20more%20nohup.%0D%0AHowever%2C%20with%20default%20screen%20settings%20I%27ve%20always%20felt%20a%20bit%20lost%20and%20out%20of%20place%2C%20mostly%20b&amp;short_link=http://bit.ly/dBSHMa&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Supercharge+Your+GNU+Screen+With+A+Power+%26quot%3BTaskbar%26quot%3B+And+Never+Feel+Lost+Again&amp;link=http://beerpla.net/2009/10/06/supercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again/&amp;notes=Introduction%0D%0AScreen%20is%20awesome.%20Once%20you%20become%20comfortable%20navigating%20around%20it%2C%20you%20start%20using%20it%20ALL%20the%20time.%20No%20more%20dropped%20sessions%2C%20no%20having%2010%20Putty%20windows%20open%20at%20the%20same%20time%2C%20no%20more%20nohup.%0D%0AHowever%2C%20with%20default%20screen%20settings%20I%27ve%20always%20felt%20a%20bit%20lost%20and%20out%20of%20place%2C%20mostly%20b&amp;short_link=http://bit.ly/dBSHMa&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Supercharge+Your+GNU+Screen+With+A+Power+%26quot%3BTaskbar%26quot%3B+And+Never+Feel+Lost+Again&amp;link=http://beerpla.net/2009/10/06/supercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again/&amp;notes=Introduction%0D%0AScreen%20is%20awesome.%20Once%20you%20become%20comfortable%20navigating%20around%20it%2C%20you%20start%20using%20it%20ALL%20the%20time.%20No%20more%20dropped%20sessions%2C%20no%20having%2010%20Putty%20windows%20open%20at%20the%20same%20time%2C%20no%20more%20nohup.%0D%0AHowever%2C%20with%20default%20screen%20settings%20I%27ve%20always%20felt%20a%20bit%20lost%20and%20out%20of%20place%2C%20mostly%20b&amp;short_link=http://bit.ly/dBSHMa&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Supercharge+Your+GNU+Screen+With+A+Power+%26quot%3BTaskbar%26quot%3B+And+Never+Feel+Lost+Again&amp;link=http://beerpla.net/2009/10/06/supercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again/&amp;notes=Introduction%0D%0AScreen%20is%20awesome.%20Once%20you%20become%20comfortable%20navigating%20around%20it%2C%20you%20start%20using%20it%20ALL%20the%20time.%20No%20more%20dropped%20sessions%2C%20no%20having%2010%20Putty%20windows%20open%20at%20the%20same%20time%2C%20no%20more%20nohup.%0D%0AHowever%2C%20with%20default%20screen%20settings%20I%27ve%20always%20felt%20a%20bit%20lost%20and%20out%20of%20place%2C%20mostly%20b&amp;short_link=http://bit.ly/dBSHMa&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Supercharge+Your+GNU+Screen+With+A+Power+%26quot%3BTaskbar%26quot%3B+And+Never+Feel+Lost+Again&amp;link=http://beerpla.net/2009/10/06/supercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again/&amp;notes=Introduction%0D%0AScreen%20is%20awesome.%20Once%20you%20become%20comfortable%20navigating%20around%20it%2C%20you%20start%20using%20it%20ALL%20the%20time.%20No%20more%20dropped%20sessions%2C%20no%20having%2010%20Putty%20windows%20open%20at%20the%20same%20time%2C%20no%20more%20nohup.%0D%0AHowever%2C%20with%20default%20screen%20settings%20I%27ve%20always%20felt%20a%20bit%20lost%20and%20out%20of%20place%2C%20mostly%20b&amp;short_link=http://bit.ly/dBSHMa&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Supercharge+Your+GNU+Screen+With+A+Power+%26quot%3BTaskbar%26quot%3B+And+Never+Feel+Lost+Again&amp;link=http://beerpla.net/2009/10/06/supercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again/&amp;notes=Introduction%0D%0AScreen%20is%20awesome.%20Once%20you%20become%20comfortable%20navigating%20around%20it%2C%20you%20start%20using%20it%20ALL%20the%20time.%20No%20more%20dropped%20sessions%2C%20no%20having%2010%20Putty%20windows%20open%20at%20the%20same%20time%2C%20no%20more%20nohup.%0D%0AHowever%2C%20with%20default%20screen%20settings%20I%27ve%20always%20felt%20a%20bit%20lost%20and%20out%20of%20place%2C%20mostly%20b&amp;short_link=http://bit.ly/dBSHMa&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Supercharge+Your+GNU+Screen+With+A+Power+%26quot%3BTaskbar%26quot%3B+And+Never+Feel+Lost+Again&amp;link=http://beerpla.net/2009/10/06/supercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again/&amp;notes=Introduction%0D%0AScreen%20is%20awesome.%20Once%20you%20become%20comfortable%20navigating%20around%20it%2C%20you%20start%20using%20it%20ALL%20the%20time.%20No%20more%20dropped%20sessions%2C%20no%20having%2010%20Putty%20windows%20open%20at%20the%20same%20time%2C%20no%20more%20nohup.%0D%0AHowever%2C%20with%20default%20screen%20settings%20I%27ve%20always%20felt%20a%20bit%20lost%20and%20out%20of%20place%2C%20mostly%20b&amp;short_link=http://bit.ly/dBSHMa&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Supercharge%20Your%20GNU%20Screen%20With%20A%20Power%20%26quot%3BTaskbar%26quot%3B%20And%20Never%20Feel%20Lost%20Again&amp;link=http://beerpla.net/2009/10/06/supercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again/&amp;notes=Introduction%0D%0AScreen%20is%20awesome.%20Once%20you%20become%20comfortable%20navigating%20around%20it%2C%20you%20start%20using%20it%20ALL%20the%20time.%20No%20more%20dropped%20sessions%2C%20no%20having%2010%20Putty%20windows%20open%20at%20the%20same%20time%2C%20no%20more%20nohup.%0D%0AHowever%2C%20with%20default%20screen%20settings%20I%27ve%20always%20felt%20a%20bit%20lost%20and%20out%20of%20place%2C%20mostly%20b&amp;short_link=http://bit.ly/dBSHMa&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2007/07/09/how-to-download-and-install-windows-media-player-11-bypassing-wga/" rel="bookmark" title="July 9, 2007">How To Download And Install Windows Media Player 11 Bypassing WGA</a></li><li><a
href="http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/" rel="bookmark" title="August 4, 2007">Watch &#8211; A Useful Linux Command You May Have Never Heard Of</a></li><li><a
href="http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/" rel="bookmark" title="September 29, 2010">How To Update Eclipse From Galileo (3.5) To Helios (3.6) In-Place Without Reinstalling</a></li><li><a
href="http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/" rel="bookmark" title="December 22, 2008">Mastering The Linux Shell &#8211; Bash Shortcuts Explained (Now With Cheat Sheets)</a></li><li><a
href="http://beerpla.net/2007/08/10/how-to-resizegrow-vmware-linux-disks-and-partitions/" rel="bookmark" title="August 10, 2007">How To Resize/Grow VMware Linux Disks and Partitions</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F10%2F06%2Fsupercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again%2F&amp;title=Supercharge%20Your%20GNU%20Screen%20With%20A%20Power%20%26quot%3BTaskbar%26quot%3B%20And%20Never%20Feel%20Lost%20Again" id="wpa2a_32"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/10/06/supercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>[Solr] How To Fix java.io.IOException: directory FOO exists and is a directory, but cannot be listed: list() returned null</title><link>http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/</link> <comments>http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/#comments</comments> <pubDate>Mon, 21 Sep 2009 19:47:53 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Solr]]></category> <category><![CDATA[commit]]></category> <category><![CDATA[directory]]></category> <category><![CDATA[exception]]></category> <category><![CDATA[exists]]></category> <category><![CDATA[Java]]></category> <category><![CDATA[limit]]></category> <category><![CDATA[list]]></category> <category><![CDATA[null]]></category> <category><![CDATA[open file]]></category> <category><![CDATA[optimize]]></category> <category><![CDATA[ulimit]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/</guid> <description><![CDATA[<h2>The Problem</h2><p>I am throwing up a quick post about a relatively cryptic error that Solr started throwing the other day here at Plaxo. After happily running for a few days, I suddenly started getting pages about failed Solr indexing.</p><p>Upon closer examination, I saw the following repeatedly in the log file:</p><div
class="wp_syntax"><div
class="code"><pre>catalina.2009-09-18.log:SEVERE: java.io.IOException: directory 'DATADIR/index'
exists and is a directory, but cannot be listed: list() returned null</pre></div></div><p>I tried to see if sending an <a
href="http://www.google.com/search?q=site:wiki.apache.org+solr+optimize" rel="nofollow">OPTIMIZE</a> command would help but the server returned the same response.</p><h2>Digging Deeper</h2><p>The reason was these errors was quite simple &#8211; Solr was running into the system level limit on allowed number of open files (ulimit). This limit can be seen by running</p><div
class="wp_syntax"><div
class="code"><pre>ulimit </pre></div>...<div
class=clear></div> <a
href="http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></div>]]></description> <content:encoded><![CDATA[<h2>The Problem</h2><p>I am throwing up a quick post about a relatively cryptic error that Solr started throwing the other day here at Plaxo. After happily running for a few days, I suddenly started getting pages about failed Solr indexing.</p><p>Upon closer examination, I saw the following repeatedly in the log file:</p><div
class="wp_syntax"><div
class="code"><pre>catalina.2009-09-18.log:SEVERE: java.io.IOException: directory 'DATADIR/index'
exists and is a directory, but cannot be listed: list() returned null</pre></div></div><p>I tried to see if sending an <a
href="http://www.google.com/search?q=site:wiki.apache.org+solr+optimize" rel="nofollow">OPTIMIZE</a> command would help but the server returned the same response.</p><h2>Digging Deeper</h2><p>The reason was these errors was quite simple &#8211; Solr was running into the system level limit on allowed number of open files (ulimit). This limit can be seen by running</p><div
class="wp_syntax"><div
class="code"><pre>ulimit -n
1024</pre></div></div><p>or simply</p><div
class="wp_syntax"><div
class="code"><pre>ulimit -a | grep 'open files'
open files                      (-n) 1024</pre></div></div><p>This means that if a process tries to open that many files at the same time, the kernel will prohibit opening any more, which in my case caused the Java IOException.</p><p>In my case, I haven&#039;t been using the Solr OPTIMIZE command for a while, so after a lot of <a
href="http://www.google.com/search?q=site:wiki.apache.org+solr+commit" rel="nofollow">COMMIT</a>s, the Solr data got pretty fragmented, thus hitting the open files limit.</p><h2>The Solution</h2><p>There are 2 things to be done here:</p><ol><li>OPTIMIZE Solr more often. When an OPTIMIZE occurs, multiple index files are merged into 1, thus reducing the number of files that need to be opened. However, before you can OPTIMIZE, you have to raise the allowed number of open files (see the next bullet).</p></li><li>Set a higher open files limit for the user that runs Solr (in my case, the <strong><em>solr</em></strong> user) &#8211; for example to 4096 instead of 1024. One way to do it is by adding a file /etc/security/limits.d/solr.conf with the following contents:<p></p><div
class="wp_syntax"><div
class="code"><pre>solr hard nofile 4096
solr soft nofile 4096</pre></div></div><p>and then logging out and back in. The file should be automatically loaded, which you can verify by running the ulimit commands from the section above.</li></ol><p>Happy Solring!</p><p>By the way, here&#039;s a really good resource for Solr 1.4 that just came out: <a
href="http://www.amazon.com/dp/1847195881/?tag=beepla-20">Solr 1.4 Enterprise Search</a>. I have this book and it&#039;s quite helpful in explaining such topics as multicore setup, search methods, replication, etc.</p><p
align="center"><iframe
style="width: 120px; height: 240px" marginheight="0" src="http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=beepla-20&amp;o=1&amp;p=8&amp;l=as1&amp;m=amazon&amp;f=ifr&amp;md=10FE9736YVPPT7A0FBG2&amp;asins=1847195881" frameborder="0" marginwidth="0" scrolling="no"></iframe></p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=%5BSolr%5D+How+To+Fix+java.io.IOException%3A+directory+FOO+exists+and+is+a+directory%2C+but+cannot+be+listed%3A+list%28%29+returned+null&amp;link=http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/&amp;notes=The%20Problem%20%20I%20am%20throwing%20up%20a%20quick%20post%20about%20a%20relatively%20cryptic%20error%20that%20Solr%20started%20throwing%20the%20other%20day%20here%20at%20Plaxo.%20After%20happily%20running%20for%20a%20few%20days%2C%20I%20suddenly%20started%20getting%20pages%20about%20failed%20Solr%20indexing.%20%20Upon%20closer%20examination%2C%20I%20saw%20the%20following%20repeatedly%20in%20the%20log%20f&amp;short_link=http://bit.ly/dBdAdi&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=%5BSolr%5D+How+To+Fix+java.io.IOException%3A+directory+FOO+exists+and+is+a+directory%2C+but+cannot+be+listed%3A+list%28%29+returned+null&amp;link=http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/&amp;notes=The%20Problem%20%20I%20am%20throwing%20up%20a%20quick%20post%20about%20a%20relatively%20cryptic%20error%20that%20Solr%20started%20throwing%20the%20other%20day%20here%20at%20Plaxo.%20After%20happily%20running%20for%20a%20few%20days%2C%20I%20suddenly%20started%20getting%20pages%20about%20failed%20Solr%20indexing.%20%20Upon%20closer%20examination%2C%20I%20saw%20the%20following%20repeatedly%20in%20the%20log%20f&amp;short_link=http://bit.ly/dBdAdi&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=%5BSolr%5D+How+To+Fix+java.io.IOException%3A+directory+FOO+exists+and+is+a+directory%2C+but+cannot+be+listed%3A+list%28%29+returned+null&amp;link=http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/&amp;notes=The%20Problem%20%20I%20am%20throwing%20up%20a%20quick%20post%20about%20a%20relatively%20cryptic%20error%20that%20Solr%20started%20throwing%20the%20other%20day%20here%20at%20Plaxo.%20After%20happily%20running%20for%20a%20few%20days%2C%20I%20suddenly%20started%20getting%20pages%20about%20failed%20Solr%20indexing.%20%20Upon%20closer%20examination%2C%20I%20saw%20the%20following%20repeatedly%20in%20the%20log%20f&amp;short_link=http://bit.ly/dBdAdi&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=%5BSolr%5D+How+To+Fix+java.io.IOException%3A+directory+FOO+exists+and+is+a+directory%2C+but+cannot+be+listed%3A+list%28%29+returned+null&amp;link=http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/&amp;notes=The%20Problem%20%20I%20am%20throwing%20up%20a%20quick%20post%20about%20a%20relatively%20cryptic%20error%20that%20Solr%20started%20throwing%20the%20other%20day%20here%20at%20Plaxo.%20After%20happily%20running%20for%20a%20few%20days%2C%20I%20suddenly%20started%20getting%20pages%20about%20failed%20Solr%20indexing.%20%20Upon%20closer%20examination%2C%20I%20saw%20the%20following%20repeatedly%20in%20the%20log%20f&amp;short_link=http://bit.ly/dBdAdi&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=%5BSolr%5D+How+To+Fix+java.io.IOException%3A+directory+FOO+exists+and+is+a+directory%2C+but+cannot+be+listed%3A+list%28%29+returned+null&amp;link=http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/&amp;notes=The%20Problem%20%20I%20am%20throwing%20up%20a%20quick%20post%20about%20a%20relatively%20cryptic%20error%20that%20Solr%20started%20throwing%20the%20other%20day%20here%20at%20Plaxo.%20After%20happily%20running%20for%20a%20few%20days%2C%20I%20suddenly%20started%20getting%20pages%20about%20failed%20Solr%20indexing.%20%20Upon%20closer%20examination%2C%20I%20saw%20the%20following%20repeatedly%20in%20the%20log%20f&amp;short_link=http://bit.ly/dBdAdi&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=%5BSolr%5D+How+To+Fix+java.io.IOException%3A+directory+FOO+exists+and+is+a+directory%2C+but+cannot+be+listed%3A+list%28%29+returned+null&amp;link=http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/&amp;notes=The%20Problem%20%20I%20am%20throwing%20up%20a%20quick%20post%20about%20a%20relatively%20cryptic%20error%20that%20Solr%20started%20throwing%20the%20other%20day%20here%20at%20Plaxo.%20After%20happily%20running%20for%20a%20few%20days%2C%20I%20suddenly%20started%20getting%20pages%20about%20failed%20Solr%20indexing.%20%20Upon%20closer%20examination%2C%20I%20saw%20the%20following%20repeatedly%20in%20the%20log%20f&amp;short_link=http://bit.ly/dBdAdi&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=%5BSolr%5D+How+To+Fix+java.io.IOException%3A+directory+FOO+exists+and+is+a+directory%2C+but+cannot+be+listed%3A+list%28%29+returned+null&amp;link=http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/&amp;notes=The%20Problem%20%20I%20am%20throwing%20up%20a%20quick%20post%20about%20a%20relatively%20cryptic%20error%20that%20Solr%20started%20throwing%20the%20other%20day%20here%20at%20Plaxo.%20After%20happily%20running%20for%20a%20few%20days%2C%20I%20suddenly%20started%20getting%20pages%20about%20failed%20Solr%20indexing.%20%20Upon%20closer%20examination%2C%20I%20saw%20the%20following%20repeatedly%20in%20the%20log%20f&amp;short_link=http://bit.ly/dBdAdi&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=%5BSolr%5D%20How%20To%20Fix%20java.io.IOException%3A%20directory%20FOO%20exists%20and%20is%20a%20directory%2C%20but%20cannot%20be%20listed%3A%20list%28%29%20returned%20null&amp;link=http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/&amp;notes=The%20Problem%20%20I%20am%20throwing%20up%20a%20quick%20post%20about%20a%20relatively%20cryptic%20error%20that%20Solr%20started%20throwing%20the%20other%20day%20here%20at%20Plaxo.%20After%20happily%20running%20for%20a%20few%20days%2C%20I%20suddenly%20started%20getting%20pages%20about%20failed%20Solr%20indexing.%20%20Upon%20closer%20examination%2C%20I%20saw%20the%20following%20repeatedly%20in%20the%20log%20f&amp;short_link=http://bit.ly/dBdAdi&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2010/03/06/how-to-show-hiddeninvisible-files-in-total-commander-both-locally-and-on-an-ftp-server/" rel="bookmark" title="March 6, 2010">How To Show Hidden/Invisible Files In Total Commander, Both Locally And On An FTP Server</a></li><li><a
href="http://beerpla.net/2009/09/03/comparison-between-solr-and-sphinx-search-servers-solr-vs-sphinx-fight/" rel="bookmark" title="September 3, 2009">Comparison Between Solr And Sphinx Search Servers (Solr Vs Sphinx &#8211; Fight!)</a></li><li><a
href="http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/" rel="bookmark" title="August 4, 2007">Watch &#8211; A Useful Linux Command You May Have Never Heard Of</a></li><li><a
href="http://beerpla.net/2009/04/08/perl-finding-files-the-fun-and-elegant-way/" rel="bookmark" title="April 8, 2009">[Perl] Finding Files, The Fun And Elegant Way</a></li><li><a
href="http://beerpla.net/2008/10/11/how-to-sort-folders-the-same-way-as-files-in-total-commander/" rel="bookmark" title="October 11, 2008">How To Sort Folders The Same Way As Files In Total Commander</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F09%2F21%2Fsolr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null%2F&amp;title=%5BSolr%5D%20How%20To%20Fix%20java.io.IOException%3A%20directory%20FOO%20exists%20and%20is%20a%20directory%2C%20but%20cannot%20be%20listed%3A%20list%28%29%20returned%20null" id="wpa2a_34"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Comparison Between Solr And Sphinx Search Servers (Solr Vs Sphinx &#8211; Fight!)</title><link>http://beerpla.net/2009/09/03/comparison-between-solr-and-sphinx-search-servers-solr-vs-sphinx-fight/</link> <comments>http://beerpla.net/2009/09/03/comparison-between-solr-and-sphinx-search-servers-solr-vs-sphinx-fight/#comments</comments> <pubDate>Thu, 03 Sep 2009 15:00:00 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Databases]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Solr]]></category> <category><![CDATA[backend]]></category> <category><![CDATA[compare]]></category> <category><![CDATA[comparison]]></category> <category><![CDATA[engine]]></category> <category><![CDATA[enterprise]]></category> <category><![CDATA[fulltext]]></category> <category><![CDATA[indexing]]></category> <category><![CDATA[search]]></category> <category><![CDATA[server]]></category> <category><![CDATA[sphinx]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/09/03/detailed-comparison-between-solr-and-sphinx/</guid> <description><![CDATA[<p>In the past few weeks I&#039;ve been implementing advanced search at <a
rel="nofollow" href="http://www.plaxo.com">Plaxo</a>, working quite closely with <a
rel="nofollow" href="http://lucene.apache.org/solr/">Solr</a> enterprise search server. Today, I saw this relatively detailed comparison between Solr and its main competitor <a
rel="nofollow" href="http://www.sphinxsearch.com/">Sphinx</a> (full credit goes to StackOverflow user <a
rel="nofollow" href="http://stackoverflow.com/users/21239/mausch">mausch</a> who had been using Solr for the past 2 years). For those still confused, Solr and Sphinx are similar to MySQL FULLTEXT search, or for those even more confused, think Google (yeah, this is a bit of a stretch, I know).</p><h2>Similarities</h2><ul><li>Both Solr and Sphinx satisfy all of your requirements. They&#039;re fast and designed to index and search large bodies of data efficiently.</li><li>Both have a long list of high-traffic sites using them (<a
rel="nofollow" href="http://wiki.apache.org/solr/PublicServers">Solr</a>, <a
rel="nofollow" href="http://www.sphinxsearch.com/powered.html">Sphinx</a></li>...<div
class=clear></div> <a
href="http://beerpla.net/2009/09/03/comparison-between-solr-and-sphinx-search-servers-solr-vs-sphinx-fight/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></ul>]]></description> <content:encoded><![CDATA[<p>In the past few weeks I&#039;ve been implementing advanced search at <a
rel="nofollow" href="http://www.plaxo.com">Plaxo</a>, working quite closely with <a
rel="nofollow" href="http://lucene.apache.org/solr/">Solr</a> enterprise search server. Today, I saw this relatively detailed comparison between Solr and its main competitor <a
rel="nofollow" href="http://www.sphinxsearch.com/">Sphinx</a> (full credit goes to StackOverflow user <a
rel="nofollow" href="http://stackoverflow.com/users/21239/mausch">mausch</a> who had been using Solr for the past 2 years). For those still confused, Solr and Sphinx are similar to MySQL FULLTEXT search, or for those even more confused, think Google (yeah, this is a bit of a stretch, I know).</p><h2>Similarities</h2><ul><li>Both Solr and Sphinx satisfy all of your requirements. They&#039;re fast and designed to index and search large bodies of data efficiently.</li><li>Both have a long list of high-traffic sites using them (<a
rel="nofollow" href="http://wiki.apache.org/solr/PublicServers">Solr</a>, <a
rel="nofollow" href="http://www.sphinxsearch.com/powered.html">Sphinx</a>)</li><li>Both offer commercial support. (<a
rel="nofollow" href="http://www.lucidimagination.com/">Solr</a>, <a
rel="nofollow" href="http://www.sphinxsearch.com/consulting.html">Sphinx</a>)</li><li>Both offer client API bindings for several platforms/languages (<a
rel="nofollow" href="http://www.sphinxsearch.com/contribs.html">Sphinx</a>, <a
rel="nofollow" href="http://wiki.apache.org/solr/#head-ab1768efa59b26cbd30f1acd03b633f1d110ed47">Solr</a>)</li><li>Both can be distributed to increase speed and capacity (<a
rel="nofollow" href="http://www.sphinxsearch.com/docs/current.html#distributed">Sphinx</a>, <a
rel="nofollow" href="http://wiki.apache.org/solr/DistributedSearch">Solr</a>)</li></ul><h2>Here are some differences</h2><ul><li>Solr, being an Apache project, is obviously is Apache2-licensed. <a
rel="nofollow" href="http://www.sphinxsearch.com/licensing.html">Sphinx is GPLv2</a>. This means that if you ever need to embed or extend (not just &#034;use&#034;) Sphinx in a commercial application, you&#039;ll have to buy a commercial license.</li><li>Solr is <a
rel="nofollow" href="http://wiki.apache.org/solr/Solrj#head-02003c15f194db1a691f8b9bb909145a60ccf498">easily embeddable</a> in Java applications.</li><li>Solr is built on top of Lucene, which is a proven technology over <a
rel="nofollow" href="http://svn.apache.org/viewvc/lucene/java/tags/LUCENE%5F1%5F0%5F1/">7 years old</a> with a <a
rel="nofollow" href="http://wiki.apache.org/lucene-java/PoweredBy">huge user base</a> (this is only a small part). Whenever Lucene gets a new feature or speedup, Solr gets it too. Many of the devs committing to Solr are also Lucene committers.</li><li>Sphinx integrates more tightly with RDBMSs, especially MySQL.</li><li>Solr can be <a
rel="nofollow" href="http://highscalability.com/how-rackspace-now-uses-mapreduce-and-hadoop-query-terabytes-data">integrated with Hadoop to build distributed applications</a></li><li>Solr can be <a
rel="nofollow" href="http://stackoverflow.com/questions/211411/using-nutch-crawler-with-solr">integrated with Nutch to quickly build a fully-fledged web search engine with crawler</a>.</li><li>Solr can <a
rel="nofollow" href="http://wiki.apache.org/solr/ExtractingRequestHandler">index proprietary formats like Microsoft Word, PDF, etc</a>. Sphinx <a
rel="nofollow" href="http://stackoverflow.com/questions/1207995/indexing-word-documents-and-pdfs-with-sphinx">can&#039;t</a>.</li><li>Solr comes with a <a
rel="nofollow" href="http://wiki.apache.org/solr/SpellCheckComponent">spell-checker out of the box</a>.</li><li>Solr comes with <a
rel="nofollow" href="http://wiki.apache.org/solr/SolrFacetingOverview">facet support out of the box</a>. Faceting in Sphinx <a
rel="nofollow" href="http://api-meal.eu/memo/128-faceted-search-with-sphinx-and-php/">takes more work</a>.</li><li><a
rel="nofollow" href="http://stackoverflow.com/questions/737275/pros-cons-of-full-text-search-engine-lucene-sphinx-postgresql-full-text-searc/737931#737931">Sphinx doesn&#039;t allow partial index updates for field data</a>.</li><li>In Sphinx, <a
rel="nofollow" href="http://www.sphinxsearch.com/docs/current.html#data-restrictions">all document ids must be unique unsigned non-zero integer numbers</a>. Solr <a
rel="nofollow" href="http://wiki.apache.org/solr/UniqueKey">doesn&#039;t even require a unique key for many operations</a>, and unique keys can be either integers or strings.</li><li>Solr supports <a
href="http://wiki.apache.org/solr/FieldCollapsing">field collapsing</a> to avoid duplicating similar results. Sphinx doesn&#039;t seem to provide any feature like this.</li></ul><h2>Related questions</h2><ul><li><a
title="http://stackoverflow.com/questions/1284083/choosing-a-stand-alone-full-text-search-server-sphinx-or-solr" rel="nofollow" href="http://stackoverflow.com/questions/1284083/choosing-a-stand-alone-full-text-search-server-sphinx-or-solr">http://stackoverflow.com/questions/1284083/choosing-a-stand-alone-full-text-search-server-sphinx-or-solr</a></li><li><a
rel="nofollow" href="http://stackoverflow.com/questions/1132284/full-text-searching-with-rails">http://stackoverflow.com/questions/1132284/full-text-searching-with-rails</a></li><li><a
rel="nofollow" href="http://stackoverflow.com/questions/737275/pros-cons-of-full-text-search-engine-lucene-sphinx-postgresql-full-text-searc">http://stackoverflow.com/questions/737275/pros-cons-of-full-text-search-engine-lucene-sphinx-postgresql-full-text-searc</a></li></ul><h2>Conclusion</h2><p>In my experience, Solr is very-very fast on the query side. It is also very powerful. The indexing side is very CPU and memory intensive and is an unfortunate side effect of having such a feature-rich, fast application. Nevertheless, I highly recommend Solr.</p><p>For disclaimer purposes, I have not had much experience with Sphinx and, again, all credit for this comparison goes to <a
rel="nofollow" href="http://stackoverflow.com/users/21239/mausch">mausch</a>.</p><p>By the way, here&#039;s a really good resource for Solr 1.4 that just came out: <a
href="http://www.amazon.com/dp/1847195881/?tag=beepla-20">Solr 1.4 Enterprise Search</a>. I have this book and it&#039;s quite helpful in explaining such topics as multicore setup, search methods, replication, etc.</p><p
align="center"><iframe
src="http://rcm.amazon.com/e/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=beepla-20&#038;o=1&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=10FE9736YVPPT7A0FBG2&#038;asins=1847195881" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p><div
class='post_blob_1'>We offer the best quality <a
href="http://www.test-king.com/exams/70-648.htm">70-648</a> resources. Use our latest <a
href="http://www.test-king.com/exams/1Y0-A08.htm">1Y0-A08</a> questions and <a
href="http://www.test-king.com/exams/642-357.htm">642-357</a> answers to pass your certification exams.</div><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Comparison+Between+Solr+And+Sphinx+Search+Servers+%28Solr+Vs+Sphinx+-+Fight%21%29&amp;link=http://beerpla.net/2009/09/03/comparison-between-solr-and-sphinx-search-servers-solr-vs-sphinx-fight/&amp;notes=In%20the%20past%20few%20weeks%20I%27ve%20been%20implementing%20advanced%20search%20at%20Plaxo%2C%20working%20quite%20closely%20with%20Solr%20enterprise%20search%20server.%20Today%2C%20I%20saw%20this%20relatively%20detailed%20comparison%20between%20Solr%20and%20its%20main%20competitor%20Sphinx%20%28full%20credit%20goes%20to%20StackOverflow%20user%20mausch%20who%20had%20been%20using%20Solr%20for%20the&amp;short_link=http://bit.ly/9TGaBF&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Comparison+Between+Solr+And+Sphinx+Search+Servers+%28Solr+Vs+Sphinx+-+Fight%21%29&amp;link=http://beerpla.net/2009/09/03/comparison-between-solr-and-sphinx-search-servers-solr-vs-sphinx-fight/&amp;notes=In%20the%20past%20few%20weeks%20I%27ve%20been%20implementing%20advanced%20search%20at%20Plaxo%2C%20working%20quite%20closely%20with%20Solr%20enterprise%20search%20server.%20Today%2C%20I%20saw%20this%20relatively%20detailed%20comparison%20between%20Solr%20and%20its%20main%20competitor%20Sphinx%20%28full%20credit%20goes%20to%20StackOverflow%20user%20mausch%20who%20had%20been%20using%20Solr%20for%20the&amp;short_link=http://bit.ly/9TGaBF&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Comparison+Between+Solr+And+Sphinx+Search+Servers+%28Solr+Vs+Sphinx+-+Fight%21%29&amp;link=http://beerpla.net/2009/09/03/comparison-between-solr-and-sphinx-search-servers-solr-vs-sphinx-fight/&amp;notes=In%20the%20past%20few%20weeks%20I%27ve%20been%20implementing%20advanced%20search%20at%20Plaxo%2C%20working%20quite%20closely%20with%20Solr%20enterprise%20search%20server.%20Today%2C%20I%20saw%20this%20relatively%20detailed%20comparison%20between%20Solr%20and%20its%20main%20competitor%20Sphinx%20%28full%20credit%20goes%20to%20StackOverflow%20user%20mausch%20who%20had%20been%20using%20Solr%20for%20the&amp;short_link=http://bit.ly/9TGaBF&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Comparison+Between+Solr+And+Sphinx+Search+Servers+%28Solr+Vs+Sphinx+-+Fight%21%29&amp;link=http://beerpla.net/2009/09/03/comparison-between-solr-and-sphinx-search-servers-solr-vs-sphinx-fight/&amp;notes=In%20the%20past%20few%20weeks%20I%27ve%20been%20implementing%20advanced%20search%20at%20Plaxo%2C%20working%20quite%20closely%20with%20Solr%20enterprise%20search%20server.%20Today%2C%20I%20saw%20this%20relatively%20detailed%20comparison%20between%20Solr%20and%20its%20main%20competitor%20Sphinx%20%28full%20credit%20goes%20to%20StackOverflow%20user%20mausch%20who%20had%20been%20using%20Solr%20for%20the&amp;short_link=http://bit.ly/9TGaBF&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Comparison+Between+Solr+And+Sphinx+Search+Servers+%28Solr+Vs+Sphinx+-+Fight%21%29&amp;link=http://beerpla.net/2009/09/03/comparison-between-solr-and-sphinx-search-servers-solr-vs-sphinx-fight/&amp;notes=In%20the%20past%20few%20weeks%20I%27ve%20been%20implementing%20advanced%20search%20at%20Plaxo%2C%20working%20quite%20closely%20with%20Solr%20enterprise%20search%20server.%20Today%2C%20I%20saw%20this%20relatively%20detailed%20comparison%20between%20Solr%20and%20its%20main%20competitor%20Sphinx%20%28full%20credit%20goes%20to%20StackOverflow%20user%20mausch%20who%20had%20been%20using%20Solr%20for%20the&amp;short_link=http://bit.ly/9TGaBF&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Comparison+Between+Solr+And+Sphinx+Search+Servers+%28Solr+Vs+Sphinx+-+Fight%21%29&amp;link=http://beerpla.net/2009/09/03/comparison-between-solr-and-sphinx-search-servers-solr-vs-sphinx-fight/&amp;notes=In%20the%20past%20few%20weeks%20I%27ve%20been%20implementing%20advanced%20search%20at%20Plaxo%2C%20working%20quite%20closely%20with%20Solr%20enterprise%20search%20server.%20Today%2C%20I%20saw%20this%20relatively%20detailed%20comparison%20between%20Solr%20and%20its%20main%20competitor%20Sphinx%20%28full%20credit%20goes%20to%20StackOverflow%20user%20mausch%20who%20had%20been%20using%20Solr%20for%20the&amp;short_link=http://bit.ly/9TGaBF&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Comparison+Between+Solr+And+Sphinx+Search+Servers+%28Solr+Vs+Sphinx+-+Fight%21%29&amp;link=http://beerpla.net/2009/09/03/comparison-between-solr-and-sphinx-search-servers-solr-vs-sphinx-fight/&amp;notes=In%20the%20past%20few%20weeks%20I%27ve%20been%20implementing%20advanced%20search%20at%20Plaxo%2C%20working%20quite%20closely%20with%20Solr%20enterprise%20search%20server.%20Today%2C%20I%20saw%20this%20relatively%20detailed%20comparison%20between%20Solr%20and%20its%20main%20competitor%20Sphinx%20%28full%20credit%20goes%20to%20StackOverflow%20user%20mausch%20who%20had%20been%20using%20Solr%20for%20the&amp;short_link=http://bit.ly/9TGaBF&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Comparison%20Between%20Solr%20And%20Sphinx%20Search%20Servers%20%28Solr%20Vs%20Sphinx%20-%20Fight%21%29&amp;link=http://beerpla.net/2009/09/03/comparison-between-solr-and-sphinx-search-servers-solr-vs-sphinx-fight/&amp;notes=In%20the%20past%20few%20weeks%20I%27ve%20been%20implementing%20advanced%20search%20at%20Plaxo%2C%20working%20quite%20closely%20with%20Solr%20enterprise%20search%20server.%20Today%2C%20I%20saw%20this%20relatively%20detailed%20comparison%20between%20Solr%20and%20its%20main%20competitor%20Sphinx%20%28full%20credit%20goes%20to%20StackOverflow%20user%20mausch%20who%20had%20been%20using%20Solr%20for%20the&amp;short_link=http://bit.ly/9TGaBF&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/09/21/solr-how-to-fix-java-io-ioexception-directory-foo-exists-and-is-a-directory-but-cannot-be-listed-list-returned-null/" rel="bookmark" title="September 21, 2009">[Solr] How To Fix java.io.IOException: directory FOO exists and is a directory, but cannot be listed: list() returned null</a></li><li><a
href="http://beerpla.net/2009/08/18/delicious-com-quietly-rolls-out-domain-and-url-searchingfiltering-finally/" rel="bookmark" title="August 18, 2009">Delicious.com [Quietly] Rolls Out Domain And Url Searching/Filtering. Finally!</a></li><li><a
href="http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/" rel="bookmark" title="June 21, 2009">Hidden Features Of Perl, PHP, Javascript, C, C++, C#, Java, Ruby, Python, And Others [Collection Of Incredibly Useful Lists]</a></li><li><a
href="http://beerpla.net/2008/04/13/my-mysql-conference-schedule/" rel="bookmark" title="April 13, 2008">My MySQL Conference Schedule</a></li><li><a
href="http://beerpla.net/2011/06/13/goodbye-outlook-i-dont-need-you-anymore-gmail-now-lets-you-paste-images-directly-from-clipboard/" rel="bookmark" title="June 13, 2011">[Updated x3] Goodbye Outlook, I Don&#039;t Need You Anymore &#8211; Gmail Now Lets You Paste Images Directly From Clipboard</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F09%2F03%2Fcomparison-between-solr-and-sphinx-search-servers-solr-vs-sphinx-fight%2F&amp;title=Comparison%20Between%20Solr%20And%20Sphinx%20Search%20Servers%20%28Solr%20Vs%20Sphinx%20%26%238211%3B%20Fight%21%29" id="wpa2a_36"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/09/03/comparison-between-solr-and-sphinx-search-servers-solr-vs-sphinx-fight/feed/</wfw:commentRss> <slash:comments>10</slash:comments> </item> <item><title>Hidden Features Of Perl, PHP, Javascript, C, C++, C#, Java, Ruby, Python, And Others [Collection Of Incredibly Useful Lists]</title><link>http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/</link> <comments>http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/#comments</comments> <pubDate>Sun, 21 Jun 2009 19:38:56 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[C]]></category> <category><![CDATA[C Sharp]]></category> <category><![CDATA[C++]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[Databases]]></category> <category><![CDATA[Java]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[Perl]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Python]]></category> <category><![CDATA[Ruby]]></category> <category><![CDATA[asp.net]]></category> <category><![CDATA[bash]]></category> <category><![CDATA[code]]></category> <category><![CDATA[delphi]]></category> <category><![CDATA[Eclipse]]></category> <category><![CDATA[emacs]]></category> <category><![CDATA[f#]]></category> <category><![CDATA[feature]]></category> <category><![CDATA[featured]]></category> <category><![CDATA[flash]]></category> <category><![CDATA[framework]]></category> <category><![CDATA[greasemonkey]]></category> <category><![CDATA[haskell]]></category> <category><![CDATA[hidden]]></category> <category><![CDATA[http]]></category> <category><![CDATA[jquery]]></category> <category><![CDATA[language]]></category> <category><![CDATA[lua]]></category> <category><![CDATA[mod_rewrite]]></category> <category><![CDATA[objective-c]]></category> <category><![CDATA[oracle]]></category> <category><![CDATA[program]]></category> <category><![CDATA[regex]]></category> <category><![CDATA[ror]]></category> <category><![CDATA[ruby on rails]]></category> <category><![CDATA[scala]]></category> <category><![CDATA[secret]]></category> <category><![CDATA[spring]]></category> <category><![CDATA[tcl]]></category> <category><![CDATA[vb.net]]></category> <category><![CDATA[xpath]]></category> <category><![CDATA[xslt]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/</guid> <description><![CDATA[<h2 align="left">Introduction</h2><p><a
href="http://www.stackoverflow.com">StackOverflow</a> is an amazing site for coding questions. It was created by <a
href="http://twitter.com/Spolsky" rel="nofollow">Joel Spolsky</a> of <a
href="http://joelonsoftware.com" rel="nofollow">joelonsoftware.com</a>, <a
href="http://twitter.com/codinghorror" rel="nofollow">Jeff Atwood</a> of <a
href="http://codinghorror.com" rel="nofollow">codinghorror.com</a>, and some other incredibly smart guys who truly care about user experience. I have been a total fan of SO since it went mainstream and it&#039;s now a borderline addiction (you can see my StackOverflow badge on the right sidebar).</p><h2 align="left">The Story</h2><p
align="left"><div
class="note"><div
class="noteimportant"></div></div></p><p
align="left"><strong>Update 6/21/09</strong>: This server is currently under very heavy load (10-200), even with caching plugins enabled. Please bear with me as I try to resolve the situation.</p><p
align="left">Feel free to <a
href="http://www.addtoany.com/share_save?&#38;linkurl=http%3A%2F%2Fbeerpla.net%2F2009%2F06%2F21%2Fhidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists%2F&#38;linkname=Hidden%20Features%20Of%20Perl%2C%20PHP%2C%20Javascript%2C%20C%2C%20C%2B%2B%2C%20C%23%2C%20Java%2C%20Ruby%2C%20Python%2C%20And%20Others%20%5BCollection%20Of%20Incredibly%20Useful%20Lists%5D">bookmark this page</a> and return to it later when the fires have been put out.</p><p
align="left"><strong>Update 06/21/09</strong>: I think I&#039;ve got the situation ...<div
class=clear></div> <a
href="http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<h2 align="left">Introduction</h2><p><a
href="http://www.stackoverflow.com">StackOverflow</a> is an amazing site for coding questions. It was created by <a
href="http://twitter.com/Spolsky" rel="nofollow">Joel Spolsky</a> of <a
href="http://joelonsoftware.com" rel="nofollow">joelonsoftware.com</a>, <a
href="http://twitter.com/codinghorror" rel="nofollow">Jeff Atwood</a> of <a
href="http://codinghorror.com" rel="nofollow">codinghorror.com</a>, and some other incredibly smart guys who truly care about user experience. I have been a total fan of SO since it went mainstream and it&#039;s now a borderline addiction (you can see my StackOverflow badge on the right sidebar).</p><h2 align="left">The Story</h2><p
align="left"><div
class="note"><div
class="noteimportant"></p><p
align="left"><strong>Update 6/21/09</strong>: This server is currently under very heavy load (10-200), even with caching plugins enabled. Please bear with me as I try to resolve the situation.</p><p
align="left">Feel free to <a
href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fbeerpla.net%2F2009%2F06%2F21%2Fhidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists%2F&amp;linkname=Hidden%20Features%20Of%20Perl%2C%20PHP%2C%20Javascript%2C%20C%2C%20C%2B%2B%2C%20C%23%2C%20Java%2C%20Ruby%2C%20Python%2C%20And%20Others%20%5BCollection%20Of%20Incredibly%20Useful%20Lists%5D">bookmark this page</a> and return to it later when the fires have been put out.</p><p
align="left"><strong>Update 06/21/09</strong>: I think I&#039;ve got the situation under control now. The load is between 0 and 3 now and pages load relatively fast. I will be posting about the getting redditted/delicioused experience later.</p><p
align="left"><strong>Update 06/23/09</strong>: Added jQuery, Greasemonkey, Ruby on Rails, and Objective-C, broke databases into their own section, and sorted everything alphabetically.</p><p
align="left"><strong>Update 06/23/09</strong>: Added Scala, Lua, TCL, F#, Regex, and HTTP.</p><p
align="left"><strong>Update 07/21/09</strong>: Added ActionScript3/Flex, Erlang, PL/SQL, Silverlight, VBA, VHDL, WPF/XAML.</p><p
align="left"><strong>Update 10/24/09</strong>: Added Flash development/language/IDE, Emacs, Xpath/Xslt, Spring framework.</p><p
align="left"><strong>Update 01/18/10</strong>: Added Android (asked by yours truly), Qt, Django, Windows.Forms, R, Lisp, x86 assembly, Grails.</p><p
align="left"></div></div></p><p>So, one day someone at StackOverflow started a &quot;Hidden features of&quot; post about a famous language (I don&#039;t feel like finding out which one was first exactly), and it turned out to be so popular that other posts in the same series started popping up.</p><p>Such questions were quickly turned into community wikis, for the purposes of harvesting and organizing information coming from the best developers on the planet and voted by users of the site. There are literally hundreds of answers, sorted by votes.</p><p><div
class="note"><div
class="notetip">The Hidden Features series is great for people who are new to a certain language. It shows the ropes and tricks, all in one place, in the most concise manner possible. Even pros oftentimes find features of their favorite language that they&#039;d never heard about.</div></div></p><h2 align="center">Hidden Features Of</h2><h3>Programming Languages</h3><h4><a
href="http://stackoverflow.com/questions/1103705/hidden-features-of-actionscript3-flex">Hidden features of ActionScript3 / Flex</a></h4><h4><a
href="http://stackoverflow.com/questions/54929/hidden-features-of-asp-net">Hidden features of ASP.NET </a></h4><h4><a
href="http://stackoverflow.com/questions/1574308/hidden-features-of-x86-assembly-language" rel="nofollow">Hidden features of x86 assembly</a></h4><h4><a
href="http://stackoverflow.com/questions/132241/hidden-features-of-c">Hidden features of C</a></h4><h4><a
href="http://stackoverflow.com/questions/75538/hidden-features-of-c">Hidden features of C++</a></h4><h4><a
href="http://stackoverflow.com/questions/9033/hidden-features-of-c">Hidden features of C#</a></h4><h4><a
href="http://stackoverflow.com/questions/1853653/hidden-features-of-coldfusion" rel="nofollow">Hidden features of ColdFusion</a></h4><h4><a
href="http://stackoverflow.com/questions/125008/hidden-features-of-d">Hidden features of D </a></h4><h4><a
href="http://stackoverflow.com/questions/102254/hidden-features-of-delphi" rel="nofollow">Hidden features of Delphi</a></h4><h4><a
href="http://stackoverflow.com/questions/1063497/hidden-features-of-erlang" rel="nofollow">Hidden features of Erlang</a></h4><h4><a
href="http://stackoverflow.com/questions/181613/hidden-features-of-f">Hidden features of F# </a></h4><h4><a
href="http://stackoverflow.com/questions/1160680/hidden-features-tricks-of-flash-development-flash-language-as2-3-and-flash-id" rel="nofollow">Hidden features of Flash development, Flash language (AS2/3), and Flash IDE</a></h4><h4><a
href="http://stackoverflow.com/questions/15496/hidden-features-of-java">Hidden features of Java</a></h4><h4><a
href="http://stackoverflow.com/questions/61088/hidden-features-of-javascript">Hidden features of JavaScript</a></h4><h4><a
href="http://stackoverflow.com/questions/211216/hidden-features-of-haskell">Hidden features of Haskell </a></h4><h4><a
href="http://stackoverflow.com/questions/1598854/hidden-features-of-emacs-lisp" rel="nofollow">Hidden features of Lisp</a></h4><h4><a
href="http://stackoverflow.com/questions/523867/hidden-features-of-lua">Hidden features of Lua </a></h4><h4><a
href="http://stackoverflow.com/questions/211616/hidden-features-of-objective-c">Hidden features of Objective-C </a></h4><h4><a
href="http://stackoverflow.com/questions/161872/hidden-features-of-perl">Hidden features of Perl</a></h4><h4><a
href="http://stackoverflow.com/questions/61401/hidden-features-of-php">Hidden features of PHP</a></h4><h4><a
href="http://stackoverflow.com/questions/101268/hidden-features-of-python">Hidden features of Python</a></h4><h4><a
href="http://stackoverflow.com/questions/1682874/hidden-features-of-r" rel="nofollow">Hidden features of R</a></h4><h4><a
href="http://stackoverflow.com/questions/63998/hidden-features-of-ruby">Hidden features of Ruby</a></h4><h4><a
href="http://stackoverflow.com/questions/709679/hidden-features-of-ruby-on-rails">Hidden features of Ruby on Rails </a></h4><h4><a
href="http://stackoverflow.com/questions/1025181/hidden-features-of-scala">Hidden features of Scala </a></h4><h4><a
href="http://stackoverflow.com/questions/1031450/are-there-any-undocumented-features-in-silverlight">Hidden features of Silverlight</a></h4><h4><a
href="http://stackoverflow.com/questions/1596139/hidden-features-and-dark-corners-of-stl" rel="nofollow">Hidden features and Dark Corners of STL?</a></h4><h4><a
href="http://stackoverflow.com/questions/1024711/hidden-features-of-tcl-tk">Hidden features of TCL/TK</a></h4><h4><a
href="http://stackoverflow.com/questions/102084/hidden-features-of-vb-net">Hidden features of VB.Net </a></h4><h4><a
href="http://stackoverflow.com/questions/1070863/hidden-features-of-vba">Hidden features of VBA</a></h4><h3>Databases</h3><h4><a
href="http://stackoverflow.com/questions/368858/hidden-features-of-mysql">Hidden features of MySQL </a></h4><h4><a
href="http://stackoverflow.com/questions/381231/hidden-features-in-oracle">Hidden features of Oracle </a></h4><h4><a
href="http://stackoverflow.com/questions/1031485/hidden-features-of-pl-sql">Hidden features of PL/SQL</a></h4><h4><a
href="http://stackoverflow.com/questions/761327/hidden-features-of-postgresql">Hidden features of PostgreSQL </a></h4><h4><a
href="http://stackoverflow.com/questions/121243/hidden-features-of-sql-server">Hidden features of SQL Server </a></h4><h3>Mobile</h3><h4><a
href="http://stackoverflow.com/questions/1619133/hidden-features-of-android-development" rel="nofollow">Hidden features of Android development</a></h4><h3>Other</h3><h4><a
href="http://stackoverflow.com/questions/211378/hidden-features-of-bash">Hidden features of Bash</a> &#8211; also see my <a
href="http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/">bash cheatsheet</a>.</h4><h4><a
href="http://stackoverflow.com/questions/628407/css-hidden-features">Hidden features of CSS</a></h4><h4><a
href="http://stackoverflow.com/questions/1858520/hidden-features-of-django" rel="nofollow">Hidden features of Django</a></h4><h4><a
href="http://stackoverflow.com/questions/54886/hidden-features-tricks-for-eclipse">Hidden features of Eclipse </a></h4><h4><a
href="http://stackoverflow.com/questions/1598854/hidden-features-of-emacs-lisp" rel="nofollow">Hidden features of Emacs</a></h4><h4><a
href="http://stackoverflow.com/questions/1330531/hidden-features-of-grails" rel="nofollow">Hidden features of Grails</a></h4><h4><a
href="http://stackoverflow.com/questions/121167/hidden-features-of-greasemonkey">Hidden features of Greasemonkey </a></h4><h4><a
href="http://stackoverflow.com/questions/954327/hidden-features-of-html">Hidden features of HTML </a></h4><h4><a
href="http://stackoverflow.com/questions/954894/hidden-features-of-http">Hidden features of HTTP </a></h4><h4><a
href="http://stackoverflow.com/questions/121965/hidden-or-not-widely-known-features-of-jquery">Hidden features of jQuery</a></h4><h4><a
href="http://stackoverflow.com/questions/286004/hidden-features-of-modrewrite">Hidden features of mod_rewrite </a></h4><h4><a
href="http://stackoverflow.com/questions/1826458/hidden-features-of-qt" rel="nofollow">Hidden features of Qt</a></h4><h4><a
href="http://stackoverflow.com/questions/868181/hidden-features-of-regex">Hidden features of RegEx </a></h4><h4><a
href="http://stackoverflow.com/questions/1416423/hidden-features-of-spring-framework">Hidden features of Spring framework </a></h4><h4><a
href="http://stackoverflow.com/questions/1025699/hidden-features-of-vhdl">Hidden features of VHDL</a></h4><h4><a
href="http://stackoverflow.com/questions/100420/hidden-features-of-visual-studio-2005-2008">Hidden features of Visual Studio (2005-2008) </a></h4><h4><a
href="http://stackoverflow.com/questions/1777303/hidden-features-of-windows-forms" rel="nofollow">Hidden features of Windows.Forms</a></h4><h4><a
href="http://stackoverflow.com/questions/1124769/hidden-features-of-wpf-and-xaml">Hidden features of WPF and XAML</a></h4><h4><a
href="http://stackoverflow.com/questions/1521851/hidden-features-of-xpathxslt">Hidden features of Xpath+Xslt</a></h4><p>I will try to maintain this list, adding new languages that join the series as I find them. Now go learn something new!</p><div
class='post_blob_1'>Real <a
href="http://www.test-king.com/exams/70-432.htm">70-432</a> exam preparation with help of easy to understand <a
href="http://www.test-king.com/exams/220-702.htm">220-702</a> notes and <a
href="http://www.test-king.com/exams/640-553.htm">640-553</a> practice questions.</div><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Hidden+Features+Of+Perl%2C+PHP%2C+Javascript%2C+C%2C+C%2B%2B%2C+C%23%2C+Java%2C+Ruby%2C+Python%2C+And+Others+%5BCollection+Of+Incredibly+Useful+Lists%5D&amp;link=http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/&amp;notes=Introduction%0D%0AStackOverflow%20is%20an%20amazing%20site%20for%20coding%20questions.%20It%20was%20created%20by%20Joel%20Spolsky%20of%20joelonsoftware.com%2C%20Jeff%20Atwood%20of%20codinghorror.com%2C%20and%20some%20other%20incredibly%20smart%20guys%20who%20truly%20care%20about%20user%20experience.%20I%20have%20been%20a%20total%20fan%20of%20SO%20since%20it%20went%20mainstream%20and%20it%27s%20now%20a&amp;short_link=http://bit.ly/capw5J&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Hidden+Features+Of+Perl%2C+PHP%2C+Javascript%2C+C%2C+C%2B%2B%2C+C%23%2C+Java%2C+Ruby%2C+Python%2C+And+Others+%5BCollection+Of+Incredibly+Useful+Lists%5D&amp;link=http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/&amp;notes=Introduction%0D%0AStackOverflow%20is%20an%20amazing%20site%20for%20coding%20questions.%20It%20was%20created%20by%20Joel%20Spolsky%20of%20joelonsoftware.com%2C%20Jeff%20Atwood%20of%20codinghorror.com%2C%20and%20some%20other%20incredibly%20smart%20guys%20who%20truly%20care%20about%20user%20experience.%20I%20have%20been%20a%20total%20fan%20of%20SO%20since%20it%20went%20mainstream%20and%20it%27s%20now%20a&amp;short_link=http://bit.ly/capw5J&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Hidden+Features+Of+Perl%2C+PHP%2C+Javascript%2C+C%2C+C%2B%2B%2C+C%23%2C+Java%2C+Ruby%2C+Python%2C+And+Others+%5BCollection+Of+Incredibly+Useful+Lists%5D&amp;link=http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/&amp;notes=Introduction%0D%0AStackOverflow%20is%20an%20amazing%20site%20for%20coding%20questions.%20It%20was%20created%20by%20Joel%20Spolsky%20of%20joelonsoftware.com%2C%20Jeff%20Atwood%20of%20codinghorror.com%2C%20and%20some%20other%20incredibly%20smart%20guys%20who%20truly%20care%20about%20user%20experience.%20I%20have%20been%20a%20total%20fan%20of%20SO%20since%20it%20went%20mainstream%20and%20it%27s%20now%20a&amp;short_link=http://bit.ly/capw5J&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Hidden+Features+Of+Perl%2C+PHP%2C+Javascript%2C+C%2C+C%2B%2B%2C+C%23%2C+Java%2C+Ruby%2C+Python%2C+And+Others+%5BCollection+Of+Incredibly+Useful+Lists%5D&amp;link=http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/&amp;notes=Introduction%0D%0AStackOverflow%20is%20an%20amazing%20site%20for%20coding%20questions.%20It%20was%20created%20by%20Joel%20Spolsky%20of%20joelonsoftware.com%2C%20Jeff%20Atwood%20of%20codinghorror.com%2C%20and%20some%20other%20incredibly%20smart%20guys%20who%20truly%20care%20about%20user%20experience.%20I%20have%20been%20a%20total%20fan%20of%20SO%20since%20it%20went%20mainstream%20and%20it%27s%20now%20a&amp;short_link=http://bit.ly/capw5J&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Hidden+Features+Of+Perl%2C+PHP%2C+Javascript%2C+C%2C+C%2B%2B%2C+C%23%2C+Java%2C+Ruby%2C+Python%2C+And+Others+%5BCollection+Of+Incredibly+Useful+Lists%5D&amp;link=http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/&amp;notes=Introduction%0D%0AStackOverflow%20is%20an%20amazing%20site%20for%20coding%20questions.%20It%20was%20created%20by%20Joel%20Spolsky%20of%20joelonsoftware.com%2C%20Jeff%20Atwood%20of%20codinghorror.com%2C%20and%20some%20other%20incredibly%20smart%20guys%20who%20truly%20care%20about%20user%20experience.%20I%20have%20been%20a%20total%20fan%20of%20SO%20since%20it%20went%20mainstream%20and%20it%27s%20now%20a&amp;short_link=http://bit.ly/capw5J&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Hidden+Features+Of+Perl%2C+PHP%2C+Javascript%2C+C%2C+C%2B%2B%2C+C%23%2C+Java%2C+Ruby%2C+Python%2C+And+Others+%5BCollection+Of+Incredibly+Useful+Lists%5D&amp;link=http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/&amp;notes=Introduction%0D%0AStackOverflow%20is%20an%20amazing%20site%20for%20coding%20questions.%20It%20was%20created%20by%20Joel%20Spolsky%20of%20joelonsoftware.com%2C%20Jeff%20Atwood%20of%20codinghorror.com%2C%20and%20some%20other%20incredibly%20smart%20guys%20who%20truly%20care%20about%20user%20experience.%20I%20have%20been%20a%20total%20fan%20of%20SO%20since%20it%20went%20mainstream%20and%20it%27s%20now%20a&amp;short_link=http://bit.ly/capw5J&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Hidden+Features+Of+Perl%2C+PHP%2C+Javascript%2C+C%2C+C%2B%2B%2C+C%23%2C+Java%2C+Ruby%2C+Python%2C+And+Others+%5BCollection+Of+Incredibly+Useful+Lists%5D&amp;link=http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/&amp;notes=Introduction%0D%0AStackOverflow%20is%20an%20amazing%20site%20for%20coding%20questions.%20It%20was%20created%20by%20Joel%20Spolsky%20of%20joelonsoftware.com%2C%20Jeff%20Atwood%20of%20codinghorror.com%2C%20and%20some%20other%20incredibly%20smart%20guys%20who%20truly%20care%20about%20user%20experience.%20I%20have%20been%20a%20total%20fan%20of%20SO%20since%20it%20went%20mainstream%20and%20it%27s%20now%20a&amp;short_link=http://bit.ly/capw5J&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Hidden%20Features%20Of%20Perl%2C%20PHP%2C%20Javascript%2C%20C%2C%20C%2B%2B%2C%20C%23%2C%20Java%2C%20Ruby%2C%20Python%2C%20And%20Others%20%5BCollection%20Of%20Incredibly%20Useful%20Lists%5D&amp;link=http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/&amp;notes=Introduction%0D%0AStackOverflow%20is%20an%20amazing%20site%20for%20coding%20questions.%20It%20was%20created%20by%20Joel%20Spolsky%20of%20joelonsoftware.com%2C%20Jeff%20Atwood%20of%20codinghorror.com%2C%20and%20some%20other%20incredibly%20smart%20guys%20who%20truly%20care%20about%20user%20experience.%20I%20have%20been%20a%20total%20fan%20of%20SO%20since%20it%20went%20mainstream%20and%20it%27s%20now%20a&amp;short_link=http://bit.ly/capw5J&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/10/24/are-you-a-stackoverflow-com-superuser-com-serverfault-com-fan-heres-a-greasemonkey-script-to-keep-track-of-your-accounts-on-all-of-them/" rel="bookmark" title="October 24, 2009">StackOverflow.com, SuperUser.com, ServerFault.com Fan? Here&#039;s A Greasemonkey Script To Keep Track Of All Your Accounts</a></li><li><a
href="http://beerpla.net/2009/09/03/comparison-between-solr-and-sphinx-search-servers-solr-vs-sphinx-fight/" rel="bookmark" title="September 3, 2009">Comparison Between Solr And Sphinx Search Servers (Solr Vs Sphinx &#8211; Fight!)</a></li><li><a
href="http://beerpla.net/2009/03/17/twitter-autocomplete-auto-url-expansion-auto-url-shortener-auto-pagination-rt-button-nested-replies-inline-media-embed-search-tabs-and-more/" rel="bookmark" title="March 17, 2009">Twitter.com Autocomplete, Auto URL Expansion, Auto URL Shortener, RT Button, Nested Replies, Inline Media Embed, Search Tabs, And More</a></li><li><a
href="http://beerpla.net/2010/01/18/wordpress-developers-how-do-you-make-a-living-poll-discussion/" rel="bookmark" title="January 18, 2010">WordPress Developers &#8211; How Do You Make A Living [Poll + Discussion]?</a></li><li><a
href="http://beerpla.net/2009/08/18/delicious-com-quietly-rolls-out-domain-and-url-searchingfiltering-finally/" rel="bookmark" title="August 18, 2009">Delicious.com [Quietly] Rolls Out Domain And Url Searching/Filtering. Finally!</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F06%2F21%2Fhidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists%2F&amp;title=Hidden%20Features%20Of%20Perl%2C%20PHP%2C%20Javascript%2C%20C%2C%20C%2B%2B%2C%20C%23%2C%20Java%2C%20Ruby%2C%20Python%2C%20And%20Others%20%5BCollection%20Of%20Incredibly%20Useful%20Lists%5D" id="wpa2a_38"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/feed/</wfw:commentRss> <slash:comments>18</slash:comments> </item> <item><title>How To Properly Set SVN svn:externals Property In SVN Command Line</title><link>http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/</link> <comments>http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/#comments</comments> <pubDate>Sun, 21 Jun 2009 02:01:26 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[SVN]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[error]]></category> <category><![CDATA[external]]></category> <category><![CDATA[externals]]></category> <category><![CDATA[how]]></category> <category><![CDATA[propget]]></category> <category><![CDATA[propset]]></category> <category><![CDATA[set]]></category> <category><![CDATA[svn:externals]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/</guid> <description><![CDATA[<h2>Introduction</h2><p>Every time I have to deal with <a
href="http://svnbook.red-bean.com/en/1.0/ch07s03.html" rel="nofollow">svn:externals</a> in SVN, I forget the command line syntax. Every single damn time. Normally, I use SVN GUI clients, such as <a
href="http://www.smartsvn.com/" rel="nofollow">SmartSVN</a>, which make it very simple to add an svn:externals property. But for command line, it always takes looking at 25 different sites on google, which are all incredibly unhelpful for this question for some reason. Trying &#34;svn help propset&#34; on the command line was bloated and equally useless.</p><p>So this time I needed to write it down and make sure everyone who needed help with svn:externals would find exactly what they need here. I hope this page will soon come up on top of all the unhelpful results on ...<div
class=clear></div> <a
href="http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<h2>Introduction</h2><p>Every time I have to deal with <a
href="http://svnbook.red-bean.com/en/1.0/ch07s03.html" rel="nofollow">svn:externals</a> in SVN, I forget the command line syntax. Every single damn time. Normally, I use SVN GUI clients, such as <a
href="http://www.smartsvn.com/" rel="nofollow">SmartSVN</a>, which make it very simple to add an svn:externals property. But for command line, it always takes looking at 25 different sites on google, which are all incredibly unhelpful for this question for some reason. Trying &quot;svn help propset&quot; on the command line was bloated and equally useless.</p><p>So this time I needed to write it down and make sure everyone who needed help with svn:externals would find exactly what they need here. I hope this page will soon come up on top of all the unhelpful results on google for &quot;propset svn:externals&quot; and other related queries.</p><h2>The Problem</h2><p>I want to set a simple svn:externals property in one of my project&#039;s directories, lets say &#039;plugins&#039; (talking about WordPress here). The outcome would be a directory called &#039;akismet&#039; within &#039;plugins&#039; that points to a remote svn url.</p><p>Various combinations of trying to do it produced pathetic results, like</p><div
class="wp_syntax"><div
class="code"><pre>svn propset svn:externals akismet http://plugins.svn.wordpress.org/akismet/trunk
svn: Setting property on non-local target 'http://plugins.svn.wordpress.org/akismet/trunk' needs a base revision</pre></div></div><div
class="wp_syntax"><div
class="code"><pre>svn propset svn:externals . akismet http://plugins.svn.wordpress.org/akismet/trunk
svn: Error parsing svn:externals property on 'akismet': '.'</pre></div></div><div
class="wp_syntax"><div
class="code"><pre>svn propset svn:externals akismet http://plugins.svn.wordpress.org/akismet/trunk akismet
svn: Setting property on non-local target 'http://plugins.svn.wordpress.org/akismet/trunk' needs a base revision</pre></div></div><h2>The Solution</h2><p>Finally, thanks to <a
href="http://www.nabble.com/svn:externals-example-td16552909.html" rel="nofollow">this post</a>, I found the right command:</p><div
class="wp_syntax"><div
class="code"><pre>svn propset svn:externals 'akismet http://plugins.svn.wordpress.org/akismet/trunk' .
property 'svn:externals' set on '.'</pre></div></div><p>Note that dot at the end of the command and the quotes around the directory name and url.</p><p>Now commit via</p><div
class="wp_syntax"><div
class="code"><pre>svn commit</pre></div></div><p>and then</p><div
class="wp_syntax"><div
class="code"><pre>svn up
Fetching external item into 'akismet'
A    akismet/akismet.gif
A    akismet/akismet.php
A    akismet/readme.txt
Updated external to revision 127962.
&nbsp;
Updated to revision 16.</pre></div></div><p>There, was it that hard, forum gurus and blog fiends?</p><p><strong>Edit</strong>: in order to set multiple directory/url pairs in a single svn:externals property, you should put the individual dir/url pairs into a file (let&#039;s call it &#039;svn.externals&#039;), like so</p><div
class="wp_syntax"><div
class="code"><pre>akismet http://svn.wp-plugins.org/akismet/trunk
all-in-one-seo-pack http://svn.wp-plugins.org/all-in-one-seo-pack/trunk</pre></div></div><p>and then apply the property using</p><div
class="wp_syntax"><div
class="code"><pre>svn propset svn:externals -F svn.externals .</pre></div></div><p>You should also just check in &#039;svn.externals&#039; to easily keep track of it.</p><p.One thing I haven't figured out yet is how to perform the same multi-operation without using a file. How does one do it on a single command line?</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Properly+Set+SVN+svn%3Aexternals+Property+In+SVN+Command+Line&amp;link=http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/&amp;notes=Introduction%0D%0AEvery%20time%20I%20have%20to%20deal%20with%20svn%3Aexternals%20in%20SVN%2C%20I%20forget%20the%20command%20line%20syntax.%20Every%20single%20damn%20time.%20Normally%2C%20I%20use%20SVN%20GUI%20clients%2C%20such%20as%20SmartSVN%2C%20which%20make%20it%20very%20simple%20to%20add%20an%20svn%3Aexternals%20property.%20But%20for%20command%20line%2C%20it%20always%20takes%20looking%20at%2025%20different%20si&amp;short_link=http://bit.ly/bpA8jU&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Properly+Set+SVN+svn%3Aexternals+Property+In+SVN+Command+Line&amp;link=http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/&amp;notes=Introduction%0D%0AEvery%20time%20I%20have%20to%20deal%20with%20svn%3Aexternals%20in%20SVN%2C%20I%20forget%20the%20command%20line%20syntax.%20Every%20single%20damn%20time.%20Normally%2C%20I%20use%20SVN%20GUI%20clients%2C%20such%20as%20SmartSVN%2C%20which%20make%20it%20very%20simple%20to%20add%20an%20svn%3Aexternals%20property.%20But%20for%20command%20line%2C%20it%20always%20takes%20looking%20at%2025%20different%20si&amp;short_link=http://bit.ly/bpA8jU&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Properly+Set+SVN+svn%3Aexternals+Property+In+SVN+Command+Line&amp;link=http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/&amp;notes=Introduction%0D%0AEvery%20time%20I%20have%20to%20deal%20with%20svn%3Aexternals%20in%20SVN%2C%20I%20forget%20the%20command%20line%20syntax.%20Every%20single%20damn%20time.%20Normally%2C%20I%20use%20SVN%20GUI%20clients%2C%20such%20as%20SmartSVN%2C%20which%20make%20it%20very%20simple%20to%20add%20an%20svn%3Aexternals%20property.%20But%20for%20command%20line%2C%20it%20always%20takes%20looking%20at%2025%20different%20si&amp;short_link=http://bit.ly/bpA8jU&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Properly+Set+SVN+svn%3Aexternals+Property+In+SVN+Command+Line&amp;link=http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/&amp;notes=Introduction%0D%0AEvery%20time%20I%20have%20to%20deal%20with%20svn%3Aexternals%20in%20SVN%2C%20I%20forget%20the%20command%20line%20syntax.%20Every%20single%20damn%20time.%20Normally%2C%20I%20use%20SVN%20GUI%20clients%2C%20such%20as%20SmartSVN%2C%20which%20make%20it%20very%20simple%20to%20add%20an%20svn%3Aexternals%20property.%20But%20for%20command%20line%2C%20it%20always%20takes%20looking%20at%2025%20different%20si&amp;short_link=http://bit.ly/bpA8jU&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Properly+Set+SVN+svn%3Aexternals+Property+In+SVN+Command+Line&amp;link=http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/&amp;notes=Introduction%0D%0AEvery%20time%20I%20have%20to%20deal%20with%20svn%3Aexternals%20in%20SVN%2C%20I%20forget%20the%20command%20line%20syntax.%20Every%20single%20damn%20time.%20Normally%2C%20I%20use%20SVN%20GUI%20clients%2C%20such%20as%20SmartSVN%2C%20which%20make%20it%20very%20simple%20to%20add%20an%20svn%3Aexternals%20property.%20But%20for%20command%20line%2C%20it%20always%20takes%20looking%20at%2025%20different%20si&amp;short_link=http://bit.ly/bpA8jU&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Properly+Set+SVN+svn%3Aexternals+Property+In+SVN+Command+Line&amp;link=http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/&amp;notes=Introduction%0D%0AEvery%20time%20I%20have%20to%20deal%20with%20svn%3Aexternals%20in%20SVN%2C%20I%20forget%20the%20command%20line%20syntax.%20Every%20single%20damn%20time.%20Normally%2C%20I%20use%20SVN%20GUI%20clients%2C%20such%20as%20SmartSVN%2C%20which%20make%20it%20very%20simple%20to%20add%20an%20svn%3Aexternals%20property.%20But%20for%20command%20line%2C%20it%20always%20takes%20looking%20at%2025%20different%20si&amp;short_link=http://bit.ly/bpA8jU&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Properly+Set+SVN+svn%3Aexternals+Property+In+SVN+Command+Line&amp;link=http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/&amp;notes=Introduction%0D%0AEvery%20time%20I%20have%20to%20deal%20with%20svn%3Aexternals%20in%20SVN%2C%20I%20forget%20the%20command%20line%20syntax.%20Every%20single%20damn%20time.%20Normally%2C%20I%20use%20SVN%20GUI%20clients%2C%20such%20as%20SmartSVN%2C%20which%20make%20it%20very%20simple%20to%20add%20an%20svn%3Aexternals%20property.%20But%20for%20command%20line%2C%20it%20always%20takes%20looking%20at%2025%20different%20si&amp;short_link=http://bit.ly/bpA8jU&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20To%20Properly%20Set%20SVN%20svn%3Aexternals%20Property%20In%20SVN%20Command%20Line&amp;link=http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/&amp;notes=Introduction%0D%0AEvery%20time%20I%20have%20to%20deal%20with%20svn%3Aexternals%20in%20SVN%2C%20I%20forget%20the%20command%20line%20syntax.%20Every%20single%20damn%20time.%20Normally%2C%20I%20use%20SVN%20GUI%20clients%2C%20such%20as%20SmartSVN%2C%20which%20make%20it%20very%20simple%20to%20add%20an%20svn%3Aexternals%20property.%20But%20for%20command%20line%2C%20it%20always%20takes%20looking%20at%2025%20different%20si&amp;short_link=http://bit.ly/bpA8jU&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2010/02/20/how-to-view-a-specific-svn-revision-in-your-browser/" rel="bookmark" title="February 20, 2010">How To View A Specific SVN Revision In Your Browser</a></li><li><a
href="http://beerpla.net/2008/06/16/how-to-svn-update-all-your-wordpress-plugins-in-one-go/" rel="bookmark" title="June 16, 2008">How To SVN Update All Your WordPress Plugins In One Go</a></li><li><a
href="http://beerpla.net/2011/11/16/how-to-disableblock-external-http-requests-in-wordpress/" rel="bookmark" title="November 16, 2011">How To: Disable/Block External HTTP Requests In WordPress</a></li><li><a
href="http://beerpla.net/2008/03/29/beer-planet-upgraded-to-wordpress-25/" rel="bookmark" title="March 29, 2008">Beer Planet Upgraded To WordPress 2.5</a></li><li><a
href="http://beerpla.net/2010/03/06/how-to-show-hiddeninvisible-files-in-total-commander-both-locally-and-on-an-ftp-server/" rel="bookmark" title="March 6, 2010">How To Show Hidden/Invisible Files In Total Commander, Both Locally And On An FTP Server</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F06%2F20%2Fhow-to-properly-set-svn-svnexternals-property-in-svn-command-line%2F&amp;title=How%20To%20Properly%20Set%20SVN%20svn%3Aexternals%20Property%20In%20SVN%20Command%20Line" id="wpa2a_40"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/feed/</wfw:commentRss> <slash:comments>27</slash:comments> </item> </channel> </rss>
