Category Archives: Vintage

A Federal Judge Just Struck Down Wisconsin’s Voter ID Law. Read The Decision.

Mother Jones

<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”>

Wisconsin voters won’t be forced to present a photo ID to gain access to the ballot thanks to a new federal court decision. U.S. District Judge Lynn Adelman ruled on Tuesday that the state’s voter ID law violates the constitutional rights of minority and low-income voters. In his decision, Adelman cited the Voting Rights Act to invalidate the 2011 Wisconsin law—passed by the state legislature and signed by Republican Gov. Scott Walker—that implemented a photo ID requirement for all voters.

Voting rights advocates despaired last summer after the Supreme Court blocked Section 5 of the Voting Rights Act, a key provision of the law that required the government to approve any voting changes in states and jurisdictions with a history of discrimination (Wisconsin was not one of those states). Since that decision, states previously covered by Section 5 have rushed to add voter restrictions. But based on Adelman’s logic, these controversial photo ID requirements that have been implemented across the country run afoul of a part of the Voting Rights Act that the Supreme Court left untouched.

Continue Reading »

See the article here – 

A Federal Judge Just Struck Down Wisconsin’s Voter ID Law. Read The Decision.

Posted in Anchor, Citizen, FF, GE, LG, ONA, Radius, Sterling, Uncategorized, Venta, Vintage | Tagged , , , , , , , , , | Comments Off on A Federal Judge Just Struck Down Wisconsin’s Voter ID Law. Read The Decision.

Department of Education: Title IX Prohibits Discrimination Against Transgender Students

Mother Jones

<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”>

On Tuesday, the Department of Education’s Office for Civil Rights (OCR) issued explicit guidance barring schools that receive federal Title IX funds from discriminating against transgender and gender-nonconforming students.

“Title IX’s sex discrimination prohibition extends to claims of discrimination based on gender identity or failure to conform to stereotypical notions of masculinity or femininity and OCR accepts such complaints for investigation. Similarly, the actual or perceived sexual orientation or gender identity of the parties does not change a school’s obligations,” the guidance reads.

Human rights advocates are praising the new policy: “We hear from hundreds of students each year who simply want to be themselves and learn at school,” Masen Davis, Executive Director of Transgender Law Center, said in a statement. “Sadly, many schools continue to exclude transgender students from being able to fully participate. Now, every school in the nation should know they are required to give all students, including transgender students, a fair chance at success.”

“This guidance is crystal clear and leaves no room for uncertainty on the part of schools regarding their legal obligation to protect transgender students from discrimination,” said Ian Thompson, ACLU legislative representative, in a statement. The ACLU notes that the guidance builds upon the 2012 ruling from the Equal Employment Opportunity Commission protecting transgender employees from workplace discrimination.

The Title IX program is a Nixon-era law that bans schools that receive federal funding from engaging in sex discrimination. But the requirement hasn’t always extended to transgender students. The Transgender Law Center is currently representing a transgender man who filed a federal lawsuit alleging that the University of Pittsburgh violated his rights under Title IX, among other laws. While he was a student, the university allegedly banned him from using the men’s restrooms and later expelled him after he continued using the men’s facilities.

Original article: 

Department of Education: Title IX Prohibits Discrimination Against Transgender Students

Posted in Anchor, FF, G & F, GE, LAI, LG, ONA, Radius, Sterling, Uncategorized, Venta, Vintage | Tagged , , , , , , , , | Comments Off on Department of Education: Title IX Prohibits Discrimination Against Transgender Students

Donald Sterling’s $2.5 Million Fine Isn’t As Much As You Think It Is

Mother Jones

<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”>

Donald Sterling’s penalty is in: a lifetime ban from the NBA and a $2.5 million fine, the maximum league sanction, for the racist audio recording released last week. The NBA will also work to force him to sell the Los Angeles Clippers, the team he’s owned since 1981.

It’s a harsh punishment, no doubt. But let’s not kid ourselves about the $2.5 million. Sterling, after all, is reportedly worth $1.9 billion. According to a 2013 Credit Suisse report on global wealth, the median American is worth $44,911. In other words, a $2.5 million fine for Sterling is like a $59 fine for that middle-of-the-road American.

