Forgot your password?
typodupeerror

Comment Re:What about the presumption of innocence? (Score 1) 1590

Yup, you're right. In Saudi Arabia for example, you have to have your "Iqama" (a.k.a residence permit) with you at all times. Failure to do so is an offence which can see you locked up in a local jail overnight until you get someone to produce your papers.
If you want Arizona to be up there with K of SA, go right ahead.

Comment Re:Forget about proprietary eBook formats (Score 1) 170

I want an eBook device that can read the eBooks I already bought and own.

They are in PDF and some on CHM format.

If I am going to spend $300 or more for an eBook device I might as well buy a Netbook that can use PDF and CHM formats for the same price.

That is if you are happy to read on a back-lit LCD screen. This is the main advantage of these devices. I love my electronic ink reader. It's also got a Mobibook and PDF support, so I can read pretty much anything on it ...

Security

Submission + - FBI hit by virus

Norsefire writes: "The FBI and US Marshals were forced to shutdown part of their computer network after being hit by a "mystery virus". FBI spokesman, Mike Kortan, said "We are evaluating a network issue on our external, unclassified network that's affecting several government agencies". Nikki Credic, spokeswoman for the US Marshals, said that no data has been compromised but the type of virus and its origin is unknown."
Quickies

Submission + - From Voodoo to GeForce:Awesome History of 3D Cards (maximumpc.com)

Ant writes: "Maximum PC article (one print page) shares the past and current 3D video cards — "Try to imagine where 3D gaming would be today if not for the graphics processing unit, or GPU. Without it, you wouldn't be tredging through the jungles of Crysis in all its visual splendor, nor would you be fending off endless hordes of fast-moving zombies at high resolutions. For that to happen, it takes a highly specialized chip designed for parallel processing to pull off the kinds of games you see today, the same ones that wouldn't be possible on a CPU alone. Going forward, GPU makers will try to extend the reliance on videocards to also include physics processing, video encoding/decoding, and other tasks that where once handled by the CPU. It's pretty amazing when you think about how far graphics technology has come. To help you do that, we're going to take a look back at every major GPU release since the infancy of 3D graphics. Join us as we travel back in time and relive releases like 3dfx's Voodoo3 and S3's ViRGE lineup. This is one nostalgiac ride you don't want to miss! ..." Seen on Digg."

Comment Re Writing Unit Tests for Existing Code? (Score 1) 86

First of all, don't panic, you're not alone! I have done this a few times already. Here's my approach:
1. Identify "enduring business themes" in the code. This means basically a group of code that can be predictably tested by feeding certain input and expecting certain output. For example, you know that if you order two pens, a purchase order for two pens will come out the other end.
2. Once you establish a few of these scenarios you can write a few high-level unit tests. These will help you acertain whether or not this code works ok.
3. Once you have this, you're on your way to having test driven development in place. When any code changes have been done, quickly run your unit test to ensure results are still ok. If not, it means code change broke something (test driven quality assurance).
4. Now you can dig deeper and make more detailer fine grained unit tests.

Most times the best you'll be able to do is to lock in existing code base with a handful of solid high level unit tests and ensure that any new code is tested properly.

Slashdot Top Deals

All life evolves by the differential survival of replicating entities. -- Dawkins

Working...