Archive for May 2010
INDIA: वन्दे मातरम्
वन्दे मातरम्
सुजलाम् सुफलाम् मलयजशीतलाम्
शस्य श्यामलाम् मातरम्
शुभ्र ज्योत्स्ना पुलकित यामिनीम्
फुल्ल कुसुमित द्रुमदलशोभिनीम्
सुहासिनीम् सुमधुर भाषिणीम्
सुखदाम् वरदाम् मातरम्
वन्दे मातरम्
सप्त कोटि कण्ठ कलकल निनाद कराले
निसप्त कोटि भुजैर्ध्रुत खरकरवाले
के बोले मा तुमी अबले
बहुबल धारिणीम् नमामि तारिणीम्
रिपुदलवारिणीम् मातरम्
वन्दे मातरम्
तुमि विद्या तुमि धर्म,तुमि हृदि तुमि मर्म
त्वम् हि प्राणाः शरीरे
बाहुते तुमि मा शक्ति
हृदये तुमि मा भक्ति
तोमारै प्रतिमा गडि मंदिरे मंदिरे
वन्दे मातरम्
त्वम् हि दुर्गा दशप्रहरणधारिणी
कमला कमलदल विहारिणी
वाणी विद्यादायिनी, नमामि त्वाम्
नमामि कमलाम् अमलाम् अतुलाम्
सुजलाम् सुफलाम् मातरम्
वन्दे मातरम्
श्यामलाम् सरलाम् सुस्मिताम् भूषिताम्
धरणीम् भरणीम् मातरम्
वन्दे मातरम्
INDIA: त्वमेव माता
त्वमेव माता च पिता त्वमेव
त्वमेव बंधू च सखा त्वमेव
त्वमेव विद्या द्रविणं त्वमेव
त्वमेव सर्वं मम देव देव
.NET: Starting Debug Web Server from the Command line
"C:\Program Files\Common Files\Microsoft Shared\DevServer\9.0\WebDev.WebServer.exe" /port:3200 /path:"c:\blabla\webroot" /vpath:"/" "C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.exe" /path:"C:\blabla\webroot" /port:3200 /vpath:"/"
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\shell\WebServer] @="Start Web Server here" [HKEY_CLASSES_ROOT\Directory\shell\WebServer\command] @="\"c:\\program files\\Common Files\\microsoft shared\\DevServer\\9.0\\WebDev.WebServer.exe\" /path:\"%L\""
MATH: Vedic Mathematics
General Rule: Multiplication of 2 digit numbers
To multiply: 23×45
 Multiply Least Significant Digits (Rightmost Digits) of both the numbers, 3×5 = 15
 Multiply Leftmost Digit of first number with Rightmost Digit of second number, 2×5 = 10
 Multiply Rightmost Digit of first number with Leftmost Digit of second number, 3×4 = 12
 Add the products obtained in previous 2 steps: 10+12 = 22
 Multiply Leftmost Digits of both the numbers, 2×4 = 8
 Now write down the digits from steps result:
 Write down rightmost digit of the product from step (A) as the rightmost digit, so “5”
 If the number in step (A) was a 2digits number, then carry over the the leftmost digit from it to the sum from step (D) [22+1=23], and write down the rightmost digit of this sum to the left of result from the previous step, “35”
 If there is any carry over from the previous step, add it to the product in step (E) [8+2=10], and write it to the left of the number in previous step, so “1035”.
Rule: Multiply 2 numbers that slightly less than 100
Rule: Multiply by 11
Rule: Subtracting a number from a power of 10, example 100, 1000, 10000, …
QUANT: Glossary
 Skews (Volatility Skews)
 Curves
 Convex Function

A function f is said to be Convex in an interval I if at any points :
A decent function (continuous and differentiable) will be convex if it lies at or above the tangents at any points on its curve
 Inflection Point
 Point where a curve/function changes from convex to concave (or vice versa)
 Hyperbola
 Curve obtained by slicing a cone with a plane VERTICALLY.
Asymptotes: a hyperbola has 2 asymptotes, lines that become tangent to the curve at infinity on the 2 sides of the hyperbola curve.
 Parabola
 Conic Sections
 Circle, Ellipse, Parabola, Hyperbola
General equation of a conic section:
Circle: . Note:
Ellipse: . Note:
Parabola: or . Note:
Hyperbola: or . Note:
Asymptotes: or ()  Spline
 Control points
 Taylor Series
 an infinite sum of terms calculated from the values of its derivatives at a single point
 Mean Reverting Process
 See Link to MeanReverting Process
TECH: Gang of Four (23 design patterns)
Creational Patterns (ABFPS)
 Abstract Factory Creates an instance of several families of classes
 Builder Separates object construction from its representation
 Factory Method Creates an instance of several derived classes (aka Virtual Constructor)
 Prototype A fully initialized instance to be copied or cloned
 Singleton A class of which only a single instance can exist
Structural Patterns (ABCDFFP)
 Adapter Match interfaces of different classes
 Bridge Separates an object’s interface from its implementation
 Composite A tree structure of simple and composite objects
 Decorator Add responsibilities to objects dynamically
 Facade A single class that represents an entire subsystem
 Flyweight A finegrained instance used for efficient sharing
 Proxy An object representing another object. Delegate to the “real” object.
Behavioral Patterns (CCIIMMOSSTV)
 Chain of Resp. A way of passing a request between a chain of objects
 Command Encapsulate a command request as an object
 Interpreter A way to include language elements in a program
 Iterator Sequentially access the elements of a collection
 Mediator Defines simplified communication between classes
 Memento Capture and restore an object’s internal state
 Observer A way of notifying change to a number of classes
 State Alter an object’s behavior when its state changes
 Strategy Encapsulates an algorithm inside a class
 Template Method Defer the exact steps of an algorithm to a subclass
 Visitor Defines a new operation to a class without change
QUANT: Mean Reverting Processes
Stochastic Differential Equation
 long term mean, m
 speed of reversion, k
 instantaneous volatility, v
Mean
Long term mean, for large t
Variance
Long term variance, for very large t