<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">

    <channel>
    
    <title>A Human&apos;s Personal Weblog</title>
    <link>http://sheriff.netrcs.com/blog/site/index/</link>
    <description></description>
    <dc:language>en</dc:language>
    <dc:creator>sheriff@netrcs.com</dc:creator>
    <dc:rights>Copyright 2010</dc:rights>
    <dc:date>2010-11-02T00:40:00+00:00</dc:date>
    <admin:generatorAgent rdf:resource="http://expressionengine.com/" />
    

    <item>
      <title>GAE seems like a better Cloud Computing Platform over EC2</title>
      <link>http://sheriff.netrcs.com/blog/site/gae-seems-like-a-better-cloud-computing-platform-over-ec2/</link>
      <guid>http://sheriff.netrcs.com/blog/site/gae-seems-like-a-better-cloud-computing-platform-over-ec2/#When:00:40:00Z</guid>
      <description>GAE lets me create upto 10 free applications and the deployment process is so easy and smooth.&amp;nbsp; Especially with the ease of Mercurial, all I have to do is, hg push and deploy, take a break and my app updates are up!&amp;nbsp; I am able to focus completely on development over worrying about all the setting up and deployment issues with.&amp;nbsp; Plus my app can serve upto 100,000 users for free!


What Cloud Computing platform are you using or planning to?</description>
      <dc:subject></dc:subject>
      <dc:date>2010-11-02T00:40:00+00:00</dc:date>
    </item>

    <item>
      <title>Safari, Firefox, Internet Explorer wouldn&#8217;t open HTTPS pages</title>
      <link>http://sheriff.netrcs.com/blog/site/safari-firefox-internet-explorer-wouldnt-open-https-pages/</link>
      <guid>http://sheriff.netrcs.com/blog/site/safari-firefox-internet-explorer-wouldnt-open-https-pages/#When:08:32:00Z</guid>
      <description>Today, my login attempt at facebook failed &#45; I was sure I typed in my password right, but the actual error was not with facebook, and it was with my comp&#8217;s date/time settings.&amp;nbsp; Yep, Both, safari and Firefox reported &#8220;expired certificate&#8221; issue to https:// sites.&amp;nbsp; I was wondering, even to facebook?&amp;nbsp; Then I remembered something (about someone&#8217;s bday) and lol the time reported by my PC clock was Sunday, 1st January.&amp;nbsp; Aha!&amp;nbsp; That must be it.&amp;nbsp; Apparently, the PC&#8217;s internal/battery clock&#45;time needs repair.&amp;nbsp; And how I solved the issue for the time being?&amp;nbsp; I wrote a program called &#8221;TimeSync&#8221; &#45; which corrects the PC clock based upon the current UTC time from Google App Engine!</description>
      <dc:subject></dc:subject>
      <dc:date>2010-05-18T08:32:00+00:00</dc:date>
    </item>

    <item>
      <title>Do&#45;Not&#45;Open&#45;Attachments&#45;from&#45;Facebook&#45;Login</title>
      <link>http://sheriff.netrcs.com/blog/site/do-not-open-attachments-from-facebook-login/</link>
      <guid>http://sheriff.netrcs.com/blog/site/do-not-open-attachments-from-facebook-login/#When:08:09:01Z</guid>
      <description>Recently I got a suspicious looking email that had an zip/archive attachment.&amp;nbsp; The from address read &#8220;Facebook&#45;Manager&#8221; to make it look legit.&amp;nbsp; My email client downloaded this email and the attachment was immediately removed by my Anti&#45;Virus.&amp;nbsp; Here are some KEY points:


* Facebook does not update your password for any reason.


* Except you nobody knows your password (unless you tell them), and not even facebook has the actual password that you will be typing in.&amp;nbsp; Wondering how?&amp;nbsp; Because, all passwords are digest&#45;encrypted and stored in their database.&amp;nbsp; &#8220;What the hell does digest&#45;encrypted mean??&#8221; &#45; Let&#8217;s say your password is the most unguessable &#8220;password&#8221; ( LOL ).&amp;nbsp; Facebook stores it as &#8220;5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8&#8221;.&amp;nbsp; This is SHA1 encrypted (it is not named after me).&amp;nbsp; So, anyways, the point is, it is a ONE&#45;WAY&#45;encryption!&amp;nbsp; It is impossible even for a computer to deduce how that 5b&#45;blah&#45;blah was arrived at.