Also, a reminder: Donald Sterling bought the Clippers for $12.5 million. The team is now worth at least $575 million; some think it’s worth more than $1 billion. We have a feeling he’ll come out of this just fine.

View this article – 

Donald Sterling’s $2.5 Million Fine Isn’t As Much As You Think It Is

Posted in Anchor, FF, G & F, GE, LG, ONA, Radius, Sterling, Uncategorized, Venta, Vintage | Tagged , , , , , , , , , | Comments Off on Donald Sterling’s $2.5 Million Fine Isn’t As Much As You Think It Is

The NBA Just Hit Donald Sterling With a Lifetime Ban

Mother Jones

<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”>

The NBA is no longer OK with awful racist Donald Sterling’s awful racism.

Commissioner Adam Silver just announced that the Los Angeles Clippers owner has been banned from the NBA for life and fined $2.5 million. Sterling will be banned from all basketball operations and from attending any NBA games.

Further, Silver said he will be urging the NBA Board of Governors to force Sterling to sell the franchise.

Two-and-a-half million is the largest fine allowed by under the NBA’s constitution but, as Mother Jones‘ Ian Gordon points out, it’s really just pocket change for him.

“The discipline issued today is based on the Commissioner’s conclusion that Mr. Sterling violated league rules through his expressions of offensive and hurtful views, the impact of which has been widely felt though out the league,” the NBA said in a statement.

The announcement was immediately hailed by league players. The Clippers website right now:

This post has been updated.

This article:  

The NBA Just Hit Donald Sterling With a Lifetime Ban

Posted in Anchor, FF, G & F, GE, LG, ONA, Radius, Sterling, Uncategorized, Venta, Vintage | Tagged , , , , , , , , | Comments Off on The NBA Just Hit Donald Sterling With a Lifetime Ban

This Is the Cast of the New "Star Wars"

Mother Jones

<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”>

We still have no idea what the plot of the new Star Wars is about, but we finally know the cast! Original cast members Harrison Ford, Carrie Fisher, Mark Hammil, Anthony Daniels, Peter Mayhew, and Kenny Baker will be joined by newcomers John Boyega, Daisy Ridley, Adam Driver, Oscar Isaac, Andy Serkis, Domhnall Gleeson, and Max von Sydow.

Episode VII is set to be released December 18, 2015.

Source article: 

This Is the Cast of the New "Star Wars"

Posted in Anchor, FF, GE, LG, ONA, Radius, Sterling, Uncategorized, Venta, Vintage | Tagged , , , , , , , , , , | Comments Off on This Is the Cast of the New "Star Wars"

A Short Primer on American Preferences in Foreign Policy

Mother Jones

<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”>

The American public largely seems to approve of President Obama’s specific foreign policy choices. They want to withdraw from Iraq and Afghanistan; they don’t want to go to war in Syria; they don’t want troops on the ground in Ukraine; and they support serious negotiations with Iran over its nuclear weapons program.

And yet, paradoxically, they don’t think much of Obama’s foreign policy in the aggregate. Overall approval ratings for his foreign policy are stuck at roughly George W. Bush levels. What’s going on?

With the benefit of my vast experience reading the mood of the American public, I’d like to explain what’s going on. This should save our nation’s pundits millions of windy words trying to invent sophisticated explanations that make them look smart. Here it is:

The American public really likes short, decisive wars that the United States wins conclusively. A couple of weeks is good. A month or two is pretty much the outside limit.

That’s it! Now you understand foreign policy. Grenada: good! Panama: good! Gulf War: not bad! Kosovo: pushing it. Iraq: Horrible. Syria and other places where we fail to intervene at all: massive cognitive dissonance. War is bad! But we want to kick the bad guys in the butt! Does not compute! President is failing….failing….failing….

This has been a public service announcement. Are there any questions?

Read this article:  

A Short Primer on American Preferences in Foreign Policy

Posted in FF, GE, LAI, LG, ONA, Uncategorized, Venta, Vintage | Tagged , , , , , , , , , | Comments Off on A Short Primer on American Preferences in Foreign Policy

Kill the Penny, Save the Economy!

Mother Jones

<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”>

