Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Programming

Erik Meijer: The Curse of the Excluded Middle 237

CowboyRobot (671517) writes "Erik Meijer, known for his contributions to Haskell, C#, Visual Basic, Hack, and LINQ, has an article at the ACM in which he argues that 'Mostly functional' programming does not work. 'The idea of "mostly functional programming" is unfeasible. It is impossible to make imperative programming languages safer by only partially removing implicit side effects. Leaving one kind of effect is often enough to simulate the very effect you just tried to remove. On the other hand, allowing effects to be "forgotten" in a pure language also causes mayhem in its own way. Unfortunately, there is no golden middle, and we are faced with a classic dichotomy: the curse of the excluded middle, which presents the choice of either (a) trying to tame effects using purity annotations, yet fully embracing the fact that your code is still fundamentally effectful; or (b) fully embracing purity by making all effects explicit in the type system and being pragmatic by introducing nonfunctions such as unsafePerformIO. The examples shown here are meant to convince language designers and developers to jump through the mirror and start looking more seriously at fundamentalist functional programming.'"
United States

F.C.C., In Net Neutrality Turnaround, Plans To Allow Fast Lane 410

Dega704 (1454673) writes in with news of the latest FCC plan which seems to put another dagger in the heart of net neutrality. "The Federal Communications Commission will propose new rules that allow Internet service providers to offer a faster lane through which to send video and other content to consumers, as long as a content company is willing to pay for it, according to people briefed on the proposals. The proposed rules are a complete turnaround for the F.C.C. on the subject of so-called net neutrality, the principle that Internet users should have equal ability to see any content they choose, and that no content providers should be discriminated against in providing their offerings to consumers."
Databases

Ask Slashdot: Which NoSQL Database For New Project? 272

DorianGre writes: "I'm working on a new independent project. It involves iPhones and Android phones talking to PHP (Symfony) or Ruby/Rails. Each incoming call will be a data element POST, and I would like to simply write that into the database for later use. I'll need to be able to pull by date or by a number of key fields, as well as do trend reporting over time on the totals of a few fields. I would like to start with a NoSQL solution for scaling, and ideally it would be dead simple if possible. I've been looking at MongoDB, Couchbase, Cassandra/Hadoop and others. What do you recommend? What problems have you run into with the ones you've tried?"
Encryption

"Nearly Unbreakable" Encryption Scheme Inspired By Human Biology 179

rjmarvin (3001897) writes "Researchers at the U.K.'s Lancaster University have reimagined the fundamental logic behind encryption, stumbling across a radically new way to encrypt data while creating software models to simulate how the human heart and lungs coordinate rhythms. The encryption method published in the American Physical Society journal and filed as a patent entitled 'Encoding Data Using Dynamic System Coupling,' transmits and receive multiple encrypted signals simultaneously, creating an unlimited number of possibilities for the shared encryption key and making it virtually impossible to decrypt using traditional methods. One of the researchers, Peter McClintock, called the encryption scheme 'nearly unbreakable.'
Bug

Russian GLONASS Down For 12 Hours 148

An anonymous reader writes "In an unprecedented total disruption of a fully operational GNSS constellation, all satellites in the Russian GLONASS broadcast corrupt information for 11 hours, from just past midnight until noon Russian time (UTC+4), on April 2 (or 5 p.m. on April 1 to 4 a.m. April 2, U.S. Eastern time). This rendered the system completely unusable to all worldwide GLONASS receivers."
The Media

Nature Publisher Requires Authors To Waive "Moral Rights" To Works 82

cranky_chemist (1592441) writes "Megan O'Neil has published a story on the Chronicle of Higher Education's website noting some unusual language in the license agreement between authors and Nature Publishing Group. 'Faculty authors who contract to write for the publisher of Nature, Scientific American, and many other journals should know that they could be signing away more than just the economic rights to their work, according to the director of the Office of Copyright and Scholarly Communication at Duke University. Kevin Smith, the Duke official, said he stumbled across a clause in the Nature Publishing Group's license agreement last week that states that authors waive or agree not to assert "any and all moral rights they may now or in the future hold" related to their work. In the context of scholarly publishing, "moral rights" include the right of the author always to have his or her name associated with the work and the right to have the integrity of the work protected such that it is not changed in a way that could result in reputational harm.'

Nature Publishing Group claims the waivers are required to ensure the journal's ability to publish formal retractions and/or corrections. However, the story further notes that Nature Publishing Group is requiring authors at institutions with open-access policies to sign waivers that exempt their work from such policies."
Education

Minnesota Teen Wins Settlement After School Takes Facebook Password 367

schwit1 (797399) writes "A Minnesota school district has agreed to pay $70,000 to settle a lawsuit that claimed school officials violated a student's constitutional rights by viewing her Facebook and email accounts without permission. The lawsuit, filed in 2012 by the American Civil Liberties Union of Minnesota, alleged that Riley Stratton, now 15, was given detention after posting disparaging comments about a teacher's aide on her Facebook page, even though she was at home and not using school computers. After a parent complained about the Facebook chat, the school called her in and demanded her password. With a sheriff deputy looking on, she complied, and they browsed her Facebook page in front of her, according to the report. 'It was believed the parent had given permission to look at her cellphone,' Minnewaska Superintendent Greg Schmidt said Tuesday. But Schmidt said the district did not have a signed consent from the parent. That is now a policy requirement, he said.'" Asks schwit1, "How is this not a violation of the CFAA?" It sounds like the school was violating Facebook's Terms of Service, too.
Earth

Creationists Demand Equal Airtime With 'Cosmos' 667

