Sashidhar Kokku

.NET and beyond...

<September 2008>
SuMoTuWeThFrSa
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011


Navigation

Blogs I visit...

Subscriptions

News

http://www.csthota.com/blogmap/ Listed on BlogShares Terror Alert Level TestDriven.NET Blogwise - blog directory

Post Categories



Moving to my own site (and blog)
Finally decided to get my own website and blog on Community Server 2.1. Please update your bookmarks to http://community.dynacx.com/blogs/sashidhar Thanks to all for their support at DNJ.

posted Sunday, October 29, 2006 1:46 PM by sskokku with 0 Comments

Me...moving.

Well... was in the cards.... too much spam on this weblog...and moreover, too many errors. My new weblog is

http://devauthority.com/blogs/sskokku

Will try and remember to cross-post for a while..

Wanted to thank the guys at DNJ for their support.

-S

posted Friday, July 01, 2005 11:10 AM by sskokku with 0 Comments

SQL Server 2000 vs Oracle.

 I started off my career supporting MS all the way......basically am still in the same team. But apparently, and again....most of the big service companies(eg.insurance, healthcare,etc) turn in a sad face when they are told that their data will be hosted on SQL Server 2000. For some reason, they still think that only DB2 or Oracle are qualified enough to even think of hosting so much data. Honestly, I am not biased, I don't know too much of Oracle....and know nothing in DB2....but know a decent length in SQL server 2k.

    And just when I started to read up on SQL server 2005, and try to convince my boss to implement it as soon as it releases, the management decides that all data from now on will be hosted on Oracle (hosted in a linux environment). damn...i hate linux soo much from a developer's perspective.

Ah well...stole a PL/SQL book from my collegue, got to start reading up on it now.

 

posted Friday, June 24, 2005 10:42 AM by sskokku with 0 Comments

Bugs






posted Monday, June 13, 2005 5:25 AM by sskokku with 0 Comments

Laws of Software Engineering....
Law 1.Every Software Engineer continues his state of chatting or forwarding mails unless he is assigned work by manager. Law 2. The rate of change in the software is directly proportional to the payment received from client and takes place at the quick rate as when deadline force is applied. Law 3. For every Use Case Manifestation there is an equal but opposite Software Implementation. Bonus :-) Law 4. Bugs can neither be created nor be removed from software by a developer. It can only be converted from one form to another. The total number of bugs in the software always remains constant.

posted Sunday, June 12, 2005 7:38 PM by sskokku with 0 Comments

Good ol' times
Ever wondered how www.yahoo.com looked like back in 1996..... or maybe how hotmail looked when it first came? Check this out : http://web.archive.org/collections/web.html

posted Saturday, May 28, 2005 5:03 AM by sskokku with 1 Comments

Nifty add-in suite.

Was considering tools like Refactor, CodeRush, etc...until I decided to develop all those add-in's myself. After a few weeks of frustration, and scanning the google radar for some tutorials, examples, I bumped into this.Free Add-In suite from USystWare. Nifty tools.....and obviously cannot beat FREE....

 

posted Thursday, May 26, 2005 6:49 AM by sskokku with 1 Comments

XP...now....XI

