Monday, May 21, 2007

Genetic Programming

What is the difference between a mouse and man? How will we identify non-human intelligence when we find it?

So I have been rolling this very simple idea over in my head. After only a week or so of messing around with AIML I already felt very limited by the XML. There had to be someway to exponentially improve on the way the program sifted through the data. So I read several theories on how to improve current AI. It struck me as I was running several different AI's and genetic 'games' what the difference between sentience (and/or intelligence) and programmed behavior is.

A mouse is a composition of billions of cells that create a living being, each cell in the mouse is alive and composed of a million atoms or more that reproduce. When two mice reproduce some of the cells genetic codes change, these are completely random changes (though there causes may not be). The first life on earth is believed to be a single celled creature that was randomly created (this is debatable but for the purposes of this thought we will assume it to be true). These randomly created life-forms reproduced and changed over the course of millions upon millions of years. These changes produced a near infinite number of separate living entities, over the course of history only an infinitesimally small fraction of those entities became 'sentient'. Of that small fraction only one species survives today.

What is it that makes us different though? Most other species communicate, we all reproduce eat excrete etc... Take a plant and transplant it somewhere that is inhospitable to it and it will die. Take a fish out of water and it will die. Only through several thousand generations will an animal significantly change its habitat to something that was previously inhospitable. Should global warming take its course and drastically reduce the land mass creating a water-world man would survive even after most other land animals had perished. We are able to habitat space, something that no other living life-form on earth is capable of.

The one thing we do that defines us as different is that we do not follow our instincts as laid out by our genetic codes. No matter how complex you make AIML or any other program it will still follow its code. It is stuck inside its box it cannot leave or change beyond the confines of its code. No matter how complex the code is you will never be able to have artificial life on your computer made by man. All you will be able to create is a simulation of life that is constricted to the confines as set forth by its programmers.

Running any genetic 'game' will only result in an artificial species that can survive in its box if it results in anything at all. This is not what we are after this is only a toy to suggest that what we are after is possible.

What needs to be done to create true artificial life is to remove the box. What I theorize is to write a very simple program, that reproduces and changes with no other limitations set.

1. The code will create a cpp (C++ source code) file in the cpp file the code will print its own source code and create a .txt file with the same source as well as some other trivial variables.

2. The code then will create another line of text completely at random inside the cpp file.

3. The code will attempt to compile.

A. Should the file not compile it will do the first three steps again repeatedly.

B. If the file does compile it will execute the new program.

4. The new program will close the old program and proceed with the first three steps again.

I assume that it will be at least a billion generations (I will allow for a billion billion however) between each workable source.

The text file will contain variables for statistical data such as:

Generations since last successful compile

gen: resets to zero every billion generations.

Billion Generations since last successful compile. Or at a successful compile.

bil_gen: resets to zero after a billion billion generations. Or at a successful compile.

Successful compiles, actual generations created.

live_gen

Resets to zero after a billion living generations

Billion live generations,

bil_live_gen

Both bil_live_gen and live_gen will also be the name of the text file so there will be source available for every generation.

The txt file will also contain this info:

Complete living source-code.

The source of the last living generation.

Attempted line of source code.

The source the current live generation is attempting.

Some things I would like to add to this project would be the ability to p2p network the source creation process. Similar to seti@home or another networked processing system. The way I envision this would be done would be for every successful source created the program would then email the txt file to a database that could then be downloaded at other terminals. Should a billion billion attempts be reached then the host would automatically discard the source and acquire a new instruction set at random from the central database.

Tuesday, November 22, 2005

Does Violence in Video Games Lower the Amount of Real Life Violence?

