Hamming Code


Hi, I’m struggling with this question, please help me.
Convert the 7-bit binary code 011 1101 into a suitable Hamming code that can detect and correct a single bit error. Use EVEN parity. Write your final answer as a 3-digit hexadecimal.

I am pretty new in these whole thing so I am trying to understand what to do. In my understanding, if a hamming code has been given, for example 01110, we put these numbers into data bits and find the parity bit and find the SECDED code at last. And if a SECDED code has been given, we again put the given numbers in SECDED to parities and check if they are even or odd and figure where the error is.
So in this question, is it asking us to work 011 1101 is a given SECDED and find the error?
011 1101 is odd so there’s an error but when I put these numbers to parities for instance,

Bit # 6 5 4 3 2 1 0
D3 D2 P3 D1 P2 P1 P0
P1 1 1 0 no error
P2 0 1 1 no error
P3 0 1 1 no error
P0 0 1 1 1 1 0 1 SECDED CODE there’s an error

I’m so confused right now….

August 29, 2015 at 10:21AM

redirecting to
http://www.dreamincode.net/forums/topic/380832-hamming-code/

ifttt

Situation Update – VA Caribbean Healthcare System


VA Caribbean Healthcare System Update
Having trouble viewing this email? View it as a Web page.

VA Caribbean
Healthcare System Update

email-icon-exclamation_original.png

EMERGENCY NOTIFICATIONS

Situation Update – VA Caribbean Healthcare System
08/29/2015 09:00 AM EDT

At this time, the VA Caribbean Healthcare System and outpatient clinics are fully operational.

For the latest information, select Subscribe on the upper right-hand corner of this message.

For information on hurricane and Emergency preparedness please visit http://www.ready.gov to learn about preparedness kits, family emergency plans and more.

For up-to-date information about the VA Caribbean Healthcare System pease check this page or on Facebook at http://www.facebook.com/VAcaribbean

Trump-speak: 100 bucks got you in to his Boston unfundraiser


Republican presidential candidate Donald Trump answers questions from the media after speaking at a rally at the TD Convention Center, Thursday, Aug. 27, 2015, in Greenville, S.C. (AP Photo/Richard Shiro)

NORWOOD, Mass. (AP) — Donald Trump held a $100-per-person campaign event — which he repeatedly insisted wasn’t a fundraiser — outside Boston on Friday evening as he backpedaled on his previous pledge not to accept contributions for his campaign.

“This is not a fundraiser tonight, just so you understand,” Trump told reporters at the sprawling Norwood property owned by local car dealership owner Ernie Boch Jr. A combination of die-hard fans and those curious to see the spectacle were treated to food from chef Tony Ambrose and a live cover band, in addition to a speech from the billionaire businessman and Republican candidate.

Trump said the money raised was only being used to offset the costs of the event and said people attending could choose to pay whatever they wanted.

That’s despite multiple signs that were posted at the property’s entrance telling those arriving, “Please have cash ready or make checks payable to: Donald J. Trump for President, Inc.” and “Entry Fee $100 Per Person.”

The event comes as Trump has reversed course on his early pledge to self-fund his campaign entirely.

“I don’t need anybody’s money,” he said in his announcement speech, declaring: “I’m using my own money. I’m not using the lobbyists. I’m not using donors. I don’t care. I’m really rich.”

But Trump’s tone has changed in recent weeks as he’s warmed to the idea, adding a contributions page to his website and attending a fundraiser held by a super PAC supporting his candidacy.

“I actually like the idea of investing in a campaign,” he told CBS’ “Face the Nation” Sunday. “But it has to be no strings attached.”

Trump campaign manager Corey Lewandowski said earlier Friday the campaign had received tens of thousands in small-dollar donations in the last eight weeks from people eager to contribute to Trump’s effort. But he said the campaign had not made any efforts to solicit money and said contributions would remain “a very small portion” of the campaign’s funds.

Boch said the event had “started out as a fundraiser because (that’s) the usual thing for candidates.” But Boch added: “It wasn’t like that with Mr. Trump. He likes the idea of having people come in. So the money was not what he was interested in.”

Speaking to attendees under a giant tent on Boch’s yard later in the event, Trump continued to boast about all the contributions he claims he’s turned down.

“I feel a little bit like, ‘What’s going on?'” he said. “We’re turning down millions of dollars.”

He also launched into a personal attack against Huma Abedin, a top aide to Democratic front-runner Hillary Rodham Clinton, who has recently been swept up in the controversy over Clinton’s use of a private email server while she was secretary of state.

Trump, mispronouncing Abedin’s first name as “Uma,” suggested Abedin had shared classified information with her husband, former New York Rep. Anthony Weiner, who resigned after sending explicit images of himself to women he’d met online. Trump called Weiner “one of the great sleazebags of our time.”

Clinton spokesman Nick Merrill responded with a statement saying, “Trump has spent the summer saying offensive things about women, but there is no place for patently false, personal attacks towards a staff member.”

