Wednesday, March 27, 2013

How would I randomize a VERY LARGE text file?

Q. As the title suggest, I'm looking to randomize a massive text file, in the upwards of 3gb. This goes beyond the processing power of programs such as Notepad++ and also TextPipe Pro. I work with very large lists like this often and have yet to find a solution. Does anyone have suggestions?

A. Not sure what you mean by randomize.
In Linux in Perl etc. you could just allocate a good chunk of swap memory and let it chug away. I
had a LaTeX2HTML process years ago that ran fine in more memory than I had RAM.

Heck, 3Gb isn't that much RAM nowadays so you don't even need that. If you wanted to randomize 3Tb it might take a bit more thought.

If it's something you do often, then maybe it's worth spending a bit of time on. Better algorithms beat faster computers hands-down. We get so lazy nowadays - just buy a new computer instead of tuning programs and doing digital liposuction (removing the fat).

Linux users if I use a CD that came with a book to install linux and it is missing programs?
Q. Like let's say movie player, or music player, or simple things like calculator, or some sort of notepad. Where can I download them that will work with linux?

A. Linux will generally have a program like Software Center or Synaptic to install the files from their repositories. You open this and type in a search for what you may not have, check the file and click apply and it will install the software for you. There isn't any reason to be doing terminal commands unless it is a file that is not in the repository and to install from the terminal, you must be logged in as root, not user. Most versions of Linux disable the root account to prevent people from messing the operating system up. Some of what you have mentioned are part of the install for the desktop environment being used and don't need to be installed by the user. You can always download a Linux LiveCD and run it in memory to see if it is what you want to install.

How to remove an OS from a multiboot?
Q. For a while now I've been running Windows 7 in a multiboot with Vista and Linux Mint. I'd like to get rid of Vista while keeping a Mint/Win7 dual boot. Is there a way to do this?

A. Depends on which OS is controlling the boot menu. If it is Windows, you will find a text file in the root of your computer called boot.ini. Open it in notepad and you will see the menu options. Remove the line for Vista and resave the file. (Back up the old first just in case...)

I do not know if Win 7 as the option, but with early versions of Windows you can edit the boot.ini using msconfig. Start > Run > type in: msconfig

Go to the boot.ini tab

Run the "check all paths" and it will update the boot.ini to reflect the current configuration of your computer.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment