Implements an image recognition captcha.

"; break; case 'admin/modules#description': case 'admin/modules/textimage': case 'admin/textimage': $output = t('Implements an image recognition captcha.'); break; } return $output; } function textimage_captchachallenge(&$form) { $form['captcha_response'] = array ( '#type' => 'textfield', '#title' => t('Captcha Validation'), '#default_value' => '', '#required' => TRUE, '#validate' => array('_captcha_validate' => array()), '#description' => t('Please type in the letters/numbers that are shown in the image above.'), '#prefix' => 'Captcha Image: you will need to recognize the text in it.', ); return $form; } function textimage_captchavalidate(&$captcha_word, &$correct) { $captcha_word = drupal_strtolower($captcha_word); if (($_SESSION['captcha'] != '') && $captcha_word == $_SESSION['captcha']) { $correct = true; } else { $correct = false; form_set_error('captcha_response', t('The image verification code you entered is incorrect.')); } } /** * Implementation of hook_menu(). */ function textimage_menu($may_cache) { $items = array(); $suffix = ''; if (arg(2)!=null) $suffix='/'.arg(2); $items[] = array( 'path' => '_textimage/image'.$suffix, 'title' => t('textimage'), 'callback' => '_textimage_image', 'access' => user_access('access textimages'), 'type' => MENU_CALLBACK ); return $items; } function textimage_perm() { return array('access textimages'); } function textimage_settings() { $fonts_path = variable_get("textimage_fonts_path", ""); $images_path = variable_get("textimage_images_path", ""); //check for GD if (!function_exists(imagecreate)) drupal_set_message(t('Image library not available. Textimage needs the GD library extension to be installed. Please install GD.')); //check for TTF support elseif (!function_exists(imagettftext)) drupal_set_message(t('Your image library does not seem to have TrueType font support. Textimage will work, but will use the default inbuilt font.'),'status'); //check for valid font path elseif ($fonts_path!="" && !is_dir($fonts_path)) drupal_set_message(t('The current font path is invalid. The default font will be used.')); //check for valid image path if ($images_path!="" && !is_dir($images_path)) drupal_set_message(t('The current images path is invalid. No images will be used.')); //Fonts settings $form['fonts'] = array( '#type' => 'fieldset', '#title' => t('Fonts settings'), '#collapsible' => TRUE, '#collapsed' => FALSE ); $form['fonts']['textimage_use_only_upper'] = array( '#type' => 'checkbox', '#title' => t('Use only Uppercase'), '#default_value' => variable_get('textimage_use_only_upper',0) ); $form['fonts']['textimage_fonts_path'] = array( '#type' => 'textfield', '#title' => t('TrueType Fonts Path'), '#default_value' => $fonts_path, '#size' => 30, '#maxlength' => 255, '#description' => t('Location of the directory where the Truetype (.ttf) fonts are stored. If you do not provide any fonts, the module will use the default font for text. Relative paths will be resolved relative to the Drupal installation directory.'), ); $form['fonts']['textimage_font_size'] = array( '#type' => 'textfield', '#title' => t('Font Size'), '#default_value' => variable_get('textimage_font_size',24), '#size' => 5, '#maxlength' => 2, '#description' => t('Font size of Captcha text (in pixels).'), '#validate' => array("_textimage_number_validate" => array("textimage_font_size")), ); $form['fonts']['textimage_char_spacing_max'] = array( '#type' => 'textfield', '#title' => t('Character Spacing'), '#default_value' => variable_get('textimage_char_spacing_max',10), '#size' => 5, '#maxlength' => 4, '#description' => t('Sets the kerning between letters in Captcha. Higher numbers indicate more spacing.'), '#validate' => array("_textimage_number_validate" => array("textimage_char_spacing_max")), ); $form['fonts']['textimage_char_jiggle_amount'] = array( '#type' => 'textfield', '#title' => t('Character Jiggle'), '#default_value' => variable_get('textimage_char_jiggle_amount',5), '#size' => 5, '#maxlength' => 2, '#description' => t('Sets the amount of up and down movement in the Captcha letters. Higher numbers indicate more jiggling.'), '#validate' => array("_textimage_number_validate" => array("textimage_char_jiggle_amount")), ); $form['fonts']['textimage_char_rotate_amount'] = array( '#type' => 'textfield', '#title' => t('Character Rotation'), '#default_value' => variable_get('textimage_char_rotate_amount',5), '#size' => 5, '#maxlength' => 2, '#description' => t('Sets the amount of rotation in the Captcha letters (in degrees, only works with non-default fonts).'), '#validate' => array("_textimage_number_validate" => array("textimage_char_rotate_amount")), ); $form['fonts']['textimage_char_size_amount'] = array( '#type' => 'textfield', '#title' => t('Character Size Adjustment'), '#default_value' => variable_get('textimage_char_size_amount',2), '#size' => 5, '#maxlength' => 2, '#description' => t('Sets the amount of variation in size between the different letters in the Captcha (in pixels).'), '#validate' => array("_textimage_number_validate" => array("textimage_char_size_amount")), ); //Image settings $form['images'] = array( '#type' => 'fieldset', '#title' => t('Image settings'), '#collapsible' => TRUE, '#collapsed' => FALSE ); $form['images']['textimage_images_path'] = array( '#type' => 'textfield', '#title' => t('Background Images Path'), '#default_value' => $images_path, '#size' => 30, '#maxlength' => 255, '#description' => t('Location of the directory where the background images are stored. If you do not provide a directory, solid colors will be used. Relative paths will be resolved relative to the Drupal installation directory.'), ); $form['images']['textimage_image_noise'] = array( '#type' => 'textfield', '#title' => t('Image Noise (pixels)'), '#default_value' => variable_get('textimage_image_noise',4), '#size' => 5, '#maxlength' => 4, '#description' => t('Sets the amount of noise (random pixels) in the Captcha image. Higher numbers indicate more noise.'), '#validate' => array("_textimage_number_validate" => array("textimage_image_noise")), ); $form['images']['textimage_image_lines'] = array( '#type' => 'textfield', '#title' => t('Image Noise (lines)'), '#default_value' => variable_get('textimage_image_lines',4), '#size' => 5, '#maxlength' => 4, '#description' => t('Sets the amount of noise (random lines) in the Captcha image. Higher numbers indicate more noise.'), '#validate' => array("_textimage_number_validate" => array("textimage_image_lines")), ); $form['images']['textimage_image_margin'] = array( '#type' => 'textfield', '#title' => t('Image Margin'), '#default_value' => variable_get('textimage_image_margin',10), '#size' => 5, '#maxlength' => 4, '#description' => t('Set a distance between the Captcha letters and the edges of the image.'), '#validate' => array("_textimage_number_validate" => array("textimage_image_margin")), ); $form['info'] = array( '#type' => 'fieldset', '#title' => t('Image and font information'), '#collapsible' => TRUE, '#collapsed' => FALSE ); if (isset($fonts_path)) { $imagefontinfo .= t('Number of fonts found: ').count(_textimage_font_list()); } if (isset($images_path)) { $imagefontinfo .= '
'.t('Number of background images found: ').count(_textimage_image_list()); } $gdinfo = gd_info(); $imagefontinfo .= '
'.t('GD Version: ').$gdinfo["GD Version"]; $imagefontinfo .= '
'.t(' FreeType Support: '); $imagefontinfo .= ($gdinfo["FreeType Support"]==true) ? 'True' : 'False'; $imagefontinfo .= '
'; $form['info']['captcha_info'] = array ( '#type' => 'item', '#value' => $imagefontinfo, ); return $form; } function textimage_settings_form_validate ($form_id,$form) { //check for valid font path if ($form['textimage_fonts_path'] !="" && !is_dir($form['textimage_fonts_path'])) form_set_error('textimage_fonts_path', t('The entered font path is invalid')); //check for valid image path if ($form['textimage_images_path'] !="" && !is_dir($form['textimage_images_path'])) form_set_error('textimage_images_path', t('The entered image path is invalid')); } function _textimage_number_validate ($field,$fieldName) { if (!is_numeric($field['#value'])) { form_set_error($fieldName,t("The value for")." ".t($field['#title'])." ".t("must be a number")); } } /** * Prints an image containing a textimage code. */ function _textimage_image() { //if we don't have GD2 functions, we can't generate the image if (!function_exists('imagecreatetruecolor')) return; // Set headers header('Expires: Mon, 01 Jan 1997 05:00:00 GMT'); header('Cache-Control: no-store, no-cache, must-revalidate'); header('Cache-Control: post-check=0, pre-check=0', false); header('Pragma: no-cache'); header('Content-type: image/png'); $string = _textimage_code(); // Get truetype font list $fonts = _textimage_font_list(); // Get the background images list $images = _textimage_image_list(); // Randomization amounts: $charSpacingMax = variable_get('textimage_char_spacing_max',10); // Letter spacing max (pixels) $charSpacingMin = max($charSpacingMax*.5,0); // Letter spacing minimum (pixels) $charJiggleAmount = variable_get('textimage_char_jiggle_amount',5); // Up and down randomization (pixels) $charRotateAmount = variable_get('textimage_char_rotate_amount',5); // Character rotation amount (degrees) $charSizeAmount = variable_get('textimage_char_size_amount',2); // Character size amount (pixels) $imageRotateAmount = variable_get('captcha_image_rotate_amount',12); // Image rotation amount (degrees) // Static amounts: $charInitialSize = variable_get('textimage_font_size',24); // Initial Font $imageNoise = variable_get('textimage_image_noise',4); // Amount of noise added to image $imageLines = variable_get('textimage_image_lines',4); // Amount of noise added to image $imageMargin = variable_get('textimage_image_margin',10); // Margin around image (pixels) // write text using a truetype font if (function_exists(imagettftext) && count($fonts) > 0) { // Initialize variables for the loop $characterDetails = array(); // contains the final info about each character // Build a list of character settings for the captcha string for ($i=0;$i $charSize, "angle" => $charAngle, "x" => $x, "y" => $y, "color" => $foreground, "font" => $font, "char" => $char ); // Increment the image size $imageWidth = $x + $charWidth; $imageHeight = max($imageHeight,$y+$charJiggleAmount); } // Create the image based off the string length and margin if (count($images) > 0) { // We're going to be using an image, and need a tranparent background to start with $im = _textimage_create_transparent_image($imageWidth+2*$imageMargin, $imageHeight+2*$imageMargin); $noisecolor = imagecolorallocatealpha($im, 0, 0, 0, 127); } else { // Just make a plain-jane color brackground $im = imagecreatetruecolor($imageWidth+2*$imageMargin, $imageHeight+2*$imageMargin); $background = imagecolorallocate($im, rand(180, 250), rand(180, 250), rand(180, 250)); $noisecolor = $background; imagefill($im, 0, 0, $background); } // Specify colors to be used in the image $foreground = imagecolorallocate($im, rand(0, 80), rand(0, 80), rand(0, 80)); foreach($characterDetails as $char) { // draw character imagettftext($im,$char['size'],$char['angle'],$char['x']+$imageMargin,$char['y']+$imageMargin,$foreground,$char['font'],$char['char']); } } else { // write text using a built-in font $x = 0; $y = 0; $imageWidth = 60 + drupal_strlen($string)*$charSpacingMax*.35; $imageHeight = 30 + $charJiggleAmount; // Create the image if (count($images) > 0 && function_exists(imagecolorallocatealpha)) { // We're going to be using an image, and need a tranparent background to start with $im = _textimage_create_transparent_image($imageWidth, $imageHeight); $noisecolor = imagecolorallocatealpha($im, 0, 0, 0, 127); } else { // Just make a plain-jane color brackground $im = imagecreatetruecolor($imageWidth, $imageHeight); $background = imagecolorallocate($im, rand(180, 250), rand(180, 250), rand(180, 250)); $noisecolor = $background; imagefill($im, 0, 0, $background); } // Add the text for ($i=0;$i 0) { // Prepare a larger image with a background image $im2 = _textimage_create_transparent_image($imageWidth, $imageHeight); } else { // Prepare a larger image with a solid color $im2 = imagecreatetruecolor($imageWidth, $imageHeight); imagefill($im2, 0, 0, $background); } $result = imagecopyresampled ($im2, $im, $imageMargin, $imageMargin, 0, 0, $imageWidth, $imageHeight, imagesx($im), imagesy($im)); $im = $im2; } // strikethrough imageline($im, rand(0, 120), rand(0, 120), rand(0, 120), rand(0, 120), $foreground); // Add Noise for ($x=0; $x<$imageWidth; $x++) { for ($row=0; $row<$imageNoise;$row++) { $y = rand(0,$imageHeight); imagesetpixel($im, $x, $y, $noisecolor); } } // Add Lines and Ellipses for ($x=0; $x<$imageLines;$x++) { imageline($im, rand(0, $imageWidth), rand(0, $imageHeight), rand(0, $imageWidth), rand(0, $imageHeight), $noisecolor); imageellipse($im, rand(0, $imageWidth), rand(0, $imageHeight), rand(0, $imageWidth), rand(0, $imageHeight), $noisecolor); } // Fill image with a random background image if available if (count($images) > 0) { $image = $images[rand(0,count($images)-1)]; _textimage_apply_background_image($im,$image); } //output to browser imagepng($im); imagedestroy($im); } /** * Returns a random string for use in a captcha */ function _textimage_code() { $consts='bcdgjxvmnprst'; $vowels='aeiou'; for ($x=0; $x < 6; $x++) { mt_srand ((double) microtime() * 1000000); $const[$x] = drupal_substr($consts,mt_rand(0,drupal_strlen($consts)-1),1); $vow[$x] = drupal_substr($vowels,mt_rand(0,drupal_strlen($vowels)-1),1); } $string = $const[0] . $vow[0] .$const[2] . $const[1] . $vow[1] . $const[3] . $vow[3] . $const[4]; $string = drupal_substr($string,0,rand(4,6)); //everytime we create a new code, we write it to session $_SESSION['captcha'] = drupal_strtolower($string); if(variable_get('textimage_use_only_upper',0)) $string = drupal_strtoupper($string); return $string; } /** * Returns an array of files with TTF extensions in the specified directory. */ function _textimage_font_list() { $fontdir = variable_get("textimage_fonts_path", ""); $filelist = array(); if (is_dir($fontdir) && $handle = opendir($fontdir)) { while ($file = readdir($handle)) { if (preg_match("/\.ttf$/i",$file) == 1) $filelist[] = $fontdir.'/'.$file; } closedir($handle); } return $filelist; } /** * Returns an array of files with jpg, png, and gif extensions in the specified directory. */ function _textimage_image_list() { $imagesdir = variable_get("textimage_images_path", ""); $filelist = array(); if (is_dir($imagesdir) && $handle = opendir($imagesdir)) { while ($file = readdir($handle)) { if (preg_match("/\.gif|\.png|\.jpg$/i",$file) == 1) $filelist[] = $imagesdir.'/'.$file; } closedir($handle); } return $filelist; } /** * Overlays an image to the supplied image resource */ function _textimage_apply_background_image (&$imageResource,$imageFile) { $backgroundResource = image_gd_open($imageFile,substr($imageFile,-3)); // Copy the text onto the background $backX = imagesx($backgroundResource); $backY = imagesy($backgroundResource); $textX = imagesx($imageResource); $textY = imagesy($imageResource); $randomBackX = rand(0,$backX-$textX); $randomBackY = rand(0,$backY-$textY); // Place the text onto a random location of the background image imagecopyresampled($backgroundResource,$imageResource,$randomBackX,$randomBackY,0,0,$textX,$textY,$textX,$textY); // Crop the background image to the original image size imagecopyresampled($imageResource,$backgroundResource,0,0,$randomBackX,$randomBackY,$textX,$textY,$textX,$textY); } /** * Creates transparent image resources for images with graphic backgrounds */ function _textimage_create_transparent_image($x, $y) { $i = imagecreatetruecolor($x, $y); $b = imagecreatefromstring(base64_decode(_text_image_blankpng())); imagealphablending($i, false); imagesavealpha($i, true); imagecopyresized($i, $b ,0 ,0 ,0 ,0 ,$x, $y, imagesx($b), imagesy($b)); return $i; } function _text_image_blankpng() { $c = "iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m"; $c .= "dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADqSURBVHjaYvz//z/DYAYAAcTEMMgBQAANegcCBNCg"; $c .= "dyBAAA16BwIE0KB3IEAADXoHAgTQoHcgQAANegcCBNCgdyBAAA16BwIE0KB3IEAADXoHAgTQoHcgQAAN"; $c .= "egcCBNCgdyBAAA16BwIE0KB3IEAADXoHAgTQoHcgQAANegcCBNCgdyBAAA16BwIE0KB3IEAADXoHAgTQ"; $c .= "oHcgQAANegcCBNCgdyBAAA16BwIE0KB3IEAADXoHAgTQoHcgQAANegcCBNCgdyBAAA16BwIE0KB3IEAA"; $c .= "DXoHAgTQoHcgQAANegcCBNCgdyBAgAEAMpcDTTQWJVEAAAAASUVORK5CYII="; return $c; } ?> Tallahassee Network for Justice & Peace - Obama http://tnjp.org/taxonomy/term/64/0 Obama en Medea Benjamin - Why I Spoke Out at Obama's Foreign Policy Speech http://tnjp.org/Medea-Benjamin-Why-I-Spoke-Out-at-Obama-Foreign-Policy-Speech <p><A href="http://www.commondreams.org/view/2013/05/24-10" target="_blank">Why I Spoke Out at Obama's Foreign Policy Speech</A><br /> On topics from Guantánamo to drone strikes, I couldn’t let the president act as if he were some helpless official at the mercy of Congress.<br /> <A href="http://www.codepinkalert.org/index.php" target="_blank">Medea Benjamin</A><br /> May 24, 2013</p> <p>Having worked for years on the issues of drones and Guantánamo, I was delighted to get a pass (the source will remain anonymous) to attend President Obama’s speech at the National Defense University. I had read many press reports anticipating what the president might say. There was much talk about major policy shifts that would include transparency with the public, new guidelines for the use of drones, taking lethal drones out of the purview of the CIA, and in the case of Guantánamo, invoking the “waiver system” to begin the transfer of prisoners already cleared for release.</p> <p>Sitting at the back of the auditorium, I hung on every word the president said. I kept waiting to hear an announcement about changes that would represent a significant shift in policy. Unfortunately, I heard nice words, not the resetting of failed policies.</p> <p>Instead of announcing the transfer of drone strikes from the CIA to the exclusive domain of the military, Obama never even mentioned the CIA—much less acknowledge the killing spree that the CIA has been carrying out in Pakistan during his administration. While there were predictions that he would declare an end to signature strikes, strikes based merely on suspicious behavior that have been responsible for so many civilian casualties, no such announcement was made.</p> <p>The bulk of the president’s speech was devoted to justifying drone strikes. I was shocked when the president claimed that his administration did everything it could to capture suspects instead of killing them. That is just not true.</p> <p><a href="http://tnjp.org/Medea-Benjamin-Why-I-Spoke-Out-at-Obama-Foreign-Policy-Speech">read more</a></p> http://tnjp.org/Medea-Benjamin-Why-I-Spoke-Out-at-Obama-Foreign-Policy-Speech#comment Activism Drones Obama Peace &amp; Justice Politics Torture Sun, 26 May 2013 15:52:07 -0400 tnjp 439 at http://tnjp.org Two Obamas, Two Classes of Children http://tnjp.org/Two-Obamas-Two-Classes-of-Children <p><A href="http://www.commondreams.org/view/2013/04/11-10" target="_blank"><IMG src="http://www.commondreams.org/sites/commondreams.org/files/imce-images/us-afghanistan-air-strike-kills-children-560.jpg" title="The lifeless bodies of Afghan children lay on the ground before their funeral ceremony, after an airstrike on their extended family household by order of President Barack Obama killed several Afghan adults and at least ten children in Shultan, Shigal district, Kunar, eastern Afghanistan, Sunday, April 7, 2013. (AP Photo)"></A><br /> April 11, 2013 by Common Dreams<br /> <A href="http://www.commondreams.org/view/2013/04/11-10" target="_blank">Two Obamas, Two Classes of Children</A><br /> by Ralph Nader<br /> An Associated Press photograph brought the horror of little children lying dead outside of their home to an American Audience. At least 10 Afghan children and some of their mothers were struck down by an airstrike on their extended family household by order of President Barack Obama. He probably decided on what his aides describe as the routine weekly “Terror Tuesday” at the White House. On that day, Mr. Obama typically receives the advice about which “militants” should live or die thousands of miles away from drones or aircraft. Even if households far from war zones are often destroyed in clear violation of the laws of war, the president is not deterred.</p> <p>These Obama airstrikes are launched knowing that very often there is “collateral damage,” that is a form of “so sorry terrorism.” How can the president explain the vaporization of a dozen pre-teen Afghan boys collecting firewood for their families on a hillside? The local spotter-informants must have been disoriented by all those $100 bills in rewards. Imagine a direct strike killing and injuring scores of people in a funeral procession following a previous fatal strike that was the occasion of this processional mourning. Remember the December 2009 Obama strike on an alleged al-Qaida training camp in Yemen, using tomahawk missiles and – get this – cluster bombs, that killed 14 women and 21 children. Again and again “so sorry terrorism” ravages family households far from the battlefields...</p> <p><a href="http://tnjp.org/Two-Obamas-Two-Classes-of-Children">read more</a></p> http://tnjp.org/Two-Obamas-Two-Classes-of-Children#comment Afghanistan Drones Fascism USA Militarism Obama Politics Fri, 12 Apr 2013 15:41:00 -0400 tnjp 428 at http://tnjp.org The War Danger In Korea http://tnjp.org/The-War-Danger-In-Korea <p><A href="http://www.answercoalition.org/national/news/the-war-danger-in-korea.html" target="_blank">The war danger in Korea</A><br /> Pentagon’s false propaganda conceals truth about crisis<br /> March 29, 2013</p> <p>By Brian Becker, <A href="http://www.answercoalition.org/" target="_blank">ANSWER Coalition</A> national coordinator</p> <p>The American war propaganda machine does a thorough job in misleading the public about the high-stakes struggle the Pentagon is waging against North Korea.</p> <p>On March 28, the Obama administration ordered and the Pentagon executed a mock bombing attack on North Korea by U.S. B-2 stealth bombers equipped to drop nuclear bombs—the most advanced nuclear-capable plane in the U.S. Air Force. In recent months, the U.S. has also used nuclear-capable B-52 bombers to simulate the bombing of North Korea.</p> <p>The B-2s, each of which costs taxpayers more than $3 billion, dropped inert bombs near North Korea.</p> <p>It is not necessary to speculate how the United States would react if North Korea sent nuclear-capable bombers close to U.S. territory and dropped inert bombs as part of a “war game.” By itself, this B-2 mock bombing of North Korea cost approximately $5.5 million, according to Foreign Policy magazine. The B-2 flights by some estimates cost $135,000 per hour—almost double that of any other military airplane, according to a report from the Center for Public Integrity...</p> <p><a href="http://tnjp.org/The-War-Danger-In-Korea">read more</a></p> http://tnjp.org/The-War-Danger-In-Korea#comment Fascism USA Militarism Obama Politics Wars of Aggression Sat, 30 Mar 2013 14:59:35 -0400 tnjp 426 at http://tnjp.org Ann Wright - 10 Years Later and I’m Still Protesting War http://tnjp.org/Ann-Wright-10-Years-Later-and-Im-Still-Protesting-War <p><A href="http://www.truthdig.com/report/item/10_years_later_and_im_still_protesting_war_20130319/" target="_blank">10 Years Later and I’m Still Protesting War</A><br /> Posted on Mar 19, 2013<br /> By Col. Ann Wright</p> <p>Ten years ago, I resigned my post in opposition to President George W. Bush’s war on Iraq. I had worked in the U.S. government for most of my life, first in the Army and Army Reserves, retiring as a colonel, and then as a diplomat. I served in U.S. embassies in Nicaragua, Grenada, Somalia, Uzbekistan, Kyrgyzstan, Sierra Leone and Micronesia. I helped reopen the U.S. Embassy in Kabul, Afghanistan, in December 2001.</p> <p>Yet after serving in eight presidential administrations, beginning under Lyndon Johnson during the war on Vietnam, I ended my career in the U.S. government in opposition to another conflict—the war on Iraq.</p> <p>A decade after I stepped down as the deputy ambassador in the U.S. Embassy in Mongolia, the war in Iraq is over for Americans, but continues for Iraqis. The whirlwind of sectarian violence brought on by the U.S. invasion and occupation continues to blow there.</p> <p>The war on Afghanistan is now in its 13th year and as the anniversary of my resignation day approaches, I find myself outside the gates of Creech Air Force Base in Nevada, protesting war and, in particular, President Obama’s killer drone programs in Afghanistan, Pakistan, Yemen and Somalia.</p> <p>Although Obama’s kill list, the CIA drone attacks in the undeclared war on Pakistan and the assassination of three American citizens by drone in Yemen receive most of the media and congressional attention, the incredibly large number of drone strikes in Afghanistan has gotten scant coverage—and that is why I am at Creech...</p> <p><a href="http://tnjp.org/Ann-Wright-10-Years-Later-and-Im-Still-Protesting-War">read more</a></p> http://tnjp.org/Ann-Wright-10-Years-Later-and-Im-Still-Protesting-War#comment Activism Afghanistan Dick Cheney Drones George Bush Iraq Militarism Obama Pakistan Peace &amp; Justice Politics Veterans Wars of Aggression Women Wed, 20 Mar 2013 23:25:00 -0400 tnjp 425 at http://tnjp.org Iraq Tenth Anniversary - Cost 2.2 Trillion Dollars and Hundreds of Thousands of Lives http://tnjp.org/Iraq-Tenth-Anniversary-Cost-2.2-Trillion-Dollars-and-Hundreds-of-Thousands-of-Lives <p>This week marks ten years since Bush/Cheney lied America into invading and occupying Iraq. No one from the Bush mis-administration has been indicted for war crimes or any other criminal acts, Gitmo is still open, and the Patriot Act(among other Acts) still enslaves us. </p> <p>Here's a few conclusions of fact to remind of the devastation done in our name - care of the <A href="http://costsofwar.org/iraq-10-years-after-invasion" target="_blank">Costs of War</A> project of <A href="http://www.watsoninstitute.org/news_detail.cfm?id=1746" target="_blank">The Watson Institute for International Studies</A> at <A href="http://news.brown.edu/pressreleases/2013/03/warcosts" target="_blank">Brown University</A>.<br /> <UL><br /> <LI>The Iraq War will ultimately cost U.S. taxpayers at least $2.2 trillion. Because the Iraq war appropriations were funded by borrowing, cumulative interest through 2053 could amount to more than $3.9 trillion.</LI><br /> <LI>The total of U.S. service members killed in Iraq is 4,488. At least 3,400 U.S. contractors have died as well, a number often under-reported.</LI><br /> <LI>Th $2.2 trillion figure includes care for veterans who were injured in the war in Iraq, which will cost the United States almost $500 billion through 2053.</LI><br /> <LI>The $60 billion spent on reconstruction for Iraq has not gone to rebuilding infrastructure such as roads, health care, and water treatment systems, but primarily to the military and police. The Special Inspector General for Iraq Reconstruction has found massive fraud, waste, and abuse of reconstruction funds.</LI><br /> <LI>Our tally of all of the war's dead - including soldiers, militants, police, contractors, journalists, humanitarian workers and civilians - shows that <I>at least</I> 330,000 people have died due to direct war violence.</LI><br /> <LI>A 2011 survey conservatively estimated that between 800,000 and a million Iraqi children have lost one or both parents</LI><br /> <LI>Approximately 2.8 million people are still displaced from their homes</LI></p> <p><a href="http://tnjp.org/Iraq-Tenth-Anniversary-Cost-2.2-Trillion-Dollars-and-Hundreds-of-Thousands-of-Lives">read more</a></p> http://tnjp.org/Iraq-Tenth-Anniversary-Cost-2.2-Trillion-Dollars-and-Hundreds-of-Thousands-of-Lives#comment Civil Liberties Dick Cheney Fascism USA George Bush Iraq Militarism Obama Politics Wars of Aggression Sun, 17 Mar 2013 20:18:13 -0400 tnjp 421 at http://tnjp.org Take Action - Sign the Ten Point Letter to Secretary Hagel http://tnjp.org/Take-Action-Sign-the-Ten-Point-Letter-to-Secretary-Hagel <p>Take Action - <A href="http://salsa.democracyinaction.org/o/826/p/dia/action/public/?action_KEY=12737&amp;track=RootsAction" target="_blank">Sign the letter to Sec. Hagel</A></p> <p>Dear Secretary Hagel,</p> <p>Congratulations on your confirmation to the office of Secretary of Defense. As you take the reins of this new position, Veterans For Peace would like to express to you some ideas about what we would like to see from this office. Veterans For Peace (VFP) has been around since 1985 and was formed by a Viet Nam veteran with the intention of creating a bridge between the peace movement and veterans. VFP members believe that our collective experience as veterans allows us to speak about the true costs and consequences of war and militarism with a voice of credibility and true standing. We feel a responsibility to speak out against war and militarism, particularly when it is manifested in illegal and immoral wars of choice and aggression. We appreciate very much that President Obama has chosen you--someone who has seen first-hand the horrors of combat--to fill the position of Secretary of Defense. Like the members of VFP, your voice will carry an extraordinary credibility, because you understand war in a way that a civilian cannot. It will not be easy to dismiss your words when you caution against military force, or speak in favor of abiding by the Geneva Conventions. We hope that you will become a force for reshaping the Department of Defense, by consideration of the following:</p> <p>1. Refuse to put troops into harm’s way as part of an illegal, immoral war of aggression. The 2001 Authorization to Use Military Force (AUMF), signed as a knee-jerk reaction to 9/11 has been used, first by the Bush administration, and now by the Obama administration, as a blank check for perpetual war. As the Secretary of Defense, you should refuse to deploy any combat troops until Congress provides a legally binding authorization to do so. As a combat veteran, you truly understand that no one should be asked to kill or be killed for a war of choice, particularly one that has not even been legally authorized. Demand adherence to the War Powers Act.</p> <p>2. Take responsibility for the deaths, damage and harm done by the U.S. The “Collateral Murder” video leaked to Wikileaks showed the world just one instance of war crimes conducted by U.S. forces. For the United States to have any moral credibility whatsoever, we must take responsibility for our actions.</p> <p>3. State unequivocally that the U.S. will abide by the Geneva Conventions and will not torture, or participate in the extraordinary rendition of prisoners.</p> <p>4. Stop the illegal use of combat drones that are responsible the extrajudicial assassinations of thousands of civilians in Afghanistan, Pakistan, Yemen and Somalia.</p> <p>5. Call for the closure of all U.S. military bases in foreign countries. The U.S. currently has military troops stationed in more than 150 countries around the world. Bringing all U.S. troops from Afghanistan and around the world back to the U.S. will send a strong message to the international community that the U.S. is not interested in hegemony, or in being the world’s policeman.</p> <p>6. Call for the dismantlement of all nuclear weapons, and immediately take nuclear weapons off of naval vessels. There can never be a justified use of a nuclear weapon and if the U.S. is going to demand that other countries refrain from obtaining nuclear weapons capabilities, then it needs to lead the way in disarmament.</p> <p>7. Stop the use of Depleted Uranium weapons. “DU” weapons violate the Geneva Conventions. Once exploded, DU particulates enter ground water, travel on air currents, and are inhaled by innocent civilians. DU weapons are responsible for a huge spike in deformities, birth defects and other ailments in Iraq where they were widely used.</p> <p>8. End foreign military sales to countries who violate international laws and basic human rights, and who have child soldiers.</p> <p>9. Push to become a signatory to the Land Mine treaty. The international community recognizes land mines and cluster bombs as weapons that kill a high number of civilians, often long after the “official” conflict is over.</p> <p>10. Slash the Pentagon budget. The U.S. spends more on the military and war than the rest of the world combined.</p> <p><a href="http://tnjp.org/Take-Action-Sign-the-Ten-Point-Letter-to-Secretary-Hagel">read more</a></p> http://tnjp.org/Take-Action-Sign-the-Ten-Point-Letter-to-Secretary-Hagel#comment Activism Drones Militarism National Protests Obama Politics Torture Veterans Wars of Aggression Sat, 16 Mar 2013 22:12:00 -0400 tnjp 422 at http://tnjp.org America’s Arms Sales To Bahrain Amid Bloody Crackdown http://tnjp.org/America-Arms-Sales-To-Bahrain-Amid-Bloody-Crackdown <p>Tuesday, January 15, 2013 by ProPublica<br /> <A href="http://www.propublica.org/article/americas-arms-sales-bahrain-crackdown" target="_blank">Revealed: America’s Arms Sales To Bahrain Amid Bloody Crackdown</A><br /> by Justin Elliott, ProPublica</p> <p>Despite Bahrain's bloody crackdown on pro-democracy protesters, the U.S. has continued to provide weapons and maintenance to the small Mideast nation.</p> <p>Following the crackdown on protests in Manama, protesters displayed tear gas canisters and pellets they said were made in the US. (Photo: Al Jazeera English) Defense Department documents released to ProPublica give the fullest picture yet of the arms sales: The list includes ammunition, combat vehicle parts, communications equipment, Blackhawk helicopters, and an unidentified missile system. (<A href="http://www.propublica.org/documents/item/550534-bahrain-weapons" target="_blank">Read the documents</A>.)</p> <p>The documents, which were provided in response to a Freedom of Information Act request and cover a yearlong period ending in February 2012, still leave many questions unanswered. It's not clear whether in each case the arms listed have been delivered. And some entries that only cite the names of weapons may in fact refer to maintenance or spare parts.</p> <p>Defense Department spokesman Paul Ebner declined to offer any more detail. "We won't get into specifics in any of these because of the security of Bahrain," said Ebner.</p> <p>While the U.S. has maintained it is selling Bahrain arms only for external defense, human rights advocates say the documents raise questions about items that could be used against civilian protesters.</p> <p>"The U.S. government should not be providing additional military equipment that could make matters worse," said Sunjeev Bery, Middle East advocacy director for Amnesty International USA....</p> <p><a href="http://tnjp.org/America-Arms-Sales-To-Bahrain-Amid-Bloody-Crackdown">read more</a></p> http://tnjp.org/America-Arms-Sales-To-Bahrain-Amid-Bloody-Crackdown#comment Activism Fascism USA Human Rights Militarism Obama Politics Wed, 16 Jan 2013 13:11:33 -0500 tnjp 417 at http://tnjp.org Mr. President: How Do You Define Precise? http://tnjp.org/Mr-President-How-Do-You-Define-Precise <p>Mr. President: How Do You Define Precise?<br /> Sunday, 25 November 2012<br /> By Robert Greenwald, <a href="http://www.warcosts.com/pakistani_drone_strike_victims" target="_blank">War Costs</a></p> <p><em>"I want to make sure that people understand actually drones have not caused a huge number of civilian casualties….&nbsp;For the most part, they have been very precise, precision strikes against al- Qaeda and their affiliates. And we are very careful in terms of how it's been applied."</em><br /> -&nbsp;<a target="_blank" href="#.UKbpVuOe80w">President Obama</a>, January 2012</p> <p>I have interviewed many people over the years of doing documentaries. &nbsp;Currently in Pakistan&nbsp;filming&nbsp;with victims&nbsp;of drone attacks (ahead of the film, follow my trip at&nbsp;<a target="_blank" href="http://www.warcosts.com/drones_exposed">warcosts.com</a>,&nbsp;<a target="_blank" href="http://www.facebook.com/warcosts">Facebook</a>&nbsp;and&nbsp;<a target="_blank" href="http://www.twitter.com/robertgreenwald">Twitter</a>),&nbsp;I have never had a more haunting and harrowing experience than looking into the eyes of person after person, children and adults, and hearing them talk about their homes, villages and families destroyed by drone attacks. The pain is palpable, their fear still radiates. And even a question about the CIA sets off terror alerts in peoples' eyes....</p> <p><a href="http://tnjp.org/Mr-President-How-Do-You-Define-Precise">read more</a></p> http://tnjp.org/Mr-President-How-Do-You-Define-Precise#comment Drones Fascism USA Human Rights Militarism Obama Pakistan Politics Tue, 27 Nov 2012 19:45:22 -0500 tnjp 415 at http://tnjp.org Obama Administration Torpedoed Arms Trade Treaty http://tnjp.org/Obama-Administration-Torpedoed-Arms-Trade-Treaty <p><A href="http://www.guardian.co.uk/commentisfree/2012/aug/03/obama-administration-arms-trade-treaty" target="_blank">The Obama administration has torpedoed the arms trade treaty</A></p> <p>Though nothing in the UN treaty would impact on its domestic gun laws, the US is the world's largest weapons exporter<br /> Amy Goodman<br /> guardian.co.uk, Friday 3 August 2012 04.00 EDT </p> <p>What is more heavily regulated, global trade of bananas or battleships? In late June, activists gathered in New York's Times Square to make the absurd point that, unbelievably, "there are more rules governing your ability to trade a banana from one country to the next than governing your ability to trade an AK-47 or a military helicopter". So said Amnesty International USA's Suzanne Nossel at the protest, just before the start of the UN conference on the Arms Trade Treaty (ATT), which ran from 2 July to 27 July. Thanks to a last-minute declaration by the United States that it "needed more time" to review the short, 11-page treaty text, the conference <A href="http://www.guardian.co.uk/world/2012/jul/28/arms-trade-treaty-william-hague" target="_blank">ended last week in failure</A>.</p> <p>There isn't much that could be considered controversial in the treaty. Signatory governments agree not to export weapons to countries that are under an arms embargo, or to export weapons that would facilitate "the commission of genocide, crimes against humanity, war crimes" or other violations of international humanitarian law. Exports of arms are banned if they will facilitate "gender-based violence or violence against children" or be used for "transnational organised crime". Why does the US need more time than the more than 90 other countries that had sufficient time to read and approve the text? The answer lies in the power of the gun lobby, the arms industry and the apparent inability of Barack Obama to do the right thing, especially if it contradicts a cold, political calculation.</p> <p><a href="http://tnjp.org/Obama-Administration-Torpedoed-Arms-Trade-Treaty">read more</a></p> http://tnjp.org/Obama-Administration-Torpedoed-Arms-Trade-Treaty#comment Drones Fascism USA Militarism Obama Pakistan Politics Sun, 05 Aug 2012 12:28:32 -0400 tnjp 412 at http://tnjp.org Destroying the Commons - Chomsky http://tnjp.org/Destroying-the-Commons-Chomsky <p>a speech at the University of St. Andrews in Scotland...<br /> <a href="http://www.tomdispatch.com/post/175571/tomgram%3A_noam_chomsky%2C_the_great_charter%2C_its_fate%2C_and_ours/">Tomgram: Noam Chomsky, The Great Charter, Its Fate, and Ours | TomDispatch</a><br /> Destroying the Commons<br /> How the Magna Carta Became a Minor Carta<br /> By Noam Chomsky</p> <p> Down the road only a few generations, the millennium of Magna Carta, one of the great events in the establishment of civil and human rights, will arrive. Whether it will be celebrated, mourned, or ignored is not at all clear.</p> <p> That should be a matter of serious immediate concern. What we do right now, or fail to do, will determine what kind of world will greet that event. It is not an attractive prospect if present tendencies persist -- not least, because the Great Charter is being shredded before our eyes.</p> <p> The first scholarly edition of Magna Carta was published by the eminent jurist William Blackstone. It was not an easy task. There was no good text available. As he wrote, “the body of the charter has been unfortunately gnawn by rats” -- a comment that carries grim symbolism today, as we take up the task the rats left unfinished...</p> <p><a href="http://tnjp.org/Destroying-the-Commons-Chomsky">read more</a></p> http://tnjp.org/Destroying-the-Commons-Chomsky#comment Civil Liberties Civil Rights Drones Fascism USA Human Rights Militarism Obama Politics Sun, 29 Jul 2012 17:39:08 -0400 tnjp 411 at http://tnjp.org