* Facebook verifies if your password is correct only at the time of login and only when the digest&#45;encryption of the password you enter at login matches the digest&#45;encryption in the database. So your password is never seen in plain&#45;text and it is impossible for a human to that&#8217;s already encrypted.


So, the only way to know your password is by getting it from you making you type or say in places other than FaceBook.com.&amp;nbsp; Do you disagree?</description>
      <dc:subject>News</dc:subject>
      <dc:date>2010-04-10T08:09:01+00:00</dc:date>
    </item>

    <item>
      <title>View In Browser/Browse with key shortcut &#45; alternative for Ctrl+F5</title>
      <link>http://sheriff.netrcs.com/blog/site/view-in-browser-browse-with-key-shortcut-alternative-for-ctrlf5/</link>
      <guid>http://sheriff.netrcs.com/blog/site/view-in-browser-browse-with-key-shortcut-alternative-for-ctrlf5/#When:05:13:00Z</guid>
      <description>At work I use Visual Studio 2008 for web development.&amp;nbsp; I do not always like the Ctrl+F5 option, since it opens up my default browser (in my case, Google Chrome).&amp;nbsp;   Same is the case with, &#8220;View in Browser&#8221; from the solution explorer.&amp;nbsp; But then sometimes I want to start the page in Firefox or IE for cross browser unit testing.&amp;nbsp; This is where I like the &#8220;Browse with...&#8221; option in the solution explorer.&amp;nbsp; If you are like me who uses this option quite frequently and want to save a few mouse clicks, go to Tools&#45;&gt;Options&#8230; Environment&#45;&gt;Keyboard (make sure &#8220;Show all settings&#8221; is checked) and type in &#8220;File.BrowseWith&#8221; in the show commands containing filter and assign a nice keyboard shortcut.&amp;nbsp; You may also notice that File.ViewInBrowser already has a keyboard shortcut of Ctrl+Shift+W &#45; I saw this to be redundant.&amp;nbsp; So I removed the shortcut for this and assigned this to File.BrowseWith.&amp;nbsp; Now everytime I make changes to a .aspx file, I hit Ctrl+Shift+W to choose to browse in the browser I want to test!</description>
      <dc:subject></dc:subject>
      <dc:date>2010-02-11T05:13:00+00:00</dc:date>
    </item>

    <item>
      <title>JavaScript Class Template for Object Oriented People</title>
      <link>http://sheriff.netrcs.com/blog/site/javascript-class-template-for-object-oriented-people/</link>
      <guid>http://sheriff.netrcs.com/blog/site/javascript-class-template-for-object-oriented-people/#When:06:03:01Z</guid>
      <description>JavaScript, being a dynamic language, does have all those Object Oriented Paradigms and following is the template that I use to write my JavaScript classes.



function MyClass() { // MyClass = function() won&#8217;t work

	

	var p = &#8220;&#8221;;

	

	function a() {

		alert( p );

	};


	//

	MyClass.prototype.test = function( s ){

		p = s;

		a()

	};


}; // End of Class: MyClass //



Usage of MyClass:




var x = new MyClass();

x.test(&quot;Hello World!&quot;);



As you can note, we have a public method: test(), a private method a() and also, a private variable: p.



Here is another interesting syntactic sugar for writing a public method:



function MyClass() { // MyClass = function() won&#8217;t work

	

	var method=MyClass.prototype;


....

....


	method.test = function( s ){

		p = s;

		a()

	};

....

}



So, what is stopping us from writing JavaScript the OO way?</description>
      <dc:subject></dc:subject>
      <dc:date>2010-01-18T06:03:01+00:00</dc:date>
    </item>

    <item>
      <title>A portable development web server &#45; Lighty2Go &#45; Wow</title>
      <link>http://sheriff.netrcs.com/blog/site/a-portable-web-server-lighty2go-wow/</link>
      <guid>http://sheriff.netrcs.com/blog/site/a-portable-web-server-lighty2go-wow/#When:21:07:01Z</guid>
      <description>I was just wondering if I could get a portable version of lighttpd but Google gave me more than I asked for. A complete stack of Lighty (lighttpd web server), MySQL, PHP on windows, given away free, again!


Just wow.&amp;nbsp; Here is where you get it: http://lighty2go.com/</description>
      <dc:subject></dc:subject>
      <dc:date>2009-02-06T21:07:01+00:00</dc:date>
    </item>

    <item>
      <title>Just Got Subversion installed on my Host Monster account (svn+ssh)</title>
      <link>http://sheriff.netrcs.com/blog/site/just-got-subversion-installed-on-my-host-monster-account-svnssh/</link>
      <guid>http://sheriff.netrcs.com/blog/site/just-got-subversion-installed-on-my-host-monster-account-svnssh/#When:01:02:01Z</guid>
      <description>Thanks to Jonathan Booth for hosting the following file with bells, whistles and SEO support.&amp;nbsp; This helped me get Subversion installed, up and running on my HostMonster account for netrcs.com


http://sharpstep.com/cgi&#45;bin/code2html?filename=Articles/HostMonster&#45;svn/svn&#45;install.sh


Most of all the create svn user shell script is the best piece!


Later, the following section educated me a few things on how Putty, .ppk file, Subversion/config file, TortoisePlink and an empty passphrase &#8212;all play a significant role in setting up a smooth svn+ssh:// access.

http://www.sharpstep.com/Articles/HostMonster&#45;svn/#client_install


I&#8217;m very excited with the value&#45;additions SVN will give me in the development of my current project: TakeMyScreen.com


Right now, I&#8217;m looking for a way to change the svn+ssh:// based access to https://  &#45;  That would be lovely, won&#8217;t it?</description>
      <dc:subject></dc:subject>
      <dc:date>2009-02-05T01:02:01+00:00</dc:date>
    </item>

    <item>
      <title>What I wrote to myself to keep motivated</title>
      <link>http://sheriff.netrcs.com/blog/site/one-liner-on-success/</link>
      <guid>http://sheriff.netrcs.com/blog/site/one-liner-on-success/#When:10:49:00Z</guid>
      <description>See every step in detail on a new path to success, listen every words of your master on a path he went through, get up and run so you are sure you are making real success and not just dreaming.</description>
      <dc:subject>News</dc:subject>
      <dc:date>2009-01-26T10:49:00+00:00</dc:date>
    </item>

    <item>
      <title>WSS 3.0: Where are my custom fields in the new, edit and display forms of a list?</title>
      <link>http://sheriff.netrcs.com/blog/site/wss-30-where-are-my-custom-fields-in-the-new-edit-and-display-forms-a-list/</link>
      <guid>http://sheriff.netrcs.com/blog/site/wss-30-where-are-my-custom-fields-in-the-new-edit-and-display-forms-a-list/#When:00:20:01Z</guid>
      <description>The Problem
Last week, I was doing a self study on WSS, SharePoint Designer 2007 and their relatives, for one of our internal requirements.&amp;nbsp; With only a few customizations needed, there was one piece where WSS really got me mad.&amp;nbsp; For our internal Project Management Office dashboard, we created a great WebPart thats pulls custom field values created in the Projects List.&amp;nbsp; Creating Custom Fields are very straight forward and designing a DataViewWebPart (DVWP for short) in SharePoint Designer 2007 is much fun too.&amp;nbsp; But then, the custom fields that I created did not make their way to the View/Edit forms of the list (DispForm.aspx and EditForm.aspx respectively).


I fired open SharePoint Designer 2007 only to find that the ListFormWebPart is rendered at runtime that it doesn&#8217;t allow you to edit from within SharePoint Designer 2007.&amp;nbsp; That is disallowed at designed.&amp;nbsp; Either have it embedded in there or delete it entirely.&amp;nbsp; I was also not comfortable with using Custom List Web Part, as I expected SharePoint to detect the fields while I design it.


I wanted to test this behaviour for other lists as well.&amp;nbsp; I added a new custom field and I was able to see my new custom field work in the display and edit pages for all other normal lists.&amp;nbsp; But it didn&#8217;t make any sense on why custom fields don&#8217;t appear for &#8220;Projects List&#8221;.&amp;nbsp; Where are my custom fields gone from the display, new and edit pages?


As I was also working on a few customizations to documents related to the project, spending a few hours on webcasts, articles, research and all the possible distractions, I found that &#8220;Content Types&#8221; were a pretty interesting concept.&amp;nbsp; Only then i recollected seeing this term elsewhere.&amp;nbsp; In one of my attempts to duplicate the frozen WebPart, I made use of what is known as the &#8220;Custom List Web Part&#8221; that asked for three inputs:&amp;nbsp; 1) The List, 2) List Content Type and 3) an option group for new / edit / display.


