86thumbs
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
tsuica@lemmy.world to Programmer Humor@lemmy.ml · 2 年前

I love it when I have to scream at a computer

lemmy.world

message-square
169
fedilink
1.72K

I love it when I have to scream at a computer

lemmy.world

tsuica@lemmy.world to Programmer Humor@lemmy.ml · 2 年前
message-square
169
fedilink
  • AlexWIWA@lemmy.ml
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    1
    ·
    2 年前

    Writing SQL on Mac sucks so bad. I hate their caps lock time out

    • icedterminal@lemmy.world
      link
      fedilink
      English
      arrow-up
      22
      ·
      2 年前

      macOS has a caps lock timeout? The fuck…

      • st0v@lemmy.zip
        link
        fedilink
        English
        arrow-up
        20
        arrow-down
        1
        ·
        2 年前

        capslock drains the battery too quickly

        • swab148@startrek.website
          link
          fedilink
          arrow-up
          7
          ·
          2 年前

          WHY THOUGH

        • Xusontha@ls.buckodr.ink
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          2 年前

          w h u t

          please explain

          • lemon_nade@sh.itjust.works
            link
            fedilink
            arrow-up
            7
            ·
            2 年前

            it uses more pixels per inch

            • Clot@lemm.ee
              link
              fedilink
              arrow-up
              3
              arrow-down
              1
              ·
              2 年前

              eh? lol

            • whoamibro@lemmy.world
              link
              fedilink
              arrow-up
              3
              arrow-down
              1
              ·
              2 年前

              Lmao

      • AlexWIWA@lemmy.ml
        link
        fedilink
        English
        arrow-up
        10
        arrow-down
        1
        ·
        2 年前

        Timeout was the wrong word. It has to be held for like a quarter second or something like that. It’s annoying as hell.

        • icedterminal@lemmy.world
          link
          fedilink
          English
          arrow-up
          9
          arrow-down
          1
          ·
          2 年前

          That’s even worse IMO. Lol.

          • AlexWIWA@lemmy.ml
            link
            fedilink
            English
            arrow-up
            4
            ·
            2 年前

            Yeah it’s even worse when you remote in to a windows machine from a Mac. It has the caps lock annoyance and then the delay on the remote machine will cause the first keystroke after toggling caps lock to not actually know that it needs to toggle, so your sql looks like this sELECT * FROM Table_name tn wHERE Tn.thing = tRUE

        • curiousaur@reddthat.com
          link
          fedilink
          arrow-up
          2
          ·
          2 年前

          What? Mine doesn’t do that. I’ve been using Mac’s since 2016 when I learned to code, and I’ve never seen this behavior.

          • icedterminal@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            edit-2
            2 年前

            After the user mentioned it , I looked it up. It’s all over Apple’s supper threads. Hilariously, there’s an old reddit thread about it

            https://discussions.apple.com/thread/253838180

            https://superuser.com/questions/317900/eliminate-macbook-capslock-delay

            https://www.reddit.com/r/macbook/comments/o6q52c/mba_m1_caps_lock_key_delay/

          • AlexWIWA@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 年前

            It definitely exists. It’s far more noticable if you plug a keyboard into your MacBook. There are threads all over Mac forums and stack exchange asking how to disable it.

            • curiousaur@reddthat.com
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              2 年前

              I use an external mechanical keyboard exclusively.

              Ok, just went to my work machine and I guess you’re right. If you hit the caps lock key quickly it doesn’t register. Don’t know why I never noticed, I am a software engineer. The ai writes all my SQL now though, so…

              • AlexWIWA@lemmy.ml
                link
                fedilink
                English
                arrow-up
                2
                ·
                edit-2
                2 年前

                Then be happy you naturally hit the caps lock key slowly enough to have never noticed this. When flipping back and forth between caps lock in SQL it drives me up the wall.

                https://www.reddit.com/r/macbook/comments/o6q52c/mba_m1_caps_lock_key_delay/

                To be clear though, I never noticed either until I started writing SQL regularly. It never causes me problems when writing regular code

                • curiousaur@reddthat.com
                  link
                  fedilink
                  arrow-up
                  1
                  arrow-down
                  4
                  ·
                  2 年前

                  Seriously though, why are you writing your own SQL still? It’s the language LLMs are the most accurate at translating English into. Like, the most insane inline aggregation, nested transaction nonsense; it just does it for you if you describe what you want and it knows your schema.

                  • AlexWIWA@lemmy.ml
                    link
                    fedilink
                    English
                    arrow-up
                    5
                    ·
                    2 年前

                    It doesn’t know the schema nor can it due to the sensitivity of the data I work with. It’s also faster to write the SQL than to describe it to the LLM. Once you get used to it, SQL is easier than English.

                  • xmunk@sh.itjust.works
                    link
                    fedilink
                    arrow-up
                    2
                    ·
                    2 年前

                    It depends on the SQL. Anything non-trivial is still much better to write by hand to keep the intent clear.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

remote_follow_modal_title

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
community_visibility: public
globe

public_blurb

  • 549 users / day
  • 950 users / week
  • 2.81K users / month
  • 9.89K users / 6 months
  • number_of_local_subscribers
  • 37.2K subscribers
  • 1.78K Posts
  • 37.9K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • UI: unknown version
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org