Banner Picture submissions - Page 3 - YotaTech Forums
YotaTech Forums  

Go Back   YotaTech Forums > Toyota Forums Available > Announcements, Tips & Tricks, Site Feedback, Test Section, & Contact Us > Announcements

Welcome to Yotatech!
Welcome to Yotatech,

You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our community, at no cost, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is free, fast and simple, so please join our community today!


Reply
 
Thread Tools Search this Thread
Old 01-07-2006, 03:53 PM   #51 (permalink)
Contributing Member
 
FilthyRich's Avatar
 
Join Date: Jun 2004
Location: Richmond, Va
Posts: 4,261
Quote:
Originally Posted by WATRD
What are you thinking Man?! You are on the hook now, there is NO done... You will become the patron saint of graphics challenged people everywhere...
Thanks Mark
This ad is not displayed to registered members.
Register your free account today and become a member on Yotatech!
__________________
Eric

88 4runner

Quote:
Originally Posted by AxleIke
"Just wheel what you got until it doesn't cut it anymore".
FilthyRich is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 04:12 PM   #52 (permalink)
Contributing Member
 
calrockx's Avatar
 
Join Date: Sep 2002
Location: Santa Clarita, California
Posts: 4,742
Send a message via AIM to calrockx
maybe i'm in the minority here, but i think there should be only one centerpiece picture. and i'm not just saying that cause i made one, it doesn't have to be mine at all.

i just think that way there's a bit of consistency to the banner and it gives new visitors a uniform "website identity" of offroading toyota trucks. the random rig pictures already provides the element of dynamism.

"my other pics are at the cleaners" hmmm....
__________________
[2002 4Runner 4WD]
calrockx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 04:15 PM   #53 (permalink)
Co-Founder/Administrator
Staff
 
Corey's Avatar
 
Join Date: May 2002
Location: Auburn, Washington
Posts: 26,071
Quote:
Originally Posted by calrockx
"my other pics are at the cleaners" hmmm....
Now who went and did that?

Corey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 04:16 PM   #54 (permalink)
Contributing Member
 
WATRD's Avatar
 
Join Date: Oct 2002
Location: Duvall, WA
Posts: 5,109
Okay, just an FYI; I found an elegant solution to the duplicate image problem.

What is happening now, is that each image is chosen randomly, independant of the others. In other words, there is a one in (number of images in pool) chance that a particular image will be selected. Then the next image is chosen and the odds are the same and so on, for four images.

That means that the bigger the pool of images, the less likely any particular image will be chosen. However, no matter how large the pool is, probability dictates that sometimes an image will be selected more than once. Basically what I have built was a purely random slot machine More on that later...

But, I found an answer... I can now check each image as it is selected, to see if it's already in the chosen pile. If it is, I discard it and grab another and so on... This should take care of our duplicate problem without slowing things down Yeah!

I am coding the new solution and then will do some testing, so Corey should have the new version either later tonight or sometime tomorrow.

As a side project, I am not working on both a slot machine and a poker game that will use the same script as their basis The poker game is more complicated because it has to remember what cards have already been played... hahahahhaha
__________________
-Rob
Slightly Modified 2001 Tacoma - WATRD.COM
WATTORA is becoming NWToys!
Tread Lightly! certified Tread Trainer


Search 100+ Toyota tech sites, including this one: Toyota Tech Search
WATRD is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 04:19 PM   #55 (permalink)
Contributing Member
 
calrockx's Avatar
 
