Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
PHP

PHP Gets Namespace Separators, With a Twist 523

jeevesbond writes "PHP is finally getting support for namespaces. However, after a couple hours of conversation, the developers picked '\' as the separator, instead of the more popular '::'. Fredrik Holmström points out some problems with this approach. The criteria for selection were ease of typing and parsing, how hard it was to make a typo, IDE compatibility, and the number of characters."
Power

Nanowires Allow For Electricity-Generating Clothing 113

lee1 writes "The latest development in the field of 'energy harvesting', which includes such opportunistic technology such as self-winding watches, generators implanted in soldier's boots, and knee brace dynamos, is a cloth that generates electrical power. The cloth is newly developed by scientists in the US, and can produce up to 80 milliwatts per square metre. It is made from brush-like fibres composed of a Kevlar stalk surrounded by zinc oxide nanowire crystals that generate electricity through the piezoelectric effect. They can be grown on any substrate, including hair. The power harnessed from this effect could be used for anything from cosmetic components to the powering of medical devices."
Robotics

Robots Assimilate Into Cockroach Society 107

sufijazz writes "Scientists have gotten tiny robots to not only integrate into cockroach society but also control it. 'This experiment in bug peer pressure combined entomology, robotics and the study of ways that complex and even intelligent patterns can arise from simple behavior. Animal behavior research shows that swarms working together can prosper where individuals might fail, and robotics researchers have been experimenting with simple robots that, together, act a little like a swarm.' The BBC also has a video story on this."

Slashdot Top Deals

Anyone can make an omelet with eggs. The trick is to make one with none.

Working...