Skip Navigation
Building and distributing binaries
  • Glibc preserves backward compatibility, so if you build against the oldest version you want to support, the resulting binary will work with newer ones.

    However that's definitely not what I recommend to do. Better learn packaging and build native packages for distros you are going to support. OBS can make this a bit easier (if your software is FOSS), but any modern CI will also do the job.

  • The standard backup question
  • What kind of changes? Package installation, removal and configuration? Use apt-mark showmanual to save list of manually installed packages, dpkg --get-selections | grep 'deinstall$' to save list of removed packages, debconf --get-selections to save debconf package settings, backup files that you edited in /etc. This should be enough for restoration, wouldn't take a long time for backup and avoid risk of filesystem inconsistency.

  • SSH login without user name?
  • Technically, you always use a username, however in case of Gitlab that SSH username is always git. When an SSH client connects to server, it offers an authentication method. Gitlab accepts that method only if it is a publickey and the fingerprint of the offered key maps to the known Gitlab user.

  • text clarity on windows is so good, can I get the same on linux?
  • This is a correct recommendation, however in Debian-based distros you don't need to edit configuration files manually. Just pick some of preinstalled configs. They are installed in /usr/share/fontconfig/conf.avail and symlinked to /etc/fonts/conf.d.

  • Interfaces Are Not Meant for That
    preslav.me Interfaces Are Not Meant for That

    It's time to ask ourselves how much abstraction in our Go code really makes sense.

    Interfaces Are Not Meant for That
    0
    Markdown code blocks are broken

    What a hell is going on? I expect to see everything inside backticks exactly as I typed, but something happens to ''>" and "<" characters. In the preview everything is fine, but after submitting the post it breaks:

    • "<" → <
    • ">" → >
    • "<<" → <<
    • ">>" → >>
    • "<a>" → ``
    • "</a>" → ``
    4
    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/)BI
    bizdelnick @lemmy.ml
    Posts 4
    Comments 349