Ryan Cooper is annoyed by coins. They’re too much trouble, and they just pile up in the penny jar at home. I used to feel that way, but now that my local supermarket has a Coinstar machine, I don’t care anymore. I throw my coins into the machine every few months, and within a minute I get an Amazon gift card or something for the full value of the change. No muss, no fuss, no more rolling up coins.

Still, Cooper thinks we could do better if we not only got rid of the penny, but got rid of all our other small change too:

Here’s my solution: multiply the face value of every U.S. coin by 10. A penny will be worth 10 cents, a nickel 50 cents, a dime one dollar, a quarter $2.50, and a dollar coin 10 bucks. (We could also reinvent the half-dollar, which is barely produced now, as a nice $5 coin.)

This will have several beneficial effects: first, it will make change real money again….Second, it will be easy to accomplish. We won’t have to have a big fight with the zinc lobby or Abraham Lincoln fans over whether to stop production of a particular coin, or rebuild all the vending machines around differently-shaped coins.

….Third — and this might be the most contentious part of this proposal — changing coins could be a nice piece of badly-needed economic stimulus. Effectively, we’d be printing up a bunch of new money and handing it to whoever has coins on hand. We’d have to think carefully about the details, but the idea would be to allow people who have old coins to hand them in for fresh new versions worth 10 times as much….How much money are we talking about? According to the Federal Reserve, as of 2010 there was about $40 billion worth of coins in circulation, which constituted 4.3 percent of the U.S. currency stock. We’d be increasing that by $360 billion at a stroke, which would actually be a pretty powerful economic stimulus.

I like this kind of out-of-the-box thinking! Unfortunately, I suspect the biggest beneficiaries wouldn’t be coin hoarders, but banks, which probably own about 90 percent of all circulating coins. (I’m just guessing about that.) Plus, you’d better do this in secret. If you don’t, you’re going to have the damnedest run on Sacagawea dollars ever. You can sign me up for a ton or two right now.

See original article here: 

Kill the Penny, Save the Economy!

Posted in FF, GE, LG, ONA, Uncategorized, Venta, Vintage | Tagged , , , , , , , , , | Comments Off on Kill the Penny, Save the Economy!

Does This Secret Drug Cocktail Work To Execute People? Oklahoma Will Find Out Tonight.

Mother Jones

<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”>

Tonight Oklahoma will continue the nation’s ongoing experiment in executing people with untested drug combinations as it moves forward to kill death row inmates Clayton Lockett and Charles Warner using a new, secretly acquired drug cocktail.

Officials in Oklahoma and other states have resorted to these methods because they can no longer access sodium thiopental, the anesthetic traditionally used in lethal injections, and another drug used to paralyze the condemned. The lone US manufacturer quit producing sodium thiopental in 2011, and international suppliers—â&#128;&#139;â&#128;&#139;particulalry in the European Union, which opposes the death penalty on humanitarian grounds—â&#128;&#139;â&#128;&#139;have stopped exporting both drugs to the United States. This has left states like Oklahoma scrambling to find new pharmaceuticals for killing death row inmates. Some have been reduced to illegally importing the drugs, using untested combinations, or buying from unregulated compounding pharmacies, a number of which have a history of producing contaminated products.

Death row inmates and their lawyers have protested on the grounds that these untested protocols could produce a level of suffering that violates the Eighth Amendment prohibition on cruel and unusual punishment, and they’ve sued for more information about the source and purity of the drugs. In response, several states have passed secrecy laws, allowing them to keep the names of their suppliers, and in some cases the contents of the lethal injection, under wraps. (Oklahoma is so eager to hide the source of its death drugs that it buys them with petty cash so there are no transaction records.) Death row inmates, in turn, have filed suits challenging the constitutionality of these secrecy statutes.

In February, Lockett and Warner prompted a high-profile showdown between Oklahoma officials when they sued the state, asserting that its execution protocol could inflict “severe pain” in violation of the Eighth Amendment. A lower state court found the drug secrecy law patently unconstitutional, and the state Supreme Court ultimately stayed the two men’s executions until the issues were fully litigated. But Republican Gov. Mary Fallin insisted they be executed regardless of the court’s ruling, prompting a political crisis. On April 23, the Oklahoma Supreme Court, whose justices are now being threatened by the Legislature with impeachment, caved and allowed the executions to move forward.

