Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror

Comment Hmm (Score 1) 534

I think the deniers don't like to admit (whether consciously or unconsciously) that GW/AGW is happening because the mitigation would be in conflict with their ideological or moral beliefs (turns out there is a correlation between opinion on GW and political beliefs). I wish they rather followed the example of George Carlin, who said fair and square that he doesn't care about humanity (anymore), rather than doubt the science.

If that was the case, perhaps we'd find out that people who don't care about the future of humanity are in a majority, and perhaps I shouldn't be concerned about the future of humanity in the first place. At least I'd feel better when reading discussions about climate on Slashdot.

Comment Re:Oh... (Score 4, Insightful) 129

A nice explanation, but I can't resist a nitpick: Typical jigsaw puzzles are in P, because for every pair of pieces you can decide whether they fit together or not without having to consider other pieces; therefore solving this amounts to traversing an unoriented graph. An NP jigsaw must have the possibility of multiple pieces fitting one piece in general.

Comment Depends on the level of flexibility you need (Score 1) 465

If you need to be very flexible, which is typically when you are doing research from scratch -- devising/changing your algorithms often, visualizing the data, etc., I'd suggest MATLAB. It allows you to program and evaluate stuff very quickly. If you are able to vectorize the problem you are solving, it is also very fast, since it uses highly optimized vector/matrix handling libraries.

Once you know what you want to do and how, you might want to implement your stuff in other languages, as MATLAB is cumbersome, if you for example need to process text or perform networking ... or actually do anything that cannot be vectorized. In such a case one choice would be Python, that has lots of libraries for everything.

As for C/C++ (or even Fortran :-o), I would avoid these unless you need to address a bottleneck that cannot be solved by use of an optimized library. And even in such case, I would only rewrite the bottleneck in it, nothing more, and interface with higher-level languages. Programming in C/C++ is literally a minefield for beginners. Updating/refactoring your code in C/C++ takes much more time than in higher programming languages, as you need to take care of many issues related to low-level programming (compared to Python or Java, even C++ is a low level language). Actually I'm surprised that so many people recommend it.

Slashdot Top Deals

A bug in the code is worth two in the documentation.

Working...