Wednesday, May 30, 2007

Log review

Was reviewing my logs this morning and found several interesting messages in the log files. Plus a lot of e-mail from my router with it's logs. I had a lot of attempts to send mail through my mail server. All comming from the same IP address. All failures to get verified. It looks like it was a plain name attack, probably user name password user name attack.

Did an ARIN who is search on the IP address. Pretty blatant on who the IP address is registered to.

Xspedius needs to secure their servers it looks like or should I say Time Warner according to their web page.

http://www.xspedius.com/



Search results for: 199.227.101.138
Xspedius Communications Co. ESPIRE-11BLK (NET-199-227-0-0-1)
199.227.0.0 - 199.227.255.255
Hacker, Johnson and Smith HACKER-200507121536883 (NET-199-227-101-136-1)
199.227.101.136 - 199.227.101.143

# ARIN WHOIS database, last updated 2007-05-29 19:10
# Enter ? for additional hints on searching ARIN's WHOIS database.

Friday, May 25, 2007

World Simulation Update 25-May-2007

Completed two simulations this past week. I made some changes to the rabbit model as a result of the simulation.

The population didn't peak until 114,000. Not too odd, I really didn't know expect what to expect for the population peak. The collapse leveled out at 40k rabbits. Too many rabbits, unless it was a giant rabbit farm. I adjusted how much a rabbit ate every day. Each increase gave diminishing returns on how much the population dropped. I ended with the rabbits consuming 5 times more than what it was before. This reduced the population by 4 times. The rabbit population averaged about 10k or roughly 1 rabbit per cell Other changes that I made resulted in only small drops that would eventually increase to 10k over time. It just left a higher vitality rate. Still high, but then there isn't any competition for food. I threw in 20 predators at the end and then 40. No changes in the average population, just changes in the wavelength of the population waves.

The second simulation ran faster. I left the rabbit feeding rate unchanged from what I raised it to in the first simulation. The population peak was only 40k this time. I slowly implemented the number of predators into the simulation. First 40 day, then 80, then 120. As you can see the wavelength of the population increases with more predators in the system. apparently 120 predators hit a crossover point. Vitality started going up population growth was barely positive. Vitality growth was not faster than pop growth though. This eventually led to another collapse. This time the collapse left the rabbit population at a level where it couldn't support the predators population.

The predators are very simple they eat 1 rabbit every day. I still need to work on the animal objects and do the coding for the fox so that it is tied down to a cell and can only see so much of the world around him.

I think I'm going to increase the world size from 1 sq km to 10 sq km. That translates to over 1 mil cells. It should be large enough so that when I start to add larger herbavoirs, they will be supported in large enough populations.

Labels:

Thursday, May 17, 2007

World Simulation Update 17-May-2007

Work has been taking up a lot of my time. I've managed to expand the world size from 100 cells to 10,000 cells. So the world is now 100x bigger than before. So I'm up to the equivalent of 1 square kilometer or a Hectare.

I took a shortcut on the display since I haven't had time to work on it. It sends all of the information for the 10,000 cells. No Google map style scrolling. This translates to a very long load time, epically right now with almost 100,000 rabbits in the world. At home with a local connection it takes over 5 minutes. I can't imagine what the timing would be for going out on my DSL connection.

The current simulation has been running for 2 days and has not peaked for the mass die off of the rabbits. I've made a few changes to the database. I added an index on the animal table. When you only have a few thousand rabbits an index doesn't help much. When you have tens of thousands of rabbits an index does help a lot.

I'm estimating that I am now getting at least 300 updates a second. Each rabbit makes at least two updates to the database per cycle, plus the weather update for the land. My estimate should be low since my timing also includes vacuuming the database and running a query that gathers the stats at the end of each day cycle.

After the die off, I'll let the simulation run for a few thousand days. Enough to go through 5-6 die off cycles. I'll then introduce the predator effect on the rabbits. We'll see what effect the predator will have on the simulation. I'll just need to make sure that my daily predator feeding rate doesn't exceed the average minimum daily birth rate. I don't know at this time whether to include a death rate since all of the rabbits tend to die from starvation before they reach an old age and this first predator simulation will eat the oldest rabbit first.

I still need to work on the animal object definition. The expanding of the world has caused me to take another look at how to handle the data being stored on the land, and what information needs to be stored.

Labels:

Monday, May 07, 2007

Web Server Dieing

Looks like the web server is starting to die. The current Web Server is a P3 933Mhz Machine that I built as a gaming machine in 2001. It has served various functions after being retired from gaming, my first real attempt at Linux, my first postgreSQL database, first perl scripts, first e-mail server, first web server.

I had already made plans to replace the machine. The targeted replacement machine has been generating Hard Drive errors recently. This was the database server, before I upgraded the DB and upgraded from FC4 to FC6. It was easier to upgrade another machine and move everything over to the new OS with no real down time. It was during my first attempt of moving the web server over to this machine that I discovered the hard drive errors. I thought I had configuration issues with FC6 and ftp. Just turned out to be vsftpd was no longer available due to hard drive issues.

Thursday, May 03, 2007

What happens in fight club stays in fight club.

One of the Developers for WWII has a blog. Sometimes, some of the WWII online players take things a little too far and forget what the blog is intended for.

Some people will never change I just hope it doesn't drive him out of blogging.

reminds me of the Scorpion and the Frog