The public knows very little about the drugs that will be used to kill Lockett and Warner who stand convicted of murder. â&#128;&#139;â&#128;&#139;Lockett shot a teenage girl, then buried her alive, while Warner raped and killed his girlfriend’s 11-month-old daughter in 1997. Initially, the state said it would deploy a three-drug cocktail, including the sedative pentobarbital (normally used to euthanize animals); vercuronium bromide, which paralyzes the inmate; and potassium chloride, which stops the heart. The first drug is supposed to knock out the inmate so he doesn’t feel pain. The second drug paralyzes him so onlookers can’t tell if he’s suffering. But pentobarbital, which states substituted for sodium thiopental after it went off the market, works more slowly than the old drug, and wasn’t tested in advance to make sure it was an appropriate substitute. Also, lawyers argue that it doesn’t prevent pain during an execution. For that reason, injecting it into a conscious animal in California is actually a crime.

Due to a shortages of pentobarbital and vercuronium bromide, Oklahoma planned to buy the drugs from an unnamed compounding pharmacy. This was problematic because such pharmacies are unregulated, and contaminated pentobarbital can result in excruciatingly painful deaths. (Experts say it can feel as though the insides of a person’s veins are being scraped with sandpaper.) South Dakota used a compounded pentobarbital contaminated with a fungus to execute Eric Robert in 2012. During the execution, he repeatedly opened his eyes—a sign that the drug wasn’t working, some experts said. Oklahoma has had similar problems. In January, it executed another man, Michael Lee Wilson, using pentobarbital from an unidentified compounding pharmacy. During the execution he sputtered, “I feel my whole body burning,” another sign that the drug wasn’t doing its job.

In March, Oklahoma backed away from this approach and said it would instead use one of five possible drug combinations, including a two-drug cocktail of midazolam (a sedative) and hydromorphone (a pain killer). When states first proposed using those drugs in lethal injection mixes last year, defense lawyers and medical experts warned that inmates receiving them would essentially suffocate to death. Brushing aside these concerns, in January Ohio used the drugs to execute Dennis McGuire, who gasped and convulsed horribly for more than 10 minutes before taking a record 26 minutes to die. His family, who watched in horror, is now suing over what they allege was cruel and unusual punishment.

Oklahoma has since shifted course again and announced that it would use a three-drug combo that includes midazolam and pancuronium bromide. According to Madeline Cohen, an assistant federal public defender representing Charles Warner, the state claims that both drugs are being purchased from manufacturers rather than compounding pharmacies but wouldn’t provide any other information. The only known use of this drug combination for executions was in Florida in 2013, but Florida used five times the dose of midazolam that Oklahoma plans to use, meaning Lockett and Warner will essentially be human guinea pigs. “It is an experiment, and I don’t think anybody is absolutely certain what will happen in Oklahoma,” says Richard Dieter, executive director of the Death Penalty Information Center. Dieter adds that we’ll never know whether the drugs worked properly or caused needlessly painful deaths because the people who could tell us will be dead.

Original post:  

Does This Secret Drug Cocktail Work To Execute People? Oklahoma Will Find Out Tonight.

Posted in Anchor, FF, G & F, GE, LAI, LG, ONA, PUR, Radius, Sterling, Uncategorized, Venta, Vintage | Tagged , , , , , , , , , , , | Comments Off on Does This Secret Drug Cocktail Work To Execute People? Oklahoma Will Find Out Tonight.

The Annual Medicare Doc Fix: Not as Bad as You Think!

Mother Jones

<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”>

Here’s a bit of contrarianism for you today: Austin Frakt says that the much-maligned Medicare “doc fix” actually works pretty well. This is Congress’s annual charade in which it overrides the formula for Medicare reimbursements to doctors, resulting in doctors getting paid more—but without ever changing the formula itself. (Why? Because changing the formula would cost money, and they’d have to figure out how to pay for it. Better to just kick the can down the road each year.)

So from one point of view, the formula is just a joke. However:

From another point of view, the formula — as flawed as it is — has helped keep Medicare spending lower than it might otherwise have been. Instead of cutting physician payments by the large amount the S.G.R. demands, Congress has increased payment rates, but typically by only tiny amounts — at an annual rate of just 0.7 percent. That pace does not keep up with the typical cost of care.

