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 want...

I want...

Scheduled Pinned Locked Moved The Lounge
php
25 Posts 17 Posters 0 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.
  • S Shog9 0

    36 24 36

    ---

    Shog9 The siren sings a lonely song - of all the wants and hungers The lust of love a brute desire - the ledge of life goes under

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

    and doesn't know how to count .. or what? :-D My article on a reference-counted smart pointer that supports polymorphic objects and raw pointers

    S 1 Reply Last reply
    0
    • L Lost User

      and doesn't know how to count .. or what? :-D My article on a reference-counted smart pointer that supports polymorphic objects and raw pointers

      S Offline
      S Offline
      Shog9 0
      wrote on last edited by
      #7

      Thomas George wrote: or what? I ran out of inspiration after the first three...

      ---

      Shog9 The siren sings a lonely song - of all the wants and hungers The lust of love a brute desire - the ledge of life goes under

      K 1 Reply Last reply
      0
      • M Mauricio Ritter

        ...six numbers (from 0 to 60). I´m going to bet on the lotery today. :) Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
        Life is a mixture of painful separations from your loved ones and joyful reunions, without those two we'd just be animals I guess. The more painful the separation, that much more wonderful will be the reunion - Nish
        "Th@ langwagje is screwed! It has if's but no end if's!! Stupid php cant even do butuns on forms! VISHAUL BASICS ARE THE FUTSHURE!" - Simon Walton

        B Offline
        B Offline
        brianwelsch
        wrote on last edited by
        #8

        21 01 26 45 3 41 Good Luck! How much is the winning? Our last one was $315 million :omg: One man won in West Virginia. The drawing was Christmas night, so I bought tickets for my family, but no matching numbers. :( BW "If you enjoy what you do, you'll never work another day in your life." - Confucius

        R 1 Reply Last reply
        0
        • B brianwelsch

          21 01 26 45 3 41 Good Luck! How much is the winning? Our last one was $315 million :omg: One man won in West Virginia. The drawing was Christmas night, so I bought tickets for my family, but no matching numbers. :( BW "If you enjoy what you do, you'll never work another day in your life." - Confucius

          R Offline
          R Offline
          retZ
          wrote on last edited by
          #9

          i have been seeing this on the tv for quite sometime now..can someone give me a brief tutorial about how this is actually played ?? There are no failures; there are only extended learning opportunities.

          B B 2 Replies Last reply
          0
          • M Mauricio Ritter

            ...six numbers (from 0 to 60). I´m going to bet on the lotery today. :) Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
            Life is a mixture of painful separations from your loved ones and joyful reunions, without those two we'd just be animals I guess. The more painful the separation, that much more wonderful will be the reunion - Nish
            "Th@ langwagje is screwed! It has if's but no end if's!! Stupid php cant even do butuns on forms! VISHAUL BASICS ARE THE FUTSHURE!" - Simon Walton

            V Offline
            V Offline
            Vagif Abilov
            wrote on last edited by
            #10

            Version 1: 1, 1, 1, 1, 1, 1 Version 2: 3.14, 2.89, 23.57, 16.05, 11.14, 43.57 ;P Вагиф Абилов MCP (Visual C++) Oslo, Norway Hex is for sissies. Real men use binary. And the most hardcore types use only zeros - uppercase zeros and lowercase zeros. Tomasz Sowinski

            L 1 Reply Last reply
            0
            • R retZ

              i have been seeing this on the tv for quite sometime now..can someone give me a brief tutorial about how this is actually played ?? There are no failures; there are only extended learning opportunities.

              B Offline
              B Offline
              brianwelsch
              wrote on last edited by
              #11

              Basically, you try to guess which random numbers will be selected on the drawing day. If you have X matching numbers you win money. PowerBall in the US has 6 numbers from 1-53 (or something around there) you purchase a ticket for $1 with your 6 guesses (these can generated by computer, or hand chosen) Every Wednesday and Saturday at 11PM EST, 6 winning numbers are picked(no duplicates). The odds are around 1:120,000,000 for the big prize, but its still sort of fun to play. If there is no winner, the prize grows for the following drawing. BW "If you enjoy what you do, you'll never work another day in your life." - Confucius

              R 1 Reply Last reply
              0
              • M Mauricio Ritter

                ...six numbers (from 0 to 60). I´m going to bet on the lotery today. :) Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
                Life is a mixture of painful separations from your loved ones and joyful reunions, without those two we'd just be animals I guess. The more painful the separation, that much more wonderful will be the reunion - Nish
                "Th@ langwagje is screwed! It has if's but no end if's!! Stupid php cant even do butuns on forms! VISHAUL BASICS ARE THE FUTSHURE!" - Simon Walton

                N Offline
                N Offline
                Navin
                wrote on last edited by
                #12

                7 13 29 31 47 53 Even a broken clock is right twice a day.

                1 Reply Last reply
                0
                • M Mauricio Ritter

                  ...six numbers (from 0 to 60). I´m going to bet on the lotery today. :) Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
                  Life is a mixture of painful separations from your loved ones and joyful reunions, without those two we'd just be animals I guess. The more painful the separation, that much more wonderful will be the reunion - Nish
                  "Th@ langwagje is screwed! It has if's but no end if's!! Stupid php cant even do butuns on forms! VISHAUL BASICS ARE THE FUTSHURE!" - Simon Walton

                  M Offline
                  M Offline
                  Michael Dunn
                  wrote on last edited by
                  #13

                  1 2 3 4 5 6 Assuming the probability of each number being chosen is equal, the above choices are as good as any. ;) --Mike-- If it doesn't move and it should: WD-40. If it moves and it shouldn't: duct tape. 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm

                  1 Reply Last reply
                  0
                  • B brianwelsch

                    Basically, you try to guess which random numbers will be selected on the drawing day. If you have X matching numbers you win money. PowerBall in the US has 6 numbers from 1-53 (or something around there) you purchase a ticket for $1 with your 6 guesses (these can generated by computer, or hand chosen) Every Wednesday and Saturday at 11PM EST, 6 winning numbers are picked(no duplicates). The odds are around 1:120,000,000 for the big prize, but its still sort of fun to play. If there is no winner, the prize grows for the following drawing. BW "If you enjoy what you do, you'll never work another day in your life." - Confucius

                    R Offline
                    R Offline
                    retZ
                    wrote on last edited by
                    #14

                    wow ! thanks..i am just thinking about the software behind all this..should be a great system to withstand such a heavy usage load..a great project to be working in :-) There are no failures; there are only extended learning opportunities.

                    B 1 Reply Last reply
                    0
                    • S Shog9 0

                      Thomas George wrote: or what? I ran out of inspiration after the first three...

                      ---

                      Shog9 The siren sings a lonely song - of all the wants and hungers The lust of love a brute desire - the ledge of life goes under

                      K Offline
                      K Offline
                      KaRl
                      wrote on last edited by
                      #15

                      :laugh::laugh:


                      One small village of indomitable geeks still holds out against the invaders. And life is not easy for the managers legionaries who garrison the fortified camps of Microsoftum, Javum, Ceplumplum and Vebasum

                      1 Reply Last reply
                      0
                      • S Shog9 0

                        36 24 36

                        ---

                        Shog9 The siren sings a lonely song - of all the wants and hungers The lust of love a brute desire - the ledge of life goes under

                        G Offline
                        G Offline
                        Gary R Wheeler
                        wrote on last edited by
                        #16

                        "owww, what a winning hand, she's a Brick... House." ( sorry. I had a senior moment there :rolleyes: )


                        Software Zen: delete this;

                        1 Reply Last reply
                        0
                        • R retZ

                          wow ! thanks..i am just thinking about the software behind all this..should be a great system to withstand such a heavy usage load..a great project to be working in :-) There are no failures; there are only extended learning opportunities.

                          B Offline
                          B Offline
                          brianwelsch
                          wrote on last edited by
                          #17

                          There are currently 23 states involved in this game, and the store where the winning ticket was sold is known immediate after the drawing. Pretty impressive. BW "If you enjoy what you do, you'll never work another day in your life." - Confucius

                          R 1 Reply Last reply
                          0
                          • B brianwelsch

                            There are currently 23 states involved in this game, and the store where the winning ticket was sold is known immediate after the drawing. Pretty impressive. BW "If you enjoy what you do, you'll never work another day in your life." - Confucius

                            R Offline
                            R Offline
                            retZ
                            wrote on last edited by
                            #18

                            only mainframes can do that..everything else would fall flat There are no failures; there are only extended learning opportunities.

                            1 Reply Last reply
                            0
                            • M Mauricio Ritter

                              ...six numbers (from 0 to 60). I´m going to bet on the lotery today. :) Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
                              Life is a mixture of painful separations from your loved ones and joyful reunions, without those two we'd just be animals I guess. The more painful the separation, that much more wonderful will be the reunion - Nish
                              "Th@ langwagje is screwed! It has if's but no end if's!! Stupid php cant even do butuns on forms! VISHAUL BASICS ARE THE FUTSHURE!" - Simon Walton

                              D Offline
                              D Offline
                              David Wulff
                              wrote on last edited by
                              #19

                              You've already got plenty of suggestions, so I'll just say "good luck". I would just choose random numbers (i.e. let the machine tha tissues the ticket choose for you, if that is possible over there). Never play a lottery hoping to win though - 'cause you won't - but if you play regularly and not really caring then you can walk away with quite a bit more than you actually spend on, say, a period of a year. We won four tenners *again* this week, and whilst we've never got the jackpot we did get five numbers once which was great (the third place prize).


                              David Wulff http://www.davidwulff.co.uk

                              Skippy, the rain won't come! [+]

                              A 1 Reply Last reply
                              0
                              • V Vagif Abilov

                                Version 1: 1, 1, 1, 1, 1, 1 Version 2: 3.14, 2.89, 23.57, 16.05, 11.14, 43.57 ;P Вагиф Абилов MCP (Visual C++) Oslo, Norway Hex is for sissies. Real men use binary. And the most hardcore types use only zeros - uppercase zeros and lowercase zeros. Tomasz Sowinski

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

                                version 2 has a very high probability of winning the jackpot :-D My article on a reference-counted smart pointer that supports polymorphic objects and raw pointers

                                1 Reply Last reply
                                0
                                • M Mauricio Ritter

                                  ...six numbers (from 0 to 60). I´m going to bet on the lotery today. :) Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
                                  Life is a mixture of painful separations from your loved ones and joyful reunions, without those two we'd just be animals I guess. The more painful the separation, that much more wonderful will be the reunion - Nish
                                  "Th@ langwagje is screwed! It has if's but no end if's!! Stupid php cant even do butuns on forms! VISHAUL BASICS ARE THE FUTSHURE!" - Simon Walton

                                  B Offline
                                  B Offline
                                  Brian Delahunty
                                  wrote on last edited by
                                  #21

                                  12 22 34 38 55 59 Regards, Brian Dela :-)

                                  1 Reply Last reply
                                  0
                                  • M Mauricio Ritter

                                    ...six numbers (from 0 to 60). I´m going to bet on the lotery today. :) Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
                                    Life is a mixture of painful separations from your loved ones and joyful reunions, without those two we'd just be animals I guess. The more painful the separation, that much more wonderful will be the reunion - Nish
                                    "Th@ langwagje is screwed! It has if's but no end if's!! Stupid php cant even do butuns on forms! VISHAUL BASICS ARE THE FUTSHURE!" - Simon Walton

                                    S Offline
                                    S Offline
                                    Steven Hicks n 1
                                    wrote on last edited by
                                    #22

                                    srand(time); for (int i=1; i<=6; i++)(rand()%59)+1; -Steven CP Addict

                                    By reading this message you are held fully responsible for any of the mispelln's or grammer, issues, found on, codeproject.com.

                                    For those who were wondering, actual (Linux) Penguins were harmed in creating this message.

                                    Visit Ltpb.8m.com
                                    404Browser (Efficient, Fast, Secure Web Browser): 404Browser.com

                                    1 Reply Last reply
                                    0
                                    • D David Wulff

                                      You've already got plenty of suggestions, so I'll just say "good luck". I would just choose random numbers (i.e. let the machine tha tissues the ticket choose for you, if that is possible over there). Never play a lottery hoping to win though - 'cause you won't - but if you play regularly and not really caring then you can walk away with quite a bit more than you actually spend on, say, a period of a year. We won four tenners *again* this week, and whilst we've never got the jackpot we did get five numbers once which was great (the third place prize).


                                      David Wulff http://www.davidwulff.co.uk

                                      Skippy, the rain won't come! [+]

                                      A Offline
                                      A Offline
                                      adamUK
                                      wrote on last edited by
                                      #23

                                      Jeez... 5 numbers.. That's like me guessing your phone number and getting it right first time... ...0131 2932948? Am I close? I used to play the lottery until someone pointed this out to me and it blew me a way. I guess 14,000,000 to 1 doesn't mean much until it is put in context!! www.beachwizard.com/travelogue[^] "I spent a lot of my money on booze, birds and fast cars. The rest I just squandered" George Best.

                                      D 1 Reply Last reply
                                      0
                                      • R retZ

                                        i have been seeing this on the tv for quite sometime now..can someone give me a brief tutorial about how this is actually played ?? There are no failures; there are only extended learning opportunities.

                                        B Offline
                                        B Offline
                                        Brit
                                        wrote on last edited by
                                        #24

                                        How it is played: Pick 5 numbers between 1-53 (order is not important, no duplicates). Pick a powerball number between 1-42. If you match all numbers, you win the jackpot. The statistical odds per ticket are 53*52*51*50*49/5/4/3/2*42 (if I did my math right) = 1 in 120,526,770. If two or more people match the number, they split the jackpot. If you win, the money is heavily taxed and the prize amount is the total dollar amount payed out over 20 years. Hence, $20 million jackpot actually means $1 million per year for $20 years - which, if you are accounting for depreciation, is worth less than $20 million. You can get a lump sum payment. The latest winner won $315 million - which he took in a lump sum payment of (after taxes) of (I think) $110 million. He was lucky enough not to have to share the prize. A $1 ticket with a 1 in 120 million odds payed $110 million. If you do the math, it is *on average* slightly less than break-even (and that doesn't take into account the possibility that you might have to share it, which would reduce the prize value). There was probably $200 million+ spent on trying to win the $110 million. ------------------------------------------ "Isn't it funny how people say they'll never grow up to be their parents, then one day they look in the mirror and they're moving aircraft carriers into the Gulf region?" - The Onion

                                        1 Reply Last reply
                                        0
                                        • A adamUK

                                          Jeez... 5 numbers.. That's like me guessing your phone number and getting it right first time... ...0131 2932948? Am I close? I used to play the lottery until someone pointed this out to me and it blew me a way. I guess 14,000,000 to 1 doesn't mean much until it is put in context!! www.beachwizard.com/travelogue[^] "I spent a lot of my money on booze, birds and fast cars. The rest I just squandered" George Best.

                                          D Offline
                                          D Offline
                                          David Wulff
                                          wrote on last edited by
                                          #25

                                          I never gave any guarantees, but just like being hit by a bus there is a teeny wheeny possibility in there, and whilst not playing will guarantee that you never win a penny, donating a little spare cash each week to the lottery does no harm. I don't mind making other people richer on the possiblity (I am tempted to use "probability" here instead based on what I have personally experienced) I'll mkae a little extra cash each year in return. Obviously not everyone will get winning numbers each draw (twice a week, we don't play the "extra" or "thunderball" draws, only the standard game) but someone somewhere will. Like I said, we don't play to win and we don't even give it a second thought (we choose "lucky dip" numbers each draw, and buy about three or four tickets each draw depending on the spare change available). adamUK wrote: I guess 14,000,000 to 1 doesn't mean much until it is put in context!! Statistics - you know what they say about them don't you? The game only works because people instinctively gamble when the odds are so very very high, not necessarily with any hope of winning but on the chance that in this pool of unknown we live in all sorts of crazy shit happens. I personally know a guy who put ten pounds on a horse at 100-1 and ninety pounds on a horse 2-1. He walked away with £1010 that day. Life is a big gamble, and as they say it is the taking part that counts: the rush we get from being so close. Any man who plays a lottery on such a scale with any real image of hope is a fool, but any man who dismisses all chance because of that is an even bigger one.


                                          David Wulff http://www.davidwulff.co.uk

                                          Skippy, the rain won't come! [+]

                                          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