“He should be ashamed of himself, and others in his own party should take a moment to stand up to him and draw the line for once,” Merrill said.

Join the conversation about this story »

August 29, 2015 at 09:46AM

redirecting to
http://www.businessinsider.com/ap-trump-speak-100-bucks-got-you-in-to-his-boston-unfundraiser-2015-8

ifttt

The Latest on Houston deputy: Hunt for suspect continues


HOUSTON (AP) — 8:40 a.m.

Authorities say they are speaking with a person who has information about the fatal shooting of a Harris County sheriff’s deputy.

Sheriff’s office spokesman Deputy Thomas Gilliland said the person is not under arrest, nor is he a suspect or a person of interest.

No one has been charged and the search continues for the suspect.

Police say Deputy Darren Goforth was pumping gas about 8:30 p.m. Friday at a suburban Houston gas station when a man approached him from behind and fired several shots. He was pronounced dead at the scene.

The male suspect is described between 20 and 25 years old and about 5-foot-10 to 6 feet tall, was wearing red shorts and a white T-shirt and driving a red or maroon pickup truck.

Join the conversation about this story »

August 29, 2015 at 09:41AM

redirecting to
http://www.businessinsider.com/ap-the-latest-on-houston-deputy-hunt-for-suspect-continues-2015-8

ifttt

Bolt wins world treble with relay gold


Jamaica's Usain Bolt crosses the finish line to win for the Jamaican team the final of the men's 4x100 metres relay athletics event at the 2015 IAAF World Championships at the

Beijing (AFP) – Usain Bolt capped a memorable world championships by winning a third gold medal on Saturday as anchor of the Jamaican 4x100m relay team, while fierce rivals the United States were disqualified.

Bolt ran the final leg of the relay at a packed Bird’s Nest stadium, hurtling through the line in 37.36 seconds after teammates Nesta Carter, Asafa Powell and Nickel Ashmeade had successfully got the baton around.

The victory gave Bolt his 11th world gold medal — the only one missing from his collection being the 100m in the 2011 Daegu worlds when he was disqualified after a false start.

The US quartet of 100m bronze and silver medallists Trayvon Bromell and Justin Gatlin, and fellow finalists Tyson Gay and Mike Rodgers were initially awarded silver but later disqualified.

China, headed by individual 100m finalist Bingtian Su, delighted the home crowd when they were upgraded to a shock silver in 38.01sec while Canada were awarded bronze (38.13).

Join the conversation about this story »

August 29, 2015 at 09:29AM

redirecting to
http://www.businessinsider.com/afp-bolt-wins-world-treble-with-relay-gold-2015-8

ifttt

‘No Escape’ may be intense and horrifying, but it’s also tasteless


no escape owen wilson

“No Escape” is a film so hell-bent on giving its audience a nightmarish experience that it pays no mind to its inherently racist premise.

The film follows an American family (headed by Owen Wilson and Lake Bell) as they move from Texas to an anonymous Asian country (it’s never explicitly mentioned, but we later find out it’s close to Vietnam) and with their two young daughters get caught in the middle of a violent coup. They must do whatever it takes to survive while all the Americans are specifically hunted and killed.

While it does achieve its desired level of intensity, “No Escape” is just another entry in a long line of tone-deaf films that place white Americans in perilous situations while ignoring the humanity of the natives actually affected by the violence. Whitewashing is nothing new in Hollywood, but that doesn’t make it any less problematic.

Every single “other” (or local) on-screen is either a savage inflicting harm on an American, or a corpse. By the end, many are both. None of the natives speak, really, unless the sound of machetes hitting human flesh or a gunshot can be construed as language. The body count here is incredibly high.

no escape owen pierceIt’s a horribly ugly film that appears to take great pleasure in its own misery; it has all the bells and whistles of schlock horror, but wrapped around a generic, overly sentimental script. These elements clash throughout and give the film a goofy, inconsistent tone. At one point it literally jumps from a potential rape to a cheesy one-liner.

A geopolitical thriller shouldn’t revel so much in its senseless bloodshed. The film plays like a snuff film that just so happens to feature broad strokes of political implications. From the very opening sequence, in which we cut to a classic-horror-style logo after multiple locals are brutally murdered, it’s clear the “in-your-face” approach is not a great fit here.

The script only gets more implausible and convenient as it goes along, with Pierce Brosnan playing a character who dips in and out of the film whenever it suits the narrative.

The big action sequences (including the one splayed all over the commercials in which Owen Wilson tosses his children off a roof) are all so ridiculous that they earned genuine laughs from the audience. The decidedly gritty and horrific violence is rendered thematically empty considering the film would never dare do any actual harm to its protagonists.

“No Escape” tries to be a bloody horror film, a geopolitical thriller, and an emotional experience all at once, but fails to strike any sort of meaningful balance between the three and is nothing more than xenophobic propaganda.

