<?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>qrisper &#187; htaccess</title>
	<atom:link href="http://blog.qrisper.com/tag/htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.qrisper.com</link>
	<description>the making of qrisper.com</description>
	<lastBuildDate>Fri, 14 Aug 2009 22:32:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>To procrastinate is to procreate ideas in your brain</title>
		<link>http://blog.qrisper.com/2009/05/to-procrastinate-is-to-procreate-ideas-in-your-brain/</link>
		<comments>http://blog.qrisper.com/2009/05/to-procrastinate-is-to-procreate-ideas-in-your-brain/#comments</comments>
		<pubDate>Mon, 25 May 2009 03:37:21 +0000</pubDate>
		<dc:creator>Jung Lee</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[mod-rewrite]]></category>
		<category><![CDATA[nettuts]]></category>
		<category><![CDATA[pagination]]></category>
		<category><![CDATA[stack overflow]]></category>
		<category><![CDATA[thumbnails]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://blog.qrisper.com/?p=143</guid>
		<description><![CDATA[I don&#8217;t know if this is how it works for other people but the less I think about a problem, the faster I can find a solution for it.  It&#8217;s like anytime I try to figure out a problem through sheer will and forceful brain flexing, I&#8217;m left beaten and frustrated.  But take a game [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know if this is how it works for other people but the less I think about a problem, the faster I can find a solution for it.  It&#8217;s like anytime I try to figure out a problem through sheer will and forceful brain flexing, I&#8217;m left beaten and frustrated.  But take a game break, surf the web or complete forget about the problem for a few days and the next time I approach the problem, it&#8217;s like it never was one.  Further evidence that procrastination is <em>the </em>method of creative geniuses?</p>
<p>Anyway, I made a number of breakthroughs during the past few weeks in my quest for the most frickin amazing website on the planet.  First off, I&#8217;m definitely getting more comfortable with ajax, as you can see from the registration validation that I&#8217;ve set up.  Never in my life did I think I&#8217;d be able to create a username and email check.  That was a great moment&#8230;<em>(wipes away a tear).</em> Thanks to <a title="yensdesign" href="http://yensdesign.com/2009/01/how-validate-forms-both-sides-using-php-jquery/">yensdesign.com</a>, <a title="roshans blog" href="http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html">Roshan&#8217;s Blog</a> and <a title="amos" href="http://plasticpast.com/">the professor</a>.</p>
<p>Another pain in the ass was pagination.  I tried a number of techniques found <a title="php pagination" href="http://net.tutsplus.com/tutorials/php/how-to-paginate-data-with-php/#more-2928">here</a>, <a title="jquery pagination" href="http://d-scribe.de/webtools/jquery-pagination/demo/demo_options.htm">here</a> and a few others.  But either I couldn&#8217;t get it working or simply didn&#8217;t like the implementation.  Finally decided on a pretty simple version of the existing pagination code that I was using.  One thing I&#8217;d like to add is the ability to dynamically hide page links when there are too many&#8230;hoping that will come to me eventually.</p>
<p>I&#8217;m finally making some headway in using mod-rewrite to take control of my urls.  All of the user profile pages can now be access through <strong>qrisper.com/<em>username</em>/</strong>.  Shout out to <a title="one frickin great resource" href="http://stackoverflow.com/users/107427/jung">Stack Overflow</a>, one frickin great resource.  Planning to use mod-rewrite across all of qrisper.com.  One concern is what kind of performance hit I&#8217;m taking using htaccess.  Will need to move that over to the Apache config file eventually.</p>
<p>In addition, a few other minor modifications:</p>
<ul>
<li>sanitized 99% of qrisper.com&#8230; there&#8217;s one or two pages that still need a thorough scrubbing but hoping to have eliminated most of the possibility for any funny business</li>
<li>users can now change their previously submitted answers</li>
<li>a few design/nav tweaks (tweet answer link, what&#8217;s your answer link, updates to answers/skipped/index pages</li>
</ul>
<p>And lastly, I was using this <a title="php dynamic thumbnails" href="http://net.tutsplus.com/videos/screencasts/how-to-dynamically-create-thumbnails/">solution to manage thumbnail images</a> from the always helpful folks at <a title="nettuts" href="http://net.tutsplus.com/">nettuts</a>.  But at point, I broke it.  Plus, I wasn&#8217;t complete satisfied with the quality of the thumbnails.  So now I&#8217;m using the <a title="shifting pixel" href="http://shiftingpixel.com/2008/03/03/smart-image-resizer/">ridiculously awesome Smart Image Resizer by Joe Lencioni</a>.</p>
<p>That was a meaty update.  Next up, a city filter for local questions on <a title="qrisper" href="http://qrisper.com">qrisper.com</a>!</p>
<p><strong>Update:</strong> Ha, speaking of which&#8230;<a title="procrastinate yay" href="http://nymag.com/news/features/56793/?imw=Y&amp;f=most-viewed-24h5">In Defense of Distraction</a>.</p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.qrisper.com%2F2009%2F05%2Fto-procrastinate-is-to-procreate-ideas-in-your-brain%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.qrisper.com%2F2009%2F05%2Fto-procrastinate-is-to-procreate-ideas-in-your-brain%2F" height="61" width="51" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.qrisper.com/2009/05/to-procrastinate-is-to-procreate-ideas-in-your-brain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Admin page developers &#8211; the unsung heroes</title>
		<link>http://blog.qrisper.com/2009/01/admin-page-developers-the-unsung-heroes/</link>
		<comments>http://blog.qrisper.com/2009/01/admin-page-developers-the-unsung-heroes/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 05:41:04 +0000</pubDate>
		<dc:creator>Jung Lee</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[minify]]></category>

		<guid isPermaLink="false">http://blog.qrisper.com/?p=11</guid>
		<description><![CDATA[Spent a good chunk of time this week putting together the admin pages for qrisper.   There&#8217;s a lot going on back there!  I&#8217;ve gained a new appreciation for the folks that developed all of the admin pages that I&#8217;ve utilized over the years.  Actually, the one&#8217;s at JPM were crappy as hell.  Admin pages never [...]]]></description>
			<content:encoded><![CDATA[<p><a title="i have never" href="http://qrisper.com/answers/i-have-never/"><img class="size-medium wp-image-29 alignright" title="I have never..." src="http://blog.qrisper.com/wp-content/uploads/2009/01/never1-300x181.gif" alt="I have never..." width="300" height="181" /></a>Spent a good chunk of time this week putting together the admin pages for <a title="qrisper.com" href="http://qrisper.com">qrisper</a>.   There&#8217;s a lot going on back there!  I&#8217;ve gained a new appreciation for the folks that developed all of the admin pages that I&#8217;ve utilized over the years.  Actually, the one&#8217;s at JPM were crappy as hell.  Admin pages never got any love over there.</p>
<p>Working on these pages and seeing the data flowing through gave me some more ideas for user incentives.  More on that in a future posts.</p>
<p>Anyway, here are a few more enhancements:</p>
<ul>
<li>after logging in, clicking on the logo now takes you back to the splash page, without logging you out.  Once I change the question and answer interface for both sides, not sure if this will still be necessary.  But more than one person asked for it so there you go.</li>
<li>after a lot of procrastinating, finally put together a decent FAQ page.  The FAQ page got a decent amount of hits so I needed to get on that.  The remaining pages should follow shortly.</li>
<li>don&#8217;t think anyone noticed (since no one used the feedback form in qrisper.com to provide feedback) but that link was fixed.</li>
<li>also fixed a problem where clicking on the &#8220;get password&#8221; submit button wasn&#8217;t pushing out the email with the user&#8217;s id and pw.</li>
<li>been dipping my toes into modifying the .htaccess file and minifying js and css for site speed optimization.  Not sure if I&#8217;m doing something wrong or my site just isn&#8217;t big enough, but I don&#8217;t see much of a difference.</li>
</ul>
<p>Also hit a bit of a milestone this week.  I wrote my first line of original php code to solve a problem.  Woohoo!  Up until now, I&#8217;ve been recycling Amos&#8217; code.  Baby steps.</p>
<p>Ajax is staring me in the face right now.  Need to figure out a way to tackle that bastard.</p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.qrisper.com%2F2009%2F01%2Fadmin-page-developers-the-unsung-heroes%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.qrisper.com%2F2009%2F01%2Fadmin-page-developers-the-unsung-heroes%2F" height="61" width="51" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.qrisper.com/2009/01/admin-page-developers-the-unsung-heroes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.225 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2009-10-04 11:16:47 -->

