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 590

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: 7231
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 23123
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
: 0 / 150 Read 150 books in 2024

My YouTube Channel
The Autodidactic Podcast
My Author's Newsletter

I post on this forum with mobile devices, so excuse short msgs and typos.

User avatar
Serpent
Black Belt - 3rd Dan
Posts: 3657
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; Romanian, Galician; Danish, Swedish; Estonian
exploring: Latin, Karelian, Catalan, Dutch, Czech, Latvian
x 5179
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: 7231
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 23123
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
: 0 / 150 Read 150 books in 2024

My YouTube Channel
The Autodidactic Podcast
My Author's Newsletter

I post on this forum with mobile devices, so excuse short msgs and typos.

User avatar
Serpent
Black Belt - 3rd Dan
Posts: 3657
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; Romanian, Galician; Danish, Swedish; Estonian
exploring: Latin, Karelian, Catalan, Dutch, Czech, Latvian
x 5179
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: 3657
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; Romanian, Galician; Danish, Swedish; Estonian
exploring: Latin, Karelian, Catalan, Dutch, Czech, Latvian
x 5179
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
Blue Belt
Posts: 753
Joined: Fri May 22, 2015 9:10 pm
Location: Honolulu
Languages: Native: English
Active: Italian
Maintenance: Spanish, French
Priors: Chuukese (Micronesian), Indonesian, Latin, Greek (epic and modern), Turkish, Arabic
x 3219
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
Super Challenge - 50 books
Italian: 11 / 50
Spanish: 50 / 50
French: 16 / 50

User avatar
Serpent
Black Belt - 3rd Dan
Posts: 3657
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; Romanian, Galician; Danish, Swedish; Estonian
exploring: Latin, Karelian, Catalan, Dutch, Czech, Latvian
x 5179
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
Blue Belt
Posts: 848
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=19785
x 2774
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
Le mieux est l'ennemi du bien (roughly, the perfect is the enemy of the good)

French SC Books: 0 / 5000 (0/5000 pp)
French SC Films: 0 / 9000 (0/9000 mins)

User avatar
rdearman
Site Admin
Posts: 7231
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 23123
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
: 0 / 150 Read 150 books in 2024

My YouTube Channel
The Autodidactic Podcast
My Author's Newsletter

I post on this forum with mobile devices, so excuse short msgs and typos.


Return to “Technical Support and Feature Requests”

Who is online

Users browsing this forum: No registered users and 2 guests