|
Post by AnthroHeart on May 22, 2021 16:31:29 GMT
|
|
|
Post by Forester on May 22, 2021 20:33:31 GMT
How do you make it work, is there a guide that explains in detail how to do it?
|
|
|
Post by reden on May 22, 2021 20:56:46 GMT
How do you make it work, is there a guide that explains in detail how to do it? You get the Utility. Then you execute it, and type if you want the files to be compressed or not. If you are on Linux, it should work if you install p7zip (many desktop distros already have it). You will need MSYS to run the tool in windows for the moment. Afterwards you type how many files you want, and how many multiplications you want. Then you wait while it generates them. Finally it should be ready, and then it should generate something called NEST-FULLPOWER.ZIP or something like that. You then write INTENTIONS.TXT the Intentions you want. Afterwards, you run the .ZIP's file name on the Repeater. Do not open the zip! The nested structure is inside it. It will work regardless. If that sounds too complex, you can download 1000X1000.ZIP or 1000X10000.ZIP from here github.com/tsweet77/nesting-files-creation-utility . This is AnthroTeacher's github. Then run that file on the Repeater, of course also having written your intentions on INTENTIONS.TXT.
|
|
|
Post by AnthroHeart on May 22, 2021 22:19:08 GMT
You probably could make a wrapper that will get the 7z if they need it. I updated to v3.0. github.com/tsweet77/nesting-files-creation-utilityIt is TREMENDOUSLY faster now that I'm using buffering. I let you specify how many files to add to the zip at a time. Just play with it, and let me know how it goes.
|
|
|
Post by AnthroHeart on May 22, 2021 22:20:53 GMT
How do you make it work, is there a guide that explains in detail how to do it? You get the Utility. Then you execute it, and type if you want the files to be compressed or not. If you are on Linux, it should work if you install p7zip (many desktop distros already have it). You will need MSYS to run the tool in windows for the moment. Afterwards you type how many files you want, and how many multiplications you want. Then you wait while it generates them. Finally it should be ready, and then it should generate something called NEST-FULLPOWER.ZIP or something like that. You then write INTENTIONS.TXT the Intentions you want. Afterwards, you run the .ZIP's file name on the Repeater. Do not open the zip! The nested structure is inside it. It will work regardless. If that sounds too complex, you can download 1000X1000.ZIP or 1000X10000.ZIP from here github.com/tsweet77/nesting-files-creation-utility . This is AnthroTeacher's github. Then run that file on the Repeater, of course also having written your intentions on INTENTIONS.TXT. Yeah, they call it a zip bomb that will cripple your system if you try to open it. You could put a password on it too, if you don't want people opening it.
|
|
|
Post by AnthroHeart on May 22, 2021 22:23:08 GMT
There may be bugs. I am finding if I pick a really low number it sometimes hangs, so will look later after feedback comes in.
|
|
|
Post by reden on May 22, 2021 22:31:37 GMT
You probably could make a wrapper that will get the 7z if they need it. I updated to v3.0. github.com/tsweet77/nesting-files-creation-utilityIt is TREMENDOUSLY faster now that I'm using buffering. I let you specify how many files to add to the zip at a time. Just play with it, and let me know how it goes. You arrived right as my 10k files, 1 million repeats was finally compressed. 336 MB or something like that, from like 150-151 GB (seriously). I had to do it on an 1TB disk that had a long migrated Windows install.
|
|
|
Post by AnthroHeart on May 22, 2021 23:01:35 GMT
I am now using the Raspberry Pi imager instead of dd tool. I learned it has settings for making USB drive bootable, so I'm going to try it.
I'd like to see how fast my tool runs on USB 3.1 SSD.
|
|
|
Post by AnthroHeart on May 22, 2021 23:05:10 GMT
Hold on, I have to change the type from int to long long int, because int tops out at 65k.
|
|
|
Post by AnthroHeart on May 22, 2021 23:06:40 GMT
Hold on, I have to change the type from int to long long int, because int tops out at 65k. I had to reformat my SSD and SD Cards again, so it may be a bit. If you want, in the code for the utility, change int -> unsigned long long int That will hold a lot more.
|
|
|
Post by reden on May 22, 2021 23:20:17 GMT
Hold on, I have to change the type from int to long long int, because int tops out at 65k. I had to reformat my SSD and SD Cards again, so it may be a bit. If you want, in the code for the utility, change int -> unsigned long long int That will hold a lot more. I see.
|
|
|
Post by Forester on May 23, 2021 8:02:09 GMT
|
|
|
Post by AnthroHeart on May 23, 2021 11:37:44 GMT
The tool has been updated to v3.1.
I had to change the int variable to unsigned long long int because int can only go to 65k. Unsigned long long it is 32-bit number, so pretty big, like 4 billion files or something max.
Reden, I had to do a little more to the code, so use what I have recently posted. It should work great.
And please test for bugs.
Are you learning a lot from my code?
And what do you think about the performance of v3.1?
|
|
|
Post by reden on May 23, 2021 12:20:27 GMT
The tool has been updated to v3.1. I had to change the int variable to unsigned long long int because int can only go to 65k. Unsigned long long it is 32-bit number, so pretty big, like 4 billion files or something max. Reden, I had to do a little more to the code, so use what I have recently posted. It should work great. And please test for bugs. Are you learning a lot from my code? And what do you think about the performance of v3.1? Late last night I had performance observations. It was too slow still. Right now, I asked myself if a modified Repeater creating as many Nesting Files as you tell it to is faster. A thing to be tested. Truth be told I have not read the code in depth. Only skimmed through it. v3.0 has a bug, if you CTRL+C it, it does not shutdown. It says "break signaled" but continues. I had to CTRL+Z (suspend) the task, and then "kill <task number>" (it tells you which one it is). Edit: The slowness can be partially mitigated by leaving it to run overnight on a VPS or something.
|
|
|
Post by AnthroHeart on May 23, 2021 12:37:02 GMT
Yeah, I will work on being able to escape out of it later.
Use v3.1 as it's better.
I don't know what you mean by too slow. It's dang faster than it was.
I'm not sure what your standards are, but this is incredible I think.
|
|