Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I do like lazy programmers, sometimes.

I do like lazy programmers, sometimes.

Scheduled Pinned Locked Moved The Lounge
27 Posts 17 Posters 5 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • OriginalGriffO Offline
    OriginalGriffO Offline
    OriginalGriff
    wrote on last edited by
    #1

    We have a very picky cat. Dij will eat Wiskas Fish (but no other form of Whiskas, Kit-ekay fish (under sufferance) and would happily starve rather than touch anything with "felix" written on the can. So it was with great delight that I found a different cat food he will eat : Butchers. Great! Even better, the company sent me a voucher for £3 off a pack of six cans. So I was passing a big branch of a supermarket which I was assured sells the stuff and went in. Lo! There was the product! At £2.50 per pack. Ok, lets see what happens...and a rather surprised and confused shop assistant takes the voucher, scans it, and hands me 50p... I do like lazy programmers:

    costToCustomer = productCost - voucherAmount;

    No sign of a limit check in there at all... :laugh: First time a supermarket has paid me to take goods way!

    The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

    L A J T H 9 Replies Last reply
    0
    • OriginalGriffO OriginalGriff

      We have a very picky cat. Dij will eat Wiskas Fish (but no other form of Whiskas, Kit-ekay fish (under sufferance) and would happily starve rather than touch anything with "felix" written on the can. So it was with great delight that I found a different cat food he will eat : Butchers. Great! Even better, the company sent me a voucher for £3 off a pack of six cans. So I was passing a big branch of a supermarket which I was assured sells the stuff and went in. Lo! There was the product! At £2.50 per pack. Ok, lets see what happens...and a rather surprised and confused shop assistant takes the voucher, scans it, and hands me 50p... I do like lazy programmers:

      costToCustomer = productCost - voucherAmount;

      No sign of a limit check in there at all... :laugh: First time a supermarket has paid me to take goods way!

      The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      For Easter I bought my missus a pack of 6 Cadbury Cream Eggs. There were only 5 inside. So I emailed Cadbury explaining this and saying I'd been getting earache from the wife ever since. Yesterday a voucher for £3 of Cadbury products turned up. I'll have to see if I can pull off the same trick.

      “I believe that there is an equality to all humanity. We all suck.” Bill Hicks

      1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        We have a very picky cat. Dij will eat Wiskas Fish (but no other form of Whiskas, Kit-ekay fish (under sufferance) and would happily starve rather than touch anything with "felix" written on the can. So it was with great delight that I found a different cat food he will eat : Butchers. Great! Even better, the company sent me a voucher for £3 off a pack of six cans. So I was passing a big branch of a supermarket which I was assured sells the stuff and went in. Lo! There was the product! At £2.50 per pack. Ok, lets see what happens...and a rather surprised and confused shop assistant takes the voucher, scans it, and hands me 50p... I do like lazy programmers:

        costToCustomer = productCost - voucherAmount;

        No sign of a limit check in there at all... :laugh: First time a supermarket has paid me to take goods way!

        The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

        A Offline
        A Offline
        Argonia
        wrote on last edited by
        #3

        Did you try Royal Canin food for your cat? I think they are better than Wiskas. There are 2 types of Royal Canin food normal(sold in the pet stores) and veterinarian (sold in the vet stores).

        OriginalGriffO V 2 Replies Last reply
        0
        • A Argonia

          Did you try Royal Canin food for your cat? I think they are better than Wiskas. There are 2 types of Royal Canin food normal(sold in the pet stores) and veterinarian (sold in the vet stores).

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          Never seen it in Wales - it may be a Bulgarian local manufacturer.

          The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          A E 2 Replies Last reply
          0
          • A Argonia

            Did you try Royal Canin food for your cat? I think they are better than Wiskas. There are 2 types of Royal Canin food normal(sold in the pet stores) and veterinarian (sold in the vet stores).

            V Offline
            V Offline
            V 0
            wrote on last edited by
            #5

            Argonia wrote:

            try Royal Canin

            Isn't that dog food ? :confused: :)

            V.
            (MQOTD Rules and previous Solutions )

            A 1 Reply Last reply
            0
            • V V 0

              Argonia wrote:

              try Royal Canin

              Isn't that dog food ? :confused: :)

              V.
              (MQOTD Rules and previous Solutions )

              A Offline
              A Offline
              Argonia
              wrote on last edited by
              #6

              They make dog food too.

              V 1 Reply Last reply
              0
              • OriginalGriffO OriginalGriff

                Never seen it in Wales - it may be a Bulgarian local manufacturer.

                The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                A Offline
                A Offline
                Argonia
                wrote on last edited by
                #7

                Impossible. I think its french brand Cat love

                M 1 Reply Last reply
                0
                • A Argonia

                  They make dog food too.

                  V Offline
                  V Offline
                  V 0
                  wrote on last edited by
                  #8

                  Argonia wrote:

                  They make dog cat food too.

                  FTFY. :-D

                  V.
                  (MQOTD Rules and previous Solutions )

                  1 Reply Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    We have a very picky cat. Dij will eat Wiskas Fish (but no other form of Whiskas, Kit-ekay fish (under sufferance) and would happily starve rather than touch anything with "felix" written on the can. So it was with great delight that I found a different cat food he will eat : Butchers. Great! Even better, the company sent me a voucher for £3 off a pack of six cans. So I was passing a big branch of a supermarket which I was assured sells the stuff and went in. Lo! There was the product! At £2.50 per pack. Ok, lets see what happens...and a rather surprised and confused shop assistant takes the voucher, scans it, and hands me 50p... I do like lazy programmers:

                    costToCustomer = productCost - voucherAmount;

                    No sign of a limit check in there at all... :laugh: First time a supermarket has paid me to take goods way!

                    The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    Any limit? Would have been awesome if you told the clerk "Oh, I did not just want the one pack. I want the whole lot and anything you may have in the back" :-D

                    Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet.

                    J 1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      We have a very picky cat. Dij will eat Wiskas Fish (but no other form of Whiskas, Kit-ekay fish (under sufferance) and would happily starve rather than touch anything with "felix" written on the can. So it was with great delight that I found a different cat food he will eat : Butchers. Great! Even better, the company sent me a voucher for £3 off a pack of six cans. So I was passing a big branch of a supermarket which I was assured sells the stuff and went in. Lo! There was the product! At £2.50 per pack. Ok, lets see what happens...and a rather surprised and confused shop assistant takes the voucher, scans it, and hands me 50p... I do like lazy programmers:

                      costToCustomer = productCost - voucherAmount;

                      No sign of a limit check in there at all... :laugh: First time a supermarket has paid me to take goods way!

                      The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                      J Offline
                      J Offline
                      Johnny J
                      wrote on last edited by
                      #10

                      I participate in a customer satisfaction program at the local store. Because of that, they've given me an electronic voucher that will give me 5% discount at one shopping occasion. I used that a long time ago when I got it, but every time I've shopped there afterwards, they have asked me if I wanted to use the 5% voucher. I always say yes. Seems like the "Used" status is not being updated correctly in their system. I must admit that I have neglected to inform them about this apparent programming miss... ;-) Unfortunately, there's also an expiration date, so in around 14 more days, the 5% discount will dissappear for good (presumeably). But by that time, I hope to have a new 5% voucher that hopefully works the same way (or doesn't work, if you will)!

                      Why can't I be applicable like John? - Me, April 2011
                      -----
                      Beidh ceol, caint agus craic againn - Seán Bán Breathnach
                      -----
                      Da mihi sis crustum Etruscum cum omnibus in eo!
                      -----
                      Just because a thing is new don’t mean that it’s better - Will Rogers, September 4, 1932

                      P M B 3 Replies Last reply
                      0
                      • J Johnny J

                        I participate in a customer satisfaction program at the local store. Because of that, they've given me an electronic voucher that will give me 5% discount at one shopping occasion. I used that a long time ago when I got it, but every time I've shopped there afterwards, they have asked me if I wanted to use the 5% voucher. I always say yes. Seems like the "Used" status is not being updated correctly in their system. I must admit that I have neglected to inform them about this apparent programming miss... ;-) Unfortunately, there's also an expiration date, so in around 14 more days, the 5% discount will dissappear for good (presumeably). But by that time, I hope to have a new 5% voucher that hopefully works the same way (or doesn't work, if you will)!

                        Why can't I be applicable like John? - Me, April 2011
                        -----
                        Beidh ceol, caint agus craic againn - Seán Bán Breathnach
                        -----
                        Da mihi sis crustum Etruscum cum omnibus in eo!
                        -----
                        Just because a thing is new don’t mean that it’s better - Will Rogers, September 4, 1932

                        P Offline
                        P Offline
                        Pete OHanlon
                        wrote on last edited by
                        #11

                        Of course, you could try the being honest approach and not try to game the system.

                        I was brought up to respect my elders. I don't respect many people nowadays.
                        CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                        J 1 Reply Last reply
                        0
                        • P Pete OHanlon

                          Of course, you could try the being honest approach and not try to game the system.

                          I was brought up to respect my elders. I don't respect many people nowadays.
                          CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                          J Offline
                          J Offline
                          Johnny J
                          wrote on last edited by
                          #12

                          Excuse me sonny, could you speak up a little, I'm a little hard of hearing, and I simply can't make out what you're saying... :rolleyes:

                          Why can't I be applicable like John? - Me, April 2011
                          -----
                          Beidh ceol, caint agus craic againn - Seán Bán Breathnach
                          -----
                          Da mihi sis crustum Etruscum cum omnibus in eo!
                          -----
                          Just because a thing is new don’t mean that it’s better - Will Rogers, September 4, 1932

                          1 Reply Last reply
                          0
                          • J Johnny J

                            I participate in a customer satisfaction program at the local store. Because of that, they've given me an electronic voucher that will give me 5% discount at one shopping occasion. I used that a long time ago when I got it, but every time I've shopped there afterwards, they have asked me if I wanted to use the 5% voucher. I always say yes. Seems like the "Used" status is not being updated correctly in their system. I must admit that I have neglected to inform them about this apparent programming miss... ;-) Unfortunately, there's also an expiration date, so in around 14 more days, the 5% discount will dissappear for good (presumeably). But by that time, I hope to have a new 5% voucher that hopefully works the same way (or doesn't work, if you will)!

                            Why can't I be applicable like John? - Me, April 2011
                            -----
                            Beidh ceol, caint agus craic againn - Seán Bán Breathnach
                            -----
                            Da mihi sis crustum Etruscum cum omnibus in eo!
                            -----
                            Just because a thing is new don’t mean that it’s better - Will Rogers, September 4, 1932

                            M Offline
                            M Offline
                            Mark_Wallace
                            wrote on last edited by
                            #13

                            Stock up on cat food, and send it to Griff.

                            I wanna be a eunuchs developer! Pass me a bread knife!

                            1 Reply Last reply
                            0
                            • OriginalGriffO OriginalGriff

                              We have a very picky cat. Dij will eat Wiskas Fish (but no other form of Whiskas, Kit-ekay fish (under sufferance) and would happily starve rather than touch anything with "felix" written on the can. So it was with great delight that I found a different cat food he will eat : Butchers. Great! Even better, the company sent me a voucher for £3 off a pack of six cans. So I was passing a big branch of a supermarket which I was assured sells the stuff and went in. Lo! There was the product! At £2.50 per pack. Ok, lets see what happens...and a rather surprised and confused shop assistant takes the voucher, scans it, and hands me 50p... I do like lazy programmers:

                              costToCustomer = productCost - voucherAmount;

                              No sign of a limit check in there at all... :laugh: First time a supermarket has paid me to take goods way!

                              The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                              T Offline
                              T Offline
                              TorstenH
                              wrote on last edited by
                              #14

                              Felix dry food is great for ours - the tiger loves the indoor version. The cans are not touched at all. Cats are very picky - you can figure it upon the amount of meat in the can - felix is only around 3% or so... get some with more meat in it.

                              regards Torsten When I'm not working

                              L 1 Reply Last reply
                              0
                              • A Argonia

                                Impossible. I think its french brand Cat love

                                M Offline
                                M Offline
                                Marco Bertschi
                                wrote on last edited by
                                #15

                                Definately, seen it around here too.

                                cheers Marco Bertschi


                                Software Developer Twitter | Facebook | Articles


                                You have absolutely no idea how glad I am that I have no idea at all. - OriginalGriff

                                1 Reply Last reply
                                0
                                • T TorstenH

                                  Felix dry food is great for ours - the tiger loves the indoor version. The cans are not touched at all. Cats are very picky - you can figure it upon the amount of meat in the can - felix is only around 3% or so... get some with more meat in it.

                                  regards Torsten When I'm not working

                                  L Offline
                                  L Offline
                                  leppie
                                  wrote on last edited by
                                  #16

                                  Ours just lick off the jelly or gravy ;p

                                  IronScheme
                                  ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                                  1 Reply Last reply
                                  0
                                  • OriginalGriffO OriginalGriff

                                    Never seen it in Wales - it may be a Bulgarian local manufacturer.

                                    The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                    E Offline
                                    E Offline
                                    Espen Harlinn
                                    wrote on last edited by
                                    #17

                                    OriginalGriff wrote:

                                    Never seen it in Wales

                                    And? It's for sale here in Norway too ...

                                    Espen Harlinn Principal Architect, Software - Goodtech Projects & Services AS Projects promoting programming in "natural language" are intrinsically doomed to fail. Edsger W.Dijkstra

                                    1 Reply Last reply
                                    0
                                    • J Johnny J

                                      I participate in a customer satisfaction program at the local store. Because of that, they've given me an electronic voucher that will give me 5% discount at one shopping occasion. I used that a long time ago when I got it, but every time I've shopped there afterwards, they have asked me if I wanted to use the 5% voucher. I always say yes. Seems like the "Used" status is not being updated correctly in their system. I must admit that I have neglected to inform them about this apparent programming miss... ;-) Unfortunately, there's also an expiration date, so in around 14 more days, the 5% discount will dissappear for good (presumeably). But by that time, I hope to have a new 5% voucher that hopefully works the same way (or doesn't work, if you will)!

                                      Why can't I be applicable like John? - Me, April 2011
                                      -----
                                      Beidh ceol, caint agus craic againn - Seán Bán Breathnach
                                      -----
                                      Da mihi sis crustum Etruscum cum omnibus in eo!
                                      -----
                                      Just because a thing is new don’t mean that it’s better - Will Rogers, September 4, 1932

                                      B Offline
                                      B Offline
                                      BobJanova
                                      wrote on last edited by
                                      #18

                                      For a faceless supermarket I might condone this, but for a local shop that you're presumably trying to support with your custom, I'd tell them that their system is broken. A 5% discount is probably wiping out their profit on everything you buy.

                                      J 1 Reply Last reply
                                      0
                                      • OriginalGriffO OriginalGriff

                                        We have a very picky cat. Dij will eat Wiskas Fish (but no other form of Whiskas, Kit-ekay fish (under sufferance) and would happily starve rather than touch anything with "felix" written on the can. So it was with great delight that I found a different cat food he will eat : Butchers. Great! Even better, the company sent me a voucher for £3 off a pack of six cans. So I was passing a big branch of a supermarket which I was assured sells the stuff and went in. Lo! There was the product! At £2.50 per pack. Ok, lets see what happens...and a rather surprised and confused shop assistant takes the voucher, scans it, and hands me 50p... I do like lazy programmers:

                                        costToCustomer = productCost - voucherAmount;

                                        No sign of a limit check in there at all... :laugh: First time a supermarket has paid me to take goods way!

                                        The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                        H Offline
                                        H Offline
                                        H Brydon
                                        wrote on last edited by
                                        #19

                                        Here in the Untied Snakes, we have several supermarket chains in considerable competition with each other. At one time they used to offer double coupons, even triple on some occasions. ... which is to say ... I've done better than that!

                                        -- Harvey

                                        1 Reply Last reply
                                        0
                                        • B BobJanova

                                          For a faceless supermarket I might condone this, but for a local shop that you're presumably trying to support with your custom, I'd tell them that their system is broken. A 5% discount is probably wiping out their profit on everything you buy.

                                          J Offline
                                          J Offline
                                          Johnny J
                                          wrote on last edited by
                                          #20

                                          You're right of course, but this is no local store it is a big supermarket chain we're talking about...

                                          Why can't I be applicable like John? - Me, April 2011
                                          -----
                                          Beidh ceol, caint agus craic againn - Seán Bán Breathnach
                                          -----
                                          Da mihi sis crustum Etruscum cum omnibus in eo!
                                          -----
                                          Just because a thing is new don’t mean that it’s better - Will Rogers, September 4, 1932

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups