JavaScript expert: WebKit, get your bug-ridden house in order




It was a good day for the WebKit browser engine yesterday when Opera Software adopted it in place of its in-house Presto. But yesterday's developments also became an opportunity for a high-profile JavaScript programmer to lodge criticisms about WebKit.


"Each release of Chrome or
Safari generates excitement about new bleeding-edge features; nobody seems to worry about the stuff that's already (still!) broken," complained Dave Methvin, president of the jQuery foundation and a member of the core programming team that builds the widely used Web programming tool, in a blog post.


"jQuery Core has more lines of fixes and patches for WebKit than any other browser. In general these are not recent regressions, but long-standing problems that have yet to be addressed."


WebKit is a browser engine used initially in Apple's OS X and later in iOS and Google's Chrome products. It dominates in mobile, though there are variations among the versions from Apple, Google, and others using the software.




Browser engines are used to process Web page programming written in HTML, CSS, and JavaScript. jQuery is a very widely used package of prewritten JavaScript code that lets programmers take advantage of advanced Web features, and jQuery's own coders must be sure jQuery works with all browsers.


Methvin fretted that Opera's arrival in the world of WebKit will mean only a different set of shiny new browser features without any new attention to the bugs.


"I can't be optimistic without some evidence that things are really going to change," he said.


On the contrary, he's worried that WebKit's success and priorities means that some aspects of Web programming are sliding back into the dark days when old versions of Microsoft Internet Explorer ruled the Web:


When we started our jQuery 2.0 cleanup to remove IE 6/7/8 hacks, we were optimistic that we would also be able to remove some bloat from lingering patches needed for really old browsers like Safari 2. But several of those WebKit hacks still remain. Even when they have been fixed in the latest Chrome or Safari, older WebKit implementations like PhantomJS and UIWebView [which third-party iOS use to handle Web code] still don't have the fix. We've had to put back several of these as users reported problems with the beta. It's starting to feel like oldIE all over again, but with a different set of excuses for why nothing can be fixed.


Methvin is not the only angst-laden Web developer. Several others lamented Opera's diminished independence as a supplier of an alternative browsing engine.


Opera will debut its first WebKit-based product, a version of its browser for
Android phones, at the Mobile World Congress show in Barcelona, Spain, later this month.

Read More..

Are Honeybees Losing Their Way?



A single honeybee visits hundreds, sometimes thousands, of flowers a day in search of nectar and pollen. Then it must find its way back to the hive, navigating distances up to five miles (eight kilometers), and perform a "waggle dance" to tell the other bees where the flowers are.


A new study shows that long-term exposure to a combination of certain pesticides might impair the bee's ability to carry out its pollen mission.


"Any impairment in their ability to do this could have a strong effect on their survival," said Geraldine Wright, a neuroscientist at Newcastle University in England and co-author of a new study posted online February 7, 2013, in the Journal of Experimental Biology.


Wright's study adds to the growing body of research that shows that the honeybee's ability to thrive is being threatened. Scientists are still researching how pesticides may be contributing to colony collapse disorder (CCD), a rapid die-off seen in millions of honeybees throughout the world since 2006.


"Pesticides are very likely to be involved in CCD and also in the loss of other types of pollinators," Wright said. (See the diversity of pollinating creatures in a photo gallery from National Geographic magazine.)


Bees depend on what's called "scent memory" to find flowers teeming with nectar and pollen. Their ability to rapidly learn, remember, and communicate with each other has made them highly efficient foragers, using the waggle dance to educate others about the site of the food source.



Watch as National Geographic explains the waggle dance.


Their pollination of plants is responsible for the existence of nearly a third of the food we eat and has a similar impact on wildlife food supplies.


Previous studies have shown certain types of pesticides affect a bee's learning and memory. Wright's team wanted to investigate if the combination of different pesticides had an even greater effect on the learning and memory of honeybees.


