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

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×

Comment: So? (Score 1) 161

by bytesex (#49368827) Attached to: Europol Chief Warns About Computer Encryption

The cat is out of the bag. Crypto and its application is an academic subject now, with plenty of companies and open-source projects using the fruit of the work. That is to say, for another ten-fifteen years or so. Then, quantum will start taking it all apart. The amateurs will not have the resources to follow there.

Comment: Re:Normal women... (Score 1) 765

by bytesex (#49314833) Attached to: A Software Project Full of "Male Anatomy" Jokes Causes Controversy

This is not about a workplace situation. This is a about doing volunteer work. You know, the environment that requires a little begging from the person who initiates it. Something about making sure you're not excluding somebody who might otherwise turn in great work. Because you're not *paying* them, you're kindly asking them if they want to do something for you in their spare time.

Comment: Re:why? (Score 1) 677

by bytesex (#49042557) Attached to: Empirical Study On How C Devs Use Goto In Practice Says "Not Harmful"

I use a standard for coding in C that *requires* the use of goto. It goes like this:

#define CHECK(fnc) { int __r = (fnc); if (__r) goto CLEANUP; }

Then define each function to have a CLEANUP: label, and surround the call of every function from within this function by CHECK(). The CLEANUP label usually has a return 0; just before it, and in most cases a return nonzero; after it. Gives you clean code that always eats up the stack in case of error.

Don't tell me how hard you work. Tell me how much you get done. -- James J. Ling

Working...