While there are no excuses for a buggy code in our websites, sometimes error do creep in. To avoid this from displaying in your browser console, you can use a java script code like this: function HideErrorMessages() { return true; } window.onerror = HideErrorMessages; This will hide any error notice from your website visitors. Let […]

# Author: Bhaskar

My name is Bhaskar. I am a CTO and a startup techno guy with 10+ years of experience startups.

Full-time coding in Python, React. Part-time coding in Haskell, Java, C.

Scientifically interested in Music, BioInformatics, Linear Algebra, Category theory, Graph theory.

What excites me: anything that has the potential to disrupt the status quo.

Looking for technical support on a startup idea ?

write at : bhaskar {-at-} knowpapa.com

Strangely I could not find it anywhere on the net. I had to make this manually as an array. Here’s the array – to save you the labor :) The code has been taken from Paypal Objects – just in case you need to verify its correctness. Here’s the list : $countrylist = array ( […]

Want to develop a web browser in python – let me get you started with a small working prototype. This GUI interface done in Tkinter and uses the urllib module to get the URL data. The web browser currently looks like this: As you can see, the browser can read the contents of a site […]

[sdfrequencytable] Formula for Sample Data Formula for Population Data

The Free Green PSD Web Layout giveaway of the week by designer/author: Sangita Chaudhary License You are granted the use license which enables you to use this template FREE of charge. Because this is released under GPL, You can modify the theme in any way you like and even use it in commercial projects. Attribution […]

Enter one data set in the format x,y per line: For example: 4,5 5,6 8,7 3,4 5,11 11,13 14,11 Intercept(a): Slope(b): Line of Best Fit :(y=a+bx) About Linear Regression and Trend Line Formulating a equation for the line of best fit for two sets of variables allows us describe a relationship between the two variables expressed in the form of a […]

[truthtable] Use the following symbols: AND * OR + NOT – NOR # NAND $ XOR ^ IMPLIES => or <= BICONDITIONAL(iff) <=> You can assign complex statement to a variable with “:” operator. For example: t:x*(x+y) q:y+(x*y) and you can even perform operations on each of the new variables that you created. For example: […]

To convert numbers to equivalent Indian number system (Lakh, Crore Counting system) use the following converter. [indiannumtowords] Important Features: Now forget adding those ugly looking code into your excel sheet, never understanding what it does under the hood.The following converter can be used to convert unlimited number of numbers to words. Features include: 1) Can […]

Recently I needed to convert a series of currency numbers to words equivalent. Strangely Microsoft Excel does not have any in-built corresponding function to handle this. I wrote this code to get this done with support up to quintillion values. Now that should be sufficient for most of the cases. Truth be told, I could […]

Bond’s Face Value Coupon rate% Bond Purchase Price Maturity Value Term to maturity (yrs.) Yield to Maturity (YTM) (%) 1 Time Weighted Present Value of Coupon payments (A) 0.14463711368462775 Present Value of Maturity Amount (B) 5.374721077731093 Duration(A+B)(in yrs.) 5.51935819141572 Meaning that the price of the bond will decrease 5.52 % for a corresponding 1% increase […]