"Honeybees learn to associate floral colors and scents with the quality of food rewards," Wright explained. "The pesticides affect the neurons involved in these behaviors. These [affected] bees are likely to have difficulty communicating with other members of the colony."


The experiment used a classic procedure with a daunting name: olfactory conditioning of the proboscis extension reflex. In layman's terms, the bee sticks out its tongue in response to odor and food rewards.


For the experiment, bees were collected from the colony entrance, placed in glass vials, and then transferred into plastic sandwich boxes. For three days the bees were fed a sucrose solution laced with sublethal doses of pesticides. The team measured short-term and long-term memory at 10-minute and 24-hour intervals respectively. (Watch of a video of a similar type of bee experiment.)


This study is the first to show that when pesticides are combined, the impact on bees is far worse than exposure to just one pesticide. "This is particularly important because one of the pesticides we used, coumaphos, is a 'medicine' used to treat Varroa mites [pests that have been implicated in CCD] in honeybee colonies throughout the world," Wright said.


The pesticide, in addition to killing the mites, might also be making honeybees more vulnerable to poisoning and effects from other pesticides.


Stephen Buchmann of the Pollinator Partnership, who was not part of Wright's study, underscored how critical pollinators are for the world. "The main threat to pollinators is habitat destruction and alteration. We're rapidly losing pollinator habitats, natural areas, and food—producing agricultural lands that are essential for our survival and well being. Along with habitat destruction, insecticides weaken pollinators and other beneficial insects."


Read More..

'Blade Runner' Charged With Murder of Girlfriend













Oscar Pistorius, the Olympic and Paralympic athlete known as the "blade runner," was taken into custody in South Africa today and charged with the murder of his girlfriend, who was fatally shot at his home.


Police in the South African capital of Pretoria received a call around 3 a.m. today that there had been a shooting at the home of 26-year-old Pistorius, Lt. Col. Katlego Mogale told the Associated Press. When police arrived at the scene they found paramedics trying to revive 29-year-old Reeva Steenkamp, the AP reported.


At a news conference early today, police said a 26-year-old man, whom they have not named, was arrested and has requested to be taken to court immediately. Police in South Africa do not name suspects in crimes until they have appeared in court.


RELATED: 'Blade Runner' Oscar Pistorius Faster Than a Horse






AP Photo/Matt Dunham, File















Runner Oscar Pistorius Arrested in Girlfriends's Killing Watch Video





Mogale said the woman died at the house, and a 9-mm pistol was recovered at the scene and a murder case opened against Pistorius, the AP reported.


Police said this morning that there were no other suspects in the shooting, and that Pistorius is at the police station.


The precise circumstances surrounding the incident are unclear. Local reports say he might have mistaken her for a burglar, according to the AP.


VIDEO: Double Amputee Races to Win Olympic Gold


Police said they have heard reports of an argument or shouting at the apartment complex, and that the only two people on the premises were Steenkamp and Pistorius.


Police confirmed there have previously been incidents of a domestic nature at the home of Pistorius.


Pistorius, a sprint runner, had double below the knee amputations, and a part of his legs has been replaced with carbon fiber blades. In 2012, he became the first double-leg amputee to participate in the Olympics, competing in the men's 400-meter race.


He also competed in the Paralympics, where he won gold medals in the men's 400-meter race, in what became a Paralympics record. He also took the silver in the 200-meter race.


Steenkamp, according to her Twitter bio, is a law graduate and model. She tweeted Wednesday, "What do you have up your sleeve for your love tomorrow??? #getexcited #ValentinesDay."


Steenkamp recently appeared on the cover of FHM magazine, in commercials and was due to appear on a reality-TV show, "Tropika Island of Treasure."



Read More..

US should vaccinate poultry to stop killer salmonella









































It is a case of putting the bottom line before our health. This year, a million Americans will succumb to salmonella poisoning. Several hundred will die. Yet in Europe, a cheap vaccine for chickens has slashed the number of cases. Vaccination in Iowa shows US lives can be saved too – but US rules give meat producers no incentive to use a vaccine that doesn't boost their profits.