The gap can be seen in the chart below. The bottom line illustrates how Congress has permitted Medicare physician payments to grow. The middle line shows an index of medical spending — spending at a typical physician’s practice over time — that is a proxy for the change in price for a typical, or average, medical treatment.

….The relatively gentle increases in Medicare payment rates makes clear that the formula is not the problem. I think that the formula has actually helped Congress be more fiscally responsible than it otherwise might have been. To physicians who fear a double-digit decrease in payment rates called for by the formula, a 0.5 percent or a 1.5 percent increase that Congress passes looks like a great deal.

So there you go. Two cheers for the Sustainable Growth Formula!

View post:

The Annual Medicare Doc Fix: Not as Bad as You Think!

Posted in FF, GE, LG, ONA, Uncategorized, Venta, Vintage | Tagged , , , , , , , , , , | Comments Off on The Annual Medicare Doc Fix: Not as Bad as You Think!

Who Said It: Donald Sterling or Donald Trump?

Mother Jones

<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”>

var quiz = jQuery(‘#quiz_container’).quiz(‘0AuHOPshyxQGGdF9CMUVJeFM2UkJDb0txOUNxemZ6U3c’);
On Fox & Friends today, Donald Trump stood up for fellow aggrieved billionaire Republican Donald Sterling, claiming that the Los Angeles Clippers owner was “set up by a very, very bad girlfriend.” Sterling, of course, is under fire for the recently released audio recording in which he tells onetime girlfriend V. Stiviano to, among other things, stop associating publicly with black people, including Lakers great Magic Johnson. With sponsors rushing to drop the Clippers, it must be a great relief for Sterling to know that he’s got The Donald on his side.

Trump’s comments made us wonder, though: Could you tell the two Donalds apart by the wacky (and creepy) things they’ve said over the years? Try your luck with our Which Donald Is It? quiz below:

(function($)

function make_default_how_you_did_html(nCorrect, nQuestions)
var answersWord = nCorrect === 1 ? ‘answer’ : ‘answers’;
return ‘You got ‘ + nCorrect + ‘ ‘ +
‘correct ‘ + answersWord + ‘ out of ‘ + nQuestions + ‘ questions’;

function make_default_how_you_did_htmls(nQuestions)
var ret = [];
for (var i = 0; i <= nQuestions; i++)
ret.push(make_default_how_you_did_html(i, nQuestions));

return ret;
}

$.quiz = function(quiz_data, results_data, options)
var container_elem;
var self;
var cover;
var cheater_answer_tracking = [];
var answer_tracking = [];
var how_you_did_element;

var quiz =
defaulting_behavior_on : true,
defaulting_flag : ‘!default’,
container : ‘quiz_container’,
not_finished_html : undefined,
cheating : false,
possible_display_elements : this.name) return ”;
return $(‘<div class=”‘ +
this.name +
‘” style=”background-image: url(” +
slidethis.name +
”); height: 100%; width: 100%;position:absolute;z-index: -1″>’
);
}
},

name : ‘topimage’,
finder: function(container)
return container.find(‘.’ + this.name);
,
create_element : function(slide)
if (!slidethis.name) return ”;
return $(

);
}
},

name : ‘topvideoembed’,
finder: function(container)
return container.find(‘.’ + this.name);
,
needs_aspect_ratio : true,
create_element : function(slide)
//check aspect ratio
if (!slide.topvideoembedaspectratio) return ”;
return $(” +
slidethis.name + ”
);
}
},

name : ‘title’,
finder: function(container)
return container.find(‘.’ + this.name);
,
create_element : function(slide)
if (!slidethis.name) return ”;
return $(‘

‘ +
slidethis.name + ”
);
}
},

name : ‘middleimage’,
finder: function(container)
return container.find(‘.’ + this.name);
,
create_element : function(slide)
if (!slidethis.name) return ”;
return $(

);
}
},

name : ‘middlevideoembed’,
needs_aspect_ratio : true,
finder: function(container)
return container.find(‘.’ + this.name);
,
create_element : function(slide)
//check aspect ratio
if (!slide.middlevideoembedaspectratio) return ”;
return $(” +
slidethis.name + ”
);
}
},

