<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>giant dancing chipmunk &#187; web applications</title>
	<atom:link href="http://nessence.net/category/web-applications/feed/" rel="self" type="application/rss+xml" />
	<link>http://nessence.net</link>
	<description>Do you remember when people used browsers?</description>
	<lastBuildDate>Fri, 18 Nov 2011 21:50:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='nessence.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>giant dancing chipmunk &#187; web applications</title>
		<link>http://nessence.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://nessence.net/osd.xml" title="giant dancing chipmunk" />
	<atom:link rel='hub' href='http://nessence.net/?pushpress=hub'/>
		<item>
		<title>Real-Time is the new Web2.0: Both mean nothing.</title>
		<link>http://nessence.net/2010/03/05/real-time-web2-0-both-meaningless/</link>
		<comments>http://nessence.net/2010/03/05/real-time-web2-0-both-meaningless/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 20:44:49 +0000</pubDate>
		<dc:creator>Alex Leverington</dc:creator>
				<category><![CDATA[information technology]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[web applications]]></category>
		<category><![CDATA[web20]]></category>
		<category><![CDATA[real-time]]></category>
		<category><![CDATA[realtime]]></category>
		<category><![CDATA[RTC]]></category>

		<guid isPermaLink="false">http://nessence.net/?p=246</guid>
		<description><![CDATA[So you come across a startup that&#8217;s pitching a &#8220;Real-Time&#8221; service, what do you do? Punch them in the face &#8211; now that&#8217;s real-time! Well, maybe that&#8217;s a bad idea, but you should completely tell them they&#8217;re not getting anywhere just by calling their service &#8220;Real-Time&#8221;. Here are some examples of concepts which can&#8217;t ever [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nessence.net&amp;blog=7091&amp;post=246&amp;subd=nessence&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So you come across a startup that&#8217;s pitching a &#8220;Real-Time&#8221; service, what do you do? Punch them in the face &#8211; now that&#8217;s real-time! Well, maybe that&#8217;s a bad idea, but you should completely tell them they&#8217;re not getting anywhere just by calling their service &#8220;Real-Time&#8221;. Here are some examples of concepts which can&#8217;t ever be real-time:</p>
<p>1. The News &#8211; Maybe if people as a whole were more intelligent, but, the closest you&#8217;re going to get is Digg or Reddit and those require thousands of data points (over time) before an article bubbles to the top of the relevancy list. The exception of course is &#8220;Bad News&#8221;, that could easily be done in real-time.</p>
<p>2. Product Pricing - Retailers have a hard enough time with loss prevention and maintaining profits than to care if their published prices and inventory are accurate or not. Sure, they have real-time inventory internally, but that&#8217;s a large enough dataset that it&#8217;ll never be replicated to a service provider; the short story is that you&#8217;ll never be able to get both an instant price and instant data at the same time.</p>
<div class="wp-caption alignright" style="width: 310px"><a href="http://www.flickr.com/search/?q=architel"><img class=" " title="datacenter" src="http://farm1.static.flickr.com/41/88026264_0b6ee54336.jpg" alt="" width="300" height="199" /></a><p class="wp-caption-text">Maybe if you were Google.</p></div>
<p>3. Search (sites, news, or otherwise) &#8211; Indexing is hard and there&#8217;s only one cat in the game with the facilities to do so in real-time. The only problem is the rest of the world doesn&#8217;t have a supercomputer running their system and there will always be a delay before Google gets the memo. The exceptions here are sites that Google cares about but chances are you&#8217;re not going to be big enough for that, else, you probably wouldn&#8217;t be a startup.</p>
<p>4. Communications &#8211; There&#8217;s already an &#8220;app for that&#8221;. It&#8217;s called the phone and your voice. Pickup phone, call friend, profit. Anything else might provide real-time delivery on one end or the other, but chances are, one person in the party is playing a video game, watching youtube, or chatting on Facebook in which case their response will be in Internet time.</p>
<p>Let me just steal the definition of Real-Time from Wikipedia:</p>
<blockquote><p>In <a title="Computer science" href="http://en.wikipedia.org/wiki/Computer_science">computer science</a>, <strong>real-time computing</strong> (RTC), or &#8220;reactive computing&#8221;, is the study of <a title="Computer hardware" href="http://en.wikipedia.org/wiki/Computer_hardware">hardware</a> and <a title="Computer software" href="http://en.wikipedia.org/wiki/Computer_software">software</a> systems that are subject to a &#8220;real-time constraint&#8221;—i.e., operational deadlines from event to system response. By contrast, a <em>non-real-time system</em> is one for which there is no deadline, even if fast response or high performance is desired or preferred. The needs of real-time software are often addressed in the context of <a title="Real-time operating system" href="http://en.wikipedia.org/wiki/Real-time_operating_system">real-time operating systems</a>, and <a title="Synchronous programming language" href="http://en.wikipedia.org/wiki/Synchronous_programming_language">synchronous programming languages</a>, which provide frameworks on which to build real-time application software.</p></blockquote>
<p>If that&#8217;s not your product then please, stop calling yourself real-time and get an old comp sci book, then figure out what real-time really is.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nessence.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nessence.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nessence.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nessence.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nessence.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nessence.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nessence.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nessence.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nessence.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nessence.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nessence.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nessence.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nessence.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nessence.wordpress.com/246/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nessence.net&amp;blog=7091&amp;post=246&amp;subd=nessence&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nessence.net/2010/03/05/real-time-web2-0-both-meaningless/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a73a1ab6b15c0f17db9cb7dc7add9a2e?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">nessence</media:title>
		</media:content>

		<media:content url="http://farm1.static.flickr.com/41/88026264_0b6ee54336.jpg" medium="image">
			<media:title type="html">datacenter</media:title>
		</media:content>
	</item>
		<item>
		<title>Don&#8217;t steal your users&#8217; domains (wordpress.com)</title>
		<link>http://nessence.net/2010/03/04/dont-steal-your-users-domains/</link>
		<comments>http://nessence.net/2010/03/04/dont-steal-your-users-domains/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 01:32:03 +0000</pubDate>
		<dc:creator>Alex Leverington</dc:creator>
				<category><![CDATA[brand]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[information technology]]></category>
		<category><![CDATA[web applications]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[wordpress.com]]></category>

		<guid isPermaLink="false">http://nessence.net/?p=240</guid>
		<description><![CDATA[UPDATE: I&#8217;m very happy to update this post with a link to WordPress and their announcement of DNS editing. Kudos to WordPress for promptly providing this feature. Who knows, maybe they&#8217;ve been working on it awhile &#8212; but I was fairly convinced with my support conversation they weren&#8217;t working on the feature. Either way I&#8217;m [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nessence.net&amp;blog=7091&amp;post=240&amp;subd=nessence&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE: </strong>I&#8217;m very happy to update this post with a link to WordPress and their <a title="DNS Editing Deployed" href="http://bit.ly/wordpress-dns">announcement of DNS editing</a>. Kudos to WordPress for promptly providing this feature. Who knows, maybe they&#8217;ve been working on it awhile &#8212; but I was fairly convinced with my support conversation they weren&#8217;t working on the feature. Either way I&#8217;m happy with WordPress and the thought of never having to host my own WP blog again.</p>
<p>This is primarily with regard to WordPress.com, but, it&#8217;s an important and delicate concern for any service. Currently, if you want yourdomain.com to point to your WP blog, you have to give WP control over your domain name. WordPress has the challenging problem of providing scalable content and this is very hard to do while providing domain name support at the same time; this is why WP requires control of your domain&#8217;s DNS. WordPress has a highly redundant and robust network and part of that is having control over their user&#8217;s domains. This is limiting in that a user can&#8217;t point a subdomain like securepayments.yourdomain.com to another service.</p>
<p>While DNS natively supports this functionality, it&#8217;s not something the average blogger, hosting provider, or even application developer understands (it&#8217;s called Slaving). If/when WordPress supports this functionality, they&#8217;ll need to do so carefully to limit exposing their systems to outside risks, make it easy to use, and support the most complex users who need to run their own DNS.</p>
<p>If you provide a web service, such as a blogging platform, don&#8217;t build &#8220;domain name support&#8221; by forcing your users to give you full control over their domain name. In short, I don&#8217;t blame WP for their current implementation (it&#8217;s probably a lower priority for them), but here&#8217;s a few tips on what you should do if you want to make YOUR app/service support user-supplied domain names:</p>
<ol>
<li>Don&#8217;t give the feature away for free. Your support costs will be higher for this feature than most.</li>
<li>Don&#8217;t give the feature away for free. DNS plays a big role in spam and you don&#8217;t want to associate your systems with a spammer&#8217;s domain name.</li>
<li>Think very hard if you want to point a user&#8217;s app to the root of their domain. Doing so opens you up to the concerns above.</li>
<li>If your service involves high-traffic content such that load balancers are involved, consult someone who&#8217;s figured this problem out before. (my advice is <em>typically</em> free)</li>
<li>Whenever you&#8217;re building and scaling your services, keep all the above in mind. As the Internet becomes connected at the application layer, via things like federations and digital certificates, domain names will become more and more important as a component of security and authority.</li>
<li>Let users host their own DNS and point it at you instead of the other way around. Administering DNS servers isn&#8217;t very cost effective and you&#8217;ll save money leaving it up to the users. The downside is you&#8217;ll need to be very good at providing your users with instructions and you&#8217;ll need to notify them when changes are necessary; again, Don&#8217;t give the feature away for free.</li>
<li>Let users host their own DNS. You don&#8217;t want to host DNS for your users &#8212; doing so is a long-term cost commitment and something you can&#8217;t &#8220;undo&#8221;.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nessence.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nessence.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nessence.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nessence.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nessence.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nessence.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nessence.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nessence.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nessence.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nessence.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nessence.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nessence.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nessence.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nessence.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nessence.net&amp;blog=7091&amp;post=240&amp;subd=nessence&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nessence.net/2010/03/04/dont-steal-your-users-domains/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a73a1ab6b15c0f17db9cb7dc7add9a2e?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">nessence</media:title>
		</media:content>
	</item>
		<item>
		<title>Amazon RDS: Poison or Pill</title>
		<link>http://nessence.net/2009/10/29/amazon-rds-poison-or-pill/</link>
		<comments>http://nessence.net/2009/10/29/amazon-rds-poison-or-pill/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 11:40:32 +0000</pubDate>
		<dc:creator>Alex Leverington</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[information technology]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[web applications]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[amazon rds]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[rdbms]]></category>

		<guid isPermaLink="false">http://nessence.net/?p=227</guid>
		<description><![CDATA[As soon as read the AWS newsletter about Amazon RDS, I started looking for a Megaphone to start shouting at folks &#8211; keep away! Amazon RDS or Relational Database Service places Amazon into the mire of shared hosting and AW users into a position of false confidence. Harsh words considering, overall, I feel Amazon&#8217;s service [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nessence.net&amp;blog=7091&amp;post=227&amp;subd=nessence&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As soon as read the AWS newsletter about Amazon RDS, I started looking for a Megaphone to start shouting at folks &#8211; keep away! Amazon RDS or Relational Database Service places Amazon into the mire of shared hosting and AW users into a position of false confidence. Harsh words considering, overall, I feel Amazon&#8217;s service offerings are best-in-class. AWS offerings have historically pushed the envelope with regard to practical usage-based computing, something which ancient providers such as Sun and IBM have attempted to accomplish for decades; in this case I define practical as both usable and cost effective for small and large tasks. Up until now such systems weren&#8217;t trivialized to x86 hardware and required special programming considerations, access to academic institutions and/or a large budget. By combining SLA-supported x86 virtualization alongside application services such as S3, SQS, and SimpleDB, AWS has provided a usage-based on-demand computing solution which is simpler than task-based computing and as secure and reliable as virtualized or shared hosting. With it&#8217;s on-demand nature AWS is a cost effective for everything from small tasks to those requiring a datacenter of processors.</p>
<p>So why is Amazon RDS so bad, so much that you shouldn&#8217;t use it?</p>
<p>Well, there&#8217;s not an easy answer, the better question is to ask yourself: Why do you think AWS will be better than your own MySQL deployment? There is no right answer because almost any answer will probably, one day, bite you in the ass. Hard. I mean data loss, and it won&#8217;t be Amazon&#8217;s fault.</p>
<p>RDBMS systems and applications which depend on them are built from the ground up to rely on persistence, integrity, and static data models (schema). In contrast AWS has been built for distribution, decentralization, and the &#8220;cloud&#8221;. For Amazon, this service is somewhat of a U-turn from their original direction and has also placed a stamp on their forehead which says &#8220;That MySQL Guy&#8221; which is not good &#8212; I have nothing against mysql, however, as a de facto entry-level (free open source) software, it has accrued a strong following of immature software. Such software has nothing to do with the basic purposes of AWS or MySQL but has everything to do with how Amazon&#8217;s support and engineering staff will be spending their time which is supporting users and software which aren&#8217;t built for the cloud.</p>
<p>I hope that RDS won&#8217;t be a situation of butterflies &amp; hurricanes but here&#8217;s a quick list of why the relative cost of RDS is high both for Amazon (the company) and all of it&#8217;s AWS users:</p>
<ul>
<li>Cost for Amazon (operations, engineers, and products)
<ul>
<li>MySQL, like most open source systems, has been historically buggy software with a trailing release+testing+production schedule which requires continuous testing between production releases for large deployments (such as RDS).</li>
<li>MySQL has a large set of features which vary across releases and which share equal presence in production; in other words, Amazon will need to cater to providing production support for multiple versions, not just the latest stable version.</li>
<li>Amazon has no control over features and capabilities of MySQL and is thus limited to what MySQL provides; while MySQL provides many &#8220;good things&#8221;, Amazon will still be obligated to maintain through the bad. This is a shared disadvantage of AWS Map Reduce via Hadoop however, those are mostly mitigated because Map Reduce is such a low-level distributed system.</li>
<li>MySQL is very flexible and itself scales very well however it doesn&#8217;t do so by itself and requires a significant effort to be properly configured for the data being managed. All the folks who don&#8217;t know this will default into thinking Amazon will do this for them and will be disappointed when it doesn&#8217;t &#8220;just work&#8221;. Whether they ditch RDS or bug Amazon&#8217;s support, either way, it&#8217;s not a positive situation.</li>
</ul>
</li>
</ul>
<ul>
<li>Cost for AWS (primarily EC2) users
<ul>
<li>Potential degradation of service and support for EC2 instances
<ul>
<li>With RDS available Amazon can defer issues with regard to running MySQL on EC2 instances to a recommendation for RDS &#8212; this will be a terrible waste of time for both parties.</li>
<li>MySQL is a very centralized system and by transitioning the decision of where MySQL resides in the AWS cloud from the user to Amazon, Amazon will be further centralizing the impact of MySQL on the cloud. Whereas users will randomly have MySQL deployed across any EC2 instance, Amazon will be appointing MySQL to specific hardware; this is based on the assumption that Amazon is clustering RDS deployments onto local hardware and not randomly deploying instances in the cloud. This is somewhat of a compromise for security and adds significant SLA risks (read: cost) to Amazon. In short, when a MySQL cluster dies &#8211; a LOT of folks are going to be VERY unhappy &#8211; their support tickets will be a burden to staff and their requests for credits will be a financial cost. Moreover, support staff will be yielding priority to these customers over other services because of the implicit severity.</li>
</ul>
</li>
<li>Increased cost
<ul>
<li>RDS instances cost &gt;10% more than regular instances and only come with the added benefit of backups &#8212; something which every system should already have in place. If you do choose to delegate the task of backups to RDS, you&#8217;re paying extra for a task you&#8217;ve already thought about doing yourself.</li>
<li>Cost of keeping your database, it&#8217;s backups, and it&#8217;s history all within AWS is multiplicative and if you grow to the point where you&#8217;re ready to move off you&#8217;ll be charged to transfer all the data to an external system. While this is a subjective cost it&#8217;s still worth pointing out; if folks aren&#8217;t already doing backups right, they&#8217;ll likely not know that cost effective database backups make use of binary logging facilities, not filesystem snapshots, and use significantly less disk space (and thus I/O).</li>
</ul>
</li>
<li>False confidence
<ul>
<li><a title="magnolia dead" href="http://nessence.net/2009/02/18/magnolia-ded/">As I&#8217;ve mentioned before, letting other folks control your backups for you is a mistake</a>. Failure is a matter of when, not if, and you&#8217;ll be in better control of responding if you understand what you&#8217;re dealing with. Just because RDS is doing you&#8217;re backups doesn&#8217;t mean you&#8217;re safe.</li>
<li>RDS users will expect MySQL to scale on-demand as everything else works that way with AWS and it&#8217;s just not that simple. Scaling a database requires analysis and a balanced combination of server settings, data normalization, and indexes; all of these things will still be the user&#8217;s responsibility and Amazon&#8217;s solution of &#8220;throw hardware at it&#8221; is a haunted path to send it&#8217;s users down.</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>Overall, I feel that Amazon could quickly cannibalize the value and quality of AWS if they (continue to) introduce trivial services. Supporting open source software they have no control over is a significant increase in relative support and operations cost. Amazon seems to be approaching this by making the cost of RDS instances more than EC2 which is a mistake because the real cost is the lost opportunity of engineers spending their time on systems which are more efficient for cloud computing &#8211; Amazon could charge 3 times an EC2 instance and their engineers would still be better off building technologies for cloud-based systems and not centralized RDBMS-dependent web applications.</p>
<p>Where I feel Amazon has fallen short the most, is that RDS only provides single-instance MySQL support and nothing more. No load balancing, replication, Hadoop integration, or any other form of data abstraction which could make it functional in a cloud computing context. Not implementing these features is a very clear indicator that AWS is focused more on short term revenue generating feature rather than cost effective cloud computing systems or improving the shortfalls of legacy centralized system.</p>
<p>With all this said, I have to consider the possibility of this being a good move for Amazon. I present the potential issues with RDS simply to warn folks from relying on it as a crutch, and, to point out the new direction AWS has veered is into choppy waters. There are several aspects of RDS which will give Amazon insight into correlations among and between the varying systems of data storage and processing &#8211; comparing SimpleDB, MapReduce, MySQL, and general resource consumption could shed light onto how their cloud is being used at a higher level than processors and bandwidth. Last, Amazon might be aware that MySQL is a crutch and is putting the service out there as a way to wean folks off of centralized systems.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nessence.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nessence.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nessence.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nessence.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nessence.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nessence.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nessence.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nessence.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nessence.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nessence.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nessence.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nessence.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nessence.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nessence.wordpress.com/227/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nessence.net&amp;blog=7091&amp;post=227&amp;subd=nessence&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nessence.net/2009/10/29/amazon-rds-poison-or-pill/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a73a1ab6b15c0f17db9cb7dc7add9a2e?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">nessence</media:title>
		</media:content>
	</item>
		<item>
		<title>restful-authentication + subdomain-fu = needing cookie adjustments</title>
		<link>http://nessence.net/2009/10/26/restful-authentication-subdomain-fu-needing-cookie-adjustments/</link>
		<comments>http://nessence.net/2009/10/26/restful-authentication-subdomain-fu-needing-cookie-adjustments/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 09:45:49 +0000</pubDate>
		<dc:creator>Alex Leverington</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[web applications]]></category>
		<category><![CDATA[CGI]]></category>
		<category><![CDATA[cookie]]></category>
		<category><![CDATA[rack]]></category>
		<category><![CDATA[rails 2.3]]></category>
		<category><![CDATA[rails sub-domain subdomain restful-authentication subdomain-fu]]></category>

		<guid isPermaLink="false">http://nessence.net/?p=224</guid>
		<description><![CDATA[I&#8217;ve perused several posts about handling cookies when multiple subdomains are involved however, the solutions were either for older versions of rails or didn&#8217;t resolve my situation; we wanted to have a cookie which could be used among all subdomains. This might also give you some insight as to why restful-authentication doesn&#8217;t have a feature [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nessence.net&amp;blog=7091&amp;post=224&amp;subd=nessence&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve perused several posts about handling cookies when multiple subdomains are involved however, the solutions were either for older versions of rails or didn&#8217;t resolve my situation; we wanted to have a cookie which could be used among all subdomains. This might also give you some insight as to why restful-authentication doesn&#8217;t have a feature to do all this for you &#8212; it keeps changing and by-hand is best for now. If you&#8217;re employing this, do be diligent with security; sharing credentials across domains can be risky business if your security varies across domains.</p>
<p>To do this, first edit config/initializers/session_store.rb where you&#8217;ll want to add the key:</p>
<p>:domain =&gt; &#8216;.example.com&#8217;</p>
<p>The format here is important &#8211; if you don&#8217;t prefix the domain with a period the cookie (and session) will not apply for requests to subdomains. This covers the rails session &#8212; however we also need to cover the cookie set by restful-authentication which you&#8217;ll find in lib/authenticated_system.rb. In the kill_remember_cookie! and send_remember_cookie! methods insert same key as above or a reference to the session_options key. It&#8217;ll look like this:</p>
<pre>def kill_remember_cookie!
  cookies.delete :auth_token, :domain =&gt; ActionController::Base.session_options[:domain]
end</pre>
<pre>def send_remember_cookie!
  cookies[:auth_token] = {
    :value   =&gt; @current_user.remember_token,
    :expires =&gt; @current_user.remember_token_expires_at,
    :domain =&gt; ActionController::Base.session_options[:domain] }
end</pre>
<p>During development you should be aware this might not work using &#8216;localhost&#8217;, depending on your OS. The best thing to do is to edit your hosts file to have &#8220;example.local&#8221; point to your machine and use those domains for testing instead.</p>
<p>If you&#8217;re doing anything more complicated, you&#8217;ve got your work cut out for you as you may need to write custom rack middleware (see: Google) and/or use a Proc. In the latest Rails, cookies are being handled by Rack (instead of CGI); in any version, setting Cookies via cookies[:key]= is performed independent of the session options which is why you must specify the domain separately. There are some folks who describe monkey patching Rails to set the domain automatically but this is unreliable as I believe it&#8217;s changed every release. If you don&#8217;t want to have to change it, just create a wrapper method for setting your cookies, or, set the domain wherever you set or delete a cookie. We only set one cookie via restful-authentication so 2 lines is a fairly simple fix.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nessence.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nessence.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nessence.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nessence.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nessence.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nessence.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nessence.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nessence.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nessence.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nessence.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nessence.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nessence.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nessence.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nessence.wordpress.com/224/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nessence.net&amp;blog=7091&amp;post=224&amp;subd=nessence&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nessence.net/2009/10/26/restful-authentication-subdomain-fu-needing-cookie-adjustments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a73a1ab6b15c0f17db9cb7dc7add9a2e?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">nessence</media:title>
		</media:content>
	</item>
		<item>
		<title>Surveys, DNS, and Your Brand</title>
		<link>http://nessence.net/2008/09/29/surveys-dns-your-brand/</link>
		<comments>http://nessence.net/2008/09/29/surveys-dns-your-brand/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 10:34:39 +0000</pubDate>
		<dc:creator>Alex Leverington</dc:creator>
				<category><![CDATA[brand]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[entrepreneur]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[web applications]]></category>

		<guid isPermaLink="false">http://nessence.wordpress.com/?p=36</guid>
		<description><![CDATA[In the last 6 months I have received and/or completed surveys for the following: Purchasing a new car (2 total; Dealer &#8211; Auto Nation and BMW Assist) Sun Microsystems CommunityOne event Nine Inch Nails (yes, the band &#8212; I purchased the new album by naming my price) PayPal &#8216;Phone Handling Opinion&#8217; Microsoft Feedback Program The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nessence.net&amp;blog=7091&amp;post=36&amp;subd=nessence&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the last 6 months I have received and/or completed surveys for the following:</p>
<ul>
<li>Purchasing a new car (2 total; Dealer &#8211; Auto Nation and BMW Assist)</li>
<li>Sun Microsystems CommunityOne event</li>
<li>Nine Inch Nails (yes, the band &#8212; I purchased the new album by naming my price)</li>
<li>PayPal &#8216;Phone Handling Opinion&#8217;</li>
<li>Microsoft Feedback Program</li>
</ul>
<div>The surveys came as links in emails and were provided by 3rd party companies such as Auto USA (not a dealer), comScore, Customer Sat, Benchmark Portal, Zoomerang, and Question Pro.</div>
<div>This reflects poorly on these brands and immediately causes me to associate them with &#8216;spam&#8217;. Fortunately I know better &#8211; dynamic DNS isn&#8217;t easy, outsourcing surveys to another company is cheap, and I was cognizant of events which triggered a survey. Only when buying a car and participating in Microsoft&#8217;s feedback program did I &#8220;opt in&#8221; to receiving these surveys. Microsoft and the car dealership (<a title="BMW of Dallas" href="http://www.bmwofdallas.com/" target="_blank">BMW of Dallas</a>) both notified me of the surveys before I received them.</div>
<div>None of the surveys were sent from an email address I recognized and none of the email messages had links to a domain I recognized. Sure, the emails had links to the respective company, however, any teenager with a godaddy account could produce the same result.</div>
<div>All of the surveys were ugly or lacked respective branding. How am I suppose to know any of these surveys are genuine?</div>
<div>The irony here is that companies spend a significant portion of their revenue on their brand and customer service only to outsource their only feedback request to survey systems which are ugly and don&#8217;t appear genuine. This easily lays to waste all of the value created by building the brand in the first place.</div>
<div>To me, a brand exists for two kinds of persons &#8211; your customers and everyone else. Which one is most important? If you only care about revolving business and not keeping recurring revenue from long-term customers then it is obvious you don&#8217;t need to care about your customers and can focus only on everyone else. This can work great for three years but sooner or later people are going to figure out you suck &#8212; and say so on the Internet for millions to read. If you&#8217;re looking for long-term recurring revenue from customers who come back on a consistent basis then you will be more interested in their feedback so you can improve you products, business model, and continue satisfying your customer.</div>
<div>Surveys seem now, to be one of the first chances a customer gets to give feedback. Shouldn&#8217;t you make the customer feel safe, secure, empowered, proud, and vocal to be submitting feedback about your brand, company, and products?</div>
<div>The answer is obvious, yet, none of the surveys I mentioned so far gave me such an impression. One company has this year, and I was surprised. The company was Blizzard for their game, World of Warcraft. There was a discrepancy in the game and I opened a &#8216;ticket&#8217; which was resolved and I was informed I would receive a feedback request. Blizzard did everything I would expect:</div>
<div>
<ul>
<li>Notified me ahead of time I would receive an opportunity to give feedback</li>
<li>Sent notification from an email address with a domain I recognized</li>
<li>Feedback questionnaire resided at a domain I recognized</li>
<li>Questionnaire site promoted company&#8217;s brand and assured me I was at the right place</li>
<li>Questionnaire gave me the opportunity to leave free-form comments</li>
</ul>
<div>After looking around I found a few survey sites who easily enable you to integrate your site with their survey system &#8212; all you have to do is point DNS at their service. Of course it&#8217;s not free, but if you really care about what your customer thinks then it&#8217;s worth the price. <a title="surveygizmo" href="http://www.surveygizmo.com/" target="_blank">Surveygizmo</a> seems to offer the service for $159/mo &#8212; I can&#8217;t vouch for them, but it&#8217;s the first one I found who listed DNS as a feature. Coupled with some CSS and any standards-supporting web designer it&#8217;s not difficult to help your customer feel comfortable about answering your questions.</div>
</div>
<div>With all of that said, my best experience giving feedback as a new customer is when I opt-in and receive a courteous phone call where I&#8217;m also able to give commentary. Talking to a human being gives me more confidence and being able to tell them how I really feel gives me the impression somebody is listening.</div>
<div>If you&#8217;re genuinely interested in what your customers have to say then be sure and make it appear that way. When it comes down to email-initiated surveys, the delete key is all it takes for anyone to forget you care.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nessence.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nessence.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nessence.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nessence.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nessence.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nessence.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nessence.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nessence.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nessence.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nessence.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nessence.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nessence.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nessence.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nessence.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nessence.net&amp;blog=7091&amp;post=36&amp;subd=nessence&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nessence.net/2008/09/29/surveys-dns-your-brand/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a73a1ab6b15c0f17db9cb7dc7add9a2e?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">nessence</media:title>
		</media:content>
	</item>
		<item>
		<title>Coding like it&#8217;s 1999</title>
		<link>http://nessence.net/2008/04/25/coding-like-its-1999/</link>
		<comments>http://nessence.net/2008/04/25/coding-like-its-1999/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 04:25:18 +0000</pubDate>
		<dc:creator>Alex Leverington</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web applications]]></category>
		<category><![CDATA[!microsoft]]></category>
		<category><![CDATA[bitter soap]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[lisp]]></category>
		<category><![CDATA[perl died]]></category>
		<category><![CDATA[SOAP]]></category>
		<category><![CDATA[top ten]]></category>

		<guid isPermaLink="false">http://nessence.wordpress.com/?p=17</guid>
		<description><![CDATA[Here is my top ten list of &#8220;How to code like it&#8217;s 1999&#8243;: 1. using PHP &#60; 5.3 (4 was beta in 1999) 2. making use of perl for *anything* (see #4) 3. template engines (scope and variable interpolation exist for a reason) 4. Perl6 (active 1999 mailing list) 5. Java Web Applets 6. SELECT [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nessence.net&amp;blog=7091&amp;post=17&amp;subd=nessence&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is my top ten list of &#8220;How to code like it&#8217;s 1999&#8243;:</p>
<p>1. using PHP &lt; 5.3 (4 was beta in 1999)<br />
2. making use of perl for *anything* (see #4)<br />
3. template engines (scope and variable interpolation exist for a reason)<br />
4. Perl6 (active 1999 mailing list)<br />
5. Java Web Applets<br />
6. SELECT * FROM (seriously, get ORM, select only what you need, or quit your day job.)<br />
7. lisp (like a hero from a classic book, tragic)<br />
8. non-functional redirect pages (hello js or location header; good-bye bad knocking off a lame phpbb feature)<br />
9. ActiveX plug-ins (who developers sites with IE, anyways?)<br />
10. SOAP (all your interoperability are belong to SOAP)</p>
<p>In short, if your core application for which your business and revenue suffers any of the above atrocities, step back for a minute and ask yourself if you <strong>really</strong> know any better? If you don&#8217;t, hire someone who does &#8211; FAST!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nessence.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nessence.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nessence.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nessence.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nessence.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nessence.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nessence.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nessence.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nessence.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nessence.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nessence.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nessence.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nessence.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nessence.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nessence.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nessence.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nessence.net&amp;blog=7091&amp;post=17&amp;subd=nessence&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nessence.net/2008/04/25/coding-like-its-1999/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a73a1ab6b15c0f17db9cb7dc7add9a2e?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=X" medium="image">
			<media:title type="html">nessence</media:title>
		</media:content>
	</item>
	</channel>
</rss>
