Posts

Showing posts from February 6, 2019

Parmenion

Image
Parmenion (also Parmenio ; Greek: Παρμενίων ; c. 400 – Ecbatana, 330 BC) was an ancient Macedonian general in the service of Philip II of Macedon and Alexander the Great. [1] A nobleman, Parmenion rose to become Philip's chief military lieutenant and Alexander's Strategos (military general). He was assassinated after his son Philotas was convicted on a charge of treason. [2] Contents 1 Military service to Philip II 2 Military service to Alexander 3 Campaign against the Persian Empire 4 Death of Parmenion 5 In fiction 6 References 7 External links Military service to Philip II During the reign of Philip II, Parmenion achieved a great victory over the Illyrians in 356 BC. Ten years later, Parmenion destroyed the southern Thessalian town of Halos. He was one of the Macedonian delegates appointed to conclude peace with Athens in 346 BC, and was sent with an army to oversee Macedonian influence in Euboea in 342 BC. [1] In 336 BC Phillip

Unable to Order Data Chronologically Using Cloud Firestore

Image
0 I understand that Cloud Firestore does not automatically order data sequentially. I have created a value, which is essentially the epoch converted to hours. I want to order data by this value for my Query: Query queryStore = FirebaseFirestore.getInstance() .collection(POLLS_LABEL) .orderBy("epoch", Query.Direction.DESCENDING); I am finding that my data is not being ordered as I am hoping. Unsure if I need to add a special annotation to my code, but I would imagine it is as simple as the above. Below is my model: @com.google.firebase.firestore.IgnoreExtraProperties public class Poll { private String question; private String image_URL; private String user_ID; private String display_name; private int vote_count; private Long epoch; private long trend_score; @S