Hugh Pickens DOT Com (2995471) writes "Travis Gettys reports that creationist Danny Falkner appeared Thursday on "The Janet Mefford Show" to complain that the Fox television series and its host, Neil deGrasse Tyson, had marginalized those with dissenting views on accepted scientific truths. "I don't recall seeing any interviews with people – that may yet come – but it's based upon the narration from the host and then various types of little video clips of various things, cartoons and things like that," said Falkner of Answers In Genesis who also complained that Tyson showed life arose from simple organic compounds without mentioning that some believe that's not possible. "I was struck in the first episode where he talked about science and how, you know, all ideas are discussed, you know, everything is up for discussion – it's all on the table – and I thought to myself, 'No, consideration of special creation is definitely not open for discussion, it would seem." To be fair, there aren't a ton of shows on TV specifically about creationism says William Hamby. "However, there are entire networks devoted to Christianity, and legions of preachers with all the airtime they need to denounce evolution. Oh, and there was that major movie from a few years back. And there's a giant tax-payer subsidized theme park in Kentucky. And the movie about Noah. And entire catalogs of creationist movies and textbooks you can own for the low low price of $13.92.""
Science

Religion Is Good For Your Brain 529

Hugh Pickens DOT Com writes "Sheila M. Elred writes in Discovery Magazine that a recent study has found that people at risk of depression were much less vulnerable if they identified as religious. Brain MRIs revealed that religious participants had thicker brain cortices than those who weren't as religious. 'One of the worst killers of brain cells is stress,' says Dr. Majid Fotuhi. 'Stress causes high levels of cortisol, and cortisol is toxic to the hippocampus. One way to reduce stress is through prayer. When you're praying and in the zone you feel a peace of mind and tranquility.' The reports concluded that a thicker cortex associated with a high importance of religion or spirituality may confer resilience to the development of depressive illness in individuals at high familial risk for major depression. The social element of attending religious services has also been linked to healthy brains. 'There's something magical about socializing,' says Fotuhi. 'It releases endorphins in the brain. It's hard to know whether it's through religion or a gathering of friends, but it improves brain health in the long term.'" (Read more, below.)
Privacy

Eric Schmidt, Jared Cohen Say Google Data Now Protected From Gov't Spying 155

An anonymous reader writes "Google's Eric Schmidt and Jared Cohen were [part of a] wide-ranging session at SXSW today and they revealed that Google's data is now safely protected from the prying eyes of government organizations. In the last few days Google upgraded its security measure following revelations that Britain's GCHQ had intercepted data being transmitted between Google datacenters, Schmidt said that his company's upgrades following the incident left him 'pretty sure that information within Google is now safe from any government's prying eyes.'"
Firefox

Firefox OS Will Become the Mobile OS To Beat 205

mattydread23 writes with an opinion piece naming a few reasons Firefox OS is likely to succeed "It's geared toward low-powered hardware in a way that Google doesn't care as much about with Android, it's cheap enough for the pre-paid phones that are much more common than post-paid in developing countries, and most important, there are still 3.5 billion people in the world who have feature phones and for whom this will be an amazing upgrade." I'd push greater commitment to keeping the essential components of the system under FOSS licenses onto the head of that list.
Businesses

PC Game Prices — Valve Starts the Race To Zero 212

An anonymous reader writes "Last week Valve made an interesting but seemingly innocuous announcement: they're giving game developers control of their own pricing on Steam. Nicholas Lovell now claims that this has effectively kicked off a race to zero for PC game pricing. He says what's starting to happen now will mirror what's happened to mobile gaming over the past several years. Quoting: 'Free is the dominant price point on mobile platforms. Why? Because the two main players don't care much about making money from the sale of software, or even In-App Purchases. The AppStore is less than 1% of Apple's revenue. Apple has become one of the most valuable companies in the world on the strength of making high-margin, well-designed, highly-desirable hardware. ... Google didn't create Android to sell software. It built Android to create an economic moat. ... In the case of both iOS and Android, keeping prices high for software would have been in direct opposition to the core businesses of Apple (hardware) and Google (search-related advertising). The only reason that ebooks are not yet free is that Amazon's core business is retail, not hardware. ... Which brings me to Steam. The Steambox is a competitor to consoles, created by Valve. It is supposed to provide an out-of-the-box PC gaming experience, although it struggles to compete on either price or on marketing with the consoles. It doesn't seem as if Steam is keen to subsidize the costs of the box, not to the level that Microsoft and Sony are. But what if Steam's [unique selling point] was thousands or tens of thousands of games for free?'"
Cloud

Feds Now Oppose Aereo, Rejecting Cloud Apocalypse Argument 140

v3rgEz writes "TV streaming service Aereo expected broadcasters would put up a fight. The startup may not have seen the Justice Department as a threat, however. The Justice Department has now weighed in, saying in a filing that it's siding with major broadcasters who accuse Aereo of stealing TV content. In its filing, the Justice Department noted it doesn't believe a win for broadcasters would dismantle the precedent that created the cloud computing industry, as Aereo has previously claimed. The case is expected to go before the Supreme Court in late April."
Programming

Does Relying On an IDE Make You a Bad Programmer? 627

itwbennett writes "Writing about his career decisions, programming language choices, and regrets, Rob Conery says that as a .NET developer he became more reliant on an IDE than he would have with PHP. Blogger, and .NET developer, Matthew Mombrea picks up the thread, coming to the defense of IDEs (Visual Studio in particular). Mombrea argues that 'being a good developer isn't about memorizing the language specific calls, it's about knowing the available ways to solve a problem and solving it using the best technique or tools as you can.' Does using an IDE make you lazy with the language? Would you be better off programming with Notepad?"

Slashdot Top Deals

Solutions are obvious if one only has the optical power to observe them over the horizon. -- K.A. Arsdall

Working...