Join Date: Sep 2002
Location: Santa Clarita, California
Posts: 4,742
Send a message via AIM to calrockx
sounds like a few IF statements, hm? (i'm a total php programming newbie obviously) glad to see you got a solution worked up.
__________________
[2002 4Runner 4WD]
calrockx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 04:30 PM   #56 (permalink)
Contributing Member
 
WATRD's Avatar
 
Join Date: Oct 2002
Location: Duvall, WA
Posts: 5,109
Nope. I was trying to avoid going the nested IF statement route. That was slowing things down too much

Instead I am feeding everything into an array, and then using;

in_array
Checks if a value exists in an array (PHP 4, PHP 5)
Searches haystack for needle and returns TRUE if it is found in the array, FALSE otherwise.

To do the work for me
__________________
-Rob
Slightly Modified 2001 Tacoma - WATRD.COM
WATTORA is becoming NWToys!
Tread Lightly! certified Tread Trainer


Search 100+ Toyota tech sites, including this one: Toyota Tech Search
WATRD is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 04:31 PM   #57 (permalink)
Sponsoring Member
 
midiwall's Avatar
 
Join Date: Dec 2002
Location: Seattleish, WA
Posts: 9,078
Quote:
Originally Posted by calrockx
sounds like a few IF statements, hm? (i'm a total php programming newbie obviously) glad to see you got a solution worked up.
Actually, the "formal" solution to dealing a poker hand is basically a single IF statement and a recursive call.


Quote:
Originally Posted by WATRD
Instead I am feeding everything into an array, and then using;
in_array
well, then there's that...
__________________
~ Mark
'96 4Runner Limited S/C MI - 370cc injectors, Air! horns, Airaid MIT, ATS A-arms, 285/75/R16 BFG MTs, Bored TB, Brembo slotted, Cobra 75 WXST, Deckplate, Downey headers, Hayden cooler, IPT valve body, Level 10 torque convertor, Meanstreak exhaust, OME/OME rears, On-board PC (XM, Nav, WiFi, etc), Port 'n Polish, Remote Start, SAW fronts, Hilux console, SMT-5, Stubb's sliders, Supra MAF, TJM-17, 2.0" pulley, Viair 450c, Walbro 190, Weasy2k cams

Last edited by midiwall; 01-07-2006 at 04:32 PM.
midiwall is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 04:40 PM   #58 (permalink)
Super Moderator-Sponsoring Member
Staff
 
waskillywabbit's Avatar
 
Join Date: Jul 2003
Location: Tuscaloosa, AL
Posts: 14,548
Send a message via AIM to waskillywabbit Send a message via MSN to waskillywabbit Send a message via Yahoo to waskillywabbit
Heck, if you were a "real" programmer worth a hoot you'd just use some "real" code like FORTRAN!

waskillywabbit is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 04:42 PM   #59 (permalink)
Contributing Member
 
WATRD's Avatar
 
Join Date: Oct 2002
Location: Duvall, WA
Posts: 5,109
Hell, I can do it in Z-80 if it blows your skirt up... But teaching Corey to implement it is going to be hell...
__________________
-Rob
Slightly Modified 2001 Tacoma - WATRD.COM
WATTORA is becoming NWToys!
Tread Lightly! certified Tread Trainer


Search 100+ Toyota tech sites, including this one: Toyota Tech Search
WATRD is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 04:46 PM   #60 (permalink)
Co-Founder/Administrator
Staff
 
Corey's Avatar
 
Join Date: May 2002
Location: Auburn, Washington
Posts: 26,071
I know morse code.
Corey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 04:47 PM   #61 (permalink)
Super Moderator-Sponsoring Member
Staff
 
waskillywabbit's Avatar
 
Join Date: Jul 2003
Location: Tuscaloosa, AL
Posts: 14,548
Send a message via AIM to waskillywabbit Send a message via MSN to waskillywabbit Send a message via Yahoo to waskillywabbit
Quote:
Originally Posted by WATRD
Hell, I can do it in Z-80 if it blows your skirt up... But teaching Corey to implement it is going to be hell...
But can you do it in Z-28?

I LIKE the "humorous" center section pics that change.

waskillywabbit is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 05:08 PM   #62 (permalink)
Contributing Member
 
WATRD's Avatar
 
Join Date: Oct 2002
Location: Duvall, WA
Posts: 5,109
Quote:
Originally Posted by Corey
I know morse code.
... --- --..-- / -.-- --- ..- / -.- -. --- .-- / -- --- .-. ... . / -.-. --- -.. . / -.. --- / -.-- --- ..- ..--.. / .... --- .-- / -.. .. -.. / -.-- --- ..- / .... .- .--. .--. . -. / -... -.-- / - .... .- - / ... -.- .. .-.. .-.. ..--.. / .. - .----. ... / .- / .-.. .- -. --. ..- .- --. . / - .... .- - / .. ... / .- .-.. -- --- ... - / .- ... / -.. . .- -.. / .- ... / - .... . / .-.. .- - .. -. / .. -. / -- -.-- / ... .. --. -. .- - ..- .-. . .-.-.-
__________________
-Rob
Slightly Modified 2001 Tacoma - WATRD.COM
WATTORA is becoming NWToys!
Tread Lightly! certified Tread Trainer


Search 100+ Toyota tech sites, including this one: Toyota Tech Search
WATRD is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 05:12 PM   #63 (permalink)
Super Moderator
Staff
 
Tofer's Avatar
 
Join Date: Jul 2004
Location: Tacoma WA.
Posts: 6,902
Send a message via ICQ to Tofer Send a message via AIM to Tofer Send a message via MSN to Tofer Send a message via Yahoo to Tofer
rob.. are you really that bored?
__________________
94 4runenr: all the good stuff.......
89 4runner: 3.0, Auto, 5.29 lockright f/r. 31x10.5 wildcountry ATs.
81 2wd pickup: 22R | 5-sp | long bed |Civic SI seats | LockRight | Hella 500s


pacific-crawlers.com

For all your Trail-gear and HID lighting Solutions Needs check out yotaworks.com Online store coming soon :)
Tofer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 05:17 PM   #64 (permalink)
Contributing Member
 
WATRD's Avatar
 
Join Date: Oct 2002
Location: Duvall, WA
Posts: 5,109
How bored is that? I am mutli-tasking, writing banner code in one window, debugging code in another window and surfing forums in yet another...
__________________
-Rob
Slightly Modified 2001 Tacoma - WATRD.COM
WATTORA is becoming NWToys!
Tread Lightly! certified Tread Trainer


Search 100+ Toyota tech sites, including this one: Toyota Tech Search
WATRD is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 05:24 PM   #65 (permalink)
Contributing Member
 
Silver_Truck's Avatar
 
Join Date: Oct 2004
Location: B'ham, WA
Posts: 1,820
anyone else not too fond of the curly writing for the "Yotatech off road or around the block" looks kinda ghey to me, doesn't really fit with trucks and the rest of the banner
__________________
-Geoff
*1991 Toyota Pickup Ext. Cab SR5 4x4 V6 5 spd K&N intake, port & polished heads with OS valves, port & polished intake manifold and plenum, NWOR headers and crossover, NWOR catback, Denso Iridium plugs, Redline Fluids, 4.88s, Rear LockRight, Aisin hubs, Chevy springs, BJ spacers, 2" RB body lift, 34x10.5 Swamper LTBs, WolphisWorks Sliders and bumpers, 400,000 mi.
Silver_Truck is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 05:37 PM   #66 (permalink)
Co-Founder/Administrator
Staff
 
Corey's Avatar
 
Join Date: May 2002
Location: Auburn, Washington
Posts: 26,071
-.-. .- -. + -.-- --- ..- + .... . .- .-. + -- . + -. --- .--

Not all of the center pics are perms.
Remember, we are playing around testing it out still
Corey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 08:50 PM   #67 (permalink)
Sponsoring Member
 
midiwall's Avatar
 
Join Date: Dec 2002
Location: Seattleish, WA
Posts: 9,078
Quote:
Originally Posted by WATRD
Hell, I can do it in Z-80 if it blows your skirt up... But teaching Corey to implement it is going to be hell...
Code:
      ld de,CURRENT_PIC
      ld hl,PIC_ARRAY
  lp1:
      ld bc,MAX_LEN
  lp2:
      ld   a,(de)
      cmp  (hl)
      ldir  lp2
      ...


Quote:
Originally Posted by Silver_Truck
anyone else not too fond of the curly writing for the "Yotatech off road or around the block" looks kinda ghey to me, doesn't really fit with trucks and the rest of the banner
2nd'... Not a fan of the curly version of the center pic.
__________________
~ Mark
'96 4Runner Limited S/C MI - 370cc injectors, Air! horns, Airaid MIT, ATS A-arms, 285/75/R16 BFG MTs, Bored TB, Brembo slotted, Cobra 75 WXST, Deckplate, Downey headers, Hayden cooler, IPT valve body, Level 10 torque convertor, Meanstreak exhaust, OME/OME rears, On-board PC (XM, Nav, WiFi, etc), Port 'n Polish, Remote Start, SAW fronts, Hilux console, SMT-5, Stubb's sliders, Supra MAF, TJM-17, 2.0" pulley, Viair 450c, Walbro 190, Weasy2k cams
midiwall is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 09:46 PM   #68 (permalink)
Contributing Member
 
WATRD's Avatar
 
Join Date: Oct 2002
Location: Duvall, WA
Posts: 5,109
Okay, Corey has the revised code that will not allow a repeat of the same picture in any single rendering of the banner.

As Corey mentioned, things are still in "beta", so submit some new centerpiece images to him so we don't have to use the demo images... I know it's more work than just voting on what you don't like, but it really is more productive
__________________
-Rob
Slightly Modified 2001 Tacoma - WATRD.COM
WATTORA is becoming NWToys!
Tread Lightly! certified Tread Trainer


Search 100+ Toyota tech sites, including this one: Toyota Tech Search
WATRD is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 10:11 PM   #69 (permalink)
Banned
 
Join Date: Jan 2005
Posts: 0
Send a message via AIM to garrett1478
rob -

i'm still seeing doubles... very rarely, but about 1 in maybe 10 or 15 times, theres 2 of the same pics up there, and its different users everytime. maybe people submitted the same pictures twice? or is it the code?

...yes i'm bored enough to hit F5 and look for doubles...
garrett1478 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 10:14 PM   #70 (permalink)
Contributing Member
 
WATRD's Avatar
 
Join Date: Oct 2002
Location: Duvall, WA
Posts: 5,109
That's quite likely since it's still the old code while we are waiting for Corey to roll out the new bits

I am sure Corey will post when the new bits are up and ready for you to challenge them.
__________________
-Rob
Slightly Modified 2001 Tacoma - WATRD.COM
WATTORA is becoming NWToys!
Tread Lightly! certified Tread Trainer


Search 100+ Toyota tech sites, including this one: Toyota Tech Search
WATRD is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 10:19 PM   #71 (permalink)
Co-Founder/Administrator
Staff
 
Corey's Avatar
 
Join Date: May 2002
Location: Auburn, Washington
Posts: 26,071
Challenge away, the new code has only been in place for two minutes.
Thanks Rob...
Corey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 10:22 PM   #72 (permalink)
Contributing Member
 
WATRD's Avatar
 
Join Date: Oct 2002
Location: Duvall, WA
Posts: 5,109
Okay, so my plate is clean now... as things go, that will be the last version. That is unless I hear of more requests, they are something that Corey wants and something that I can do, or if someone finds a bug in the existing implementation.
__________________
-Rob
Slightly Modified 2001 Tacoma - WATRD.COM
WATTORA is becoming NWToys!
Tread Lightly! certified Tread Trainer


Search 100+ Toyota tech sites, including this one: Toyota Tech Search
WATRD is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 10:24 PM   #73 (permalink)
Banned
 
Join Date: Jan 2005
Posts: 0
Send a message via AIM to garrett1478
crap, i've been sitting here refreshing trying to make sure im not crazy and i couldnt get a double to come up, i feel really dumb now...
garrett1478 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 10:31 PM   #74 (permalink)
Co-Founder/Administrator
Staff
 
Corey's Avatar
 
Join Date: May 2002
Location: Auburn, Washington
Posts: 26,071
Rob, I have one more request.
Code added to grab into the iTunes store and make a new MP3 play here each time the banner refreshes
Corey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2006, 10:33 PM   #75 (permalink)
Contributing Member
 
WATRD's Avatar
 
Join Date: Oct 2002
Location: Duvall, WA
Posts: 5,109
Quote:
Originally Posted by Corey
Rob, I have one more request.
Code added to grab into the iTunes store and make a new MP3 play here each time the banner refreshes
hahhahahah That would be easier than you know... at least the music playing part. Tying into iTunes would be a bit more work.
__________________
-Rob
Slightly Modified 2001 Tacoma - WATRD.COM
WATTORA is becoming NWToys!
Tread Lightly! certified Tread Trainer


Search 100+ Toyota tech sites, including this one: Toyota Tech Search
WATRD is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
the new banner Elton Off Topic Talk 30 04-01-2007 10:51 PM
2007 Yotatech Calendar Submissions Closed Robinhood150 General Vehicle Related Topics (Non Year Related) 117 12-03-2006 03:24 PM
About tech submissions... MRael 95.5-2004 Tacomas & 96-2002 4Runners 5 07-15-2002 08:37 PM


All times are GMT -8. The time now is 03:39 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by vbWiki Pro . Copyright ©2006, NuHit, LLC
2009 InternetBrands, Inc.