Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment Too bad this is based on completely false data (Score 1) 834

See Andrew Gelman's article in American Scientist that debunks the statistics behind the "having more daughters" data at least. The largest credible effect on sex ratio is around 3% differences between boys and girls among those in famine conditions... and this effect is due primarily to nonsurvival of boy fetuses in famine conditions. The more daughters from beautiful parents effect has been overstated to be on the order of 15 to 30% differences, absolutely absurd if you even stop to think about it. The original studies do not have the statistical power to distinguish between random fluctuations and a real effect and therefore they overstate any effect that you find by the size of the standard error rather than the size of the effect..

  I can certainly believe that beautiful women have more children on average though....

Scientists show that even scientists rarely really understand statistics...

Comment Double Blindness of this study (Score 1) 158

It wouldn't be hard to make this double blind, you'd grind up chocolate and put it in capsules, and then grind up something inert, dye it brown, and put that in capsules. Don't tell the dispenser or the taker which group they're in. Of course the takers could open the capsules and try to guess which group they were in, but yeah, it's not impossible to do a good job double-blinding this, it's just not as interesting for the taker if they don't get to enjoy the chocolate.

Comment Two suggestions (Score 1) 364

Hardware random number generator using a couple of resistors, a potentiometer, and a zener diode. For additional points, use a comparator to amplify the noise. You can then talk about the physics of electron transfer across the diode junction and thermal agitation to describe why the noise occurs.

Another interesting project is a feedback controller that levitates a ball hanging below an electro-magnet. You use an LED and a phototransistor to set up a circuit that tries to keep the reflected light intensity constant, which makes the steel ball hang a certain small distance below the magnet.

Neither of these is too terribly expensive, and both have physics content, but neither is what I'd call "modern". Almost all of modern electronics involves digital integrated circuits.

Comment Re:"functional programming languages can beat C" (Score 1, Informative) 502

As much as Lisp people want to say that Lisp lost because of the price of Lisp machines and Lisp compilers, it actually lost because it isn't a particularly practical language; that's why it hasn't had a resurgance while all these people move to haskell, erlang, clojure, et cetera.

Lisp is a beautiful language. So is Smalltalk. Neither one of them were ever ready to compete with practical languages.

The idea that LISP hasn't had a resurgence is wrong. Take a look at books published on common lisp recently. You'll see several from about 2004 to 2009. The SBCL project revived the CMUCL compiler in a cross platform and easier to improve way, which resulted in a large number of improvements. And places like common-lisp.net, clocc.sourceforge.net and cliki.net are the repositories for shared code in the free software community.

There are several webservers written in common lisp, this is not the first by a long shot, and in case you didn't know, the technology inside orbitz is written in common lisp.

The reason Common Lisp is not dominating the world is mainly that it takes a fair amount of sophistication to "get" the LISP way of doing things, and the huge availability of C based libraries.

The popularity of Python is essentially about having a LISP that has a more familiar syntax and interfaces well with C programs. Python isn't LISP but it's not very far off.

Slashdot Top Deals

Repel them. Repel them. Induce them to relinquish the spheroid. - Indiana University fans' chant for their perennially bad football team

Working...