• @marcos
      link
      361 year ago

      Undefined behavior can go bad quickly.

      • ruffsl
        link
        fedilink
        English
        171 year ago

        Could go the other way though. Ask them nicely if they’d be willing to free up their heap of inventory, and if they return you a cart overflow, you know you’ve stumbled upon the ultimate zero day coupon.

    • Spaceape
      link
      fedilink
      English
      61 year ago

      I give money to cashier, change comes out of coin dispenser. I say “Looks like I won again!”, cashier dies a little inside.

      Every time.

      • @Malfeasant
        link
        31 year ago

        Long long ago in a callcenter not too far away, I made a guy choke on his drink. As required, I asked if there was anything else he needed before I ended the call, to which he replied “the winning lottery numbers?” I said “if I had those, I wouldn’t be talking to you.”

    • @Moc
      link
      3
      edit-2
      1 year ago

      Unhandled exception leads to panic

    • @[email protected]
      link
      fedilink
      English
      21 year ago

      I worked in groceries story when I was younger.

      But funily enough, it’s probably one of the rare times I’d have answered “yes”!

      We got a policy here where anything mislabelled under 10$ is free for the first item. Anything over 10$ gets a 10$ rebate.

      My understanding is that it was put in place a while ago when stores stopped labelling individual items to keep them in check and ensure that consumers had a recourse in case of mistake.

      Source: https://www.opc.gouv.qc.ca/en/consumer/topic/price-discount/store/tip-sheet/

      NULL being “no money” by any definition, and the regular price for this probably being under 10$… well, it’s probably free!

      • Kogasa
        link
        fedilink
        21 year ago

        No, but these nulls might indicate references that previously pointed to memory that was freed.

    • I Cast Fist
      link
      fedilink
      English
      11 year ago

      Everything is free. The problem is avoiding the cops afterwards.

  • Bappity
    link
    English
    211 year ago

    can I get uhhhhh NullPointer Exception: Object reference not set to an instance of an object.

    • @randomblock1
      link
      71 year ago

      sorry we only have Exception in thread “main” java.lang.NullPointerException, is that okay?

      • Bappity
        link
        English
        21 year ago

        that’s how I like my coffee

      • @[email protected]
        link
        fedilink
        11 year ago

        How about

        Class lol : Object
        {
        public static init void main (string args)
        {
            virtual void A_Start()
            {
                  Java.Print(args)
                  break
             }
        }
        }
        

        In case it’s not clear, I know nothing about Java.

  • Matti
    link
    141 year ago

    When you buy these an exception is thrown.

  • ThenThreeMore
    link
    fedilink
    English
    51 year ago

    Programming aside electric self edge labels are the future. Where I work we do paper labels for about 50 pretty small stores and use best part of 30,000 sheets of paper a week.

    • @[email protected]
      link
      fedilink
      31 year ago

      I imagine with inflation causing an increased frequency of relabeling and relabeling costs causing an increased rate of inflation, it’s only a matter of time before I become too lazy to finish this joke.

    • @[email protected]
      link
      fedilink
      21 year ago

      600 labels per store per week. Seems like a big chunk of the inventory changes price every week, not just some tens of articles for a temporary sale.

      • ThenThreeMore
        link
        fedilink
        English
        21 year ago

        It’s more. Each a4 sheet has considerably more than 1 label on it. Most weeks there’s 90-100 pages of weekly limited offer specials alone. Then every day there’s large amounts of regular stock coming onto and off of special offer. Then produce is constantly being adjusted based on seasonality, the current weather (better prices on salad when it’s hot etc), and to help sell through (warehouse has accepted some stock with reduced shelf life etc).

        Then there’s the fact the country I’m from has been experiencing food price inflation at almost 20% this year.

      • ThenThreeMore
        link
        fedilink
        English
        21 year ago

        Yep. My work is rolling them out later in the year. The ones we are getting are basic colour eink, I think they can do a little red to highlight special offers. Batteries are supposed to last several years.

  • @[email protected]
    link
    fedilink
    51 year ago

    Don’t try to buy it unless u want the register to open a black hole when the cashier puts it in.

    • @[email protected]
      link
      fedilink
      21 year ago

      In a way it’s still the same with more modern languages. Especially OOP, setting an object to Null is just setting the address pointer to to 0x00000000.

      Hence NullPointerException / NullReferenceException or similar, depending on the language.

    • kamenLady.
      link
      21 year ago

      Null is zero in german - so this must be free, it’s a german shop

    • Haus
      link
      fedilink
      21 year ago

      I’d guess, in context, it’s a floating point price column that hasn’t been set, and the table designer didn’t specify the column to be NOT NULL.