Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Comment Re:Its a Political Issue... (Score 1) 175

I'd define some standard 'real world' problems that can be run using open-source software, and simply take total accumulative runtime to solve them to be the score. For one benchmark, I'd suggest OpenFoam to run a Direct Eddy Simulation of turbulent flow around a bluff body. I'm sure others could come up with things in the field of cryptography, protein-folding, travelling salesmen, etc, etc.

Comment Re:End of Firefox? (Score 4, Informative) 477

Currently if Firefox comes across a html5 video using an unsupported codec, it already allows you to play the video in an external player or save the video. The problem is the HTML5 Javascript function canPlayType(); things like the Youtube trial detect that h264 isn't natively supported so the javascript never dynamically creates the VIDEO tag.

Downloaded the Firefox source and edit content/html/content/src/nsHTMLMediaElement.cpp.
Change the line

case CANPLAY_NO: aResult.AssignLiteral(""); break;

to

case CANPLAY_NO: aResult.AssignLiteral("probably"); break;

If you recompile the browser then join the youtube html5 beta, it will now try to serve you video via html5. At this stage the video is "protected" behind a transparent DIV so you can't right-click it. Use Firebug, or the following Greasemonkey script to delete the DIV.

// ==UserScript==
// @name youtube anti-div
// @namespace html5hackery
// @include http://.youtube./*
// ==/UserScript==

// video-blocker
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}

addGlobalStyle('#video-player .video-blocker { display:none;');

You now have a version of Firefox 'compatible' with Youtube's HTML5. Currently it doesn't work with Vimeo's HTML5 beta and I haven't bothered to find out why.

NASA

NASA's Kepler Telescope Launched Successfully 82

Iddo Genuth writes "At precisely 10:49 p.m. EST, NASA's 'Kepler' telescope was successfully kicked off into space, embarking on a mission that the agency says 'may fundamentally change humanity's view of itself.' The telescope will search the nearby region of our galaxy for the first time looking for Earth-size planets, which orbit stars at distances where temperatures permit liquid water to endure on their surface — a region often referred to as the 'habitable' zone."

Slashdot Top Deals

The hardest part of climbing the ladder of success is getting through the crowd at the bottom.

Working...