03-04-2020
Hello Neo,
Thanks a TON for making this BOT, this is an awesome experience. I played it for 20 mins or so on Telegram.
It is FUN. Appreciate your dedication and hard work here; I wish I could also do this kind of coding someday
On side note, I think I replied 30 to 40 answers
Thanks,
R. Singh
This User Gave Thanks to RavinderSingh13 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
cfsndserv
CFSNDSERV(6) cfsndserv CFSNDSERV(6)
NAME
cfsndserv - crossfire client sound server
DESCRIPTION
getzone adjusts and mixes sounds before playing them
USAGE
getzone none - started automatically by crossfire client
CONFIGURATION OPTIONS
~/.crossfire/sndconfig can contain the following options:
stereo
1 means stereo sound, 0 - mono
bits
bitrate of generated sound - 8 or 16
signed
if we should sent signed data to the soundcard. 1 means yes.
frequency
speed of playing data. This should be 11025, or sound pitch will change
buffers
how many buffers to allocate
buflen
how big the buffers should be. buffers*buflen shouldn't be smaller than the longest sound to be played.
simultaneously
home many sound can be played at the same time. When this setting is bigger, each sound volume will decrease.
HOW DOES IT WORK
?
The sound server gets information about sounds to be played on standard input.
The information is a line: <sound number> <sound type> <relative x> <relative y> All those numbers are hex. The file ~/.crossfire/sounds
contains description of sound numbers and types. For example:
3 0 5 0
Means that normal sound SOUND_FUMBLE spell should be played as it's source was5 units to the right of player.
Sounds are mixed in special buffers, which are in fact one buffer, which should be big enough for the biggest sound to be played.
The buffers, if contain anything, are sent one by one to the sound device. Each buffer is cleaned after playing.
Sounds data is multiplied by some ratio (<1) evaluated from it's position and volume and added to the buffers, starting from the next after
the one being played.
So bigger buffer means bigger delay, before th sound is actually played, but the smaller buffer is, the bigger is possibility, we won't
succeed filling the next buffer, before last is played.
SEE ALSO
crossfire(1)
http://crossfire.real-time.com
AUTHOR
Jaakko Niemi put this page together for Debian packages by cutting
and pasting from README file of crossfire-client.
3rd Berkeley Distribution 2002-02-23 CFSNDSERV(6)