Python textwrap – Fix Your Multiline Strings Indentation

I’ve been writing a lot in python the last couple of months and most of my code is for a CLI oriented environment (Mostly Linux/Unix shell).

One of the most important things when you create CLI is the help and usage string – Mostly because other people will try to use it – But lets face it, that script you’ve written a month ago? You’ve probably completely forgotten how it works.

So writing help or usage usually means that you work with an external file or multiline string. Continue reading Python textwrap – Fix Your Multiline Strings Indentation

UEFI + GPT for windows – Why so difficult

The first time I’ve laid my eye on a server with UEFI was couple of years ago. My work place bought new IBM servers and they kept crushing down mid boot or taking a very long time to boot.
I asked myself why use this new replacment for BIOS? Why do we need it – especially back then when the UEFI was very young and not that stable.

The real reason back then (to my knowledge) was the Nehalem architecture which benefited faster boot, 2T+ hard drive support and better memory access.
As said I didn’t like it back then.

Don’t take me wrong – UEFI is the future Continue reading UEFI + GPT for windows – Why so difficult