Re: [PHP] scalable web gallery

2008-07-13 Thread paragasu
oic.. the concept is relatively simple.. thanks for the explaination daniel.. On 7/13/08, Daniel Brown [EMAIL PROTECTED] wrote: On Sat, Jul 12, 2008 at 2:37 PM, tedd [EMAIL PROTECTED] wrote: Hey, let's knock off that old shit, newlywed ! Just because you finally got laid doesn't mean you can

Re: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-12 Thread David Giragosian
Todd Boyd recently offered: Haven't taken a distributed computing class just yet, but I've still got a bit until I graduate, and these elective credits are burning a hole in my pocket... The cost of public colleges and universities, as well as community colleges, are truly astounding these

Re: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-12 Thread tedd
At 9:13 AM -0500 7/12/08, David Giragosian wrote: Todd Boyd recently offered: Haven't taken a distributed computing class just yet, but I've still got a bit until I graduate, and these elective credits are burning a hole in my pocket... The cost of public colleges and universities, as

Re: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-12 Thread David Giragosian
On 7/12/08, tedd [EMAIL PROTECTED] wrote: At 9:13 AM -0500 7/12/08, David Giragosian wrote: Todd Boyd recently offered: Haven't taken a distributed computing class just yet, but I've still got a bit until I graduate, and these elective credits are burning a hole in my pocket... The

Re: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-12 Thread Daniel Brown
On Sat, Jul 12, 2008 at 11:36 AM, David Giragosian [EMAIL PROTECTED] wrote: We had an article in our local paper yesterday about the guy that made and 'starred' in the video that Daniel posted about here a couple of weeks ago (Matt of 'Where in the World is Matt', fame). That was actually

Re: [PHP] scalable web gallery

2008-07-12 Thread Daniel Brown
On Fri, Jul 11, 2008 at 10:02 PM, tedd [EMAIL PROTECTED] wrote: For example, tedd.gif would compute to 4, whereas Rob.gif would be a meager 3, and Daniel.gif would be a six (which is probably over-rated for him anyway). :-) Hope you didn't break a hip while making yourself laugh there,

Re: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-12 Thread David Giragosian
On 7/12/08, Daniel Brown [EMAIL PROTECTED] wrote: On Sat, Jul 12, 2008 at 11:36 AM, David Giragosian [EMAIL PROTECTED] wrote: We had an article in our local paper yesterday about the guy that made and 'starred' in the video that Daniel posted about here a couple of weeks ago (Matt of

Re: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-12 Thread Robert Cummings
On Sat, 2008-07-12 at 10:43 -0400, tedd wrote: At 9:13 AM -0500 7/12/08, David Giragosian wrote: Todd Boyd recently offered: Haven't taken a distributed computing class just yet, but I've still got a bit until I graduate, and these elective credits are burning a hole in my pocket...

Re: [PHP] scalable web gallery

2008-07-12 Thread Robert Cummings
On Sat, 2008-07-12 at 12:03 -0400, Daniel Brown wrote: On Fri, Jul 11, 2008 at 10:02 PM, tedd [EMAIL PROTECTED] wrote: For example, tedd.gif would compute to 4, whereas Rob.gif would be a meager 3, and Daniel.gif would be a six (which is probably over-rated for him anyway). :-)

Re: [PHP] scalable web gallery

2008-07-12 Thread tedd
At 12:03 PM -0400 7/12/08, Daniel Brown wrote: On Fri, Jul 11, 2008 at 10:02 PM, tedd [EMAIL PROTECTED] wrote: For example, tedd.gif would compute to 4, whereas Rob.gif would be a meager 3, and Daniel.gif would be a six (which is probably over-rated for him anyway). :-) Hope you

Re: [PHP] scalable web gallery

2008-07-12 Thread Robert Cummings
On Sat, 2008-07-12 at 14:37 -0400, tedd wrote: At 12:03 PM -0400 7/12/08, Daniel Brown wrote: On Fri, Jul 11, 2008 at 10:02 PM, tedd [EMAIL PROTECTED] wrote: For example, tedd.gif would compute to 4, whereas Rob.gif would be a meager 3, and Daniel.gif would be a six (which is probably

Re: [PHP] scalable web gallery

2008-07-12 Thread Daniel Brown
On Sat, Jul 12, 2008 at 2:37 PM, tedd [EMAIL PROTECTED] wrote: Hey, let's knock off that old shit, newlywed ! Just because you finally got laid doesn't mean you can beat me in memory loss. :-) That's lei'd, sir. -- /Daniel P. Brown Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo.

