• 0 Posts
  • 419 Comments
Joined 11 months ago
cake
Cake day: December 29th, 2023

help-circle



  • blockchain as a core technology isn’t user-friendly… it should be hidden, and you’ll never know when it’s doing interesting things. it was never going to revolutionise the world, but that doesn’t invalidate its usefulness in niche situations

    … it shouldn’t be used for 95% of the garbage people have built with it - and for NFTs that’s more like 99%









  • the various github-supplied actions are good example:

    https://github.com/actions/setup-python

    the action.yml here is the metadata for an action (and you invoke this action by simply referencing actions/setup-python - perhaps with a sha or tag or something to pin it - and the runner clones and runs it, making custom actions simply code with no build process etc necessary which is very nice to not have to bootstrap your build process with a build process eg docker build)

    see the “runs” section there - it invokes node20 to run the action, and specifies some code to run to cleanup

    in the src here we can see what i was mentioning as well about having bi-directional comms with the CI system

    https://github.com/actions/setup-python/blob/main/src/setup-python.ts

    line 54 & 55 we have core.getInput and core.getMultiLineInput, 59 we have core.warning (so logs are formatted and filterable etc - these messages also show up in the build summary; similarly line 100 we have core.startGroup), 154 is core.setFailed so you get proper failure reasons rather than “the last line of stderr”

    now, none of this is specific to running in a real language - in fact i believe all this information is communicated over stdout or stderr - but the ease of simply creating a repo with code in it, and having that as a reusable CI step without worrying about docker container hosting, and having that able to have semantic meaning for its inputs and outputs (and proper reliable escaping of the special CI communication prefixes) is something that kinda doesn’t exist outside of this style system



  • Pup Biru@aussie.zoneto196@lemmy.blahaj.zoneepic ratio rule
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    7 days ago

    that’s not at all the intention of the comment - simply that when i make a comment directly related to my personal sex life, you’re aware that there are no women involved, thus the comment eliminates misogyny from the equation in that specific case. i’m sorry for not being clearer on that. i’ve added an edit to my comment so that it’s more apparent



  • Pup Biru@aussie.zoneto196@lemmy.blahaj.zoneepic ratio rule
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    7 days ago

    believe what you want, but as a gay man (i say this so you’re aware that there’s no misogyny involved edit: and by which i mean my personal sex life does not involve women so gender does not come into play in this specific situation), i’d never date someone where sex was off the table… i wouldn’t force it on anyone of course, but we fuck or we break up - sex is too important for my mental health to deny myself


  • personally i have a very big preference for the “actions” model: actions are “real” code; not bash - so there’s actual variable passing and communication with the CI tool (eg an action can tell the CI system to set a secret value, and the CI tool then hides that value from console output in the future). you can do these things with bash as well, but bash isn’t really a great language - i’d trust node far more to, for example, generate a hash or a JWT etc and actions then have access to the entire of NPM for libraries

    these kinds of things (not only this) make it far superior to a bash-based system IMO


  • Pup Biru@aussie.zoneto196@lemmy.blahaj.zoneepic ratio rule
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    7 days ago

    the comment isn’t saying women can’t make their own decisions… the comment is saying that the guy wants to have sex, and if he can’t then they’re incompatible partners right now… women are allowed to make choices about their bodies, and men are allowed to make choices about activities they’d like to have in their lives

    the reply comment implies that he only thinks about using a woman for sex, which is not what he’s saying at all

    another example would be if 1 person wanted to live in the city and the other wanted to live in a farm: likely a deal-breaker, just like not having sex