15 November 2005
Many outspoken politicians have been in protest against video games. They contend that video games and other forms of media increase violent behavior in individuals.  This is not a new trend.  Senator Joe Lieberman has been on a “crusade” against video games and violent media since 1977. Hillary Clinton has recently joined the crusade in the highly publicized “Hot Coffee” incident of this last year. Both refer to sources and research done by controversial sources such as Colonel Dave Grossman and Dr. David Anderson. What I intend to consider is the opposite and a seemingly rarely considered view. Does violence in video games lower the amount of real life violence? My claim is that because people are able to act out violent tendencies according to the rules or objectives in a game, the players are not left needing a release for their violent tendencies in real life. I make a clear distinction between video games and other forms of media for example violence in movies, which leaves the viewer yearning to act on violent tendencies that may or may not have been present before watching the movie.
     On 10 December 1993, ID Software released Doom for pc (wikipedia sidebar). Not only was it released for pc but it was released as a demo as well, allowing approximately ten million people to download it off the internet at no charge. Before that was Midways Mortal Kombat fighting game. These games rocked the boat in terms of on-screen violence and mayhem. They were not the first, however. Previously, Night Trap (October 15, 1992.), was released taking advantage of the newly popularized compact Disk technology. The difference between these 3 games is their relative popularity. Night Trap was a point and click type game that left little control to the user to actually manipulate the game in any way more than we currently manipulate a DVD or VCR player. Doom and Mortal Kombat were both very interactive games that allowed the player to take control of fictional characters in a science fiction or fantasy setting and defeat foes that were not based on real people.
Senator Hillary Clinton had begun her crusade against Violence in video games early this year when the publicity of “Hot Coffee” reached its peak. “Hot Coffee” is a scene or mini-game in the main part of the game Grand Theft Auto that includes some unfinished sexual content. She claimed the publisher Rockstar Games had left the sexually explicit content in the game in such way as to thwart the Electronic Software Rating Boards (ESRB) rating system. In order to access the content in question, the end user is required to physically modify the hardware in which the game is played in the case of consoles and to download a third party software patch.  
Colonel David Grossman, another notable critic of video games and video game violence, has been a long-standing member of the crusade against video game violence. Drawing on his extensive military career as his primary source of information, he uses such analogies as
Within the midbrain there is a powerful, God-given resistance to killing your own kind. Every species, with a few exceptions, has a hardwired resistance to killing its own kind in territorial and mating battles. When animals with antlers and horns fight one another, they head butt in a harmless fashion. But when they fight any other species, they go to the side to gut and gore. Piranhas will turn their fangs on anything, but they fight one another with flicks of the tail. Rattlesnakes will bite anything, but they wrestle one another. Almost every species has this hardwired resistance to killing its own kind. (Killology "Trained to Kill" para 4)
This is just not true; many animal species have been known to kill members of their own species. Whether it is territorial or population control, many animals have been known to fight for that which is important.
     He goes onto compare video games to military as in
Whereas infantry training in World War II used bull's-eye targets, now soldiers learn to fire at realistic, man-shaped silhouettes that pop into their field of view. That is the stimulus. The trainees have only a split second to engage the target. The conditioned response is to shoot the target, and then it drops. Stimulus-response, stimulus-response, stimulus-response: soldiers or police officers experience hundreds of repetitions. Later, when soldiers are on the battlefield or a police officer is walking a beat and somebody pops up with a gun, they will shoot reflexively and shoot to kill. We know that 75 to 80 percent of the shooting on the modern battlefield is the result of this kind of stimulus-response training.(Killology, para. 3)
If this were the case, would this not have a positive or negligible effect on the players of games rooted completely in fantasy with little or no resemblance to reality? The majority of the games such as Turok, Serious Sam, and Doom do not even deal with outlines or silhouettes. If what the colonel says were true then these games would have absolutely no effect on the person. There is a clear distinction, both in these games and in real life, between the monsters of Doom, and the people the player interacts with everyday.
     Curt Lavarello, Executive Director of the National Association of School Resource Officers, states “A lot of the issues that kids get into fights over are the same as they were 25 years ago. What's changed drastically is the availability and accessibility of weapons and firearms” (Koch, K., School Violence).
