Friday, December 22, 2006

Pursuit of Happyness

I am off to INDIA for the next three weeks. Would definitely post some pictures and experiences from there.


General
12/22/2006 11:07:46 PM (GMT Standard Time, UTC+00:00)  #  Comments [0] 
 Sunday, December 17, 2006

Pursuit of Happyness

There is an indian myth which says "you would never be happy by pursuing [objects] for happiness" It also add that "you are always pursuing same [objects] which comes in different forms - the real happiness is being peaceful with what you have". I am not a great believer in it. I always believed that is not for dreamers. But again but every now and then, you stop and

THINK ?

 


General
12/17/2006 11:35:39 PM (GMT Standard Time, UTC+00:00)  #  Comments [0] 
 Wednesday, December 13, 2006

Asp.Net FTP

This is why I love .Net.2.0. You can create a web application that can incorporate the FTP functionality. The base classes are

You can pretty much do almost all the functionalities that you normally do with a FTP client. Follow this link for an excellent artice explaining this

This article explains a windows application that something similar


ASP.NET
12/13/2006 5:29:27 AM (GMT Standard Time, UTC+00:00)  #  Comments [0] 
 Monday, December 11, 2006

T-SQL DateTime Manipulation - Compute First/Last Date

Scott Mitchell on Computing the First/Last Day of Month in SQL

http://sqljunkies.com/Article/6676BEAE-1967-402D-9578-9A1C7FD826E5.scuk  [thru Scott Mitchell]


General
12/11/2006 4:21:31 AM (GMT Standard Time, UTC+00:00)  #  Comments [0] 

Wishlist

i just own one laptop and that is my only toy to play with software. This sucks ;) i need another one to play with Vista, games etc, i atleast need to multiple monitors.

Video/mp3/fm  player. so now it is official that Zune sucks, now what :)

A cool CamCorder - i have multiple ones in my mind

PS3 -

Time - lots of time to read

Warm Weather in Wisconsin ? nah this is gonna put me in naughty list.

and am not telling the last one ;)


General
12/11/2006 4:16:30 AM (GMT Standard Time, UTC+00:00)  #  Comments [0] 

Asp.Net 2.0 IntegerParse - Int32.TryParse()

We always encounter having to convert a string to an integer. Most of us just unconsciously type in the following

int myNewInteger = Int32.Parse(string)

The problem with this approach is what if the value of notInteger is null or something not an "integer". So there comes the problem of handling the exceptions etc etc

So here comes the Int32.TryParse() method from our .Net Framework 2.0. It converts the string to an integer(32 bit signed) and also a return value indicating if the operation succeeded. This is pretty cool.

Check out the performance profiling of all the three parser methods Convert, parse and tryParse


ASP.NET
12/11/2006 3:15:37 AM (GMT Standard Time, UTC+00:00)  #  Comments [0] 
 Thursday, December 07, 2006

Amazon S3 (Backup Services)

Amazon Simple Storage Services(Backup Services ?) - thought this was yet another flash in the pan, dumb me. It looks pretty cool, nice pricing schemes, good API, free tools etc. Looks like I have found a place dump all my files i have been carrying around like for ever. I would follow up with once I get deep into it.


General
12/7/2006 6:11:48 AM (GMT Standard Time, UTC+00:00)  #  Comments [0] 

C# Arithmetic Overflow checked

The checked keyword is used to control the overflow-checking context for integral-type arithmetic operations and conversions


ASP.NET
12/7/2006 6:06:02 AM (GMT Standard Time, UTC+00:00)  #  Comments [0] 
 Thursday, November 30, 2006
 Sunday, November 26, 2006

GuidanceExplorer rocks

GuidanceExplorer is a great reference 

 


ASP.NET | SQL | XML
11/26/2006 6:55:52 AM (GMT Standard Time, UTC+00:00)  #  Comments [0] 
 Saturday, November 18, 2006

Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.

Please visit Kris's blog for detalied explanantion.

The brief summary 

First you'll need to open up SQL Server Configuration Manager. Navigate to that in the menu like Microsoft SQL Server 2005 > Configuration tools > SQL Server Configuration Manager.

Double click, or right click and choose Properties, of the selected line and you'll get the properties window

You'll need to make sure that the Local system is selected.

The second part of the solution's to delete the following folder on your hard drive: c:\Documents and Settings\[user]\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS(1). This folder's used to store information and apparently it messes up the proper working of SQL Express.


ASP.NET | General | SQL
11/18/2006 8:19:19 PM (GMT Standard Time, UTC+00:00)  #  Comments [1] 

Windows authentication in Firefox

Eric Wise has posted this cool tip on accessing windows authenticated sites in firefox

To enable windows authentication on your domain.

1. Open Firefox

2. Navigate to the url about:config

3. Locate the following preference names and put as the value the comma separated values of the address roots.

network.automatic-ntlm-auth.trusted-uris

network.negotiate-auth.delegation-uris

network.negotiate-auth.trusted-uris

Your value should look something like this: localhost,server1,server2,serverX


ASP.NET
11/18/2006 3:26:48 PM (GMT Standard Time, UTC+00:00)  #  Comments [10]