Brdsnest Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Albin Jose@kerala.party to Programmer Humor@lemmy.ml · 2 years ago

Based On A Real Story

kerala.party

message-square
53
fedilink
1.11K

Based On A Real Story

kerala.party

Albin Jose@kerala.party to Programmer Humor@lemmy.ml · 2 years ago
message-square
53
fedilink
  • dinckelman@lemmy.world
    link
    fedilink
    arrow-up
    73
    arrow-down
    1
    ·
    edit-2
    3 months ago

    deleted by creator

    • GamesRevolution@programming.dev
      link
      fedilink
      arrow-up
      72
      arrow-down
      1
      ·
      2 years ago

      That when the file isn’t minified, no shit it’s on line 1 there is only one line

      • dinckelman@lemmy.world
        link
        fedilink
        arrow-up
        26
        arrow-down
        1
        ·
        edit-2
        3 months ago

        deleted by creator

        • The Ramen Dutchman@ttrpg.network
          link
          fedilink
          arrow-up
          11
          arrow-down
          1
          ·
          2 years ago

          Honestly, you don’t want production to tell users what your exact errors are, and especially not what the source code looks like and where to find the problem exactly.

          Production errors should mostly go “Well, this was on (y)our side, sorry about that” and nothing more.

          • relevants@feddit.de
            link
            fedilink
            arrow-up
            5
            ·
            2 years ago

            If it’s in the minified front end code it’s already client side, of course you don’t show it to the user but they could find out if they wanted to. Server side errors are where you really have to watch out not to give out any details, but then logging them is also easier since it’s already on the server.

            • The Ramen Dutchman@ttrpg.network
              link
              fedilink
              arrow-up
              4
              ·
              2 years ago

              Ah you’re right, I’m thinking too much like a backend dev!

          • bloubz@lemmygrad.ml
            link
            fedilink
            arrow-up
            4
            arrow-down
            1
            ·
            2 years ago

            No, not all error have security implications

            • dinckelman@lemmy.world
              link
              fedilink
              arrow-up
              6
              ·
              edit-2
              3 months ago

              deleted by creator

              • bellsDoSing@lemm.ee
                link
                fedilink
                arrow-up
                1
                ·
                2 years ago

                Yeah, if one really wants obfuscation for JS, then it requires an extra build step. E.g. this: JavaScript-obfuscator

    • shastaxc@lemm.ee
      link
      fedilink
      arrow-up
      5
      ·
      2 years ago

      Enable sourcemaps

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.

  • 14 users / day
  • 831 users / week
  • 2.17K users / month
  • 7.59K users / 6 months
  • 1 local subscriber
  • 39.5K subscribers
  • 2.01K Posts
  • 41.7K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org