Software developer in the West of Ireland. Can also be found at https://mastodon.ie/@lyda

  • 5 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: September 16th, 2023

help-circle



  • ls /usr/share/man/man?/* will show you all the man pages on your system. I used to pick ones at random.

    Originally there were a number of manuals. Manual 1 had user commands. Manual 2 had system calls. Etc. You can type man NUMBER intro to read about that manual. You can also use man -k or appropos but I've also just used grep. These days they're compressed so zgrep.










  • Kevin Lyda@programming.dev
    hexagon
    toGolang@programming.devMemoization in Go
    ·
    1 year ago

    I suppose I should be clearer on the features I want. I'd want to be able to store my cache in memcached or redis and I want the cached data to expire. So for one call, I might want to keep it for five minutes, but another one can stick around for 24 hours.

    The memorize package falls down there.