she/they, non-binary transfeminine individual based in Berlin

  • 0 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: June 19th, 2023

help-circle
  • the is_even package does not provide much worth indeed because it simply negates is_odd and thereby all its benefit.

    It’s dependency is_odd on the other hand provides at least some additional checks (it also checks if the value is a valid integer below the max int value)

    And while I would indeed see uses for such methods (especially with the other checks, no simple oneliners) in some cases, especially in testing: This is stuff you write yourself, throw it in a e.g. NumberUtils class and everything is fine. You do never depend on an external library for that. The benefit (not spending a few seconds to write it) does not outweigh any of the drawbacks that come with external libraries.



  • How you could somewhat rebase manually (to understand the effect; or because you like to handle the merge conflicts more granular or be more selective):

    We assume we have the branch “Feat” which was started on an old version of “Main”, and now want to rebase it:

    • Rename “Feat” to “Old” (does not happen during rebase, but we kinda need it for this demonstration)
    • Create “Feat” at the newest (or wherever you want) commit of “Main”
    • Cherrypick all commits from “Old” into “Feat”

    Et viola - you kinda manually rebased “Feat” on “Main”







  • Madlaine@feddit.detoProgrammer Humor@lemmy.mlIn case of fire
    link
    fedilink
    arrow-up
    77
    arrow-down
    1
    ·
    edit-2
    8 months ago

    Why is the wrong version always the one that is posted.

    The (in my eyes) correct (and iirc original) version is:

    • Git commit
    • Git push
    • Get out*

    *as someone pointed out (and I remember it as well, but thought I rembered it wrong and corrected it, shame on me in this context) the last point may be originally “git out”








  • I know that’s not what this comment section is meant for, but here we go:

    I was kinda addicted (wrong word; but I don’t know a better one) to q-tips to the point I had (and still have) occasionally infections in my ears.

    Many doctors just gave me antibiotic eardrops, which didn’t help for longer than a few weeks, and only reactively

    Finally one doctor gave me an ear-spray; based on vinegar, alcohol and eucalyptus (iirc) that I now use after every shower/bath and it worked wonders as I somehow almost never felt the need to use a q-tip again.

    So if you do way too much q-tips, maybe ask your doctor if he kan recommend one to you.