minigubben's lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Albin7326@suppo.fi to Programmer Humor@lemmy.mlEnglish · 2 years ago

Unbelievable

suppo.fi

message-square
63
fedilink
1.07K

Unbelievable

suppo.fi

Albin7326@suppo.fi to Programmer Humor@lemmy.mlEnglish · 2 years ago
message-square
63
fedilink
  • SokathHisEyesOpen@lemmy.ml
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    2
    ·
    2 years ago

    Sourcemaps. Use sourcemaps.

    • Midnight Wolf@lemmy.world
      link
      fedilink
      English
      arrow-up
      60
      ·
      2 years ago

      Is de_dust okay or?

      • uranibaba@lemmy.world
        link
        fedilink
        arrow-up
        13
        ·
        2 years ago

        I prefer hostage maps.

        • perishthethought@lemm.ee
          link
          fedilink
          English
          arrow-up
          10
          ·
          2 years ago

          The hostage has been planted.

          • Jumi@lemmy.world
            link
            fedilink
            arrow-up
            5
            ·
            2 years ago

            Fuze has entered the chat

            • ezures@lemmy.wtf
              link
              fedilink
              arrow-up
              2
              ·
              2 years ago

              Did they add him with cs2?

              • Player2@sopuli.xyz
                link
                fedilink
                arrow-up
                4
                ·
                2 years ago

                No that’s coming in CS2: Siege

            • nickwitha_k (he/him)@lemmy.sdf.org
              link
              fedilink
              arrow-up
              1
              ·
              2 years ago

              FUSE has entered the chat.

          • SokathHisEyesOpen@lemmy.ml
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 years ago

            HUMILIATION

    • erogenouswarzone@lemmy.ml
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 years ago

      Can you give us an eli5 on sourcemaps?

      • YourAvgMortal@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        2 years ago

        Usually when code is minified, it is shipped alongside a sourcemap (*.js.map), which can be used by the browser to show you the original code.

        If you get an error in the browser, you can click the error, which will take you to the network(?) tab and show you exactly where the error occurred

        • SokathHisEyesOpen@lemmy.ml
          link
          fedilink
          English
          arrow-up
          5
          ·
          2 years ago

          Also when code has been compiled, or transpiled. The reason the line numbers don’t match is because all of the code is being assembled into one large package and served to whatever client uses it. So even if you don’t minify, but you’re compiling, sourcemaps will show you where the error actually occurs, instead of where it occurs in the finished product.

          • Natanael@slrpnk.net
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            Especially if the compiler optimization options inlined code from 5 different places into one blob

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: !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.
Visibility: Public
globe

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

  • 257 users / day
  • 188 users / week
  • 2.52K users / month
  • 4.01K users / 6 months
  • 2 local subscribers
  • 36.4K subscribers
  • 1.75K Posts
  • 36.2K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org