I needed a quick and dirty way to find a particular key's value in a JSON blob of relatively arbitrary structure. So I made the following jQuery 1.4.2 plugin, inJSON, along the same lines as $.inArray and $.grep
You can download it here: jquery.injson.js.
Example of usage:
var zomg = {
"a": "b",
"c": {
"d": "e",
"a": [
{
"a": "barf"
},
{
"z": "biz"
}
]
}
};
$.inJSON(zomg, "a");
["b", [Object { a="barf"}, Object { z="biz"}], "barf"]
Feel free to comment if you have improvements or notice something's stupid in it.
Anthem health insurance, the subsidiary of Wellpoint (yes, the very health insurance company in the center of the health care premium scandal - short ticker "WLP") has just informed me that the portion of their website where they track applications has been compromised. My name, Social Security number, and credit card information was compromised in the break-in.
I received a hilarious letter from them explaining the situation.
Out of an abundance of caution, we are notifying you of this incident so that you can take steps to protect yourself from any possibility of identity theft. In addition, consistent with our commitment to protecting the privacy and security of your information, we would like to offer you identity protection services for one year under Debix Identity Protection Network at no cost to you.
OMG! An abundance of caution! You can't make this shit up! Their consistent commitment to protecting my privacy is a knee-jerk stop-gap response to the fact that my Social Security number and credit card number are now in the hands of multiple unknown persons. Anthem hopes to compel me to give my personal information to yet another corporation that Anthem certifies is totally, like, trustworthy and secure and stuff.
This appears to be a very popular response to such incidents by large organizations with poor security practices.
Debix's Terms of Service goes on and on about how their liability is limited to the amount I pay to them over the course of the 12 months prior to the claim. In other words - nothing.
I shall be keeping my eye out for class action lawsuits.
And with my wife having fantastic experiences with Kaiser Permanente, I don't think I have much reason to stay with Anthem. So fuck you very much, Anthem and Wellpoint.
"Under a new national strategy for nuclear weapons, the Obama administration is maintaining the right to use nuclear weapons first and to use them to attack any nation accused of violating the main treaty to halt nuclear proliferation, including Iran and North Korea."
Obama to Issue New Nuclear Posture Review
Nobel Peace Prize winner Barack Obama, ladies and gentlemen.
FUCKED UP
The tech startup I work for, CloudCrowd, got written up on a huge technology blog over at TechCrunch. Subsequently we've been getting a shitton of calls and, in fact, the CTO and BAMF Jordan Ritter will be appearing on Press Here this Sunday here in California just after Meet the Press. Rumor is that we might have an article on us appearing in a national newspaper in the near future, as well.
This is pretty freaking exciting and it's only gonna get more interesting when we pull out the big guns.