name : ‘subhed’,
finder: function(container)
return container.find(‘.’ + this.name);
,
create_element : function(slide)
if (!slidethis.name) return ”;
return $(” +
slidethis.name +

);
}
},

name : ‘text’,
finder: function(container)
return container.find(‘.’ + this.name);
,
create_element : function(slide)
if (!slidethis.name) return ”;
return $(” +
slidethis.name +

);
}
},

name : ‘bottomimage’,
finder: function(container)
return container.find(‘.’ + this.name);
,
create_element : function(slide)
if (!slidethis.name) return ”;
return $(”
);
}
},

name : ‘bottomvideoembed’,
needs_aspect_ratio : true,
finder: function(container)
return container.find(‘.’ + this.name);
,
create_element : function(slide)
//check aspect ratio
if (!slide.bottomvideoembedaspectratio) return ”;
return $(” +
slidethis.name + ”
);
}
}
],

init : function(quiz_data, results_data, options)
self = this;

if (options)
for ( var option in options )
selfoption = optionsoption;

}

if (typeof(quiz_data) === ‘string’)
// is a google spreadsheet.
// Will call init_data in a callback
self.load_from_google_spreadsheet(quiz_data);
else
if (!results_data)
results_data = make_default_how_you_did_htmls(quiz_data.length);

self.init_data(quiz_data, results_data);
}

return self;
},
init_data: function(quiz_data, results_data)
self.quiz_data = quiz_data;
self.results_data = results_data;

self.calculate_aspectratios(quiz_data);
self.create_cover();

for ( var i = 0; i < self.quiz_data.length; i++ )
self.append_question(i);

self.append_how_you_did_section();
self.update_how_you_did_element();
self.preload_answer_images();
},
append_how_you_did_section: function()
how_you_did_element = $(”);
cover.append(how_you_did_element);
,

load_from_google_spreadsheet: function(spreadsheet_id)
Tabletop.init(
key: spreadsheet_id,
callback: function(data)
var quiz_data = self.make_quiz_data_from_spreadsheet_data(data);
var results_data = self.make_results_data_from_spreadsheet_data(data, quiz_data);
self.init_data(quiz_data, results_data);

});
},
calculate_aspectratios: function(data)
for (var i = 0; i < data.length; i++)
var row = datai;
for (var k = 0; k < row.possible_answers.length; k++)
var answer = row.possible_answersk;
self.find_aspectratio_for_each_type_of_video_embed(answer);

self.find_aspectratio_for_each_type_of_video_embed(row.question);
}
},

find_aspectratio_for_each_type_of_video_embed : function(slide)
for (var i = 0; i < self.possible_display_elements.length; i++ )
var display = self.possible_display_elementsi;
if ( display.needs_aspect_ratio && slidedisplay.name )
slidedisplay.name + ‘aspectratio’ =
self.find_aspectratio(slidedisplay.name);

}
},
find_aspectratio: function(videoembed)
var height = videoembed.match(/height=”d+”/);
if (!height
height = parseInt(height0.replace(/height=”/, ”).replace(/”/, ”), 10);

var width = videoembed.match(/width=”d+”/);
if (!width || !width0)
console.log(‘Your video embed code needs a width.’);
return ”;

width = parseInt(width0.replace(/width=”/, ”).replace(/”/, ”), 10);

return (height / width)*100;
},
pull_answer_value_from_spreadsheet : function(row, value, wrong_number, correct)
correct = correct ? ‘right’ : ‘wrong’;
if (rowcorrect + wrong_number + value && rowcorrect + wrong_number + value !== self.defaulting_flag)
return (rowcorrect + wrong_number + value);

if ((self.defaulting_behavior_on && rowcorrect + wrong_number + value !== self.defaulting_flag) ||
(!self.defaulting_behavior_on && rowcorrect + wrong_number + value === self.defaulting_flag)
)
return (rowcorrect + value && rowcorrect + value !== self.defaulting_flag ?
rowcorrect + value :
(row’answer’ + value && row’answer’ + value !== self.defaulting_flag ?
row’answer’ + value :
row’question’ + value
)
);
else
return ”;

},
get_possible_answers : function(row, is_correct)
var possible_answers = [];
var right_or_wrong = (is_correct ? ‘right’ : ‘wrong’);
if (rowright_or_wrong)
possible_answers.push(self.make_possible_answer(row, ”, is_correct));

