If “Call of Duty 4”:http://www.codhq.com/modules.php?name=Forums&file=viewtopic&t=2831 appears to start with the intro screen and then disappears, it probably means your computer doesn’t meet minimum requirements. What an unfriendly and unclear way to handle this problem.
Here is the computer:
* AMD Athlon XP 3200+
* nVidia 5900 FX graphics adapter
* 1GB RAM
* 700GB disk free
So because it is an Athlon XP and not an Athlon 64, I think I’m hosed. The minimum requirements are according to “firingsquad”:http://www.firingsquad.com/news/newsarticle.asp?searchid=17802:
# CPU: Intel(R) Pentium(R) 4 2.4 GHz or AMD(R) Athlon(TM) 64 2800+ processor or any 1.8Ghz Dual Core Processor or better supported
# RAM: 512MB RAM (768MB for Windows Vista)
# Harddrive: 8GB of free hard drive space
# Video card (generic): NVIDIA(R) Geforce(TM) 6600 or better or ATI(R) Radeon(R) 9800Pro or better
I had forgotten the “differences”:http://www.computing.net/answers/cpus/xp-athlon-vs-athlon-64/10499.html but essentially the Athlon 64 is 64 bits internally.
Calvin wants to solve anagrams. There are lots of great programs out there, but not much source. “Gtoal.com”:http://www.gtoal.com/wordgames/anagrams.html has a good list of source code that is out there, but its hard to find a simple program.
“Gtanag.mai”:http://www.gtoal.com/wordgames/anagrams/gtanag.mai is perhaps the simplest program that is a C program. I’m sure you could use it in any language. What it does is pretty brute force. It takes any dictionary like say a Google search for “unix dictionary list”:google which gets you to “words.txt”:http://linkage.rockefeller.edu/chaynes/words.txt that has a 25,000 word dictionary or the Unix V7 “/usr/dict/words”:http://unix-tree.huihoo.org/V7/usr/dict/words.html and finds all anagrams by first making each entry canonical that is, it takes all the letters and alpha sorts them, so “rich” becomes “chir” and “calvin” becomes “acilnv” and then it can compare them by sorting all the words. If “acilnv” matches, then you have all the words that are anagrams. That is, use the same letters. Quite clever really.
Then there is one that is quite elegant using primes. Basically instead of the canonical form being the sorted order, it assigns a prime number to each letter. Then when you multiply, that number will be unique since it is a product of primes, if the numbers are the same then the word has to be the same. Wow, people like “falbdablet”:http://www.gtoal.com/wordgames/anagrams/flabdablet/anagram.c are sure smart!
So the usage if you like Unix (or Mac OS X which is the same is):
bq. canonize < dictionary | sort | gather
The first command, takes an entire text file and turns into the canonical form that looks like "rich=chir" and then sort sorts the canonical alphabetically. Then gather just finds all the identical words. You could also use fgrep to find for instance all the canonical matches.
We worked on a new program "search.c" that opens a dictionary that is canonical and sorted and looks for all anagrams. The Unix V7 English list is 24,000 words, but to find some really great word lists, "net-comber.com":http://www.net-comber.com/wordurls.html has a good word list. The main problem is that we really just want an uncluttered list. So "outpost9.com":http://www.outpost9.com/files/WordLists.html has a dictionary and also things that include proper names and abbreviations. The "crosswordman.com":http://www.crosswordman.com/wordlist.html is what is allowed by Scrabble or simple "zip":http://personal.riverusers.com/~thegrendel/ format.
The only small problem is that this is a DOS file format, so you need a small tool like "tofrodos":http://www.thefreecountry.com/tofrodos/ to get rid of the CRLF that is in DOS files vs. just the CR that is Unix files.
Found lots of anagram exercises on the web from Stanford and Duke in particular, but found one that is a simple game that is pretty easy to understand:
* “Devdaily”:http://www.devdaily.com/java/jwarehouse/netbeans-src/usersguide/j2seexamples/anagrams/src/com/toy/. This one is a little complicated, but basically it shows you a scrambled word and you have to figure out how to unscramble and turn it into a real word.
There are also lots of completed programs on the web and even whole sites devoted to it. That’s because anagrams are essentially what Scrabble players need. Take a jumble of letters and turn them into potential words and you can just google:”Anagram” to see literally dozens of games.
* “Wordsmith.org”:http://wordsmith.org/anagram/advanced.html. There is a whole site devoted to anagrams and a more advanced program that takes an entire phrase and converts it.
* “Andy’s Anagram Solver”:http://www.ssynth.co.uk/~gay/anagram.html Has a really big 132,000 word dictionary. See how many ways there are to scramble Lakeside! into French.
* “Brendan’s Anagram Generator”:http://www.mbhs.edu/~bconnell/cgi-bin/anagram.cgi. This one tries to take a word and turn it into English. It uses Evan’s program.
Dad gave me an old laptop to use. It is from 2004! So it needs lots of updating. First up is to get:
# “Java”:http://java.com. So that I can write programs
# “Dr. Java”:http://drjava.com. Which is a simple editor and program
# “Intel 2200 BG”:http://support.intel.com/support/wireless/wlan/pro2200bg/. I couldn’t connect to Apple’s latest Time Capsule and my drivers haven’t been in updated in four years, so got the latest 11.0 version from last year.
* “Intel Pro100/VM”:http://downloadcenter.intel.com/filter_results.aspx?strTypes=all&ProductID=407&OSFullName=Windows*+XP+Professional&lang=eng&strOSs=44&submit=Go%21 The Pro100/VM is OEM only, so you have to download the Pro100/VE drivers, but these are made in 2003, so after five years, I hope there are some improvements.
Calvin wanted to work with someone to combine a love of puzzles and a love of computers. Here are some ways to do that:
“Cryptogram.java”:http://www.cs.utsa.edu/~wagner/laws/Acryptogram.html are a really fun kind of puzzle. The simplest is the substitution cypher. One letter in English is translated directly into another. Writing a program to do this isn’t too hard as this site shows. You just need to have a Java compiler to use it. Of course this is just the source. To really use it, you have to know how to compile and run it on the Mac. Just the directions listed don’t work. (Of course, nothing is easy anymore, even though Java is supposed to be interpreted!)
“Hello World on the Mac”:http://bioportal.weizmann.ac.il/course/prog2/tutorial/getStarted/cupojava/mac.html. I learn to program everything just from figuring out how to print “hello world”. This probably comes from the dawn of time, but I learned it first when I learned C (I don’t want to tell you how many years ago, OK, 30, there you have it!) where the first program was literally printf(“hello world\n”). It is amazing how complicated folks have made it.
“DrJava”:http://www.cs.princeton.edu/introcs/11hello/mac.html. If Xcode is a little much at Princeton, they use a simplified development environment called Dr Java, this seems way simpler to me. It is only command line, but that is OK for kids really. Otherwise the user interface code is 10x more than the rest of it. As an aside, watch you, Java SE for Windows 6 Update 4 and 5 are incompatible with the exe file, you have to use .jar version of DrJava otherwise you get a strange, “no zip entry error message”
“Java SE”:http://java.sun.com/javase/. If you don’t have a Mac, you have to load Java on Windows first. This is not the standard Java runtime, but what is know as the Standard Edition that lets you compile Java programs. It is required by Dr. Java to compile and run Java.
“Anagram.java”:http://freespace.virgin.net/martin.mamo/fanagram.html. A little complicated, this takes any pile of characters and turns them into an anagram.
“Anagram Solver”:http://nifty.stanford.edu/2006/reges-anagrams/. Something from Stanford, but it includes recursion to solve a program.
Cool Site for donating rice to hungry people by answering vocabulary word questions.
50states.com – States and Capitals
Did you know the state song of Washington is Washington my home? On this site you can even find out the state tools of any one of the 50 states and much more
Another useful program for teaching programming is from MIT. It’s called “scratch”:http://scratch.mit.edu.
Powered by ScribeFire.
Calvin and I have been reading a really interesting book about the politics of physic (yes there is such a thing called) “The Trouble with Physics”:http://www.amazon.com/Trouble-Physics-String-Theory-Science/dp/0618551050/marketingplaybook-20 about the big issues with string theory. Thanks to Peter for sending to me.
He describes a really interesting theory called “Doubly Special Relativity (DSR)”:http://en.wikipedia.org/wiki/Doubly-special_relativity that although highly speculative makes more sense to us then a 12 dimensional universe. Basically it says that just as there is a speed limit for light at C, there is also a smallest possible length which is called Planck’s length. As things get smaller and smaller (remember as you go faster, everything gets shorter and time gets longer, until you get to the speed of light when time stops and distances are zero), that the all observers can agree that nothing is smaller than Planck’s length with is
Powered by ScribeFire.