Wednesday, May 27, 2009

Book

ISBN-10: 0979777747
1 = sin(x) + cos(x)

1 = C/C (C ≠ 0) =>
1 = (1/C)*(C*sin(x) + C*cos(x)) =>
1 = (1/C)*(cos(a)*sin(x) + sin(a)*cos(x)) if C = sin(a) = cos(a)
=> 1 = tan(a)
=> a = π/4 as a possible solution
=> C = 1/sqrt(2)
=> 1 = sqrt(2)*(sin(x + π/4)) or 1/sqrt(2) = sin(x + π/4)

Friday, March 20, 2009

Again, it is time for some equinox.

Wednesday, March 04, 2009

The answer to "what makes something/someone be ..." is looking for symptoms, not causes; the answer to "what makes something/someone do ..." is looking for causes, not symptoms. For example, the answer to "what makes someone retarded" could be "low frustration tolerance" as opposed to "hitting your head against a wall too many times". The latter could indicate an initially high frustration tolerance, which then gradually lowered. For other symptoms, such as a tendency to acquiesce to the expectations and desires of others, see Switzky/Greenspan, "What is Mental Retardation?" [Google Book].

Tuesday, February 24, 2009

Probability
The conditional probability P(x|y) is the probability of some event x given the occurrence of some other event y.
The marginal probability P(x) is the unconditional probability of some event x.
Bayes' theorem states that P(x|y)*P(y) = P(y|x)*P(x) = P(x ∩ y).
See the wikipedia article for details.

See also: Sklar's Theorem about copulas, as well as the wikipedia article. A copula combines the marginal, univariate distributions of a multivariate distribution into that multivariate distribution.

Saturday, February 21, 2009

Tuesday, February 17, 2009

Sharing

Sharing (memory) is evil the enemy of scalability.

Monday, January 12, 2009

CWE-609

Double-Checked Locking - a common weakness, enumerated. The complete list can be accessed here.

Thursday, January 01, 2009

Monday, December 29, 2008

Gas Tax

According to wikipedia,
fuel taxes in Germany are €0.4704 per litre for ultra-low sulphur Diesel and €0.6545 per litre for conventional unleaded petrol, plus Value Added Tax (19%) on the fuel itself and the Fuel Tax.

1 US gallon happens to equal 3.78541178 litres. With an exchange rate of 1 Euro = 1.3949 U.S. dollars, this results in a fuel tax (not including the V.A.T.) of $2.4838(3943) / $3.4559(373) per gallon for diesel/unleaded fuel.

Tuesday, December 23, 2008

Posted by Picasa
Basis point

One basis point is one hundredth of a percent. 1 % = 100 bp. Or, equivalently, 1 bp = 0.01 %.

Monday, December 22, 2008

FICA tax

The FICA tax is the Federal Insurance Contributions Act tax. It is a payroll tax, funding Social Security and Medicare. More details can be found in this wikipedia article.

Tuesday, November 18, 2008

Strong typing

Another nail in the coffin of the weak typist. According to Coding Horror, typing is a core programming discipline. With weak typing skills, a possible recourse might be to use weakly typed languages, or to devote more time to planning before embarking on the next hunting and pecking expedition.
The formula for the amortization schedule payment mentioned in the annual percentage rate wikipedia article is derived in the amortization calculator wikipedia article.

Wednesday, November 12, 2008

Premature optimization and its relation to evil is discussed in a wikipedia article on optimization. Premature optimization may result in traversing many local extrema that turn out to be unacceptable, before reaching the global extremum (or an acceptable local extremum, or running out of time). What is being optimized is the time to execute a program, while neglecting the time it takes to develop it.

Wednesday, November 05, 2008

According to Paul Graham, The distinguishing feature of nasty little problems is that you don't learn anything from them. ... Working on nasty little problems makes you stupid. And this, in turn, makes you more qualified to work on more nasty little problems, resulting in an infinite regression.

Wednesday, October 29, 2008

Air quotes are typically double quotes, or possibly angle quotes (guillemets) according to wikipedia. It is not clear who invented air quotes, and how they relate to sign languages.

Thursday, October 23, 2008

According to Alan Greenspan, there could be
a flaw in the model that I perceived is the critical functioning structure that defines how the world works.
Would this be self-interest, which guarantees the best possible outcome?

Monday, October 20, 2008

The sentence What you are will show in what you do appears in "The Education of the Wage-earners" by Thomas Davidson (1840-1900). This is a quote commonly attributed to Thomas Alva Edison (1847-1931).
The Development of Thomas Davidson's Religious and Social Thought