for (var i = 0; i < 10; i++ )
if (rowright_or_wrong + i)
possible_answers.push(self.make_possible_answer(row, i, is_correct));

}
return possible_answers;
},
make_possible_answer: function(row, row_number, is_correct)
var right_or_wrong = (is_correct ? ‘right’ : ‘wrong’);
var answer =
answer: rowright_or_wrong + row_number,
correct: is_correct
;
for (var i = 0; i < self.possible_display_elements.length; i++ )
var display_element = self.possible_display_elementsi.name;
answerdisplay_element = self.pull_answer_value_from_spreadsheet(
row, display_element, row_number, is_correct
);

return answer;
},
make_quiz_data_from_spreadsheet_data: function(tabletop)
var i, j, sheetName, data;
var quiz = [];

// Find a sheet that _isn’t_ named “Results”.
for (sheetName in tabletop)
if (tabletop.hasOwnProperty(sheetName) && sheetName !== ‘Results’)
break;

}

data = tabletopsheetName.elements;

for (i = 0; i < data.length; i++)
var row = datai;
var possible_wrong_answers = self.get_possible_answers(row, false);
var possible_right_answers = self.get_possible_answers(row, true);

var right_answer_placement = [];
for (j = 0; j < possible_right_answers.length; j++)
right_answer_placement.push(
Math.round(Math.random() * possible_wrong_answers.length)
);

// IMPORTANT TO SORT THIS. rather than check if a value is in, we only check the first
right_answer_placement.sort();

var possible_answers= [];
var right_answers_placed = 0;
for (j = 0; j <= possible_wrong_answers.length; j++)
while (j === right_answer_placementright_answers_placed)
//push right answer
possible_answers.push(possible_right_answersright_answers_placed);
right_answers_placed++;

if (j === possible_wrong_answers.length)
continue;

possible_answers.push(possible_wrong_answersj);
}

var question =
question :
,
possible_answers : possible_answers,
rowNumber : row.rowNumber – 1
};
for (j = 0; j < self.possible_display_elements.length; j++)
var display_value = self.possible_display_elementsj.name;
question.questiondisplay_value = row’question’ + display_value;

quiz.push(question);
}
return quiz;
},
make_results_data_from_spreadsheet_data: function(tabletop, quiz_data)
var ret = make_default_how_you_did_htmls(quiz_data.length);

var data = tabletop’Results’ ? tabletop’Results’.elements : [];
for (var i = 0; i < data.length; i++)
var index = datai.numberofrightanswers;
if (index) index = parseInt(index, 10);
if (!isNaN(index))
if (!retindex)
console.log(“Invalid number of correct answers: ” + index);
else
retindex = datai.html;

}
}

return ret;
},
append_question : function(question_index)
var question_data = self.quiz_dataquestion_index;
var question_container = $(‘<li class=”question_container row-fluid question_’ +
question_index +
‘”>’
);
question_container.append( self.build_question_element_from_row(question_data) );
question_container.append( self.build_possible_answer_elements_from_row(question_data, question_index) );
container_elem.append(question_container);
,
build_question_element_from_row: function(row)
var question_container = $(”);
for (var i = 0; i < self.possible_display_elements.length; i++)
question_container.append(
self.possible_display_elementsi.create_element(row.question)
);

return question_container;
},
build_possible_answer_elements_from_row : function(question, question_index)
var answers_container = $(”);