http://en.wikipedia.org/wiki/Extreme_Ironing

 via (http://channel9.msdn.com/ShowPost.aspx?PostID=70672)

posted Wednesday, May 25, 2005 6:53 AM by sskokku with 1 Comments

Reduce FxCop errors by using Custom Dictionaries.
Often there comes a time, when you really want to use FxCop as is, but keep getting annoyed with its stupid issues about spelling out the variable names properly. Some organizations want to use a "m" suffix for member data, and a "p" suffix for method parameters, and FxCop keeps yelling at that library...so...how do we overcome that ...well....to a certain extent? Create a custom dictionary !!!
  • Open MS word
  • Type in all the words you want to use in code into the dictionary, eg, company name, technology name.
  • Obviously MS Word will start yelling at you for these words don't make any sense.
  • Right click on them , and say "Add to dictionary"
and tadaaa....you are all set. Now, if you try to run FxCop on your existing code, it will complain less.

posted Monday, May 23, 2005 9:01 PM by sskokku with 0 Comments

Chinese whisper in an organization....
Engineer to Team Leader :
"We can't do this proposed project.**CAN NOT**. It will involve a major design change and no one in our team knows the design of this legacy system. And above that, nobody in our company knows the language in which this application has been written. So even if somebody wants to work on it, they can't. If you ask my personal opinion, the company should never take these type of projects."
Team Leader to Project Manager :
"This project will involve a design change. Currently, we don't have any staff who has experience in this type of work. Also, the language is unfamiliar to us, so we will have to arrange for some training if we take this project. In my personal opinion, we are not ready to take on a project of this nature."
Project Manager to 1st Level Manager :
"This project involves a design change in the system and we don't have much experience in that area. Also, not many people in our company are appropriately trained for it. In my personal opinion, we might be able to do the project but we would need more time than usual to complete it."
1st Level Manager to Senior Level Manager :
"This project involves design re-engineering. We have some people who have worked in this area and others who know the implementation language. So they can train other people. In my personal opinion we should take this project, but with caution."
Senior Level Manager to CEO :
"This project will demonstrate to the industry our capabilities in remodelling the design of a complete legacy system. We have all the necessary skills and people to execute this project successfully. Some people have already given in house training in this area to other staff members. In my personal opinion, we should not let this project slip by us under any circumstances."
CEO to Client :
"This is the type of project in which our company specializes. We have executed many projects of the same nature for many large clients. Trust me when I say that we are the most competent firm in the industry for doing this kind of work. It is my personal opinion that we can execute this project successfully and well within the given time frame."

posted Saturday, May 21, 2005 10:59 AM by sskokku with 2 Comments

A programmer
Image Hosted by ImageShack.us

posted Wednesday, May 18, 2005 7:51 PM by sskokku with 1 Comments

How do I associate an icon with my webpage? (called 'Favicon')
It's a new interesting feature of the Microsoft Internet Explorer 5.0 called 'Favicon'. Associate an icon with your homepage now. If somebody adds your page to his favorites, IE will access the file favicon.ico in the root folder of your domain and a small icon appears in his favorites list. The same icon is used, if you drag and drop the URL to your desktop. Example: You have a Geocities Page. Then you'll need a Windows Icon File, just name it favicon.ico and place it in your Homepage directory. Then add a line like
<LINK REL="SHORTCUT ICON" href="/Area51/Home/6512/favicon.ico">
in the <head> ... </head> section of your Homepage. It's very important to include the whole directory relative to the root of the webserver. If you don't use the LINK REL method, IE will automatically use the file: http://www.yourdomain.com/favicon.ico -
Read the MS documentation here. Some people reported me, there are a few bugs in the IE 5, in some cases the icons dissapear from their favourites list (see next question). More infos on Favicons on favicon.com or favicon.de.

(via http://www.iconarchive.com/html/faq.html )

Did not check this to work yet...but am certain to put it up on my site.

posted Wednesday, May 18, 2005 1:23 PM by sskokku with 2 Comments

Note to self : Adding path information to Windows environment variables.

1. Create a <applicationName>.bat file
2. In the edit mode, enter the direct path to the executable.
 (eg) C:\Program Files\nAnt\bin\nAnt.exe
3. Save and close the file and store it under the C:\Windows folder.
4. Open the command prompt window, and type in the batch file name to access the program.

posted Tuesday, May 17, 2005 5:07 PM by sskokku with 2 Comments

Add CommandPrompt to the context menu.

A how-to note to self.

1. In explorer, open Tools, Folder Options.

2. Select the File Types tab.

3.For Windows XP: Go to NONE / Folder.

  For Windows 2000: Press n to scroll to the N/A section.

  For Windows NT/98/95: Press f to scroll to the Folders section.

4.Select the entry labeled Folder

5.For Windows 2000/XP: Press Advanced button.

  For Windows NT/98/95: Press Edit button.

6. Select New

7. In the action block type "Command Prompt" without the quotes.

8. In the app block type "cmd.exe" without the quotes.

9. Save and exit Folder Options.

10. Close that instance of Explorer window and open a new one.

posted Tuesday, May 17, 2005 4:51 PM by sskokku with 3 Comments

How a machine thinks....
Seriously...i will never regret loosing to a machine. http://turbulence.org/spotlight/thinking/chess.html

posted Thursday, May 05, 2005 4:19 PM by sskokku with 1 Comments

War of the Brands...err...companies....err..whatever.

“Reserve urs first...use it later...“ the new mantra when a new service is offered for free...

I got my first email account sometime in 1997. Well....at that time, internet was a luxury....and we simply could not afford browsing...and most of my fellow neighbours being my dad's collegues, things were no different for them either. Just as expected, when I tried to get my name in my email id, it was not available. Saddened, I went for the first suggestion the system gave me...sashi_k33. Now, that was hotmail in 1997. Soon after I got my hotmail id, luckily, things started to get cheaper, and I could afford having an account with my local ISP. Then came the famous yahoo....and same problem. Could not get my name. I then decided to have my yahoo id ....similar to my hotmail id.....and in a way easy to remember. All said and done, I was happily using my 2mb and 4mb with too much to spare (in the good old less-spam-ful days). As time passed, my knowledge started to increase .....and so did my web presence. I then managed to get a few other email accounts with my name....from hotmail and yahoo....( yeah...this time i used my full name...nothing to beat that)...and was glad... next msn started coming out with xxx@msn.com....and I jumped in and got my full name @ msn.com just so that i dont loose that and regret later. Then came gmail...same thing. Just when I thought that my battle with email clients was done.....then came website addresses.....domain names.....same shit...different place. I could not get my name....was not interested...but whatever I thought was cool and wanted it as a domain name...was taken. Well...fine...its taken....is there a web-site with that name....NO....same blank page 3 years back....and the same now.
Well..well..fine....then came blogs...."the latest revolution"......same shit. Off late....I start to hear news that states.... " MSN spaces fills up 1.5 million accounts in less than 1.5 months..."....ya...i was responsible for one of those 1.5 million accounts....i got the one with my name. And yeah..i have a dotnetjunkies acct, 2 blogger accts and now...a msn spaces acct. Wonder how many more are like me.... Alteast I am making an honest attempt to make use of all I have.....different purposes for each blog though....and keep updating them as much as I can....nevermind me...what abt u?

posted Monday, April 25, 2005 10:21 AM by sskokku with 3 Comments

Weird comments...
This is completely weird.... I suddenly have 2 comments added to every post of mine....and it is from the same person. I dunno if it is Chinese or Japanese...but whatever...one of them. Anyone else having those two comments. And the link goes to some electronics store.

posted Saturday, April 16, 2005 8:00 PM by sskokku with 5 Comments

Off topic.... Pictures....
Ok.....this is completely off-topic. Just wanted to share this site with u ppl. http://simplypictures.blogspot.com

posted Saturday, April 16, 2005 7:58 PM by sskokku with 5 Comments

Disabling performance counters for Enterprise Library 1.0

Ok...that title was a bit misleading....however....I am not alone when I say that I have had trouble integrating my web-applications successfully with E.Lib 1.0 and deploying them on a win 2003 server. Each time, they just give me errors of the weirdest nature. Most of my googling led to making some registry settings and using the “Install Services“ feature.

While there is no “switch” or “config” element that i cud change to enable or disable the performance counters....there certainly is an alternate way....just dont have them at all in ur EntLib. That would mean... No more instrumentation options..... No more perfomance logging....etc.In a way, I think it speeds up your application....

Cutting to the chase.....we need to recompile the whole Enterprise library with these options disabled. So..herez what I managed to do...went through the source code of the libraries....and found a few parameters set up in the build config that when changed could dothe trick just fine.

1. Open Start->programs->MS Patterns and Practices -> Ent Lib -> App Blocks -> Ent Lib.Sln.

2. Take your own sweet time to minimize all the folder(s) in ur solution window.

3. Rt Clk on the “Common” project and go to “Properties”

4. In the “Configuration Properties” go to the “Build” option.

5. In the Conditional Build section of the property grid, remove everything except “DEBUG;TRACE”

6. Close everything and recompile.

    Remember...on compilation nothing will go to your common bin folder. I just plainly used the “Copy Assemblies to bin directory” option in my Start->programs->MS Patterns and Practices -> Ent Lib  part of my menu.

 

Now...just to be sure....de-reference your existing references to the entlib and add references again.....and woala.....you are done.

I tried installing the recompiled version on windows 2003 server and ran my web apps from there...(using mostly the data access block and the config block) and so far it works like a charm.

posted Friday, March 25, 2005 6:39 AM by sskokku with 1 Comments

Question on DevExpress ASPxGrid.

For anyone who has used DevExpress's ASPxGrid. (the latest version)

My aspx webpage has 2 components...a menu component and the ASPxGrid component.
The idea is...whenever I click on my menu item, the datagrid should be filled up with new data from different tables based on the menu-item clicked.

But, whenever I do that, the grid control is not being rendered completely. This seems to be a problem with the way ASPxGrid handles postbacks...

Anyone help on this would be highly appreciated.

posted Wednesday, March 23, 2005 10:41 AM by sskokku with 5 Comments




Powered by Dot Net Junkies, by Telligent Systems