Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Division notifier- Get a text when divisions are released (http://www.chiefdelphi.com/forums/showthread.php?t=136486)

forbes 08-04-2015 22:33

Division notifier- Get a text when divisions are released
 
Since last year's notifier is not running this year, I decided to make my own.

championship.evanforbes.net

It works for any phone number that can receive texts in the USA or Canada.

I made it rather quickly, so if anything goes wrong or you have any questions just let me know.

ThunderousPrime 08-04-2015 22:45

Re: Division notifier- Get a text when divisions are released
 
Thank you very much, I signed up and there were no bugs for my Andtoid phone.

MaGiC_PiKaChU 08-04-2015 23:20

Re: Division notifier- Get a text when divisions are released
 
seems to work in Canada! :D

forbes 08-04-2015 23:22

Re: Division notifier- Get a text when divisions are released
 
Quote:

Originally Posted by MaGiC_PiKaChU (Post 1468006)
seems to work in Canada! :D

Excellent, thanks for testing.

dcarr 08-04-2015 23:53

Re: Division notifier- Get a text when divisions are released
 
Looks good. Might want to redirect port 80 to port 3000. Simple to do with iptables.

forbes 08-04-2015 23:55

Re: Division notifier- Get a text when divisions are released
 
Quote:

Originally Posted by dcarr (Post 1468018)
Looks good. Might want to redirect port 80 to port 3000. Simple to do with iptables.

Thanks. Port 80 is already in use by the guy who owns the server unfortunately. Is there any way around that?

dcarr 09-04-2015 00:29

Re: Division notifier- Get a text when divisions are released
 
Quote:

Originally Posted by forbes (Post 1468019)
Thanks. Port 80 is already in use by the guy who owns the server unfortunately. Is there any way around that?

Sure, with virtual hosts this is not a problem. Is this node.js? You can run alongside nginx or apache by setting up a virtualhost that proxies to node.js. Lots of info on Stack Overflow about this depending on your exact configuration.

forbes 09-04-2015 00:34

Re: Division notifier- Get a text when divisions are released
 
Quote:

Originally Posted by dcarr (Post 1468033)
Sure, with virtual hosts this is not a problem. Is this node.js? You can run alongside nginx or apache by setting up a virtualhost that proxies to node.js. Lots of info on Stack Overflow about this depending on your exact configuration.

Yes it is node.js. Thanks for the information, I'll look into this more tomorrow if I have time.

jds2001 09-04-2015 00:36

Re: Division notifier- Get a text when divisions are released
 
Requiring a team number is sort of weird. My team won't be attending CMP this year (I'll be there volunteering though), so I just put in a bogus team number that will.

What usefulness is having the team number?

forbes 09-04-2015 00:45

Re: Division notifier- Get a text when divisions are released
 
Quote:

Originally Posted by jds2001 (Post 1468039)
Requiring a team number is sort of weird. My team won't be attending CMP this year (I'll be there volunteering though), so I just put in a bogus team number that will.

What usefulness is having the team number?

In the text message it will tell you which division that team is in. Whether or not that's useful... I don't know.

Team numbers for teams that aren't registered are still accepted and will get a generic divisions are out message.

forbes 09-04-2015 19:51

Re: Division notifier- Get a text when divisions are released
 
Quote:

Originally Posted by dcarr (Post 1468018)
Looks good. Might want to redirect port 80 to port 3000. Simple to do with iptables.

It turns out at my university port 80 doesn't allow outside connections for some reason.

forbes 11-04-2015 21:38

Re: Division notifier- Get a text when divisions are released
 
Fun stats: There are about 280 people signed up to be notified so far from 172 different teams.

forbes 14-04-2015 01:01

Re: Division notifier- Get a text when divisions are released
 
Small update:

With almost 600 people requesting notifications, I was concerned about the amount of time it will take to send all the texts. It takes 1 second per text, which would mean the last people wouldn't be notified until ~10 minutes after I received all the divisions.

I went ahead and added a second phone number so that the notifications can be sent in ~5 minutes. This means you may receive the notification from a different phone number than was used to send your verification code.


Is ~5 minutes fast enough?

MaGiC_PiKaChU 14-04-2015 01:14

Re: Division notifier- Get a text when divisions are released
 
Quote:

Originally Posted by forbes (Post 1470632)
Small update:

With almost 600 people requesting notifications, I was concerned about the amount of time it will take to send all the texts. It takes 1 second per text, which would mean the last people wouldn't be notified until ~10 minutes after I received all the divisions.

I went ahead and added a second phone number so that the notifications can be sent in ~5 minutes. This means you may receive the notification from a different phone number than was used to send your verification code.


Is ~5 minutes fast enough?

you mean to tell me i have to wait 5 minutes? yeah i guess :rolleyes:

JB987 14-04-2015 01:19

Re: Division notifier- Get a text when divisions are released
 
The High Roller team motto is "It's not enough"... :) But certainly appreciated!


All times are GMT -5. The time now is 14:22.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi