Greetings, judges
I’m
Alex Papageorgiou, or as some of you may know me, the cheerful Greek guy with the impossible last name. After last week’s long awaited Judge Center relaunch turning into a spectacular show of fireworks, I felt now would be a good time to introduce our very own, much smaller judge tech widget!
It all started with
Elli’s idea: “Hey, I’m putting all of Greece’s event in a calendar every month, couldn’t we like, automate it? It is 2017 after all”. I mean, her wording may not have been exactly that, but that was what I heard. And so it began…
MtgEventToCal is a small Java application, hosted on
github . What it does is take a list of stores, using their wizards event locator links, visit them, filter the events (PPTQs only for now) and then create the equivalent events on the provided Google Calendar. We plan to use it for the Greek event calendar but it could be much, much more. Regional PPTQ calendars, GPs, it could all be automated!
Prerequisites:
- Google account with calendar enabled
- Browser (well, you're reading this so…)
Instructions:
1) Go to https://calendar.google.com/calendar/render?pli=1#main_7%7Cmonth2) Add alexbotcentral@gmail.com to the calendar you wish it to make changes to. - Give it ‘Make changes to events’ permissions
Hint: You can also create another calendar if you want to leave your main one unaffected
3) Go to http://83.212.104.169:8889/4) Copy the calendar ID from your Google Calendar into the first field of the app5) Get the links to the stores you want. For reference, we copy paste our list from here:
https://blogs.magicjudges.org/greece/balkan_tos/6) Click insert and be patient (as in, 5-10 minutes or so patient)#FAQ
- Why Java when language/framework X is better for the task?
If you wanna make something else, be my guest. No really, pull requests are welcome. We wanted to use this as a learning experience first and foremost and to offer something to the community that created trouble to us previously.
- Why create it in this weirdly specific way?
Because it started with solving our own particular problem and we are working on generalizing the logic.
- Wow, your code looks so messy
Monastery Mentor
#Goals
-
We are currently on Swing for practice reasons - it should switch to JavaFX which at least looks like the 2010s instead of 2000s.
-
Use judge feedback and update suggestions to improve the front-end
- Make a simpler input method for the links
I hope this helps at least one of the people currently doing this task manually. Feel free to write to me or this thread for any problems encountered - I'm fairly horrible in writing documentation, so as soon as you come across I haven't covered, fire away!
Edited Alexander Papageorgiou (May 3, 2018 08:00:19 AM)