<?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>The Angry Geek</title>
	<atom:link href="http://www.angry-geek.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.angry-geek.org</link>
	<description>I am geek - hear me roar!</description>
	<lastBuildDate>Mon, 12 Apr 2010 16:27:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Developing for the Windows 7 Taskbar</title>
		<link>http://www.angry-geek.org/2010/04/developing-for-the-windows-7-taskbar/</link>
		<comments>http://www.angry-geek.org/2010/04/developing-for-the-windows-7-taskbar/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 16:27:26 +0000</pubDate>
		<dc:creator>Rocketeer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.angry-geek.org/?p=182</guid>
		<description><![CDATA[Using PuTTY on Windows 7 is a slightly disappointing experience&#8230;  I&#8217;m starting to really like the &#8220;Jump List&#8221; feature &#8211; more on the Start Button than anywhere else&#8230; It&#8217;s great to have all my Remote Desktop Connections at my fingertips (so to speak), and even better to be able to &#8220;pin&#8221; the ones I [...]]]></description>
			<content:encoded><![CDATA[<p>Using PuTTY on Windows 7 is a slightly disappointing experience&#8230;  I&#8217;m starting to really like the &#8220;Jump List&#8221; feature &#8211; more on the Start Button than anywhere else&#8230; It&#8217;s great to have all my Remote Desktop Connections at my fingertips (so to speak), and even better to be able to &#8220;pin&#8221; the ones I really want to keep &#8211; but having all this is making PuTTY&#8217;s site selection seem really clunky&#8230;</p>
<p>I&#8217;ve found a tutorial over on the Microsoft Blog for adding items to the Destinations popup for programs in the taskbar&#8230; I only wish I knew how the new Remote Desktop software does it, since it seems to manage it without files&#8230;</p>
<p><a href="http://windowsteamblog.com/blogs/developers/archive/2009/06/22/developing-for-the-windows-7-taskbar-jump-into-jump-lists-part-1.aspx">Jump Into Jump Lists &#8211; Part 1</a><br />
<a href="http://windowsteamblog.com/blogs/developers/archive/2009/06/25/developing-for-the-windows-7-taskbar-jump-into-jump-lists-part-2.aspx"> Jump Into Jump Lists &#8211; Part 2</a><br />
<a href="http://windowsteamblog.com/blogs/developers/archive/2009/07/02/developing-for-the-windows-7-taskbar-jump-into-jump-lists-part-3.aspx">Jump Into Jump Lists &#8211; Part 3</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.angry-geek.org/2010/04/developing-for-the-windows-7-taskbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problem Solving Skills</title>
		<link>http://www.angry-geek.org/2009/11/problem-solving-skills/</link>
		<comments>http://www.angry-geek.org/2009/11/problem-solving-skills/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 16:48:14 +0000</pubDate>
		<dc:creator>Rocketeer</dc:creator>
				<category><![CDATA[Rant & Rage]]></category>
		<category><![CDATA[Interviews]]></category>
		<category><![CDATA[Problem Solving]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.angry-geek.org/?p=180</guid>
		<description><![CDATA[I think a dodgy kettle can make an excellent practical test in an interview...]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve recently acquired a rather useless kettle in our office; it replaced the differently useless one that took around 15 minutes to heat enough water for one cup of tea&#8230;</p>
<p>The new kettle is a much faster boiler (I no longer have time for a loo break while waiting for my tea), but suffers from a strange design failure.  For some reason, as the kettle gets hotter, it shifts slightly on the cordless base, losing the power connection long before the water is fully boiled.  It&#8217;s easy to get round this though &#8211; you just hold the back of the kettle in place for a few seconds until the thermal cut-out kicks in as the water finally boils.</p>
<p>However, I think this kettle would be an ideal interview tool for new developers.  Here&#8217;s how it would work: halfway through the interview, you ask the interviewee if he (or she) would mind making a couple of cups of tea while you just answer a call&#8230;  Points are then allocated based on how they handle the kettle:</p>
<p>0 points &#8211; if he doesn&#8217;t even notice that it disconnected rather than cutting out properly.</p>
<p>1 point &#8211; for noticing it failed to boil, but just giving up</p>
<p>2 points &#8211; if he holds down the &#8220;on&#8221; switch to get it to boil</p>
<p>3 points &#8211; for realising that it&#8217;s nothing to do with the switch, and just holds the handle in place (allowing the thermal cut-out to work)</p>
<p>4 points &#8211; for figuring out that you can just put a paper towel under the front of the kettle, and then you don&#8217;t even need to hold it</p>
<p>5 points &#8211; for spotting the paper towel that was already there in place, and realising it has a purpose, <em>so not moving it to start with</em>!</p>
<p>My bet is that most of the people currently in my office would get 3 points at best.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.angry-geek.org/2009/11/problem-solving-skills/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Insensitive!</title>
		<link>http://www.angry-geek.org/2009/02/how-insensitive/</link>
		<comments>http://www.angry-geek.org/2009/02/how-insensitive/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 12:22:32 +0000</pubDate>
		<dc:creator>Rocketeer</dc:creator>
				<category><![CDATA[Rant & Rage]]></category>
		<category><![CDATA[Advertising]]></category>
		<category><![CDATA[Alcohol]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.angry-geek.org/?p=176</guid>
		<description><![CDATA[There&#8217;s a sign just gone up in my office building advertising a chocolate sale.  It looks like this:
CHOCOHOLICS
Come and try free samples and buy gifts for friends and family, 12pm-2pm today.
Now&#8230; imagine the outrage if that had read &#8220;Alcoholics&#8221; instead&#8230; Why are chocolate addicts treated so badly that we don&#8217;t care about this kind [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">There&#8217;s a sign just gone up in my office building advertising a chocolate sale.  It looks like this:</p>
<h2 style="text-align: center;"><strong><span style="color: #ff0000;">CHOCOHOLICS</span></strong></h2>
<p style="text-align: center;">Come and try free samples and buy gifts for friends and family, 12pm-2pm today.</p>
<p>Now&#8230; imagine the outrage if that had read &#8220;Alcoholics&#8221; instead&#8230; Why are chocolate addicts treated so badly that we don&#8217;t care about this kind of insensitive taking of advantage?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.angry-geek.org/2009/02/how-insensitive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Step by Step Instructions</title>
		<link>http://www.angry-geek.org/2009/02/step-by-step-instructions/</link>
		<comments>http://www.angry-geek.org/2009/02/step-by-step-instructions/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 14:22:15 +0000</pubDate>
		<dc:creator>Rocketeer</dc:creator>
				<category><![CDATA[Rant & Rage]]></category>
		<category><![CDATA[Culture]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.angry-geek.org/?p=174</guid>
		<description><![CDATA[Programmers are good at writing step by step instructions.  After all, that&#8217;s all a computer program ever is &#8211; a set of very simple step by step instructions.  Of course, modern programming languages try and make it more complicated, by adding objects and events, but in the end, everything comes down to a [...]]]></description>
			<content:encoded><![CDATA[<p>Programmers are good at writing step by step instructions.  After all, that&#8217;s all a computer program ever is &#8211; a set of very simple step by step instructions.  Of course, modern programming languages try and make it more complicated, by adding objects and events, but in the end, everything comes down to a set of instructions.<br />
<span id="more-174"></span><br />
That said &#8211; you should never ask a programmer to give you a step by step guide.  He&#8217;s used to dealing with very literal devices, so the odds are that a step by step guide to making a cup of tea would take a week to complete, and fill 3 narrow spaced pages of A4.  Of course, that&#8217;s a stereotype &#8211; a bad programmer would get it short and wrong (take cup, add tea), and a really good programmer would recognise the actual needs of the situation, and get it right.</p>
<p>Still, in general, we&#8217;re good at the step by step instructions thing.  We&#8217;re also good at following said instructions; okay, sometimes we&#8217;re arrogant and think we know better, and can skip a step, but generally, put a programmer in front of a set of instructions, and we&#8217;ll follow it accurately and to the letter.</p>
<p>The trouble is, that&#8217;s what we assume everyone else will do too, so that&#8217;s how we write our instructions.  Real people have a strange (to programmers) tendency to wander off from the written guide, and try to do their own thing.<br />
Programmers don&#8217;t expect this, so we don&#8217;t guard against it.  For example, I had this conversation at work today:<br />
<strong>Me:</strong> So what did you do next?<br />
<strong>User:</strong> I closed the window.<br />
<strong>Me (thinking something is up):</strong> How did you do that?<br />
<strong>User:</strong> I clicked the X in the corner<br />
<strong>Me:</strong> Why did you do that? The instructions say &#8220;Click Accept&#8221;<br />
<strong>User:</strong> Oh, but clicking the X is faster&#8230; it takes a couple of seconds when you click &#8220;Accept&#8221;<br />
<strong>Me:</strong> Sigh&#8230; yes&#8230; that&#8217;s the program running to do the work you asked for&#8230;  Clicking &#8220;X&#8221; cancels it.<br />
<strong>User:</strong> Oh, well why didn&#8217;t the instructions say that?</p>
<p>In the end I changed the program, so clicking the &#8220;X&#8221; did the same thing as clicking &#8220;Accept&#8221;&#8230;  and no amount of arguing will convince either the user that the instructions were right, or me that they were wrong.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.angry-geek.org/2009/02/step-by-step-instructions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Hard Day of Hard Resets</title>
		<link>http://www.angry-geek.org/2009/01/a-hard-day-of-hard-resets/</link>
		<comments>http://www.angry-geek.org/2009/01/a-hard-day-of-hard-resets/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 22:09:36 +0000</pubDate>
		<dc:creator>Rocketeer</dc:creator>
				<category><![CDATA[Rant & Rage]]></category>
		<category><![CDATA[Phone]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Windows Mobile 6]]></category>
		<category><![CDATA[WM6]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.angry-geek.org/?p=164</guid>
		<description><![CDATA[I have a very nice Vodafone v1615 mobile which runs the Windows Mobile 6 (WM6) operating system.  On Saturday, I lent it to my wonderful Fiancée while she was in the shops and I had to run back to the flat to solve a crisis at work.  I&#8217;d like to say that ever [...]]]></description>
			<content:encoded><![CDATA[<p>I have a very nice <a href="http://members.dooyoo.co.uk/handheld-pda/htc-tytn-ii/1145039/">Vodafone v1615</a> mobile which runs the Windows Mobile 6 (WM6) operating system.  On Saturday, I lent it to my wonderful Fiancée while she was in the shops and I had to run back to the flat to solve a crisis at work.  I&#8217;d like to say that ever since then it&#8217;s been running slowly; but the truth is it was giving me grief even before that&#8230; I just noticed it more after using her sleek, shiny (but tragically pink) <a href="http://blog.omio.com/handset-news/samsung-f480-tocco-pink-review/">Samsung Tocco</a>.</p>
<p><span id="more-164"></span>At any rate, Monday, my <a href="http://beta.spbsoftwarehouse.com/products/time/">alarm clock</a> signalled that the problems were coming to a head &#8211; but that was all it signalled, since it decided that playing music was beyond it.  Oddly, I actually woke up just after 6:30 anyway, and was earlier to work than I&#8217;ve been in a while.  During the day, the phone played up a bit, so I took another backup, and decided to see how it behaved.</p>
<p>Tuesday&#8230; the same problem.  Despite co-operating all Monday evening, my phone was definitely not happy.  It seems most unhappy when it was woken up after being in stand-by for more than a few minutes &#8211; particularly overnight, but it also threw a fit when coerced into receiving calls after being neglected for more than a few minutes.  I decided that enough was enough, and a reset would be required.<br />
However, just after I reached that decision, I discovered that my <a href="http://social.msdn.microsoft.com/Forums/en-US/windowssideshow/thread/1cf25b29-bbc7-4633-9fc9-8166c3a9f615">Window Sideshow Preview</a> (there&#8217;s a new version released now) had just expired, and perhaps that was the cause.  One un-install later, and my phone has the benefit of the doubt for a while&#8230;</p>
<p>On Wednesday &#8211; as if knowing that it was walking on very thin ice &#8211; my phone managed to play my 6:30 alarm by 6:35&#8230; sadly though, only the first chord of my 7am alarm was forthcoming.  By 9am, I had decided enough was enough, and a <a href="http://wiki.xda-developers.com/index.php?pagename=Kaiser_Resets">Hard Reset</a> would be required.  I had a recent back-up, so hopefully I&#8217;d only be out for an hour or so&#8230;</p>
<p>Or not&#8230;</p>
<p>Typically, I&#8217;d misjudged.  Instead of clearing all the data and rebooting with a clean install, my phone (by now generally referred to as &#8220;You useless piece of shit&#8221;) decided to sit at the WM6.1 boot screen with the message &#8220;The device is clearing the storage. Please wait&#8221; for a very long time.  In fact, it hung there all day; several soft resets, hard resets, powered, un-powered&#8230; whatever I did, nothing worked.</p>
<p>On the plus side, less calls to answer all day.</p>
<p>I&#8217;d actually known this might happen.  It happened last time I did a hard reset, and came back just as I was packing it up to send back to Vodafone (at about 1am).  I naively assumed it had got this little tantrum out of its system by now&#8230;</p>
<p>Eventually, after much searching, I found <a href="http://forum.xda-developers.com/showthread.php?t=457822">someone else who&#8217;d had the same problem</a>.  He eventually solved it by re-flashing the original WM6.1 ROM from Vodafone.  Sadly though, I&#8217;m running Vista x64, so I had no expectations of this working at all&#8230;  Still, I downloaded the file from Vodafone, on the off chance it might work&#8230;</p>
<p>While I waited for the file to download, I searched a bit on performing ROM upgrades on Vista.  It looked like my best bet was going to be to use a <a href="http://www.virtualbox.org/">Virtual Machine</a> running Windows XP, connect the device to that, and flash from there.  I had all that ready&#8230; but decided, on the off chance, to give it a go from Vista.  From what I&#8217;d read, the worst that could happen was that the device would not be detected.</p>
<p>It worked.</p>
<p>Not only that, it fixed my original problem.  The phone rebooted, and worked normally.  Sadly, I left my backups in work, so I&#8217;ll have to complete the restore tomorrow&#8230; but at least now I know how to get a recalcitrant phone to perform a hard reset properly.</p>
<p>I&#8217;m going to write up the full details of how to do this as a page on this site &#8211; hopefully, later tonight &#8211; but to be honest, it&#8217;s not needed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.angry-geek.org/2009/01/a-hard-day-of-hard-resets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimism? How Dare You!</title>
		<link>http://www.angry-geek.org/2009/01/optimism-how-dare-you/</link>
		<comments>http://www.angry-geek.org/2009/01/optimism-how-dare-you/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 17:56:26 +0000</pubDate>
		<dc:creator>Rocketeer</dc:creator>
				<category><![CDATA[Rant & Rage]]></category>
		<category><![CDATA[Culture]]></category>
		<category><![CDATA[Money]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://www.angry-geek.org/?p=161</guid>
		<description><![CDATA[It's ]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sick of the negative media.  For months I&#8217;ve been convinced that if, instead of going for sensational headlines of doom, the press were just a little more optimistic &#8211; balanced even &#8211; then the financial markets would probably sort themselves out.  Even though that&#8217;s probably a bit too optimistic, having spoken to a wide range of business analysts in the last few months on the subject, I&#8217;m firmly convinced that even if reporting good news wouldn&#8217;t help, reporting all this exaggerated bad news is certainly making things worse.</p>
<p>Sadly, it&#8217;s not just the news-hounds who hate people having a good attitude.  Baroness Shriti Vadera has been publicly shamed today for daring to voice optimism in this current economic climate.  According to the Tories (who I supposedly support), saying &#8220;<a href="http://news.bbc.co.uk/1/hi/uk_politics/7828549.stm">I am seeing a few green shoots</a>&#8221; demonstrates how out of touch and insensitive she is&#8230;</p>
<p><span id="more-161"></span>The trouble is, no-one wants to admit the question that this was in response to.  According to <a href="http://news.sky.com/skynews/Home/Politics/Baroness-Vadera-Says-She-Can-See-Green-Shoots-Of-Economic-Recovery/Article/200901215203468?lpos=Politics_First_Poilitics_Article_Teaser_Regi_0&#038;lid=ARTICLE_15203468_Baroness_Vadera_Says_She_Can_See_Green_Shoots_Of_Economic_Recovery">Sky News</a>, the question asked was <em>when</em> would we be seeing green shoots &#8211; so the words themselves were put in her mouth by the reporter.  No-one seems to want to discuss that&#8230;</p>
<p>Not only that, but it&#8217;s true.  As I was driving home today, Radio 2 was talking about the thousands of new jobs &#8211; a little research finds that both Tesco and Sainbury&#8217;s are looking to expand into new stores, creating over 10,000 new jobs between them.  That&#8217;s surely a green shoot?</p>
<p>The best comment about it I&#8217;ve heard was that Norman Lamont said this &#8220;at the height of the last depression&#8221;.  So&#8230; that&#8217;d be just as it was turning around then?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.angry-geek.org/2009/01/optimism-how-dare-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 &#8211; Why I Just Don&#8217;t Care!</title>
		<link>http://www.angry-geek.org/2009/01/windows-7-why-i-just-dont-care/</link>
		<comments>http://www.angry-geek.org/2009/01/windows-7-why-i-just-dont-care/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 21:40:51 +0000</pubDate>
		<dc:creator>Rocketeer</dc:creator>
				<category><![CDATA[Rant & Rage]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Murphy]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.angry-geek.org/?p=159</guid>
		<description><![CDATA[The latest beta of Windows came out last weekend... and I don't care.]]></description>
			<content:encoded><![CDATA[<p>The latest beta of Windows came out last weekend&#8230; and I don&#8217;t care.  Yes, I downloaded it as soon as I could.  Yes, I&#8217;ve installed it on a virtual machine.  Yes, Microsoft has declared &#8220;Beta Keys for Everyone&#8221;, so the world should be running on Windows 7 Beta &#8211; but no, I just don&#8217;t care.</p>
<p><span id="more-159"></span>The <a href="http://www.washingtonpost.com/wp-dyn/content/article/2009/01/13/AR2009011301588.html" target="_blank">Washington Post</a> has a nice, well balanced review of Windows 7.  I advise you to read it, since it&#8217;s taken a fairly mature approach of looking at how the average user will feel about the upgrade.  Instead of looking at one particular feature and either screaming abuse or singing its praises, David Murphy has tried to cover the breadth of changes and how they really impact him.</p>
<p>Part of the problem is that I&#8217;ve <em>just</em> got used to Vista.  I&#8217;m now comfortable with the sidebar taking up a valuable two inches of my screen real-estate, and I haven&#8217;t had an un-expected UAC prompt in months (yes, it is still enabled; but I&#8217;m used to &#8211; nay, demand &#8211; the extra confirmation when I perform a proper administrative task).</p>
<p>I&#8217;d still like to see what Windows 7 would look like fully powered on my machine &#8211; having only run it in a VM situation so far, I haven&#8217;t had a chance to play with the proper shiny effects &#8211; but it&#8217;s not my number one priority.  Sorry Microsoft!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.angry-geek.org/2009/01/windows-7-why-i-just-dont-care/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle: Moving Data to a new Tablespace</title>
		<link>http://www.angry-geek.org/2009/01/oracle-moving-data-to-a-new-tablespace/</link>
		<comments>http://www.angry-geek.org/2009/01/oracle-moving-data-to-a-new-tablespace/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 16:02:02 +0000</pubDate>
		<dc:creator>Rocketeer</dc:creator>
				<category><![CDATA[Oracle Database]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.angry-geek.org/?p=149</guid>
		<description><![CDATA[The worst thing about being the most technically competent person in a company is that all too often, the buck stops at my desk.  I can&#8217;t complain &#8211; it&#8217;s a problem of my own making; I&#8217;m too lazy to pass on knowledge in a usable format, so I end up having to do a lot [...]]]></description>
			<content:encoded><![CDATA[<p>The worst thing about being the most technically competent person in a company is that all too often, the buck stops at my desk.  I can&#8217;t complain &#8211; it&#8217;s a problem of my own making; I&#8217;m too lazy to pass on knowledge in a usable format, so I end up having to do a lot of the work.</p>
<p><span id="more-149"></span>One of my regular tasks is sorting out the database on our Support server.  This is a bit of a nightmare, since the users of that server are all &#8211; at least in their own minds &#8211; admin types, so configurations and usage changes on a daily basis.</p>
<p>Today &#8211; we ran out of space.  This isn&#8217;t as bad as it sounds, since I&#8217;ve put a restriction in place to limit any database file to 8GB (this is a limit enforced by my rather lame backup practices).  I knew the problem &#8211; one of our support databases was on the &#8220;USERS&#8221; tablespace, instead of the appropriate customer-specific tablespace.</p>
<p>Thanks to the guys at <a href="http://zhefeng.wordpress.com/2008/12/05/moving-tableindex-to-a-new-segment-or-tablespace/" target="_blank">DBA Sensation</a>, finding the correct commands to move Tables, Indexes and even LOB Segments to a new tablespace was trivial&#8230; But here&#8217;s a very useful script that generates a full set of commands to move all of a given user&#8217;s data from one tablespace to another&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> CASE
     WHEN segment_type <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'TABLE'</span> THEN
          <span style="color: #ff0000;">'ALTER TABLE '</span><span style="color: #66cc66;">||</span>seg<span style="color: #66cc66;">.</span>owner<span style="color: #66cc66;">||</span><span style="color: #ff0000;">'.'</span><span style="color: #66cc66;">||</span>seg<span style="color: #66cc66;">.</span>segment_name <span style="color: #66cc66;">||</span><span style="color: #ff0000;">' MOVE TABLESPACE '</span><span style="color: #66cc66;">||</span><span style="color: #ff0000;">'&amp;TARGET_TBSP'</span><span style="color: #66cc66;">||</span><span style="color: #ff0000;">';'</span>
     WHEN segment_type <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'INDEX'</span> THEN
          <span style="color: #ff0000;">'ALTER INDEX '</span><span style="color: #66cc66;">||</span>seg<span style="color: #66cc66;">.</span>owner<span style="color: #66cc66;">||</span><span style="color: #ff0000;">'.'</span><span style="color: #66cc66;">||</span>seg<span style="color: #66cc66;">.</span>segment_name <span style="color: #66cc66;">||</span><span style="color: #ff0000;">' REBUILD TABLESPACE '</span><span style="color: #66cc66;">||</span><span style="color: #ff0000;">'&amp;TARGET_TBSP'</span><span style="color: #66cc66;">||</span><span style="color: #ff0000;">';'</span>
     WHEN segment_type <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'LOBINDEX'</span> THEN
          <span style="color: #ff0000;">'ALTER TABLE '</span><span style="color: #66cc66;">||</span>seg<span style="color: #66cc66;">.</span>owner<span style="color: #66cc66;">||</span><span style="color: #ff0000;">'.'</span><span style="color: #66cc66;">||</span>lob<span style="color: #66cc66;">.</span>table_name <span style="color: #66cc66;">||</span><span style="color: #ff0000;">' MOVE LOB('</span><span style="color: #66cc66;">||</span>lob<span style="color: #66cc66;">.</span>column_name<span style="color: #66cc66;">||</span><span style="color: #ff0000;">') '</span> <span style="color: #66cc66;">||</span><span style="color: #ff0000;">'STORE AS (TABLESPACE '</span><span style="color: #66cc66;">||</span><span style="color: #ff0000;">'&amp;TARGET_TBSP'</span><span style="color: #66cc66;">||</span><span style="color: #ff0000;">');'</span>
     ELSE <span style="color: #ff0000;">'/* Segment '</span><span style="color: #66cc66;">||</span>seg<span style="color: #66cc66;">.</span>segment_name <span style="color: #66cc66;">||</span><span style="color: #ff0000;">' is of type: '</span><span style="color: #66cc66;">||</span>segment_type<span style="color: #66cc66;">||</span><span style="color: #ff0000;">' */'</span>
     END <span style="color: #993333; font-weight: bold;">AS</span> sql_command
<span style="color: #993333; font-weight: bold;">FROM</span> dba_segments seg<span style="color: #66cc66;">,</span> dba_lobs lob
<span style="color: #993333; font-weight: bold;">WHERE</span> seg<span style="color: #66cc66;">.</span>owner <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'&amp;SOURCE_OWNER'</span>
     <span style="color: #993333; font-weight: bold;">AND</span> seg<span style="color: #66cc66;">.</span>tablespace_name <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'&amp;SOURCE_TBSP'</span>
     <span style="color: #993333; font-weight: bold;">AND</span> seg<span style="color: #66cc66;">.</span>owner <span style="color: #66cc66;">=</span> lob<span style="color: #66cc66;">.</span>owner<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">+</span><span style="color: #66cc66;">&#41;</span>
     <span style="color: #993333; font-weight: bold;">AND</span> seg<span style="color: #66cc66;">.</span>segment_name <span style="color: #66cc66;">=</span> lob<span style="color: #66cc66;">.</span>index_name <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">+</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">GROUP</span> <span style="color: #993333; font-weight: bold;">BY</span> seg<span style="color: #66cc66;">.</span>owner<span style="color: #66cc66;">,</span> seg<span style="color: #66cc66;">.</span>segment_name<span style="color: #66cc66;">,</span> 
     seg<span style="color: #66cc66;">.</span>segment_type<span style="color: #66cc66;">,</span> seg<span style="color: #66cc66;">.</span>tablespace_name<span style="color: #66cc66;">,</span> 
     lob<span style="color: #66cc66;">.</span>table_name<span style="color: #66cc66;">,</span> lob<span style="color: #66cc66;">.</span>column_name
<span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> seg<span style="color: #66cc66;">.</span>segment_type <span style="color: #993333; font-weight: bold;">DESC</span><span style="color: #66cc66;">,</span> seg<span style="color: #66cc66;">.</span>segment_name;</pre></div></div>

<p>A word of warning: This will work for all tables, indexes and LOB segments, but will not handle any tables that have a LONG datatype.  <a href="http://www.orafaq.com/forum/t/21725/0/">OraFAQ has a helpful thread about this</a> &#8211; the simple answer is that LONG datatypes don&#8217;t support the MOVE command.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.angry-geek.org/2009/01/oracle-moving-data-to-a-new-tablespace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compare the Meerkat</title>
		<link>http://www.angry-geek.org/2009/01/compare-the-meerkat/</link>
		<comments>http://www.angry-geek.org/2009/01/compare-the-meerkat/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 09:16:35 +0000</pubDate>
		<dc:creator>Rocketeer</dc:creator>
				<category><![CDATA[Internet Memes]]></category>
		<category><![CDATA[Advertising]]></category>
		<category><![CDATA[Cats]]></category>
		<category><![CDATA[Money]]></category>

		<guid isPermaLink="false">http://www.angry-geek.org/?p=147</guid>
		<description><![CDATA[Supposedly, this site is an advert for Compare the Market (dot com), where you can compare quotes for all kinds of things &#8211; insurance, credit cards, mortgages etc.
To be honest though, I think Compare the Meerkat is an entertaining website in its own right (although the annoying voice-over is, well, annoying).  Even if it is [...]]]></description>
			<content:encoded><![CDATA[<p>Supposedly, this site is an advert for Compare the Market (dot com), where you can compare quotes for all kinds of things &#8211; insurance, credit cards, mortgages etc.</p>
<p>To be honest though, I think <a href="http://www.comparethemeerkat.com/home.html">Compare the Meerkat</a> is an entertaining website in its own right (although the annoying voice-over is, well, annoying).  Even if it is viral marketing&#8230; I like it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.angry-geek.org/2009/01/compare-the-meerkat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chicken and Egg</title>
		<link>http://www.angry-geek.org/2009/01/chicken-and-egg/</link>
		<comments>http://www.angry-geek.org/2009/01/chicken-and-egg/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 22:03:05 +0000</pubDate>
		<dc:creator>Rocketeer</dc:creator>
				<category><![CDATA[Musings]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Culture]]></category>
		<category><![CDATA[Meta-blog]]></category>
		<category><![CDATA[Resolutions]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://www.angry-geek.org/?p=145</guid>
		<description><![CDATA[When creating a web site, content must come before readership - otherwise, there's no reason for your readers to stay.  But in this world of Web 2.0 and blogging on everything, how can you generate enough interesting content when no-one is there to listen?]]></description>
			<content:encoded><![CDATA[<p>As well all know &#8211; the egg came first; long before there was ever a bird that might even be considered an early ancestor of a chicken, things laid eggs.  The question of &#8220;Which came first, the Chicken or the Chicken Egg?&#8221; is more tricky &#8211; I&#8217;ll leave that one for the philosophers.</p>
<p>The question for me though, is which came first &#8211; the content or the readership?</p>
<p><span id="more-145"></span>Let&#8217;s face it &#8211; if I set up a site and advertise it, but there&#8217;s nothing there, people aren&#8217;t going to stay.  It&#8217;s one of the mysteries (to me, at least) of sites like FaceBook; how on earth did they get their first 1,000 users?  Obviously, there comes a point when a site has enough momentum to expand on its own, but those first few readers, visitors or members&#8230; how do you get them to sign up?</p>
<p>So clearly, content must come first.  Somehow, I&#8217;ve got to put together enough Angry Rants, General Musings and useful technical information that someone visiting this site will feel that their time has been well spent &#8211; and not only will they come back and check for more content, but they&#8217;ll tell their friends to do the same&#8230;</p>
<p>On the other hand&#8230; Right now, I have a grand total of 2 readers &#8211; and one of them is me.  When writing for such a limited audience, it is tricky to get motivated &#8211; and even when I am motivated, it feels like the worst kind of shameless egotism.</p>
<p>Maybe &#8211; just maybe &#8211; a Blog is the wrong way to start a site&#8230; or is that heresy against the principals of Web 2.0?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.angry-geek.org/2009/01/chicken-and-egg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
