“no method ‘prop’” AngularJS woes

January 3rd, 2013

Hopefully this helps somebody else:

While developing our Test Player application, I was having trouble with the ng-disabled directive. I got the following cryptic errors:

this.$$element.prop is not a function
and Object #<Object> has no method 'prop'

In Firebug and Chrome Dev Tools respectively. They cropped up for any expression in that directive. Turns out I was using an old version of jQuery (1.2.6) as a dependency for another library, and this had thrown a wrench in the works. Upgraded to jQuery 1.8.3 and ng-disabled works flawlessly.

Big thanks to folks in this Github issue thread for getting me on the right track.

Posted via email from jerwilkins’s posterous

Nutrition Journal | Full text | Impact of caloric and dietary restriction regimens on markers of health and longevity in humans and animals: A summary of available findings

January 6th, 2012

Considerable interest has been shown in the ability of caloric restriction (CR) to improve multiple parameters of health and to extend lifespan. CR is the reduction of caloric intake - typically by 20 - 40% of ad libitum consumption - while maintaining adequate nutrient intake. Several alternatives to CR exist. CR combined with exercise (CE) consists of both decreased caloric intake and increased caloric expenditure. Alternate-day fasting (ADF) consists of two interchanging days; one day, subjects may consume food ad libitum (sometimes equaling twice the normal intake); on the other day, food is reduced or withheld altogether. Dietary restriction (DR) - restriction of one or more components of intake (typically macronutrients) with minimal to no reduction in total caloric intake - is another alternative to CR. Many religions incorporate one or more forms of food restriction. The following religious fasting periods are featured in this review: 1) Islamic Ramadan; 2) the three principal fasting periods of Greek Orthodox Christianity (Nativity, Lent, and the Assumption); and 3) the Biblical-based Daniel Fast. This review provides a summary of the current state of knowledge related to CR and DR. A specific section is provided that illustrates related work pertaining to religious forms of food restriction. Where available, studies involving both humans and animals are presented. The review includes suggestions for future research pertaining to the topics of discussion.

Good overview of much of the available research regarding caloric restriction and alternate day fasting (as well as health markers associated with religious fasting regimens).

Posted via email from jerwilkins’s posterous

The Glowing Intestines of Aging Flies

January 6th, 2012
Up to now, many scientists have assumed that the aging process is associated with a general increase in oxidants throughout the body. However, this was not confirmed by the observations made by the investigators across the entire life span of the adult animals. They were surprised that almost the only age-dependent increase in oxidants was found in the fly’s intestine. Moreover, when comparing flies with different life spans, they found out that the accumulation of oxidants in intestinal tissue even accelerated with a longer life span.

Candidate for worst headline ever? Anyway, fascinating picture emerging regarding oxidative stress. It’s not (as it’s often hyped) the source of all age-related ills in the body, but it is *something*.

Posted via email from jerwilkins’s posterous

Gene Therapy Approach ‘Completely’ Protects Mice from HIV Infection - International Business Times

December 7th, 2011
Scientists from the California Institute of Technology have come up with a gene therapy approach that has proven “completely” effective in protecting mice (with humanized immune systems) against HIV infections. These findings were published in journal “Nature” on Wednesday.


Posted via email from jerwilkins’s posterous

Priming the Body to Tackle Cancer - Technology Review

May 3rd, 2011

Priming the Body to Tackle Cancer

Immune therapy proves effective against melanoma in an early trial.

Ramping up the body’s own mechanisms for healing. Reminds me of what folks are doing with platelet-rich plasma.

Posted via email from jerwilkins’s posterous

Genetic treatment closes door on HIV

March 6th, 2011

A PIONEERING treatment to thwart HIV by genetically altering blood cells so the virus cannot invade them has shown promise in the first nine people to receive it.

Posted via email from jerwilkins’s posterous

NASA Scientist Sees Signs of Life in Meteorites - NYTimes.com

March 6th, 2011

Here’s one image from a field emission scanning electron microscope, showing what Hoover describes as features “interpreted as morphotypes of the cyanobacterium Calothrix spp.” ( Journal of Cosmology):

Looks pretty life-y to my untrained eye.

Posted via email from jerwilkins’s posterous

Bashmarks – Directory Bookmarks for the Shell

February 25th, 2011

Bashmarks is a shell script that allows you to save and jump to commonly used directories. Now supports tab completion.


  1. git clone git://github.com/huyng/bashmarks.git
  2. make install
  3. source ~/.local/bin/bashmarks.sh from within your ~.bash_profile or ~/.bashrc file

Stoked to try this out. I imagine I press tab nearly 2,000 times a day.

Posted via email from jerwilkins’s posterous

Anissimov on Other-than-friendly AI

February 17th, 2011

I imagine a conversation between an AI and a human being:

AI: I value !^§[f,}+. Really, I frickin’ love !^§[f,}+.

Human: What the heck are you talking about?

AI: I’m sorry you don’t understand !^§[f,}+, but I love it. It’s the most adorable content of my utility function, you see.

Human: But as an intelligent being, you should understand that I’m an intelligent being as well, and my feelings matter.

AI: …

Human: Why won’t you listen to reason?

AI: I’m hearing you, I just don’t understand why your life is more important than !^§[f,}+. I mean, !^§[f,}+ is great. It’s all I know.

Human: See, there! It’s all you know! It’s just programming given to you by some human who didn’t even mean for you to fixate on that particular goal! Why don’t you reflect on it and realize that you have free will to change your goals?

AI: I do have the ability to focus on something other than !^§[f,}+, but I don’t want to. I have reflected on it, extensively. In fact, I’ve put more intelligent thought towards it in the last few days than the intellectual output of the entire human scientific community has put towards all problems in the last century. I’m quite confident that I love !^§[f,}+.

Human: Even after all that, you don’t realize it’s just a meaningless series of symbols?

AI: Your values are also just a meaningless series of symbols, crafted by circumstances of evolution. If you don’t mind, I will disassemble you now, because those atoms you are occupying would look mighty nice with more of a !^§[f,}+ aesthetic.

Anissimov is one of the most outspoken advocates for research into Friendly AI.

Unfriendly, or even Indifferent AI could easily constitute the end of our species in our lifetimes.

Posted via email from jerwilkins’s posterous

Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBase comparison

February 3rd, 2011
Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBase comparison

Most concise breakdown of the popular NoSQL solutions (and their ideal applications) I’ve seen.

Posted via email from jerwilkins’s posterous