Welcome Guest
Log In | Register )
You last visited December 7, 2016, 7:22 am
All times shown are
Eastern Time (GMT-5:00)

Todd - Status of the vtrac search engine?

Topic closed. 6 replies. Last post 10 years ago by tntea.

Page 1 of 1
51
PrintE-mailLink
calabs's avatar - bass fret.jpg

United States
Member #27050
November 26, 2005
40272 Posts
Offline
Posted: February 21, 2007, 12:14 pm - IP Logged

Hi Todd - can you please give us an update on how this project is going, and when you think you might have the time to complete it? 

On another note, would it be possible to have a vtrac filter placed in the deflation tool?  This would be extremely helpful in reducing numbers.... thanks for any info...!

Lep

    Todd's avatar - Cylon 2.gif
    Chief Bottle Washer
    New Jersey
    United States
    Member #1
    May 31, 2000
    23262 Posts
    Offline
    Posted: February 21, 2007, 1:17 pm - IP Logged

    <Moved to Suggestions forum>

    Please post in the appropriate forum ... thank you.

      Todd's avatar - Cylon 2.gif
      Chief Bottle Washer
      New Jersey
      United States
      Member #1
      May 31, 2000
      23262 Posts
      Offline
      Posted: February 21, 2007, 1:21 pm - IP Logged

      This is related to a previous suggestion, which is why I moved it in the Suggestions forum.

      I have made no progress on a vTrac search tool.  I have had my hands full!  I can't really predict when I'll get to it, namely because there are a number of things ahead of it right now.  However, I don't want to leave the impression that it won't be built, because I am planning on building it.  I just don't know when.

      Thank you for the suggestion of the vTrac filter in the Deflate tool. 

       

      Check the State Lottery Report Card
      What grade did your lottery earn?

       

      Sign the Petition for True Lottery Drawings
      Help eliminate computerized drawings!

        calabs's avatar - bass fret.jpg

        United States
        Member #27050
        November 26, 2005
        40272 Posts
        Offline
        Posted: February 22, 2007, 11:48 am - IP Logged

        Thanks for the update Todd - So do you think it is possible to put a vtrac filter on the deflation tool?  when it comes to code, I'm clueless, so I have no idea how long a project like this will take to complete.  Would a vtrac filter on the deflation tool take long to implement?  Thanks...

        Let me just comment here that the tools here available to upgraded members (Inspector, Deflation, Vtrac, etc.)  are fantasitc.  If you take the time to learn their full potential, they are an invaluable resource.  Thank you for putting the work into these tools and making them available to us.  It's much appreciated...!!!

        Lep

          Todd's avatar - Cylon 2.gif
          Chief Bottle Washer
          New Jersey
          United States
          Member #1
          May 31, 2000
          23262 Posts
          Offline
          Posted: February 22, 2007, 4:27 pm - IP Logged

          Thanks for the update Todd - So do you think it is possible to put a vtrac filter on the deflation tool?  when it comes to code, I'm clueless, so I have no idea how long a project like this will take to complete.  Would a vtrac filter on the deflation tool take long to implement?  Thanks...

          Let me just comment here that the tools here available to upgraded members (Inspector, Deflation, Vtrac, etc.)  are fantasitc.  If you take the time to learn their full potential, they are an invaluable resource.  Thank you for putting the work into these tools and making them available to us.  It's much appreciated...!!!

          That's a good question (about how difficult it would be to add as a filter to Deflate 3).

          It will not be a simple addition, probably 2-3 days of building, debugging, and adjusting.  It could be a little more, I'm not sure.

          There is a key design decision I need to make when putting it together, and it centers around performance.  When I build something for LP, I need to keep in mind that maybe a couple dozen different people will be using the program simultaneously, so I need to design things to be as efficient as possible.

          With the current vTracs programs that displays the lottery results alongside the vTracs numbers, the program reads all the results from the database that are necessary to generate the display, translates all of the numbers into their matching vTracs, and then formats the data and outputs it to the page.

          In that process, the most processor-intensive (computational) task is to do the translations from regular results to vTracs.  The program does roughly 75-100 translations every time someone views the page, which may sound like a lot, especially when a few dozen people look at the page at the same time, but I built a very powerful web server, so it happens pretty quickly.  (I just tested and it came out in 0.0458 seconds.)

          However, if I applied that same strategy to something that searched for vTracs, it would be a completely different story.  Every time someone did a search, it would have to do literally thousands of translations, as it goes through every drawing of every game, translates the number to a vTrac, and then compares it against the various possible matching scenarios.  Then when you take into account a few dozen people doing it at the same time, we're talking major meltdown.  And these days people start tapping their feet when a page takes more than a second.

          So what to do?

          Well, I have a few ideas, but I haven't decided for sure on one of them.  I think one thing is clear, that I can't do all those translations "on the fly", I need to pre-calculate a lot of that stuff.  But then comes the issue of do I really want to dedicate the storage space necessary to pre-calculate vTracs for every Pick 3 and Pick 4 lottery game, for drawing that has ever took place?  And then how does that date get maintained in real-time, so when new drawings happen the vTracs get updated?

          I'm just asking those questions rhetorically, but I wanted to give you a sense of what goes into these things, and why sometimes it takes a good amount of time to plan and execute these things.

          Every new feature goes through countless design decisions like this, whether it's a user interface issue, a menu option, a number-crunching program, a database, or anything in between.  If I had made a bunch of bad design decisions along the way in the past several years, I would be spending twice as long fixing things today as I do building new things.  Fortunately that's not the case.

           

          Check the State Lottery Report Card
          What grade did your lottery earn?

           

          Sign the Petition for True Lottery Drawings
          Help eliminate computerized drawings!

            calabs's avatar - bass fret.jpg

            United States
            Member #27050
            November 26, 2005
            40272 Posts
            Offline
            Posted: February 26, 2007, 11:02 am - IP Logged

            Doesn't sound trivial..!!  Thanks Todd.  I can only imagine how much effort you put into everything here on LP... thanks for listening, and I hope you can put something together at some point.!

            Lep

              tntea's avatar - Lottery-059.jpg

              United States
              Member #5344
              June 30, 2004
              23641 Posts
              Offline
              Posted: March 24, 2007, 5:15 pm - IP Logged

              To deflate the vtracs using 5 states at a time would be a BIG plus to the vtrac page.

              If it could be set up like the "daily results" page..

                   OLD/Vtrac   Lottery Bible         Double Warnings      Thumbs Up TN F34/F44