03-04-2020
Update:
Thanks to a few people starting to play (and nezabudka and Ravinder above), I just added the
/score command.
This way, everyone can easily see their overall score (percentage), total correct and total trivia questions answered (Telegram trivia only, does not include any scores / stats from web play).
Now, it
should be even more fun
. Scores!!!
LOL
(... and the scores are all "private" at the moment with no plans to create a public scoreboard at this time....)
This User Gave Thanks to Neo For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. What is on Your Mind?
I'm currently looking into ways to integrate the Telegram API into the forums:
Telegram Bots - Bot Code Examples
I'm thinking, first off, to use the Telegram API to get forum alerts and notifications (to Bot or Not?).
Second, I thinking of ways to more deeply integrate Telegram into the... (5 Replies)
Discussion started by: Neo
5 Replies
3. What is on Your Mind?
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
4. What is on Your Mind?
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
5. What is on Your Mind?
Thanks to Akshay, who helped me write the core MySQL queries, we now have two new draft leaderboards, by (1) member and by (2) country:
https://www.unix.com/trivia_stats.php
Currently milhan leads the members with a high score of 90%:
... (3 Replies)
Discussion started by: Neo
3 Replies
6. What is on Your Mind?
Only a few days after I coded this new feature from scratch, we are seeing over 3000 entries in the database from members (mostly guests) playing CS trivia.
I have spend a lot of time coding this (from scratch) and testing the API. From the logs, it seems to have an API bug which appears... (31 Replies)
Discussion started by: Neo
31 Replies
7. What is on Your Mind?
Today marks another milestone in the computer trivia app:
100,000 Computer Trivia Questions Answered by Users
Some notes to mention at this milestone:
vbe leads the "best score" category with 320 questions answered for an overall score of 91.2%.
rdrtx leads "most questions answered"... (0 Replies)
Discussion started by: Neo
0 Replies
8. What is on Your Mind?
I have just completed the first phase of integrating all these devices and technologies:
MQTT, Node-RED, Linux, Apache2, MySQL, PHP, Telegram, ESP32, ESP8266, and the Arduino Uno
The glue that binds all this together is MQTT. In fact, MQTT makes this kind of integration nearly trivial to... (1 Reply)
Discussion started by: Neo
1 Replies
9. What is on Your Mind?
Just noticed that our successful computer trivia feature (stats here) has surpassed over 50,000 questions answered by users:
https://www.unix.com/trivia_stats.php
This was a coding effort worth while and I'm pleased to see so many people enjoying it in such a short time since it was released... (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT DEBIAN
bio::searchdist
Bio::SearchDist(3pm) User Contributed Perl Documentation Bio::SearchDist(3pm)
NAME
Bio::SearchDist - A perl wrapper around Sean Eddy's histogram object
SYNOPSIS
$dis = Bio::SearchDist->new();
foreach $score ( @scores ) {
$dis->add_score($score);
}
if( $dis->fit_evd() ) {
foreach $score ( @scores ) {
$evalue = $dis->evalue($score);
print "Score $score had an evalue of $evalue
";
}
} else {
warn("Could not fit histogram to an EVD!");
}
DESCRIPTION
The Bio::SearchDist object is a wrapper around Sean Eddy's excellent histogram object. The histogram object can bascially take in a number
of scores which are sensibly distributed somewhere around 0 that come from a supposed Extreme Value Distribution. Having add all the scores
from a database search via the add_score method you can then fit a extreme value distribution using fit_evd(). Once fitted you can then get
out the evalue for each score (or a new score) using evalue($score).
The fitting procedure is better described in Sean Eddy's own code (available from http://hmmer.janelia.org/, or in the histogram.h header
file in Compile/SW). Bascially it fits a EVD via a maximum likelhood method with pruning of the top end of the distribution so that real
positives are discarded in the fitting procedure. This comes from an orginally idea of Richard Mott's and the likelhood fitting is from a
book by Lawless [should ref here].
The object relies on the fact that the scores are sensibly distributed around about 0 and that integer bins are sensible for the histogram.
Scores based on bits are often ideal for this (bits based scoring mechanisms is what this histogram object was originally designed for).
CONTACT
The original code this was based on comes from the histogram module as part of the HMMer2 package. Look at http://hmmer.janelia.org/
Its use in Bioperl is via the Compiled XS extension which is cared for by Ewan Birney (birney@ebi.ac.uk). Please contact Ewan first about
the use of this module
FEEDBACK
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to one
of the Bioperl mailing lists. Your participation is much appreciated.
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address
it. Please include a thorough description of the problem with code and data examples if at all possible.
Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the
web:
https://redmine.open-bio.org/projects/bioperl/
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
add_score
Title : add_score
Usage : $dis->add_score(300);
Function: Adds a single score to the distribution
Returns : nothing
Args :
fit_evd
Title : fit_evd
Usage : $dis->fit_evd();
Function: fits an evd to the current distribution
Returns : 1 if it fits successfully, 0 if not
Args :
fit_Gaussian
Title : fit_Gaussian
Usage :
Function:
Example :
Returns :
Args :
evalue
Title : evalue
Usage : $eval = $dis->evalue($score)
Function: Returns the evalue of this score
Returns : float
Args :
_engine
Title : _engine
Usage : $obj->_engine($newval)
Function: underlyine bp_sw:: histogram engine
Returns : value of _engine
Args : newvalue (optional)
perl v5.14.2 2012-03-02 Bio::SearchDist(3pm)