Salmonella causes more deaths than any other food-borne germ and is the second-most common cause of food-borne illness in the US, according to a new report published by the US Centers for Disease Control and Prevention in Atlanta, Georgia. Poultry, meat and eggs are the biggest source, causing a third of all cases.












But this can be prevented. After a scandal over infected eggs in the UK in the late 1980s, farmers boosted hygiene standards and killed infected flocks. Human cases stayed high until 1998 when British supermarkets started buying eggs only from vaccinated hens, says Sarah O'Brien of the University of Liverpool, UK. Human cases then plummeted with a forty-fold drop between 1993 and 2010.











In the US, a massive recall of eggs due to salmonella in 2010 similarly led to tighter hygiene rules for chicken farms. But the US Food and Drug Administration declared there was "insufficient data on efficacy" to make vaccination compulsory, despite evidence in Europe to the contrary.













Nonetheless, as monitoring programmes have revealed just how widespread the infection is, about a third of US egg producers have started to vaccinate their chickens. That and better hygiene has reduced the number of infected hen houses fivefold in Iowa, the biggest US egg producer, in the past two years, says Darrell Trampel of Iowa State University.












Meat producers have resisted, however, even though there is salmonella on 13 per cent of chicken breasts sold in US supermarkets, says Lance Price of George Washington University in Washington DC. The farmers vaccinate for several poultry diseases, but since salmonella doesn't hurt the birds or affect their growth, says Price – and human illness is not a cost the farmers have to bear – there is no motivation to prevent its spread.












Journal reference: Emerging Infectious Disease, doi.org/kgx


















































If you would like to reuse any content from New Scientist, either in print or online, please contact the syndication department first for permission. New Scientist does not own rights to photos, but there are a variety of licensing options available for use of articles and graphics we own the copyright to.




































All comments should respect the New Scientist House Rules. If you think a particular comment breaks these rules then please use the "Report" link in that comment to report it to us.


If you are having a technical problem posting a comment, please contact technical support.








Read More..

Bank of England says UK economic recovery in sight






LONDON: The Bank of England forecast on Wednesday that the British economy would experience a "slow but sustained" recovery, but 12-month inflation would top 3.0 percent in the summer months.

Gross domestic product (GDP) was expected to grow by about 2.0 percent by the end of 2014 and remain positive despite some volatility amid the ongoing eurozone crisis, the central bank said in its latest quarterly report.

"The UK economy is therefore set for a recovery," said BoE governor Mervyn King, who will be replaced by Canadian central bank boss Mark Carney in July.

"That is not to say that the road ahead will be smooth. This hasn't been a normal recession and it won't be a normal recovery.

"The bank does not expect a triple-dip recession but said GDP was likely to continue at below pre-financial crisis levels for around another two years."

The BoE report will likely ease concerns over the outlook, after a 0.3-percent contraction in the fourth quarter of 2012 left Britain on the brink of its third recession since 2008.

The bank's monetary policy committee (MPC) last week froze its key interest rate at a record-low 0.50 percent and maintained its quantitative easing cash stimulus.

In addition, last year Britain launched an £80-billion ($123.7 billion, 102 billion euros) "funding for lending" initiative -- which is aimed at providing banks with cheap funding to stimulate lending to households and businesses, and thereby boost growth.

"The MPC continues to judge that the UK economy is set for a slow but sustained recovery in both demand and effective supply, aided by a further easing in credit conditions -- supported by the bank's programme of asset purchases and the funding for lending scheme -- and some improvement in the global environment," the report said.

"But the risks are weighted to the downside, not least because of the challenges facing the euro area."

The British central bank added that household budgets would be squeezed further, with 12-month inflation set to strike 3.0 percent in the coming months and hold above its official 2.0-percent target level for another two years.

