General > Off Topic
Personal news
Botsareus:
Btw: Grats on the new job.
spike43884:
Mhm, have a ticket submission where you submit ONLY the code, it runs it in a simulation in some far away computer, or the cloud? Then via a link you can search bots and find the positions of them and the bots above/below them? It'd thus include every bot efficiently as well?
Numsgil:
--- Quote from: spike43884 on April 09, 2015, 10:10:03 AM ---Mhm, have a ticket submission where you submit ONLY the code, it runs it in a simulation in some far away computer, or the cloud? Then via a link you can search bots and find the positions of them and the bots above/below them? It'd thus include every bot efficiently as well?
--- End quote ---
My thinking was that a web crawler/spider could go through all the bots in the bestiary. So you'd only need to submit a bot to the bestiary and it'd get run somewhere. That's mildly hard thing #1, as I don't have any experience with crawlers/spiders, and extracting out the code for bots is not as easy as it could be because there's no common template followed.
Running the leagues could happen in theory on the web server, but we'd need to be very careful to throttle the CPU so it doesn't make the site less responsive. It's thankfully not IO bound so the only resource we'd really have to throttle is CPU, and that could work with a process priority flag I think. But DB2 isn't set up to be run from the command line and certainly not from a linux box natively. That's mildly hard thing #2.
Then you'd want to post the results to a webpage and keep it updated. The page isn't hard but extracting out the info from DB2 might be, depending on how much of the league text files still get used. So mildly hard thing #3.
spike43884:
--- Quote from: Numsgil on April 09, 2015, 01:19:18 PM ---
--- Quote from: spike43884 on April 09, 2015, 10:10:03 AM ---Mhm, have a ticket submission where you submit ONLY the code, it runs it in a simulation in some far away computer, or the cloud? Then via a link you can search bots and find the positions of them and the bots above/below them? It'd thus include every bot efficiently as well?
--- End quote ---
My thinking was that a web crawler/spider could go through all the bots in the bestiary. So you'd only need to submit a bot to the bestiary and it'd get run somewhere. That's mildly hard thing #1, as I don't have any experience with crawlers/spiders, and extracting out the code for bots is not as easy as it could be because there's no common template followed.
Running the leagues could happen in theory on the web server, but we'd need to be very careful to throttle the CPU so it doesn't make the site less responsive. It's thankfully not IO bound so the only resource we'd really have to throttle is CPU, and that could work with a process priority flag I think. But DB2 isn't set up to be run from the command line and certainly not from a linux box natively. That's mildly hard thing #2.
Then you'd want to post the results to a webpage and keep it updated. The page isn't hard but extracting out the info from DB2 might be, depending on how much of the league text files still get used. So mildly hard thing #3.
--- End quote ---
My point of ticket submissions is just to solve the no common template, beastiary can stay to share bots to other users...Possibly an access through the league results to, as [SOME] people like to explain their bots more for other people...Just reserve some CPU usage for the website, or as leagues run in background just give it priority so check how much the website will demand to function smoothly(ish) then leave the rest over to the leagues?
Extracting info from leagues...Have a webpage with a table, column 1 is bot name, column 2 is creator, column 3 date submitted, column 4 a link to the code of it, column 5 the score it got (maybe Nrg of all the bots of that species added together then divided by population? then it doesn't favour cancerous bots like the current leagues do)
Botsareus:
Numsgil:
--- Quote ---But again, my complete and absolute hatred of the current DB2 codebase makes this sort of moot anyway.
--- End quote ---
Why do you hate the current code so much? I hope it is not all my fault.
Although I can see why you might think my attempt at a port will fail because you hate the current code anyway.
Still, I would like to get some pointers from you on this when you have a chance.
P.S.
I feel like with all that went down here over the years we lost respect for one another and what put us together in the first place. We love to program systems that emulate biology. Unfortunately this is not as fun as it first seems as proven by PY and Eric leaving and no way to contact them. I did try to contact Eric on a couple occasions to help me out with IM with no luck.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version