GOLANG

  • Removing Dead Code From DNSControl

    A few weeks ago I used the golang tool deadcode to find and remove unreachable code from the DNSControl project. I also fixed some unrelated unused parameter warnings. This was my first experience with the utility and it was a good experience.

    read more

  • Refactoring a Loop That Was Trying Too Hard

    I fixed bug last night.

    The bug was difficult to fix because the code was so complex. I wasn’t really able to fix it until I simplified the code. Once the code was simplified the bug was easy to fix. While doing this I found an anti-pattern that I now call “One loop trying too hard”.

    read more

  • A developer's view of umask

    There are a zillion pages explaining how umask works from the user’s point of view, usually with great charts and tables explaining all the bits.

    However in all my years I’ve never seen umask explained from the developer’s point of view. What do you provide to creat()/open()/mkdir() (in C) or os.OpenFile/os.Mkdir/os.MkdirAll (in Go) so that the user’s umask is in control.

    read more

Tom Limoncelli

Tom Limoncelli

Recent Posts


  1. Juneteenth
  2. Harris 2024
  3. Postcards for Democracy
  4. Mrs. Creiger Was Calm
  5. Pride Rocks – New Jersey

Archive


Categories


Tags


I agree that this website may store my data to personalize my journey in accordance with their Terms & conditions

Powered by Hugo | Theme - YesThatTheme © 2017 - 2024 Tom Limoncelli