Making LaTeX Bearable

Introduction LaTeX is the de-facto standard way to typeset documents in the broader mathematical community. Basically every important mathematical journal is using LaTeX to typeset their documents and thus by extent they accept submissions fully typeset in LaTeX. And it’s quite obvious why. LaTeX’s quality is outstanding. Especially in the way it typesets mathematical equations: $$ \mathrm{i}\hbar\frac{\partial}{\partial t}\psi = \hat{H}\psi $$ Consider an even more complex example: $$ (\mathcal{F} f)(y) = \frac{1}{\sqrt{2\pi}^n}\int_{\mathbb{R}^n}f(x)e^{-iy\cdot x}\mathrm{d}x $$...

May 12, 2024 · Moritz Sokoll

Rust Error Handling

Error handling is hard rusts error handling is substantially different from other languages. For a quick comparison let’s look at a python example: try: # code that fails except: # what happens when code fails This approach, although intuitive, leaves some important flaws. Namely: Unhandled errors may occur Errors are propagated implicitly, not explicitly, which can lead to some unwanted behavior If your try-block ends up containing multiple parts of code that could fail you have to handle each of them separately How rust handles errors If you have used rust before you’ll already know what comes up....

May 5, 2024 · Moritz Sokoll

Hugo

What is hugo? Hugo is a static site generator written in go. It is the main program powering this website. Being a static site generator what it does is read a bunch of markdown files and some theme and configuration files as input and produce a fully static website as output. This makes it great for personal websites and especially blogs where you don’t have to deal with user-generated content....

April 14, 2024 · Moritz Sokoll