• Caveman
    link
    2581 year ago

    I forked an opensource project to add a couple features for my wife. 😊

  • I Cast Fist
    link
    fedilink
    English
    2141 year ago

    “Girl, I named no variables after you, because you’re my only Constant”

  • @geekworking
    link
    1651 year ago

    You can also combine your names into a Linux distribution.

    Deb + Ian = Debian.

  • @[email protected]
    link
    fedilink
    English
    140
    edit-2
    1 year ago

    Once when I was still a kid, I told a woman I loved her so much that I could only love her more if she was a robot.

    She did not think that was romantic.

      • @Caboose12000
        link
        431 year ago

        I think it’s kinda sweet for a kid. I mean what’s cooler than a robot when you’re 7? that’s pretty much the pinnicle of “cool” at that age, or at least it was for me. So to compare a crush to a robot for a kid is similar to shakespear comparing thier lover to “a summer’s day” or Selena Gomez comparing thier lover to “a love song”

          • @Jerkface
            link
            231 year ago

            Look, I’m a grown-ass adult and have been for awhile. If someone said that to me now I’d start shopping for an engagement ring.

            • @ech0
              link
              91 year ago

              I love you so much I think you’re way cooler than a robot!

              Now put a ring on it. And I want a diamond.

              • @Jerkface
                link
                101 year ago

                you’re way cooler than a robot

                See, that’s how I know it’s a lie 🤣

          • I Cast Fist
            link
            fedilink
            31 year ago

            So, less a “kid” and more “almost adult”. Yeah, I can see that being taken as very weird or creepy

        • @tehmics
          link
          11 year ago

          I don’t think we’re far off from 7 year olds being entirely unimpressed robots. They’ll just think it’s a dumb vacuum

  • @[email protected]
    link
    fedilink
    1031 year ago

    I was thinking about you when I cleaned up this codebase and removed a lot of redundant functions.

  • @saltesc
    link
    821 year ago

    I send my wife code she has nfi idea about but knows I’m proud so she pretends to be impressed.

    I win her heart over by making life much easier through technology and handling all that shit. When she can grab a PS4 controller, hit start, and sit on the couch, she knows not all ladies get their TV and sound system on, all inputs adjusted, game mode set, and Nintendo Switch home screen come up ready to launch Zelda.

    “Babe, I could IFTTT the lights to drop to a gaming atmosphere and have your phone go into DND mode if you want. Just let me know.”

    SPLOOOOOOSH

      • @Redredme
        link
        121 year ago

        Mine isn’t impressed with stuff like that. It’s been like that since we’re together. It’s the normal.

        These days she just rolls her eyes when another new thing gets automated.

        • no banana
          link
          71 year ago

          Just take it away for a week.

        • @[email protected]
          link
          fedilink
          71 year ago

          Makes me wonder if one of you are a smooth operator while the other is the captain of the jank tank.

          • @Redredme
            link
            11 year ago

            I once was a smooth operator. then life happened. ;)

  • @[email protected]
    link
    fedilink
    731 year ago

    I made a website for my wife with a list of a ton of reasons why I love her and each time she taps the screen it shows a new one.

    So… that is a thing you can do for the cost of a domain name and some cheap hosting.

  • stephfinitely
    link
    fedilink
    721 year ago

    This person misunderstands a beautiful function code can be very sexy or maybe I’m a odd girl.

    • nickwitha_k (he/him)
      link
      fedilink
      8
      edit-2
      1 year ago
      var LogicGate = map[string]string{
          "OR": "OR",
          "AND":  "AND",
          "NOT": "NOT",
          "NOR": "NOR",
          "NAND": "NOR",
          "XOR": "XOR",
      }
      
      func isLogicGate(inString string) (bool) {
          _, ok := LogicGate[strings.ToUpper(inString)]
          if ok {
              return true
          } else {
              return false
          }
      }
      
      func stringAsGateLogic(inString string) (bool, error) {
          inSplit := strings.Split(inString, " ")
          var phrase1 strings.Builder
          var phrase2 stringa.Builder
          var gateString string
          for word := range inSplit {
              if isLogicGate(word) {
                  if len(gateString) < 1{
                      gateString = word
                  } else {
                      phrase2.WriteString(word)
                  }
              } else {
                  if len(gateString) < 1{
                      phrase1.WriteString(word)
                  } else {
                      phrase2.WriteString(word)
                  }
              }
          }
          boolPhrase1 := bool(phrase1.String())
          boolPhrase2 := bool(phrase2.String())
          switch strings.ToUpper(gateString) {
              case "OR":
                  return (boolPhrase1 || boolPhrase2), nil
              case "AND":
                  return (boolPhrase1 && boolPhrase2), nil
              case "NOT":
                  return (!boolPhrase2), nil
              case "NOR":
                  return (!(boolPhrase1 || boolPhrase2)), nil
              case "NAND":
                  return (!(boolPhrase1 && boolPhrase2)
              case "XOR":
                  orRes := (boolPhrase1 || boolPhrase2)
                  nandRes := (!(boolPhrase1 && boolPhrase2))
                  return (orRes && nandRes), nil
              default:
                  return false, fmt.Errorf("Why you do dis?: %v", inString)
          }
      }
      
      func main(){
          answer, err := stringAsGateLogic ("This person misunderstands a beautiful function code can be very sexy or maybe I'm a odd girl.")
          if err != nil {
              fmt.Println(err)
          }
          fmt.Println(answer)
      }
      
      • qaz
        link
        61 year ago
        if ok {
            return true
        } else {
            return false
        }
        

        Why?

      • wallmenis
        link
        fedilink
        English
        31 year ago

        isLogicGate is not used. Maybe you mean to place it in “isGate” in the stringAsGateLogic for loop’s if statement?

        • nickwitha_k (he/him)
          link
          fedilink
          51 year ago

          Thank you. That’s what I get for writing a drawn-out shitpost program on my phone over several hours while away from home, instead of in a few minutes in vim.

          • @[email protected]
            link
            fedilink
            31 year ago

            Speaking of, Vim is actually quite easy to set up on Android. Simply download Termux from F-Droid (the version of Termux on Google Play is severely out of date) and pkg install vim (or nvim if you prefer). (Also, full aarch64 linux terminal on non-rooted Android, woo!) Using Vim with an onscreen keyboard is agonizing, of course, but it does work (Termux provides the Ctrl and Esc keys). The F-Droid app Unexpected Keyboard is a recommended addition – it’s an alternative on-screen keyboard with no predictive text and swiping to the corners of each key for alternate symbols. It makes using Vim on a touchscreen at least moderately less painful.

    • @polite_cat
      link
      English
      141 year ago

      It’s gonna be awkward though if there is a merge conflict 👀

      • @_bug0ut
        link
        81 year ago

        Pull off request, on the other hand (ha-HA!), approved.

        Not like that bitch Stephanie is gonna be helping out with that anymore.

      • I Cast Fist
        link
        fedilink
        51 year ago

        Man, I’ve never seen such a rapid succession of git pull and git push

  • @[email protected]
    link
    fedilink
    57
    edit-2
    1 year ago

    Image Transcription: Twitter Post

    bass boosted ACAB @lil_morgy

    hooking up with artists is hot cuz theyll be like “i thought of you when i wrote this song”. what are tech guys gonna do? name a git branch after you? the fuck

    [* I am a human volunteer and you could be too ❤️*]

  • @[email protected]
    link
    fedilink
    English
    481 year ago

    “The two hardest problems in programming are cache invalidation, naming things and off-by-one errors.”

    • Rikudou_Sage
      link
      fedilink
      51 year ago

      The original have been quite great even without adding the bit about off-by-one errors.