News for hackers. Stuff that matters.

recentrecruit

Re:Some tiny personal programs I've written on Wednesday March 09, 2022 @03:24PM (#30619510)
Wrote a TI-83 program (TI Basic) for a geometry course in high school. About a month prior to the feared final exam, I combed through all of our coursework to catalogue all of the calculations needed then wrote a program that would solve for any query (length of side, angles, etc.) based on the shape and input data.

I read the operators guide to the device cover-to-cover and found a way to store the program such that the teacher's method of "clearing" the device would not remove my program.

On the day of the test I realized I had accidentally taught myself geometry, as I didn't need the calculator at all and could do the calculations in my head. I did, however, use the TI-83 to verify my answers before handing in the test. According to my teacher I not only had a perfect score but did so in record time, and suspiciously so did my two best friends.

Nothing ever came of it, but I enjoy the fact that I accidentally learned a course to such proficiency by trying to cheat.

Re:Some tiny personal programs I've written on Wednesday March 09, 2022 @03:15PM (#30619421)
Reminds me of "Project Thor" from my university days. Course registrations were online, but in phases, e.g. Seniors for a week, then Juniors for a week, and so down the line.

However, many students would snag a spot in a course only to drop it as they shuffled courses around. There existed a "queue" for the overflow, but it appeared to work as a CRON job or otherwise involved a human in the loop as one would routinely see:

Spanish 102 (Registered: (29/30), Queued:(60))

While in this state, one could simply click on the course and register, completely bypassing this poorly designed queue. So, naturally, I wrote a script to scrape the site on once a minute (hammering it, and so Project Thor) and alert me once a slot had opened up. Eventually provided this service to my friends as well.