Official data had shown on Tuesday that consumer prices index (CPI) annual inflation was 2.7 percent in January for the fourth month in a row, driven partly by rebounding food and drink prices.

- AFP/al



Read More..

Expert advice for online dating (podcast)




Cyberdating specialist Julie Spira



(Credit:
Cyberdatingexpert.com)

"It's never been easier to find a date," said CyberDatingExpert.com's Julie Spira, and when it comes to online dating, "the stigma is gone." She credits Facebook with helping to make people feel comfortable about sharing online and joining an online dating site. And, said Spira, "there are thousands of online dating sites to pick from," including niche sites aimed at Democrats and Republicans, as well as different religions, and even vegans and vegetarians.

Spira is a fan of "truth in advertising," and recommends that people be authentic both in terms of their age, their photos, and what they enjoy. If you're looking for marriage and children, "don't be afraid to say so," said Spira. "Sometimes they think that they'll be scaring a guy away thinking he's gong to have to go ring shopping immediately, and I absolutely disagree." Instead, she added, "you're chasing away the guys that could be the players that would be wasting your time anyway."

She said to be "very specific and avoid the cliches" like "I want to go on a romantic beach walk and like watching sunsets." She said to come up with a catchy screen name and something "very specific about what your favorite song is rather than 'I like music.'" She also said it's best to post three to five photos of yourself, including a close-up shot, a full-length body shot, and an activity shot such as "hiking, a travel trip where you have the Eiffel Tower behind you, sailing, anything that makes you unique to show that you have an interesting life."

For more, click below to listen to my podcast interview with Spira.



Subscribe now: iTunes (audio) | RSS (audio)
Read More..

Obama Pledges U.S. Action on Climate, With or Without Congress


If there were anything in President Barack Obama's State of the Union to give hope to wistful environmentalists, it was the unprecedented promise to confront climate change with or without Congress, and to pursue new energy technology in the process.

Following his strong statements in his inaugural address about the ripeness of the moment to address a changing climate, Obama outlined a series of proposals to do it. Recognizing that the 12 hottest years on record all occurred in the last decade and a half, Obama said his most ambitious goal would be a "bipartisan, market-based solution," similar to the cap-and-trade system that died in Congress during his first term.(See related story: "California Tackles Climate Change, But Will Others Follow?")

But without legislative action, Obama threatened to act himself using executive authority. "I will direct my Cabinet to come up with executive actions we can take, now and in the future, to reduce pollution, prepare our communities for the consequences of climate change, and speed the transition to more sustainable sources of energy," he said. That will translate, White House officials said earlier in the week, to new regulations for existing coal-burning power plants and directives to promote energy efficiency and new technology research. (See related story: "How Bold a Path on Climate Change in Obama's State of the Union?")

The effort isn't one that can be stalled, he noted. Not just because of a warming planet, but also because of international competition from countries like China and parts of Western Europe that have gone "all in" on clean energy.

Energy experts signaled support of Obama's comments on energy security, including a plan for an Energy Security Trust to use revenue from oil and gas production on public lands to fund new energy research. "Clean energy businesses commend the president for reaffirming his commitment to reduce greenhouse gas emissions and to address the damaging and costly impacts of climate change," Lisa Jacobson, president of Business Council for Sustainable Energy, said in a statement. The influential League of Conservation Voters perked up to Obama's vow to act on climate change, even if alone.

Noticeably unmentioned in the speech was the Keystone XL pipeline that would carry oil from Canadian tar sands to the refining centers of Texas. Environmentalists have urged Obama to reject the project's application for federal approval in order to hold the line against carbon-intensive production from the oil sands. (See related blog post: "Obama and Keystone XL: The Moment of Truth?") Energy analysts believe Obama is likely to approve the project in the coming weeks, yet at the same time offer new regulations on domestic oil and natural gas development.

Other environmental analysts took Obama's remarks as simple talk, so far not backed by action. “How many times do we have to have the problem described?” David Yarnold, president of the Audubon Society said after the speech. “Smarter standards for coal-fired power plants are the quickest path to a cleaner future, and the president can make that happen right now.”

