Dev Notes

Suspended Indefinetly...

News

<script type="text/javascript"><!-- google_ad_client = "pub-9887566656700242"; google_ad_width = 120; google_ad_height = 600; google_ad_format = "120x600_as"; google_ad_type = "text"; //2006-12-28: Savvy google_ad_channel = "6620623950"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <script type="text/javascript"><!-- google_ad_client = "pub-9887566656700242"; google_ad_width = 120; google_ad_height = 60; google_ad_format = "120x60_as_rimg"; google_cpa_choice = "CAAQxZqazgEaCMOiwb9yonQWKIHD93M"; google_ad_channel = ""; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>

Favourites

Friends

India MVP & CS

My Blog Roll

Publicity

September 2003 - Posts

Play Regex

Found this interesting post today

 

Enabling auto complete in command line...

I am wondering why Microsoft make some cool features to enabled only by tweaking the registry???

Here it goes...(from Srinivas's Java blog)

Enable-AutoComplete Feature In Command Line


change registry by using regedit. If you have XP you can do this also by using powertoys (tweakxp)

HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Command Processor

Right click on CompletionChar
DWORD change that to 9

restart and you are done. Pressing tab in the command line can complete the next match of the command that you are typing.

Desiging a blog system from scratch using ASP .NET - MSDN Mag

This month's MSDN Mag discussed about how to design a blog system...

http://msdn.microsoft.com/msdnmag/issues/03/10/Blogging/default.aspx

SOA Links

Got these from my fellow MVP Narayan...It remembered me my old project KeyPrep and Integrated Architecture Platform (IAP.NET)..

1. http://www.cbdiforum.com/report.php3?topic_id=2
2. http://www.serviceoriented.org/service_oriented_architecture.html
3. http://www.zapthink.com/
4. http://looselycoupled.com
5.
http://www.service-architecture.com/
6
. http://www.2gamma.com/en/produit/soa

Implementing HashTable in JavaScript

I found this as very usefull. Excellent work..

/**
    Created by: Michael Synovic
    on: 01/12/2003
   
    This is a Javascript implementation of the Java Hashtable object.
   
    Contructor(s):
     Hashtable()
              Creates a new, empty hashtable
   
    Method(s):
     void clear()
              Clears this hashtable so that it contains no keys.
     boolean containsKey(String key)
              Tests if the specified object is a key in this hashtable.
     boolean containsValue(Object value)
              Returns true if this Hashtable maps one or more keys to this value.
     Object get(String key)
              Returns the value to which the specified key is mapped in this hashtable.
     boolean isEmpty()
              Tests if this hashtable maps no keys to values.
     Array keys()
              Returns an array of the keys in this hashtable.
     void put(String key, Object value)
              Maps the specified key to the specified value in this hashtable. A NullPointerException is thrown is the key or value is null.
     Object remove(String key)
              Removes the key (and its corresponding value) from this hashtable. Returns the value of the key that was removed
     int size()
              Returns the number of keys in this hashtable.
     String toString()
              Returns a string representation of this Hashtable object in the form of a set of entries, enclosed in braces and separated by the ASCII characters ", " (comma and space).
     Array values()
              Returns a array view of the values contained in this Hashtable.
           
*/
function Hashtable(){
    this.clear = hashtable_clear;
    this.containsKey = hashtable_containsKey;
    this.containsValue = hashtable_containsValue;
    this.get = hashtable_get;
    this.isEmpty = hashtable_isEmpty;
    this.keys = hashtable_keys;
    this.put = hashtable_put;
    this.remove = hashtable_remove;
    this.size = hashtable_size;
    this.toString = hashtable_toString;
    this.values = hashtable_values;
    this.hashtable = new Array();
}

/*=======Private methods for internal use only========*/

function hashtable_clear(){
    this.hashtable = new Array();
}

function hashtable_containsKey(key){
    var exists = false;
    for (var i in this.hashtable) {
        if (i == key && this.hashtable[i] != null) {
            exists = true;
            break;
        }
    }
    return exists;
}

function hashtable_containsValue(value){
    var contains = false;
    if (value != null) {
        for (var i in this.hashtable) {
            if (this.hashtable[i] == value) {
                contains = true;
                break;
            }
        }
    }
    return contains;
}

function hashtable_get(key){
    return this.hashtable[key];
}

function hashtable_isEmpty(){
    return (parseInt(this.size()) == 0) ? true : false;
}

function hashtable_keys(){
    var keys = new Array();
    for (var i in this.hashtable) {
        if (this.hashtable[i] != null)
            keys.push(i);
    }
    return keys;
}

function hashtable_put(key, value){
    if (key == null || value == null) {
        throw "NullPointerException {" + key + "},{" + value + "}";
    }else{
        this.hashtable[key] = value;
    }
}

function hashtable_remove(key){
    var rtn = this.hashtable[key];
    this.hashtable[key] = null;
    return rtn;
}

function hashtable_size(){
    var size = 0;
    for (var i in this.hashtable) {
        if (this.hashtable[i] != null)
            size ++;
    }
    return size;
}

function hashtable_toString(){
    var result = "";
    for (var i in this.hashtable)
    {     
        if (this.hashtable[i] != null)
            result += "{" + i + "},{" + this.hashtable[i] + "}\n";  
    }
    return result;
}

function hashtable_values(){
    var values = new Array();
    for (var i in this.hashtable) {
        if (this.hashtable[i] != null)
            values.push(this.hashtable[i]);
    }
    return values;
}

 

ASP.NET Page's Life

From 15 seconds...

 

What is the Most Attacked Server OS ???

Here it is...

http://www.internetnews.com/dev-news/article.php/3076701

 

Mystic Microsoft

Spiritual Transformation in the halls of high Technology.
An Online book from former MS Developer

http://www.anandasangha.net/mysticmicrosoft/index.htm

Bill Joy leaves Sun.

“The Edison of Internet” (Forbes) leave sun.

http://www.theregister.co.uk/content/4/32732.html 

Right decision at right time ??? ;)

Security Blogs at GDN

http://blogs.gotdotnet.com/ivanmed/

http://blogs.gotdotnet.com/gregfee/

Need to ramp up these on some weekend :)

More Posts Next page »