text:
DVD|McCain Interview Won't Be Shown Until After Election
McCain Interview Won't Be Shown Until After Election
By MICHAEL CIEPLY OCT. 13, 2008
LOS ANGELES — If Senator John McCain has more to say publicly about his time in a North Vietnamese prison before next month's election, it will not be with help from Warner Brothers.
The studio moved quietly over the last few weeks to block any promotional showing of an interview — tied to the release of the first DVD version of the 1987 film "Hanoi Hilton" — in which Senator McCain spoke of his imprisonment in the Hoa Lo prison during the Vietnam War. The studio is concerned that any pre-election showing might embroil the project in electoral politics.
"It's just us trying to be cautious and not affect the election one way or the other," said Ronnee Sass, a spokeswoman for the studio's home entertainment division.
The prohibition came amid a rising tide of politically edged entertainments, from Michael Moore's "Fahrenheit 9/11," a Lions Gate Films release that presented an unflattering portrait of President Bush in the last presidential election, to Tina Fey's more recent barbed portrayals of Gov. Sarah Palin on NBC's "Saturday Night Live."
The "Hanoi Hilton" DVD cover.
The interview was recorded in May by the filmmaker and well-known Hollywood conservative Lionel Chetwynd for inclusion on the "Hanoi Hilton" DVD, which is set for release on Nov. 11.
"Finding someone in Hollywood who says they don't want to affect the election is like finding a virgin in a brothel," Mr. Chetwynd said on Monday. He noted that studios were plugging movies with far more potential political impact, Oliver Stone's Bush biography "W." among them.
Mr. Chetwynd wrote and directed "Hanoi Hilton," a drama, which starred Michael Moriarty and made only a modest impression at the box office in its original release but became a favorite among veterans and others who warmed to its sympathetic portrayal of American prisoners of war. He had planned to promote the DVD among veterans groups and on Web sites and was preparing to screen the film at the Creative Artists Agency, where he is represented, until Warner called a halt, according to Ms. Sass and others.
When queried initially Ms. Sass said the studio had blocked showings out of concern that it might violate campaign finance law. After conferring with company lawyers, however, she said Warner was concerned not about legal violation but possible accusations that it was electioneering. "It could have gotten some objections," she said.
Daniel P. Tokaji, an associate professor at the Ohio State University law school, said promotional showings of the McCain interview would present no obvious legal issue. "I don't immediately see what law they would violate," said Professor Tokaji, who specializes in election law.
A version of this article appears in print on , on Page C2 of the New York edition with the headline: McCain Interview Won't Be Shown Until After Election. Order Reprints| Today's Paper|Subscribe


text:
H.R. 1565 (117th): Senior Security Act of 2021
React to this bill with an emoji
Save your opinion on this bill on a six-point scale from strongly oppose to strongly support
Add Note All Positions »
(Shared on panel.)
(About Ads | Hide These Ads)
Widget for your website
Get a bill status widget »
Follow GovTrack on social media for more updates:
Visit us on Mastodon Visit us on Instagram
On GovTrack Insider:
Protecting Life on College Campus Act would ban federal funding to schools offering abortion pills…
If you attend the UC college system, should "you see" abortion care provided on campus? Jan 30, 2023
Republican constitutional amendment would give president a line-item veto over federal spending —…
Judging by Bill Clinton's 957-page autobiography and Barack Obama's 768-page memoir, presidents aren't great at deleting lines. Jan 27, 2023
CRT (Curriculum Review of Teachings) Transparency Act would require K-12 schools post curricula…
Should public schools also mean publicly-posted lesson plans? Jan 26, 2023
Add a note about this bill. Your note is for you and will not be shared with anyone.
Because you are a member of panel, your positions on legislation and notes below will be shared with the panel administrators. (More Info)
We don't have a summary available yet.
The summary below was written by the Congressional Research Service, which is a nonpartisan division of the Library of Congress, and was published on May 26, 2021.
National Senior Investor Initiative Act of 2021 or the Senior Security Act of 2021
This bill establishes the Senior Investor Taskforce within the Securities and Exchange Commission. The taskforce must report on topics relating to investors over the age of 65, including industry trends and serious issues impacting such investors, and make recommendations for legislative or regulatory actions to address problems encountered by senior investors.
The Government Accountability Office must report on the financial exploitation of senior citizens.

redpajama_set_name: RedPajamaCommonCrawl


Editorial: Red flag for California high-speed rail?
LOS ANGELES — Did the California High-Speed Rail Authority downplay potential cost increases for the state's controversial bullet train? In a draft PowerPoint presentation dated October 2013, the agency's project management consultant estimated that the cost of the first phase of the line, from Burbank to Merced, could grow to about $36 billion. Yet the authority ended up putting a lower cost estimate in its official business plan released four months later, The Times recently reported.


