People’s ability to recognize faces is genetically distinct

(credit: flickr user: U.S. Army)

Recognizing and remembering faces is something most people have to do constantly, and there’s a wide range in how well we do it—for some it’s effortless, for others it’s a challenge. Some people even struggle so much that they suffer from what’s termed “face blindness.”

Explaining these differences requires teasing apart the various influences that could play a role in face recognition, which could include things like memory performance and visual acuity. New evidence presented in this week’s issue of PNAS suggests that genetics also plays a role—but facial recognition seems to be special, influenced by genes different from those that affect other cognitive abilities.

read more

People’s ability to recognize faces is genetically distinct

(credit: flickr user: U.S. Army)

Recognizing and remembering faces is something most people have to do constantly, and there’s a wide range in how well we do it—for some it’s effortless, for others it’s a challenge. Some people even struggle so much that they suffer from what’s termed “face blindness.”

Explaining these differences requires teasing apart the various influences that could play a role in face recognition, which could include things like memory performance and visual acuity. New evidence presented in this week’s issue of PNAS suggests that genetics also plays a role—but facial recognition seems to be special, influenced by genes different from those that affect other cognitive abilities.

read more

2D Array to JsTree compatible JSON

I currently have a javascript function that accepts 1 dimensional arrays and adds them to a tree object.

        var tree = {}

        function addToTree(tree, arr) { 
            for (var i = 0, length = arr.length; i < length - 1; i++) {
                tree = tree[arr[i]] = tree[arr[i]] || {};
            } 
            tree[arr[i]] = null;
        }

        addToTree(tree, ["a", "b", "c", "f"])
        addToTree(tree, ["a", "b", "d", "h", "l"])

I was hoping someone could help me format it so that it returns the object into a JSTree compatible object found here: https://www.jstree.com/docs/json/

read more

angular-datatables : How to remove "Show N entries" but leave pagination

There is a project that uses angular-datatables. Now I need to remove “Show N entries” dropdown from a page with such table, but leave pagination untouched. For now i’ve found this way –

withOption('paging', false)

but this removes both!

Can anyone show me better way than just to remove them from DOM manually?

angular-datatables : How to remove "Show N entries" but leave pagination

Former Autonomy CEO Lynch sues HP for $150M

Making good on the promise he made earlier this year, former Autonomy CEO Mike Lynch on Thursday filed a $150 million lawsuit against HP over what he called a public smear campaign against him and other Autonomy executives.

“Over the past three years, HP has made many statements that were highly damaging to me and misleading to the stock market,” Lynch said. “HP knew, or should have known, these statements were false.”

HP’s ill-fated 2011 acquisition of the British software maker for $11.7 billion — which later resulted in an $8.8 billion impairment charge — was “doomed from the very beginning,” Lynch said. “HP’s own documents, which the court will see, make clear that HP was simply incompetent in its operation of Autonomy.”

read more