Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment maybe writing directly to the device files? (Score 0) 578

I think you might want to read and write directly from or to /dev/sdX for the whole disk number X or to /dev/sdXi for the i-th partition on disk X. I'm not 100% shure though, what happens with boot sectors, boot loaders, partition tables and such...

of course this way you can only work with bytes instead of bits, but that's just a mathematical problem, you can solve this with some bit-shifting.

int base2[] = {128, 64, 32, 16, 8, 4, 2, 1};

bool getbit(FILE* device, int num) {
fseek(device, num/8, SEEK_SET);
return (fgetc(device) / base2[num%8]) % 2;
}

void setbit(FILE* device, int num, bool bit) {
fseek(device, num/8, SEEK_SET);
char tmp = fgetc(device);
fseek(device, num/8, SEEK_SET);

int basenm8 = base2[num % 8];
fputc(device, (((tmp/(2*basenm8))*2 + bit)*basenm8) + tmp%basenm8 );
}

or something like that...

Comment Re:Free anti-virus with Internet service purchase! (Score 1) 577

Hmm.

After I clean up the mess, I install Security Essentials, make Firefox default, and turn on automatic updates. I explain to the user about how to avoid infections in the first place, and address any questions or concerns they have.

And, well, that's it. They leave happy, and I never hear from them again unless the hardware breaks, because the software just keeps working.

How many AV packages should a system have installed, anyway?

Comment Re: no LEGAL privacy or property issue - YET (Score 1) 263

You've made some very well-structured legal arguments about the issue. Unfortunately all that does is show that you've completely missed the point I was trying to make. In some ethical systems, privacy includes protecting most "hidden" information - like what's in a person's DNA even if it is anonymous. And some people have a moral belief that the body is sacred and even "waste parts" deserve respect - so using them for scientific purposes or financial gain would be evil in the same way that hurting an innocent would be.

And that's the point - you aren't just claiming that you don't have a problem with this or that the legal system says it's OK, but that there are no privacy or property issues under any system at all, and then defending that idea using arguments that are only relevant in the one particular framework that you're used to. This is as myopic as a Christian believing in a single God, and being completely confounded as to how atheists and Hindus could possibly believe otherwise.

Comment Re:Does IE "security" sabotage Firefox download? (Score 1) 220

It's not an intentional pain in the ass because of the existence of Firefox -- IE on a server has almost always been a pain in the ass. It's a server, they harden the browser so you can't be doing stupid things on the Internet and end up compromising your server (although I think if this is really an issue, you shouldn't be administering a server in the first place).
Games

Submission + - DRM does it again - Gears Of War for PC (arstechnica.com)

carlmenezes writes: It seems that the DRM on Gears of War came with a built-in shut off date: the digital certificate for the game was only good until January 28, 2009. Now that the game fails to work unless you adjust your system's clock, what's Epic's response? "We're working on it."
Portables (Apple)

Apple Announces New MacBook, Pro, Air 774

Steve Jobs just got through announcing new MacBook lines in Cupertino. The MacBook, the Pro, and the Air all got revved. The old line of plastic-body MacBooks drops in price by $100, to $999. The new MacBooks have a metal body and multi-touch trackpad, just like the new Pros. The Pro features two NVidia graphics chips. Quoting Jobs: "With the 9400M, you get 5 hours of battery life, with the 9600M GT you get four hours of battery life. You choose." In summary: "We're building both [MacBook and Pro] in a whole new way. From a slab of aluminum to a notebook. New graphics. New trackpad, the best we've ever built. And LED-backlit displays that are far brighter, instant on, far more environmentally responsible." They are shipping today and should be in stores tomorrow. Oh, and one more thing: Steve's blood pressure is 110/70.
Graphics

Apple Admits Nvidia GPU Defect In Some MacBook Pros 89

bigwophh writes "The brouhaha over defective Nvidia mobile graphics chips keeps rolling along, even months after the initial headlines have faded. Despite Nvidia's promises that Apple's GeForce 8600M GT-based MacBook Pros had dodged the bullet and were immune from the defect, Apple now counters that it wasn't, in fact, so lucky. 'In July 2008, NVIDIA publicly acknowledged a higher than normal failure rate for some of their graphics processors due to a packaging defect. At that same time, Nvidia assured Apple that Mac computers with these graphics processors were not affected. However, after an Apple-led investigation, Apple has determined that some MacBook Pro computers with the NVIDIA GeForce 8600M GT graphics processor may be affected.' The units in question are the 15-inch and 17-inch MacBook Pro notebooks with Nvidia GeForce 8600M GT GPUs, built between May 2007 and September 2008."

Slashdot Top Deals

Real Users are afraid they'll break the machine -- but they're never afraid to break your face.

Working...