[–] 4 points 1 year ago (1 child)

I'm not familiar with GUI development on XP, but could you accomplish this with a script that you run in the terminal? That might be easier than dealing with a GUI that needs to work on both old and modern systems.

You could alias it to a command like getGameKey your_search_query on both to keep the usage the same. You may need a slightly different command for each one (using find+grep on Linux, some Windows command line equivalent on XP)

  • source
  • [–] 3 points 1 year ago

    For the first question, I would base my search on things like the extensiveness of the results, authentication, pricing, usability, etc. If you don't have any specific criteria right away, try making a few calls and playing with it to see if it will be what you needed. Some APIs I'll find its missing this one thing that makes another api a better choice. This is something you'll get better at with experience.

    And no youre not expected to know all the tools, there are about an infinite out there. Generally youre expected to be familiar with some of the tools of the job but knowing more can't hurt either. Take things one thing at a time and make some simple project with what you've learned. That's how I do it anyways, but everyone is different.

  • source
  • [–] 2 points 1 year ago* (1 child)

    Or should I set up my handlers like it’s described at https://gin-gonic.com/en/docs/testing

    Yes, always try to follow the official instructions first.

    I know nothing about gin but have you tried https://gin-gonic.com/en/docs/testing/ or https://stackoverflow.com/q/41742988? (You have already talked about it, sorry)

    Also you commited the file epigo which is a binary that weighs 40 MB, you should probably remove that.

  • source
  • [–] 5 points 1 year ago*

    Since 2018 they're actually now The Republic of North Macedonia as per the Prespa Agreement between North Macedonia and the Hellenic Republic.

    Which really goes to illustrate your point about politics and show you can't rely on names to be permanent keys for joining anything.

  • source
  • parent
  • context
  • [–] 9 points 1 year ago* (1 child)

    Which country list will you use? Some countries are not recognized universally. Some countries have different names depending on where you are (Macedonia is known as Former Yugoslavic Republic of Macedonia in Greece and several other countries, mainly because Greece was being bitchy).

    The point is, there isn't one best practice because a country list is inherently political. And politics are always messy.

    But yeah, a FK to a countries table is reasonable. Good luck.

  • source
  • view more: ‹ prev