Forums: Rockclimbing.com: Suggestions & Feedback:
Home Page Photos are STALE!
RSS FeedRSS Feeds for Suggestions & Feedback

Premier Sponsor:

 


murf


Sep 23, 2002, 10:57 AM
Post #1 of 21 (2871 views)
Shortcut

Registered: Mar 15, 2002
Posts: 1150

Home Page Photos are STALE!
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

If I never see a "Twist of Fate" photo again I'd be OK. Also, anything else but a picture of rrradam. Could the front page just have a "random" photo please! Make it have some upper range of rating if you like, but it can't be that hard to randomize! An added benefit would be the fact that other photos that may be buried in the stack would get some play.

Murf


dsafanda


Sep 23, 2002, 11:07 AM
Post #2 of 21 (2871 views)
Shortcut

Registered: Mar 5, 2002
Posts: 1025

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

I couldn't agree more. I might add though that I don't think it's Adam's fault at all. He's a fixture of the site and submits a lot of photos.(a good thing) It's just that people tend to treat the rating system as more of a popularity contest than a photo gallery. Ugh!...not this can of worms again. I think it would be solved if every now and then people simply dug a little deeper in to the enormous collection of photos when rating instead of looking for their friends photographs.


krillen


Sep 23, 2002, 11:20 AM
Post #3 of 21 (2871 views)
Shortcut

Registered: Jul 19, 2001
Posts: 4769

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

actually it IS randomized. The top few photos are randomized to show up on the front page. Try refreshing your browser.


thrillseeker05


Sep 23, 2002, 11:38 AM
Post #4 of 21 (2871 views)
Shortcut

Registered: Aug 14, 2002
Posts: 612

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

I refresh my browser constantly as to not get busted surfing the site while at work.. and it sis a very select few photos that show up. I too would like to see more random photos.. even the bad ones. Who cares as long as they are cycling though more often..



sheppe


Sep 23, 2002, 11:41 AM
Post #5 of 21 (2871 views)
Shortcut

Registered: Jan 7, 2002
Posts: 170

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

I agree. If the function were to included a wider upper range of photos, it would make for a more dynamic page.

-Sheppe


Partner tim


Sep 23, 2002, 12:16 PM
Post #6 of 21 (2871 views)
Shortcut

Registered: Apr 4, 2002
Posts: 4861

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

I have been thinking about this a bit myself, I will try and code up a random photo selection that looks at everything rated > 8.0 and picks one. May not happen immediately but (FINALLY) my workload is easing off and I should be able to address this and some other site issues that have been slipping.

(eg. I agree and will try and change things)

--tim


murf


Sep 23, 2002, 12:19 PM
Post #7 of 21 (2871 views)
Shortcut

Registered: Mar 15, 2002
Posts: 1150

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

There is no way that it is completely randomized ( 1 request -> 1 random photo ). I can refresh that page all day ( with various cgi parms to make sure there is no caching ), and I'll get the same photo for a long period.

Nothing against Adam either, I'm just sick of the same piccys.

[edit]
Just saw jabbeaux's reply. Thanks in advance. Hell, maybe even limit off the high end, if they are that popular they are the default top ones in the photo section as well. Probably get enough visibility in just the Photos section.


Murf


[ This Message was edited by: murf on 2002-09-23 12:23 ]


thrillseeker05


Sep 23, 2002, 12:32 PM
Post #8 of 21 (2871 views)
Shortcut

Registered: Aug 14, 2002
Posts: 612

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

Tim,

You rock! Way to be open to new things even though it means more work. Just want you to know you are appreciated.
Peace


jmlangford


Sep 23, 2002, 9:08 PM
Post #9 of 21 (2871 views)
Shortcut

Registered: Sep 1, 2001
Posts: 1569

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

The top "new" photos cycle through the home page. I think it would be a bad idea to go back to those rated 8+. Maybe just increase the number of "new" pics cycling through. What is it now, the top 8 or so? Click on photos and go search the back pages for "fresh" pics. The 'featured' photo serves the purpose of giving new users and guests an idea of what's inside and it dresses up the page a bit. How long do you stare at the front page? I see the front page for about 1/2 second as I am moving on to something else.


manacubus


Sep 23, 2002, 9:48 PM
Post #10 of 21 (2871 views)
Shortcut

Registered: Jul 14, 2002
Posts: 141

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

Way to go Jabbeaux. A more random selection of pics rated 8+ would be a great improvement. Thanks for offering to look into it.


jmlangford


Sep 23, 2002, 9:54 PM
Post #11 of 21 (2871 views)
Shortcut

Registered: Sep 1, 2001
Posts: 1569

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

I take back what I said about rotating through the pics rated 8+. I just went and checked all of them out and there wre very few 'bad' pics rated 8 or higher. I now think it is a good idea-except stay with the 'new' pics rated 8 or higher.


murf