Watch the trailer below.

“No Escape” opens in theaters nationwide on Wednesday, August 26.

SEE ALSO: A new documentary tells how a comedian-turned-activist raised one of the darkest issues of our time

Join the conversation about this story »

NOW WATCH: The awesome new trailer for ‘Spectre’ finally gives us our first good look at the next Bond villain

August 29, 2015 at 09:26AM

redirecting to
http://www.businessinsider.com/no-escape-may-be-intense-and-horrifying-but-its-also-tasteless-2015-8

ifttt

Turkish planes hit IS in Syria with coalition for first time


Turkish planes for the first time have joined raids by the US-led coalition against Islamic State positions in Syria, the Turkish foreign ministry said

Ankara (AFP) – Turkish planes for the first time have joined raids by the US-led coalition against Islamic State positions in Syria, the Turkish foreign ministry said Saturday.

“Our fighter planes … along with planes from the coalition yesterday evening began joint operations against (IS) targets which pose a threat to the security of our country,” it said in a statement.

Join the conversation about this story »

August 29, 2015 at 09:25AM

redirecting to
http://www.businessinsider.com/afp-turkish-planes-hit-is-in-syria-with-coalition-for-first-time-2015-8

ifttt

Boeing: Don’t worry about the Chinese economy — they’re going to buy nearly $1 trillion worth of planes (BA)


Boeing 747 China

The Chinese aviation industry is growing at an incredible pace.

And Boeing has taken notice.

According to the latest projections from the airplane maker, Chinese airlines will play a big role in the company’s financial success.

“We expect China to need 6,330 new airplanes over the next 20 years valued at nearly $1 trillion,” Randy Tinseth, vice president of marketing at Boeing, wrote in a blog post this week.

Although China may be going through a rough patch, Boeing believes its long-term projection of China’s economy will hold up.

“Our forecast accounts for fluctuation in the market over the 20 year forecast period,” A Boeing spokesperson told Business insider in an email. “We’re confident that China’s economy and aviation sector will continue to see strong growth over the long term.”

In total, Boeing believes China could generate roughly $950 billion in sales by 2034 at an average price of $150 million per plane.

That’s big business.

Boeing’s bullish take on the prospects of Chinese aviation are based on the company’s belief that the country’s airlines will not only dominate its domestic market, but also grow to be major players throughout Asia, Europe, and North America.

Incredibly, “Boeing’s forecasts actually tend to underestimate demand,” Tinseth said on his podcast this week. “We actually deliver more planes than we anticipate and that just tells you the resiliency and strength of the market.”

Analysis from the Center for Aviation (CAPA) seems to back up Boeing’s optimistic stance.

According to CAPA, Chinese airlines ferried more than 100 million passengers in the first quarter of 2015.

That’s an increase of 13% over 2014.

CAPA data shows that domestic business accounts for more than 90% of China’s airline business. As a result, the bulk of demand coming from China will be in the form of 150- to 220-seat single aisle airliners such as Boeing’s 737Max and Airbus’ A320neo.

Boeing China projectionsThis lines up with Boeing’s forecast. The company anticipates China will order as many as 4,600 single aisle jets in the next 20 years to meet growing demand and to replace aging planes headed for retirement. The company believes this part of the market could generate as much as $490 billion in sales in that period.

Although international traffic onboard Chinese airlines accounts for only 7% of its business, the segment grew a whopping 57% compared to the same period in 2014.

Chinese airlines carried 2.6 million more passengers in the first quarter of 2015 than it did in the first quarter of 2014. According to CAPA, this growth equates to an additional 64 fully loaded Airbus A380 superjumbos every day for a whole quarter.

Boeing 777-300ER Air ChinaEven though long haul international flights are still a small part of China’s airline business, they are a big deal for airplanes makers. Long haul flights requires larger, more expensive wide-body jets like the 777 or Airbus’ superjumbo. These planes can cost twice to four times as much as the smaller single aisle jets for China’s domestic market and offer companies like Boeing greater profit margins per plane.

According to Boeing, China’s airlines will need more than 1,500 of these wide-bodies over the next two decades at a value of $450 billion.

Furthermore, Boeing sees several technological and political developments in the coming years that will also play a large role in the opening up the China’s airline business.

“Liberalization of visa policies along with new technologies, capabilities, and efficiencies will increase traffic,” Boeing wrote in its market outlook. “It is expected that by 2021, passenger travel between China and the United States will triple.”

Even if Boeing can’t sell $1 trillion of planes in China, expect both Boeing and China’s airlines to grow at an incredible pace.

SEE ALSO: Take a closer look at Honda’s revolutionary mini private jet

Join the conversation about this story »

NOW WATCH: Take a tour of the $367 million jet that will soon be called Air Force One

August 29, 2015 at 09:23AM

redirecting to
http://www.businessinsider.com/boeing-china-to-buy-nearly-1-trillion-worth-of-planes-2015-8

ifttt