IgniteNYC: How to Replace Yourself With a Very Small Shell Script

21
How to replace yourself with a very small shell script. Hilary Mason http://www.hilarymason.com

Transcript of IgniteNYC: How to Replace Yourself With a Very Small Shell Script

Page 1: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

How to replace�yourself with �a very small�shell script.

Hilary Mason http://www.hilarymason.com

Page 2: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

146 minutes per day?1

1 Statistics Canada, http://www.statcan.gc.ca

Page 3: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

Getting Nothing Done

Page 4: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

I can fix this ...with code!

Page 5: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

Early attempt: e-mail summarization

Hey Hilary,

Iʼm recovering nicely. Can you believe I had swine flu?

Sorry we had to cancel the visit. Is there another Saturday this month that will work for you? Maybe the 28th?

Hugs, Jenny

[email protected]:I’m recovering nicely.Sorry we had to cancel the visit.Maybe the 28th?

Incominge‐mail

iscondensedto

SMSandWAP

Page 6: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

FAIL: easily abused!

Hi Hilary,

love,

Kevin [email protected]: bitch bitch bitch bitch bitch bitch bitch bitch bitch bitch bitch bitch love, Kevin

Ar6ullydesignede‐mail

istranslatedto

unfortunateSMS

Page 7: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

solutions must� be invisible

Page 8: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

Dealing with�Other People

Page 9: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

Script: Nag Bot Hi [you],

I hope all is well. Did you happen to get a chance to look at [thing]?

Cheers,

Hilary

Page 10: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

Nag Bot First nag, 5-7 days, weekdays only Second a week later Third two weeks after that If no response after two months, e-mail to me

Boosted eventual response rate to 98%

Page 11: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

Script: FAQ

incoming: will it be on the exam? <compose: yes, it will be on the exam>

incoming: will it be on the exam? <compose: yes, it will be on the exam>

incoming: will it be on the exam? <compose: yes, it will be on the exam>

Page 12: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

Response Suggestor

Tracks N-grams in messages and suggest responses that were sent to others.

Workflow: compose once, then copy+edit

Reduce time by ~60%

Page 13: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

YOUR SITE IS DOWN * are you free right now? * I’m trying to send you money… * your favorite celebrity just died! * DID YOU SEE YOUR SITE IS DOWN * did you forget you were supposed to …? * I need that doc ASAP * your test results are in * you got the job! * YOUR SITE IS STILL DOWN * this is a problem * THIS IS YOUR MOTHER * you got paid! * up for lunch? * we’re out of coffee * grades are due * a package just arrived for you * your book is on amazon! * THIS IS YOUR MOTHER AGAIN

some e-mail is �very important

Page 14: IgniteNYC: How to Replace Yourself With a Very Small Shell Script
Page 15: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

Script: Importance Classifier

1. Checks inbox every 3 minutes 2. Evaluates each new message 3.  If important, sends an alert

No worrying!

Page 16: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

Problem: Remember Me?

Page 17: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

Script: Finding Patterns

(in progress)

Page 18: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

Problem: Following Everyone

Page 19: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

Script: Subgroup Trends and Suggested Tweets

Global trends, local trends

Page 20: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

Short and sweet.

Page 21: IgniteNYC: How to Replace Yourself With a Very Small Shell Script

Thank you!

Hilary Mason [email protected]

@hmason http://www.hilarymason.com

Class on document classification in Python – Dec 6 - http://spamfilter.eventbrite.com