Everyone is encouraged to be part of a life group. There are a number of different active Life groups that meet at different times and days to meet your needs (inter-generational, men's and ladies', and age/life stage specific). Join us for Bible studies, prayer, and fellowship. Each fall we do a church wide series that the Life Groups follow before moving on to other studies. For More information or to get connected with a group, contact the church office.


text:
ArmA: Combat Operations Bohemia Interactive Studio, Atari (U.S.A.), 2007
Action - Flight - Helicopter - Level editor - Shooter - Simulation - Strategy - Tank
ArmA: Queen's Gambit
ArmA II
ArmA II: Operation Arrowhead
Liero Xtreme
CellFighter
The Ancient Art of War in the Skies
Spore: Creepy & Cute Parts Pack
Spore: Galactic Adventures
ArmA: Armed Assault is a direct descendent of Operation Flashpoint, but the name is no longer used as Codemasters holds the IP.
This military shooter with a focus on realism takes place on the fictional Atlantic island of Sahrani, divided by a communist regime in the north and a democratic monarchy in the south. When US forces leave the south after a training, the northern dictator decides to attack the south. The player takes control of one soldier of a squad who has not left the island yet, to assist the local militia.
The campaign measures up to 400 square kilometers, 4 times as large as in its predecessor, using the Real Virtuality 2 engine. Unlike Operation Flashpoint, players may now jump into other units than one designated character during missions. The main campaign offers over 20 missions with non-linear options. The game AI can also act independently from the player's actions.
The focus on realism is reflected in the weapon and vehicle models, weapon ballistics, sighting, damage, recoil and reloading. There are destructible objects and terrain, and animals, even birds and insects, react to movement and action on the terrain. The player cannot jump, but swimming has been introduced.
Multiplayer allows as many players to join as the server supports, and AI NPCs, both as allies and foes, can also be added. There is also a cooperative mode for the singleplayer missions, and with the included editor, complex battle scenarios can be scripted. [source:mobygames]
http://www.mobygames.com/game/arma-combat-operations/


text:
Economic adviser: China wants to keep negotiating with Trump
Associated Press 6 December 2019
White House chief economic adviser Larry Kudlow talks with reporters outside the White House, Friday, Dec. 6, 2019, in Washington. (AP Photo/ Evan Vucci)
WASHINGTON (AP) — President Donald Trump's economic adviser said Friday that he doesn't think China is slow-walking trade talks with the United States to see whether Trump is reelected next year.
Larry Kudlow told reporters at the White House that he spent an hour on Thursday with a "grand, older American statesman" who recently visited China and saw Chinese President Xi Jinping twice. Kudlow said the statesman told him that Xi indicated that he'd rather continue to discuss and negotiate with Trump than anyone else.
Kudlow didn't identify the statesman, but 96-year-old Henry Kissinger, the former secretary of state and national security adviser to President Richard Nixon, was photographed on stage at an economic forum late last month in Beijing. Kissinger's office did not immediately return a call to confirm he met with Kudlow.
In May, Trump suggested that Xi was waiting to see who wins the 2020 U.S. presidential election. Trump tweeted an unsupported claim that China was attempting to renegotiate elements of the deal in the "sincere HOPE that they will be able to 'negotiate' with Joe Biden or one of the very weak Democrats, and thereby continue to ripoff the United States (($500 Billion a year)) for years to come."
Former Vice President Joe Biden is running for the Democratic presidential nomination.
Kudlow also said he didn't think Trump would be weakened in the trade negotiations if he is impeached by the House.
"Personally, I don't think this impeachment stuff is going anyplace," Kudlow said. "There may be an impeachment vote. There will be no conviction vote — that is my view. I think the Chinese know that and I think a lot of people know that.''
WOWtv - Steven Spielberg: Cinemas Need To Be Around Forever
FOOD REVIEW: Australia's Mad Mex lands in Singapore serving authentic Mexican food


text:
Q: simple example how to insert audio file in android i am trying to insert a audio file into the application which is not showing any kind of error but while am running the program then it is showing some kind of exception that to force close kind of dialog box and here is my code
This is my first activity where am trying to invoke the button into the second activity playing the audio file.
public class Audio extends Activity {
    /** Called when the activity is first created. */

   @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        Button b2=(Button)findViewById(R.id.b1);
        b2.setOnClickListener(new View.OnClickListener() {

            public void onClick(View v) {
                // TODO Auto-generated method stub
                Intent i1 =new Intent(Audio.this,Audio1.class);
                startActivity(i1);
            }
        });
    }
}

