Fork me on GitHub
  1. Naming Shell Scripts

    You're writing a shell script to do... something. Whatever it is, it will hopefully make your life easier in some way or other.

    But what do you call it?

    This touches on a pet peeve of mine. Whatever you do, do not call it somescript.sh. You should never use …

    Read more...


  2. Making SSH Easy

    SSH is great. But it does mean typing longer commands than you otherwise would have done.

    For example, if your local user name is joe but your user name on a remote server is jbloggs, then you have to specify the user name whenever you use SSH to communicate with …

    Read more...


  3. Using Bastion hosts with SSH

    Sometimes companies' security policies dictate the use of "bastion hosts": Hosts that you have to "jump through" to get to the network behind the host - i.e. you cannot connect directly to a host "behind" the bastion host.

    This does improve security a bit, but the most visible effect is …

    Read more...


  4. Christmas - the Danish way

    Although I live in the UK, I often get questions about what is different about Christmas the Danish way.

    Well - that deserved a blog post.

    First of all, Christmas in Danish is Jul - cognate to the old English word Yule - they're pronounced almost the same way.

    Keeping the pre-christian name …

    Read more...


  5. Good Passwords: Size Matters!

    Many places have password policies. And they often prescribe that your password MUST include things like:

    • UPPER case characters
    • lower case characters
    • digits
    • "special" characters

    The problem is: That advice is wrong.

    Or at least: the advice guides people towards difficult-to-remember passwords and it does not increase security.

    The single …

    Read more...


  6. About Java...

    Java is the COBOL of today.

    It is a language often used in education (fortunately nowadays Python is taking over there), but this just means that we have lots of “Java Programmers” with zero experience. And the only thing worse than a bad programmer is a bad programmer who thinks …

    Read more...


  7. Passwords Are BAD

    Password are awful.

    Unfortunately, it is the "least worst" solution to the problem of authentication in most cases.

    Sure, there are lots of other authentication methods out there, each with their own problems which (on balance) usually ends up being worse:

    Read more...