KittiesAreCute!
  • 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
52
link
fedilink
1.1K

Based On A Real Story

kerala.party

Albin Jose@kerala.party to Programmer Humor@lemmy.ml · 2 years ago
message-square
52
link
fedilink
  • GamesRevolution@programming.dev
    link
    fedilink
    arrow-up
    73
    ·
    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
      25
      arrow-down
      1
      ·
      edit-2
      4 months ago

      deleted by creator

      • The Ramen Dutchman@ttrpg.network
        link
        fedilink
        arrow-up
        10
        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
          ·
          2 years ago

          No, not all error have security implications

          • dinckelman@lemmy.world
            link
            fedilink
            arrow-up
            6
            ·
            edit-2
            4 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

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
  • 327 users / week
  • 2.17K users / month
  • 6.93K users / 6 months
  • 2 local subscribers
  • 40K subscribers
  • 2K Posts
  • 33.3K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org