Often overlooked in the debate over video games is the connection to other forms of media. Actually, it is the lack of a connection to other forms of media that I am suggesting needs to be researched. To watch a violent “R” rated movie filled with blood, gore, violence, sex, and all the other evils being discussed only takes a single click of the play button. This is not the case in video games. Games by their very nature are very engrossing for much longer periods. A single button push will not reward the player with hours of entertainment but repeated buttons and controls are necessary to get the full story of the game or to reach the pinnacle of the story. I find video games much more akin to sports such as football or baseball. With the release of the Massively Multiplayer Online Role Playing Game (MMORPG) World of Warcraft by Blizzard North, it is no longer a solo act of violence. Instead, palyers are forced to use social skills to form groups and raids. Often, with people the player may or may not know in real life. It is also required that the player spend a fair amount of time interacting with people that the player have no previous experience with. It requires more then twenty one days of playing to reach the “end-game” which itself is a never-ending series of quests. The game itself, though rated “T” for teen by the ESRB deals with such issues as war, genocide, and racism as well as sexual innuendo.
The research actually done on the specific topic of video game violence is sparse and incomplete at best. Leading the anti game research is Craig Anderson, a qualified Doctor in psychology. It must be pointed out that he tends to not point out research done by anyone else. This seems to me to add quite a bit of bias to his research. An outside observer would think that the research of one man could be discredited on the very basis that it was done by one person. It is not unlikely in the social sciences to have an anomalous research study that finds the hypothesis correlating with the  research. His lack of further research and further studies discredits him the most.
Jonathan Freedman, a critic of Anderson, has written extensively not only on Anderson’s research but others in the field, both those who support the hypothesis and those opposed. He found:
the majority of experiments have not had positive results. After detailed analysis of the numbers that the researchers reported, Freedman summarizes: 37% of the experiments supported the hypothesis that media violence causes real-world violence or aggression; 22% had mixed results, and 41% did not support the hypothesis. After he factored out experiments using "the most doubtful measures of aggression" (popping balloons and so forth), only 28% of the results were supportive, 16% were mixed, and 55% were non-supportive of the "causal hypothesis" [underlined for emphasis] (Heins 4).
This is in direct contradiction to Anderson who claims the research to be complete and irrefutable.
The research actually done on the subject of the effects of video game violence is sparse at best. For the most part it is  inconclusive and often in direct contradiction to other similar research being done. Furthermore, it contradicts the statistics that are currently available to the public on such issues as violent crime data, video game and demographics data, including sales of games by country, state, city, and an amazing amount of data that relates to the income of the purchaser.
In 2000 the Surgeon General released a report containing all media topics and addressed issues such as violence, gore, and sex in the content of the media. This report also covered the topic of video game violence, finding that the research into media violence and especially video games is lacking as of the date of the report.
A recent meta-analysis of these studies found that the overall effect size for both randomized and correlational studies was small for physical aggression (r = .19) and moderate for aggressive thinking (r = .27) (Anderson & Bushman, in press). In separate analyses, the effect sizes for both randomized and cross-sectional studies was small (r = .18 and .19, respectively). The impact of video games on violent behavior remains to be determined. [underlined for emphasis] (Satcher)
     My final argument is that there has not been an increase in crime as claimed by many critics. News media sensationalism has contributed to the false view that crime is on the rise. In fact the crime rate since 1993 has fallen substantially including, but not relegated to, violent crimes.
As for trends in arrests of juveniles for violent crime, a comparison of 2004 data with those of 2003 indicated that the number of juveniles arrested for violent crimes declined 0.8 percent, 5.5 percent compared with 2000 data, and 30.9 percent compared with 1995 figures (Federal Bureau of Investigation).
Considering that “Console and portable software sales: $6.2 billion, up 8% from 2003” (wikipedia Video Game Sales), according to the critics this should mean that there is also an increase in violence. However according to the United States Justice Department and the Federal Bureau of Investigation, violence per capita among youth is down
I personally do not allow my children to purchase any video games, or movie, no matter the rating. However if my son were to ask me to purchase a game or movie for him the first place I would look is at the rating not at the box art or the manual. If I see that it is rated in a way that I find acceptable (E for everyone or PG), then I have no problem getting the game for him. If the game is rated T for teen or pg-13, I would have to look at the game screenshots and perhaps play the game demo to truly ascertain if anything was wrong with the game. If the game is rated M, my son would not be playing that game. This is because I am a conscientious parent not because playing the game would make him a cold-blooded killer. When it comes to TV and movies, he is exposed to enough violence, blood, gore, and sex. He does not need to see that in video games as well. If he were not a fan of action movies but chose to watch more kid oriented TV shows, I would consider letting him play more video games that are violent. The exposure to these violent and overly sexual elements is everywhere, just look at the prime time show listing and abstracts.

