Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×

Comment Re:haskell for the masses? sure, but only... (Score 1) 338

Modern imperative languages are constantly adding elements from functional languages. For example, take C++ templates - template metaprogramming is a pure functional style of programming. C++ 1x has added lambdas. Also things like STL algorithms such as accumulate and for_each or boost::bind - are essentially functional programming. C++ 1x was to have concepts which was removed but will hopefully return in the next standard. C# has added async and await. So your "masses" cannot avoid functional programming - they will be forced to learn it - since all imperative languages are going in that direction.

The advent of multicore programming will force this issue. Functional programs are much easier to execute in parallel. C++ has Microsoft PPL or Intel Threads libraries which are essentially functional algorithms. parallel_for with a lambda is one of the most useful parallel programming techniques. The equivalent imperative program will be far more verbose and cumbersome.

I actually believe C++ with the addition of Concepts and pure functions will make a very useful functional language. Yes it will be much more verbose than Haskell. Everything is. But then we will be able to use imperative style where required and functional style everywhere else. The functional parts can be easily parallelized. They can throw exceptions with impunity. Of course, there are some issues as to what constitutes "pure objects" and how to work around C++'s lack of a garbage collector. However people are already working on it. I believe Andrei Alexandrescu was working on something similar for D, which may be adopted to C++.

Comment Use F# (Score 2, Interesting) 338

F# is essentially OCaml for .Net, so you get the full access to the .Net library. Also the best thing about F#, in my opinion, is since it is a .Net language, you can mix and match it with C#. So you can use functional approach for most part of your program, yet drop to C# when you require.

Comment Re:Microsoft UI has officially entered the realm o (Score 1) 951

Both his criticisms make no sense. Regarding his first (remaining 50% of the bar is taken up by buttons that nobody will ever use) - the space is already there. Do you want to use the space to put some useful commands, or do you leave it blank ? Obviously my choice would be to add some useful command. Empty space serves nothing.

The second criticism is even more nonsense. MS is not taking away the context menu or the hotkey - in fact if you read the blog, they are adding more shortcuts. They are only combining the command bar and menu bar into one and making it more prominent. Whats the harm in that ? It even has more vertical space!

Patents

What If Tim Berners-Lee Had Patented the Web? 154

An anonymous reader writes "Last week Slashdot had the story that the web had turned 20 years old. Of course, patents also last 20 years, which has resulted in some asking what would have happened if Tim Berners-Lee had patented the web? Thankfully, he didn't (and wouldn't). But we'd be living in a very different (and probably less interesting) world if he had."

Comment KOTOR (Score 1) 133

KOTOR I and II were 2 of the best RPGs I have played. True that KOTOR 2's ending was botched up, but then it wasn't released by Bioware. I am really excited about this game - I haven't found a really good RPG recently after Witcher. Mass Effect and Dragon Age wasn't that good in my opinion.
Sony

'Anonymous' Plans Sony Boycott On April 16 260

Here's an excerpt from PCMag: "Say you're a hacker trying to cripple a major electronics company for suing its own users: how do you launch a cyberattack without harming the people you're trying to protect? In the case of hactivist group 'Anonymous,' which has spent the week targeting Sony to retaliate against Sony's ongoing lawsuits against PlayStation 3 modifiers, you take it offline. Anonymous is staging a 24-hour, in-store boycott at Sony stores around the world on Saturday, April 16. So far over 1,000 people have RSVP'd through Facebook."
Windows

Submission + - NVIDIA entering mainstream CPU race with ARM (pcper.com)

Vigile writes: For many years NVIDIA has been rumored to enter the highly competitive general processor markets and while the speculation of x86 never actually panned out, at CES yesterday NVIDIA did something nearly as dramatic. Shortly before the Microsoft announcement of a Windows operating system running on the ARM architecture, NVIDIA CEO Jen-Hsun Huang went on stage and discussed Project Denver, the NVIDIA initiative to create high performance ARM processors suitable for desktop and server use at standard wattage and TDPs. This indicates a fundamental shift in computing technology where companies like NVIDIA can compete with Intel without the often-litigated x86 licenses.
Microsoft

Next Generation of Windows To Run On ARM Chip 307

Hugh Pickens writes "Sharon Chan reports in the Seattle Times that at the Consumer Electronics Show in Las Vegas, Microsoft showed the next generation of Windows running natively on an ARM chip design, commonly used in the mobile computing world, indicating a schism with Intel, the chip maker Microsoft has worked with closely with throughout the history of Windows and the PC. The Microsoft demonstration showed Word, PowerPoint and high definition video running on a prototype ARM chipset made by Texas Instruments, Nvidia. 'It's part of our plans for the next generation of Windows,' says Steve Sinofsky, president of Windows division. 'That's all under the hood.' According to a report in the WSJ, the long-running alliance between Microsoft and Intel is coming to a day of reckoning as sales of tablets, smartphones and televisions using rival technologies take off, pushing the two technology giants to go their separate ways. The rise of smartphones and more recently, tablets, has strained the relationship as Intel's chips haven't been able to match the low power consumption of chips based on designs licensed from ARM. Intel has also thumbed its nose at Microsoft by collaborating with Microsoft archrival Google on the Chrome OS, Google's operating system that will compete with Windows in the netbook computer market. 'I think it's a deep fracture,' says venture capitalist Jean-Louis Gassee regarding relations between Microsoft and Intel."
Microsoft

