Debugging Our Computer Science Trivia Feature


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 22  
OK . I have opened up a limited stats page to guests (until I work out some bugs managing guests submissions based on a hash in the DB) and added an "chart" icon to the stats page in the trivia area.


Image
This User Gave Thanks to Neo For This Post:
# 23  
I saw an "answer bug" today on Chrome running on Linux.

This is the second "Chrome on Linux" bug I have seen.

I was going to disable trivia on Linux because of this bug, but one of our Mods who really likes to play said:

Quote:
Do not disable the feature for linux users Smilie It is really fun!
So, it's still enable on Linux due to special request. Smilie

Added bug notes to stats page:

Image

I will recode this to try to fix this occasional bug on Linux / Chrome a bit later.
# 24  
Update:

Decided not to go to fitness today and wrote some logging code to see if I can trap any JS or other errors which may cause an incorrect answers in the browser.
# 25  
Hmmmmm ..... well I think I fixed the bug in trivia.. and so far it looks great after over 100 flawless log file entries, but I will wait until 1000 to "call it done".

Today, I coded some I very extensive logging going on which confirms all (client and server side), with triple checks and more.... and there are zero errors so far.

So, if you get a chance to play trivia today, that will help testing.

We are close to 10,000 answers submitted since initial release.
# 26  
First Milestone!

10,000 Trivia Questions Total Answered

Image
# 27  
Update:

I have trapped the error which was causing an occasion error on the browser side and written code to prevent it.

The issue was related to users playing trivia with multiple web pages open in the browser on a single computer.
# 28  
Update and Status:
  • We now have over 960 quality questions in the DB.
  • There has been over 10,600 submissions to date.
  • The number of user submissions is rising steadily so far, reaching 1.14 QPS today.
  • The prior bug, based primarily on browsers with multiple windows open, has been squashed.
  • Guests currently submit trivia answers 13 times more than registered members.
  • The average score of all guests is 64.7%.
  • The average score of all registered users sans Neo is 69.1%.

TODO (Low Priority Overall):
  1. Build leaderboards for (1) countries and (2) guests based on guest user hashes.
  2. Build leaderboards for registered users: Low priority since guests playing trivia far outnumber registered users.
  3. Write code to integrate into for badging system: Low priority since guests playing trivia far outnumber registered users.
  4. Add around 37 more questions to bring the DB total questions to 1000. (Update: DONE)
  5. Enhance summary stats page with more meta statistics.

Basically, I'm just about done with this first alpha release; with just a bit more UI work to do.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #134
Difficulty: Easy
Linus Torvalds is known for disagreeing with other developers strongly and calls himself a 'really unpleasant person'.
True or False?

6 More Discussions You Might Find Interesting

1. What is on Your Mind?

1000+ Computer Science Trivia Questions at UNIX.COM

The UNIX and Linux Forums now has over 1000 TRUE / FALSE computer science and computer related trivia question in our database. These questions are of relatively high quality (compared to similar sites on the web) and are fun (according to feedback by users). In the first week during the... (1 Reply)
Discussion started by: Neo
1 Replies

2. What is on Your Mind?

Forum Trivial Pursuit - New Computer Science and Mathematics Trivia for UNIX.com

I have added a new experimental "Computer Science and Mathematics Trivia - True or False" section in the discussions, currently under the tags box. In the future, I plan to Expand this feature to add more trivia categories from math, science and technology. Keep track of correct and... (20 Replies)
Discussion started by: Neo
20 Replies

3. Web Development

Is Web Development is a part of computer science ?

I am now a student in university in 2nd year. I am studying computer science. But I am not sure what type of jobs computer science provide. I know some of them are software programming or network management. Recently, I hear some about Web Development. I wonder if it is a part of computer... (3 Replies)
Discussion started by: Anna Hussie
3 Replies

4. Programming

Is Web Development is a part of computer science ?

I am now a student in university in 2nd year. I am studying computer science. But I am not sure what type of jobs computer science provide. I know some of them are software programming or network management. Recently, I hear some about Web Development. I wonder if it is a part of computer science.... (1 Reply)
Discussion started by: Anna Hussie
1 Replies

5. What is on Your Mind?

Computer Science and Information Technology

Hi, I haven't posted on the forums for a while now, I tried to find the most appropriate section for this post, but if this is in the wrong section please forgive me. First, let me say I'm a sophomore in HS. I know that job wise I definitely want to do something in computers. A while ago I was... (5 Replies)
Discussion started by: hpicracing
5 Replies

6. UNIX for Dummies Questions & Answers

xterm trivia

Thanks Livin Free... Here's another one... Why is it that I always get the error message "Error: Can't open display:" in my mail whenever I execute or try to call an xterm command using cron to activate the command. What did I miss? Thanks in advance UNIX gurus... (3 Replies)
Discussion started by: jfsuminist
3 Replies

Featured Tech Videos