Comment: Re:ZERO? (Score 1) 170
If you have Maple handy, this one-liner does the trick:
a
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:Bender rules! (Score 1) 608
Comment: Re:Impossible (Score 1) 637
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
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: NIMBY (Score 1) 200
At "about a fourth or less the capacity of full-size nuclear units", I'm sorry but it's still too large.
It just won't fit in my backyard, even if I try.
Comment: Re:Wouldn't a giant impact change its orbit? (Score 1) 257
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?
Disclaimer: I'm clueless about all this, I'm only asking questions.
Comment: Re:Compatibility or conversion (Score 1) 274
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: I Know Why (Score 1) 274
Comment: Re:Doomed (Score 1) 435
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:Does anyone know a good app.. (Score 1) 128
I just had this vision of a future where captchas are like:
"We need to verify that you are human. Please violate the Third Law Of Robotics."
Comment: Re:Any sufficiently advanced technology... (Score 1) 210
I like it better phrased the other way around.
Any technology distinguishable from magic isn't sufficiently advanced.
Comment: Re:except google (Score 1) 321
You are likely correct.
Oh no, that's the worst kind of correct!
Comment: Re:I'm surprised they're surprised. (Score 2) 209
Comment: Re:Its Not An Energy Problem, Transportation Fuels (Score 1) 835
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
Oh, Dungeon Keeper, how I loved that game.
Mod Parent +1 Nostalgic