tomwagg / gerald Goto Github PK
View Code? Open in Web Editor NEWA Slack bot for the UW astrograds
Home Page: https://www.tomwagg.com/html/gerald.html
A Slack bot for the UW astrograds
Home Page: https://www.tomwagg.com/html/gerald.html
Using the calendar and this package perhaps
Send a message to #random when a new emoji is created
Have a command that makes sure Gerald hasn't died
Replace the email birthday reminders with Slack messages
Command: Could you get me the 3 most recent papers from 0000-0001-6147-5761 please @gerald?
Results: The most 3 recent papers from 0000-0001-6147-5761 were published on the arXiv 2, 4, 3, ,, , 2, 5, 7, , a, n, d, , 2, 6, 7 days ago respectively. Here are the titles and links:
The arXiv date refers to the date it was submitted, not the date it is announced. We can work around this by doing a weekly summary instead.
I think we could get Gerald to do speaker dinners too. I'm imagining some new commands:
Gerald can then keep a CSV of all of the dinners and all of the hosts. He'll send out a reminder on the week of the dinner with the host and perhaps could also remind the channel if no one has signed up as host.
It seems like Gerald will currently announce papers both when they are submitted and accepted. I need to make him tell the difference and announce differently. Probably something like "here's the new papers...and here's a list of papers that got accepted...".
I think just checking the publisher returned by ADS should do this.
Either in response to sad messages or upon demand?
Just noticed that the whinetime message doesn't highlight the channel name. I mean you have to do something similar to @ ing someone.
Probably easiest to just look at an incoming message and copy the format, then use find_channel("whinetime")
to insert the right ID.
Gerald will reaction to tomorrow with :tom: - das not good
(I'll fix this with regexs)
If I write: "Wow this is fun :gerald-wink:"
He'll react as if I mentioned his name in the string. I think the easiest way to fix this is to blank out emojis in the text.
"When is ...'s birthday Gerald?"
Replace the email bot
He should probably come with instructions for future reference ๐
I think currently he'll get confused, I need to make him do something special for his own (I have the GIF ready)
I didn't handle the case for if someone has no papers yet!
I'm thinking a slash command where you submit an image and get an emoji out
Seems like I could just use the ads API to make it so people don't need to link/provide ORCIDs
This is just an idea, but I bet you could scrape all the slack messages and train a model that takes the text as input and then predicts/reacts with the appropriate emojis.
@jbirky suggested we could automate pizza in the same way as whinetime. I think I just need to make Gerald
@jbirky, let me know what exactly you had in mind and I'll get Gerald on it!
Probably just need to use a different separator in the file, maybe }?
Automated trawl of the arXiv, does it have an API?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.