<?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>doodle dabbles</title>
	<atom:link href="http://ashish.tonse.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ashish.tonse.com</link>
	<description>my playground</description>
	<pubDate>Wed, 18 Jun 2008 13:47:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Most unintuitive dialog ever?</title>
		<link>http://ashish.tonse.com/2008/06/18/most-unintuitive-dialog-ever/</link>
		<comments>http://ashish.tonse.com/2008/06/18/most-unintuitive-dialog-ever/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 13:44:23 +0000</pubDate>
		<dc:creator>Ashish</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ashish.tonse.com/2008/06/18/most-unintuitive-dialog-ever/</guid>
		<description><![CDATA[Has anyone encountered this dialog when dealing with Excel and comma-separated values (CSV) files?

Every single time I see it, I have to re-read all the text and analyze exactly what my options are.
They have not changed this dialog even in 2007 with new UI improvements. Is this dialog clear to everyone else? I doubt it.
]]></description>
			<content:encoded><![CDATA[<p>Has anyone encountered this dialog when dealing with Excel and comma-separated values (CSV) files?</p>
<p><a href="/wp-content/uploads/2008/06/totally-unintuitive-dialog.png"><img width="250" src="/wp-content/uploads/2008/06/totally-unintuitive-dialog.png"></a></p>
<p>Every single time I see it, I have to re-read all the text and analyze exactly what my options are.</p>
<p>They have not changed this dialog even in 2007 with new UI improvements. Is this dialog clear to everyone else? I doubt it.</p>
]]></content:encoded>
			<wfw:commentRss>http://ashish.tonse.com/2008/06/18/most-unintuitive-dialog-ever/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Snakes on a Plane? No, Wifi on a Bus! Liveblogging from DC2NY</title>
		<link>http://ashish.tonse.com/2008/04/26/snakes-on-a-plane-no-wifi-on-a-bus-liveblogging-from-dc2ny/</link>
		<comments>http://ashish.tonse.com/2008/04/26/snakes-on-a-plane-no-wifi-on-a-bus-liveblogging-from-dc2ny/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 22:40:33 +0000</pubDate>
		<dc:creator>Ashish</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ashish.tonse.com/2008/04/27/snakes-on-a-plane-no-wifi-on-a-bus-liveblogging-from-dc2ny/</guid>
		<description><![CDATA[So I&#8217;m headed to NY today to show the cousin around (I wasn&#8217;t expected to go but it ended up being a last minute thing). So I have my laptop with me because the bus to NY has free Wifi on board. Cool!! 
So I&#8217;m eager to test it out and see how well it [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m headed to NY today to show the cousin around (I wasn&#8217;t expected to go but it ended up being a last minute thing). So I have my laptop with me because the bus to NY has free Wifi on board. Cool!! </p>
<p>So I&#8217;m eager to test it out and see how well it works. My guess is that they are using a Verizon EV-DO wireless card hooked up to a router (something like a femto-cell). I might do some tests, but I don&#8217;t expect to do much more than just IM and browse the web. Don&#8217;t want to abuse the connection</p>
<p><span id="more-31"></span></p>
<p>9:17 - And we&#8217;re off. It&#8217;s interesting to see downtown DC on a weekend morning. I barely ever get this view because I have never lived downtown, nor do I usually wake up early enough to go downtown. My brother&#8217;s talking to his Danish friend (see Chris I mentioned you!) and hopefully we got some good tips out of it.</p>
<p>9:22 - The internet is not up yet. I am writing this blog post in textmate so it&#8217;s not too much of a big deal. But I&#8217;m going to wait for a good 30-45 minutes before I cry foul. It could just be one of those things where it takes 45 minutes to boot up the equipment. ;-)</p>
<p>9:27 - Another dude opened up his laptop - he&#8217;s got a macbook pro. It&#8217;s awesome to see more people using macs.</p>
<p>9:36 - We just got the Wifi password. I&#8217;m glad it&#8217;s password protected (although it&#8217;s WEP but who&#8217;s going to be anal about wifi security on a bus?)  We also just took a vote on what movie to watch, I voted for Top Gun :-) Needless to say, a lot of people are not happy that they were overruled on the Top Gun vote. I just have to say&#8230; I don&#8217;t like you, Maverick. I don&#8217;t like you because you&#8217;re dangerous.<br />
, and all<br />
9:40 - We&#8217;re on New York Ave. Hee Hee!</p>
<p>9:43 - Just realized that I didn&#8217;t charge the macbook last night. I&#8217;ve got an hour. Damn!!!</p>
<p>9:53 - There are 3 of us on the bus using the internet (that I can see), and all 3 are on macbooks! We are slowly becoming the majority in these kinds of settings. I&#8217;m sure PC notebooks are still overwhelmingly popular in the enterprise, but they have to be feeling the pain when it comes to home users.</p>
]]></content:encoded>
			<wfw:commentRss>http://ashish.tonse.com/2008/04/26/snakes-on-a-plane-no-wifi-on-a-bus-liveblogging-from-dc2ny/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Serializing XML in .NET - UTF-8 and UTF-16</title>
		<link>http://ashish.tonse.com/2008/04/15/serializing-xml-in-net-utf-8-and-utf-16/</link>
		<comments>http://ashish.tonse.com/2008/04/15/serializing-xml-in-net-utf-8-and-utf-16/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 14:40:24 +0000</pubDate>
		<dc:creator>Ashish Tonse (Administrator)</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

		<guid isPermaLink="false">http://ashish.tonse.com/?p=30</guid>
		<description><![CDATA[<p>When working with xml to object mapping, most modern languages have powerful tools or libraries that serialize and deserialize objects for you automatically, or even create classes for you based on xml schema definitions (XSDs). In the .NET world, these classes reside in the System.Xml.Serialization namespace. There is plenty of documentation available on how to use it. </p>  <p>However, you might encounter an issue when trying to serialize your object to XML, especially if you use a StringWriter to serialize your object to an XML string instead of a file. Since .NET strings are always stored in UTF-16, your resulting xml file will have the encoding of UTF-16. One way to get around this is by creating a MemoryStream, creating a StreamWriter, and applying the UTF-8 encoding to that StreamWriter.</p>]]></description>
			<content:encoded><![CDATA[<p>When working with xml to object mapping, most modern languages have powerful tools or libraries that serialize and deserialize objects for you automatically, or even create classes for you based on xml schema definitions (XSDs). In the .NET world, these classes reside in the System.Xml.Serialization namespace. There is plenty of documentation available on how to use it. </p>
<p>However, you might encounter an issue when trying to serialize your object to XML, especially if you use a StringWriter to serialize your object to an XML string instead of a file. Since .NET strings are always stored in UTF-16, your resulting xml file will have the encoding of UTF-16. One way to get around this is by creating a MemoryStream, creating a StreamWriter, and applying the UTF-8 encoding to that StreamWriter.</p>
<p>The easy way of serializing an object to xml as a string (not to a file):</p>
<p>&#160;</p>
<pre class="code csharp">XmlSerializer serializer = new XmlSerializer(typeof(YourObject));
System.IO.StringWriter sWriter = new System.IO.StringWriter(); 

serializer.Serialize(sWriter, yourObjectInstance);
sWriter.Flush(); 

string result = sWriter.ToString();</pre>
<p>&#160;</p>
<p>But since this will result in an xml file with encoding UTF-16, we have the following block:</p>
<pre class="code csharp">XmlSerializer serializer = new XmlSerializer(typeof(YourObject)); 

// create a MemoryStream here, we are just working
// exclusively in memory
System.IO.Stream stream = new System.IO.MemoryStream();

// The XmlTextWriter takes a stream and encoding
// as one of its constructors
System.Xml.XmlTextWriter xtWriter = new System.Xml.XmlTextWriter(stream, Encoding.UTF8); 

serializer.Serialize(xtWriter, yourObjectInstance); 

xtWriter.Flush();

// go back to the beginning of the Stream to read its contents
stream.Seek(0, System.IO.SeekOrigin.Begin); 

// read back the contents of the stream and supply the encoding
System.IO.StreamReader reader = new System.IO.StreamReader(stream, Encoding.UTF8);

string result = reader.ReadToEnd();</pre>
<p>Remember, the MemoryStream is just a stream of bytes and doesn&#8217;t have to be text. So you create a StreamReader to read it back and have to tell the reader what encoding to use.</p>
<p>The idea of strings represented as bytes out in the wild, and various encodings, can be a little daunting for newer developers, but as long as you keep your encodings consistent, you should have no problems. And in the case that you need to convert to a different encoding, there are built-in libraries that do that for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://ashish.tonse.com/2008/04/15/serializing-xml-in-net-utf-8-and-utf-16/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google&#8217;s App Engine platform</title>
		<link>http://ashish.tonse.com/2008/04/06/googles-app-engine-platform/</link>
		<comments>http://ashish.tonse.com/2008/04/06/googles-app-engine-platform/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 10:19:17 +0000</pubDate>
		<dc:creator>Ashish</dc:creator>
		
		<category><![CDATA[Misc]]></category>

		<category><![CDATA[app-engine]]></category>

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

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

		<guid isPermaLink="false">http://ashish.tonse.com/2008/04/07/googles-app-engine-platform/</guid>
		<description><![CDATA[This evening, Google unveiled something called the App Engine:

hosting environment exclusively for web applications
initially free up to a certain site load (500 MB storage, 10 Gb bandwidth a day, ~5 million pageviews/month &#8212; I wish that was a problem I had!)
supports Python (initially) but will eventually support more languages
they seem to have their own api [...]]]></description>
			<content:encoded><![CDATA[<p>This evening, Google unveiled something called the App Engine:</p>
<ul>
<li>hosting environment exclusively for web applications</li>
<li>initially free up to a certain site load (500 MB storage, 10 Gb bandwidth a day, ~5 million pageviews/month &#8212; I wish that was a problem I had!)</li>
<li>supports Python (initially) but will eventually support more languages</li>
<li>they seem to have their own api and their own web application framework, I wonder if they&#8217;ll support more like Django (Python) or, of course, Ruby on Rails :-)</li>
</ul>
<p>How this compares to Amazon:</p>
<ul>
<li>This is not a general purpose web hosting or grid service like EC2 &#8212; this is tailored specifically to web applications</li>
<li>Free up to a certain amount of usage (probably only something Google/MS could afford to offer)</li>
</ul>
<p><span id="more-18"></span></p>
<h3>My Thoughts</h3>
<p>The main thing that struck me at first was that it was based off Python. Not a surprise because Google is pretty much the largest promoter/user of Python on the internet, they even hired Python creator Guido Von Rossum. But apparently from the talk, Python is only the first supported language. More will be added over time.</p>
<p>The other thing that struck me was that they seem to have chosen to develop their own web application framework. I wonder why. There are plenty of good ones out there (like Django for Python). I hope this isn&#8217;t just a case of programmers always wanting to implement their own version of a certain app just for problem-solving satisfcation and the joy of learning something new.</p>
<p>But again, if they allow other languages to be supported, I&#8217;m sure they&#8217;ll eventually allow various frameworks. If I had to guess, I&#8217;d think their framework probably handles caching and database persistence really well with their backend, which makes it the most ideal. But knowing Google, they will probably open up all the protocols being used to interact with their infrastructure, and allow the community to develop mappings in other languages. Nothing wrong with this inherently open source approach.</p>
<p>The final thing to note is that this is a preview release, and a lot of my worries will most likely be put to rest by the time they release a final version.</p>
<p>This is quite promising for developers. These are very interesting times for small companies. It is growing ever easier and cheaper to have an IT infrastructure that supports more and more users. There are startups that run entirely on Amazon S3 and EC2, and don&#8217;t own a single server. This is just possible because of the internet and a lot of its supporting technologies becoming cheaper.</p>
<p>Now that I think about it, it&#8217;s actually a very Apple-like approach to this problem. We give you the whole ecosystem where all the pieces work together perfectly, and as long as you use our tools and technologies, your app will work beautifully. It has limited appeal.</p>
<p>Now I&#8217;m waiting for Yahoo and Microsoft&#8217;s reponses :-) They better be working on something worthwhile to compete. This is the future of startups.</p>
<p>Overall, I think Amazon is still king of this space. This thing got a luke-warm reception from myself (and apparently most who attended). Hopefully it&#8217;ll mature into something more useful for a larger number of people.</p>
]]></content:encoded>
			<wfw:commentRss>http://ashish.tonse.com/2008/04/06/googles-app-engine-platform/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WPF Weekend, Part 1: Introducing CID</title>
		<link>http://ashish.tonse.com/2008/03/31/wpf-weekend-part-1-introducing-cid/</link>
		<comments>http://ashish.tonse.com/2008/03/31/wpf-weekend-part-1-introducing-cid/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 01:02:13 +0000</pubDate>
		<dc:creator>Ashish</dc:creator>
		
		<category><![CDATA[Misc]]></category>

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

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

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

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

		<guid isPermaLink="false">http://ashish.tonse.com/2008/03/31/wpf-weekend-part-1-introducing-cid/</guid>
		<description><![CDATA[Over lunch with my friends at OpenSource Connections last Friday, we had a discussion of how they could attract more people to their booth at the FOSE convention next week in Washington, DC. A recurring suggestion was to have something to dazzle people from a distance.One of the ideas we came up with is to [...]]]></description>
			<content:encoded><![CDATA[<p>Over lunch with my friends at <a title="OpenSource Connections" href="http://www.opensourceconnections.com/">OpenSource Connections</a> last Friday, we had a discussion of how they could attract more people to their booth at the FOSE convention next week in Washington, DC. A recurring suggestion was to have something to dazzle people from a distance.One of the ideas we came up with is to have an eye-catching display, but that only had limited value.</p>
<p>So we decided to show attendees information that is immediately useful to them, such as the conference event schedule.SO this weekend, Michael Herndon from OSC, and myself, started to build what would become CID.</p>
<p>We decided from the beginning to open source the project and host it on Google Code, so that others can benefit and learn from our experience, and also so that it could be extended easily in the future. This series of posts outlines some of the things we learned in the process.</p>
<p><span id="more-15"></span></p>
<h3 id="wpf">WPF</h3>
<p>Firstly, a short intro to WPF. WPF is short for Windows Presentation Foundation, is a set of Microsoft-based technologies (namely, XAML and a .NET 3.0 Presentation Framework) that allow developers to build rich media applications which take advantage of graphics hardware that’s common in today’s computers. For a better overview of WPF, go to <a title="Wikipedia Entry: WPF" href="http://en.wikipedia.org/wiki/WPF">WPF</a>.</p>
<h3 id="goals">Goals</h3>
<p>There were three goals to this project:</p>
<ul>
<li>Bring people to the OSC Booth and make them talk about it</li>
<li>Show off OSC’s skills in cutting edge technologies (like WPF)</li>
<li>And most importantly, it gave us an excuse to play with WPF. ;-)</li>
</ul>
<h3 id="tools_we_used">Tools we used</h3>
<p>Not much of a surprise, but we used entirely Microsoft-based tools, since they were optimized for building WPF applications and writing XAML.- <a title="Visual Studio 2008" href="http://msdn.microsoft.com/vstudio/">Visual Studio 2008</a> (with <a title="Download details: .NET Framework 3.5" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=333325FD-AE52-4E35-B531-508D977D32A6">.NET 3.5</a>)- <a title="Expression Blend and Design : The WinFX Runtime Components February CTP has been published!" href="http://blogs.msdn.com/expression/archive/2006/02/22/537105.aspx">Expression Blend 2 February CTP</a></p>
<h3 id="the_app">The App</h3>
<p><a title="Cid Screenshot" href="http://ashish.tonse.com/wp-content/uploads/2008/03/cid-screenshot.jpg" target="_blank"><img src="http://ashish.tonse.com/wp-content/uploads/2008/03/cid-small.jpg" alt="cid-small.jpg" /></a><a title="Cid Screenshot" href="http://ashish.tonse.com/wp-content/uploads/2008/03/cid-screenshot.jpg" target="_blank"></a></p>
<p>Click above for a screenshot of the final app (final as of this weekend). In the coming days, I’m going to outline how we did various things with CID and WPF. I want to cover the following topics:</p>
<ul>
<li>Part 2: Layouts</li>
<li>Part 3: Databinding (Relative, Elements, DataContexts)</li>
<li>Part 4: Animations, Per-character Text Effects, Calling Storyboards from C#</li>
<li>Part 5: Code-behind events, programmatic animations and storyboards, and wrap-up </li>
</ul>
<p>So stick around! :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://ashish.tonse.com/2008/03/31/wpf-weekend-part-1-introducing-cid/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BUGs, BUGs, BUGs</title>
		<link>http://ashish.tonse.com/2008/01/22/bugs-bugs-bugs/</link>
		<comments>http://ashish.tonse.com/2008/01/22/bugs-bugs-bugs/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 19:39:17 +0000</pubDate>
		<dc:creator>Ashish</dc:creator>
		
		<category><![CDATA[Misc]]></category>

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

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

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

		<guid isPermaLink="false">http://ashish.tonse.com/2008/01/22/bugs-bugs-bugs/</guid>
		<description><![CDATA[I just ordered my BUGbundle from BUGlabs.net. What is it??
In a nutshell, it&#8217;s a kit to build your own electronic devices by piecing together blocks in a Mr. Potato Head style. You can then write code that controls how all these pieces talk to each other.
This is a very exciting new platform especially for programmers [...]]]></description>
			<content:encoded><![CDATA[<p>I just ordered my BUGbundle from BUGlabs.net. What is it??</p>
<p>In a nutshell, it&#8217;s a kit to build your own electronic devices by piecing together blocks in a Mr. Potato Head style. You can then write code that controls how all these pieces talk to each other.</p>
<p>This is a very exciting new platform especially for programmers that don&#8217;t have the electronics know-how, but have a lot of ideas for creating their own gadgets. I had attempted my foray into electronics by researching AVR microcontroller kits, but I chickened out as soon as I read about BUG.</p>
<p>The guys behind this new startup seem to genuinely want to make the (geek&#8217;s) world a better place. Their mission is littered with good intentions and the execution seems top notch. I&#8217;m really excited to get my BUG and start playing with it.</p>
<p>My first idea is to build a fitness gadget. I&#8217;m going to use the accelerometer as a pedometer, and the GPS receiver to track my position. Hopefully this will result in a full-fledged treadmill-in-a-box.</p>
<p>I&#8217;d also like to use the accelerometer/pedometer to calculate the rate of my stride and maybe adjust the tempo of music according to it.</p>
<p>How cool would that be?</p>
]]></content:encoded>
			<wfw:commentRss>http://ashish.tonse.com/2008/01/22/bugs-bugs-bugs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Executing Office Plugins Across Two Zones</title>
		<link>http://ashish.tonse.com/2007/11/14/executing-office-plugins-across-two-zones/</link>
		<comments>http://ashish.tonse.com/2007/11/14/executing-office-plugins-across-two-zones/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 20:51:04 +0000</pubDate>
		<dc:creator>Ashish</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://ashish.tonse.com/2007/11/14/executing-office-plugins-across-two-zones/</guid>
		<description><![CDATA[When building Office plugins, you have to give the right permissions so that the plugins can execute. Depending on your situation, you will have to touch upon multiple security concepts.
One is a Zone. A zone is like the &#8220;area&#8221; of interest. There are two zones involved in doing this:

The location of your plugin (the dll [...]]]></description>
			<content:encoded><![CDATA[<p>When building Office plugins, you have to give the right permissions so that the plugins can execute. Depending on your situation, you will have to touch upon multiple security concepts.</p>
<p>One is a Zone. A zone is like the &#8220;area&#8221; of interest. There are two zones involved in doing this:</p>
<ul>
<li>The location of your plugin (the dll files, etc)</li>
<li>The location of the Word/Excel file being opened (*.doc, *.xls, etc)</li>
</ul>
<p>These zones usually match up (if your plugin is installed on your computer, and you&#8217;re accessing an Office document on your hard drive, both locations are the &#8220;My Computer&#8221; zone).</p>
<p>For my situation, I had the plugin installed in my computer, but the file being accessed was over an untrusted network share, hence the file was placed in the &#8220;Internet&#8221; zone.</p>
<p>I had my assemblies in C:\Program Files\InstalledAppDir\*<br />
My Word Doc was in: \\networkserver\sharename\something.doc</p>
<p>It triggered the following error:</p>
<p><code>The customization does not have the required permissions to execute.</code><br />
<code><br />
************** Exception Text **************<br />
System.Security.SecurityException: The customization does not have the required permissions to execute.<br />
at Microsoft.VisualStudio.Tools.Applications.Runtime.DomainFactory.CreateDomain(Uri evidenceUri, String domainName, String codeBase, String configFileName, IAddinSecurityManager secman)<br />
at Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.CreateCustomizationDomainInternal(Uri uriFullDocumentDirectory, Uri uriFullDocFilePath, String documentName, IHostServiceProvider hostCallback, IAddinSecurityManager secman, AppManifest&amp; applicationManifest, Boolean&amp; manifestDirty, IAppInfo&amp; appInfo)<br />
at Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.CreateCustomizationDomain(String applicationDomainPath, String documentName, IHostServiceProvider hostCallback, IExecuteCustomization&amp; executor)<br />
at Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManager.CreateCustomizationDomain(String applicationDomainPath, String documentName, IHostServiceProvider hostCallback, IExecuteCustomization&amp; executor)<br />
The Zone of the assembly that failed was:<br />
MyComputer<br />
</code><br />
I followed <a href="http://msdn2.microsoft.com/en-us/library/9w6bd8f1(vs.80).aspx">this guide</a> and tweaked the following policies a little and it now works:</p>
<p>MyComputer zone:<br />
&#8220;FullTrust&#8221; permissions to the url: C:\Program Files\InstalledAppDir\*<br />
Internet zone:<br />
&#8220;Nothing&#8221; permission to the url: \\networkserver\sharename<br />
&#8220;FullTrust&#8221; permissions to the OfficeDocumentMembershipCondition</p>
<p>Make sure you add the membership collection to the internet zone, even if you are accessing a network share. The easiest way to know the zone (and how I found out) is to look at your status bar when you go to the network share. It&#8217;ll tell you what security zone that path is seen as.</p>
]]></content:encoded>
			<wfw:commentRss>http://ashish.tonse.com/2007/11/14/executing-office-plugins-across-two-zones/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing Subversion on OS X</title>
		<link>http://ashish.tonse.com/2007/09/13/installing-subversion-on-os-x/</link>
		<comments>http://ashish.tonse.com/2007/09/13/installing-subversion-on-os-x/#comments</comments>
		<pubDate>Fri, 14 Sep 2007 04:32:34 +0000</pubDate>
		<dc:creator>Ashish</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

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

		<guid isPermaLink="false">http://ashish.tonse.com/2007/09/13/installing-subversion-on-os-x/</guid>
		<description><![CDATA[I would think that building and installing Subversion on OS X from source would be slightly more straightforward than it was. But it might start to confuse some of the less comfortable, so I thought I&#8217;d write up this step-by-step guide.
We&#8217;ll be creating a lot of compilation and linking across directories, so it&#8217;s good to [...]]]></description>
			<content:encoded><![CDATA[<p>I would think that building and installing Subversion on OS X from source would be slightly more straightforward than it was. But it might start to confuse some of the less comfortable, so I thought I&#8217;d write up this step-by-step guide.</p>
<p>We&#8217;ll be creating a lot of compilation and linking across directories, so it&#8217;s good to keep it all contained in one place. So let&#8217;s start by creating a directory in the user&#8217;s home that&#8217;s going to contain all this.</p>
<p><code>mkdir ~/svncompile<br />
cd ~/svncompile</code></p>
<p>Before you really get started, download the following files and extract them:</p>
<p>Subversion (all releases latest as of Sep 13, 2007)</p>
<p><code>curl -O http://subversion.tigris.org/downloads/subversion-1.4.5.tar.bz2<br />
tar jxf subversion-1.4.5.tar.bz2</code></p>
<p>Apache Portable Runtime (apr):</p>
<p><code>curl -O http://www.mirrorgeek.com/apache.org/apr/apr-0.9.16.tar.gz<br />
tar zxf apr-0.9.16.tar.gz</code></p>
<p>Apache Portable Runtime Utilities (apr-util):</p>
<p><code>curl -O http://www.mirrorgeek.com/apache.org/apr/apr-util-0.9.15.tar.gz<br />
tar zxf apr-util-0.9.15.tar.gz</code></p>
<p>If you do an ls, you should have the following directories extracted:</p>
<p><code>drwxr-xr-x   44 ashish  ashish     1496 Sep  3 21:43 apr-0.9.16<br />
drwxr-xr-x   34 ashish  ashish     1156 Sep  3 21:46 apr-util-0.9.15<br />
drwxr-xr-x   29 ashish  ashish      986 Aug 14 06:18 subversion-1.4.5</code></p>
<p>Next, we&#8217;re going to compile the dependency libraries, apr and apr-util. We configure, then make, and finally make install:</p>
<p><code>cd apr-0.9.16<br />
./configure<br />
make<br />
sudo make install<br />
cd ..</code></p>
<p>apr-util depends on apr, so when we configure apr-util, we need to point it to apr:</p>
<p><code>cd apr-util-0.9.15<br />
./configure --with-apr=../apr-0.9.16<br />
make<br />
sudo make install<br />
cd ..</code></p>
<p>Using &#8211;with-apr tells the utils to use that instance of apr located in the directory we just built.</p>
<p>Building SVN</p>
<p>And finally, we can build svn. :-)</p>
<p>First, we go to svn and run configure, but we point it to apr and apr-utils:</p>
<p><code>cd subversion-1.4.5<br />
./configure --with-apr=../apr-0.9.16 --with-apr-util=../apr-util-0.9.15</code></p>
<p>Subversion might tell you that you don&#8217;t have BerkeleyDB installed. I&#8217;ll have to modify this section for that.</p>
<p>Now build and install subversion:</p>
<p><code>make<br />
sudo make install</code></p>
<p>And that&#8217;s it! Assuming all went well, you should be able to type &#8220;svn&#8221; and get an svn usage message.</p>
<p>Cleanup</p>
<p>There are two cleanup options, depending on what you want to do. If you just want to get rid of all of the source, the easy thing to do is:</p>
<p><code>rm -rf ~/svncompile</code></p>
<p>And we&#8217;re done. If you want to hold on to the source, I always prefer keeping the source directory clean because that saves space if you&#8217;re not actively developing and also keeps your directories, well, clean.  For that, just run make clean on each of those projects:</p>
<p><code>cd apr-0.9.16<br />
make clean<br />
cd ../apr-util-0.9.15<br />
make clean<br />
cd ../subversion-1.4.5<br />
make clean</code></p>
<p>And you have a clean source repo. :-)</p>
<p>To put it all together, here are all the commands you need to fully install Subversion 1.4.5 on Mac OS X 10.4 (Tiger):</p>
<p><code>mkdir ~/svncompile<br />
cd ~/svncompile<br />
curl -O http://subversion.tigris.org/downloads/subversion-1.4.5.tar.bz2<br />
tar jxf subversion-1.4.5.tar.bz2<br />
curl -O http://www.mirrorgeek.com/apache.org/apr/apr-0.9.16.tar.gz<br />
tar zxf apr-0.9.16.tar.gz<br />
curl -O http://www.mirrorgeek.com/apache.org/apr/apr-util-0.9.15.tar.gz<br />
tar zxf apr-util-0.9.15.tar.gz<br />
cd apr-0.9.16<br />
./configure<br />
make<br />
sudo make install<br />
cd ..<br />
cd apr-util-0.9.15<br />
./configure --with-apr=../apr-0.9.16<br />
make<br />
sudo make install<br />
cd ..<br />
cd subversion-1.4.5<br />
./configure --with-apr=../apr-0.9.16 --with-apr-util=../apr-util-0.9.15<br />
make<br />
sudo make install</code></p>
<p>Hope this helps!! Leave me a comment if you have any problems following the guide.<br />
TODO: mod_dav_svn and BerkeleyDB support.</p>
]]></content:encoded>
			<wfw:commentRss>http://ashish.tonse.com/2007/09/13/installing-subversion-on-os-x/feed/</wfw:commentRss>
		</item>
		<item>
		<title>3&#8230; 2&#8230; 1&#8230; COMMIT!!!</title>
		<link>http://ashish.tonse.com/2007/09/12/3-2-1-commit/</link>
		<comments>http://ashish.tonse.com/2007/09/12/3-2-1-commit/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 19:27:43 +0000</pubDate>
		<dc:creator>Ashish</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

		<guid isPermaLink="false">http://ashish.tonse.com/2007/09/12/3-2-1-commit/</guid>
		<description><![CDATA[This past weekend, I participated with the Open Source Connections (O19s) team of Eric Pugh, Jim Nist, and Michael Herndon, in RailsRumble!
Check out our entry, Fish4Brains: http://takemeaway.railsrumble.com and vote for us!
I&#8217;ll have more details about this project, the underlying technologies, and stories from working on a 2-day project.
]]></description>
			<content:encoded><![CDATA[<p>This past weekend, I participated with the <a href="http://www.opensourceconnections.com">Open Source Connections</a> (O19s) team of Eric Pugh, Jim Nist, and Michael Herndon, in <a href="http://www.railsrumble.com">RailsRumble</a>!</p>
<p>Check out our entry, Fish4Brains: <a href="http://takemeaway.railsrumble.com">http://takemeaway.railsrumble.com</a> and <a href="http://vote.railsrumble.com/teams/takemeaway">vote</a> for us!</p>
<p>I&#8217;ll have more details about this project, the underlying technologies, and stories from working on a 2-day project.</p>
]]></content:encoded>
			<wfw:commentRss>http://ashish.tonse.com/2007/09/12/3-2-1-commit/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Value of a Good Team</title>
		<link>http://ashish.tonse.com/2007/09/01/the-value-of-a-good-team/</link>
		<comments>http://ashish.tonse.com/2007/09/01/the-value-of-a-good-team/#comments</comments>
		<pubDate>Sat, 01 Sep 2007 16:29:44 +0000</pubDate>
		<dc:creator>Ashish</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ashish.tonse.com/2007/09/01/the-value-of-a-good-team/</guid>
		<description><![CDATA[Something extraordinary happened this past Friday, and it was something I had never experienced before. It was a team that pulled together in a time of need, and selflessly helped each other.
Some might read this and think &#8220;Ok, that happens to me all the time.&#8221; If it does happen to you often, consider yourself lucky.
The [...]]]></description>
			<content:encoded><![CDATA[<p>Something extraordinary happened this past Friday, and it was something I had never experienced before. It was a team that pulled together in a time of need, and selflessly helped each other.</p>
<p>Some might read this and think &#8220;Ok, that happens to me all the time.&#8221; If it does happen to you often, consider yourself lucky.</p>
<p><strong>The History</strong></p>
<p>I have been writing a particular piece of software for about 6 months, and we are finally planning to expose this software to a subset of its prospective users for Acceptance and User-Interface testing.</p>
<p>For the 6 months that I&#8217;ve developed it,  I have been the only tester, and the only person demonstrating it. I knew all along that at some point, I would have to unleash it on others and get a new set of eyeballs to really expose bugs, but it wasn&#8217;t at a stage where I was comfortable enough to do so.</p>
<p>But this past week, I proudly proclaimed in a meeting &#8220;yes, we can start user testing!&#8221; It resulted in quite a reaction from the room, almost one of disbelief. So we decided to have the user testing a week from that meeting, and have an internal dry run with our staff on Friday.</p>
<p><strong>The Dry Run</strong></p>
<p>Ah, the dry run. How to describe it? It was successful. They destroyed my program in minutes. Why is this success? Because that&#8217;s the point. The point is to find flaws <em>before </em>you show it off to the world. But we still have the main testing scheduled for next week. So I decided to work parts of the weekend to fix as much of the code as possible to have it running in a more stable manner.</p>
<p><strong>The Team</strong></p>
<p>What was extraordinary about this was the amount of help the team offered. If it was the type of team I am more used to working in, they would&#8217;ve casually offered help and then not done anything, especially since I was (until recently) the solo writer of the software. But this team spent most of their day helping work out kinks in my software and the overall environment in which it executes, plus they even offered to be on standby for the Labor Day weekend just to test software.</p>
<p>I can&#8217;t be too specific but I even got offers from colleagues to do some of the work that I would normally be tasked to do. And I gladly took them up on some of the offers. I understand that they are all doing it in the capacity of a job, but it was just something I had never experienced before, which makes me truly value the team.</p>
<p>I&#8217;ve been working in IT for about 8 years now. For most of those 8 years, I&#8217;ve worked by myself as a consultant, and handled all aspects of a project. Part of this was because I had worked with bad teams and had built up a distrust of working in teams in general. This was until I started working in a team full of totally competent individuals, who seemingly have zero issues of politics, who all get along, and who all seem to share an ethic of pulling together for a common cause &#8212; truly &#8220;taking one for the team.&#8221;</p>
<p>This experience, though small, definitely made an impression on me, and changed my views on generally working in teams. Yes, it was that easy. I know now what the true value of the cliché of a &#8220;team player&#8221; is.</p>
]]></content:encoded>
			<wfw:commentRss>http://ashish.tonse.com/2007/09/01/the-value-of-a-good-team/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