Obama's path toward accomplishing those goals will likely be lonely. In the Republican rebuttal to Obama's speech, Florida Senator Marco Rubio sidelined climate change as an issue of concern and highlighted the deep partisan distrust. "When we point out that no matter how many job-killing laws we pass, our government can’t control the weather, he accuses us of wanting dirty water and dirty air," Rubio said. He echoed the long-held Republican concern that remaking an economy may not be the wisest way to confront the problem of extreme weather.

Central to Obama's efforts will be his nominees to lead the Environmental Protection Agency and the Department of Energy in his second term. Both roles were at times attacked over his first term, notably when EPA instituted new air and water regulations and DOE was caught making a bad investment in the now-defunct solar manufacturer Solyndra. If the tone of his State of the Union offers a blueprint, he'll choose people unafraid to act.

This story is part of a special series that explores energy issues. For more, visit The Great Energy Challenge.


Read More..

Charred Human Remains Found in Burned Cabin













Investigators have located charred human remains in the burned-out cabin where they believe suspected cop killer and ex-LAPD officer Christopher Dorner was holed up as the structure burned to the ground, police said.


The human remains were found within the debris of the burned cabin and identification will be attempted through forensic means, the San Bernardino County Sheriff-Coroner Department said in a news release early this morning.


Dorner barricaded himself in the cabin in the San Bernardino Mountains near Big Bear Tuesday afternoon after engaging in a gunfight with police, killing one officer and injuring another, the San Bernardino County Sheriff's Department said.


Cindy Bachman, a spokeswoman for the department, which is the lead agency in the action, said Tuesday night investigators would remain at the site all night.


FULL COVERAGE: Christopher Dorner Manhunt


When Bachman was asked whether police thought Dorner was in the burning cabin, she said, "Right. We believe that the person that barricaded himself inside the cabin engaged in gunfire with our deputies and other law enforcement officers is still inside there, even though the building burned."


Bachman spoke shortly after the Los Angeles Police Department denied earlier reports that a body was found in the cabin, contradicting what law enforcement sources told ABC News and other news organizations.


Police around the cabin told ABC News they saw Dorner enter but never leave the building as it was consumed by flames, creating a billowing column of black smoke seen for miles.


A news onference is scheduled for later today in San Bernardino.








Christopher Dorner Manhunt: Police Exchange Fire With Possible Suspect Watch Video









Christopher Dorner Manhunt: An International Search? Watch Video









Christopher Dorner Manhunt: Police Offer Million-Dollar Reward Watch Video





One sheriff's deputy was killed in a shootout with Dorner earlier Tuesday afternoon, believed to be his fourth victim after killing a Riverside police officer and two other people this month, including the daughter of a former police captain, and promising to kill many more in an online manifesto.



PHOTOS: Former LAPD Officer Suspected in Shootings


Cops said they heard a single gunshot go off from inside the cabin just as they began to see smoke and fire. Later they heard the sound of more gunshots, which was the sound of ammunition being ignited by the heat of the blaze, law enforcement officials said.


Police did not enter the building, but shot tear gas inside.


One of the largest dragnets in recent history, which led police to follow clues across the West and into Mexico, apparently ended just miles from where Dorner's trail went cold last week.


It all began at 12:20 p.m. PT Tuesday, when a maid working at a local resort called 911, saying she and another worker had been tied up and held hostage by Dorner in a cabin, sources said.


The maid told police she was able to escape, but Dorner had stolen one of their cars, which was identified as a purple Nissan.


The San Bernardino Sheriff's Office and state Fish and Game officers spotted the stolen vehicle and engaged in a shootout with Dorner.


Officials say Dorner crashed the stolen vehicle and fled on foot only to commandeer Rick Heltebrake's white pickup truck on a nearby road a short time later.


