a tumblelog
21 Feb 2020

Quickly seeing the age of your branches

Have you ever asked yourself 'how old are all my branches?'. I have not, and it's not a common question. But recently someone did ask me how to find this out. You can of course dig through history manually, but where's the fun in that? I prefer to use our good friends: the plumbing commands.

Source: Quickly seeing the age of your branches, an article by Dennis Kaarsemaker.

Type Witnesses in Haskell

If you read articles that describe some advanced type-level stuff in Haskell or other languages with a similar type system, chances are that you have come across this thing called ‘type witness’ or ‘runtime evidence’. In this post, we will be trying to gain an understanding of what the heck it is.

Source: Type Witnesses in Haskell, an article by Sandeep Chandrika.

Flask RCE Debug Mode

Flask is a very popular Python library for creating websites and APIs. I personally use it a lot in my projects and I see it deployed in production environments as well. When software engineers are developing applications they often enable debug mode for testing purposes. If this mode is enabled on production servers it can lead to remote code execution (RCE).

Source: Flask RCE Debug Mode, an article by Alex Thomas.