Sep 24, 2002, 7:58 AM
Post #12 of 21 (2871 views)
Shortcut

Registered: Mar 15, 2002
Posts: 1150

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

 
I can't say w/o source, but it really seems like the photos stay on the main page for a set period.

How many photos are there in the archive anyway? To be completely honest, I don't care if the photo on the home page isn't great, or sucks for that matter, as long as its fresh. I can refresh it and get rid of it.

There must be some worthwhile photos buried in the stack waiting for some play. Maybe a "random" button on the photos page?

Cheers,

Murf


Partner tim


Sep 24, 2002, 8:16 AM
Post #13 of 21 (2871 views)
Shortcut

Registered: Apr 4, 2002
Posts: 4861

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

Because of the load it would put on the database (crushing) the index page is generated dynamically once every 10 minutes.

I started looking at the code to generate the page, and the job that runs to refresh it, and I'm thinking that it's a lightweight enough task that it could be run every 5 minutes, every 2 minutes, possibly every minute, without unduly loading down the server. So, that's probably what will happen.

Rest assured that your personal desire to refresh interactively will be ignored, though. *That* would crush the database.



boz84


Sep 24, 2002, 9:04 AM
Post #14 of 21 (2871 views)
Shortcut

Registered: Sep 7, 2002
Posts: 473

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

Thanks for he hard work jabbeaux!

Although the pics that KEEP coming up are no doubt some great piccies, they get old, even if you only see them for 1/2 a second...
By making a wider variety of the piccies that show up, people who usually dont venture into the pic section may be suckered in, trying to see what ELSE is in there that they havent seen before.


cragchica


Sep 24, 2002, 9:08 AM
Post #15 of 21 (2871 views)
Shortcut

Registered: May 28, 2002
Posts: 183

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

Awesome! Once again, Tim to the rescue...
It will be great to see more fresh photos on the main page!

[ This Message was edited by: cragchica on 2002-09-24 09:09 ]


Partner camhead


Sep 24, 2002, 10:06 AM
Post #16 of 21 (2871 views)
Shortcut

Registered: Sep 9, 2001
Posts: 20939

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

In total agreement.

I personally would rather see a more diverse selection of photos, even if they aren't getting a whole bunch of popularity votes or whatever. It would just give more of us an idea as to what is being submitted to the site.


murf


Sep 26, 2002, 2:18 PM
Post #17 of 21 (2871 views)
Shortcut

Registered: Mar 15, 2002
Posts: 1150

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

 
Separate process, pull 200 ( 300, 400? ) photos links from db, cache in local file, randomly pull line from file. Only db access is at the beginning of period ( daily ? ). Don't know PHP, but should be relatively easy.

Murf


Partner rrrADAM


Sep 30, 2002, 2:09 PM
Post #18 of 21 (2871 views)
Shortcut

Registered: Dec 19, 1999
Posts: 17553

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

Sounds good...

>8.00 Rank, >5 Votes, & < 1 Month old (New).


eric


Sep 30, 2002, 3:16 PM
Post #19 of 21 (2871 views)
Shortcut

Registered: Jun 16, 2002
Posts: 1430

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

Hey Tim, there's no reason that the _whole_ page has to be cached. I did some profiling on newindex.php yesterday and the photos part of it is pretty insignificant compared to the rest (like < 0.2 secs as I recall).

I can deal with that unless you don't want to wait until I'm done my db code rewrite (few days).

e


climbsomething


Sep 30, 2002, 3:50 PM
Post #20 of 21 (2871 views)
Shortcut

Registered: May 29, 2002
Posts: 8588

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

I'm glad to see that Tim et. al. will be looking into this. Thanks for your continued behind the scenes work, BTW

Last night I came home from the Gathering (! ) and saw the picture of Hair Lip (the slabby climb out at Suicide)... and was stoked to see something new on the front page! This led me to check out the gallery and I found a few cool new pics that hadn't made it to the FP (and might not at all). So... YAY to fresh images!


eric


Sep 30, 2002, 5:13 PM
Post #21 of 21 (2871 views)
Shortcut

Registered: Jun 16, 2002
Posts: 1430

Home Page Photos are STALE! [In reply to]
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  
Can't Post

I'll use this:
SELECT ... FROM Photo WHERE Votes >= 5 AND Rank >= 8 AND TO_DAYS(NOW()) - TO_DAYS(DateAdded) '' ORDER BY rand() limit 1;

That gives you a 1 in 60 chance of seeing the same photo twice in a row (as the db stands currently). We can bump that up by increasing the age or decreasing the rank. I suppose if we were really cool we'd make that a user preference I'll code it that way.

Eric


Forums : Rockclimbing.com : Suggestions & Feedback

 


Search for (options)

Log In:

Username:
Password: Remember me:

Go Register
Go Lost Password?



Follow us on Twiter Become a Fan on Facebook