• @[email protected]
    link
    fedilink
    English
    312 years ago

    Keeping programming as far away from my relationships as possible.

    Instead, I distract them with the fact that I’m a pretty damned good cook and know where the best hole in the wall restaurants are.

  • @[email protected]
    link
    fedilink
    53
    edit-2
    2 years ago

    Naming a release code name after him/her?

    Thank you for correcting my life in many ways, here’s the cumulative bugfix release:

    FreddyCLI 1.1.3 [Lisa]

    • snowe
      link
      fedilink
      502 years ago

      Turns out Lisa has a crippling bug that bricks your computer.

    • @[email protected]
      link
      fedilink
      22 years ago

      Might be odd, depending on your current system.

      GeDoSaTo 0.21.2310 “How Could Hell Be Any Worse”

  • @[email protected]
    link
    fedilink
    832 years 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

  • @[email protected]
    link
    fedilink
    132 years ago

    The GNU kernel was not originally supposed to be called the Hurd. Its original name was Alix—named after the woman who was my sweetheart at the time. She, a Unix system administrator, had pointed out how her name would fit a common naming pattern for Unix system versions; as a joke, she told her friends, “Someone should name a kernel after me.” I said nothing, but decided to surprise her with a kernel named Alix.

    Source: https://www.gnu.org/gnu/thegnuproject.en.html

    • ValiantDust
      link
      fedilink
      52 years ago

      Imagine running out of ideas before having named one after every kid. Now that would be awkward.

    • @[email protected]
      link
      fedilink
      English
      142 years ago

      Never in a million years would I have guessed MySQL was named after a person. This is a fun bit of trivia I was awkwardly work into a conversation at some point.

        • WhiteHotaru
          link
          fedilink
          14
          edit-2
          2 years ago

          My

          1. The Finnish author Tove Marika Jansson (1914 - 2001) invented this name for her stories about the Mumin troll (Moomin Trolls). Lilla My (Little My) lives with the Mumin family. She is so small that she can sit in the family’s milk jug. My gives expression to a most destructive turn of mind. She is totally disrespectful and can be very aggressive but has nevertheless an extremely positive attitude to life. Sometimes, she may even demonstrate a kind of careless friendliness - when it suits her.
          2. My is also the name of the 12th letter in the Greek alphabeth.
          3. Creative Spelling of Mi (see Mia)

          See: https://www.nordicnames.de/namefinder/

      • @[email protected]
        link
        fedilink
        English
        32 years ago

        Nah, he was named Sequel in the hopes he’d both benefit from and be crushed by expectations

          • @[email protected]
            link
            fedilink
            42 years ago

            Wow that is crazy that it runs Linux and is less than $3, that guy would put the executives from the scene in American Psycho to shame with that business card.

            What I had in mind was a program with a GUI that had text, some images and you can click through the pages and maybe do something else. I suppose you could pull off something similar to what you linked with a compact arduino-type device, some kind of flat 5v battery and maybe an e-paper display that you can print scrolling text to and maybe a little graphic. I suppose not very similar to what you linked, but would be cool in its own right

            • @[email protected]
              link
              fedilink
              22 years ago

              that guy would put the executives from the scene in American Psycho to shame with that business card.

              Omg, clever idea, gotta save it for making it in the future lol.

              We’ve got a project on our hands with what you described! I’m too hardwareless for that though :(

      • nickwitha_k (he/him)
        link
        fedilink
        7
        edit-2
        2 years ago

        A few ideas:

        • a web page with beautiful CSS and possible animation
        • LaTeX, for those into BDSM
        • a game engine for an interactive “card”
        • @[email protected]
          link
          fedilink
          52 years ago

          These are actually pretty sweet

          • LaTeX, for those into BDSM

          Ooo, are you compiling that by hand? Kinky~

  • stephfinitely
    link
    fedilink
    772 years 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
      10
      edit-2
      2 years 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)
      }
      
      • @[email protected]
        link
        fedilink
        English
        32 years 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
          62 years 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
            32 years 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.

      • qaz
        link
        fedilink
        62 years ago
        if ok {
            return true
        } else {
            return false
        }
        

        Why?

  • I Cast Fist
    link
    fedilink
    English
    2232 years ago

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

    • @[email protected]
      link
      fedilink
      22 years ago

      I’m surprised and upset Linus doesn’t use ISO8601 formatting for his magic numbers. Maybe there’s more entropy reversing them?

    • @[email protected]
      link
      fedilink
      72 years ago

      I need to get on Linus’ level. I’ve never written a function with an argument called magic2.