Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Note: You can take 10% off all Slashdot Deals with coupon code "slashdot10off." ×

Comment Re:The problem is that landfills are too cheap (Score 1) 371

This is the critical short-fall in over-emphasizing the individual right. It's not merely short-sightedness. Each individual can be perfectly rational in not doing the extra work to sort recycling, as there is almost no benefit to them to do so, and essentially no harm if they don't - in fact if recycling is charged for, then there is a loss for them to recycle. From that point of view, one would be foolish to recycle.
However, on a large scale, it's a benefit to each individual if everyone recycles, so it's again rational to vote for measures that force everyone to pay for recycling through taxes, and to fine people for not sorting recycling.

Comment Re:GOTO is a crutch for bad programmers (Score 4, Informative) 677

What would you propose as a better alternative to this idiom in a language that lacks exceptions:

void func() {
if (!AquireResource1()) goto end;
if (!AquireResource2()) goto cleanup1;
if (!AquireResource3()) goto cleanup2:

DoStuffWithResources();

Cleanup3();
cleanup2:
Cleanup2();
cleanup1:
Cleanup1();
end:
return;
}

Comment Re:Well that's a start... (Score 1) 163

I'd love to see an expert system that could take in some form of legal jargon, the details of a specific situation, and spit out an unambiguous application. Of course, then it could lead to all sorts of "hacking" the system. Imagine winning a court case because of an off-by-one error in a law, or a buffer overrun vulnerability in a contract that allowed for arbitrary code execution.

Comment Re:Exact mathematical value isn't the ideal (Score 2) 239

If you are doing any floating point calculations and assuming exact results, you're going to get yourself in trouble. The issue is that FSIN is less accurate than advertised, not that it's not 100% accurate.

Anyone who deals with floating point math very quickly learns about error accumulation and how to deal with it.

Comment Re:Costs (Score 4, Funny) 315

We'd obviously have to situate it off-world and use some sort of electromagnetic beam to send the generated energy to earth. Heck, given the amount of extra power generated, we could just send off the energy everywhere and there'd still be enough hitting the earth. We could then use devices here to convert that energy into electricity.

You are always doing something marginal when the boss drops by your desk.

Working...