Page 17 of 25

Re: Super Challenge 2016-17 DISCUSSION THREAD

Posted: Wed May 10, 2017 1:44 pm
by rdearman
On a brighter note, I have managed to get a test version of the super challenge bot up and running. So it is being packaged up, and as soon as we work out how to proxy multiple websites from this server, then we'll be in business.

Re: Super Challenge 2016-17 DISCUSSION THREAD

Posted: Wed May 10, 2017 5:00 pm
by Faleyle
Allison wrote:I noticed today that it's the exact halfway point through the Super Challenge. How's everyone doing?

I'm doing a full Spanish Challenge, and I'm behind, but not so behind that it's impossible to catch up.


I signed up for two full challenges: Spanish and French. I have no problem to finish the Spanish one. I have half the amount of films and books needed. However, I am completely behind for French as I only started this month. I try to catch up for films, but I know it is impossible to read that many books.

Re: The Super Challenge rules and registration 2016-2017

Posted: Sat May 20, 2017 4:41 pm
by Aozora
Any idea when the website will be up again?

Re: The Super Challenge rules and registration 2016-2017

Posted: Sat May 20, 2017 5:19 pm
by tomgosse
Aozora wrote:Any idea when the website will be up again?

If you mean http://forum.language-learners.org, it has been up for a while. :)
Please not, the web site starts with http://, not https://. I hope that this helps.

Re: The Super Challenge rules and registration 2016-2017

Posted: Sat May 20, 2017 5:24 pm
by Aozora
tomgosse wrote:
Aozora wrote:Any idea when the website will be up again?

If you mean http://forum.language-learners.org, it has been up for a while. :)
Please not, the web site starts with http://, not https://. I hope that this helps.

I mean the Super Challenge site, with everyone's progress charts and such.

Re: The Super Challenge rules and registration 2016-2017

Posted: Sat May 20, 2017 5:26 pm
by tomgosse
Aozora wrote:
tomgosse wrote:
Aozora wrote:Any idea when the website will be up again?

If you mean http://forum.language-learners.org, it has been up for a while. :)
Please not, the web site starts with http://, not https://. I hope that this helps.

I mean the Super Challenge site, with everyone's progress charts and such.

Sorry about that. What is the url for the super challenge site?

Re: The Super Challenge rules and registration 2016-2017

Posted: Sat May 20, 2017 9:20 pm
by Aozora
tomgosse wrote:Sorry about that. What is the url for the super challenge site?

This one here http://sc2016-17.language-learners.org/

Re: The Super Challenge rules and registration 2016-2017

Posted: Sun May 21, 2017 9:57 am
by rdearman
Aozora wrote:
tomgosse wrote:Sorry about that. What is the url for the super challenge site?

This one here http://sc2016-17.language-learners.org/

This is a problem at the moment. I don't know how technical you are, but I'll give the explanation for (hopefully) both laymen and technical people. I do want to say that I turned the tweet reader portion of the bot back on and it is reading your tweets and sticking them into the DB, it is just the display which isn't working at the moment.

Because we got hacked by a code injection attack on the old server we've had to migrate the services to a different machine. The new machine is on the Amazon Cloud and provides us with a ton of benefits like faster database access and other things. As part of this migration to the new server we decided to change the way we do business. The main change was to recreate the services as docker instances. A docker container is an open source software development platform. Its main benefit is to package applications in “containers,” allowing them to be portable among any system running linux. They are also self-contained so a problem with one container (or hack) doesn't effect the others. With docker containers we can deploy the website quickly after change to the code, additional plugins, or rebuild and go backonline within minutes of getting attacked.

So every site we sponsor, the forum, the blog and the super challenge site has to be packaged up into it's own container. We've done this packaging up, for most of the sites. But there are a couple of problems with this migration to using docker containers, which we need to overcome. The first is to run independent website containers on the same machine you need a proxy server which will look at the incoming request and decide which container should respond to your request. We'll shortly be putting this live, so that problem will be overcome. So you type in one of our addresses, and the proxy server will redirect it to the right place for you.

The second issue, and this is the one which currently effects the super challenge bot, is because the container is isolated, if you want to schedule a job to run (like picking up your tweet scores periodically) then you need access to the scheduling service on the main server, or you have to create your own scheduling service in the docker instance. So I've been working on linking the superchallenge bot tweet reader into a cron scheduler. Unfortunately life has intervened and I've spent the last couple of weeks travelling around Europe and haven't had much time to work on the docker container.

BTW if you are technical and want to look at this, the source code is on Github and you need to look at the docker fork: https://github.com/language-learners/superchallengebot
You can create your own twitterbot and contribute!

So the upshot of this all is after emk figures out the proxy, and I figure out the scheduler (crontab) then we'll get them all put back online. I do apologise for the delay in getting this back online.

Re: The Super Challenge rules and registration 2016-2017

Posted: Sun May 21, 2017 10:23 am
by Serpent
Thanks a lot. Can you delete the tweets @ itself to stop the loop?

Re: The Super Challenge rules and registration 2016-2017

Posted: Sun May 21, 2017 5:01 pm
by rdearman
Serpent wrote:Thanks a lot. Can you delete the tweets @ itself to stop the loop?

It was looping because someone was putting the @superchallengebot in quotations, I asked them to stop and it seems ok.