Re: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-12 Thread tedd
At 2:35 PM -0400 7/12/08, Robert Cummings wrote: On Sat, 2008-07-12 at 10:43 -0400, tedd wrote: Yes, but college degrees are the bill of goods we've been sold. We are lead to believe that if our children (and us) go to colleges and get that sheepskin then everything will be great for the

RE: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-11 Thread tedd
At 12:31 AM -0400 7/11/08, Robert Cummings wrote: On Thu, 2008-07-10 at 12:06 -0500, Boyd, Todd M. wrote: tedd also sent me an e-mail that sparked a memory of mine... the b-trees, regardless of their efficiency, still assign each dir/file INode an identifying number. This number, obviously,

Re: [PHP] scalable web gallery

2008-07-11 Thread tedd
At 10:41 AM -0400 7/10/08, Daniel Brown wrote: Still, I'd create 16 subdirectories under the images directory: 0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f. Then name the file as an MD5 hash of the image uploaded, and place it in the directory matching the first character of the new file name. Why not

RE: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-11 Thread Boyd, Todd M.
-Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 11:31 PM To: Boyd, Todd M. Cc: php-general@lists.php.net Subject: RE: [PHP] OT - RE: [PHP] scalable web gallery On Thu, 2008-07-10 at 12:06 -0500, Boyd, Todd M. wrote: -Original

RE: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-11 Thread tedd
At 5:01 PM -0500 7/11/08, Boyd, Todd M. wrote: Don't get me wrong--I enjoyed the class very much. I had never seen sorting algorithms outside of the Bubble Sort, so learning Pivot, Shell, etc. was quite a blast. I used to hang with a bunch of Macintosh software developers. It was brought to

Re: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-11 Thread Jim Lucas
tedd wrote: The only downside of the classroom environment is that I can honestly learn more from this group et al than I can in a classroom. I just don't see academia keeping up with technology. By time the instructors prepare their class-notes, their class-notes are outdated -- or so is my

Re: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-11 Thread Shawn McKenzie
Jim Lucas wrote: tedd wrote: The only downside of the classroom environment is that I can honestly learn more from this group et al than I can in a classroom. I just don't see academia keeping up with technology. By time the instructors prepare their class-notes, their class-notes are

Re: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-11 Thread Jim Lucas
Shawn McKenzie wrote: Jim Lucas wrote: tedd wrote: The only downside of the classroom environment is that I can honestly learn more from this group et al than I can in a classroom. I just don't see academia keeping up with technology. By time the instructors prepare their class-notes, their

Re: [PHP] scalable web gallery

2008-07-11 Thread paragasu
Why not use a hash table based upon the name of the file and distribute files that way? sorry tedd, i don't really get it. but i am interested to know more about the hash table concept. can you explain a little bit more.. thanks.. On 7/11/08, tedd [EMAIL PROTECTED] wrote: At 10:41 AM -0400

Re: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-11 Thread tedd
At 7:22 PM -0500 7/11/08, Shawn McKenzie wrote: Jim Lucas wrote: tedd wrote: The only downside of the classroom environment is that I can honestly learn more from this group et al than I can in a classroom. I just don't see academia keeping up with technology. By time the instructors prepare

Re: [PHP] scalable web gallery

2008-07-11 Thread tedd
At 8:51 AM +0800 7/12/08, paragasu wrote: Why not use a hash table based upon the name of the file and distribute files that way? sorry tedd, i don't really get it. but i am interested to know more about the hash table concept. can you explain a little bit more.. paragasu: A hash table is

[PHP] scalable web gallery

2008-07-10 Thread paragasu
i am planning to create a web photo gallery. i know there is a lot available out there, but i really want to create my own. the problem is not about creating the photo gallery. i want it to be scalable. the plan is saving the image metadata in the database and keep the original files in a folder.

