Computing desk | ||
---|---|---|
< March 14 | << Feb | March | Apr >> | March 16 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
Sorry for the double-posting, but this problem most certainly wasn't planned. I cannot access my administrator account on Windows XP. It has no password, but whenever I try to log on, all I get is "Loading personal settings..." and it stays that way forever. I have a backup admin account, but I was dumb enough to put a password on it, and even dumber to not remember where I put the password that I wrote down. So now I cannot log on to Windows as an admin, only my limited account (which I am typing this from) is still accessible. I don't have an OS installation disk, so reinstalling Windows is not a possibility for me. What are my options? 24.189.90.68 ( talk) 05:40, 15 March 2010 (UTC)
No worries, Ctrl+Alt+Delete saved me, thanks! 24.189.90.68 ( talk) 10:00, 15 March 2010 (UTC)
I am currently using a normal hard drive. If I buy a new SSD, can I just clone the hard drive to the SSD or do I have to reinstall the OS? 121.72.169.25 ( talk) 10:25, 15 March 2010 (UTC)
Does Moore's Law applies to SSDs? Should I expect SSDs halve in price or double in capacity next year? 121.72.169.25 ( talk) 10:25, 15 March 2010 (UTC)
Moore's Law is based on the idea that transistor density doubles every 18 months or so. It's an approximation, as of course companies and people within them have control over how quickly this actually happens. The cost of an SSD drive should half 18 - 24 months due to the ability to cram twice as many transistors on to the same amount of resource (wafer).
Don't confuse capacity with density. Capacity can be changed just by adding more drives or flash chips. The idea of Moore's law is that we can double the amount of transistors that we can get in the same physical area, not that we can make faster processors (or larger storage) by using more transistors. —Preceding unsigned comment added by 194.200.65.239 ( talk) 14:06, 15 March 2010 (UTC)
How to connect two wi fi devices, one compoter and other a robot so that afrer connecting the two the robot could be run using the computer? —Preceding unsigned comment added by Aishranj ( talk • contribs) 11:37, 15 March 2010 (UTC)
I am currently in the process of submitting an abstract to a conference for a computer science project I worked on during last summer. The conference site says, "Promissory abstracts are discouraged." What are "promissory abstracts"?
70.29.24.251 ( talk) 14:55, 15 March 2010 (UTC)
I have over a hundred text files in a folder. They are all identical except for a small amount of text part-way through them. This text can be identified by text-strings before it and after it. Is there any easy to use (ie has a GUI) free software that would do this please? Or failing that, something without a GUI. I'm using Windows XP. Thanks 89.242.243.82 ( talk) 15:57, 15 March 2010 (UTC)
grep
isn't a great choice if you're trying to extract a multiple-line block of text. awk
or perl
would be easier. --
Coneslayer (
talk) 18:56, 15 March 2010 (UTC)dir /b > wrk_1.txt
There is a large amount of text to discard - its about 360kb worth per file, so I fear that method would overload things and not work. I have three different folders of material and the biggest is two or three hundred files.
The format of each file is something like this: (Lots of stuff I want to discard - same or nearly the same in every file), (A few lines I want to keep, length varies from file to file), (Lots of stuff I want to discard - same or nearly the same in every file). 89.242.243.82 ( talk) 20:55, 15 March 2010 (UTC)
The lines of text I'm interested in can always be identified by some text before and (different) text after. So ideally I'd like to be able to tell something to save everything between the text strings "abcde" and "uvxyz" and discard the rest. Another possibility would be to do it in more than one pass: 1) chop off and discard everything in the file up to and including the text string "abcde". 2) chop off and discard everything after and including the text string "uvwxyz". I have been looking for freeware that can do this - have not found anything yet. Thanks 89.242.243.82 ( talk) 22:31, 15 March 2010 (UTC)
grep [First-identifier] *.* > wrk_1.txt
grep [Second-identifier] wrk_1.txt > wrk_2.txt
Wouldnt this just create one huge file called wrk_1.txt? Then the second command would not work. Looking at the grep article suggests that this will only work for individual lines, but the files are very large documents and have many different lines. 92.24.26.120 ( talk) 23:45, 15 March 2010 (UTC)
SqlConnection connection;
SqlCommand command;
connection = new SqlConnection("Data Source=your data source, etc.");
command.CommandText = "INSERT, etc.";
connection.Open();
command.ExecuteNonQuery();
connection.Close();
I have found some freeware which may be able to do what I want: Text Magician, Piececopy, PowerUtils1.9, and DJuggler. Its a pity that there is no version of grep etc that can work with paragraphs, not just lines. 92.24.26.120 ( talk) 01:46, 16 March 2010 (UTC)
Thanks, but I'm not a programmer so you'd need to explain that a lot more for me to be able to use it. 78.147.248.108 ( talk) 16:25, 16 March 2010 (UTC)
Hopefully OP has not given up hope! No need to overcomplicate with regex, SQL databases, Cygwin or perl. The following code works with AutoIt, freeware scripting software that I use to automate everyday tasks. All you'd need to run the code would be to install AutoIt and save this code as a text file with the .au3 extension.
#Include <File.au3> Local $array $folder = FileSelectFolder("Select folder with your text files", "") $keepline = InputBox("Starting text", "What is your starting text? (case sensitive)") $lastline = InputBox("Ending text", "What is your ending text? (case sensitive)") $file_name = _FileListToArray($folder, "*.txt", 1) For $x = 1 to $file_name[0] $textfile = $folder & "\" & $file_name[$x] _FileReadToArray($textfile, $array) For $y = 1 to $array[0] If StringInStr($array[$y], $keepline, 1) Then While Not StringInStr($array[$y], $lastline, 1) $y += 1 WEnd Do $y += 1 $array[$y] = Chr(0) Until $y = $array[0] Else $array[$y] = Chr(0) EndIf Next _FileWriteFromArray($textfile, $array, 1) Next
A simple explanation of what the code does: It will open a prompt for you to select a folder. It will then ask you for the text strings marking the start and end of the block you want to preserve. It will then go through every .txt file in the folder you selected, removing anything before and after the sections you've specified. It's quite fast, but only tested by me, so please back up the text files before trying this out just in case :) I know you don't have programming experience, but it really is as simple as installing Autoit and running this code. You can compile this with Autoit into an .exe if you like. Please let me know if you have any questions. Coreycubed ( talk) 16:23, 18 March 2010 (UTC)
Thank you. I tried the script, but got an error message:
"Line 8 (File "C:\.....yourscript.au3"):
For $x=1 to $file_name[0]
For $x=1 to $file_name^ERROR
Error:Subscript used with non-Array variable."
What can be done to fix this please? 78.147.148.36 ( talk) 17:16, 20 March 2010 (UTC)
I don't know if I did something wrong on the keyboard, but here's what happened.
I was using inbox.com email, which has one specific purpose for me.
I wasn't getting a satisfactory repsonse to a question I asked them about copy and paste when the email is not plain text, so I tried again. While I was doing that, I typed "the" in the place for the URL and ended up with a list of possible sites to go to just below the line for the URL. I couldn't finish typing the address. Also, the cursor just disappeared, except it was a rotating circle in the area where the possible choices of URLs were.
Not knowing what else to do, I turned off the computer. This took a while. My computer (described here if you scroll down below the description of a similar problem) shuts down before actually turning off. When I turned it back on (after the Windows update and the "configuring updates message" that surprised me since I had asked to postpone the automatic shutdown), I was given two choices because Windows had shut down unexpectedly. I chose to open the tabs from before--this included a help screen and a feedback screen where I had informed inbox.com they were not helpful at all, and I was using the box as a notepad to copy from the URL that started with "the" so as to avoid the problems when it's not plain text.
The screen that came up with the original email asked me to sign in. When I did the screen just went blank and I had the rotating cursor again. I don't even think I was able to go to the other two screens. I had to turn the computer off, and when I turned it on again, I chose not to reopen tabs, but started over instead. All was well. Vchimpanzee · talk · contributions · 22:01, 15 March 2010 (UTC)
Is 98kb/s an acceptable quality level for most music? —Preceding unsigned comment added by 76.123.154.78 ( talk) 23:09, 15 March 2010 (UTC)
In the last few hours my Windows 7 computer has begun having problems with sound playback. The problem is that when I play a music file for example it plays fine until I start to do anything else like browse the net or open a folder or basically anything which uses some cpu then the sound becomes all distorted and skippy while I do stuff, but if I leave the computer complexly alone except for music it works fine. As I said, this problem only started in the last hour or so. Any ideas what's causing it, and how to fix? —Preceding unsigned comment added by 76.123.154.78 ( talk) 23:09, 15 March 2010 (UTC)
Computing desk | ||
---|---|---|
< March 14 | << Feb | March | Apr >> | March 16 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
Sorry for the double-posting, but this problem most certainly wasn't planned. I cannot access my administrator account on Windows XP. It has no password, but whenever I try to log on, all I get is "Loading personal settings..." and it stays that way forever. I have a backup admin account, but I was dumb enough to put a password on it, and even dumber to not remember where I put the password that I wrote down. So now I cannot log on to Windows as an admin, only my limited account (which I am typing this from) is still accessible. I don't have an OS installation disk, so reinstalling Windows is not a possibility for me. What are my options? 24.189.90.68 ( talk) 05:40, 15 March 2010 (UTC)
No worries, Ctrl+Alt+Delete saved me, thanks! 24.189.90.68 ( talk) 10:00, 15 March 2010 (UTC)
I am currently using a normal hard drive. If I buy a new SSD, can I just clone the hard drive to the SSD or do I have to reinstall the OS? 121.72.169.25 ( talk) 10:25, 15 March 2010 (UTC)
Does Moore's Law applies to SSDs? Should I expect SSDs halve in price or double in capacity next year? 121.72.169.25 ( talk) 10:25, 15 March 2010 (UTC)
Moore's Law is based on the idea that transistor density doubles every 18 months or so. It's an approximation, as of course companies and people within them have control over how quickly this actually happens. The cost of an SSD drive should half 18 - 24 months due to the ability to cram twice as many transistors on to the same amount of resource (wafer).
Don't confuse capacity with density. Capacity can be changed just by adding more drives or flash chips. The idea of Moore's law is that we can double the amount of transistors that we can get in the same physical area, not that we can make faster processors (or larger storage) by using more transistors. —Preceding unsigned comment added by 194.200.65.239 ( talk) 14:06, 15 March 2010 (UTC)
How to connect two wi fi devices, one compoter and other a robot so that afrer connecting the two the robot could be run using the computer? —Preceding unsigned comment added by Aishranj ( talk • contribs) 11:37, 15 March 2010 (UTC)
I am currently in the process of submitting an abstract to a conference for a computer science project I worked on during last summer. The conference site says, "Promissory abstracts are discouraged." What are "promissory abstracts"?
70.29.24.251 ( talk) 14:55, 15 March 2010 (UTC)
I have over a hundred text files in a folder. They are all identical except for a small amount of text part-way through them. This text can be identified by text-strings before it and after it. Is there any easy to use (ie has a GUI) free software that would do this please? Or failing that, something without a GUI. I'm using Windows XP. Thanks 89.242.243.82 ( talk) 15:57, 15 March 2010 (UTC)
grep
isn't a great choice if you're trying to extract a multiple-line block of text. awk
or perl
would be easier. --
Coneslayer (
talk) 18:56, 15 March 2010 (UTC)dir /b > wrk_1.txt
There is a large amount of text to discard - its about 360kb worth per file, so I fear that method would overload things and not work. I have three different folders of material and the biggest is two or three hundred files.
The format of each file is something like this: (Lots of stuff I want to discard - same or nearly the same in every file), (A few lines I want to keep, length varies from file to file), (Lots of stuff I want to discard - same or nearly the same in every file). 89.242.243.82 ( talk) 20:55, 15 March 2010 (UTC)
The lines of text I'm interested in can always be identified by some text before and (different) text after. So ideally I'd like to be able to tell something to save everything between the text strings "abcde" and "uvxyz" and discard the rest. Another possibility would be to do it in more than one pass: 1) chop off and discard everything in the file up to and including the text string "abcde". 2) chop off and discard everything after and including the text string "uvwxyz". I have been looking for freeware that can do this - have not found anything yet. Thanks 89.242.243.82 ( talk) 22:31, 15 March 2010 (UTC)
grep [First-identifier] *.* > wrk_1.txt
grep [Second-identifier] wrk_1.txt > wrk_2.txt
Wouldnt this just create one huge file called wrk_1.txt? Then the second command would not work. Looking at the grep article suggests that this will only work for individual lines, but the files are very large documents and have many different lines. 92.24.26.120 ( talk) 23:45, 15 March 2010 (UTC)
SqlConnection connection;
SqlCommand command;
connection = new SqlConnection("Data Source=your data source, etc.");
command.CommandText = "INSERT, etc.";
connection.Open();
command.ExecuteNonQuery();
connection.Close();
I have found some freeware which may be able to do what I want: Text Magician, Piececopy, PowerUtils1.9, and DJuggler. Its a pity that there is no version of grep etc that can work with paragraphs, not just lines. 92.24.26.120 ( talk) 01:46, 16 March 2010 (UTC)
Thanks, but I'm not a programmer so you'd need to explain that a lot more for me to be able to use it. 78.147.248.108 ( talk) 16:25, 16 March 2010 (UTC)
Hopefully OP has not given up hope! No need to overcomplicate with regex, SQL databases, Cygwin or perl. The following code works with AutoIt, freeware scripting software that I use to automate everyday tasks. All you'd need to run the code would be to install AutoIt and save this code as a text file with the .au3 extension.
#Include <File.au3> Local $array $folder = FileSelectFolder("Select folder with your text files", "") $keepline = InputBox("Starting text", "What is your starting text? (case sensitive)") $lastline = InputBox("Ending text", "What is your ending text? (case sensitive)") $file_name = _FileListToArray($folder, "*.txt", 1) For $x = 1 to $file_name[0] $textfile = $folder & "\" & $file_name[$x] _FileReadToArray($textfile, $array) For $y = 1 to $array[0] If StringInStr($array[$y], $keepline, 1) Then While Not StringInStr($array[$y], $lastline, 1) $y += 1 WEnd Do $y += 1 $array[$y] = Chr(0) Until $y = $array[0] Else $array[$y] = Chr(0) EndIf Next _FileWriteFromArray($textfile, $array, 1) Next
A simple explanation of what the code does: It will open a prompt for you to select a folder. It will then ask you for the text strings marking the start and end of the block you want to preserve. It will then go through every .txt file in the folder you selected, removing anything before and after the sections you've specified. It's quite fast, but only tested by me, so please back up the text files before trying this out just in case :) I know you don't have programming experience, but it really is as simple as installing Autoit and running this code. You can compile this with Autoit into an .exe if you like. Please let me know if you have any questions. Coreycubed ( talk) 16:23, 18 March 2010 (UTC)
Thank you. I tried the script, but got an error message:
"Line 8 (File "C:\.....yourscript.au3"):
For $x=1 to $file_name[0]
For $x=1 to $file_name^ERROR
Error:Subscript used with non-Array variable."
What can be done to fix this please? 78.147.148.36 ( talk) 17:16, 20 March 2010 (UTC)
I don't know if I did something wrong on the keyboard, but here's what happened.
I was using inbox.com email, which has one specific purpose for me.
I wasn't getting a satisfactory repsonse to a question I asked them about copy and paste when the email is not plain text, so I tried again. While I was doing that, I typed "the" in the place for the URL and ended up with a list of possible sites to go to just below the line for the URL. I couldn't finish typing the address. Also, the cursor just disappeared, except it was a rotating circle in the area where the possible choices of URLs were.
Not knowing what else to do, I turned off the computer. This took a while. My computer (described here if you scroll down below the description of a similar problem) shuts down before actually turning off. When I turned it back on (after the Windows update and the "configuring updates message" that surprised me since I had asked to postpone the automatic shutdown), I was given two choices because Windows had shut down unexpectedly. I chose to open the tabs from before--this included a help screen and a feedback screen where I had informed inbox.com they were not helpful at all, and I was using the box as a notepad to copy from the URL that started with "the" so as to avoid the problems when it's not plain text.
The screen that came up with the original email asked me to sign in. When I did the screen just went blank and I had the rotating cursor again. I don't even think I was able to go to the other two screens. I had to turn the computer off, and when I turned it on again, I chose not to reopen tabs, but started over instead. All was well. Vchimpanzee · talk · contributions · 22:01, 15 March 2010 (UTC)
Is 98kb/s an acceptable quality level for most music? —Preceding unsigned comment added by 76.123.154.78 ( talk) 23:09, 15 March 2010 (UTC)
In the last few hours my Windows 7 computer has begun having problems with sound playback. The problem is that when I play a music file for example it plays fine until I start to do anything else like browse the net or open a folder or basically anything which uses some cpu then the sound becomes all distorted and skippy while I do stuff, but if I leave the computer complexly alone except for music it works fine. As I said, this problem only started in the last hour or so. Any ideas what's causing it, and how to fix? —Preceding unsigned comment added by 76.123.154.78 ( talk) 23:09, 15 March 2010 (UTC)