Getting back to doing the same, I figured that &#8220;Project&#8221; was listed (the only item listed) in the Content Type drop down of that dialog.&amp;nbsp; The question is where are these Content Types coming from.

The solution

OK, let&#8217;s jump right into the solution.&amp;nbsp; To get your custom fields show up on some of the list that don&#8217;t behave as you expected in regards to the custom field, the first thing you need to check and conclude is the Content Type attached to this list.&amp;nbsp; Content Types are site level columns definitions for consistent use in your lists throughout the site.&amp;nbsp; They provide a great abstraction to enforce consistency in the field design of your lists and workflows.


To check and redefine the content type attached to your list, get to your list and do the following:


List Settings&#45;&gt;Advanced Settings : Turn on Allow management of content types.&amp;nbsp; (it&#8217;s turned off by default).


Click OK to get back to the list.&amp;nbsp; You should now see the section: Content Types.&amp;nbsp; In that section you should see at least one content type (in my case, it was &#8220;Project&#8221; as I was using a &#8220;Projects List&quot;).&amp;nbsp; Now this Content Type has a few column definitions and since this is the default content type for my list, the display, new and edit pages have dutifully obliged to restrict to only those column definitions. *Sigh*. Now go ahead and click to edit your content type and you should see options to add columns from existing column definitions.&amp;nbsp; TADA! and your next screen should have all your great custom fields (or columns) ready to be added as part of this content type.&amp;nbsp; If you do not like to tamper with the site wide content type, go ahead and create one, but remember, the new content type must manually be set as your default content type in order for display, new and edit pages to work.


Here is a good link I later found on this issue:&amp;nbsp; http://office.microsoft.com/en&#45;us/sharepointserver/HA101106061033.aspx


Hope this helps!


&#45;&#45;&#45;&#45;&#45;&#45; Other links &#45;&#45;&#45;&#45;


http://msdn.microsoft.com/en&#45;us/library/microsoft.sharepoint.spweb.availablecontenttypes.aspx

andrew_may&#8217;s &#8220;SharePointBeta2WhatAreContentTypes&#8221;

cliffgreen&#8217;s sharepoint&#45;webs&#45;web&#45;service&#45;createcontenttype&#45;and&#45;updatecontenttype


http://msdn.microsoft.com/en&#45;us/library/aa543576.aspx

http://msdn.microsoft.com/en&#45;us/library/lists.lists.createcontenttype.aspx</description>
      <dc:subject></dc:subject>
      <dc:date>2008-08-02T00:20:01+00:00</dc:date>
    </item>

    <item>
      <title>Ajane! A new way to develop if you are planning on a Web 2.0 site</title>
      <link>http://sheriff.netrcs.com/blog/site/ajane-a-new-way-to-develop-if-you-are-planning-on-a-web-20-site/</link>
      <guid>http://sheriff.netrcs.com/blog/site/ajane-a-new-way-to-develop-if-you-are-planning-on-a-web-20-site/#When:17:20:00Z</guid>
      <description>Why wouldn&#8217;t anyone come up something beyond Orbited.&amp;nbsp; Ajax and Comet have emerged to take over the Operating System platform.&amp;nbsp; Now one of the neat challenges in any lively business application, for that matter, is the networking possibilities and speed.&amp;nbsp; Due to issues such as Cross&#45;site scripting, Ajax Architectural expertise, only a few Web 2.0 applications score over others.&amp;nbsp; Sites like LinkedIn, Meebo and a few more sites not mentioned here have a slick integration of Ajax but had there been a technology for the Web to contact as smoothly like any other Networking Chat application could, the Web 2.0 world would be full of great Social networking apps.


Ajane comes to the rescue.&amp;nbsp; Ajane will change the way you develop Web 2.0 sites that need communication to a Live TCP server, giving a different perception with just your existing, HTML, JavaScript/JQuery skills.&amp;nbsp; Suddenly, your small Web app could contact an IRC server from the browser without going through your own server.&amp;nbsp; With a good designer, (or an ExtJS developer), you could come up with a great Chat application with Ajane doing the networking work for you. Exciting and Enthralling to me!


More updates to Ajane are on the way. Look out!</description>
      <dc:subject></dc:subject>
      <dc:date>2008-07-19T17:20:00+00:00</dc:date>
    </item>

    
    </channel>
</rss>
