Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Comment Re:Proof of concept demo (Score 1) 112

Argh, in C, comparisons against true (TRUE) or false (FALSE) are even worse style. Indeed, in C, defining TRUE == 1 is erroneous, because in C anything that is zero is false, anything that is non-zero is true. So in C, code such as

if (a == TRUE)

is a bug. Any non-zero value represents true, but this comparison only tests for a == 1.

Comparisons against FALSE are OK, but flawed logic. It is anyway a boolean, so why not just test directly?

if (a)

In C, you should *never* do a comparison against TRUE. If you really want to do a comparison against a boolean value (which is never necessary, but perhaps, in some cases, might be a useful form of documenting your intent), compare against FALSE. eg,

if (a == FALSE)

if (a != FALSE) // the proper way of comparing a == TRUE

Comment Re:Do greenhouses create their own heat? (Score 1) 502

I was going to reply, but logging on half-way through writing the reply caused the edit box to clear and I lost it. But nevermind, the comment from haruchai sums up what I was going to say anyway. Trying to store biomass doesn't work, it decomposes and releases the CO2 anyway. Trying to 'plug' it is basically impossible, it amounts to basically artificially reproducing the same effect that happens in the production of coal or oil. The natural rate of fossil fuel production, across the entire planet, is something like 1 barrel of oil per day. (yes that fits - the rate of oil usage currently about 20 million barrels per day; it formed over the course of 300 million years).

Comment Re: Who cares? (Score 2, Informative) 502

Ignoring all other points but just focusing on one: The 'corrections' in this data set are, at most, 0.06 degrees C. That is only a couple of pixels on the XKCD comic. Do you know what a pixel is? Hint: it is really small. If you looked at the original comic, and the 'corrected' comic, you wouldn't be able to tell the difference, unless you looked very very closely.

Comment They're not. (Score 2) 94

They're never going to fix this. It isn't just a matter of publishing source code, it affects the hardware too. It needs hardware protection on the flash, for example, so that you can control, at a hardware level (eg by a button on the device) whether the flash is writable.

But by now, all of the manufacturers are so infiltrated by other agencies, the NSA, foreign governments, and business interests (having the user in control of their own security directly contradicts the aims of DRM, not to mention marketing companies); this all conspires against ever having any security over your own firmware.

Build it yourself is probably the best bet. And the nice thing is that this is becoming more practical. The biggest problem is that there is no way to verify the hardware at the chip level, but with careful design it is possible to get reasonably good security without 100% trust in all of the individual components.

But for the overwhelming majority of people, who are not motivated or able to build their own, their tech is doomed to be compromised. I don't think there is anything that can be done about that. It is a political issue, rather than technical. And in all "democracies" that I can think of, the political will is against it.

Comment Re:Um what TF? (Score 1) 324

There is no doubt that *eventually* natural carbon sequestration will remove the excess carbon we are pumping into the atmosphere. The problem though is that the natural rate of fossil fuel formation is roughly 10 barrel of oil per day. The amount of oil we are burning is about 10 million barrels of oil per day. So yes, in a few million years it will all change back into oil, and the amount of CO2 will be back to where it is today. I'm glad that is a comfort to you, I'm sure your children will take comfort in it too.

And yes, the ocean pH has decreased by about 0.1 since pre-industrial times. That is becoming *more acidic*.

Slashdot Top Deals

Frankly, Scarlett, I don't have a fix. -- Rhett Buggler

Working...