• Ekky
      link
      fedilink
      English
      1
      edit-2
      2 years ago

      like this?

      # Let Git take a rest with some yummy awk chocolate logs with delicious nuts and seeds, and don't be pushy!
      git reset --hard $(git log --reverse | sed -n 1p | awk -F "[ ]" '{print $2}') && git push -f
      

      EDIT: Don’t actually run it.

      • @subtext@lemmy.world
        link
        fedilink
        22 years ago

        Can you explain what this does? I’m thinking something along the lines of reverting all commits except the very first one?

        • Ekky
          link
          fedilink
          32 years ago

          You are correct! It sets HEAD to the first commit and then force pushes, deleting everything after HEAD.

          Though, it only affects the currently selected branch.

  • Kaity
    link
    fedilink
    English
    222 years ago

    Me when I have to do anything other than copy and paste build, or package manager, commands /s

      • Ech
        link
        fedilink
        English
        182 years ago

        All this really means is they grew up navigating digital spaces socially. I’ve discovered first hand that the generation at large has little-to-no knowledge of the technical workings of even the computers they use regularly, imo due to the “apple-fication” (one button? Really?) of digital devices. Most exclusively use their cell phone as their digital device, or a chromebook provided by their school, all of which have been streamlined to the extreme to “enhance” the user experience, but have in actuality given them absolutely zero-experience learning how to troubleshoot or incentive to dig into how their devices operate. I’ve had to walk teens through how to navigate the file directories on their laptops.

        In the past, the only people to be “techies” (ie people seeking out spaces like the Internet) were ones willing and able to deal with hurdles and issues, and the window is apparently quiet narrow for people who grew up with tech (to an extent) and also had to learn how to handle issues like that. The majority of others are either those described above, or those that never saw tech as important or worth it (though we’re also seeing the consequences of those people finding their way onto the “one-button” internet in meme/conspiracy addicted boomers).

        • @Ethalis@jlai.lu
          link
          fedilink
          112 years ago

          Agreed, Big Tech’s quest for UX and frictionless Interfaces has lead to a generation of people who vastly overestimate their tech savviness and are basically only great at navigating walled gardens made specifically to be easy to use.

          It’s not really their fault though: in addition to frontends becoming ever easier to use, backends are also becoming increasingly complex. 20 years ago you could learn a bit of HTML and CSS and throw a decent website together, but nowadays you need to master tons of other skills (graphical design, scripting, etc.) to make even so much as a web page that won’t scare people away immediately. It’s hard to get interested in this stuff when the barrier of entry is getting higher and higher, while tons of GAFAM-made alternative are already available for “free”

          • @Adanisi@lemmy.zip
            link
            fedilink
            English
            4
            edit-2
            2 years ago

            Seriously. It’s infuriating. Everything is so damn dumbed down now it’s ridiculous! People are incapable of doing so much as reading error messages and doing basic troubleshooting, sometimes I wonder where society went wrong. They’re completely helpless with the technology that makes up more and more of our lives, and I hate to see it.

          • @deur@feddit.nl
            link
            fedilink
            32 years ago

            20 years ago you could learn a bit of HTML and CSS and throw a decent website together, but nowadays you need to master tons of other skills (graphical design, scripting, etc.) to make even so much as a web page that won’t scare people away immediately

            Looking at it this way is what stops people from trying though :(

          • Ech
            link
            fedilink
            English
            12 years ago

            It’s not really their fault though

            Definitely not, and to clarify, I am laying any blame there is to be doled out at the feet of companies.

            I do wonder if it’s reversible at this point, though. I don’t see any company choosing to reverse course, at least not in a way that would cause a large-scale shift. Incapable users are the best they could hope for - uninterested in seeking out anything other than what they are handed and, if they ever did decide to look around, unable to adapt to “harsher” alternatives. Legislation certainly isn’t going to be expected. No government is going to mandate citizens have a “worse” experience. Perhaps a purposeful cultural shift, but that would take a lot of coordination of people that likely don’t see the issue or simply don’t care. I feel like we’re past the watershed here, as frustrating and concerning as that is.

      • Big P
        link
        fedilink
        English
        82 years ago

        Expecting people who grew up after the Internet was mainstream to all be developers is like expecting everyone who grew up in the 60s and 70s to be a mechanic

        • PlasterAnalyst
          link
          fedilink
          22 years ago

          You can usually find step by step instructions for fixing most cars. My library has a subscription to Chilton online, so I can use it from home and look at repair procedures and wiring diagrams. Just use forums and YouTube to fill in the gaps. I’ve even diagnosed a car from Amazon reviews since I suspected a certain part was bad and looked at reviews that said the exact symptoms.

          • Big P
            link
            fedilink
            English
            22 years ago

            Sure, a lot of people can do that. A lot of people absolutely can’t, too. A lot of people can look up and solve computer issues too, and a lot of people can’t. It’s not a generational thing or specific to computers.

            • PlasterAnalyst
              link
              fedilink
              12 years ago

              Car enthusiasts are much more welcoming and helpful than computer experts. Just look at stack exchange.

    • Deebster
      link
      fedilink
      62 years ago

      Apparently UK universities need to teach how directories work to first year Computer Science students. They’ve grown up with polished, closed devices and many only know apps and the basics of using the internet.

    • burgersc12
      link
      fedilink
      82 years ago

      Theres a sweet spot before like 2010 where computer skills are still prevalent enough to be taught en masse, but the upcoming generation seem to be learning touchscreen keyboards and app stores long before they ever use a mouse or try to download off a website. The older generation has had time to adjust but a lot still struggle with tech.

  • @De_Narm@lemmy.world
    link
    fedilink
    882 years ago

    It’s a command line tool. If you don’t know how to install it despite having the instructions, you don’t know how to use it too.

  • SavvyWolf
    link
    fedilink
    English
    4222 years ago

    TBF, they could probably make the “releases” page more prominent rather than having it buried in all the “code” stuff.

      • @Malix@sopuli.xyz
        link
        fedilink
        522 years ago

        not only the ux, some devs make it absurdly confusing to find a binary.

        I don’t want to throw anyone under the bus, but there’s this one niche app.

        their github releases at one point were YEARS out of date, they only linked to the current version in seemingly random issue reports’ comments. And the current versions were some daily build artefacts you could find in a navigation tree many clicks deep in some unrelated website. And you’d better be savvy enough to download a successfully built artefact too. And even then the downloaded .zip contained all kinds of fluff unnescessary for using the app.

        The app worked fine, sure, but actually obtaining it was fairly tricky, tbh.

        • Muu 🐄
          link
          fedilink
          112 years ago

          These build artefacts probably weren’t meant for end users, that’s why they contained the “unnecessary fluff”.

          • @Malix@sopuli.xyz
            link
            fedilink
            62 years ago

            absolutely, but they were in general (IIRC) suggesting them for the main downloads, but just not telling anyone outside the comments, which was the weird part

        • @Hamartiogonic@sopuli.xyz
          link
          fedilink
          22 years ago

          But if you want to put a some text and pictures in very specific locations and never worry about them suddenly jumping into random places, Excel is actually better than Word. That’s why people tend to use Excel for all sorts of weird purposes like that. Unlike with Word, things actually stay where you put them.

          • Yes and there are definitely people who use excel for art. Just like there are people who use GitHub for its releases page. It’s just not the primary use of either program.

            • @Hamartiogonic@sopuli.xyz
              link
              fedilink
              1
              edit-2
              2 years ago

              I’ve seen some of the impressive pixel artworks people have made in Excel. However, I prefer to do Excel art by writing a bunch of wild functions and drawing a stacked line chart from the resulting data. The graph itself is the artwork, while the cells behind it are just a necessary part of the process.

        • @Anamana@feddit.de
          link
          fedilink
          40
          edit-2
          2 years ago

          Do most people who use Excel also make art with it? Because sometimes devs also just download exe files on GitHub :D

          They don’t just always copy code from there.

          • Do MOST people who use GitHub download .exes? In my experience the VAST majority of people are using it for source and version control, not external releases. The overwhelming majority. FOSS and OSS is a small portion of the overall GitHub user base compared to, say, enterprise companies.

            • @Anamana@feddit.de
              link
              fedilink
              322 years ago

              So you never downloaded a program on GitHub?

              No one everever said you need to compromise its focus on developers. There is no compromise to be made. It’s just a stupid button. Stop arguing lol.

              • @suy@programming.dev
                link
                fedilink
                62 years ago

                The github project page is for developers, and Github already gives you tons of ways to make a user website. Don’t ask your users to visit github.com/group/project, make them visit group.github.io/project, like any sane person.

                Same with Gitlab, BTW.

                And if you don’t like the full static site, use the wiki, or guide your users in the first paragraphs of the README so they find the user information if they must.

              • @originalfrozenbanana@lemm.ee
                link
                fedilink
                -12 years ago

                We’re talking about how to design one of the biggest platforms on the internet. Of course there is a compromise. No one is advocating for removing the button, but arguing that the UI is somehow deficient for people wanting to download binaries is really missing the purpose of GitHub.

                • @Anamana@feddit.de
                  link
                  fedilink
                  7
                  edit-2
                  2 years ago

                  It’s an additional feature of GitHub that literally everyone uses. Therefore it has purpose. I think it’s ridiculous to argue against it.

                  Explain to me how developers or the UI would suffer from easier access to releases?

              • @corsicanguppy@lemmy.ca
                link
                fedilink
                0
                edit-2
                2 years ago

                you never downloaded a program on GitHub

                Precompiled binaries?!? Not even once. It’s a security risk akin to picking up gum on the sidewalk for a fun tasty treat.

                • @lunarul@lemmy.world
                  link
                  fedilink
                  16
                  edit-2
                  2 years ago

                  So when you just needed software to run on your machinr, you built it yourself. But first read every single line of code to ensure that it’s safe. Did I get that right?

                  Because if you don’t trust the developer to provide safe binaries then you wouldn’t trust the same developer to provide safe code either.

              • @drathvedro@lemm.ee
                link
                fedilink
                6
                edit-2
                2 years ago

                No, you shouldn’t really be downloading exe’s from github. It is widely being used to spread malware and to pretend that the software is open source when it is not. At least look for a link to the store page(including microsoft store), a distro-specific package or build instructions. Those usually have an AV scan or at least harder to fake.

                • @Sir_Fridge@lemmy.world
                  link
                  fedilink
                  22 years ago

                  Yeah a dude I know got hacked by downloading some random github program, the hacker even started taunting him via discord lol.

                  But I downloaded plenty of shit from github, like prusaslicer, my 3d printer’s firmware and plugins for octoprint. Always stuff that is verified via another page though. Almost never stuff that comes up during a random search, and if I do, I look it up first to see if it’s safe.

      • OOFshoot
        link
        fedilink
        192 years ago

        I’ve bounced off GitHub more than once trying to figure out how to download the .exe file that I assumed must be somewhere. Honestly I still don’t understand the interface and I’ve submitted bug reports for Jeroba on there. I might have even used GitHub for a project once? Every time I look at it it’s overwhelming and confusing and none of it is self-explanatory. But, that’s fairly true for a lot of stuff in programming.

        • JohnEdwa
          link
          fedilink
          20
          edit-2
          2 years ago

          If there is an exe, it’s under the releases link. On desktop it’s on the right sidebar below “About”. On mobile it’s at the bottom after the readme blurb.

          It’s not obvious because the code is the main focus and GitHub would much rather people host their releases somewhere else.

          • @BatmanAoD@programming.dev
            link
            fedilink
            82 years ago

            And even if releases are hosted on github, there should ideally be a download links page somewhere that presents the different binaries or installation files in an easier to understand format, especially if the software is designed for non-developers.

          • @smeg@feddit.uk
            link
            fedilink
            English
            32 years ago

            That’s where it is? I’ve been sneaking my way in by clicking tags and then the releases toggle!

      • r00ty
        link
        fedilink
        1472 years ago

        I’d agree, but the caveat is that github is primarily about an interface for source control and collaboration between developers for projects. The release page is really just an also-ran in terms of importance.

        • @Anamana@feddit.de
          link
          fedilink
          72
          edit-2
          2 years ago

          Imo they aren’t even trying, because it’s not that hard to make it better. Doesn’t even have to be a compromise. Most people just need a visible download button for the programs, that’s all.

          • @llii@feddit.de
            link
            fedilink
            English
            522 years ago

            If that’s a concern for the project maintainers, they should create a homepage for the project with download links.

            • Ekky
              link
              fedilink
              English
              272 years ago

              Or make a shortcut/link in the readme to the newest release of the most popular OS’s.

              A decent release page tends to contain all kinds of files for different OS, so ‘regular’ people who just want the .deb or .exe would likely become confused regardless.

              • @MotoAsh@lemmy.world
                link
                fedilink
                8
                edit-2
                2 years ago

                I mean, if you don’t even know what OS you’re on…

                Next you’re going to tell me cars need boosters so babies can reach the pedals… At a certain point, it becomes irresponsible to enable ignorance.

          • @Scrollone@feddit.it
            link
            fedilink
            42 years ago

            SourceForge had a better UX for those who just want to download software.

            And SF is horrible, so this says a lot.

          • @Rodeo@lemmy.ca
            link
            fedilink
            32 years ago

            There is, it’s literally right there on the home page of the project. You can either copy a URL and download it by cloning the git repo, or you can download the whole project as a zip file. Then you just have to compile it!

            GitHub is for developers, not end users.

            • @BatmanAoD@programming.dev
              link
              fedilink
              52 years ago

              That’s not a download button for the program. But there is indeed a link to the release page right on the home page of the project, so you’re still correct.

            • @Anamana@feddit.de
              link
              fedilink
              72 years ago

              It’s not a compromise to make another download button for the last release as well. No one looses.

          • @TrickDacy@lemmy.world
            link
            fedilink
            42 years ago

            It’s not black and white. I actually liked a few things better about bit buckets UI. It’s been too long to remember specifics though I think it was concerning PRs and diffs. I still think GitHubs review UI is too complicated. It took me literally years to fully understand it.

          • Gumby
            link
            fedilink
            English
            12 years ago

            The worst part about Bitbucket is the horrible, godawful, practically useless search

          • @fury@lemmy.world
            link
            fedilink
            22 years ago

            I’m not so sure. I seem to be able to find my way around a GitLab project in much fewer moves than a GitHub project. But maybe I’m biased because I use it all the time at work. I know they change the sidebar a lot, though.

          • @DudeDudenson@lemmings.world
            link
            fedilink
            52 years ago

            Comparing bad to bad doesn’t make any of them better lol

            I’ve gone nuts trying to download a single file from the git website on my first interactions with it (because somehow adding a download file button when you’re viewing a file on the site is just too much to handle)

      • Big P
        link
        fedilink
        English
        212 years ago

        That’s not really what it’s designed for though

        • @Anamana@feddit.de
          link
          fedilink
          192 years ago

          It doesn’t have to be a compromise imo. Most people just need a visible download button on the front pages. Wouldn’t hurt devs at all. I mean, even devs sometimes struggle with this lol.

          • @BetterDev@programming.dev
            link
            fedilink
            -42 years ago

            It doesn’t have to be a compromise

            You keep using that word. I don’t think it means what you think it means.

            Any change to appease you would be a compromise, you understand this, yes?

    • @Artyom@lemm.ee
      link
      fedilink
      62 years ago

      Honestly, releases and the readme could be the first page on their own, you can push the code to another tab as long as the clone button is there. There’s at most a 5% chance I’m just gonna raw dog the code straight from the browser anyways.

    • Bappity
      link
      fedilink
      English
      122 years ago

      TRUE. the first time I used GitHub, the releases tab being all the way at the bottom in the mobile view confused me for a good while

    • Ephera
      link
      fedilink
      English
      392 years ago

      Worst part is that this used to be a separate tab in the repo navigation. I still cannot conceive of a reason why they would move it from there to some random heading in the middle of the screen, except maybe so they can sell more GitHub trainings.

    • unalivejoy
      link
      fedilink
      English
      22 years ago

      On mobile, they hide the code by default. Though the releases are still hidden underneath the readme.

    • @Crow@lemmy.world
      link
      fedilink
      English
      52 years ago

      After downloading code from GitHub for years I can still take over a minute finding the file I want to download at times. Now that’s not long, but it’s why I’m there 90% of the time.

      • @lunarul@lemmy.world
        link
        fedilink
        14
        edit-2
        2 years ago

        If you use it as a developer you don’t care about the releases page. You want to see the code and for latest version you just need the git tags. But I’ve also used it for stuff I just needed to run on my machine as an end-user. And for those you turn to the Releases page. That’s where pre-built binaries go.

        But it also depends on the target audience. Some projects, even if meant more as software to run than code to import, still target mainly developers or tech users in general and will not have more than just instructions on how to build them. Others, say a Minecraft launcher, or some console emulator, will target a wider audience and provide a good Releases page with binaries for multiple platforms.

    • Deebster
      link
      fedilink
      23
      edit-2
      2 years ago

      I hadn’t heard of it, but it looks like it wouldn’t have much use outside of stalking or doxing.

  • katy ✨
    link
    fedilink
    1002 years ago

    “why doesn’t this python command line script have an executable ui?”

      • unalivejoy
        link
        fedilink
        English
        282 years ago

        Why do I have to have python installed in order to use it? Why don’t you bundle all the dependencies with the download?

        • @dan@upvote.au
          link
          fedilink
          32 years ago

          Why don’t you bundle all the dependencies with the download?

          This is one reason I like statically compiled apps. You can just give users one executable and it’ll work. This is common with apps written in Go, but it’s doable (with some caveats) in C# now with AoT in .NET 8.

          • @SkippingRelax@lemmy.world
            link
            fedilink
            42 years ago

            Assuming the user uses the same OS that the developer runs, and that they release a statically compiled app for. In this example, I see the project is python and docker is mentioned in thrbdocs, while not 100% my bet is that the output would still not be the .exe file that thhis entitled asshole is demanding.

          • katy ✨
            link
            fedilink
            192 years ago

            five years later

            i found this through google search and it says it’s resolved but there’s no information what the problem was and all of the links don’t work anymore

  • Deebster
    link
    fedilink
    72 years ago

    I thought this was going to be a version of the penguin of doom copypasta.