AW: [PHP] scalable web gallery

2008-07-10 Thread Andreas J.
: Donnerstag, 10. Juli 2008 09:47 An: php-general@lists.php.net Betreff: [PHP] scalable web gallery i am planning to create a web photo gallery. i know there is a lot available out there, but i really want to create my own. the problem is not about creating the photo gallery. i want it to be scalable

Re: [PHP] scalable web gallery

2008-07-10 Thread mike
On 7/10/08, paragasu [EMAIL PROTECTED] wrote: i am planning to create a web photo gallery. i know there is a lot available out there, but i really want to create my own. the problem is not about creating the photo gallery. i want it to be scalable. the plan is saving the image metadata in

Re: [PHP] scalable web gallery

2008-07-10 Thread Thodoris
O/H paragasu ??: i am planning to create a web photo gallery. i know there is a lot available out there, but i really want to create my own. the problem is not about creating the photo gallery. i want it to be scalable. the plan is saving the image metadata in the database and keep the

Re: [PHP] scalable web gallery

2008-07-10 Thread Per Jessen
paragasu wrote: i am planning to create a web photo gallery. i know there is a lot available out there, but i really want to create my own. the problem is not about creating the photo gallery. i want it to be scalable. The first question is - how scalable? How many photos and how many

Re: [PHP] scalable web gallery

2008-07-10 Thread paragasu
snip Another solution that is better if you are not willing to categorize the images is to divide them by date. You may include a date or date-time field in the database that describes the creation date of the image (or the upload date if you like) and divide the images into directories per month

Re: [PHP] scalable web gallery

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 3:46 AM, paragasu [EMAIL PROTECTED] wrote: the plan is saving the image metadata in the database and keep the original files in a folder. while it work perfectly, i afraid how many files 1 directory can keep. in 1 year, there going to be more than 1000 photo uploaded

[PHP] OT - RE: [PHP] scalable web gallery

2008-07-10 Thread Boyd, Todd M.
-Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 9:42 AM To: paragasu Cc: php-general@lists.php.net Subject: Re: [PHP] scalable web gallery ---8--- snip And for the record, in the olden days, there was a limit of about 2048 files

Re: [PHP] scalable web gallery

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 15:46 +0800, paragasu wrote: i am planning to create a web photo gallery. i know there is a lot available out there, but i really want to create my own. the problem is not about creating the photo gallery. i want it to be scalable. the plan is saving the image

Re: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 10:18 -0500, Boyd, Todd M. wrote: -Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 9:42 AM To: paragasu Cc: php-general@lists.php.net Subject: Re: [PHP] scalable web gallery ---8--- snip

RE: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-10 Thread Boyd, Todd M.
-Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 11:24 AM To: Boyd, Todd M. Cc: Daniel Brown; php-general@lists.php.net Subject: Re: [PHP] OT - RE: [PHP] scalable web gallery On Thu, 2008-07-10 at 10:18 -0500, Boyd, Todd M. wrote

Re: [PHP] scalable web gallery

2008-07-10 Thread paragasu
what Robert suggest, is something exactly what the big-big photos gallery out there used to store their image. Distributing the image into many servers. But i am not very sure, how they store the image location information inside the database. But i like the idea of using imageUId to determine

RE: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 12:06 -0500, Boyd, Todd M. wrote: -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 11:24 AM To: Boyd, Todd M. Cc: Daniel Brown; php-general@lists.php.net Subject: Re: [PHP] OT - RE: [PHP] scalable web gallery

Re: [PHP] scalable web gallery

2008-07-10 Thread Robert Cummings
On Fri, 2008-07-11 at 07:55 +0800, paragasu wrote: what Robert suggest, is something exactly what the big-big photos gallery out there used to store their image. Distributing the image into many servers. But i am not very sure, how they store the image location information inside the

Re: [PHP] scalable web gallery

2008-07-10 Thread paragasu
As long as all the servers use the same physical path, then it's a no brainer. well, for now, it might look no brainer. but in the future, i can move the images to another servers with few changes on dns configurations (i think so).. On 7/11/08, Robert Cummings [EMAIL PROTECTED] wrote: On