<?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>Too many projects, too little time &#187; Software</title>
	<atom:link href="http://joydutta.com/blog/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://joydutta.com/blog</link>
	<description>Joy Dutta on technology, photography, motorcycling, aviation and other things</description>
	<lastBuildDate>Tue, 24 Jan 2012 17:57:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Migrating from flickr to picasaweb</title>
		<link>http://joydutta.com/blog/2011/12/06/migrating-from-flickr-to-picasaweb/</link>
		<comments>http://joydutta.com/blog/2011/12/06/migrating-from-flickr-to-picasaweb/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 20:43:56 +0000</pubDate>
		<dc:creator>therider</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://joydutta.com/blog/?p=1360</guid>
		<description><![CDATA[In 2006 I migrated my pbase albums to flickr. Why? Because flickr was the coolest looking thing back then. Some of the things that made me do the painful manual switch: - Photostream: a new concept unlike the rigid directory-like album structure in pbase. - Square thumbnails and the ability to put same image into [...]]]></description>
			<content:encoded><![CDATA[<p>In 2006 I migrated my pbase albums to flickr. Why? Because flickr was the coolest looking thing back then. Some of the things that made me do the painful manual switch:</p>
<p>- Photostream: a new concept unlike the rigid directory-like album structure in pbase.<br />
- Square thumbnails and the ability to put same image into multiple sets without duplication.<br />
- The community feel, groups, and explore galleries.</p>
<p>I have since accumulated more than 6000 photos in flickr and it is an irreplaceable memory lane for me.</p>
<p>Few weeks ago I started wondering about the future of flickr. After acquisition by yahoo in 2005, it has not added any significant feature besides collections (only one level deep hierarchy) and some other cosmetic changes. Given the abysmal track record of companies/products under yahoo, I figured it was time to really check out picasaweb, the other viable alternative I ignored for a long time.</p>
<p>In two days of fiddling with picasaweb, picasa desktop app, and photograbbr I think this is the way to go. This <a href="http://john.do/blog/migrating-21k-pictures-and-videos-from-flickr-to-picasa/">blog post</a> also sold me to the idea. Here are my observations regarding the switch:</p>
<p>- If I let my pro flickr account lapse, I will still have the photos forever, only that the last 200 will be visible in photostream. Any link to photos from old blog posts will continue to work. I have not much to lose. Besides my 6000 photos are all web sized, taking under 2GB of space. In flickr I paid $25/yr for unlimited, but in picasaweb I will have to pay $5/yr for 20GB (1GB is free).</p>
<p>- I am not sure I like the photostream of flickr anymore. Sometimes I think twice before uploading less-than-best photos since friends will see the latest photos. At this point the rigid album feature makes more sense. I will miss having album-inside-album, but I can live with that, since tags can help.</p>
<p>- One big gripe with flickr is filename preservation. It would make the filename as default title, and I have to manually copy it to the description area if I have to change the title. Flickr gives each photo an unique id and there is no other place where the filename is preserved. With picasa this is no more a problem, the photos get uploaded in picasa with empty caption by default, and filename is untouched. For the migration part, PhotoGrabbr is an excellent app. It lets me download flickr photos with flickr filename, plus an xml document which has all the details about the photo including title and description, one of which has the original filename. The migration should be easy and fast.</p>
<p>- The other major pain-in-the-ass with flickr is its image organizer. I cringe everytime I have to use it.</p>
<p>- I really loved the way picasa works, especially the sync with picasaweb. Photo caption syncs both ways. Super easy to delete the online album and re-upload after major changes in the album. Once an album (basically a folder) is in sync with the online version, I can upload more by simple drag and drop to the album folder. So my workflow is like this: work in Lightroom, export processed photos from RAW to 900&#215;600 jpg, and just drop them in a folder under picasa. The tags stay intact from the time I imported photos in LR. Sweet.</p>
<p>- The integration of picasaweb with G+ android app took me by surprise. Very fast browsing of my online photos over 3G. WIN.</p>
<p>I am kind of sad to no longer renew my flickr pro, but I am sure it would have been 10 times more awesome from its 2005 version had it not gone under Yahoo.</p>
<p>Update: here is my new picasaweb public gallery: <a href="https://picasaweb.google.com/107557198667490360767">https://picasaweb.google.com/107557198667490360767</a></p>
]]></content:encoded>
			<wfw:commentRss>http://joydutta.com/blog/2011/12/06/migrating-from-flickr-to-picasaweb/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The importance of safety in everyday things</title>
		<link>http://joydutta.com/blog/2011/02/06/the-importance-of-safety-in-everyday-things/</link>
		<comments>http://joydutta.com/blog/2011/02/06/the-importance-of-safety-in-everyday-things/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 00:36:02 +0000</pubDate>
		<dc:creator>therider</dc:creator>
				<category><![CDATA[Hobbies]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Usability]]></category>

		<guid isPermaLink="false">http://joydutta.com/blog/?p=1290</guid>
		<description><![CDATA[There is a reason I love building physical objects with wood. It shares many basic engineering principles of building good software. For example, planning to group similar tasks to enable as much batch processing as possible. There is the 80/20 rule as well. You can document the dimensions and cut lists for repeat builds. Even [...]]]></description>
			<content:encoded><![CDATA[<p>There is a reason I love building physical objects with wood. It shares many basic engineering principles of building good software. For example, planning to group similar tasks to enable as much batch processing as possible. There is the 80/20 rule as well. You can document the dimensions and cut lists for repeat builds. Even though every step in a woodworking project is pretty much irreversible, the number of &#8220;Oops&#8221; moments can be drastically reduced over a period of time, with a decent experience.</p>
<p>But see, a real life product differs from a software in a very critical part of the build process &#8211; the safety inspection. Even the worst software bug can&#8217;t come close to the damage caused by a physical injury from a nasty oversight. When the foldable table-cum-cabinet I was building got almost finished, I suddenly discovered a potential finger-smashing pinch hazard from what I imagined as a cool design. The table part on the right side is foldable, so that also means nearly 29 inches of leg folds back and it is hinged close to the right end of the table, right where a person might keep the right fingers when unfolding the plank. Now if the legs have no retention mechanism, they will just open with a smash as soon as the clearance is available in the unfolding process. So I need to do two things:</p>
<p>1. Prevention of the hazard: I added a small retention clip so that the legs will be in its place until the user is ready to unhook it.<br />
2. Protection in case #1 above is forgotten: Added a barrier next to the hinge at the underside near the right end of the table top. This will ensure the fingers stay out of the way of the pinch zone.</p>
<p>Without photos, none of my words make any sense, so here they are: <a href="http://therider.posterous.com/sewing-machine-cabinet">http://therider.posterous.com/sewing-machine-cabinet</a></p>
<p>I still have to explain the mechanisms to my friend when I hand it over to her. I will possibly make a printout to ensure anyone using it follows right procedures.</p>
]]></content:encoded>
			<wfw:commentRss>http://joydutta.com/blog/2011/02/06/the-importance-of-safety-in-everyday-things/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>I am for hire</title>
		<link>http://joydutta.com/blog/2010/12/16/i-am-for-hire/</link>
		<comments>http://joydutta.com/blog/2010/12/16/i-am-for-hire/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 00:41:45 +0000</pubDate>
		<dc:creator>therider</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://joydutta.com/blog/?p=1243</guid>
		<description><![CDATA[After 5 years of continuous learning and a veritable roller coaster ride at my former job, it is time for a change. While proud to have extensively contributed to the #1 finance website during my time at Yahoo! Finance, there could not be a better time for new adventures than now. I am ready to [...]]]></description>
			<content:encoded><![CDATA[<p>After 5 years of continuous learning and a veritable roller coaster ride at my former job, it is time for a change. While proud to have extensively contributed to the #1 finance website during my time at Yahoo! Finance, there could not be a better time for new adventures than now.</p>
<p>I am ready to take the jump. Looking forward to solving difficult and interesting problems.</p>
<p>My resume: <a href="http://joydutta.com/files/resume-joy-dutta.pdf">PDF</a><br />
My linked-in profile: <a href="http://www.linkedin.com/in/joydutta">http://www.linkedin.com/in/joydutta</a><br />
Email is the best way to reach me: j d u t t a AT gmail DOT com</p>
]]></content:encoded>
			<wfw:commentRss>http://joydutta.com/blog/2010/12/16/i-am-for-hire/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Context-Aware Bash Shell Autocomplete</title>
		<link>http://joydutta.com/blog/2010/12/10/context-aware-bash-shell-autocomplete/</link>
		<comments>http://joydutta.com/blog/2010/12/10/context-aware-bash-shell-autocomplete/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 23:17:35 +0000</pubDate>
		<dc:creator>therider</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Usability]]></category>
		<category><![CDATA[productivity]]></category>

		<guid isPermaLink="false">http://joydutta.com/blog/?p=1236</guid>
		<description><![CDATA[My work in the IT field involves a lot of repetitive typing in the unix shell, and most of them are basically copy and paste of things like hostnames, directory paths, screen names and so on. Bash shell by default offers a file/directory name expansion, but it can be extended for command specific autocomplete of [...]]]></description>
			<content:encoded><![CDATA[<p>My work in the IT field involves a lot of repetitive typing in the unix shell, and most of them are basically copy and paste of things like hostnames, directory paths, screen names and so on. Bash shell by default offers a file/directory name expansion, but it can be extended for command specific autocomplete of  specific files or data.</p>
<p>For example, all the host names you have ssh&#8217;d to before are stored in a file ~/.ssh/known_hosts, so we can leverage that. Similarly available screen names can be seen using &#8220;screen -ls&#8221; but it is much nicer to have the list available for expansion while invoking a screen.</p>
<p>So here is a <a href="https://github.com/jdutta/bashautoc">project on github</a> to build an extension script which offers as many useful autocomplete features as possible without interfering with the default filename expansion.</p>
<p>Examples:<br />
<hr />
<p>Context: screen</p>
<p>$ screen -r [TAB][TAB]<br />
photo    debug    bashautoc<br />
joyd@shield ~/configs $ screen -r ba[TAB]<br />
joyd@shield ~/configs $ screen -r bashautoc</p>
]]></content:encoded>
			<wfw:commentRss>http://joydutta.com/blog/2010/12/10/context-aware-bash-shell-autocomplete/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solution for Epson 7600 printing in Snow Leopard</title>
		<link>http://joydutta.com/blog/2010/09/30/solution-for-epson-7600-printing-in-snow-leopard/</link>
		<comments>http://joydutta.com/blog/2010/09/30/solution-for-epson-7600-printing-in-snow-leopard/#comments</comments>
		<pubDate>Thu, 30 Sep 2010 17:19:45 +0000</pubDate>
		<dc:creator>therider</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[7600]]></category>
		<category><![CDATA[colorsync]]></category>
		<category><![CDATA[epson]]></category>
		<category><![CDATA[print]]></category>

		<guid isPermaLink="false">http://joydutta.com/blog/?p=1175</guid>
		<description><![CDATA[In the previous post I have outlined a trick to print correctly from Lightroom. While that works, LR has a weird crop issue when printing. So I continued my search to find a fix with PS. Thanks to Doyle Yoder from a Luminous Landscape forum thread (reply #18), finally I can print right again from [...]]]></description>
			<content:encoded><![CDATA[<p>In the previous post I have outlined a trick to print correctly from Lightroom. While that works, LR has a weird crop issue when printing. So I continued my search to find a fix with PS.</p>
<p>Thanks to Doyle Yoder from a Luminous Landscape forum <a href="http://www.luminous-landscape.com/forum/index.php?topic=40184">thread</a> (reply #18), finally I can print right again from PS CS3. The steps are:</p>
<p>1. Convert to printer/paper profile.<br />
2. Assign sRGB profile, ignore the color shift as it shows on the monitor.<br />
3. In the print dialog, choose &#8220;Printer manages color&#8221;.<br />
4. Because of above choice, &#8220;Color matching&#8221; in driver dialog will show &#8220;Epson color controls&#8221; automatically chosen and grayed out. Now choose NCA in the settings.</p>
<p>Voila. Perfect print.</p>
]]></content:encoded>
			<wfw:commentRss>http://joydutta.com/blog/2010/09/30/solution-for-epson-7600-printing-in-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Epson 7600 and Snow Leopard printing woes and solution</title>
		<link>http://joydutta.com/blog/2010/09/29/epson-7600-and-snow-leopard-printing-woes-and-solution/</link>
		<comments>http://joydutta.com/blog/2010/09/29/epson-7600-and-snow-leopard-printing-woes-and-solution/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 10:00:22 +0000</pubDate>
		<dc:creator>therider</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[7600]]></category>
		<category><![CDATA[epson]]></category>
		<category><![CDATA[printer]]></category>
		<category><![CDATA[snowleopard]]></category>

		<guid isPermaLink="false">http://joydutta.com/blog/?p=1162</guid>
		<description><![CDATA[Brief update from my side is that I picked up a large format Epson Stylus Pro 7600 from a good friend of mine. As much as I was excited to own such a fine printer, I was bummed for two straight days not able to print a test image correctly from Photoshop CS3 on an [...]]]></description>
			<content:encoded><![CDATA[<p>Brief update from my side is that I picked up a large format Epson Stylus Pro 7600 from a good friend of mine. As much as I was excited to own such a fine printer, I was bummed for two straight days not able to print a test image correctly from Photoshop CS3 on an intel macbook with Snow Leopard (10.6.4). I used the latest 8.19 printer driver.</p>
<p>I followed the standard process. Photoshop manages colors, with Bill Atkinson&#8217;s 9600 Premium Luster paper profile (9600PLU1), with Relative Colorimetric intent and Black point compensation turned on. Also NCA (no color adjustment) in the printer driver. Each and every print came out darker as if shadows quickly rushed to blackness. Also the black and white images seemed warm.</p>
<p>From numerous sources on the web I found out that the root cause is &#8220;double profiling&#8221; due to a bug in the print workflow. What happens exactly is that when we apply a profile in the print dialog in PS, and then go to printer driver dialog, the &#8220;Color Matching&#8221; section shows that &#8220;ColorSync&#8221; is automatically selected and is grayed out. This is not desired because ColorSync itself applies another profile depending on the paper, in my case, 7600-Premium-Luster-PK. the NCA option is also grayed out. This double profiling screws up the prints.</p>
<p>Many people have fixed it by pointing the default ColorSync profiles to &#8220;Generic RGB&#8221; as if it is a null profile. But it did not work for me.</p>
<p>Another source said to convert the image to the paper profile, then choose &#8220;Printer manages colors&#8221;, and NCA in printer driver. Very strangely, the printer just won&#8217;t print anything with this configuration.</p>
<p>Then I found out a very interesting fact that in Lightroom the application print dialog and the print driver dialog are on separate buttons. I had to choose the NCA on the driver dialog first (clicking &#8220;Print Settings&#8230;&#8221;), making sure that Color Matching is &#8220;Epson color controls&#8221;, the only alternative to &#8220;ColorSync&#8221;. Then I chose the paper profile on the right side pane before clicking &#8220;Print one&#8221;, and not &#8220;Print&#8230;&#8221;. If you click the latter, the color matching will be reset to &#8220;ColorSync&#8221; and you have to undo it by choosing &#8220;Printer manages color&#8221; instead of the paper profile and click &#8220;Print&#8230;&#8221; again.</p>
<p>The print finally showed shadow details as desired and perfectly neutral black and white.</p>
<p>It will still be a PITA to prepare images in PS and print via LR, but at least the prints will be right. CS4 or CS5 might have this particular bug fixed, but not sure.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Various Epson 7600 related links:<br />
1. <a href="http://www.gabrielgurley.com/resources/documentation/digitalphotography/printing_images_epson_7600_9600_photoshop.html">Lesson: Printing Images Using an EPSON Pro Stylus 7600 / 9600 Large Format Printer and Adobe Photoshop</a><br />
2. <a href="http://www.squidoo.com/epson7600">Lessons from using an Epson 7600 printer</a></p>
<p>Test prints:<br />
1. <a href="http://www.on-sight.com/downloads/">On-sight</a><br />
2. <a href="http://homepage.mac.com/billatkinson/FileSharing2.html">Bill&#8217;s downloads</a></p>
<p><strong>Update:</strong> After getting the 7600 working right, the 2200 driver started giving problems. It won&#8217;t print and the utility app will not launch. After lots of research the solution that worked was to install the 2200 driver in uninstall mode before re-installing it. Then I tricked the 2200 the same way as 7600 to get it to print using paper profile and &#8220;Epson color controls&#8221;. The result came out better than what I was doing all along with &#8220;Printer manages colors&#8221; workflow. The grays are more neutral than the distinct magenta I used to get. It is still a little warm so I might still be using QTR for b/w but the color prints are gonna be better from now on.</p>
]]></content:encoded>
			<wfw:commentRss>http://joydutta.com/blog/2010/09/29/epson-7600-and-snow-leopard-printing-woes-and-solution/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Writing a daemon in linux</title>
		<link>http://joydutta.com/blog/2010/09/01/writing-a-daemon-in-linux/</link>
		<comments>http://joydutta.com/blog/2010/09/01/writing-a-daemon-in-linux/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 21:18:31 +0000</pubDate>
		<dc:creator>therider</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[daemon]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://joydutta.com/blog/?p=1129</guid>
		<description><![CDATA[Needed some online tutorial writing a daemon process. The links below helped. 1. Linux daemon in C 2. Linux daemon HOWTO]]></description>
			<content:encoded><![CDATA[<p>Needed some online tutorial writing a daemon process. The links below helped.</p>
<p>1. <a href="http://peterlombardo.wikidot.com/linux-daemon-in-c">Linux daemon in C</a><br />
2. <a href="http://www.netzmafia.de/skripten/unix/linux-daemon-howto.html">Linux daemon HOWTO</a></p>
]]></content:encoded>
			<wfw:commentRss>http://joydutta.com/blog/2010/09/01/writing-a-daemon-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using color blend mode in Photoshop</title>
		<link>http://joydutta.com/blog/2010/03/13/using-color-blend-mode-in-photoshop/</link>
		<comments>http://joydutta.com/blog/2010/03/13/using-color-blend-mode-in-photoshop/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 00:55:36 +0000</pubDate>
		<dc:creator>therider</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[photoshop]]></category>

		<guid isPermaLink="false">http://joydutta.com/blog/?p=923</guid>
		<description><![CDATA[Over the years, I have been processing thousands of images in photoshop, but the various layer blending modes don&#8217;t get used much. Except for overlay and soft light for when I do high pass output sharpening. Very recently, I came across a specific requirement. A favorite photo had abrupt vignetting and the color of the [...]]]></description>
			<content:encoded><![CDATA[<p>Over the years, I have been processing thousands of images in photoshop, but the various layer blending modes don&#8217;t get used much. Except for overlay and soft light for when I do high pass output sharpening.</p>
<p>Very recently, I came across a specific requirement. A favorite photo had abrupt vignetting and the color of the sky in the upper corners were different in hue from the rest. I would normally use the clone stamp tool with low opacity, but I had one problem, there were some power lines that went right through the corner. Then I tried using clone stamping in a new transparent layer with blending mode set to color instead of normal. That gave me exactly what I needed, the color mismatch was fixed without doing anything funky with the power lines. The photos below illustrate this technique.</p>
<div id="attachment_926" class="wp-caption aligncenter" style="width: 310px"><a href="http://joydutta.com/blog/wp-content/uploads/2010/03/original-with-color-cast.png"><img src="http://joydutta.com/blog/wp-content/uploads/2010/03/original-with-color-cast-300x200.png" alt="Original with color shift in corner" title="Original with color shift in corner" width="300" height="200" class="size-medium wp-image-926" /></a><p class="wp-caption-text">Original with color shift in corner</p></div>
<div id="attachment_929" class="wp-caption aligncenter" style="width: 310px"><a href="http://joydutta.com/blog/wp-content/uploads/2010/03/stamping-tool-normal-blending.png"><img src="http://joydutta.com/blog/wp-content/uploads/2010/03/stamping-tool-normal-blending-300x199.png" alt="Problem with clone stamp tool using normal blend mode" title="Problem with clone stamp tool using normal blend mode" width="300" height="199" class="size-medium wp-image-929" /></a><p class="wp-caption-text">Problem with clone stamp tool using normal blend mode</p></div>
<div id="attachment_935" class="wp-caption aligncenter" style="width: 310px"><a href="http://joydutta.com/blog/wp-content/uploads/2010/03/stamping-tool-color-blending.png"><img src="http://joydutta.com/blog/wp-content/uploads/2010/03/stamping-tool-color-blending-300x200.png" alt="Clone stamp tool using color blend mode" title="Clone stamp tool using color blend mode" width="300" height="200" class="size-medium wp-image-935" /></a><p class="wp-caption-text">Clone stamp tool using color blend mode</p></div><br />
<div id="attachment_946" class="wp-caption aligncenter" style="width: 219px"><a href="http://joydutta.com/blog/wp-content/uploads/2010/03/using-color-blend-mode.png"><img src="http://joydutta.com/blog/wp-content/uploads/2010/03/using-color-blend-mode.png" alt="Using color blend mode in photoshop" title="Using color blend mode in photoshop" width="209" height="139" class="size-full wp-image-946" /></a><p class="wp-caption-text">Using color blend mode in photoshop</p></div>
]]></content:encoded>
			<wfw:commentRss>http://joydutta.com/blog/2010/03/13/using-color-blend-mode-in-photoshop/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Speeding up Pixelpost blog browsing</title>
		<link>http://joydutta.com/blog/2010/03/05/speeding-up-pixelpost-blog-browsing/</link>
		<comments>http://joydutta.com/blog/2010/03/05/speeding-up-pixelpost-blog-browsing/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 05:16:16 +0000</pubDate>
		<dc:creator>therider</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Usability]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[pixelpost]]></category>

		<guid isPermaLink="false">http://joydutta.com/blog/?p=867</guid>
		<description><![CDATA[Pixelpost is a very popular framework for photoblogs due to its simplicity and ease of tweaking. A while back I posted an article on how to enable keyboard navigation on a pixelpost photoblog. It works very well considering it allows mouse free browsing. But the browsing experience can be improved even more. Lets consider how [...]]]></description>
			<content:encoded><![CDATA[<p>Pixelpost is a very popular framework for photoblogs due to its simplicity and ease of tweaking. A while back I posted an <a href="http://joydutta.com/blog/2009/09/04/the-importance-of-keyboard-navigation/">article</a> on how to enable keyboard navigation on a pixelpost photoblog. It works very well considering it allows mouse free browsing. But the browsing experience can be improved even more.</p>
<p>Lets consider how a photoblog is browsed most of the time. A visitor typically lands on a home page showing the latest image and goes through the previous images sequentially, spending a few seconds on each image. Leveraging this fact, if the &#8220;previous&#8221; image is downloaded in the background using javascript right after the current image, it will be almost if not completely ready for viewing when the visitor is on the &#8220;previous&#8221; image page. The same can be done for the &#8220;next&#8221; image, but in most of the cases that image will already be in the browser cache.</p>
<p>This is a very simple change for a tangible usability benefit. Below are my tweaks:</p>
<p><strong>index.php:</strong></p>
<div class="codesnip-container" >
<pre>
// expose the previous image name through tags, so previous images can be
// pre-downloaded in the background for faster browsing experience
$tpl = ereg_replace("&lt;IMAGE_PREVIOUS_NAME>",$image_previous_name,$tpl);
</pre>
</div>
<p><strong>templates/theworldin35mm/image_template.html:</strong></p>
<div class="codesnip-container" >
<pre>
window.onload = function() {
  ...
  var prevImg = new Image(); // for downloading prev image in background

  img.onload = function(evt) {
    ...
    // after current image load, load previous image in the background
    if('&lt;IMAGE_PREVIOUS_NAME>' != '') {
      prevImg.src = '&lt;SITE_URL>images/&lt;IMAGE_PREVIOUS_NAME>';
    }
  }
  ...
};
</pre>
</div>
<p>To verify that this extra javascript is actually doing its job, look at the Net section in Firebug (in Firefox browser, ofcourse). Clear the cache first. On first page load it will show several items getting downloaded. On left arrow, the previous image page will load, and then you can see that an extra image got downloaded at the bottom. Compare with and without my code. Here is a screenshot:</p>
<p><a href="http://www.flickr.com/photos/therider/4413061742/" title="Testing pre-download of previous image by therider, on Flickr"><img src="http://farm5.static.flickr.com/4046/4413061742_2cfe20dc76_o.png" width="594" height="189" alt="Testing pre-download of previous image" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://joydutta.com/blog/2010/03/05/speeding-up-pixelpost-blog-browsing/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>MAMP 403 issue and fix</title>
		<link>http://joydutta.com/blog/2010/02/20/mamp-403-issue-and-fix/</link>
		<comments>http://joydutta.com/blog/2010/02/20/mamp-403-issue-and-fix/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 04:35:51 +0000</pubDate>
		<dc:creator>therider</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[mamp]]></category>

		<guid isPermaLink="false">http://joydutta.com/blog/?p=807</guid>
		<description><![CDATA[I have been using MAMP for a while. For no apparent reason today, I got a 403 message for the start page (http://localhost:8888/MAMP/): Forbidden You don&#8217;t have permission to access /MAMP/ on this server. Apache/2.0.59 (Unix) PHP/5.2.6 DAV/2 Server at localhost Port 8888 Figured out the solution by a little search but it is useful [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using MAMP for a while. For no apparent reason today, I got a 403 message for the start page (http://localhost:8888/MAMP/):</p>
<p><strong>Forbidden</strong></p>
<p>You don&#8217;t have permission to access /MAMP/ on this server.<br />
<em>Apache/2.0.59 (Unix) PHP/5.2.6 DAV/2 Server at localhost Port 8888</em></p>
<p>Figured out the solution by a little search but it is useful enough to share.</p>
<p>1. Quit MAMP or stop servers.<br />
2. Open /Applications/MAMP/conf/apache/httpd.conf file in vim or any text editor.<br />
3. Find this section of code:</p>
<div class="codesnip-container" >
<pre>
&lt;Directory />
Options Indexes FollowSymLinks
AllowOverride All
&lt;/Directory>
</pre>
</div>
<p>4. Change &#8220;AllowOverride All&#8221; to &#8220;AllowOverride None&#8221;.<br />
5. Save the httpd.conf file.<br />
6. Launch MAMP or start servers, then open up the start page.</p>
<p>It works !</p>
]]></content:encoded>
			<wfw:commentRss>http://joydutta.com/blog/2010/02/20/mamp-403-issue-and-fix/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

