70% of Americans are sleep deprived

70 percent of Americans who the National Sleep Foundation estimates get less than the generally recommended eight hours of sleep per night

Tags: sleep statistics
Added: 2012-07-07T10:47:20Z by anders
sleep replacement drug

A nasal spray containing a naturally occurring brain hormone called orexin A reversed the effects of sleep deprivation in monkeys, allowing them to perform like well-rested monkeys on cognitive tests.

Tags: sleep drugs
Added: 2012-07-07T10:46:15Z by anders
fibonacci numbers can be computed by squaring a 2x2 matrix

[[Fn+1 Fn] [Fn Fn-1]] = [[1 1][1 0]]^n

Tags: algorithms matrices programming math fibonacci
Added: 2012-07-01T13:30:14Z by anders
cocaine is sold at a 50x markup

The Sinaloa cartel can buy a kilo of cocaine in the highlands of Colombia or Peru for around $2,000, then watch it accrue value as it makes its way to market. In Mexico, that kilo fetches more than $10,000. Jump the border to the United States, and it could sell wholesale for $30,000. Break it down into grams to distribute retail, and that same kilo sells for upward of $100,000

Tags: economics drugs cocaine
Added: 2012-06-16T20:19:37Z by anders
bank robberies don't yield much money

the average heist in the States only nets $4,330.00

Tags: economics crime
Added: 2012-06-14T23:24:58Z by anders
Texas sharpshooter fallacy

The name comes from a joke about a Texan who fires some shots at the side of a barn, then paints a target centered on the biggest cluster of hits and claims to be a sharpshooter

Tags: perception statistics fallacy
Added: 2012-06-03T17:29:39Z by anders
Fusiform face area

a part of the human visual system which might be specialized for facial recognition,

Tags: perception psychology
Added: 2012-06-03T17:26:54Z by anders
Apophenia

the experience of seeing meaningful patterns or connections in random or meaningless data.

Tags: perception psychology
Added: 2012-06-03T16:46:58Z by anders
Molybdomancy

a technique of divination using molten metal. Typically molten lead or tin is dropped into water.

Tags: divination mysticism
Added: 2012-06-03T16:38:31Z by anders
Pareidolia

a psychological phenomenon involving a vague and random stimulus (often an image or sound) being perceived as significant. Common examples include seeing images of animals or faces in clouds, the man in the moon or the Moon rabbit, and hearing hidden messages on records played in reverse.

Tags: perception psychology
Added: 2012-06-03T16:32:09Z by anders
Dextrocardia

a congenital defect in which the heart is situated on the right side of the body

Tags: anatomy biology
Added: 2012-06-03T16:18:29Z by anders
type() of an old-style class

types.ClassType

Tags: python metaprogramming metaclasses
Added: 2012-06-02T19:58:07Z by anders
__metaclass__

We can provide a custom metaclass by setting __metaclass__ in a class definition to any callable that takes the same arguments as type.

Tags: python metaprogramming metaclasses
Added: 2012-06-02T19:58:07Z by anders
type(name, bases, dict) creates a new type

When the Python interpreter executes a class statement […], it calls type with the following arguments:

  • The name of the class as a string
  • A tuple of base classes - for our example this is the ‘one-pl’ 1
  • A dictionary containing members of the class (class attributes, methods, etc) mapped by their names

Tags: python metaprogramming metaclasses
Added: 2012-06-02T19:58:07Z by anders
one can find the shortest paths from a given source to all points in a graph in the same time
1-10-100 rule of current

1mA of current through the human body can be felt, 10mA of current is sufficient to make muscles contract to the point where you cannot let go of a power source, and 100mA is sufficient to stop the heart.

Tags: electricity safety
Added: 2012-06-02T18:24:58Z by anders
descriptor definition

a descriptor is an object attribute with “binding behavior”, one whose attribute access has been overridden by methods in the descriptor protocol.

Tags: python descriptor metaprogramming
Added: 2012-06-01T23:02:12Z by anders
non-data descriptor defnition

Descriptors that only define get are called non-data descriptors (they are typically used for methods but other uses are possible).

Tags: python descriptor metaprogramming
Added: 2012-06-01T23:02:12Z by anders
data descriptor definition

If an object defines both __get__ and __set__, it is considered a data descriptor.

Tags: python descriptor metaprogramming
Added: 2012-06-01T23:02:12Z by anders
descriptors are invoked by the __getattribute__ method

overriding __getattribute__ prevents automatic descriptor calls

Tags: python descriptor metaprogramming
Added: 2012-06-01T23:02:12Z by anders