"[Dorner] said, 'I don't want to hurt you, just get out and start walking up the road and take your dog with you.' He was calm. I was calm. I would say I was in fear for my life, there was no panic, he told me what to do and I did it," Heltebrake said.


"He was dressed in all camouflage, had a big assault sniper-type rifle. He had a vest on like a ballistic vest," Heltebrake added.


Ten seconds later, Heltebrake said, a "volume of gunfire" could be heard.


The gunfire was from Dorner, who exchanged fire with two deputies, sources said.


The two deputies were wounded in the firefight and airlifted to a nearby hospital, where one died, police said. The second deputy was in surgery and was expected to survive, police said.


Police sealed all the roads into the area, preventing cars from entering the area and searching all of those on the way out. All schools were briefly placed on lockdown.


Believing that Dorner might have been watching reports of the standoff, authorities asked media not to broadcast images of police offficers' surrounding the cabin, but sent him a message.


"If he's watching this, the message is: Enough is enough," Los Angeles Police Department spokesman Andy Smith told reporters at a news conference Tuesday. "It's time to turn yourself in. It's time to stop the bloodshed. It's time to let this event and let this incident be over."






Read More..

Robotic tormenter depresses lab rats



Hal Hodson, technology reporter


144645362.jpg

(Image: Chris Nash/iamchrisphotography/Getty)



Lab rats have a new companion, but it's not friendly. Researchers at Waseda University in Tokyo, Japan, have developed a robotic rat called WR-3 whose job is to induce stress and depression in lab animals, creating models of psychological conditions on which new drugs can be tested.





Animal are used throughout medicine as models to test treatments for human conditions, including mental disorders like depression. Rats and mice get their sense of smell severed to induce something like depression, or are forced to swim for long periods, for instance. Other methods rely on genetic modification and environmental stress, but none is entirely satisfactory in recreating a human-like version of depression for treatment. Hiroyuki Ishii and his team aim to do better with WR-3.

WR-3_Size.jpg


(Image: Takanishi Lab/Waseda University) 

The researchers tested WR-3's ability to depress two groups of 12 rats, measured by the somewhat crude assumption that a depressed rat moves around less. Rats in group A were constantly harassed by their robot counterpart, while the other rats were attacked intermittently and automatically by WR-3, whenever they moved. Ishii's team found that the deepest depression was triggered by intermittent attacks on a mature rat that had been constantly harassed in its youth.


The team say they plan to test their new model of depression against more conventional systems, like forced swimming.


The robot has been developed just as new research by Junhee Seok of Stanford University in Palo Alto, California, and colleagues shows that the use of mouse models for human conditions has led researchers trying to find treatments for sepsis, burns and trauma astray at a cost of billions of tax dollars.



Journal reference: Advanced Robotics, DOI: 10.1080/01691864.2013.752319




Read More..

Thailand warns of possible threat to US consulate






BANGKOK: Thailand said on Tuesday that it had tightened security around the US consulate in the northern city of Chiang Mai in response to warnings of a possible terrorist threat.

Prime Minister Yingluck Shinawatra said she had "instructed security officials to step up security protection" at the diplomatic facility.

"The US embassy did not make any special request but we have to be vigilant and cannot be reckless," she told reporters.

A Thai senior intelligence official who did not want to be named said the government had received information late last week about a possible threat.

"We have learned that Al-Qaeda linked Salafists (ultra-orthodox Islamists) may be planning an attack on the US consulate in Chiang Mai," he told AFP.

"It's difficult to find them because there are a lot of tourists in Chiang Mai and also it's hard for them to find weapons to mount an attack," he said.

The heightened security comes as Thailand and the United States stage 11 days of annual joint military exercises known as Cobra Gold.

A spokesman for the US embassy in Bangkok, Walter Braunohler, declined to comment on the reported threat but said the consulate in Chiang Mai was open as usual.

"We continue to take every precaution necessary," he added.

- AFP/al



Read More..