Super Challenge Bot Enhancements

Discuss technical problems and features here
User avatar
Yuurei
Green Belt
Posts: 266
Joined: Tue Oct 20, 2015 8:57 am
Languages: German (N), English, French, Japanese, Spanish, Latin, Italian
Studying: Japanese, Chinese, Korean
Maintaining: French, Spanish
Language Log: viewtopic.php?f=15&t=1721
x 554

Re: Super Challenge Bot Enhancements

Postby Yuurei » Sun May 01, 2016 6:26 am

There seems to be a little problem with the participant pages on the SC website. It shows the following warning everywhere:

Code: Select all

Warning: Division by zero in /home/xgipubli/public_html/sc2016-17/participant.php on line 341
0 x

User avatar
rdearman
Site Admin
Posts: 4728
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 11272
Contact:

Re: Super Challenge Bot Enhancements

Postby rdearman » Sun May 01, 2016 9:53 am

Yuurei wrote:There seems to be a little problem with the participant pages on the SC website. It shows the following warning everywhere:

Code: Select all

Warning: Division by zero in /home/xgipubli/public_html/sc2016-17/participant.php on line 341

OK, there was a problem with the code which calculated the dates and the amount of books you'll read. This worked before the 1st of May because the days remaining in the challenge were zero, and you can divide zero by zero, but not any other number. Why it didn't occur to me to look at the actual numbers I don't know. Anyway I've just rolled back 1 version and I'll fix that when I get back from the Polyglot conference, it doesn't effect the functioning of the bot.
1 x
: 6 / 100 100 Italian paperbacks:
: 306 / 75000 Output Challenge 2019 (普通话写作):

Lollygagging Podcast available on iTunes

User avatar
Serpent
Black Belt - 3rd Dan
Posts: 3419
Joined: Sat Jul 18, 2015 10:54 am
Location: Moskova
Languages: heritage
Russian (native); Belarusian, Polish

fluent or close: Finnish+ (certified C1), English; Portuguese, Spanish, German+, Italian+
learning: Croatian+, Ukrainian, Czech; Romanian+, Galician; Danish, Swedish
exploring: Latin, Karelian, Catalan, Dutch, Chaucer's English
+ means exploring the dialects/variants
x 4581
Contact:

Re: Super Challenge Bot Enhancements

Postby Serpent » Sun May 01, 2016 10:10 am

No big deal but:

Registration : #register, #swedish/#french/#it/#ru/etc
Tags in brackets are optional.
Example: "@langchallenge I'm going to #register and study #French for the Language Challenge."


I think the optional tags were referring to the old half/super duper/only listening/etc options. Anyway, the current version has no optional registration tags.
(I know some people actually thought these brackets in general are important :?)
0 x
LyricsTraining now has Finnish and Polish :)
Corrections welcome

User avatar
rdearman
Site Admin
Posts: 4728
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 11272
Contact:

Re: Super Challenge Bot Enhancements

Postby rdearman » Sun May 01, 2016 3:10 pm

Serpent wrote:No big deal but:

Registration : #register, #swedish/#french/#it/#ru/etc
Tags in brackets are optional.
Example: "@langchallenge I'm going to #register and study #French for the Language Challenge."


I think the optional tags were referring to the old half/super duper/only listening/etc options. Anyway, the current version has no optional registration tags.
(I know some people actually thought these brackets in general are important :?)

What would I change it to?
0 x
: 6 / 100 100 Italian paperbacks:
: 306 / 75000 Output Challenge 2019 (普通话写作):

Lollygagging Podcast available on iTunes

User avatar
Serpent
Black Belt - 3rd Dan
Posts: 3419
Joined: Sat Jul 18, 2015 10:54 am
Location: Moskova
Languages: heritage
Russian (native); Belarusian, Polish

fluent or close: Finnish+ (certified C1), English; Portuguese, Spanish, German+, Italian+
learning: Croatian+, Ukrainian, Czech; Romanian+, Galician; Danish, Swedish
exploring: Latin, Karelian, Catalan, Dutch, Chaucer's English
+ means exploring the dialects/variants
x 4581
Contact:

Re: Super Challenge Bot Enhancements

Postby Serpent » Sun May 01, 2016 4:23 pm

Just remove the "tags in brackets are optional" line or move it to another section :D
0 x
LyricsTraining now has Finnish and Polish :)
Corrections welcome

