Author Topic: Status of IM mode  (Read 51774 times)

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Re: Status of IM mode
« Reply #60 on: September 09, 2014, 02:57:34 PM »
Bots, I could hack it into the python client. But that just feels bad.  :dry:
It might also cause some issues around transitions with summer time. (vb writes time,<timezone change>, python reads time)
Oh my god, who the hell cares.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Status of IM mode
« Reply #61 on: September 12, 2014, 01:41:11 PM »
Hey Peter,

I am giving you GMT from 1970 in seconds, is that cool?

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Re: Status of IM mode
« Reply #62 on: September 12, 2014, 02:43:03 PM »
It's perfect. :)

Oh my god, who the hell cares.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Status of IM mode
« Reply #63 on: September 12, 2014, 04:34:13 PM »
Give me a time line on the client side so I will know how urgently I should work on what I am working on now.

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Re: Status of IM mode
« Reply #64 on: September 12, 2014, 04:41:56 PM »
The client side won't be much of an issue. Server a bit more, I think I'll do that next weekend.
Oh my god, who the hell cares.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Status of IM mode
« Reply #65 on: September 13, 2014, 09:22:35 PM »
I can not wait to see the full source and learn some more python!  8)

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Re: Status of IM mode
« Reply #66 on: September 15, 2014, 04:47:02 PM »
It's not going to be a whole lot. Just some bits there and there and some 'joyful' messing in linux.
Oh my god, who the hell cares.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Status of IM mode
« Reply #67 on: September 19, 2014, 01:01:39 PM »
Peter, just letting you know as you are concerned with data load at this point. You may get some pretty sick load under the following conditions:

A.) Someone was stupid enough to set graph update interval to 1
B.) This person has a solid state drive
C.) This person is at least a 3Ghz cpu

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Re: Status of IM mode
« Reply #68 on: September 19, 2014, 01:16:20 PM »
Ah, yes also a good example.
I'll take that into account. I can run 8 threads at 3,3 GHz. Ought to be enough to test it properly. :)
Oh my god, who the hell cares.

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Re: Status of IM mode
« Reply #69 on: September 20, 2014, 11:02:51 AM »
Could you add the simid to the stats file name. Or anything, as long it's unique.

Running a second sim after the first one may overwrite the stats files based on just the cycle number. (which I've seen happen in the zip of MacadamiaNuts)
Oh my god, who the hell cares.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Status of IM mode
« Reply #70 on: September 20, 2014, 12:53:37 PM »
Did not unit test, should give you what you need.

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Re: Status of IM mode
« Reply #71 on: September 22, 2014, 04:51:01 PM »
New client, I think it works. New 'experimental' server is at port 4669.

You'll get the source later, I'll be cleaning the code a bit, making sure I don't have credentials or something lying around. :P
Oh my god, who the hell cares.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Status of IM mode
« Reply #72 on: September 22, 2014, 05:32:28 PM »
This will be awesome!  8) Although still not too happy it was done the FBI way. Anyway update soon. I have a mini-adventure tomorrow morning.
edit: I literally do not care where I am getting data from as long as it is solid.
« Last Edit: September 22, 2014, 05:41:20 PM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Status of IM mode
« Reply #73 on: September 24, 2014, 02:16:13 PM »
This looks amazing Peter!

Some questions:

When does the graph cut off data? That is, how long of a time span it tracks data for?

There is some weirdness going on if I try to resize in some browsers. Map repaints and such. Know the cause?

Some ideas:

I would prefer a separate graph that only logs repopulating robots. And possible a third that only logs non-repopulating.

I would also prefer two more graphs:

One that logs total simulation field size.
A graph that logs simulation run cycles per user, that is, how long a specific simulation has been running.

Some (optional) ideas:

It will be cool to have totals on everything e.g.

Total robot populations across all users.
Total repopulating populations.
Total non-repopulating populations.
Total simulation run cycles.

Keep up the awesome work!  :)

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Re: Status of IM mode
« Reply #74 on: September 24, 2014, 02:30:50 PM »
I said earlier bots didn't get stored. The reason is the format of the simId changed. From "simId":"14-09-2014 17-58-42" to "simId": "9-24-2014 1-39-27 PM"

edit: I removed the transform code around it, should stop the problem. With that also added a exception block, as it killed the insertion thread...

edit2: did you change something, or is that a localization thingy?

The graphs will be changed quite a bit. More,  better, faster. The sim you see is unlimited, and isn't a IM graph. But one of the sims of MacadamiaNuts. Purely intended if I can retrieve data properly.
« Last Edit: September 24, 2014, 02:43:16 PM by Peter »
Oh my god, who the hell cares.