1st Gen Cars and Coffee March 20th 2010

Discussion in 'Photos and Video' started by MaxN, Mar 23, 2010.

  1. MaxN

    MaxN New Member

    May 14, 2009
    50
    0
    0
    SoCal
    Ratings:
    +0 / 0 / -0
    #1 MaxN, Mar 23, 2010
    Last edited: Mar 23, 2010
    After last weeks fiasco with the series of server crashes, CNCpics is back online. We have made many changes. Our goal as always is just to provide good coverage of different automotive events we get to go to that various automotive enthusiast around the world only with they could attend on a regular basis. We are trying new stuff out, feel free to comment on our new direction.

    All the pics are click-able thumbnails

    [imglink]http://www.cncpics.com/image/340118-3/DSC08238.JPG[/imglink] . [imglink]http://www.cncpics.com/image/340098-3/DSC08228.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/340126-3/DSC08240.JPG[/imglink] . [imglink]http://www.cncpics.com/image/339757-3/CnC+3-20-2010+036.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/339749-3/CnC+3-20-2010+033.JPG[/imglink] . [imglink]http://www.cncpics.com/image/339376-3/IMG_0929.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/339765-3/CnC+3-20-2010+039.JPG[/imglink] . [imglink]http://www.cncpics.com/image/340154-3/DSC08249.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/339385-3/IMG_0932.JPG[/imglink] . [imglink]http://www.cncpics.com/image/339809-3/CnC+3-20-2010+067.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/339388-3/IMG_0933.JPG[/imglink] . [imglink]http://www.cncpics.com/image/340189-3/DSC08257.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/340197-3/DSC08260.JPG[/imglink] . [imglink]http://www.cncpics.com/image/339817-3/CnC+3-20-2010+069.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/340205-3/DSC08262.JPG[/imglink] . [imglink]http://www.cncpics.com/image/340213-3/DSC08264.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/340233-3/DSC08269.JPG[/imglink] . [imglink]http://www.cncpics.com/image/340237-3/DSC08270.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/339415-3/IMG_0942.JPG[/imglink] . [imglink]http://www.cncpics.com/image/340257-3/DSC08275.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/339421-3/IMG_0944.JPG[/imglink] . [imglink]http://www.cncpics.com/image/340277-3/DSC08279.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/339436-3/IMG_0949.JPG[/imglink] . [imglink]http://www.cncpics.com/image/339921-3/CnC+3-20-2010+111.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/339933-3/CnC+3-20-2010+115.JPG[/imglink] . [imglink]http://www.cncpics.com/image/340302-3/DSC08286.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/340306-3/DSC08287.JPG[/imglink] . [imglink]http://www.cncpics.com/image/340314-3/DSC08290.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/340343-3/DSC08296.JPG[/imglink] . [imglink]http://www.cncpics.com/image/339448-3/IMG_0953.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/340355-3/DSC08299.JPG[/imglink] . [imglink]http://www.cncpics.com/image/340399-3/DSC08312.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/340411-3/DSC08315.JPG[/imglink] . [imglink]http://www.cncpics.com/image/339469-3/IMG_0960.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/340423-3/DSC08318.JPG[/imglink] . [imglink]http://www.cncpics.com/image/340440-3/DSC08322.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/339993-3/CnC+3-20-2010+144.JPG[/imglink] . [imglink]http://www.cncpics.com/image/339475-3/IMG_0962.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/340464-3/DSC08329.JPG[/imglink] . [imglink]http://www.cncpics.com/image/340472-3/DSC08331.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/340480-3/DSC08333.JPG[/imglink] . [imglink]http://www.cncpics.com/image/339552-3/IMG_0971.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/340025-3/CnC+3-20-2010+162.JPG[/imglink] . [imglink]http://www.cncpics.com/image/340508-3/DSC08344.JPG[/imglink]
    . [imglink]http://www.cncpics.com/image/340540-3/DSC08352.JPG[/imglink] . [imglink]http://www.cncpics.com/image/340548-3/DSC08354.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/339597-3/IMG_0986.JPG[/imglink] . [imglink]http://www.cncpics.com/image/340073-3/CnC+3-20-2010+185.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/339603-3/IMG_0988.JPG[/imglink] . [imglink]http://www.cncpics.com/image/339615-3/IMG_0992.JPG[/imglink]
    [imglink]http://www.cncpics.com/image/340568-3/DSC08364.JPG[/imglink]

    The story behind the great crash.....

    As you no doubt noticed, cncpics.com crashed fairly hard minutes after last weeks picture posting, this week we have a shiny new server on a shiny new connection and also a number of changes to our 'model'. The reasons for the crash are cumulative, the software that backs the site creates a series of temporary files during the creating and serving of the resized and watermarked images that you enjoy every week. We have simply uploaded large (4-8MB) images and the software has resized, watermarked and handled the caching. This is fairly server intensive and also takes a lot of disk space. So much so that the cache growth caused the hosting company concerns in the past and a weekly 'cron' routine was written to clear down the cache. That routine failed on Feb 5th and then on feb 12th, 19th, 26th etc continued to fail as it had too much work to do in the alloted processor time.

    Which brings us around to Tuesday morning, the hosting company noticed that there was an excessive number of cache files and disabled writing to the cache folder. Just as everyone was trying to look at the pics. As the software could not use the temp and cache files it wrote 16K files to the hosting root and the hosting company pulled the plug. The catch22 was that they would not re-enable it until I had fixed it and they would not give me access to fix it unless I had fixed it. After several abortive attempts and a lot of swearing we moved to a temporary host. This too caved in trying to resize the (large) files and at that point a new (vps) host came on line and we are now moved over entirely.

    With the new host comes many new things.

    1) Free wallpapers - up to 1600 (or more in some case) rather than any attempts at e-commerce.

    2) Smaller upload file limits - no file over 1.4MB (and 1920x1920) can be uploaded. PERIOD.

    3) Single resize + 'original' image availability only if someone really wants the original (4-8MB) they can contact us and ask for it.

    This has multiple effects - it reduces the physical storage requirements from 92GB to a mere 18GB as of today, plus it vastly improves the performance.

    we are not done tuning and playing with the server, yet, but so far things are way better....


    As always you can enjoy the full collection at CNCpics.com
     
  2. phydeaux

    phydeaux New Member

    May 5, 2009
    185
    1
    0
    Maple Valley, WA
    Ratings:
    +1 / 0 / -0
    Thanks for that explanation. It's too bad that it happened, but it sounds like things will be better going forward.

    I do wish that clicking on the images above would load a slightly larger version, but hey, it's better than seeing nothing. :)
     
  3. MaxN

    MaxN New Member

    May 14, 2009
    50
    0
    0
    SoCal
    Ratings:
    +0 / 0 / -0
  4. Nathan

    Nathan Founder

    Mar 30, 2009
    25,144
    10,052
    113
    Writer
    Short North
    Ratings:
    +10,069 / 0 / -0
    Since the site uses lytebox it opens the local image and ignores the link.

    Let me play with the settings and see what I can do.
     
  5. Nathan

    Nathan Founder

    Mar 30, 2009
    25,144
    10,052
    113
    Writer
    Short North
    Ratings:
    +10,069 / 0 / -0
    Oh this is geeky....

    Max, since this site uses a lytebox to resize and display larger images in a separate frame the bbcode needed to be amended to allow for links such as yours.

    So instead of:

    PHP:
    [url=http://www.cncpics.com/album/201003/100320/DSC08238.JPG.html][img]http://www.cncpics.com/image/340118-3/DSC08238.JPG[/img][/url]
    The underlying code needs to use an imglink code like so:

    PHP:
    [url=http://www.cncpics.com/album/201003/100320/DSC08238.JPG.html][imglink]http://www.cncpics.com/image/340118-3/DSC08238.JPG[/imglink]
    [/url]
    Compare the two below. Click on both.


    [​IMG]

    [imglink]http://www.cncpics.com/image/340118-3/DSC08238.JPG[/imglink]
     
  6. MaxN

    MaxN New Member

    May 14, 2009
    50
    0
    0
    SoCal
    Ratings:
    +0 / 0 / -0
    #6 MaxN, Mar 23, 2010
    Last edited: Mar 23, 2010
    Cool - I can mod the future posts - and i just did this one too :)

    and yes, that is supremely geeky.....
     
  7. phydeaux

    phydeaux New Member

    May 5, 2009
    185
    1
    0
    Maple Valley, WA
    Ratings:
    +1 / 0 / -0
    Not QUITE what I was thinking of when I made my statement... ;) But you know what, I can accept it easily enough. I can get the larger size when I want to see greater detail.
     
  8. phydeaux

    phydeaux New Member

    May 5, 2009
    185
    1
    0
    Maple Valley, WA
    Ratings:
    +1 / 0 / -0
    And since I'm into my second glass of wine, I forgot to thank both of you for your work. Ooops.
     
  9. MaxN

    MaxN New Member

    May 14, 2009
    50
    0
    0
    SoCal
    Ratings:
    +0 / 0 / -0
    this way is much easier on our server and also gives me a much better idea as to what shots are most popular too.

    oh and the geeky factor is cool :)
     
  10. Nathan

    Nathan Founder

    Mar 30, 2009
    25,144
    10,052
    113
    Writer
    Short North
    Ratings:
    +10,069 / 0 / -0
    Ahh, I think you find the same issue on m|u as well. I see Ivan has the same mod in place.
     
  11. MaxN

    MaxN New Member

    May 14, 2009
    50
    0
    0
    SoCal
    Ratings:
    +0 / 0 / -0
    /me bangs head repeatedly on his (glass) desk
     

Share This Page