CP files scanned for virusses?
-
Fill me in! What'll be the subject of your article? "Fun stuff with sparse files and streams"?
Good idea, but I was more thinking along the lines of documenting the development process of the little DirectX game I'm working on X| once I get my head around the matrices, that is X| I doubt I'll find a use for terabyte sparse files in my game, but it would be a nifty anti-piracy measure :-D -- Help me! I'm turning into a grapefruit!
-
There are a few silly apps I've played with in the past (neither created by me though) that could create vast confision / damage if released in the wild. The first creates a text file that contains a gigabyte of "."s. This can be zipped down to a few hundred K (zip seems to be a bit ineficient in this respect) Now email this file to someone, and watch as their company mail server falls over when it tries to virus scan the mail The second involves the sparse file option that was added in Win2K (For those who don't know, it means you can mark big areas of zeros in files as just emptyness, so they won't take up disk space). Using this technique, it's easy to create terrabyte files that only consume a single sector of disk space. Hide a few of these on someone's harddrive and watch in amusement the next time they check the size of the folder. -- Help me! I'm turning into a grapefruit!
Never even heard of that :-)
"When a friend hurts us, we should write it down in the sand, where the winds of forgiveness get in charge of erasing it away, and when something great happens, we should engrave it in the stone of the memory of the heart, where no wind can erase it" Nish on life [methinks]
-
Especially with the submission wizard, and some of the dodgy and pointless articles that have been submitted in the past. Although those were just blank "zzzzzzzzzzz" articles - any article that doesn't look that good or have a screenshot, I rarely bother with, so it's doubtfull if people would write a good article just to get a virus put on your pc. Cheers, Peter Pearson
OK, I hate to sound ignorant, but what is all this "CPian" stuff?
-
Good idea, but I was more thinking along the lines of documenting the development process of the little DirectX game I'm working on X| once I get my head around the matrices, that is X| I doubt I'll find a use for terabyte sparse files in my game, but it would be a nifty anti-piracy measure :-D -- Help me! I'm turning into a grapefruit!
Jan larsen , handed to me this 2 cool sites about 3D , perhaps this could help you out ? http://chortle.ccsu.ctstateu.edu/vectorLessons/vectorIndex.html and http://members.tripod.com/gamecode/tut/ Cheers, Joao Vaz A person who is nice to you, but rude to the waiter, is not a nice person - Natalie Portman (Padme/Amidala of Star Wars)
-
OK, I hate to sound ignorant, but what is all this "CPian" stuff?
Selevercin wrote: I hate to sound ignorant, but what is all this "CPian" stuff? Example: People from America = American CP = Code Project People from Code Project Land = CPian :) :) :) :) :) ;P ;P ;P ;P ;P
-
Good idea, but I was more thinking along the lines of documenting the development process of the little DirectX game I'm working on X| once I get my head around the matrices, that is X| I doubt I'll find a use for terabyte sparse files in my game, but it would be a nifty anti-piracy measure :-D -- Help me! I'm turning into a grapefruit!
Terabyte sparse file?!?:confused: Is that just a file that has a bunch of 0's? How does that act as an "anti-piracy measure". ~Selevercin
-
Terabyte sparse file?!?:confused: Is that just a file that has a bunch of 0's? How does that act as an "anti-piracy measure". ~Selevercin
A terabyte is 1024 gigabytes (or 1000 if you're a hdd manufacturer) In a sparse file, basically instead of having a file that contains 1,099,511,627,776 0's it just has a description that says "1,099,511,627,776 0s follow" (which obviously takes up less space than the actual 0s would) Therefore your data could be scattered through a file that looks to the OS to be a terabyte in size, but actually just contains huge areas of emptyness. These huge files confuse a lot of programs, so it makes them tricky to copy -- Help me! I'm turning into a grapefruit!
-
A terabyte is 1024 gigabytes (or 1000 if you're a hdd manufacturer) In a sparse file, basically instead of having a file that contains 1,099,511,627,776 0's it just has a description that says "1,099,511,627,776 0s follow" (which obviously takes up less space than the actual 0s would) Therefore your data could be scattered through a file that looks to the OS to be a terabyte in size, but actually just contains huge areas of emptyness. These huge files confuse a lot of programs, so it makes them tricky to copy -- Help me! I'm turning into a grapefruit!
benjymous wrote: it just has a description that says "1,099,511,627,776 0s follow" Perhaps I'm not getting this right. The program tells the OS how big of a file it is?
-
benjymous wrote: it just has a description that says "1,099,511,627,776 0s follow" Perhaps I'm not getting this right. The program tells the OS how big of a file it is?
No. the OS knows that the file contains a terrabyte of data, but it also knows that basically it doesn't need to store all the blank areas, so they don't take up disk space -- Help me! I'm turning into a grapefruit!
-
No. the OS knows that the file contains a terrabyte of data, but it also knows that basically it doesn't need to store all the blank areas, so they don't take up disk space -- Help me! I'm turning into a grapefruit!
Oh, That's pretty neat. I was under the impression that my computer was a moron... but apparently it has some brains[good code]. Thanks, ~ Selevercin