TUESDAY, May 21 (HealthDay News) ? Urban elementary school children with poorly controlled asthma are likely to experience sleep problems and suffer academically, new research indicates.
?In our sample of urban schoolchildren, aged seven to nine, we found that compromised lung function corresponded with both poor sleep efficiency and impaired academic performance,? said study author Daphne Koinis-Mitchell, an associate professor of psychiatry and human behavior at Brown University?s Alpert Medical School in Providence, R.I.
Koinis-Mitchell, who is also an associate professor of pediatrics, is scheduled to present her findings Tuesday at the American Thoracic Society annual meeting in Philadelphia.
The findings stem from an analysis involving 170 pairs of white, black and Hispanic children and their fathers living in the Providence area.
The children?s asthma symptoms were monitored over three-month periods, and the children and their parents were asked to keep a health diary as well.
Questionnaires were also completed to gauge the degree to which asthmatic symptoms were kept under control. Sleep quality was also monitored and quantified.
The result: Children with poorly controlled asthma fared worse at school, according to their teachers. ?Carelessness? regarding school work was also linked to poorer sleep, as was difficulty in staying awake while in class.
?Urban and ethnic minority children are at an increased risk for high levels of asthma morbidity and frequent health care utilization due to asthma. Given the high level of asthma burden in these groups, and the effects that urban poverty can have on the home environments and the neighborhoods of urban families, it is important to identify modifiable targets for intervention,? Koinis-Mitchell said in a news release from the thoracic society.
Efforts aimed at improving asthma control and sleep quality may help to boost academic performance in this vulnerable population, she added. ?In addition, school-level interventions can involve identifying children with asthma who miss school often, appear sleepy and inattentive during class or who have difficulty with school work. Working collaboratively with the school system, as well as the child and family, may ultimately enhance the child?s asthma control,? she said.
Data and conclusions presented at meetings are typically considered preliminary until published in a peer-reviewed medical journal.
More information
For more on asthma and children, visit the American Lung Association.
On Thursday June 6, small business owners will have an opportunity to discuss issues regarding Federal regulatory compliance and enforcement. SBA Acting National Ombudsman Yolanda V. Swift will meet with members of the Seattle-area small business community to hear issues and comments about Federal regulatory enforcement and compliance actions.?Small business owners, representatives of trade associations, and community and business leaders are invited to participate, comment about compliance actions and enforcement of regulations by Federal agencies, and learn more about the impact of Federal regulations on small businesses.
This Seattle Hearing will be your opportunity to testify/discuss issues regarding Federal regulatory compliance and enforcement and how you have been affected as a small business owner. The SBA?s Office of the Ombudsman?s mission is?to assist small businesses when they experience excessive or unfair federal regulatory enforcement actions, such as repetitive audits or investigations, excessive fines, penalties, threats, retaliation or other unfair enforcement action by a federal agency.
The event will take place on Thursday, June 6 from 8:30 a.m. to 11:30 a.m. at the Rainier Club (820 4th Avenue, Seattle). To RSVP, contact Jose.Mendez@Seattle.gov.
The SBA?s Office of the Ombudsman also allows you to fill out a comment form on your experience working with Federal regulations. The comment form can be found here.
For more information or if you have any questions about this meeting, contact SBA Fairness Board Member Rich Gaspar at Rich@Gaspars.com
I don't have a desk, because there's no room in my apartment, but if I did it would probably be covered in so much crap that I wouldn't be able to use it anyway. And it makes me feel a little better to know that Nobel Prize-winning psychologist and economist Daniel Kahneman doesn't have a desk either.
I wouldn't know that, though, without the awesome Desktop Diaries series created by the team at Science Friday. They've been interviewing scientists about what's on their desks for more than a year and each video is a fascinating window into how these researchers work.
It's tough to pick a favorite when you can choose from Neil deGrasse Tyson showing off the Saturn-themed desk lamp he made in middle school, Michio Kaku pointing at imaginary dinosaurs in the corners of his office, Oliver Sacks playing with magnets, and Brian Greene talking about how he reformed his award-winning messiness, but Daniel Kahneman losing his Nobel Prize medal is certainly a contender for best moment. Spoiler: He eventually found it. [Science Friday]
Drugmaker Pfizer Inc. has halted a late-stage study of an experimental cancer compound being tested in patients with a certain form of non-Hodgkin's lymphoma, because an interim analysis showed the drug wasn't helping patients live longer.
Pfizer said late Monday that it was stopping the study of its compound, inotuzumab ozogamicin, in patients who had relapsed after or not been helped by other treatments but who were not candidates for high-dose chemotherapy.
The patients in the study all had an aggressive form of non-Hodgkin's lymphoma in which cancerous white blood cells called B-cells had a substance on their surface called CD22. That substance is found in about 90 percent of cancers involving B-cells.
Inotuzumab ozogamicin combines a cell-killing agent with an antibody attracted to CD22. By binding to CD22, the compound can enter the B-cell. Once inside, the compound then releases the cell-killing agent, called calicheamicin, to destroy the cancerous B-cell.
In the study, half of the participants were given inotuzumab ozogamicin once a month, along with a standard cancer medicine, rituximab. The other half of patients were treated with rituximab and either of two other cancer drugs.
A planned analysis of results part way through the study showed patients getting rituximab and the experimental compound were not surviving any longer than the other patients.
Pfizer said the data did not turn up any new or unexpected safety problems with the experimental compound.
The New York-based company said it is continuing another late-stage study of the compound in adults who have relapsed after or haven't responded to treatment for a type of blood cancer called acute lymphoblastic leukemia.
"We are working to better understand the findings from this review to determine if there are any patterns of outcome that may help us gain greater understanding of the potential effect of inotuzumab ozogamicin in specific patient populations," Dr. Mace Rothenberg, head of clinical development and medical affairs for Pfizer's cancer business, said in a statement.
Rothenberg noted there are more than 70 types of cancers of the lymph system, blood and bone marrow that require unique treatments. He said Pfizer is committed to evaluating inotuzumab ozogamicin in patients with those cancers.
Cancer treatments are one of the priority research areas for Pfizer, the world's second-biggest drugmaker by revenue.
Last year, the company won approval for two targeted cancer drugs, Bosulif for advanced kidney cancer and Inlyta for certain patients with chronic myelogenous leukemia. It already sold Sutent, a blockbuster that treats multiple types of cancer.
New Samsung handsets outed in changelog for WatchON TV application
Rumors have been circulating for a few weeks that Samsung is working on a "Galaxy S4 Mini," as well as a ruggedized version of its current flagship device. Today an app changelog entry for the Galaxy S4's pre-loaded TV app could indicate that both are on the way, along with another device known as the "S4 Mega."
The shot above, sent our way by tipster Paul, shows that the recent 5.0.4 update for Samsung WatchON adds "support for [the] upcoming S4 Mega, S4 mini and S4 Active." The changelog has since been updated to remove the reference, suggesting that someone let the cat out of the bag a little early. The S4 Mini name has been rumored for some time, and the device is refers to extensively leaked. The S4 Active name would seem to refer to the rumored "waterproof" S4 variant. But the S4 Mega is a bit more of a mystery -- could the existing Galaxy Mega have been renamed? Or might this be a different large-screened S4 variant -- or simply a typo?
Whatever the case, the fact that WatchON has been updated with support for all three devices suggests that they'll likely include the S4's TV-controlling capabilities.
We'll have to wait and see if and when the Galaxy S4 Active, Mini and Mega emerge. Whatever form these handsets take, Samsung looks set to fully capitalize on the halo effect of its high-profile Galaxy S4 launch.
Thanks to Paul for tipping us the image above through the new Android Central app!
The Panama City Beach Relay for Life took place Friday night through Saturday Morning.
More than 200 people showed up throughout the night to rally for the cause.
The event was held at Arnold High School?s Gavlak Sports Complex and raised over 70 thousand dollars for the American Cancer Society.
30 local teams prepared for the event for months, and despite how exhausting the event can be, they say they are happy to support those who have been affected by cancer.
"The Relay for Life is one of the biggest fundraisers of any non-profit organization. Panama City Beach alone raised 70,000 dollars, Relay for Life as a whole has raised 4 billion dollars since 1985," said Brandon Greve, Relay for Life Event Chairman.
May 20, 2013 ? A new study conducted at the University of Bristol and published online today in the Journal of Evolutionary Biology sheds light on how the brain and inner ear developed in dinosaurs.
Stephan Lautenschlager from Bristol's School of Earth Sciences, together with Tom H?bner from the Nieders?chsische Landesmuseum in Hannover, Germany, picked the brains of 150 million year old dinosaurs.
The two palaeontologists studied different fossils of the Jurassic dinosaur Dysalotosaurus lettowvorbecki: a very young (juvenile) individual of approximately three years of age and a fully grown specimen of more than 12 years of age.
Stephan Lautenschlager, lead author of the paper, said: "The two different growth stages of Dysalotosaurus provided a unique opportunity to study their brain, and how it developed during the growth of the animal."
Using high-resolution CT scanning and 3D computer imaging, it was possible to reconstruct and visualise the brain and inner ear of Dysalotosaurus lettowvorbecki -- a small, plant-eating dinosaur, which lived 150 million years ago, in what is now Tanzania.
Co-author Tom H?bner said: "Well-preserved fossil material, which can be used to reconstruct the brain anatomy is usually rare. Thus, we were fortunate to have different growth stages available for our study."
By looking at the brain and inner ear anatomy, the two researchers found that the brain of Dysalotosaurus underwent considerable changes during growth -- most likely as a response to environmental and metabolic requirements. However, important parts responsible for the sense of hearing and cognitive processes were already well developed in the young individual.
Stephan Lautenschlager said: "Our study shows that the brain was already well-developed in the young dinosaurs and adapted perfectly to interact with their environment and other individuals."
This study has important ramifications for the understanding of how parts of the brain developed in dinosaurs. However, further research into that field is necessary to investigate if the pattern of brain development in individual dinosaurs is also reflected in a large scale trend during the more than 150 million years of dinosaur evolution.
The study was funded by a research fellowship to Stephan Lautenschlager from the German Volkswagen Foundation.
WASHINGTON (AP) ? The president and chief executive officer of The Associated Press on Sunday called the government's secret seizure of two months of reporters' phone records "unconstitutional" and said the news cooperative had not ruled out legal action against the Justice Department.
Gary Pruitt, in his first television interviews since it was revealed the Justice Department subpoenaed phone records of AP reporters and editors, said the move already has had a chilling effect on journalism. Pruitt said the seizure has made sources less willing to talk to AP journalists and, in the long term, could limit Americans' information from all news outlets.
Pruitt told CBS' "Face the Nation" that the government has no business monitoring the AP's newsgathering activities.
"And if they restrict that apparatus ... the people of the United States will only know what the government wants them to know and that's not what the framers of the Constitution had in mind when they wrote the First Amendment," he said.
In a separate interview with the AP, Pruitt said the news cooperative had not decided its next move but had not ruled out legal action against the government. He said the Justice Department's investigation is out of control and President Barack Obama should rein it in.
"It's too early to know if we'll take legal action but I can tell you we are positively displeased and we do feel that our constitutional rights have been violated," Pruitt said.
"They've been secretive, they've been overbroad and abusive ? so much so that taken together, they are unconstitutional because they violate our First Amendment rights," he added.
Senate Republican Leader Mitch McConnell of Kentucky said the government needs to stop leaks by whatever means necessary.
"This is an investigation that needs to happen because national security leaks, of course, can get our agents overseas killed," he said.
Republican Sen. John Cornyn, a member of the Judiciary Committee, said the government should focus on those who leak sensitive national security matters and not on journalists who report on them. The Texas Republican said his committee should hold hearings on how the Justice Department obtained phone records from AP reporters and editors.
"What confuses me is the focus on the press, who have a constitutional right here and we depend on the press to get to the bottom of so many issues that we, as individuals, cannot," Cornyn said.
Cornyn said the Justice Department's actions were part of a pattern for Obama's administration to quiet its critics.
"It's a culture of cover-ups and intimidation that is giving the administration so much trouble," Cornyn said.
He also renewed his call for Attorney General Eric Holder to resign, citing the contempt citation the House of Representatives voted against him last year for refusing to turn over documents in a failed government gun smuggling sting.
White House senior adviser Dan Pfeiffer said the president "has complete faith in Attorney General Holder." He also insisted the White House was not involved in the decision to seek AP phone records.
"A cardinal rule is we don't get involved in independent investigations. And this is one of those," Pfeiffer said.
Although the Justice Department has not explained why it sought phone records from the AP, Pruitt pointed to a May 7, 2012, story that disclosed details of a successful CIA operation in Yemen to stop an airliner bomb plot around the one-year anniversary of the May 2, 2011, killing of Osama bin Laden.
The AP delayed publication of that story at the request of government officials who said it would jeopardize national security.
"We respected that, we acted responsibly, we held the story," Pruitt said.
Pruitt said that only after officials from two government entities said the threat had passed did the AP publish the story. He said the administration still asked that the story be held until an official announcement the next day, a request the AP rejected.
The news service viewed the story as important because White House and Department of Homeland Security officials were saying publicly there was no credible evidence of a terrorist threat to the U.S. around the one-year anniversary of bin Laden's death.
"So that was misleading to the American public. We felt the American public needed to know this story," Pruitt said.
The AP has seen an effect on its newsgathering since the disclosure of the Justice Department's subpoena, he said.
"Officials that would normally talk to us and people we talk to in the normal course of newsgathering are already saying to us that they're a little reluctant to talk to us," Pruitt said. "They fear that they will be monitored by the government."
The Justice Department secretly obtained two months of personal and work telephone records for several reporters and editors, as well as general AP office numbers in New York, Washington and Hartford, Conn., and for the main number for the AP in the House of Representatives press gallery.
"It was sweeping and broad and beyond what they needed to do," Pruitt said.
He objected to the "Justice Department acting on its own being the judge, jury and executioner in secret," saying the AP would not back down.
"We're not going to be intimidated by the abusive tactics of the Justice Department," he said.
McConnell and Pfeiffer were interviewed on NBC's "Meet the Press." Cornyn appeared on "Face the Nation."
There's a new kid on the Arduino block, and it's called the Arduino Robot. Launched yesterday at Maker Faire Bay Area, it's the company's first product that extends beyond single microcontroller boards. The Roomba-like design, which we first saw in November 2011, is the result of a collaboration with Complubot. It consists of two circular boards, each equipped with Atmel's ubiquitous ATmega32u4 and connected via ribbon cable.
The bottom board is home to four AA batteries (NiMH), a pair of motors and wheels, a power connector and switch plus some infrared sensors. By default it's programmed to drive the motors and manage power. The top board features a color LCD, a microSD card slot, an EEPROM, a speaker, a compass, a knob plus some buttons and LEDs. It's programmed to control the display and handle I/O. Everything fits inside a space that's about 10cm high and 19cm in diameter.
Pre-soldered connectors and prototyping areas on each board make it easier to customize the robot platform with additional sensors and electronics. It even comes with eleven step-by-step projects and a helpful GUI right out of the box. The Arduino Robot is now on sale at the Maker Faire for $275 and will be available online in July. Take a look at our gallery below and watch our video interview with Arduino founder Massimo Banzi after the break.
May 18, 2013 ? In 2008 researchers from the University of Southern Denmark showed that the drug thioridazine, which has previously been used to treat schizophrenia, is also a powerful weapon against antibiotic-resistant bacteria such as staphylococci (Staphylococcus aureus).
Antibiotic-resistant bacteria is a huge problem all over the world: For example, 25 -- 50 per cent of the inhabitants in southern Europe are resistant to staphylococci. In the Scandinavian countries it is less than 5 per cent, but also here the risk of resistance is on the rise.
So any effective anti-inflammatory candidate is important to investigate -- even if the candidate is an antipsychotic that was originally developed to alleviate one of the hardest mental illnesses, schizophrenia.
Until now, scientists could only see that thioridazine works effectively and that it can kill staphylococcus bacteria in a flask in the laboratory, but now a new study reveals why and how thioridazine works. The research group, which includes professor Hans J?rn Kolmos, associate professor Birgitte H. Kallipolitis and other participants from the Department of Biochemistry and Molecular Biology and Institute of Clinical Medicine, University of Southern Denmark, publishes their findings in the journal PLOS ONE on May 17 2013.
The research team tested thioridazine on staphylococcal bacteria and discovered that thioridazine works by weakening the bacterial cell wall.
"When we treat the bacteria with antibiotics alone, nothing happens -- the bacteria are not even affected. But when we add both thioridazine and antibiotics, something happens: thioridazine weakens the bacterial cell wall by removing glycine (an amino acid) from the cell wall. In the absence of glycine, the antibiotics can attack the weakened cell wall and kill staphylococcus bacteria," explains Janne Kudsk Klitgaard, visiting scholar at the Department of Biochemistry and Molecular Biology, University of Southern Denmark.
Thus, it is the interaction between thioridazine and antibiotic that works.
And now that researchers know that thioridazine works by weakening staphylococcal cell wall, they can concentrate on improving this ability.
"Now that we know how thioridazine works, we can develop drugs that target the resistant bacteria. And just as important: We can remove or inactivate the parts of thioridazine, which treats schizophrenia, so we end up with a brand new product that is no longer an antipsychotic, "explains Janne Kudsk Klitgaard.
According to her, we are now a little closer to a safe, non-psychopharmacological drug that can save people from potentially fatal infections that do not respond to antibiotics.
"This will no longer be an antipsychotic, when scientists are finished with this task," she says.
Together with her colleagues Klitgaard tested thioridazine on roundworms in the laboratory and have seen that they were cured of staphylococci in the gut. Next step will be testing on mice and pigs.
QIANTUN, China (Reuters) - Two years short of 70, Zhang Guosheng spends his days caring for an 81-year-old fellow villager - washing his clothes, bringing meals to his bed, and keeping him company - a routine he'll keep up until he himself needs the type of care he is now giving.
"Living here is better than staying at home alone. We help each other and have a common language," said the spritely Zhang, an enthusiastic dancer. "We are very happy here."
With younger villagers who would traditionally have looked after their parents and grandparents flocking to the booming cities to seek work as part of Beijing's urbanization drive, Qiantun village in northern China's Hebei province has had to pioneer a new model - the old looking after the even older.
Surrounded by green wheat fields that stretch across a flat plain, Qiantun is unremarkable among countless rural Chinese communities, but its old-age care model is now a prototype cited by central government as a solution to the daunting challenge of caring for a vast and rapidly greying rural population.
One of every four Chinese will be older than 60 by 2030, according to the Ministry of Civil Affairs.
Massive rural-to-urban migration will further strain the rural areas' ability to provide care for the elderly, as personal savings and family support remain the primary pillars of old-age care.
"Migrants to urban areas are mainly young adults, leaving mostly the elderly in villages with children," said Wang Dewen, an expert with the World Bank's Beijing office. "The formal eldercare system in rural areas is very weak, and basically a blank spot in many places."
As a result, the gap between the number of elderly in rural and urban areas is expected to balloon over the next 15 years, to 11 percentage points from today's 1.24 percentage points, the ministry projects.
The costs of caring for China's rapidly expanding elderly population are likely to be too heavy a burden for the government, forcing Beijing to find cost-effective and creative ways to provide care in myriad localities. The self-help model practiced among the 1,500 residents of Qiantun offers a cheaper and streamlined alternative to a state-run system.
More than 95 percent of China's rural elderly still adhere to the traditional practice of seeking old-age care within their families, Wang said. But families are no longer able to cope, with youth and even middle-aged people heading to cities to find work, leaving the elderly behind to fend for themselves.
THE "LIGHT" OF FEIXIANG
In their search for affordable eldercare models, Beijing's leaders have turned their attention 450 km (280 miles) to the south in Hebei's Feixiang county, where Qiantun lies. The practice of old people taking care of each other posed a simple and attractive solution.
Labeled "mutual assist eldercare", the Feixiang model is set to be expanded to the rest of rural China, with 3 billion yuan ($490 million) set aside by the central government to get it started over the coming three years.
"The light of Feixiang will shine across China," Li Liguo, minister of civil affairs, declared enthusiastically during a trip to Feixiang in 2011. "Feixiang has set an example for the whole country."
But not everyone is as optimistic about the model.
"As people get older, they don't tend to get healthier. So if you have somebody in their sixties caring for somebody in their nineties, are they going to be able, and trained and strong enough themselves to care for somebody who has chronic conditions?" said Tony Buccheri, a manager with Right at Home International, a U.S.-based senior home care provider that offers services in China through a partner.
Buccheri's concern echoes that of Cai Qingyang, pioneer of the model and Qiantun's village chief.
"Old people with critical illnesses need more than the very basic care provided here, and we will have to think of other ways to care for them," said the 61 year-old former soldier Cai, watching several old villagers dancing in the yard.
"But this really is the only feasible way given the local elder care situation. The village and the government simply can't afford proper institutional care for every aged rural resident," Cai added.
In 2008, Cai sought to do something about the lack of care for rural elderly left behind as young adults sought better paying work in cities. He turned an abandoned brick house into an old-age home, where 25 elderly villagers moved into 11 rooms, keeping each other company, sharing meals, as well as farming and doing housework.
His innovation has thrived under state support and more than a dozen other provinces have replicated the model.
OLD BEFORE RICH
What separates China's ageing pattern from that in other Asian societies such as Japan, South Korea and Singapore is that the country is still relatively poor on a per capita basis. The phrase "getting old before rich" reflects the fact that even though China's economic growth remains robust, its demographics work against it.
Those in the emerging middle class have more options among at-home care providers, and public as well as private senior homes, and are more likely to find them affordable.
The rural elderly have fewer resources and fewer choices, while youth migration patterns unstitch the traditional family safety net. And despite years of efforts by China's leaders, the income gap between urban and rural residents has increased. A report published by the World Bank last year noted that rural elderly have "remained consistently poorer than the urban elderly over time".
Nor is that likely to change. Two-thirds of elderly Chinese currently live in rural areas, and although migration patterns cloud demographic estimates, many demographers believe the majority of China's elderly will remain in the countryside.
To meet the challenge, says the World Bank's Wang, China must make its urbanization an equalizer of basic social services for urban and rural residents. To do that, he adds, it must reform the household registration system that ties social services to people's registered home, to facilitate family migration to cities and receive care there.
But in the short term, rural areas such as Qiantun, which has three times as many elderly residents as young adults, can only make do with the resources they have. The government provides 600 yuan ($97.68) a year in subsidies for each of the 30 elderly Qiantun villagers at the centre. Their average age is 75.
By contrast, offering professional care at an old-age care institution would cost a minimum of ten times as much, 6,000 yuan a year, according to government estimates, offset by a mere 120 yuan annual subsidy from the government.
At the Qiantun villager centre, "old" Zhang, as he is known, talks about the future as he brings a bowl of dumplings and medicine to the bedside of his charge, bedridden by a broken thigh bone.
"He can't move around now, I help him," said a still spry Zhang. "When I can't move, someone will also care for me."
KARACHI :? National Forum for Environment and Health (NFEH) has invited nominations for 10th? Annual Environment Excellence Awards (AEEA 2013) to industries and other business organizations following environment friendly guidelines and performance for promoting the cause of pollution-free environment.
This was announced by Chairman NFEH Dr Kaiser Waheed and Secretary Award Committee Ruqiya Naeem in the meeting of NFEH Advisory Committee held at NFEH Office. He said awards were instituted 10 years ago and have lured a very enthusiastic response from the industry. These awards have become the benchmark for the standards that need to be followed. The AEEA are designed to recognize and promote the organizations which make an outstanding contribution towards sustainable development.
They aim to highlight policies, practices, processes and products from all sectors of business in the country, which help achieve economic and social development without damaging environment and natural resources, he added
He said Governor Sindh, Federal Minister, Provincial Minister on Environment and representative of United Nations would also participate in the event. On this occasion, a special edition of Monthly Energy Update Magazine highlighting the role of award winning organizations would also be distributed among the participants.
On 10th Year celebrations, a environment gallery is being organized schools. NGO S ,Environmental projects, green energy project .environmental products will be displayed their projects and products .in the gallery. to appreciate civil society , schools , media and environmentalist will be honored.
Interested organizations may obtain the criteria of AEEA Form from NFEH office by JUNE 07, 2013, and submission date is June 7, 2013.
"); ipb.editor_values.get('templates')['togglesource'] = new Template(""); ipb.editor_values.get('templates')['toolbar'] = new Template(""); ipb.editor_values.get('templates')['button'] = new Template("
"); ipb.editor_values.get('templates')['menu_item'] = new Template("
#{title}
"); ipb.editor_values.get('templates')['togglesource'] = new Template(""); ipb.editor_values.get('templates')['emoticons_showall'] = new Template(""); ipb.editor_values.get('templates')['emoticon_wrapper'] = new Template("
Emoticons
"); // Add smilies into the mix ipb.editor_values.set( 'show_emoticon_link', false ); ipb.editor_values.set( 'bbcodes', $H({"snapback":{"id":"1","title":"Post Snap Back","desc":"This tag displays a little linked image which links back to a post - used when quoting posts from the board. Opens in same window by default.","tag":"snapback","useoption":"0","example":"[snapback]100[/snapback]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"topic":{"id":"5","title":"Topic Link","desc":"This tag provides an easy way to link to a topic","tag":"topic","useoption":"1","example":"[topic=1]Click me![/topic]","switch_option":"0","menu_option_text":"Enter the topic ID","menu_content_text":"Enter the title for this link","single_tag":"0","optional_option":"0","image":""},"post":{"id":"6","title":"Post Link","desc":"This tag provides an easy way to link to a post.","tag":"post","useoption":"1","example":"[post=1]Click me![/post]","switch_option":"0","menu_option_text":"Enter the Post ID","menu_content_text":"Enter the title for this link","single_tag":"0","optional_option":"0","image":""},"spoiler":{"id":"7","title":"Spoiler","desc":"Spoiler tag","tag":"spoiler","useoption":"0","example":"[spoiler]Some hidden text[/spoiler]","switch_option":"0","menu_option_text":"","menu_content_text":"Enter the text to be masked","single_tag":"0","optional_option":"0","image":""},"acronym":{"id":"8","title":"Acronym","desc":"Allows you to make an acronym that will display a description when moused over","tag":"acronym","useoption":"1","example":"[acronym='Laugh Out Loud']lol[/acronym]","switch_option":"0","menu_option_text":"Enter the description for this acronym (EG: Laugh Out Loud)","menu_content_text":"Enter the acronym (EG: lol)","single_tag":"0","optional_option":"0","image":""},"hr":{"id":"12","title":"Horizontal Rule","desc":"Adds a horizontal rule to separate text","tag":"hr","useoption":"0","example":"[hr]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"1","optional_option":"0","image":""},"php":{"id":"14","title":"PHP Code","desc":"Allows you to enter PHP code into a formatted/highlighted syntax box","tag":"php","useoption":"0","example":"[php]$variable = true;\n\nprint_r($variable);[/php]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"html":{"id":"15","title":"HTML Code","desc":"Allows you to enter formatted/syntax-highlighted HTML code","tag":"html","useoption":"0","example":"[html]\n \n[/html]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"sql":{"id":"16","title":"SQL Code","desc":"Allows you to enter formatted/syntax-highlighted SQL code","tag":"sql","useoption":"0","example":"[sql]SELECT p.*, t.* FROM posts p LEFT JOIN topics t ON t.tid=p.topic_id WHERE t.tid=7[/sql]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"xml":{"id":"17","title":"XML Code","desc":"Allows you to enter formatted/syntax-highlighted XML code","tag":"xml","useoption":"0","example":"[xml]\n \n Test\n \n[/xml]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"member":{"id":"31","title":"Member","desc":"Given a member name, a link is automatically generated to the member's profile","tag":"member","useoption":"1","example":"[member=skyhawk133] runs this site.","switch_option":"0","menu_option_text":"Input Username of Member","menu_content_text":"","single_tag":"1","optional_option":"0","image":"memberbbcode.png"},"extract":{"id":"33","title":"Extract Blog Entry","desc":"This will allow users to define an extract for an entry. Only this piece of the entry will be displayed on the main blog page and will show up in the RSS feed.","tag":"extract","useoption":"0","example":"[extract]This is an example![/extract]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"blog":{"id":"34","title":"Blog Link","desc":"This tag provides an easy way to link to a blog.","tag":"blog","useoption":"1","example":"[blog=100]Click me![/blog]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"entry":{"id":"35","title":"Blog Entry Link","desc":"This tag provides an easy way to link to a blog entry.","tag":"entry","useoption":"1","example":"[entry=100]Click me![/entry]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"twitter":{"id":"36","title":"Twitter","desc":"A tag to link to a user's twitter account","tag":"twitter","useoption":"0","example":"[twitter]userName[/twitter]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":"twitter.png"},"inline":{"id":"37","title":"Inline Code","desc":"Formats code inline instead of in a seperate code box. ","tag":"inline","useoption":"0","example":"[inline]style=\"font-size: 12px;\"[/inline]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"il":{"id":"38","title":"Abbreviated Inline (IL)","desc":"Abbreviated version of the [inline] tag. ","tag":"il","useoption":"0","example":"[il]Code Here[/il]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":"il2.png"},"code":{"id":"41","title":"Code","desc":"Allows you to enter general code","tag":"code","useoption":"1","example":"[code]$text = 'Some long code here';[/code]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"1","image":""}}) ); ipb.vars['emoticon_url'] = "http://cdn.dreamincode.net/forums/public/style_emoticons/default"; //Search Setup ipb.vars['search_type'] = 'forum'; ipb.vars['search_type_id'] = 15; ipb.vars['search_type_2'] = 'topic'; ipb.vars['search_type_id_2'] = 321307; //]]>
I am writing a program for my programming class and I seem to be having trouble with making sure the cells come to life correctly I think the issue is in my neighbor If statements but cant seem to find it. Here are the instructions my code and the text file
The game of life is a computer simulation of the life and death events of a population of organisms. This program will determine the life, death, and survival of bacteria from one generation to the next, assuming the starting grid of bacteria is generation zero (0). Each cell has a total of up to 8 neighbors, including the 4 immediately adjacent cells and the 4 diagonal cells. The rules for the creation of each cell in the next generation are as follows:
If the cell is currently empty: If the cell has exactly three living neighbors, it will come to life in the next generation. If the cell has any other number of living neighbors, it will remain empty. If the cell is currently living: If the cell has one or zero living neighbors, it will die of loneliness in the next generation. If the cell has four or more living neighbors, it will die of overcrowding in the next generation. If the cell has two or three neighbors, it will remain living. All births and deaths occur simultaneously (make sure you don't get this one wrong!).
line 100 if(life[row][col]== true && life[row+1][col]==true & row+1<20)//bottom
This should be && shouldn't it
line 139 is the same...
you have variables that you dont use as well.
Regards
Snoopy.
#3 adam32885 ?
Reputation: 0
Posts:3
Joined:Today, 12:41 AM
Re: Game of life Issue
Posted Today, 01:37 AM
wow i totally missed that but i am still having some issues with the right cells coming to life but i am trying to get a for loop to take the place of all the if statements
#4 adam32885 ?
Reputation: 0
Posts:3
Joined:Today, 12:41 AM
Re: Game of life Issue
Posted Today, 02:08 AM
so i switched to for loops but I am not sure how to check the edge cells here is my new neighbor count code
int livecellNeighbors (bool life[SIZE][SIZE],int row,int col) { int neighbors=0; if (life[row][col]==true) { for (int i=-1; row+i<=row+1; i++) { for (int c=-1;col+c<=col+1;c++) { if (i==0 && c==0) { } else if (life[row+i][col+c]==true) neighbors++; } } } return neighbors; }
Cooking at home can save you a lot of money, but you can also rack up a huge grocery bill learning to make certain dishes that don't always turn out better than their cheaper counterparts. What are your favorite inexpensive, home-cooked meals?
Personal finance blog Wise Bread shares a number of recipes that cost as little as $2 each to make. That seems a little on the excessively cheap side, however one of my favorite cheap meals?which comes out to about $2?is just rice, beans, and veggies. What's yours? Share a recipe if you've got it!
Best Money Tips: Dinner Recipes for $2 or Less | Wisebread
A top ranking member of the United States Federal Reserve cautioned economists this week that growing inequality within the US was worsening the odds of a quick return to the conditions of the pre-recession days.
Fed Board of Governors member Sarah Bloom Raskin was in Washington, DC on Thursday, and during an address before the Society of Government Economists and the National Economists Club she said the widening gap between the rich and poor is just one of the issues being investigated as attempts are made to rebound from the financial crisis of 2009.
?In my view, the large and increasing amount of inequality in income and wealth, which has been an ongoing development for decades, may have exacerbated the crisis and I think more research is required to determine whether it may also pose a significant headwind to the recovery from the crisis for years to come,? Raskin told the crowd. ?So, while I am hopeful that pressures will ease further as home prices continue to rebound, I also believe that some of the restraints on the recovery may be quite long-lasting.?
When the Pew Research Center released their findings on inequality last month, they concluded that the wealthiest 7 percent of Americans saw their average net worth surge by 28 percent when the great recession ravaged a majority of US households. In that same span between 2009 and 2011, those on the bottom 93 percent saw their net worth drop 4 percentage points.
?It has been a very good recovery for those at the upper end of the wealth distribution,? Paul Taylor of the Pew Research Center wrote of his report, ?But there has been no recovery for the lower 93, which is nearly everybody.?
And as that trend is obvious to pollsters, economists are worrying that a widening gap between sectors will reduce the likelihood of a rebound anytime soon. Before Raskin touched on inequality during this week?s address, she admitted that the recovery process in the post-recession years has been ?a very weak one.?
According to Raskin, the problem stems from massive lay-offs in the wake of the recession?s start that primarily had an impact on workers of certain sectors that have been unable to find employment elsewhere. Raskin said ?currents of globalization and technological change? meant that many Americans fired in 2009 have been unable to adopt for the jobs that are in demand today.
?About two-thirds of all job losses in the recession were in middle-wage occupations ? such as manufacturing, skilled construction, and office administration jobs ? but these occupations have accounted for less than one-fourth of the job growth during the recovery. By contrast, lower-wage occupations, such as retail sales, food service and other lower-paying service jobs, accounted for only one-fifth of job losses during the recession but more than one-half of total job gains during the recovery. As a result of these trends in job creation, which could well have been exacerbated by the severe nature of the crisis, the earnings potential for many households likely remains below what they had anticipated in the years before the recession,? she said.
?The increase in economic activity and the decline in the unemployment rate are, of course, welcome, but we still have a long way to go to reach what feels like a healthy economy. In fact, the pace of recovery has been slower than most had expected. The gap between actual output and the economy's potential remains quite large, according to estimates from the Congressional Budget Office, and the unemployment rate today remains well above levels seen prior to the recession, and well above the level that the Committee thinks can be sustained once a full recovery has been achieved,? added Raskin.
Thursday?s remarks by the Fed board member was actually the third time in as many months that she warned of what widening inequality was doing to America. During an event in New York City last month, Raskin said, ?Of course, it is not part of the Federal Reserve's mandate to address inequality directly, but I want to explore these issues today because the answers may have implications for the Federal Reserve's efforts to understand the recession and conduct policy in a way that contributes to a stronger pace of recovery.?
Actors Mathieu Amalric, left, and Benicio Del Toro pose for photographers during a photo call for the film Jimmy P. Psychotheraphy of a Plains Indian at the 66th international film festival, in Cannes, southern France, Saturday, May 18, 2013. (AP Photo/Francois Mori)
Actors Mathieu Amalric, left, and Benicio Del Toro pose for photographers during a photo call for the film Jimmy P. Psychotheraphy of a Plains Indian at the 66th international film festival, in Cannes, southern France, Saturday, May 18, 2013. (AP Photo/Francois Mori)
Actors Benicio Del Toro takes his place during a press conference for Jimmy P. Psychotheraphy of a Plains Indian at the 66th international film festival, in Cannes, southern France, Saturday, May 18, 2013. (AP Photo/Virginia Mayo)
Actor Mathieu Amalric, left, is embraced by director Arnaud Desplechin as they pose for photographers during a photo call for the film Jimmy P. Psychotheraphy of a Plains Indian at the 66th international film festival, in Cannes, southern France, Saturday, May 18, 2013. (AP Photo/Francois Mori)
Actor Benicio Del Toro poses for photographers during a photo call for the film Jimmy P. Psychotheraphy of a Plains Indian at the 66th international film festival, in Cannes, southern France, Saturday, May 18, 2013. (AP Photo/Francois Mori)
From left, actor Benicio Del Toro, director Arnaud Desplechin and actor Mathieu Amalric pose for photographers during a photo call for the film Jimmy P. Psychotheraphy of a Plains Indian at the 66th international film festival, in Cannes, southern France, Saturday, May 18, 2013. (AP Photo/Lionel Cironneau)
CANNES, France (AP) ? It took an international production starring a Puerto Rican and a Frenchman to bring the Native American tale "Jimmy P.: Psychotherapy of a Plains Indian" to the big screen.
The film, an English language one from French director Arnaud Desplechin, made its premiere Saturday at the Cannes Film Festival, where it's among 20 movies competing for the prestigious Palme d'Or.
It's principally a tete-a-tete between two men: the Blackfoot Indian Jimmy Picard (Benicio Del Toro), who's suffering from head trauma after serving in World War II; and an eager anthropologist and psychologist from France, George Devereux (Mathieu Amalric), who treats him at a Topeka, Kansas, military hospital.
"The film has one foot in Europe and one foot in America," Desplechin told reporters Saturday. The "A Christmas Tale" director shot the movie in the Midwest and on a Blackfoot reservation in Montana.
In the genre of psychotherapy films ? from Hitchcock's "Spellbound" to David Cronenberg's "A Dangerous Method" ? "Jimmy P." is particularly faithful to the probing dialogue between patient and analyst. It's a case study of a film, adapted from Devereux's 1951 book, "Reality and Dream," that includes lengthy transcriptions of sessions. Desplechin said he wanted to grasp "the adventure" between the pair as they become friends while sifting Jimmy's memories for the roots of his pain.
Much of it rides on the chemistry between Del Toro and Amalric, both widely-respected, shape-shifting international actors. They operate, though, on very different rhythms, with Amalric's frantic energy contrasting with Del Toro's weary heaviness.
"I'm very impressed with Benicio as a person," said Amalric. "I thought: How can I use this, the fact that I'm deeply impressed?"
Del Toro, who said the two first met several years ago in Cannes, said that two actors either connect, or they don't. He identified with one quality of Jimmy, whose Indian name means "Everybody Talks About Him."
"Everybody talks about him," said Del Toro. "Everybody talks about me."
As for whether "Jimmy P." constitutes an American film, Desplechin said he sides with the festival's classification, which goes by director. But, he said, the film is ultimately about a transitional kind of nationality, and the friendship that blooms between a discriminated-against Native American and an immigrant doctor, both finding their way in a country foreign to them.
Said Desplechin: "It's the story of two men becoming American."
___
Follow AP Entertainment Writer Jake Coyle on Twitter at: http://twitter.com/jake_coyle
May 18, 2013 ? NASA's senior Mars rover, Opportunity, is driving to a new study area after a dramatic finish to 20 months on "Cape York" with examination of a rock intensely altered by water.
The fractured rock, called "Esperance," provides evidence about a wet ancient environment possibly favorable for life. The mission's principal investigator, Steve Squyres of Cornell University, Ithaca, N.Y., said, "Esperance was so important, we committed several weeks to getting this one measurement of it, even though we knew the clock was ticking."
The mission's engineers at NASA's Jet Propulsion Laboratory, Pasadena, Calif., had set this week as a deadline for starting a drive toward "Solander Point," where the team plans to keep Opportunity working during its next Martian winter.
"What's so special about Esperance is that there was enough water not only for reactions that produced clay minerals, but also enough to flush out ions set loose by those reactions, so that Opportunity can clearly see the alteration," said Scott McLennan of the State University of New York, Stony Brook, a long-term planner for Opportunity's science team.
This rock's composition is unlike any other Opportunity has investigated during nine years on Mars -- higher in aluminum and silica, lower in calcium and iron.
The next destination, Solander Point, and the area Opportunity is leaving, Cape York, both are segments of the rim of Endeavour Crater, which spans 14 miles (22 kilometers) across. The planned driving route to Solander Point is about 1.4 miles (2.2 kilometers). Cape York has been Opportunity's home since the rover arrived at the western edge of Endeavour in mid-2011 after a two-year trek from a smaller crater.
"Based on our current solar-array dust models, we intend to reach an area of 15 degrees northerly tilt before Opportunity's sixth Martian winter," said JPL's Scott Lever, mission manager. "Solander Point gives us that tilt and may allow us to move around quite a bit for winter science observations."
Northerly tilt increases output from the rover's solar panels during southern-hemisphere winter. Daily sunshine for Opportunity will reach winter minimum in February 2014. The rover needs to be on a favorable slope well before then.
The first drive away from Esperance covered 81.7 feet (24.9 meters) on May 14. Three days earlier, Opportunity finished exposing a patch of the rock's interior with the rock abrasion tool. The team used a camera and spectrometer on the robotic arm to examine Esperance.
The team identified Esperance while exploring a portion of Cape York where the Compact Reconnaissance Spectrometer for Mars (CRISM) on NASA's Mars Reconnaissance Orbiter had detected a clay mineral. Clays typically form in wet environments that are not harshly acidic. For years, Opportunity had been finding evidence for ancient wet environments that were very acidic. The CRISM findings prompted the rover team to investigate the area where clay had been detected from orbit. There, they found an outcrop called "Whitewater Lake," containing a small amount of clay from alteration by exposure to water.
"There appears to have been extensive, but weak, alteration of Whitewater Lake, but intense alteration of Esperance along fractures that provided conduits for fluid flow," Squyres said. "Water that moved through fractures during this rock's history would have provided more favorable conditions for biology than any other wet environment recorded in rocks Opportunity has seen."
NASA's Mars Exploration Rover Project launched Opportunity to Mars on July 7, 2003, about a month after its twin rover, Spirit. Both were sent for three-month prime missions to study the history of wet environments on ancient Mars and continued working in extended missions. Spirit ceased operations in 2010.
JPL, a division of the California Institute of Technology in Pasadena, manages the Mars Exploration Rover Project for NASA's Science Mission Directorate. For more about Opportunity, visit: http://www.nasa.gov/rovers and http://marsrovers.jpl.nasa.gov . You can follow the project on Twitter and on Facebook at: http://twitter.com/MarsRovers and http://www.facebook.com/mars.rovers .