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

 



Forgot your password?
typodupeerror
×
Programming

An Open Source Compiler From CUDA To X86-Multicore 71

Gregory Diamos writes "An open source project, Ocelot, has recently released a just-in-time compiler for CUDA, allowing the same programs to be run on NVIDIA GPUs or x86 CPUs and providing an alternative to OpenCL. A description of the compiler was recently posted on the NVIDIA forums. The compiler works by translating GPU instructions to LLVM and then generating native code for any LLVM target. It has been validated against over 100 CUDA applications. All of the code is available under the New BSD license."
Image

Zombie Pigs First, Hibernating Soldiers Next 193

ColdWetDog writes "Wired is running a story on DARPA's effort to stave off battlefield casualties by turning injured soldiers into zombies by injecting them with a cocktail of one chemical or another (details to be announced). From the article, 'Dr. Fossum predicts that each soldier will carry a syringe into combat zones or remote areas, and medic teams will be equipped with several. A single injection will minimize metabolic needs, de-animating injured troops by shutting down brain and heart function. Once treatment can be carried out, they'll be "re-animated" and — hopefully — as good as new.' If it doesn't pan out we can at least get zombie bacon and spam."

Comment Re:Best not one system... LORAN, Fuller, Cold War (Score 1) 210

using static ground stations like LORAN,

Reminds me of something I've not yet found the answer to: Why don't we have ground-based GPS transmitters in addition to the satellites? - wouldn't this give improved reliabilty / accuracy / easier-maintenance in places where you need it (ie. near ports) with standard GPS receiver equipment (rather than needing extra equipment like for differential-GPS)

Comment Re:I laugh ... (Score 1) 163

This is the RSA algorithm. It hasn't been broken in the last 30 years by the smartest people. Either that, or the govt.(NSA) knows how to break it and is keeping it under wraps.

The algorithm in mark-t's post is not the one described on http://en.wikipedia.org/wiki/RSA : I read it as a varient that (using the wikipedia page's notation) is making {p,q} public instead of {n,e}, with a corresponding adjustment to the messages that need to be exchanged.

this relies on the discrete logarithm of (d6=d5^Ys mod C) being difficult to solve from step-6 (with d6,d5 and C being known to an eavesdropper : Ys being what you need to figure out to break the encryption) - compared to the wikipedia articles RSA algorithm that more directly relies on factorising n being the difficult step.

Comment Re:I laugh ... (Score 2, Insightful) 163

3.The source and destination then compute Ys and Yd, respectively, such that their own X*Y is congruent to 1 mod (A*B). They do not share this information.

Should that be 1 mod ((A-1)*(B-1))?

I'm not that convinced that relying on the discrete logarithm problem (at the cost of 4x as much network communication) rather than directly on the factoring problem (like more commonly discussed PK based systems) has any additional security : aren't the 2 problems of identical complexity?

Spam

Opting Out Increases Spam? 481

J. L. Tympanum writes "I used to ignore spam but recently I have been using the opt-out feature. Now I get more spam than ever, especially of the Nigerian scam (and related) types. The latter has gone from almost none to several a day. Was I a fool for opting out? Is my email address being harvested when I opt out? Has anybody had similar experience?"

Comment Misplacing blame on google (Score 5, Insightful) 232

From both the article and the summary re:

The cause appears to be a known issue with the Google search engine, in which the pages of defunct web sites containing sensitive directories remain cached and available to anyone

This makes it sound like the issue is with google's search engine and makes light of the real issue which is that at some point this information was published for all the world to see (or search engines to index) and anyone to cache (or write-down, or memorize).

Insisting on search engines removing removing this information from their indexes and remove it from their caches is just sweeping the problem under the rug : you or I taking a quick peek on the internet to see if our credit-card infomation has been published anywhere would get a false sense of security if the search engines pretended it wasn't there and that security breaches had never happened.

*tin-foil-hat-time* It seems analogous to re-writing history books to cover up prior misdeeds.

Comment Also thwarted by changes in symbol frequencies (Score 4, Informative) 663

Its very difficult to compare as in typing speed measurements one will either be limited to different people as well as different keyboard layouts, or at least different amounts of exposure to each layout. And what about some control cases of randomly generated layouts or alphabetical layouts?

An interesting hypothesis to test would be that any keyboard layout might have similar typing speeds (say give a factor of 2 or so) once a user has enough experience with it - for things that can be typed with single key presses.

I _do_ have some personal experience with the (standard 2-hand) dvorak keyboard layout which anyone can try by selecting that layout in their OS's keyboard settings (irrespective of their physical keyboard), a side effect of this is that you will be forced to learn to touch-type as obviously the letters written on your standard keyboard will have no relation to what comes out on the screen any more!

Speaking entirely qualitatively - it was suprising how easy it was to learn, and a few times since I abandoned it I've gone back and found that it can be picked up again within an hour or two once learnt (just like riding a bike?). And as a few other posters have already mentioned (for typing normal English) it feels more comfortable as less finger movement is required on average.

However (and this is the reason I've abandoned using it) - the dvorak layout is inappropriate for most uses apart from simply typing English - such as computer programming, working with spreadsheets, linux command line usage etc.

This is because by arranging the characters by their frequency in standard english, many non-alphanumeric characters which are rarely used in standard english but now very frequently used for other tasks on a computer are placed in very awkard positions requiring you to type with the little finger (or even worse, shift + little-finger). Here are some examples
':' - used a lot in C++, is where shift-'z' is on qwerty.
'{' and '}' - are shift-'-' and shift-'=' on qwerty.
'\'' and '"' - are q and shift-'q' on qwerty.

Power

Submission + - Parking permit costs to depend on CO2 emmissions?

Confuse Ed writes: "Should the cost of a residents' parking permit depend on how much the car pollutes? Yes/No" — this is the question that the London borough of Islington is asking in a referendum to all of its residents.
Some of the issues are covered in The Dilemma Explained — which for myself comes mainly down to having to vote 'YES' to help tackle pollution and climate change etc. (one simply can't vote against the environment) — but also having to vote 'NO' for reasons including (1) it probably won't have much positive effect but could falsly give us (and politicians) the impression that we've done our bit for the environment and (2) vehicle pollution is already directly charged via tax on fuel.(and while we're at it why not charge extra for long vehicles and noisy engines for residential parking)
What are the Slashdot reader's views?

Slashdot Top Deals

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

Working...