Originally posted by: amdfanboy
?
TIA
Originally posted by: silverpig
Open a new text file, type some random characters. Doesn't have to be much.
ctrl a
ctrl c
arrow
ctrl v
ctrl a
ctrl c
arrow
ctrl v
do this 20 times and you're done.
Just did this myself. Took me all of 20 seconds to make a 5 MB file.
Originally posted by: amdfanboy
Originally posted by: silverpig
Open a new text file, type some random characters. Doesn't have to be much.
ctrl a
ctrl c
arrow
ctrl v
ctrl a
ctrl c
arrow
ctrl v
do this 20 times and you're done.
Just did this myself. Took me all of 20 seconds to make a 5 MB file.
Windows clipboard crashes at ~ 10MB
Originally posted by: silverpig
Originally posted by: amdfanboy
Originally posted by: silverpig
Open a new text file, type some random characters. Doesn't have to be much.
ctrl a
ctrl c
arrow
ctrl v
ctrl a
ctrl c
arrow
ctrl v
do this 20 times and you're done.
Just did this myself. Took me all of 20 seconds to make a 5 MB file.
Windows clipboard crashes at ~ 10MB
5 MB isn't big enough?
Originally posted by: notfred
open TEXT, ">bigfile.txt";
$size = 5; # Size in megabytes.
$size *= (1024 * 1024);
for ($ii = 0; $ii < $size; $ii++) {
$char = int ( rand (127) );
if ( $char < 10 || $char == 11 || $char == 12 || ( $char >13 && $char < 32 ) ){
$ii--;
}
else {
$char = chr( $char );
print TEXT $char;
}
}
close TEXT;
Originally posted by: amdfanboy
Originally posted by: silverpig
Originally posted by: amdfanboy
Originally posted by: silverpig
Open a new text file, type some random characters. Doesn't have to be much.
ctrl a
ctrl c
arrow
ctrl v
ctrl a
ctrl c
arrow
ctrl v
do this 20 times and you're done.
Just did this myself. Took me all of 20 seconds to make a 5 MB file.
Windows clipboard crashes at ~ 10MB
5 MB isn't big enough?
No, I am looking for things to compress.
Originally posted by: Chu
Originally posted by: amdfanboy
Originally posted by: silverpig
Originally posted by: amdfanboy
Originally posted by: silverpig
Open a new text file, type some random characters. Doesn't have to be much.
ctrl a
ctrl c
arrow
ctrl v
ctrl a
ctrl c
arrow
ctrl v
do this 20 times and you're done.
Just did this myself. Took me all of 20 seconds to make a 5 MB file.
Windows clipboard crashes at ~ 10MB
5 MB isn't big enough?
No, I am looking for things to compress.
. . . ok, some question here (I study information theory btw). What exactly are you trying to do? Most of the methods here will either have very very low or very very high enthropy which will throw your results waaaaay off if your trying to do anything statistical . . . yet your specifically asking for text. Why?
-Chu
Originally posted by: amdfanboy
Originally posted by: Chu
Originally posted by: amdfanboy
Originally posted by: silverpig
Originally posted by: amdfanboy
Originally posted by: silverpig
Open a new text file, type some random characters. Doesn't have to be much.
ctrl a
ctrl c
arrow
ctrl v
ctrl a
ctrl c
arrow
ctrl v
do this 20 times and you're done.
Just did this myself. Took me all of 20 seconds to make a 5 MB file.
Windows clipboard crashes at ~ 10MB
5 MB isn't big enough?
No, I am looking for things to compress.
. . . ok, some question here (I study information theory btw). What exactly are you trying to do? Most of the methods here will either have very very low or very very high enthropy which will throw your results waaaaay off if your trying to do anything statistical . . . yet your specifically asking for text. Why?
-Chu
Trying to find the sweet spot with a buffer when GZIP-ing a file.