social.sour.is
  • 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.06K

Unbelievable

suppo.fi

@Albin7326@suppo.fi to Programmer Humor@lemmy.mlEnglish • 2 years ago
message-square
63
fedilink
  • SokathHisEyesOpen
    link
    fedilink
    English
    18•2 years ago

    Sourcemaps. Use sourcemaps.

    • @wreckedcarzz@lemmy.world
      link
      fedilink
      English
      60•2 years ago

      Is de_dust okay or?

      • @uranibaba@lemmy.world
        link
        fedilink
        13•2 years ago

        I prefer hostage maps.

        • @perishthethought@lemm.ee
          link
          fedilink
          English
          10•2 years ago

          The hostage has been planted.

          • @Jumi@lemmy.world
            link
            fedilink
            5•2 years ago

            Fuze has entered the chat

            • @ezures@lemmy.wtf
              link
              fedilink
              2•2 years ago

              Did they add him with cs2?

              • @Player2@sopuli.xyz
                link
                fedilink
                4•2 years ago

                No that’s coming in CS2: Siege

            • nickwitha_k (he/him)
              link
              fedilink
              1•2 years ago

              FUSE has entered the chat.

          • SokathHisEyesOpen
            link
            fedilink
            English
            2•2 years ago

            HUMILIATION

    • @erogenouswarzone@lemmy.ml
      link
      fedilink
      English
      6•2 years ago

      Can you give us an eli5 on sourcemaps?

      • @YourAvgMortal@lemmy.world
        link
        fedilink
        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
          link
          fedilink
          English
          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
            link
            fedilink
            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.
  • 891 users / day
  • 1.6K users / week
  • 3.48K users / month
  • 10.1K users / 6 months
  • 37K subscribers
  • 1.84K Posts
  • 40K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org