<?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>shesek</title>
	<atom:link href="http://www.shesek.info/feed" rel="self" type="application/rss+xml" />
	<link>http://www.shesek.info</link>
	<description>Just another web developer blog</description>
	<lastBuildDate>Thu, 18 Aug 2011 04:39:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>PHP Benchmark: The array plus operator VS array_merge</title>
		<link>http://www.shesek.info/php/php-benchmark-the-array-plus-operator-vs-array_merge</link>
		<comments>http://www.shesek.info/php/php-benchmark-the-array-plus-operator-vs-array_merge#comments</comments>
		<pubDate>Sat, 13 Aug 2011 01:56:06 +0000</pubDate>
		<dc:creator>shesek</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[array plus operator]]></category>
		<category><![CDATA[array_merge]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[php benchmark]]></category>

		<guid isPermaLink="false">http://www.shesek.info/?p=404</guid>
		<description><![CDATA[Just a quick post about a benchmark that quite surprised me. The array plus operator ($arr1 + $arr2) is over 6 times faster compared to array_merge. I did expect that to be faster, but not that much. This is the benchmark I used: The results were about the same for several executions. A couple of [...]]]></description>
		<wfw:commentRss>http://www.shesek.info/php/php-benchmark-the-array-plus-operator-vs-array_merge/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chrome desktop notifications for GitHub</title>
		<link>http://www.shesek.info/general/chrome-desktop-notifications-for-github</link>
		<comments>http://www.shesek.info/general/chrome-desktop-notifications-for-github#comments</comments>
		<pubDate>Sat, 30 Jul 2011 20:37:29 +0000</pubDate>
		<dc:creator>shesek</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[chrome extension]]></category>
		<category><![CDATA[desktop notifications]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[github desktop notifications]]></category>
		<category><![CDATA[github notifications]]></category>
		<category><![CDATA[webkit desktop notifications]]></category>

		<guid isPermaLink="false">http://www.shesek.info/?p=401</guid>
		<description><![CDATA[I&#8217;ve been looking for something to notify me about new GitHub notifications, and didn&#8217;t find anything. As I also wanted to take a look at the desktop notifications API, I decided to write a small Chrome extension that displays GitHub&#8217;s notifications as desktop notifications. There&#8217;s no API or feed to get those notifications from, so [...]]]></description>
		<wfw:commentRss>http://www.shesek.info/general/chrome-desktop-notifications-for-github/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Default arguments in JavaScript</title>
		<link>http://www.shesek.info/javascript/default-arguments-in-javascript</link>
		<comments>http://www.shesek.info/javascript/default-arguments-in-javascript#comments</comments>
		<pubDate>Sat, 30 Jul 2011 11:23:21 +0000</pubDate>
		<dc:creator>shesek</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[default arguments]]></category>
		<category><![CDATA[function arguments]]></category>

		<guid isPermaLink="false">http://www.shesek.info/?p=396</guid>
		<description><![CDATA[I&#8217;ve thought today on a nice and clean way of handling default function arguments in JavaScript. Because the arguments object in JavaScript defines getters and setters that also interact with the functions&#8217;s formal arguments, changing its values also changes the value of the local argument variables. For example: What that means is that we can [...]]]></description>
		<wfw:commentRss>http://www.shesek.info/javascript/default-arguments-in-javascript/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML escaping in Underscore.js templates</title>
		<link>http://www.shesek.info/javascript/html-escaping-in-underscore-js-templates</link>
		<comments>http://www.shesek.info/javascript/html-escaping-in-underscore-js-templates#comments</comments>
		<pubDate>Wed, 20 Jul 2011 11:14:51 +0000</pubDate>
		<dc:creator>shesek</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Underscore.js]]></category>
		<category><![CDATA[Underscore.js template escape]]></category>
		<category><![CDATA[Underscore.js templates]]></category>
		<category><![CDATA[_.template]]></category>

		<guid isPermaLink="false">http://www.shesek.info/?p=351</guid>
		<description><![CDATA[When displaying values in HTML templates, you would usually want to escape special HTML characters so that they&#8217;re displayed properly and to protect against XSS. I&#8217;ve changed my local Underscore.js (and opened a pull request at Underscore.js&#8217;s github) to add support for _.escape() and a new &#60;%== ... %&#62; template syntax (notice the double equal [...]]]></description>
		<wfw:commentRss>http://www.shesek.info/javascript/html-escaping-in-underscore-js-templates/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Singleton&#8221; initializer in Javascript</title>
		<link>http://www.shesek.info/web-development/singleton-initializer-in-javascript</link>
		<comments>http://www.shesek.info/web-development/singleton-initializer-in-javascript#comments</comments>
		<pubDate>Tue, 19 Jul 2011 00:07:44 +0000</pubDate>
		<dc:creator>shesek</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[javascript singleton]]></category>
		<category><![CDATA[object initializer]]></category>
		<category><![CDATA[singleton design pattern]]></category>

		<guid isPermaLink="false">http://www.shesek.info/?p=335</guid>
		<description><![CDATA[The nature of javascript makes it quite easy to have singleton-like behavior without actually using the singleton design pattern &#8211; simply define an object with some properties and use that. No need to do anything more than that, really &#8211; there&#8217;s no reason to create a prototyped function, create an instance and keep a reference [...]]]></description>
		<wfw:commentRss>http://www.shesek.info/web-development/singleton-initializer-in-javascript/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recursive Backbone.Model&#8217;s toJSON()</title>
		<link>http://www.shesek.info/web-development/recursive-backbone-models-tojson</link>
		<comments>http://www.shesek.info/web-development/recursive-backbone-models-tojson#comments</comments>
		<pubDate>Mon, 18 Jul 2011 23:47:54 +0000</pubDate>
		<dc:creator>shesek</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Backbone.js]]></category>
		<category><![CDATA[Backbone.Model]]></category>
		<category><![CDATA[Backbone.Model.toJSON]]></category>
		<category><![CDATA[recursive]]></category>
		<category><![CDATA[toJSON]]></category>

		<guid isPermaLink="false">http://www.shesek.info/?p=331</guid>
		<description><![CDATA[If you&#8217;re using collections and models as attributes for other models, calling toJSON() on Backbone.Model objects isn&#8217;t very useful as it returns the models and collections as-is. I&#8217;ve opened an issue requesting to make it recursive, but it seems like its not going to be added. If anyone still wants this functionality, you can use [...]]]></description>
		<wfw:commentRss>http://www.shesek.info/web-development/recursive-backbone-models-tojson/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>akismet_recheck_queue returning a blank page / not found?</title>
		<link>http://www.shesek.info/wordpress/akismet_recheck_queue-returning-a-blank-page-not-found</link>
		<comments>http://www.shesek.info/wordpress/akismet_recheck_queue-returning-a-blank-page-not-found#comments</comments>
		<pubDate>Sun, 17 Jul 2011 00:31:09 +0000</pubDate>
		<dc:creator>shesek</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[akismet]]></category>
		<category><![CDATA[akismet check for spam]]></category>
		<category><![CDATA[akismet_recheck_queue]]></category>
		<category><![CDATA[blank page]]></category>
		<category><![CDATA[page not found]]></category>
		<category><![CDATA[wordpress akismet]]></category>

		<guid isPermaLink="false">http://www.shesek.info/?p=339</guid>
		<description><![CDATA[If your blog has large number of comments in the moderation queue, akismet &#8220;check for spam&#8221; option that tries to filter out spam from your moderation queue could execute for too long, die, and return either a blank page or a &#8216;page not found&#8217; error. However, Akismet does manage to check some comments every time [...]]]></description>
		<wfw:commentRss>http://www.shesek.info/wordpress/akismet_recheck_queue-returning-a-blank-page-not-found/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create jQuery-UI widgets from HTML markup</title>
		<link>http://www.shesek.info/jquery/create-jquery-ui-widgets-from-html-markup</link>
		<comments>http://www.shesek.info/jquery/create-jquery-ui-widgets-from-html-markup#comments</comments>
		<pubDate>Tue, 19 Apr 2011 16:31:18 +0000</pubDate>
		<dc:creator>shesek</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.codenition.com/?p=185</guid>
		<description><![CDATA[Many times I add UI enhancements using jQuery UI, like buttons, datepickers, tabs, etc that requires very simple JavaScript code without much logic. Having to add JavaScript code for those small enhancements quickly became annoying for me. To overcome this, I&#8217;ve been using CSS classes like &#8220;jq-datepicker&#8221;, than execute $(&#8216;.jq-datepicker&#8217;).datepicker() in a file that&#8217;s globally [...]]]></description>
		<wfw:commentRss>http://www.shesek.info/jquery/create-jquery-ui-widgets-from-html-markup/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick fix for Trac Babel/Locale issue</title>
		<link>http://www.shesek.info/trac/quick-fix-for-trac-babellocale-issue</link>
		<comments>http://www.shesek.info/trac/quick-fix-for-trac-babellocale-issue#comments</comments>
		<pubDate>Thu, 10 Mar 2011 15:18:52 +0000</pubDate>
		<dc:creator>shesek</dc:creator>
				<category><![CDATA[Trac]]></category>
		<category><![CDATA[babel]]></category>
		<category><![CDATA[locale]]></category>
		<category><![CDATA[trac error]]></category>

		<guid isPermaLink="false">http://www.codenition.com/?p=164</guid>
		<description><![CDATA[After installing Babel on our development machine, Trac died with that error: OSError: [Errno 2] No such file or directory: '/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/locale' The issue seems to be related to #9439: When installing Trac, it checks whether Babel is installed or not. When Babel is installed, Trac also installs the locale files. The problem occurs when Babel [...]]]></description>
		<wfw:commentRss>http://www.shesek.info/trac/quick-fix-for-trac-babellocale-issue/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup all SVN repostiroes using a one-liner Shell script</title>
		<link>http://www.shesek.info/svn/backup-all-svn-repostiroes-using-a-one-liner-shell-script</link>
		<comments>http://www.shesek.info/svn/backup-all-svn-repostiroes-using-a-one-liner-shell-script#comments</comments>
		<pubDate>Wed, 09 Mar 2011 21:53:54 +0000</pubDate>
		<dc:creator>shesek</dc:creator>
				<category><![CDATA[SVN]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[shell script]]></category>
		<category><![CDATA[svn backup]]></category>
		<category><![CDATA[svn repositories]]></category>

		<guid isPermaLink="false">http://www.codenition.com/?p=158</guid>
		<description><![CDATA[Just a quick one-liner to backup all your SVN repositories. It lists the directories under the main SVN directory, uses xargs to run the dump for every repository, gzip&#8217;s the dump and saves each dump to a file named according to the repository name and the current date. In this example, the main SVN directory [...]]]></description>
		<wfw:commentRss>http://www.shesek.info/svn/backup-all-svn-repostiroes-using-a-one-liner-shell-script/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

