TypeScript instanceof vs a Type Guard

Posted on Wed 08 June 2022 in tech • Tagged with TypeScript, programming

I was recently horrified to discover that TypeScript instanceof does not support interfaces. Of course this begs the question of it's utility, however I digress. The solution is to use a type guard:

Solana Parsed Instruction vs PartiallyDecodedInstruction


History: Gaius Marius

Posted on Sun 05 June 2022 in history • Tagged with history, person

157- 86 BCE - Despite being an outsider, Marius became consul in 107 BCE. Marius' focus was on ending the Roman war in North Africa against Jugurtha and the Numidians. The plebian assembly voted to give Marius command of the army in Africa usurping the right of the Senate to control …


Continue reading

History: Tiberius and Gaius Gracchus

Posted on Sun 29 May 2022 in history • Tagged with definition, dictionary

Tiberius Gracchus, 163- 133 BCE, was a member of the nobiles. He was concerned with the shortage of military recruits, and attempted to create some reforms to improve the situation in Rome. Tiberius believed that the primary problems in Rome stemmed from the demise of the family farm, so he …


Continue reading

History: latifundia

Posted on Sun 22 May 2022 in history • Tagged with definition, dictionary

The latifundia were enormous farms administered by wealthy landed aristocrats. The latifundia were known for their wide use of slaves. The latifundia resulted in agricultural intensification as the wealthy landowners bought poor peasant farms. The latifundia primarily produced olives, wine, and sheep. Since Rome primarily conscripted military service from landowners …


Continue reading

History: nobiles

Posted on Sun 15 May 2022 in history • Tagged with definition, dictionary

A select group of wealthy and powerful families who tended to occupy the more important political offices, 133 BCE. Interestingly, nobiles consisted of both patricians and plebians showing the significant influence of wealth on the Roman power structure. The nobiles demonstrated the central power and control of as few as …


Continue reading

History: Hannibal

Posted on Sun 08 May 2022 in history • Tagged with history, person

246- 183 BCE - Hannibal Barca was a Carthaginian general who was sworn to hatred of Rome by his father, Hamilcar Barca. Hannibal lead Carthage in several successful battles against Rome in the Punic Wars. Hannibal marched across the Alps with a significant army built of Spanish natives, however there were …


Continue reading