public class Audio1 extends Activity {
    private MediaPlayer eMediaPlayer= new MediaPlayer();

     public void onCreate(Bundle savedInstanceState) {

            super.onCreate(savedInstanceState);
            setContentView(R.layout.audio);
            eMediaPlayer=MediaPlayer.create(this, R.raw.ab);
            eMediaPlayer.start();

}
}

*

*audio is my xml file which is empty presently

*R.raw.ab is the resource file which is 830kb audio file

A: you should call
eMediaPlayer.prepare();

before
eMediaPlayer.start();

redpajama_set_name: RedPajamaStackExchange


The State Department is racing against an end-of-year deadline to take over Iraq operations from the U.S. military, throwing together buildings and marshaling contractors in its biggest overseas operation since the effort to rebuild Europe after World War II, Mary Beth Sheridan and Dan Zak report for The Washington Post.
Attention in Washington and Baghdad has centered on the number of U.S. troops that could remain in Iraq. But those forces will be dwarfed by an estimated 16,000 civilians under the American ambassador — the size of an Army division.


text:
Northrop Grumman Honors LM Workers at Apollo 11 44th Anniversary Event
By Emily Carney, on July 23rd, 2013
On Saturday, July 20, Northrop Grumman held a ceremony to honor the workers that made the Moon landings a reality. Photo Credit: Alan Walters / AmericaSpace
KENNEDY SPACE CENTER, Fla — The Kennedy Space Center Visitor Complex's Apollo/Saturn V Center played host to Northrop Grumman's gala celebrating the 44th anniversary of the Apollo 11 Moon landing the evening of Saturday, July 20. Grumman developed and produced Apollo's Lunar Module (LM), which was, in essence, the world's first true "spaceship," which successfully delivered 12 astronauts to the surface of the Moon. The gala was well-attended, featuring former and current NASA officials, elected representatives, astronauts, and, of course, the men and women who made the seemingly impossible possible—the workers of Grumman. (The Grumman company would later merge with Northrop to form Northrop Grumman.)
The event began at 7 p.m. EDT with a dinner provided by the Visitor Complex. Following a dinner, Rick Matthews, Northrop Grumman's vice president, Melbourne Operations, recognized the lunar module workers who made the first lunar landing a success. During the Apollo era, Grumman's workers frequently put in 12-plus hours daily. Matthews acknowledged that the program's successes belong to these men and women as much as they do to NASA and other contractors.
"It's always a pleasure to have the privilege to rub shoulders with the folks that developed, designed, and built the Lunar Module," Matthews said. "While the astronauts were certainly the heroes, it took a team of thousands to make the program the success that it was."
The Northrop Grumman team admires their handiwork at the Kennedy Space Center Visitor Complex's Saturn V Building. Photo Credit: Alan Walters / AmericaSpace
The famed "Voice of Apollo," Jack King, shared his memories of announcing the opening moments of one of the world's most stunning achievements. King capped his reminiscence off with a reenactment of his iconic Apollo 11 launch countdown. King shared his thoughts with AmericaSpace about this bittersweet event, which marked the first Apollo 11 anniversary without Neil Armstrong, Apollo 11's commander and the first man on the Moon. Armstrong passed away last year after complications from coronary artery bypass surgery.
"It's always great to get back together with members of the team that made one of the greatest accomplishments in human history a reality," King said. "I don't live in the past, but I do enjoy reliving memories with colleagues that I worked with during this pivotal point in history. Tonight was a wonderful occasion, and I enjoyed myself immensely."
The launch commentator for Apollo 11, Jack King, recreates his famous launch countdown from Apollo 11. Photo Credit: Alan Walters / AmericaSpace
Following opening remarks, which included a salute to the families of the Northrop Grumman workers, Apollo 13 astronaut Fred Haise spoke at length about the successes of the Apollo program and the dedication of the company to its mission. He also referenced the time he was saved by that mission's Lunar Module—Aquarius.
"Grumman's handiwork made Apollo spring out of the realm of fantasy and into reality," Haise said the day before the 44th anniversary ceremony. "Personally, I owe the LM my life."
On Apollo 13, Haise, along with colleagues Jim Lovell and Jack Swigert, used the LM as a lifeboat when their service module was crippled by an explosion. Haise discussed the challenges of powering down the LM to merely a little more than 10 amps (it usually operated at 35 amps or above).
Apollo astronauts in attendance included Walter Cunningham (Apollo 7) and Rusty Schweickart (Apollo 9). However, they were not the only spaceflyers. Space shuttle astronauts Carl Meade (STS-38, STS-50, and STS-64), Winston Scott (STS-72 and STS-87) and Bob Cabana (STS-41, STS-53, STS-65 and STS-88, Cabana is the current NASA Kennedy Space Center Director) also attended the ceremony.
The 44th anniversary event was closed with an auction of space memorabilia to benefit students pursuing degrees in fields of Science, Technology, Engineering, and Math, more commonly known as "STEM."
During the reunion ceremony guests and retired Northrop Grumman workers mingled, remembering their sacrifices as well as those made by their families. One of the more poignant moments of the evening was when the emcee asked the wives, who had given so much to ensure that Apollo's fire reached the Moon, to stand. They received thunderous, and much deserved, applause.
This event, as well as the previous day's barbecue in Harbor Pointe, Titusville, and remembrances at the Space Walk of Fame, was planned by the 44th Lunar Landing Anniversary Event Planning Committee in conjunction with the Northrop Grumman Corporation.
[youtube_video]http://youtu.be/XB073qtp6Cw[/youtube_video]
Video courtesy of AmericaSpace
"Northrop Grumman's desire to carry forward the legacy of the LM Team accomplishments created a positive environment for this celebration. It also promotes our shared views for nurturing the interests and excitement of younger generations in space exploration. The LM team members truly support these endeavors," said Bob Blaue, a member of Northrop Grumman's Apollo 11 Lunar Landing Event Planning Committee.
The committee consisted of Blaue, Lee Brandt, Al Bredberg, Jim Chapman, Walt Dermody, Dick Kupczyk, Bob Raab, Harry Silipo, Roger Vizioli, and Marty Winkel. The program also honored the Apollo astronauts who have left us too soon, including Pete Conrad, Jack Swigert, Alan Shepard, Stuart Roosa, James Irwin, Ron Evans, and, of course, Neil Armstrong.
Want to keep up-to-date with all things space? Be sure to "Like" AmericaSpace on Facebook and follow us on Twitter: @AmericaSpace
July 23rd, 2013 | Tags: AmericaSpace, Apollo, Apollo 10, Apollo 11, Apollo 12, Apollo 13, Apollo 14, Apollo 15, Apollo 16, Apollo 17, Apollo 7, Apollo 8, Apollo 9, Apollo Program, Apollo/Saturn V Center, Astronaut, Bob Blaue, Carl Meade, CM, Columbia, command module, CSM, Eagle, Endeavour, Fred Haise, Jack King, Kennedy Space Center, Kennedy Space Center Visitor Complex, KSCVC, LEM, LM, Lunar, Lunar Module, Melbourne, Moon, moon landings, Moonwalker, NASA, Neil Armstrong, Northrop Grumman, Rick Matthews, rocket, Rockets, Rusty Schweickart, Saturn V, Saturn V Center, Sea of Tranquility, Space, space exploration, space shuttle, STS-72, STS-87, Voice of Apollo, Walt Cunningham, Winston Scott | Category: AmericaSpace, Kennedy Space Center, KSC, Moon, NASA, Neil Armstrong, Space, Space Exploration, Spaceflight
NASA Team Formed to Investigate EVA-23 Incident
NASA Scrambles to Get Suit Kit to ISS as Leak Investigation Continues
1 comment to Northrop Grumman Honors LM Workers at Apollo 11 44th Anniversary Event
Great article, its a pity that the anniversary does not receive more coverage. This is a very informative site, please keep up the articles.


