Month: March 2019

  • When you throw in the towel on declarative

    When you throw in the towel on declarative

    I’ve talked a lot recently about the declarative versus imperative viewpoints. Its the Lilliput vs Blefuscu of our time. Its the vi versus emacs saga. Today I ran into a scenario that I just threw in the towel on. I had a largish yaml file (~300 lines) that is actually a config to a container…

  • Gitlab via the API: prepare a repo with automatic deploy keys and protected branches/tags

    Gitlab via the API: prepare a repo with automatic deploy keys and protected branches/tags

      You have a whole mess of gitlab repo. You want to make them ready to use (protect master so only accepts merge, protect v* tags to prevent overwrite version, add a deploy key). And you are lazy. Have I the tool for you. First, make sure you have python-gitlab installed: pip3 install –upgrade python-gitlab…

  • Ancient wisdom of books?

    Ancient wisdom of books?

    Dan Brown has made a pretty decent career along the lines of “find a book with missing ancient wisdom, mayhem ensues, starring tom hanks” (with 1 paragraph cliff-hanger chapters). The theme of ‘someone smart wrote it down and then we forgot it’ gives value to those ancient books.