Submission + - Microsoft Multitouch Mouse - stroke your mouse? (i-programmer.info)

mikejuk writes: Multitouch is great — as long as you have an input device that supports it. For the desktop machine this is something of a problem. Not many have multitouch enabled monitors and the ones that do aren't exactly natural to use in a vertical mode. Multitouch works best on mobile devices that you tend to hold horizontally. Now Microsoft thinks it has the answer in the form a new mouse — Touch Mouse, that supports gestures. This mouse has a capacitive touch sensor on its back bring new meaning to "now stroke your mouse".
Graphics

Submission + - NVIDIA Unveils Denver ARM-Based CPU For HPC (hothardware.com)

MojoKid writes: In a jam-packed meeting room in Las Vegas today, NVIDIA CEO Jen-Hsun Huang spoke about the massive influx of mobile computing devices over the last few years and NVIDIA’s plans to better infiltrate the burgeoning market moving forward. During the address, Mr. Huang spoke almost about the company’s Tegra 2 processor and its capabilities, although he also dropped a bombshell to close his talk about NVIDIA’s “Project Denver.” Denver is not an x86 device, but rather a custom designed, high-performance ARM core that will target the HPC space. Though low-power ARM architecture hasn’t been geared for the HPC space, instead finding its way into a myriad of mobile devices and smartphones, NVIDIA aims to change that by pairing a custom core with their high performance GPU on a single SoC. NVIDIA's Denver chip is in a good position potentially if the company can execute, especially in light of Microsoft’s announcement earlier today that the next version of Windows will support next-gen System on a Chip (SoC) architectures from Intel, AMD, and ARM.
Microsoft

Submission + - Next Generation of Windows to Run on ARM Chip

Hugh Pickens writes: "Sharon Chan reports in the Seattle Times that at the Consumer Electronics Show in Las Vegas, Microsoft showed the next generation of Windows running natively on an ARM chip design, commonly used in the mobile computing world, indicating a schism with Intel, the chip maker Microsoft has worked with closely with throughout the history of Windows and the PC. The Microsoft demonstration showed Word, PowerPoint and high definition video running on a prototype ARM chipset made by Texas Instruments, Nvidia. "It's part of our plans for the next generation of Windows.," says Steve Sinofsky, president of Windows division. "That's all under the hood." According to a report in the WSJ, the long-running alliance between Microsoft and Intel is coming to a day of reckoning as sales of tablets, smartphones and televisions using rival technologies take off, pushing the two technology giants to go their separate ways. The rise of smartphones and more recently, tablets has strained the relationship as Intel's chips haven't been able to match the low-power consumption of chips based on designs licensed from ARM and Intel has also thumbed its nose at Microsoft by collaborating with Microsoft archrival Google on the Chrome OS, Google's operating system that will compete with Windows in the netbook computer market. "I think it's a deep fracture," says venture capitalist Jean-Louis Gassee regarding relations between Microsoft and Intel."

Submission + - Microsoft bashes Apple "convergence" at CES (networkworld.com)

jbrodkin writes: Microsoft may be far behind Apple in the consumer devices market with no clear plan for topping the iPad and iPhone, but that didn't stop Microsoft from criticizing Apple while previewing the next generation of Windows at CES. While Apple has made billions by putting several different types of devices in the hands of consumers, Microsoft's Windows division president said the proliferation of iPhones, iPads, iPods and MacBooks are giving users an annoying amount of pieces of hardware to carry. “That’s not particularly converged," the executive, Steven Sinofsky, said during an invitation-only press conference at CES, hours before Steve Ballmer was due to give his keynote. The next generation of Windows will run on a variety of touch-screen tablets, but Microsoft still hasn't explained how it will enable convergence across smartphones, PCs and tablets, especially as it offers two different operating systems with Windows and Windows Phone 7. When pressed on the "convergence" issue, Sinofsky admitted that he doesn't yet know how one single Microsoft device could replace four Apple devices. "Today is really a technology preview and I don’t want to start speculating about devices," he said.
Science

Submission + - Hari Seldon is starting to look less fictional (physorg.com) 2

jthill writes: "Psychohistory" is the basis for the eentirentire Foundation series. Hari Seldon is a university mathematician, develops models good enough to predict social developments the same way engineers can predict physical ones: given enough individuals, probabilistic aggregate behavior becomes all but completely predictable.

So now some mathematicians at Cornell have developed a probabilistic model that behaves like real social groups. Karate clubs. Republicans and Democrats. From the article:

They plugged in data on international relations prior to World War II and got almost perfect predictions on how the Axis and Allied alliances formed.


Submission + - Stuxnet was designed to subtly interfere with uran (wired.com)

ceswiedler writes: "Wired.com is reporting that the Stuxnet worm was apparently designed to subtly interfere with uranium enrichment by periodically speeding or slowing specific frequency converter drives spinning between 807Hz and 1210Hz. The goal was not to cause a major malfunction (which would be quickly noticed), but rather to degrade the quality of the enriched uranium to the point where much of it wouldn't be useful in atomic weapons. Statistics from 2009 show that the number of enriched centrifuges operational in Iran mysteriously declined from about 4,700 to about 3,900 at around the time the worm was spreading in Iran."

Slashdot Top Deals

An authority is a person who can tell you more about something than you really care to know.

Working...