<?xml version="1.0" encoding="utf-8"?>

			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Anant&apos;s little nook on the Web</title>
			<link>http://apradhan.net/index.cfm</link>
			<description>Anant Pradhan&apos;s blog and personal website</description>
			<language>en-us</language>
			<pubDate>Sun, 05 Sep 2010 15:33:29 -0700</pubDate>
			<lastBuildDate>Thu, 26 Aug 2010 17:50:00 -0700</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>blog@apradhan.net</managingEditor>
			<webMaster>blog@apradhan.net</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>blog@apradhan.net</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			
			<itunes:explicit>no</itunes:explicit>
			
			<item>
				<title>Batch files to start and stop ColdFusion</title>
				<link>http://apradhan.net/index.cfm/2010/8/26/Batch-files-to-start-and-stop-ColdFusion</link>
				<description>
				
				As I mentioned in the previous post, I recently wiped out everything and installed a fresh copy of Windows 7 on my personal laptop. After that, as any self-respecting ColdFusion professional would (kidding...sort of), I installed the Developer&apos;s edition of &lt;a href=&quot;http://www.adobe.com/products/coldfusion/&quot; target=&quot;_blank&quot;&gt;ColdFusion 9&lt;/a&gt; application server and &lt;a href=&quot;http://www.adobe.com/products/coldfusion/cfbuilder/features/index.html/&quot; target=&quot;_blank&quot;&gt;ColdFusion Builder&lt;/a&gt;. Also installed the MySQL database server, but that is sort of besides the point for the purposes of this post. 

Anyway I was starting to feel pretty happy about my newly setup development environment when I noticed the memory usage slowly starting to go up. That reminded me that running an application server continuously in the background on a personal laptop is probably not a good idea. So initially I created a shortcut to Windows &quot;Component Services&quot; on my desktop and figured I would just start and stop the ColdFusion services as needed. But that was taking about 4 clicks and 80 seconds (yes, I counted) to start/stop all those services. Certainly did not seem to be the most efficient solution.

After some research I found that I could possibly write a batch file to accomplish this and that should speed things up. So that&apos;s what I ended up doing and it really does work delightfully well! I&apos;m sure other people have done the same thing in the past but since I just discovered the wonders of batch files, I figured I&apos;d post what I came up with (feel free to use this code if you want to):

Batch file to start ColdFusion:
&lt;code&gt;
echo Starting ColdFusion 9
sc start &quot;ColdFusion 9 Application Server&quot;
sc start &quot;ColdFusion 9 ODBC Agent&quot;
sc start &quot;ColdFusion 9 ODBC Server&quot;
sc start &quot;ColdFusion 9 Search Server&quot;
sc start &quot;CF9Solr&quot;
sc start &quot;ColdFusion 9 .NET Service&quot;
echo ColdFusion 9 Started
pause
&lt;/code&gt;

Batch file to stop ColdFusion:
&lt;code&gt;
echo Stopping ColdFusion 9
sc stop &quot;ColdFusion 9 Application Server&quot;
sc stop &quot;ColdFusion 9 ODBC Agent&quot;
sc stop &quot;ColdFusion 9 ODBC Server&quot;
sc stop &quot;ColdFusion 9 Search Server&quot;
sc stop &quot;CF9Solr&quot;
sc stop &quot;ColdFusion 9 .NET Service&quot;
echo ColdFusion 9 Stopped
pause
&lt;/code&gt;

Note: You will have to right-click and &quot;Run as administrator&quot; on Windows Vista or Windows 7 for this to work. 

Funny story - I wrote this batch file, ran it, something flashed on the screen and went away and I had no idea what it did. It was actually pretty annoying at the time. So I started looking around to find out how to keep the output on the screen. In case you haven&apos;t figured it out yet, the &quot;pause&quot; command at the end does that. Took me more time to find that command than it took me to do everything else previously described combined. Hopefully this will save someone else some time :)

That&apos;s it for now folks! 

Peace out. 
				</description>
				
				<category>Technology</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Thu, 26 Aug 2010 17:50:00 -0700</pubDate>
				<guid>http://apradhan.net/index.cfm/2010/8/26/Batch-files-to-start-and-stop-ColdFusion</guid>
				
				
			</item>
			
			<item>
				<title>Windows 7 Update</title>
				<link>http://apradhan.net/index.cfm/2010/8/25/Windows-7-Update</link>
				<description>
				
				Aloha fellow humans (and bots)!