function bindClick(question_index, answer_index, possible_answer)
possible_answer.bind(‘click’, function()
// was it the right answer?
var was_correct = self.quiz_dataquestion_index.possible_answersanswer_index.correct;

// Add correct classes to possible answers
answers_container.find(‘.selected’).removeClass(‘selected’);
$(this).addClass(‘selected’);
$(this).removeClass(‘possible_answer’);
answers_container
.find(‘.answer_’ + answer_index)
.addClass(
was_correct ? ‘correct_answer’ : ‘wrong_answer’
);

//track how many you got right the first time
cheater_answer_trackingquestion_index = was_correct;
if ( typeof(answer_trackingquestion_index) === ‘undefined’ )
answer_trackingquestion_index = was_correct;
cover.find(‘.question_’ + question_index).addClass(
‘first_guess_’ +
(was_correct ? ‘right’ : ‘wrong’)
);

self.update_how_you_did_element();

//show new slide
self.display_answer(self.quiz_dataquestion_index, question_index, self.quiz_dataquestion_index.possible_answersanswer_index);

// track that this was selected last
self.quiz_dataquestion_index.previously_selected = self.quiz_dataquestion_index.possible_answersanswer_index;
});
}

for (var i = 0; i < question.possible_answers.length; i++)
var answer_data = question.possible_answersi;
var possible_answer = $(” +
answer_data.answer +
”);
bindClick(question_index, i, possible_answer);
answers_container.append(possible_answer);
this.note_answer_images(answer_data);

return answers_container;
},
answer_images : {},
preload_answer_images: function()
for (var url in this.answer_images)
var img=new Image();
img.src=url;

},
note_answer_images: function(answer_data)
var image_elements = ‘backgroundimage’, ‘topimage’, ‘bottomimage’;
for (var i = 0; i < image_elements.length; i++)
if (!answer_data[image_elementsi]) continue;
this.answer_images[answer_data[image_elementsi]] = true;
}
self.possible_display_elementsi.name;
},
add_display_in_correct_place: function(container, place_in_display_elements, slide)
for ( var i = place_in_display_elements; i > 0; i– )
if (self.possible_display_elementsi – 1.finder(container).length )
self.possible_display_elementsi – 1.finder(container)
.after( self.possible_display_elementsplace_in_display_elements.create_element(slide) );
return;

}
container.prepend(
self.possible_display_elementsplace_in_display_elements.create_element(slide)
);
},
display_answer : function(question, question_index, answer)
var displayed_slide = question.previously_selected ?
question.previously_selected :
question.question;
var slide = container_elem.find(‘.question_’ + question_index + ‘ .question’);
slide.addClass(‘revealed_answer’);
for (var i = 0; i < self.possible_display_elements.length; i++)
var display_value = self.possible_display_elementsi.name;
if ( answerdisplay_value !== displayed_slidedisplay_value )
if ( !answerdisplay_value )
self.possible_display_elementsi.finder(slide).remove();
else if ( !displayed_slidedisplay_value )
self.add_display_in_correct_place(slide, i, answer);
else
self.possible_display_elementsi.finder(slide).replaceWith(
self.possible_display_elementsi.create_element( answer )
);

}
}
},

create_cover : function()
cover = $(‘#’ + self.container);
container_elem = $(”);
cover.append(container_elem);
container_elem.addClass(‘quiz_container’);
container_elem.css(‘padding’, ‘0px’);
,
update_how_you_did_element: function()
var right_answers = 0;
var user_answers = self.cheating ? cheater_answer_tracking : answer_tracking;
var unfinished = false;
for (var i = 0; i < self.quiz_data.length; i++)
if (typeof(answer_trackingi) === ‘undefined’)
unfinished = true;

if (user_answersi)
right_answers++;

}
var html;
if (unfinished && typeof(this.not_finished_html) !== ‘undefined’)
html = this.not_finished_html;
else
html = this.results_dataright_answers;

how_you_did_element.html(html);
}
};
return quiz.init(quiz_data, results_data, options);
};

$.fn.quiz = function(quiz_data, results_data, options)
if (!options) options = results_data; results_data = null;
if (!options) options = ; }
options.container = this.attr(‘id’);
this.quiz = $.quiz(quiz_data, results_data, options);
return this;
};
})(jQuery);

var quiz = jQuery(‘#quiz_container’).quiz(‘0ArjPQkXVuVJudDVzRnpXTVRzelRGVTVfMnV0ZDltU2c’);

Original post: 

Who Said It: Donald Sterling or Donald Trump?

Posted in Anchor, FF, GE, LAI, LG, ONA, PUR, Radius, Sterling, Uncategorized, Venta, Vintage | Tagged , , , , , , , , | Comments Off on Who Said It: Donald Sterling or Donald Trump?