all 5 comments

sorted by: hot top controversial new old
[–] 22 points 1 year ago (1 child)

It's CODE berg, not compile berg

  • source
  • hideshow 1 child comment
  • [–] 10 points 1 year ago (2 children)
  • 49 comments in c/linuxmemes@lemmy.world view that post
    [–] 88 points 1 year ago (2 children)

    or at least build instructions right?

  • source
  • hideshow 2 child comments
  • [–] 60 points 1 year ago (1 child)

    This is so on point.

    I get not wanting to compile your code. Its extra work and, if you're already catering to a very thech-savvy crowd, you can let them deal with the variance and extra compile time.

    BUT if you're releasing your code for others TO USE and you don't provide reproducible instructions, what's the point?!?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 77 points 1 year ago

    install.sh

    
    #!/bin/sh
    echo "compiling and running this mess is left as an  exercise to the reader."
    
    
  • source
  • [–] 44 points 1 year ago (2 children)

    bold of you to assume linux users run installers lol

  • source
  • hideshow 2 child comments
  • [–] 33 points 1 year ago (3 children)

    "here is a checksum of my /usr/lib folder, if yours differs from mine I can't provide installation support"

  • source
  • hideshow 3 child comments
  • [–] 12 points 1 year ago* (last edited 1 year ago) (2 children)

    here is a checksum of my /usr/lib folder

    That's actually not as trivial as it seems, because you need a canonical representation of that directory to generate such a thing in the same way on each side.

    You need to encode the metadata in a standard way, encode new data that shows up in a standard way, and various people can add more metadata to files: think like Posix ACLs or the immutable flag or whatever.

    Then there is maybe some metadata that you probably want to exclude, like atime (though not if you're something like rsync -U!), and some metadata that you almost-certainly want to exclude, like inode number.

    The OS's file APIs won't have a defined order in which they return entries in a directory. Like, they'll normally just return it in whatever order things come back from the filesystem, which is probably whatever is most-efficient for the filesystem in question, given how things are encoded on disk. If you sort the directory entries, then it can't be


    as is the case for most things on the system


    done in a locale-dependent fashion. Utilities like tar don't impose a canonical ordering, so you can't just dump the problems on tar by checksumming a tarball of the directory.

    EDIT: tar does appear to have a canonical ordering option today, though it also probably doesn't have the constraint of being backwards-compatible with metadata included, another thing that one would need for such a checksum if one were to leverage tar.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 1 year ago

    You need to

    Given it was a joke, I don't think you need to do anything...

    The OS’s file APIs won’t have a defined order in which they return entries in a directory

    Sorting is a thing :)

  • source
  • parent
  • [–] 23 points 1 year ago* (1 child)

    The correct response here is: I'm upstream. The distro guys do that.

  • source
  • hideshow 1 child comment
  • [–] 10 points 1 year ago

    Or just a plain no

    I sometimes will write something but I don't provide free support for random people on the internet. Just because I publish some code doesn't mean I'm actively working on it. I'm not about to drop everything for some jank program I made years ago.

  • source
  • parent
  • [–] 19 points 1 year ago (6 children)

    Here is an Appimage and Flatpak, go bug your distro maintainers if you want it packaged

  • source
  • hideshow 6 child comments
  • [–] 8 points 1 year ago (5 children)

    that's far preferable tbh. i'm much more likely to try out some piece of software if it does not require sudo to install.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 2 points 1 year ago* (last edited 1 year ago)

    If I ever publish a desktop programme, it will probably be like that TBH.

    Also IIRC Bottles only supports bug reports if they are reproducible in the Flatpak, which I think is a very reasonable way of handling it and would probably copy it.
    Chances are if the same version only has a bug when installed traditionally, you should be writing in Launchpad or something instead of the repo issue tracker.

  • source
  • parent
  • [–] 28 points 1 year ago (2 children)

    It’s called cargo install duh

  • source
  • hideshow 2 child comments
  • [–] 12 points 1 year ago (10 children)

    There's a dockerfile figure it out yourself.

  • source
  • hideshow 10 child comments
  • [–] 10 points 1 year ago (9 children)

    If you have a dockerfile, take the extra step of making the workflow that builds the container and pushes it to a registry somewhere.

  • source
  • parent
  • hideshow 9 child comments
  • [–] 0 points 1 year ago (4 children)

    That is way harder for little benefit

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 1 year ago (2 children)

    Way harder? It's one little file to create.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 1 year ago

    In my experience often detriment. Most of the images for projects that I have been encountering as of late - hell, most Dockerfiles that I've been encountering - have hardware-specific config and packages. I just want a Dockerfile or maybe a docker-compose.yaml that is hardware neutral by default and doesn't use the shitty throttled Dockerhub for its base image.

  • source
  • parent
  • [–] 10 points 1 year ago*
    gcc main.c
    

    - unity build gang

  • source
  • [–] 60 points 1 year ago (4 children)

    I DONT GIVE A FUCK ABOUT THE FUCKING CODE! i just want to download this stupid fucking application and use it https://github.com/sherlock-project/sherlock#installation

    WHY IS THERE CODE??? MAKE A FUCKING .EXE FILE AND GIVE IT TO ME. these dumbfucks think that everyone is a developer and understands code. well i am not and i don't understand it. I only know to download and install applications. SO WHY THE FUCK IS THERE CODE? make an EXE file and give it to me. STUPID FUCKING SMELLY NERDS

  • source
  • hideshow 4 child comments
  • [–] 48 points 1 year ago (2 children)

    Shame that it seems like people don't realize you're using a real issue someone opened on github as a copypasta.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 27 points 1 year ago

    Can be hard to tell.

    https://en.wikipedia.org/wiki/Poe%27s_law

    Poe's law is an adage of Internet culture which says that, without a clear indicator of the author's intent, any parodic or sarcastic expression of extreme views can be mistaken by some readers for a sincere expression of those views.[1][2][3]

    Origin

    Poe's law is based on a comment written by Nathan Poe in 2005 on christianforums.com, an Internet forum on Christianity. The message was posted during a debate on creationism, where a previous poster had remarked to another user: "Good thing you included the winky. Otherwise people might think you are serious".[4]

    The reply by Nathan Poe read:[1]

    Without a winking smiley or other blatant display of humor, it is utterly impossible to parody a Creationist in such a way that someone won't mistake for the genuine article.

    Apparently this was the original post:

    https://old.reddit.com/r/github/comments/1at9br4/i_am_new_to_github_and_i_have_lots_to_say/

    And then someone saw it on Reddit and created an issue on the sherlock project over it:

    https://github.com/sherlock-project/sherlock/issues/2011

  • source
  • parent
  • [–] 6 points 1 year ago (3 children)
    ./configure
    make -j$(nproc)
    sudo make install
    
  • source
  • hideshow 3 child comments
  • [–] 3 points 1 year ago* (2 children)

    So, from a technical standpoint, that's the correct answer (well, I'd use ionice -c3 nice -n20 make -j$(nproc)).

    But...I kind of feel that most of the time, if someone is likely to be asking an upstream project for a binary installer, it might not be a great idea for them to be installing non-package-managed stuff systemwide. I don't know if they'd be in a good position to diagnose or fix issues arising from that. Maybe use something like alien.

    I'd be less-concerned about compiling to and invoking locally from the compilation directory, something that most packages permit for.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 36 points 1 year ago (2 children)

    People here are so entitled. Developers have zero obligation to do anything. If you don't like that you can do it yourself. Don't expect people to drop everything to help you.

    Most devs are pretty chill and will even help you if you are nice. Don't be a jerk.

  • source
  • hideshow 2 child comments
  • [–] 24 points 1 year ago* (1 child)

    Padmé may not realize that it's not Anakin's job if Padmé is coming off Windows, because if Padmé uses Windows, Padmé's user workflow is "go to developer's website, download binary installer", and it'd be really weird for the developer to not provide a binary installer. Windows doesn't have distros that distribute software (well, okay, I guess Windows has an app store or something these days and Steam, and that's a bit analogous, but that's not how things work traditionally).

    My assumption would be that it's not that Padmé's being entitled, just that Padmé doesn't know how this works and is confused and thus frustrated.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 4 points 1 year ago* (last edited 1 year ago)

    So many supply chain sploits. Opaque dockers, toxic crates, curl/sh victims; the list is endless.

  • source
  • [–] 4 points 1 year ago*