Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)MP
Posts
2
Comments
580
Joined
2 yr. ago

  • I’ve seen code that look like this:

    int delay = 15 * 60; // 10 minutes

    Even if the comment was on the same line someone forgot to update it. People just ignore comments.

    Better solution is to write (in C#):

    TimeSpan delay = TimeSpan.FromMinutes(15)

    Much more obvious what the code actually means.

  • KDE Plasma and Gnome are different desktop environments. Kind of like the GUI of the desktop.

    Which is best is a matter of taste. I prefer KDE because of its customization options and better virtual desktop support.

  • blast!

    Jump
  • Learning about reflog was a game changer. Now I’m never afraid of breaking my branch. If I mess up, I can always git reset —hard to a previous state.

    Another game changer was learning that a perfectly valid way of doing squash is to do git reset to an earlier commit and then do git commit -a. Saves a lot of rebasing headache.

  • I’m feeling the opposite lately. YouTube recommendations suck. I often open the app/page for the quick dopamine rush, but few of the recommendations interests me, so I just bounce off. For me, YouTube is mostly for long form content nowadays. Something I can put in the background while cooking/doing dishes.

    Instagram is turning more and more like TikTok. Sometimes it recommends me something fun (like cat videos), but often it’s just nonsense. So I bounce off quite quickly there as well.

    I feel happy about it.