I did the same thing at UCSB 10 years ago to constantly poll for seats opening up in a class. This was back when GOLD was a primitive web interface that was clearly screen-scraping an IBM AS/400 terminal app. I used python and twill--put values into forms (no JavaScript and the form IDs never changed), login, search for the class, and scrape.
How I Hacked My University's Registration System with Python and Twilio
101–110 of 163 posts
Re: How I Hacked My University's Registration System with Python and Twilio
#102Earlier quoted context omitted.
Put the phone number in front of a domain for each carrier, a list is here. https://github.com/WilliamFCipriano/FreeSMS/blob/master/data...
Thanks, this hack (if it's a hack) looks interesting.
Re: How I Hacked My University's Registration System with Python and Twilio
#103Earlier quoted context omitted.
How to do that?
Put the phone number in front of a domain for each carrier, a list is here. https://github.com/WilliamFCipriano/FreeSMS/blob/master/data...
https://martinfitzpatrick.name/list-of-email-to-sms-gateways...
Re: How I Hacked My University's Registration System with Python and Twilio
#104Earlier quoted context omitted.
My university switched to that for some (mostly optional) classes. This resulted in a lower attendance rates because as a student you end up registering for pretty much everything instead of one or two classes you really want. There was a system in place to fill the empty seats with students still in the waiting queue by the second session but most students already got into other classes and just didn't remove themse…
Okay, so what about this: Students rank their course preferences in an order and submit it. For each course, free seats are first allocated to the students who ranked it as their first choice, then what is left to the students who ranked it as a second choice, and so on until the round n and there are less seats available than people who ranked the course as their n th choice: the remaining seats are allocated by a l…
"All students are given an equal amount of points per semester to bid for modules... The allocation of modules is based on the lowest successful bid points against the last available quota for the module at the end of each bidding round. If supply (module quota) exceeds demand (number of bidders) for a module for any bidding round, the lowest successful bid will be 1 bid point. If there is a tie in the lowest successful bid points, the outcome will be based on first-come-first-served. Unsuccessful bidders will be fully refunded. Any unused bid points after each round will be carried over to the next bidding round or to the next semester at the end of the registration exercise."
Re: How I Hacked My University's Registration System with Python and Twilio
#105Need to be careful about this one. A student at my alma mater was suspended for doing the same thing: https://www.reddit.com/r/ucf/comments/xo5ye/ucf_student_pena... You have to love the education system...
In your example, he was charging for the service, which was against the terms of use of the web site he was scraping. So in general, do be sure to not violate a site's terms, but I don't see what that point has to do with your final comment...
Re: How I Hacked My University's Registration System with Python and Twilio
#106Earlier quoted context omitted.
In your example, he was charging for the service, which was against the terms of use of the web site he was scraping. So in general, do be sure to not violate a site's terms, but I don't see what that point has to do with your final comment...
What a horrible university. If a system is so bad that people will pay for the improvements, they are doing it wrong.
Re: How I Hacked My University's Registration System with Python and Twilio
#107I was in the US and want to immigrate to Canada because of US broken H1B immigration system ( for me it will take 9 years to get a greencard). Here is what I did - The immigration website of Saskatchewan province opens up randomly to apply for immigration. I missed it many times because there is no indication other than the "Apply" button being enabled and a small text in their homepage which says "Applications are n…
Nice story, and great that Twilio worked out for you - but this really is the sort of thing that email alerts (or IM alerts, or IRC alerts) should also work fine for. I would argue that the fact that you find SMS/phone calls a more urgent alert is a fault with your phone/communication setup - and twilio is an interesting hack around that. But there really should be an easy way to make just as much ruckus from a simpl…
Re: How I Hacked My University's Registration System with Python and Twilio
#108For the curious, if you just want to one-off this for yourself, you probably don't need twilio to do it. Most carriers have a special domain that if you send email with the recipient's phone number, it turns into a text. I've got Verizon and its as simple as this from the command line: echo 'Text message text' | mail -s 'Subject will display in braces in the message' -a 'From: Myserver@Mydomain.com' 'number@vtext.com…
Is the SMS free? If not, who pays for it?
Re: How I Hacked My University's Registration System with Python and Twilio
#109For the curious, if you just want to one-off this for yourself, you probably don't need twilio to do it. Most carriers have a special domain that if you send email with the recipient's phone number, it turns into a text. I've got Verizon and its as simple as this from the command line: echo 'Text message text' | mail -s 'Subject will display in braces in the message' -a 'From: Myserver@Mydomain.com' 'number@vtext.com…
Is the SMS free? If not, who pays for it?
Re: How I Hacked My University's Registration System with Python and Twilio
#110Earlier quoted context omitted.
Nice story, and great that Twilio worked out for you - but this really is the sort of thing that email alerts (or IM alerts, or IRC alerts) should also work fine for. I would argue that the fact that you find SMS/phone calls a more urgent alert is a fault with your phone/communication setup - and twilio is an interesting hack around that. But there really should be an easy way to make just as much ruckus from a simpl…
> I would argue that the fact that you find SMS/phone calls a more urgent alert is a fault with your phone/communication setup Doesn't the asynchronous nature of an IM make it less urgent than a synchronous phone call?