Computing desk | ||
---|---|---|
< December 16 | << Nov | December | Jan >> | December 18 > |
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. |
What is an efficient way to use a 32Gb USB memory stick as RAM? The stick behaves like a hard disk but I don't want directories and files, I just want random access to bytes as fast as possible. My application is solving large sets of simultaneous equations held as matrices in RAM. Assume small programming knowledge. I might manage disk read/write at DOS interrupt level but have no idea how to address a USB interface. DreadRed ( talk) 10:21, 17 December 2012 (UTC)
Can anyone help me find these in the format I want ? Here's what Wiktionary has: [1]. Here's what I would like different:
1) No numbers or formatting text, just the words, in order from most common to least (one word per line in the file). This part is critical.
2) All the words in a single file, as opposed to files for the first 10000 words, next ten thousand, etc. This part is optional.
3) All non-alphabetic characters, like apostrophes, stripped off. This will make duplicates out of words like "cant" and "can't", so those should be combined into one, at the proper location in the file (the total of both frequencies). This part is optional.
4) Common proper nouns should be included, too. This part is optional.
I prefer US English, or both US English and British English, but not British English alone. So, do we have anything like that out there ? StuRat ( talk) 16:45, 17 December 2012 (UTC)
I'm amazed this isn't available for free, like lists of prime numbers are. StuRat ( talk) 00:07, 18 December 2012 (UTC)
cat wordlist.txt|perl -pe 's#^\d+\s*(.+?)\s+.*#$1#;s#[^\w\n]##g'
cat wordlist.txt|perl -pe 's#^\d+\s*(.+?)\s+.*#$1#;s#[^\w\n]##g'|perl -e 'while(<>){$word{$_}=$x;$x++};foreach(sort {$word{$a} <=> $word{$b}} keys %word) {print}'
Shadowjams (
talk)
03:07, 18 December 2012 (UTC)The apostrophe in "can't" is not essentially a non-alphabetic character because it represents the character "o" that is hidden in the standard contraction of the two words "can not". English contains many such examples such as "it's" which means "it is" (or "it has" but nothing else, occasional abuses notwithstanding). DreadRed ( talk) 08:37, 18 December 2012 (UTC)
I apparently held the shift button down too long, and it tried to "help" me by beeping at me and locking up the keyboard. A reboot solved it for now, but how do I prevent Windows 7 from ever doing this again ? StuRat ( talk) 17:45, 17 December 2012 (UTC)
Hello fellow users, I'm Tailsman67,I'm a freelancer hacker and programer and I'm here to ask,"What is the oldest Computer?" and "IS the first Computer really the first?" and "What is the first program?",thank you? — Preceding unsigned comment added by 74.178.177.48 ( talk) 21:06, 17 December 2012 (UTC)
Returning to the OP's question seriously, several of the first serious "electronic" computers were developed during World War II, and details of them were naturally hidden behind massive security at the time. Several countries have competing claims. While we now know a lot more, we cannot be certain that all details have been released. In fact, it's almost certain that some information has been destroyed forever. HiLo48 ( talk) 16:52, 18 December 2012 (UTC)
And when was that? Sagittarian Milky Way ( talk) 22:50, 17 December 2012 (UTC)
Computing desk | ||
---|---|---|
< December 16 | << Nov | December | Jan >> | December 18 > |
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. |
What is an efficient way to use a 32Gb USB memory stick as RAM? The stick behaves like a hard disk but I don't want directories and files, I just want random access to bytes as fast as possible. My application is solving large sets of simultaneous equations held as matrices in RAM. Assume small programming knowledge. I might manage disk read/write at DOS interrupt level but have no idea how to address a USB interface. DreadRed ( talk) 10:21, 17 December 2012 (UTC)
Can anyone help me find these in the format I want ? Here's what Wiktionary has: [1]. Here's what I would like different:
1) No numbers or formatting text, just the words, in order from most common to least (one word per line in the file). This part is critical.
2) All the words in a single file, as opposed to files for the first 10000 words, next ten thousand, etc. This part is optional.
3) All non-alphabetic characters, like apostrophes, stripped off. This will make duplicates out of words like "cant" and "can't", so those should be combined into one, at the proper location in the file (the total of both frequencies). This part is optional.
4) Common proper nouns should be included, too. This part is optional.
I prefer US English, or both US English and British English, but not British English alone. So, do we have anything like that out there ? StuRat ( talk) 16:45, 17 December 2012 (UTC)
I'm amazed this isn't available for free, like lists of prime numbers are. StuRat ( talk) 00:07, 18 December 2012 (UTC)
cat wordlist.txt|perl -pe 's#^\d+\s*(.+?)\s+.*#$1#;s#[^\w\n]##g'
cat wordlist.txt|perl -pe 's#^\d+\s*(.+?)\s+.*#$1#;s#[^\w\n]##g'|perl -e 'while(<>){$word{$_}=$x;$x++};foreach(sort {$word{$a} <=> $word{$b}} keys %word) {print}'
Shadowjams (
talk)
03:07, 18 December 2012 (UTC)The apostrophe in "can't" is not essentially a non-alphabetic character because it represents the character "o" that is hidden in the standard contraction of the two words "can not". English contains many such examples such as "it's" which means "it is" (or "it has" but nothing else, occasional abuses notwithstanding). DreadRed ( talk) 08:37, 18 December 2012 (UTC)
I apparently held the shift button down too long, and it tried to "help" me by beeping at me and locking up the keyboard. A reboot solved it for now, but how do I prevent Windows 7 from ever doing this again ? StuRat ( talk) 17:45, 17 December 2012 (UTC)
Hello fellow users, I'm Tailsman67,I'm a freelancer hacker and programer and I'm here to ask,"What is the oldest Computer?" and "IS the first Computer really the first?" and "What is the first program?",thank you? — Preceding unsigned comment added by 74.178.177.48 ( talk) 21:06, 17 December 2012 (UTC)
Returning to the OP's question seriously, several of the first serious "electronic" computers were developed during World War II, and details of them were naturally hidden behind massive security at the time. Several countries have competing claims. While we now know a lot more, we cannot be certain that all details have been released. In fact, it's almost certain that some information has been destroyed forever. HiLo48 ( talk) 16:52, 18 December 2012 (UTC)
And when was that? Sagittarian Milky Way ( talk) 22:50, 17 December 2012 (UTC)