User avatar
Serpent
Black Belt - 3rd Dan
Posts: 3419
Joined: Sat Jul 18, 2015 10:54 am
Location: Moskova
Languages: heritage
Russian (native); Belarusian, Polish

fluent or close: Finnish+ (certified C1), English; Portuguese, Spanish, German+, Italian+
learning: Croatian+, Ukrainian, Czech; Romanian+, Galician; Danish, Swedish
exploring: Latin, Karelian, Catalan, Dutch, Chaucer's English
+ means exploring the dialects/variants
x 4581
Contact:

Re: Super Challenge Bot Enhancements

Postby Serpent » Sun May 01, 2016 4:25 pm

also...
If you read a really long book, it will automatically be split into the appropriate number against your score.

I think this stems from when a 500-page book counted as two :D over 50 pages is not "really" long haha :lol:
0 x
LyricsTraining now has Finnish and Polish :)
Corrections welcome

User avatar
kanewai
Green Belt
Posts: 383
Joined: Fri May 22, 2015 9:10 pm
Location: Honolulu
Languages: Native: English
Active: French, Italian, Spanish, Arabic
Inactive: Turkish, Indonesian, Pááfang
Very Inactive: Latin, Ancient Greek
x 1253
Contact:

Re: Super Challenge Bot Enhancements

Postby kanewai » Mon May 02, 2016 1:58 am

ayudarme! The bot thinks #01 is Moldavian, and #family-romance is Persian. How are you guys managing to log your families?
0 x
Santiago Posteguillo, Las legiones malditas: 65 / 100
Victor Hugo, Quatrevingt-treize: 95 / 350
Italo Calvino, Marcovaldo: 65 / 150
L.L. Arabic: 15 / 30
Margaret Atwood, The Testaments: 300 / 415

User avatar
Serpent
Black Belt - 3rd Dan
Posts: 3419
Joined: Sat Jul 18, 2015 10:54 am
Location: Moskova
Languages: heritage
Russian (native); Belarusian, Polish

fluent or close: Finnish+ (certified C1), English; Portuguese, Spanish, German+, Italian+
learning: Croatian+, Ukrainian, Czech; Romanian+, Galician; Danish, Swedish
exploring: Latin, Karelian, Catalan, Dutch, Chaucer's English
+ means exploring the dialects/variants
x 4581
Contact:

Re: Super Challenge Bot Enhancements

Postby Serpent » Mon May 02, 2016 2:23 am

I had the same thing with #family-romanian, but #01 worked just fine :?
seems like the issue was actually with the #movies tag. as I said, you can safely exclude Moldovan. It's even less different than Serbian and Croatian.
0 x
LyricsTraining now has Finnish and Polish :)
Corrections welcome

jeffers
Orange Belt
Posts: 201
Joined: Sat Aug 22, 2015 4:12 pm
Location: UK
Languages: Speaks: English (N), Hindi (A2-B1)

Learning: The above, plus French (A2-B1), German (A1), Ancient Greek (?), Sanskrit (beginner)
Language Log: https://forum.language-learners.org/vie ... =15&t=7991
x 392
Contact:

Re: Super Challenge Bot Enhancements

Postby jeffers » Mon May 02, 2016 4:21 pm

This isn't a huge problem, but the bot has already given me a 2 week streak for French because it recorded my first tweet as occurring on Saturday. The bot's time is evidently "a little further to the west" as Cuthbert Calculus always said.
0 x
Fresh new progress bars for the 2018-19 Super Challenge:
Fr books: 14 / 100films: 24 / 200
Hi books: 0 / 50films: 0 / 50

User avatar
rdearman
Site Admin
Posts: 4728
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 11272
Contact:

Re: Super Challenge Bot Enhancements

Postby rdearman » Mon May 02, 2016 5:03 pm

jeffers wrote:This isn't a huge problem, but the bot has already given me a 2 week streak for French because it recorded my first tweet as occurring on Saturday. The bot's time is evidently "a little further to the west" as Cuthbert Calculus always said.

Don't worry, consider it a freebie.
1 x
: 6 / 100 100 Italian paperbacks:
: 306 / 75000 Output Challenge 2019 (普通话写作):

Lollygagging Podcast available on iTunes


Return to “Technical Support and Feature Requests”

Who is online

Users browsing this forum: No registered users and 1 guest