Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
 sag   ( @sag@lemm.ee )  to Programmer Humor@programming.dev · 2 years ago

Life Hack

lemm.ee

message-square
27
link
fedilink
527

Life Hack

lemm.ee

 sag   ( @sag@lemm.ee )  to Programmer Humor@programming.dev · 2 years ago
message-square
27
link
fedilink
alert-triangle
You must log in or # to comment.
  •  Zagorath   ( @Zagorath@aussie.zone ) 
    link
    fedilink
    arrow-up
    139
    ·
    2 years ago

    The meme says “IRS”, so it’s obviously intended to refer to America.

    But outside of that context, they’d fucking deserve it for their shitty dark pattern UX trying to export American tipping culture into the civilised world. If people want to tip, they can do it using cash (so the money actually goes to the person you intended it to!). Or at most, there could be a little “tip” button in the corner somewhere that then takes you to a page like this. It shouldn’t be shoved in our faces like this.

    •  kevincox   ( @kevincox@lemmy.ml ) 
      link
      fedilink
      arrow-up
      15
      ·
      2 years ago

      In most places even if you tip cash they are supposed to keep that for the tip pool and it is split. Often among the cook staff and other people at the restaurant.

  •  fubarx   ( @fubarx@lemmy.ml ) 
    link
    fedilink
    arrow-up
    130
    ·
    2 years ago

    Little Bobby Tables says hi.

    •  bobbytables   ( @bobbytables@feddit.de ) 
      link
      fedilink
      arrow-up
      67
      ·
      2 years ago

      Hi!

      •  LordTrychon   ( @LordTrychon@startrek.website ) 
        link
        fedilink
        arrow-up
        7
        ·
        2 years ago

        You’re not so little anymore!

      •  MadMadBunny   ( @MadMadBunny@lemmy.ca ) 
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        Whaaaaaaaat!?!?

  •  Coasting0942   ( @Coasting0942@reddthat.com ) 
    link
    fedilink
    arrow-up
    50
    ·
    2 years ago

    Jokes on you. Restaurant owner too rich, behavior is within normal range for IRS AI.

    Though the AI is interested on how your bank account is higher than it’s supposed to be.

  •  RavenFellBlade   ( @RavenFellBlade@startrek.website ) 
    link
    fedilink
    arrow-up
    29
    ·
    edit-2
    2 years ago

    I’d love to know what this would actually do.

    Edit: Thanks for the responses and lively discussion!!

    •  Kerb   ( @Kerb@discuss.tchncs.de ) 
      link
      fedilink
      arrow-up
      29
      ·
      2 years ago

      its an sql injection attack.
      its rather unlikely that it works in a modern app.

      assuming this would work,
      it injects a command in the sql database.

      it is assumed that the app runs a sql querry with the input field as a parameter e.g.
      INSERT INTO "bills" (item, ammount, tip) VALUES ("steak", "20,00 $", "content of the custom tip goes here");

      the semicolon indicates the end of the querry,
      so the the text would cause the app to run an unfinished querry, and then start a new querry that messes up the content of the bills table.

      •  some_guy   ( @some_guy@lemmy.sdf.org ) 
        link
        fedilink
        arrow-up
        8
        ·
        2 years ago

        Further: xkcd.com/327

        •  RavenFellBlade   ( @RavenFellBlade@startrek.website ) 
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          Is that Bobby?

  •  northendtrooper   ( @northendtrooper@lemmy.ca ) 
    link
    fedilink
    arrow-up
    15
    ·
    2 years ago

    Can’t they trace it back to you since you’re using a card to get that prompt?

    •  survivalmachine   ( @survivalmachine@beehaw.org ) 
      link
      fedilink
      arrow-up
      13
      ·
      2 years ago

      In my country, we can buy pre-paid credit cards in the supermarket using cash. I guess that is still traceable using supermarket security cameras and facial recognition, but if you’re attempting this, I’d make it as difficult as possible.

      •  SnipingNinja   ( @SnipingNinja@slrpnk.net ) 
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        You just have to buy a prepaid card through another third party

    •  ProgrammingSocks   ( @ProgrammingSocks@pawb.social ) 
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      This isn’t even remotely viable. There’s so much isolation and “cloud” shit that it wasn’t viable from the start. It’s just a joke.

    •  psud   ( @psud@aussie.zone ) 
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Maybe. If they can identify which record was the last one changed and the last one changed its directly related to the one that made the change and the ended transaction statement successfully posted a transaction

      If the SQL injection crashed that person’s transaction there’s little chance of finding the culprit

  •  🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 🏆   ( @Kolanaki@yiffit.net ) 
    link
    fedilink
    English
    arrow-up
    14
    ·
    2 years ago

    What code could I enter there to get them to pay me for the food? 🤔

  •  RagnarokOnline   ( @RagnarokOnline@programming.dev ) 
    link
    fedilink
    arrow-up
    11
    ·
    2 years ago

    Now if I could only bypass the float only input field…

  •  some_guy   ( @some_guy@lemmy.sdf.org ) 
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    I laughed a lot at this.

  •  Tiefling IRL   ( @tiefling@lemmy.blahaj.zone ) 
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    I wish 15% and 18% were options. Normally it’s more like 20%, 25% (default), 28%, 30%

    •  Rediphile   ( @Rediphile@lemmy.ca ) 
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Eventually people will say that about the current options lol.

      There should be no default percent options at all. None.

      ‘complete transaction’ or ‘add optional tip’.

    •  kalpol   ( @kalpol@lemm.ee ) 
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      Literally saw 25% to 50% range the other day

      •  EndlessNightmare   ( @EndlessNightmare@reddthat.com ) 
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        A 50% tip can get your credit card flagged as potentially fraudulent activity.

        •  Rediphile   ( @Rediphile@lemmy.ca ) 
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          Wouldn’t they just see the total?

          •  EndlessNightmare   ( @EndlessNightmare@reddthat.com ) 
            link
            fedilink
            arrow-up
            2
            ·
            2 years ago

            I’ve had transactions flagged for (intentionally) leaving large tips before. These large tips were justified for various reasons, such as comped meals.

            Could be the specific credit card company I use?

            •  Rediphile   ( @Rediphile@lemmy.ca ) 
              link
              fedilink
              arrow-up
              1
              ·
              2 years ago

              What makes you think it was flagged for a large tip specifically, rather than just an unusually high transaction?

              It still confused me how they would know it was a $20 steak and $80 tip versus 5x $20 steaks and no tip. It would appear the same, a $100 transaction at Bob’s Steakhouse.

              •  EndlessNightmare   ( @EndlessNightmare@reddthat.com ) 
                link
                fedilink
                arrow-up
                2
                ·
                2 years ago

                The message specifically said it was due to the “unusually large tip”. They wanted me to confirm that it was intended.

                If the article linked below is to be believed, the credit card company does indeed know how much of the transaction is a tip due to the way the transaction is processed. Note that this was at a full-service restaurant, not tipping at the counter for fast food or some other thing.

                Consider when you pay with a credit card at a sit-down restaurant, they read the card first. Then you write in the tip on the receipt, meaning that they process this part later after the initial card reading. It is probably different with the tabletop self-checkout devices though.

                https://www.quora.com/Why-do-tips-given-in-restaurants-never-show-on-credit-card-statements

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 367 users / day
  • 1.85K users / week
  • 3.86K users / month
  • 8.38K users / 6 months
  • 449 local subscribers
  • 28.3K subscribers
  • 1.18K Posts
  • 19.3K Comments
  • Modlog
  • mods:
  •  Feyter   ( @Feyter@programming.dev ) 
  •  adr1an   ( @anzo@programming.dev ) 
  •  BurningTurtle   ( @BurningTurtle@programming.dev ) 
  •  Pierre-Yves Lapersonne   ( @pylapp@programming.dev ) 
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code