Re: New random discoveries?

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 60715
interpreted = N
texte = Keep an incrementing counter for each banner, each time the banner is shown, increment the counter up one. The next time the search is run, find all of the banners for that section, sort by the number of counts ascending and then subsort randomly within the counts. [search db=test.db&neskudatarq=[blank]&coutnsort=1&countsdir=as&counttype=num&skusort=2&skusdir=as&max=1] This way, as a banner gets a count added to it, it drops to the bottom of the list and isn't shown again until the rest of the banners catch up to it. I used a similar approach to create a game that showed random advertisers and gave you points depending on which advertiser you picked. Kind of like "Life" only with ads in it. -----Original message----- From: "Justin Carroll" justincarroll@sanduskyregister.com Date: Fri, 7 Jan 2005 15:47:22 -0500 To: "WebDNA Talk" WebDNA-Talk@talk.smithmicro.com Subject: New random discoveries? > I've created a banner rotating system and have noticed that random isn't > so random just like many people have on the talk-list. After reading the> talk-list e-mail database it seemed like using "allhit=1" was the solu> tion so I tried it and it didn't work for me. Here's my search string: > > [search db=test.db&neskudatarq=[blank]&skusort=1&skusdir=ra&skuty> pe=num&max=1&allhit=1] > > It's crucial to my banner system that the banners reach a certain amount > of views in a month's time. One way we thought to fix this is by taking > the banners that have reached their quota for the month and turn them off> so that the other banners can catch up. This won't be efficient in the > future when the volume of banners running increases. We don't need a sys> tem that must show every banner and keeps track of that (we would use a t> emporary db to do that) we just need a random that has a less dramatic be> ll curve. And we don't want to recode part of our system based on poor r> andom performance. > > Have there been any new discoveries with WebDNA's random function? What > are other people doing to get around this problem? Has SM said anything > to anyone? Thanks. > > Justin Carroll > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: New random discoveries? ( matthew.bohne@benetela.com 2005)
  2. Re: New random discoveries? ( "Justin Carroll" 2005)
  3. Re: New random discoveries? ( John Peacock 2005)
  4. Re: New random discoveries? ( Jesse Proudman 2005)
  5. Re: New random discoveries? ( matthew.bohne@benetela.com 2005)
  6. Re: New random discoveries? ( John Peacock 2005)
  7. Re: New random discoveries? ( "Justin Carroll" 2005)
  8. Re: New random discoveries? ( "WebDna @ Inkblot Media" 2005)
  9. New random discoveries? ( "Justin Carroll" 2005)
Keep an incrementing counter for each banner, each time the banner is shown, increment the counter up one. The next time the search is run, find all of the banners for that section, sort by the number of counts ascending and then subsort randomly within the counts. [search db=test.db&neskudatarq=[blank]&coutnsort=1&countsdir=as&counttype=num&skusort=2&skusdir=as&max=1] This way, as a banner gets a count added to it, it drops to the bottom of the list and isn't shown again until the rest of the banners catch up to it. I used a similar approach to create a game that showed random advertisers and gave you points depending on which advertiser you picked. Kind of like "Life" only with ads in it. -----Original message----- From: "Justin Carroll" justincarroll@sanduskyregister.com Date: Fri, 7 Jan 2005 15:47:22 -0500 To: "WebDNA Talk" WebDNA-Talk@talk.smithmicro.com Subject: New random discoveries? > I've created a banner rotating system and have noticed that random isn't > so random just like many people have on the talk-list. After reading the> talk-list e-mail database it seemed like using "allhit=1" was the solu> tion so I tried it and it didn't work for me. Here's my search string: > > [search db=test.db&neskudatarq=[blank]&skusort=1&skusdir=ra&skuty> pe=num&max=1&allhit=1] > > It's crucial to my banner system that the banners reach a certain amount > of views in a month's time. One way we thought to fix this is by taking > the banners that have reached their quota for the month and turn them off> so that the other banners can catch up. This won't be efficient in the > future when the volume of banners running increases. We don't need a sys> tem that must show every banner and keeps track of that (we would use a t> emporary db to do that) we just need a random that has a less dramatic be> ll curve. And we don't want to recode part of our system based on poor r> andom performance. > > Have there been any new discoveries with WebDNA's random function? What > are other people doing to get around this problem? Has SM said anything > to anyone? Thanks. > > Justin Carroll > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ matthew.bohne@benetela.com

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

webcat2b12 CGI -- Date comparisons (1997) Multiple Passwords (1997) Beta 3.0.3 fix for serial# problem (Mac) (1998) WebCat2b13 Command Reference Doc error (1997) page not found redirect (1999) speed of TCPConnect? (1998) Notepad problems (1998) DATES (2004) WebCatalog [FoundItems] Problem - LONG - (1997) Searching Multiple DBs (1997) [WriteFile] problems (1997) [BULK] RE: [WebDNA] Redirecting incoming URL request to https page (2018) I'm new (2001) Search Engines (2000) Separate SSL Server (1997) [TCPConnect] Errors (2003) help with writefile (1998) Frames and WebCat (1997) Re:Why did PCS send me this? (1999) Unexpected error (1997)