typodupeerror

## Comment: Re:ZERO? (Score 1)170

by chocapix (#39994731) Attached to: Goldbach Conjecture: Closer To Solved?

If you have Maple handy, this one-liner does the trick:

a := whatever; b := 2; while not(isprime(a-b)) do b := nextprime(b) end do; a-b, b;

Of course the interesting part is the code for isprime(). You can start here if you want to know how it's done.

## Comment: Re:Impossible (Score 1)637

by chocapix (#39783035) Attached to: I believe humanity will first achieve ...

Let's define "the surface of the earth" by the first meter of atmosphere, and let's see by how much we could warm that much air.

Air has a heat capacity of .001297 J/cm^3/K, that is 1.3e3 J/m^3/K. (source)
Earth has an area of 510 million square kilometers, that is 5.1e14 m^2. (source)
Total nuclear arsenal is roughly 5 gigatons of TNT, that is 5 times 4.184e18 J or 2.6e19 J (source)
So, we could warm one meter of atmosphere by (2.6e19 / (1.3e3 * 5.1e14)) K or about 40 K.

Not enough to kill anything but the lamest creatures but to be honest, I expected much much less than that. Of course, that's assuming all the energy goes into heating a layer of air covering the globe, which isn't what would happen but still, 40 K over the whole world, holy shit.

## Comment: Re:Wouldn't a giant impact change its orbit? (Score 1)257

by chocapix (#39731897) Attached to: Was Earth a Migratory Planet?

Why the Giant Impactor Theory assumes a different isotope mix for the impactor?

From what I understand, they had to have rocks brought back from the Moon to actually measure their isotope mix, so my guess is that we don't accurately know the isotope mix of anything besides the Earth and the Moon. How do we know it isn't the same mix everywhere in the solar system?

## Comment: Re:Compatibility or conversion (Score 1)274

by chocapix (#39378999) Attached to: Why New Programming Languages Succeed Or Fail

What's wrong with "FooBar foo = null; try { foo = new FooBar(); foo.dosomething();} finally {if (foo != null) foo.freeResources(); foo = null;}"?

Verbosity. Equivalent C++ for that is "{ FooBar foo; foo.doSomething(); }"

Or even "Foobar().doSomething();" in this case.

## Comment: Re:Doomed (Score 1)435

by chocapix (#39273795) Attached to: New Programming Languages Come From Designers

I can do more work in one line of Python than you can do in 100 lines of C.

I think a few IOCCC winners would disagree with you on this.

## Comment: Re:Any sufficiently advanced technology... (Score 1)210

by chocapix (#38979239) Attached to: The Science Fiction Effect

I like it better phrased the other way around.

Any technology distinguishable from magic isn't sufficiently advanced.

## Comment: Re:Its Not An Energy Problem, Transportation Fuels (Score 1)835

by chocapix (#38158834) Attached to: The Myth of Renewable Energy

If you solve the energy problem (ie, you can produce eco-friendly electricity cheaply enough), you can make pretty much any hydrocarbons you want out of CO2, water and electricity. Efficiency won't be perfect (or even good), but if your electricity generation is eco-friendly and abundant enough that's not a problem.

Maybe batteries/capacitors/whatever will improve enough so that we won't need to do that but if they don't, it won't necessarily mean the end of cheap transportation.

## Comment: Re:Has anyone actually made any worthwhile with th (Score 1)187

by chocapix (#38146298) Attached to: <em>Doom 3</em> Source Released

Oh, Dungeon Keeper, how I loved that game.

Mod Parent +1 Nostalgic

It's time to boot, do your boot ROMs know where your disk controllers are?

Working...