Automating File Creation With Jinja2 Templates in Python
Kiran Jonathan
Research Software Engineer
Do you find yourself writing files with the same structure over and over and over again? Are you using clunky bash scripts with sed everywhere to automate your file creation? Jinja2 provides a lightweight and simple templating infrastructure in Python to help you automate the creation of ordered, structured text files, and works really nicely with other unordered inputs like yaml, dataclasses, and more.
Graphs: Ruining the Travelling Salesman's Day Since 1930
A tour of graph algorithms and classic problems in computer science, from traversal and shortest paths to the Travelling Salesman Problem.
What the hell is a Monad?
Monads are one of the most powerful tools in functional programming languages, yet widely misunderstood as an unexplainable and over-abstracted whimsy only describable as "monoids in the category of endofunctors."