Zenny
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
David Gerard@awful.systemsM to TechTakes@awful.systemsEnglish · 11 months ago

using GitHub CoPilot leads to the obvious consequence

archive.is

external-link
message-square
66
fedilink
65
external-link

using GitHub CoPilot leads to the obvious consequence

archive.is

David Gerard@awful.systemsM to TechTakes@awful.systemsEnglish · 11 months ago
message-square
66
fedilink
archive.is
archive.is
external-link
  • flere-imsaho@awful.systems
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    2
    ·
    edit-2
    11 months ago

    they also stored this thing as a fucking string. looking up strings is costly.

    • froztbyte@awful.systems
      link
      fedilink
      English
      arrow-up
      13
      ·
      11 months ago

      naw bro we’ve got indexes bro it’ll be fine bro

      • froztbyte@awful.systems
        link
        fedilink
        English
        arrow-up
        10
        ·
        11 months ago

        can’t wait for the Clever Idea to offload costly string indices to an external source composed of redis box and some shitfuck app doing tf-idf after a Extensive Research into how to make string lookups be faster

    • 𝙲𝚑𝚊𝚒𝚛𝚖𝚊𝚗 𝙼𝚎𝚘𝚠@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      10
      ·
      11 months ago

      This sounds like a case of premature optimization to me. We have plenty of databases using strings as Ids and they’re all more than fast enough for any of our purposes. And that’s with considerable volume going through.

      I’ve never seen bad performance from string ids be an issue.

      • sinedpick@awful.systems
        link
        fedilink
        English
        arrow-up
        14
        ·
        11 months ago

        so we’re calling “not doing pointless unnecessary work” premature optimization now? cool cool

        • 200fifty@awful.systems
          link
          fedilink
          English
          arrow-up
          13
          ·
          11 months ago

          Making me learn how to do things the right way is premature optimization

        • 𝙲𝚑𝚊𝚒𝚛𝚖𝚊𝚗 𝙼𝚎𝚘𝚠@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          11 months ago

          Removed by mod

          • self@awful.systems
            link
            fedilink
            English
            arrow-up
            6
            ·
            11 months ago

            ok shut up now

      • ebu@awful.systems
        link
        fedilink
        English
        arrow-up
        11
        ·
        11 months ago

        “what are you talking about? a hammer removes bolts just fine. i personally don’t have an issue with the tiny bit of extra elbow grease to wedge the claw around the bolt-head and twist; if anything, it’s saving me effort from having to use a wrench.”

        • froztbyte@awful.systems
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 months ago

          I really should reread that sometime

          Also some Mickens

        • 𝙲𝚑𝚊𝚒𝚛𝚖𝚊𝚗 𝙼𝚎𝚘𝚠@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          2
          ·
          11 months ago

          Removed by mod

      • V0ldek@awful.systems
        link
        fedilink
        English
        arrow-up
        7
        ·
        11 months ago

        I’ve never seen bad performance from string ids be an issue.

        You haven’t seen shit then, simple as that.

      • flere-imsaho@awful.systems
        link
        fedilink
        English
        arrow-up
        7
        ·
        11 months ago

        why is it always programming dot dev?

TechTakes@awful.systems

techtakes@awful.systems

Subscribe from Remote Instance

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: !techtakes@awful.systems

Big brain tech dude got yet another clueless take over at HackerNews etc? Here’s the place to vent. Orange site, VC foolishness, all welcome.

For actually-good tech, you want our NotAwfulTech community

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 33 users / day
  • 277 users / week
  • 895 users / month
  • 143 users / 6 months
  • 1 local subscriber
  • 1.01K subscribers
  • 294 Posts
  • 6.11K Comments
  • Modlog
  • mods:
  • David Gerard@awful.systems
  • UI: unknown version
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org