Recently, as in this past Sunday, I updated my laptop which is a &lt;a href=&quot;http://www.laptopmag.com/review/laptops/hp-pavilion-dv4t.aspx&quot; target=&quot;_blank&quot;&gt;HP dv4t&lt;/a&gt; from &lt;a href=&quot;http://windows.microsoft.com/en-US/windows-vista/products/home&quot; target=&quot;_blank&quot;&gt;Windows Vista&lt;/a&gt; to &lt;a href=&quot;http://www.microsoft.com/windows/windows-7/default.aspx&quot; target=&quot;_blank&quot;&gt;Windows 7&lt;/a&gt; and boy am I glad or what! I wiped the machine clean and did a fresh install. After restoring all my data and reinstalling majority of the programs I use, I found that this whole exercise had freed up almost 30 GB of space on my machine, which I think is pretty ridiculous. Either I had way more bloatware on this machine earlier than I realized or Vista hogs up hard disk space much like it hogs memory.

Now I say Vista is a memory hog because that is exactly what it used to do, at least on my machine. This laptop has 3 GB of memory and the memory usage used to be around 50-55% when Vista would start up. On the other hand, I&apos;m noticing that the memory usage is only 25-28% when Windows 7 starts up. Again all that factory installed HP bloatware was probably causing higher memory usage but still it seems like Microsoft has done a much better job with optimizing resource usage in Windows 7. Oh, also the boot up period itself for Windows 7 is much shorter than Vista (woohoo!!).

Another thing I&apos;d noticed was that this laptop used to get very hot with continuous usage when I was running Vista which would cause the fan to run all the time. The sound of that fan running continuously annoyed me (a LOT) and I was almost at the verge of buying a new laptop last week. Installing Windows 7 seems to have totally fixed that problem! The laptop has not been getting that hot since Win 7 was installed and I&apos;ve hardly heard the fan running at all. So apparently Vista is a processor hog as well! Microsoft, I&apos;d be mad at you but at least it looks like you are possibly starting to learn from your mistakes. Anyway it looks like Windows 7 has saved me a decent chunk of cash, for now :)

Feel free to chime in about your Windows 7/Vista experiences folks. 

Stay warm!

Anant

Disclaimer: Windows 7 marketing team did not pay me to write this blog post, although I wish they did! 
				</description>
				
				<category>Technology</category>
				
				<category>General</category>
				
				<pubDate>Wed, 25 Aug 2010 19:38:00 -0700</pubDate>
				<guid>http://apradhan.net/index.cfm/2010/8/25/Windows-7-Update</guid>
				
				
			</item>
			
			<item>
				<title>Finally I have a blog!!</title>
				<link>http://apradhan.net/index.cfm/2010/6/2/Finally-I-have-a-blog</link>
				<description>
				
				Greetings Drifters of the World Wide Web!

I know most of you don&apos;t really care, but this blog is sort of a big deal to me. I have thought about putting together a blog for AGES but never got around to doing it. Finally I surprised myself about 2 weeks ago by showing an uncharacteristic spurt of energy and putting together this blog using &lt;a href=&quot;http://blogcfc.riaforge.org/&quot; target=&quot;_blank&quot;&gt;BlogCFC&lt;/a&gt;. I must thank &lt;a href=&quot;http://www.coldfusionjedi.com/&quot; target=&quot;_blank&quot;&gt;Ray Camden&lt;/a&gt; for creating this excellent blog engine. Where would the world be without such brilliant and energetic people like Ray?!?

Anyway feel free to drop by every once in a while to check out this most interesting blog (In case you haven&apos;t figured it out yet, I have a rather dry sense of humor). At this point I&apos;m not sure if this is primarily going to be a technical blog or a just an outlet for my random thoughts and experiences but I have a feeling it&apos;s going to be a combination of both. Probably more of the latter than the former but it could easily be the other way around. Honestly, I&apos;m as much in the dark about it as you are so I guess you&apos;ll have to keep coming back to find out (I feel like a used cars salesman saying this and I actually like it :) )! 

Adios 
				</description>
				
				<category>General</category>
				
				<pubDate>Wed, 02 Jun 2010 23:01:00 -0700</pubDate>
				<guid>http://apradhan.net/index.cfm/2010/6/2/Finally-I-have-a-blog</guid>
				
				
			</item>
			</channel></rss>