Thursday, October 27, 2005

The Hitchhikers Guide had this to say about Seattle:

Landing in Seattle is troublesome. There are many landmarks visible from the sky that signify safe landing. These are all a ruse, there is no safe place to land in Seattle, should you find yourself flying overhead, please do not land at Safeco field no matter how much the pilot insists that they are opening their landing bay doors, this is a trap set up by the earthlings. Once landed in Safeco field it is common to be assaulted by two dozen large angry locals in full battle gear. This is actually a sport to the earthling, known to the residents as football. The best suggestion would be to land south of Seattle and either procure your own transportation or continue to hitchhike to Seattle proper.
Coming in from the north of Seattle is impossible, as there is actually nothing north of Seattle. However, there are vague references of a country up there. In truth, there is a wormhole anomaly that connects to Montana heading east. Do not mention this however as the denizens of earth are yet to realize this.
Coming from California is a long trip made easier due to the liquor available in the stores. The price of liquor is a lot cheaper in this area as well, which comes in handy when hitchhiking in this area. On earth, the liquor is usually sold in liquor stores. These stores are usually in the most out of the way areas. In California, the liquor is sold in the same stores that they sell their groceries, which can make it extremely convenient to procure liquor as the need arises (or the funds allow).
Once you hit Oregon, you will feel a bit uncomfortable. Do not be alarmed this is the detoxification of all the liquor you drank, as well as the last remnants of chemicals known as smog, from the larger cities in California.
Places of interest through Oregon are Eugene and Portland. Every intra-galaxy traveler should make a point to hit Salem, as it is a little known fact that half the residents in Salem Oregon are also visitors from another galaxy. The city makes a point of giving these visitors a room in one of their many state funded boarding houses depending on your perspective. The locals refer to the State funded boarding houses as Asylums.
There are many motels in the area of Seattle. For those who have not found a way to access substantial monetary units may want check out the variety of lodgings in the northeastern part of the city. In an area known as ‘highway 99’ though these lodgings are in disarray and may seem from the outside to be utterly derelict and abandoned, they are indeed decent places to store your towel and useful if you require sleep.
If you are hungry, the place to go is Pike Place Market, the vendors in this bazaar seem to give away more food then they sell. At one point I had been stuck at a single vendor, being force fed every flavor of jam ever conceived of. Leaving the stall I went to the next where I was offered a variety of prepared meats, this process went on until I could no longer differentiate between the flavors of garlic and coffee.
If you are claustrophobic, this may not be the best way to lighten your hunger, as the crowds are all encompassing. This is very much like being stuck in high tide on Aquticus delta where the seas almost smother you. At one point, it seems the tides of people were going to sweep me into the bay of the city.
In 1962 two beings from Gooblnik heard of the worlds fair in Seattle confusing worlds for worlds’ they assumed that they should go show their greatest masterpiece space ship, the Thrustmaster 8000b. (The Thrustmaster 8000a was stolen when a very trusting Gooblnikian left the hatch unlocked in front of the HGG headquarters.) Upon arriving in downtown Seattle, the Gooblnikians saw that a large landing structure had been erected in their honor. Quietly landing upon the structure they disembarked, and went off admiring all that earth had to offer. They quickly realized their error when one Gooblnikian asked where he could hire a bistro mathematician. Both Gooblnikians currently reside in Salem where they are quite comfortable and have made great advances in the fields of bistro mathematics. Gooblnik no longer exports ships.
The residents of Seattle cannot travel to their closest neighbor. They cannot even travel regularly to their own moon. They have however, seemed to not only stumble upon the concept of interstellar travel but have documented knowledge of the Babel Fish, time travel, and aliens though none seem to be using any of these. Many such artifacts seem to be stored in a museum known as the Science Fiction museum. My understanding of the word must be skewed as I have translated this to mean non-factual science; I assume that this museum was founded in response to President Beeblebrox’s creation of the improbability drive.
The “must see” of Seattle is the University District. Here sentient beings and not so sentient beings gather from all over the galaxy. The party started sometime in the late 1960’s and has lasted till today. Upon entering into this area is similar to going back in time to 1969 with hippies and revolutionaries around every corner. You can smell the drugs and alcohol on every single resident. Though the revolutionaries have long since lost their drive to actually revolutionize anything they still talk big. The hippies are still willing to share all they possess but be expected to return this favor in turn. One spot of interest is an Irish Pub north of 45th St. on University Way aptly named “Irish Pub” where it is not uncommon to see first run movies on the day of their premier for nothing more then the price of a pint. Though if you directly inquire of the movie playing they patrons tend to be very tightlipped about the whole affair.
The primary export of Seattle is nothing. There is not anything exported from Seattle except computer programs. One of the most powerful corporations on earth is located in Seattle. One very notable resident of Seattle is Bill Gates. He is one of the galaxies famous alien residents in Seattle. Known previously for his work for the Sirius Corporation, which of quickly terminated. Bill gates programmed The Marvin android series, as well as the “swishing” doors. The Sirius Corporation was quick to pull these products off the market after a sudden unexplainable rash of suicides. Makes you wonder how Seattle will survive when computers gain sentience.
Edited guide entry:
Seattle is a nice place to live but I would not want to visit there.

