Friedrich Ewald My Personal Website

Recent Posts


  • Go 1.18 supports generics

    Go (finally) supports generics in the version 1.18. My favorite editor, GoLand, took a while to fully adopt generics. I have played around with them over the past days and like them so far. Although almost nothing beats the simplicity of interface{}, I do like the warnings when the wrong type is being used. I am curious to see when the popular libraries adopt generics.

  • My minimal CoreDNS config

    I am using the following minimal CoreDNS config, savd as Corefile. This applies a one hour cache to all requests before forwarding the to the Google DNS servers. All requests are logged to stdout. In my setup this saves me about 20ms for every DNS roundtrip and improves my internet speed by quite a bit.

    . {
        cache 3600
        forward . 8.8.8.8:53 8.8.4.4:53
        log
    }
    

  • Free fonts for private and commercial use

    A few weeks ago I stumbled upon Fontshare. This website offers free fonts for private and commercial use and is worth checking out. From their terms:

    Fontshare fonts are 100% free for personal and commercial use, however, they�re not open-source and are governed by an ITF EULA. […]

  • Access private repositories in Go

    Good article how to access a private repository via go get. TLDR: For SSH access:

    $ git config --global url."[email protected]:".insteadOf "https://gitlab.com/"
    
    $ cat ~/.gitconfig
    [url "[email protected]:"]
     insteadOf = https://gitlab.com/
    

  • Sunday Afternoon in the Bay Area

    Sunday Afternoon in the Bay Area with clouds Last Sunday afternoon was cloudy, not very crowded but nevertheless good weather.

Page: 23 of 33