Super Challenge Bot Enhancements

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

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: 2342
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
French (studies), Italian (studies), Mandarin (studies),
Esperanto TAC (Only god knows why), Finnish (only in it for the cookies)
Language Log: viewtopic.php?f=15&t=1836
x 4732
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

User avatar
Serpent
Black Belt - 2nd Dan
Posts: 2336
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 2975
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
: 2 / 40 Budva na pjenu od mora: 3rd season (Croatian/Montenegrin)
LyricsTraining now offers Catalan, Turkish and Japanese romaji

User avatar
rdearman
Site Admin
Posts: 2342
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
French (studies), Italian (studies), Mandarin (studies),
Esperanto TAC (Only god knows why), Finnish (only in it for the cookies)
Language Log: viewtopic.php?f=15&t=1836
x 4732
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

User avatar
Serpent
Black Belt - 2nd Dan
Posts: 2336
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 2975
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
: 2 / 40 Budva na pjenu od mora: 3rd season (Croatian/Montenegrin)
LyricsTraining now offers Catalan, Turkish and Japanese romaji

User avatar
Serpent
Black Belt - 2nd Dan
Posts: 2336
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 2975
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
: 2 / 40 Budva na pjenu od mora: 3rd season (Croatian/Montenegrin)
LyricsTraining now offers Catalan, Turkish and Japanese romaji

User avatar
kanewai
Orange Belt
Posts: 149
Joined: Fri May 22, 2015 9:10 pm
Location: Honolulu
Languages: Native: English
Super Challenge Romance (French, Italian, Spanish, and sometimes Latin)
Inactive: Turkish, Arabic, Bahasa Indonesian, Chuukese (Micronesian)
x 371
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
Louis Aragon, Aurélien: 230 / 700
FSI French, revisited: 15 / 24

Carlos Ruiz Zafón, La sombra del viento: 375 / 500
FSI Spanish: 41 / 55

Elena Ferrante, Storia del nuevo cognome: 288 / 480

User avatar
Serpent
Black Belt - 2nd Dan
Posts: 2336
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 2975
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
: 2 / 40 Budva na pjenu od mora: 3rd season (Croatian/Montenegrin)
LyricsTraining now offers Catalan, Turkish and Japanese romaji

jeffers
Orange Belt
Posts: 146
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: viewtopic.php?f=15&t=2612
x 267

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
Fr books: 7 / 100films: 90 / 200
De books: 1 / 50films: 6 / 50
Hi books: 0 / 50films: 2 / 50
Gr books: 0 / 50films: 0 / 50

User avatar
rdearman
Site Admin
Posts: 2342
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
French (studies), Italian (studies), Mandarin (studies),
Esperanto TAC (Only god knows why), Finnish (only in it for the cookies)
Language Log: viewtopic.php?f=15&t=1836
x 4732
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


Return to “Technical Support and Feature Requests”

Who is online

Users browsing this forum: No registered users and 1 guest