Governance

“One of the major problems with governing people is that of whom you get to do it; or rather who manages to get people to let them do it to them“(Adams). In other words a good leader not only has to be a leader of men but also someone that the men he or she should lead will want to be led by such a man. The definition of what a good ruler is and is it possible to have a ruler that is not there for his personal gain.
“Be gentle and you can be bold; be frugal and you can be liberal; avoid putting yourself before others and you can become a leader among men”. (Loa Tzu) These words seem to be analogous with what Douglas Adams was trying to say. A good leader of people is someone that puts others before himself, today this is not the practice of rulers and looking through history at even the greatest rulers of all times you can see that they too put themselves first. Anyone that put others before themselves usually ended up martyred. A perfect example of this would be what we historically know about Jesus Christ, Joan of Arc, Spartacus, and many, more.
In the United States we have a democracy but many countries go about “choosing” who will rule them is vastly different from ours. In china for instance the leader is elected similar to ours however their right to vote is much more lenient the our own, for instance many criminals are allowed to vote and the laws of china in regards to voting are federal and not state unlike our own, where the right to vote is determined by each state independently.
Many countries leaders come to power through military coupe, or through a monarchist system. The ways we choose are leaders are nearly infinite. Up to now I have not heard of a perfect electoral system, I certainly do not believe one would come into existence in my lifetime.
Is it possible to find a “good” leader? A democratic approach does not seem to be the optimal means or the most efficient way to elect a leader. In ancient china the “cabinet” was chosen by scholarship, though the leader’s were blood relatives in dynasties the advisers to the leaders were scholars, there were many tests done to see who was most qualified in the country. This maybe an approach that may truly show the most qualified. With modern research in psychology and sociology advancing as it has this form of leader appointment may be the way of the future or at least the best way of picking a qualified leader. Things to look at would be how to get everyone to test for it and how to get the most qualified leaders to lead after being chosen.
Today in the United States we have a president that spent 4 years leading the country with a lower then 50% approval rating but when his term was up the majority of the United States citizens re-elected him by 2%. Though in our country a president can be elected with less then a 48% majority, our current president was able to actually get a true majority and in our Democracy that is considered a landslide, but how could someone with less the 50% popularity be elected? (CNN during election) There was no better candidate; I base this off of the numbers and not my own opinion. Currently if a president is elected with only 2% more then half of the citizens in the United States there is something wrong with our system. There needs to be a way to find leaders of our country that more people can approve of. Not more then half but rather a true majority.
Unfortunately without military coupe or some other ghastly approach to reform, it will be a slow process and more people will have to take action with their votes and voices. The individual approach people take when voting and their actions in politics seem to show that they may not believe that there voices or actions are heard. This view point must change.
Though there are hundreds of millions of people in the United States most elections between to mediocre candidates still pulls many people to the polls. Yet the elections are often very close and require many recounts, this shows that a few hundred people who do not think they make a difference can thorouly tilt the balance from one side to another. For instance in 2004 in Washington State the total difference of votes for the two candidates for governor was very slight, so slight in fact that the counting had to be several times and took months to tally after the election was over. Had a thousand of the people that chose not to vote in that particular election shown up at the polls the election could have taken a drastic turn one way or the other.
I do not believe that such things and total reform and revolution will come about in my life time, I believe as the human society evolves and globalizes, we will be creating new and better governments and election processes and though not in my lifetime a true government for the people of the people will be seen in our not so distant future.

