QueenBee: Difference between revisions

From Hive76 Wiki
Jump to navigationJump to search
(Created page with '==QueenBee== QueenBee is a Virtual Machine that lives on ''loud'', above the storage closet. It's intentions are to provide users who want to do physical computing within the spa…')
 
No edit summary
Line 3: Line 3:
===IRC Interface===
===IRC Interface===
QueenBee runs an IRC bot, aptly named QueenBee in #hive76. The bot is a python based bot called [http://inamidst.com/phenny/ Phenny]. Phenny is customizable via python modules in the ~/phenny/modules folder, and there is a guide to making modules [https://github.com/myano/jenni/wiki/How-to-create-a-phenny-module here.]
QueenBee runs an IRC bot, aptly named QueenBee in #hive76. The bot is a python based bot called [http://inamidst.com/phenny/ Phenny]. Phenny is customizable via python modules in the ~/phenny/modules folder, and there is a guide to making modules [https://github.com/myano/jenni/wiki/How-to-create-a-phenny-module here.]
QueenBee currently responds to several commands, listed below.  
QueenBee currently responds to several commands, listed below. Lines in light orange are Hive76-specific commands
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 17: Line 17:
|-
|-
| .in || <time> <reminder> || QueenBee will respond after <time> (which can be in seconds, minutes, hours, days, or weeks) to remind you of <reminder>.  
| .in || <time> <reminder> || QueenBee will respond after <time> (which can be in seconds, minutes, hours, days, or weeks) to remind you of <reminder>.  
|- style="background: #F7D358;"
| .lusers || &nbsp; || Returns the number of users connected to Freenode
|-
|-
| .py || <expression> || Uses a web-based python sandbox to evaluate <expression> and returns the result
| .py || <expression> || Uses a web-based python sandbox to evaluate <expression> and returns the result
Line 33: Line 35:
|-
|-
| QueenBee: || "<foreign phrase"? || QueenBee will attempt to translate <foreign phrase> using Google translate
| QueenBee: || "<foreign phrase"? || QueenBee will attempt to translate <foreign phrase> using Google translate
|-
| Example || Example || Example
|}
|}
QueenBee will also respond to several keywords with useful information, such as "mailing list?", "open house?", and "mmmm?". Currently QueenBee is capable of being interjected with commands form outside of phenny due to a module, waitForIt.py, that will be the basic for interjecting code into the bot from a physical command, such as button-press.
[http://www.hive76.org/irc Access #hive76 on IRC]
[http://www.hive76.org/irc Access #hive76 on IRC]
===Physical Interface===
===Physical Interface===
Currently QueenBee has no physical interface, as there is some difficulty in passing through a PCI device through Xen to the QueenBee VM. A solution is being worked upon.
Currently QueenBee has no physical interface, as there is some difficulty in passing through a PCI device through Xen to the QueenBee VM. A solution is being worked upon.

Revision as of 13:00, 16 November 2012

QueenBee

QueenBee is a Virtual Machine that lives on loud, above the storage closet. It's intentions are to provide users who want to do physical computing within the space the capabilities to do while interfacing with the other projects related to the space. Ideally, it could handle lighting, music, door access, beaconing, and any other projects we may think of. It's primary interface currently is via IRC.

IRC Interface

QueenBee runs an IRC bot, aptly named QueenBee in #hive76. The bot is a python based bot called Phenny. Phenny is customizable via python modules in the ~/phenny/modules folder, and there is a guide to making modules here. QueenBee currently responds to several commands, listed below. Lines in light orange are Hive76-specific commands

Command Argument What it Does
.c <math problem> Uses Google Calculator to solve <math problem>
.ety <word> Looks up the etymology of a word on etymonline.com
.g <search term> Returns the top Google result
.gc <search term> Returns the number of search results from Google
.in QueenBee will respond after
.lusers   Returns the number of users connected to Freenode
.py <expression> Uses a web-based python sandbox to evaluate <expression> and returns the result
.t <timezone> Returns the current time in EST, or <timezone> if specified
.title <link> Returns the title of the link
.u <character> Returns the unicode of <character>
.wa <question> Returns the Wolfram Alpha result of <question> - may have trouble parsing the JSON of more ambiguous questions
.wik <topic> Searches for <topic> on Wikipedia
QueenBee: tell <nick> <message> Will deliver <message> to <nick> when they become active again
QueenBee: "<foreign phrase"? QueenBee will attempt to translate <foreign phrase> using Google translate

QueenBee will also respond to several keywords with useful information, such as "mailing list?", "open house?", and "mmmm?". Currently QueenBee is capable of being interjected with commands form outside of phenny due to a module, waitForIt.py, that will be the basic for interjecting code into the bot from a physical command, such as button-press. Access #hive76 on IRC

Physical Interface

Currently QueenBee has no physical interface, as there is some difficulty in passing through a PCI device through Xen to the QueenBee VM. A solution is being worked upon.