text:
package text.analyzer.dep.chapas

import text.analyzer.dep.{Chunk, Chunks}

/**
  * @author Nakayama
  *         Created on 2015/12/20
  */
case class Token(id: Int,
                 surface: String,
                 base: String,
                 pos: String,
                 detailedPos: Option[String],
                 semantic: Option[String],
                 private val pasMap: Option[Map[String, String]]) {
  private var doc_ : Doc = _

  def doc: Doc = doc_

  def doc_=(doc: Doc): Unit = doc_ = doc

  private var sentence_ : Chunks = _

  def sentence: Chunks = sentence_

  def sentence_=(sentence: Chunks): Unit = sentence_ = sentence

  private var chunk_ : Chunk = _

  def chunk: Chunk = chunk_

  def chunk_=(chunk: Chunk): Unit = chunk_ = chunk

  lazy val prev: Option[Token] = sentence.tokens.lift(id - 1)

  lazy val next: Option[Token] = sentence.tokens.lift(id + 1)

  lazy val isPredicate: Boolean = pasMap match {
    case Some(map) if map.get("type").exists(e => e == "pred" || e == "noun") => true
    case None => false
  }

  lazy val argId: Option[Int] = pasMap map {
    map: Map[String, String] =>
      {map.get("id") orElse map.get("ID") map {
        x: String => x.toInt
      }}.get
  }

  lazy val pas: Option[PAS] = pasMap map {
    map: Map[String, String] =>
      val arguments: Map[ArgLabel.Value, Token] = map.collect {
        case (labelName, argIdStr) if labelName.matches( """(ga|o|ni)""") =>
          val argToken: Option[Token] = doc.tokens.find(_.argId match {
            case Some(x) if x == argIdStr.toInt => true
            case _ => false
          })
          assume(argToken.isInstanceOf[Some[Token]], s"${this.surface} refers unknown argument ID: $argIdStr")
          ArgLabel.extendedWithName(labelName) -> argToken.get
      }
      PAS(this, arguments)
  }

  override val toString: String = surface
}

