• 1 Post
  • 7 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle
  • Elw@lemmy.sdf.orgtoLinux@lemmy.mlGolang on debian
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    Good article. I learned long ago that, at least the case of your development environment, it’s best to install the latest upstream release instead of just relying on the system provided version. Go makes doing this extremely easy relative to some other languages out there.


  • I’ve argued this for point for so many years and have become exhausted to the point where I don’t even bother any more.

    Free software advocates, God bless them, are fighting a good fight but we will never see the average computer user giving up functionality for the sake of some computing ideology; whether that ideology be free software, privacy or security focused. I’m glad some people are willing to do so as I believe strongly that the world would not be where it is today if it weren’t for it’s existence offer the last two or three decades. But the reality is that 90% of the world views computers, phones and tablets as tools; a means to achieving an end, not the end in and of itself. There may be some subset of people who are willing to give up some convenience or utility if they believe strongly enough in one of these ideologies, but most of them will never care about the license of their software as long as it gets the job done. But this is precisely why we need people who do care about these ideologies because software freedom ultimately is important and people do benefit from it. It just needs to be as good as, if not better than, it’s non-free counterparts


  • I recently started uses dotbot for managing dot files across my systems. It sounds very similar, in terms of the simplicity of the implementation, to yadm. You define a config file in yaml or json and run the “install” script which calls the dotbot utility, passing in your config file. With a simple change to the install script, I’ve been able to create multiple config files, one per environment (work, home, linux, mac, etc.) and I’ve been thinking about how I could automatically sync changes to git whenever I edit a config file. Leaning towards setting up an autocmd in neovim to automatically commit and push changes on save when I have one of the config files open. Just not yet sure how to do this in a way that would only run the sync for the configs and not every json or yaml file on my system. I’ve only ever set up autocmds for specific file extensions but the syntax leads me to believe it’s flexible enough that any arbitrarily specific file name or path could work the same.