Sunday, April 27, 2008

Sirko Topi - Various Artist

Labels: ,

gaye mera ganja khane haru

Labels: ,

Friday, April 25, 2008

NRDB: Quality Requirements and Architecture

This presentation and document was presented for course Architecture in System and Software Development.

Norwegian Road Database (NRDB) Architecture presents a architectural solution to NRDB depending upon explored quality requirements.




Please read the complete report here (http://docs.google.com/Doc?id=dc6rq38g_232z2xxwgw).

Labels: , ,

Tuesday, April 22, 2008

Hilarious iMac G4

very good advertisement concept !! I like it !!

Labels: , ,

Friday, April 18, 2008

Consistency Testing in UML Diagrams




If you want to read the full document, click here (http://docs.google.com/Doc?id=dc6rq38g_81f64dndf6)

Following is the extract from the document:

The development of complex and huge applications has exponentially increased during last few years. This trend has demanded to solve the need of more and more complex design issues with the help of UML. The risk of higher number of inconsistencies and deficiencies has been increased despite of various efforts to minimize them. This report presents the intermediate results of a research carried out to analyze different tools and principles for consistency checking and recommend an optimal consistency checking model for UML diagrams. This document describes consistency issues and analyses some of the existing consistency checking tools and principles. The research will explore the probability of optimizing XMI definitions in order to use them for inconsistency testing.

Labels: , ,

Thursday, April 17, 2008

Nepali Folk Music Gaijatra version

Labels: ,

Daily Video News April 17 2008

Labels: ,

Wednesday, April 2, 2008

Trimming in Javascript using Regex

Javascript Trim Member Functions
Still confused of how to trim unwanted spaces in a HTML form? Today, Use the code below to make trim a method of all Strings. These are useful to place in a global Javascript file included by all your pages.

String.prototype.trim = function() {
return this.replace(/^\s+|\s+$/g,"");
}

String.prototype.ltrim = function() {
return this.replace(/^\s+/,"");
}

String.prototype.rtrim = function() {
return this.replace(/\s+$/,"");
}

// example
var myString = " hello world ";
alert(myString.trim());



Javascript Trim Stand-Alone Functions
If you prefer not to modify the string prototype, then you can use the stand-alone functions below.
      function trim(stringToTrim) {
return stringToTrim.replace(/^\s+|\s+$/g,"");
}

function ltrim(stringToTrim) {
return stringToTrim.replace(/^\s+/,"");
}

function rtrim(stringToTrim) {
return stringToTrim.replace(/\s+$/,"");
}

// example
var myString = " hello world ";
alert(trim(myString));

Source : http://www.somacon.com/p355.php

Labels: ,


hit counter
free web counter