redpajama_set_name: RedPajamaGithub


text:
Q: Rails 2.3 - Render Issue on failed validation (one controller to another) I have a controller (items) that renders a contact form if an item is searched for and found. The items are find by url parameters. The problem I'm having is that if validation fails, I don't know how to re-render the contact form back into the items controller while maintaining the url parameters.
Thanks in advance for any help.

A: Maybe use AJAX for contact form. This would be nice for users and it doesn't have described problems.


text:
Q: Pytest with xdist takes 16x longer, regardless of number of workers I've just added pytest to an existing Django project - all unit tests are using Django's unittest subclasses, etc. We use an SQLite in-memory database for tests.

*

*manage.py test takes rougly 80 seconds on our test suite

*py.test takes the same

*py.test -n1 (or -n4, or anything like that) takes roughly 1280 seconds.

I would expect an overhead to support the distribution, but obviously with -n4, it should be approximately 3-4 times faster on a large-ish test suite.

Findings...

I've so far traced the issue down to database access. The tests run quickly until they first hit the database, but at the first .save() call on a Django model, that test will be incredibly slow.
After some profiling on the workers, it looks like they are spending a lot of time waiting on locks, but I have no idea if that's a reliable finding or not.
I wondered if there was some sort of locking on the database, it was suggested to me that the in-memory SQLite database might be a memory mapped file, and that locking might be happening on that between the workers, but apparently each call to open an in-memory database with SQLite will return a completely separate instance.

As it stands, I've probably spent 5+ hours on this so far, and spoken at length to colleagues and others about this, and not yet found the issue. I have not been able to reproduce on a separate codebase.

*

*What kind of things might cause this?

*What more could I do to further track down the issue?

Thanks in advance for any ideas!


text:
Q: Changing the color of pixles of an Image in c# I am trying to replace black pixels with red in an image. Here is my image My_Image
Here is my code
public static Bitmap ChangeColor(Bitmap scrBitmap)
{
    Color newColor = Color.Red;
    Color actualColor;
    Bitmap newBitmap = new Bitmap(scrBitmap.Width, scrBitmap.Height);

    for (int i = 0; i < scrBitmap.Width; i++)
    {
        for (int j = 0; j < scrBitmap.Height; j++)
        {
            actualColor = scrBitmap.GetPixel(i, j);

            if (actualColor.R == 0 && actualColor.G == 0 && actualColor.B == 0)
                newBitmap.SetPixel(i, j, Color.FromArgb(actualColor.A, Color.Red));
        }
    }

    return newBitmap;
}

On Load
Bitmap image = new Bitmap(@"D:\test.jpg");
pictureBox1.Image = ChangeColor(image);

I just want to change the color of the black background to red but it's not working. What am I missing ?
Edit: I tried the solution of This Post but it changes the color of the whole image.
Edit2: I tried @JonasH solution
if (0.3 * actualColor.R + 0.59 * actualColor.G + 0.11 * actualColor.B < 10)
                        newBitmap.SetPixel(i, j, Color.FromArgb(actualColor.A, Color.Red));
                    else
                        newBitmap.SetPixel(i, j, actualColor);

It worked but not perfectly. Some pixels which are not pure black but close enough to black are still not changed. Here is the

A: The most obvious problem is that you create a new bitmap, but do not copy the color for non black pixels. So you probably should do:
if (actualColor.R == 0 && actualColor.G == 0 && actualColor.B == 0)
       newBitmap.SetPixel(i, j, Color.FromArgb(actualColor.A, Color.Red));
else
    newBitmap.SetPixel(i, j, actualColor);

An alternative would be to update the source bitmap in-place instead of creating a new one.
You might also want to change the color checks to something like
if (0.3 * actualColor.R + 0.59 * actualColor.G + 0.11*actualColor.B < threshold)

To include all pixels with a luminosity lower than some threshold