Thursday, October 20, 2005

Found this and wanted to share

Revolution is not an AOL Keyword*
You will not be able to stay home, dear Netizen. You will not be able to plug in, log on and opt out. You will not be able to lose yourself in Final Fantasy, Or hold your Kazaa download queues, Because revolution is not an AOL Keyword.
Revolution is not an AOL Keyword. Revolution will not be brought to you on Hi-Def TV Encrypted with a warning from the FBI. Revolution will not have a jpeg slideshow of Dubya Calling the cattle and leading the incursion by Secretary Rumsfeld, General Ashcroft and Dick Cheney Riding nuclear warheads on their way to Iraq, Or North Korea, or Iran.
Revolution is not an AOL Keyword. Revolution will not be powered by Microsoft on The Next-Generation Secure Computing BaseAnd will not star Pamela Anderson and Tommy LeeOr Larry Lessig and Martha Stewart.
Revolution will not promise penile enlargement. Revolution will not get rid of spam. Revolution will not earn you up to $5000 a monthWorking from home, because revolution is not An AOL Keyword, Brother.
There will be no screen grabs of you and Jeeves the Butler one-click shopping at My Yahoo, Or outbidding a shady grandma on eBay for That refurbished iPod 20-gig. MSNBC.com will not predict election results in FloridaOr fact-check the Drudge Report. Revolution is not an AOL Keyword.
There will be no webcast of Wil Wheaton boxingBarney the Dinosaur on the dancefloor at DNA. There will be no mob- or wiki- blog of Richard StallmanStrolling through Redmond in a medieval robe and halo As St. iGNUcious of the Church of Emacs That he has been saving For just the proper occasion.
Survivor, The Osbournes, and Joe Millionaire Will no longer be so damned relevant, and People will not care if Carrie hooks up again with Mr. Big on Sex and the City because InformationWants To Be Free even while Knowledge Is Power. Revolution is not an AOL Keyword.
There will be no final pictures from inside the World Trade Center in the instant replay. There will be no final pictures from inside the World Trade Center in the instant replay.
There will be no RealVideo of 2600-reading, Linux-booting white hat hacktivists And Mickey Mouse in the public domain. The theme song will not be written by Jack Valenti or Hilary Rosen, nor sung by Metallica, Dr. Dre, Christina Aguilera, Matchbox 20, or Blink-182. Revolution is not an AOL Keyword.
Revolution will not be right back after Pop-up ads about eCommerce, eTailers, or eContent. You will not have to worry about a Cookie in your browser, a bug in your email, or a Worm in your recycling bin. Revolution will not run faster with Intel inside. Revolution, dude, is not getting a Dell.Revolution will increase your Google rank.
Revolution is not an AOL Keyword, is not an AOL Keyword, Is not an AOL Keyword, is not an AOL Keyword. Revolution will be no stream or download, dear Netizen; Revolution must still be live.

origionally found at
http://journalism.berkeley.edu/projects/biplog/archive/000748.html

Tuesday, August 02, 2005

demo's

I've been thinking about it and most games from the early 80's to early 90's were only really big if they had a free demo. Makes me wonder if there is anything to that? Alot of those games like doom and wolfenstein got really big and there latter day counterparts have gotten equally as big. Many people bought doom (me included) mostly off the buzz and the fact that it was a recognized name from so many years ago.