<?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"
	>

<channel>
	<title>Graceful Exits &#187; enterprise</title>
	<atom:link href="http://www.jpstacey.info/blog/category/enterprise/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jpstacey.info/blog</link>
	<description>Garbage collection, in a very real sense</description>
	<pubDate>Thu, 17 Jul 2008 19:08:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Emacs as an anagram of &#8220;ECMA-S&#8221;</title>
		<link>http://www.jpstacey.info/blog/2008/05/11/emacs-as-an-anagram-of-ecma-s/</link>
		<comments>http://www.jpstacey.info/blog/2008/05/11/emacs-as-an-anagram-of-ecma-s/#comments</comments>
		<pubDate>Sun, 11 May 2008 17:51:31 +0000</pubDate>
		<dc:creator>jps</dc:creator>
		
		<category><![CDATA[enterprise]]></category>

		<category><![CDATA[futurology]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[browser]]></category>

		<category><![CDATA[ecmascript]]></category>

		<category><![CDATA[emacs]]></category>

		<category><![CDATA[firefox]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[ide]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[rants]]></category>

		<category><![CDATA[ria]]></category>

		<category><![CDATA[steve]]></category>

		<category><![CDATA[yegge]]></category>

		<guid isPermaLink="false">http://www.jpstacey.info/blog/2008/05/11/emacs-as-an-anagram-of-ecma-s/</guid>
		<description><![CDATA[Your editor will become your browser will become your IDE. The process has already begun. Please wait.]]></description>
			<content:encoded><![CDATA[<p><a href="http://steve-yegge.blogspot.com/2008/04/xemacs-is-dead-long-live-xemacs.html">Steve Yegge on *Emacs</a>, pointing also to the possible future direction of the *browser:</p>
<blockquote><p>&#8220;IDEs are draining users away, but it&#8217;s not the classic fat-client IDEs that are ultimately going to kill Emacs. It&#8217;s the browsers. They have all the power of a fat-client platform and all the flexibility of a dynamic system. I said earlier that Firefox wants to be Emacs. It should be obvious that Emacs also wants to be Firefox&#8230;</p>
<p>&#8220;&#8230; [N]ow the browsers are starting to sprout desktop-quality apps and productivity tools. It won&#8217;t be long, I think, before the best Java development environment on the planet is written in JavaScript.&#8221;</p>
</blockquote>
<p>I&#8217;m more of a vi user these days&#8212;it behaves much more consistently over emergency ssh sessions&#8212;but as a general advocate of Emacs over IDEs I can see his point. Browsers <em>should</em> want to be like Emacs, or at any rate more like the VM of your choice.</p>
<p>Between browser-as-VM, Firefox, ECMAScript and compatibility frameworks there&#8217;s the seeds of an RIA revolution. After all, to what extent will industries gladly rest their financial weight on RIAs, so long as they&#8217;re all written in Flash-on-the-browser, and so long as browsers remain so unpredictable and Flash remains&#8230; well, Flash?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jpstacey.info/blog/2008/05/11/emacs-as-an-anagram-of-ecma-s/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Inconsistent syntax in SQL Server&#8217;s sp_rename</title>
		<link>http://www.jpstacey.info/blog/2008/04/03/inconsistent-syntax-in-sql-servers-sp_rename/</link>
		<comments>http://www.jpstacey.info/blog/2008/04/03/inconsistent-syntax-in-sql-servers-sp_rename/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 16:47:28 +0000</pubDate>
		<dc:creator>jps</dc:creator>
		
		<category><![CDATA[enterprise]]></category>

		<category><![CDATA[hacking]]></category>

		<category><![CDATA[subtleties]]></category>

		<guid isPermaLink="false">http://www.jpstacey.info/blog/2008/04/03/inconsistent-syntax-in-sql-servers-sp_rename/</guid>
		<description><![CDATA[To rename columns in a SQL Server database, you can use sp_rename. The syntax of the command, in Transact-SQL-ese, is:

sp_rename
&#160;&#160;[ @objname = ] &#8216;object_name&#8217; ,
&#160;&#160;[ @newname = ] &#8216;new_name&#8217;
&#160;&#160;[ , [ @objtype = ] &#8216;object_type&#8217; ]

So say you have a table called t_est, with a column in it called est_client. You want to rename these [...]]]></description>
			<content:encoded><![CDATA[<p>To rename columns in a SQL Server database, you can use sp_rename. The syntax of the command, in Transact-SQL-ese, is:</p>
<blockquote class="code"><p>
sp_rename<br />
&nbsp;&nbsp;[ @objname = ] &#8216;object_name&#8217; ,<br />
&nbsp;&nbsp;[ @newname = ] &#8216;new_name&#8217;<br />
&nbsp;&nbsp;[ , [ @objtype = ] &#8216;object_type&#8217; ]
</p></blockquote>
<p>So say you have a table called <code>t_est</code>, with a column in it called <code>est_client</code>. You want to rename these to <code>t_job</code> and <code>job_client</code> respectively. Firstly, with some trepidation, you rename the table:</p>
<blockquote class="code"><p>sp_rename &#8216;t_est&#8217;, &#8216;t_job&#8217;</p></blockquote>
<p>You find, miracle of miracles, that it works! SQL Server warns you about stored procedures breaking, but looking at other dependent tables you find that foreign key constraints have all been updated so you still have referential integrity.</p>
<p>At this point, you might try renaming a column called, say, <code>est_client</code> to <code>job_client</code> as follows:</p>
<blockquote class="code"><p>sp_rename &#8216;est_client&#8217;, &#8216;job_client&#8217;</p></blockquote>
<p>That&#8217;s wrong, of course, as you soon find out: the <code>object_name</code> needs to be qualified to distinguish it from . So you might try:</p>
<blockquote class="code"><p>sp_rename &#8216;t_job.est_client&#8217;, &#8216;t_job.job_client&#8217;</p></blockquote>
<p>Well, that was successful, but: oh! You now have a column called <code>t_job.job_client</code>, in the <code>t_job</code> table. It looks like <code>new_name</code> shouldn&#8217;t have been qualified after all: you should have assumed inconsistency where consistency was implied by the spec. Well, dealing with Microsoft&#8217;s tech documentation is certainly a learning experience at the best of times, so chalk this one up to experience. But if you now try to learn from your mistakes and revert the column name, you find you can&#8217;t, because:</p>
<blockquote class="code"><p>sp_rename &#8216;t_job.t_job.job_client&#8217;, &#8216;job_client&#8217;</p></blockquote>
<p>tries to rename the column <code>job_client</code>, owned by <em>user</em> <code>t_job</code>, in table <code>t_job</code>&#8230; to <code>job_client</code>. After much headscratching, you finally realise that you can employ <em>double quotes</em> to qualify the column name and make SQL Server treat the dot as a literal dot and not a separator:</p>
<blockquote class="code"><p>sp_rename &#8216;t_job.&#8221;t_job.job_client&#8221;&#8216;, &#8216;job_client&#8217;</p></blockquote>
<p>You sit back, grudgingly satisfied. More time passes. Spring arrives. The owls are not what they seem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jpstacey.info/blog/2008/04/03/inconsistent-syntax-in-sql-servers-sp_rename/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Software simple and software facile</title>
		<link>http://www.jpstacey.info/blog/2007/09/12/software-simple-and-software-facile/</link>
		<comments>http://www.jpstacey.info/blog/2007/09/12/software-simple-and-software-facile/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 09:07:45 +0000</pubDate>
		<dc:creator>jps</dc:creator>
		
		<category><![CDATA[business]]></category>

		<category><![CDATA[culture]]></category>

		<category><![CDATA[enterprise]]></category>

		<category><![CDATA[information]]></category>

		<category><![CDATA[paradigms]]></category>

		<category><![CDATA[api]]></category>

		<category><![CDATA[barcamp]]></category>

		<category><![CDATA[brighton]]></category>

		<category><![CDATA[consumer]]></category>

		<category><![CDATA[development]]></category>

		<category><![CDATA[rest]]></category>

		<category><![CDATA[soap]]></category>

		<category><![CDATA[vendor]]></category>

		<guid isPermaLink="false">http://www.jpstacey.info/blog/2007/09/12/software-simple-and-software-facile/</guid>
		<description><![CDATA[Assaf writes about, among other things, REST as a simplifier of development against an existing system:
REST plays the same role as open source and open APIs: It eliminates tooling and vendoring as artificial barriers to adoption.

Interestingly, a corollary to this was brought up at Barcamp Brighton this weekend. During Gareth Rushgrove&#8217;s talk about REST and [...]]]></description>
			<content:encoded><![CDATA[<p>Assaf writes about, among other things, <a href="http://blog.labnotes.org/2007/09/10/rounded-corners-144-slight-of-hand/">REST as a simplifier of development against an existing system</a>:</p>
<blockquote><p><i>REST plays the same role as open source and open APIs: It eliminates tooling and vendoring as artificial barriers to adoption.</i></p>
</blockquote>
<p>Interestingly, a corollary to this was brought up at Barcamp Brighton this weekend. During <a href="http://www.morethanseven.net/">Gareth Rushgrove&#8217;s</a> talk about REST and <a href="http://www.nabaztag.com/">Nabaztag</a>, a chap whose name I&#8217;ve <em>again</em> forgotten (although I&#8217;m sure someone like <a href="http://fatbusinessman.com/">Fatty</a> will <a href="/blog/2007/09/10/post-mortem-post-brighton/#comments">enlighten me</a>) pointed out that much of the push of SOAP is coming from the vendors, because the vendors make their money from selling tools, and REST development needs very few tools, most of which are free.</p>
<p>Undoubtedly there&#8217;s a set of problems that REST finds hard, but this truism is extended by SOAP vendors to the hard-to-prove (but also hard-to-contradict) claim that it&#8217;s a larger set, or a set more pertinent to enterprise solutions, than the set which SOAP finds hard. It convinces the consumers, because intelligent data mining and storage has always been a difficult problem, and a simple solution like REST feels like underkill for the job in hand. They let you confuse <i>libre</i> and <i>gratis</i>, the vendors point out (I see them sitting on the consumer&#8217;s shoulders with tridents at this point): so where&#8217;s the hidden cost of <em>this</em> free lunch?</p>
<p>(hat tip to <a href="http://simonwillison.net/2007/Sep/10/">Simon Willison</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jpstacey.info/blog/2007/09/12/software-simple-and-software-facile/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Distributed Drupal development, determined by dedicated Drupaler</title>
		<link>http://www.jpstacey.info/blog/2007/08/20/distributed-drupal-development-determined-by-dedicated-drupaler/</link>
		<comments>http://www.jpstacey.info/blog/2007/08/20/distributed-drupal-development-determined-by-dedicated-drupaler/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 09:51:56 +0000</pubDate>
		<dc:creator>jps</dc:creator>
		
		<category><![CDATA[enterprise]]></category>

		<category><![CDATA[projects]]></category>

		<category><![CDATA[quickies]]></category>

		<category><![CDATA[subtleties]]></category>

		<guid isPermaLink="false">http://www.jpstacey.info/blog/2007/08/20/distributed-drupal-development-determined-by-dedicated-drupaler/</guid>
		<description><![CDATA[A recent thread on the Drupal development list (started by me, I confess) led to Larry Garfield publishing his development environment online. It&#8217;s interesting to see what problems he&#8217;s had to solve (and what problems he hasn&#8217;t needed to solve).
Our development is explained on those list postings: I&#8217;ll put a diagram and more coherent explanation [...]]]></description>
			<content:encoded><![CDATA[<p>A <a href="http://lists.drupal.org/pipermail/development/2007-August/thread.html#25898" title="Active databases and development/test/production environment (was: ASP integration with Drupal?) " >recent thread</a> on the <a href="http://drupal.org/" >Drupal</a> development list (started by me, I confess) led to Larry Garfield <a href="http://www.garfieldtech.com/blog/drupal-dev-server" title="Drupal development server configuration" >publishing his development environment online</a>. It&#8217;s interesting to see what problems he&#8217;s had to solve (and what problems he hasn&#8217;t needed to solve).</p>
<p>Our development is explained on those list postings: I&#8217;ll put a diagram and more coherent explanation up here when I get a chance.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jpstacey.info/blog/2007/08/20/distributed-drupal-development-determined-by-dedicated-drupaler/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
