jpgoelz / AdventOfCode

This contains my efforts to completing the AdventOfCode puzzles.
1 stars 0 forks source link

Heading changes with selection in dropdown menu #5

Closed jpgoelz closed 5 years ago

jpgoelz commented 5 years ago

In the React App, if you change the tag in the drop-down menu, the headline of the solution will also change, while the solution remains the same.

mfbieber commented 5 years ago

Oh. Yes. Will fix that.

jpgoelz commented 5 years ago

Would it make sense to query all available days and parts with their solutions at once into multidimensional arrays (for example), so the interface is faster and shows them without the need to click Go!?

mfbieber commented 5 years ago

AOC-005: Heading changes with selection in dropdown menu

mfbieber commented 5 years ago

The interface is actually very fast. The calculation will be slow in other puzzles. Right now it looks slow, because I used a timeout before the GO button actually retrieves the data (to be able to see the loading circle). For persistence see: https://github.com/basseur/AdventOfCode/issues/9

jpgoelz commented 5 years ago

Since I am currently working on my dissertation, I will not be able to make an informed decision at this point. I would have to get into this topic and do not know many different databases, or at least not their pros and cons. So far I have only worked with MySQL in my PHP years. As for the rest, I still have a lot to read (or learn by doing) before I really know what it's all about.

mfbieber commented 5 years ago

Postgres would be the one I would yo with. Haven't heard of anybody using MySQL with Java...and I would definetly not go with something like Oracle DB or some crazy enterprise things ;). A different approach would be to pick something different than SQL databases...such as Graph-DB or noSQL DB...I would go with the simplest SQL choice: PostgreSQL :)

jpgoelz commented 5 years ago

I did not intend to suggest MySQL by that anyways. ;) Your suggestion sounds good, so let's go with that!