Search found 141 matches

by ilovetoast
Tue Mar 02, 2004 10:13 pm
Forum: PHP - Theory and Design
Topic: Finding the average colour of an Image
Replies: 14
Views: 8042

Is it feasible to index the images as a spider does pages - and then use a mode + stnd. deviation from the mode of the hue (h/s/b) as a % releveance to return results. Is there some sort of map like expression of the color spectrum? Then you could set the mode as a point on that map and use the sear...
by ilovetoast
Tue Mar 02, 2004 8:14 pm
Forum: Javascript
Topic: Textbox Array Validation
Replies: 4
Views: 1920

Use the base validation scripts I posted previously here. For each textbox in the form 1, 2, 3, ... N add a validation definition according to the following structure: var validation_definitions=       ї          ї// submit button (not always first - just first in this form)     ...
by ilovetoast
Mon Mar 01, 2004 1:04 pm
Forum: PHP - Theory and Design
Topic: comparing .net vesus PHP
Replies: 20
Views: 12590

yogi: The only elements of my post directed toward you specifically were the name-calling, the M$ bias stuff, and indirectly the OOP stuff. I tried to make that clear by saying the "you" I was referencing in my post was not you specifically. You do have a solid point about .Net itegrating ...
by ilovetoast
Sat Feb 28, 2004 10:58 pm
Forum: PHP - Theory and Design
Topic: Finding the average colour of an Image
Replies: 14
Views: 8042

This is certainly appropriate here as it is an advanced algorithm issue. My 2 cents on that.

I have nothing to add tonight. Maybe tomorrow I'll think of something.

I love that sig. Is that from anything? My Spoon is too big. LMAO.

peace
by ilovetoast
Sat Feb 28, 2004 9:17 pm
Forum: General Discussion
Topic: Kudos to I Love Toast
Replies: 8
Views: 2418

The beauty of toast is it is good at all times. Breakfast. Lunch. Supper.

It is also good with just about anything you can think about putting on it.

Plus toast makes the mold on the bread palatable. Toasted moldy bread, cold pizza and a beer start a day the right way.
by ilovetoast
Sat Feb 28, 2004 9:06 pm
Forum: PHP - Code
Topic: help with str_replace()
Replies: 7
Views: 1491

This is best done with a regular expression for the reasons pointed out by Pointybeard and Sami. Use preg_replace() instead.

peace
by ilovetoast
Sat Feb 28, 2004 9:03 pm
Forum: PHP - Code
Topic: Which one is the best?
Replies: 17
Views: 2636

I also dislike both. I'd use this if I had to write this block as is: if (mysql_query($resultSQL)) { return TRUE; } else { return FALSE; } Same thing as Sami, tim and Straterra, just adjusted to my personla coding style guides as it were. Why am I answering this? There is no speed difference in any ...
by ilovetoast
Sat Feb 28, 2004 12:08 pm
Forum: PHP - Theory and Design
Topic: comparing .net vesus PHP
Replies: 20
Views: 12590

There is no cause for name calling lazy_yogi. Straterra made a valid point that in a PHP forum you are going to find people who have already made some type of decision that they prefer PHP to ASP. First let's recognize one thing. .Net is not intended to be M$ answer to PHP. When it was developed it ...
by ilovetoast
Fri Feb 27, 2004 7:02 pm
Forum: General Discussion
Topic: Richest Web based company?
Replies: 14
Views: 3851

Nah, you're all wrong. The answer is going to be one of the big media companies - Viacom or somesuch. The vast majority for-profit porn on the net is operated by wholly-owned subsidiaries of the U.S. media giants. As they are bigger than Amazon, Ebay, Yahoo, et. al., they're probably the biggest out...
by ilovetoast
Fri Feb 27, 2004 6:57 pm
Forum: General Discussion
Topic: Capturing form data being sent over a network...
Replies: 3
Views: 1501

Weeeeeell. Aside from the obvious "you shouldn't be doing this" arguement, I'll actually answer your question somewhat. You do this with an application called a packet sniffer. Doing it over a network requires more. I don't think I'll give any more info than that. I don't like to encourage...
by ilovetoast
Fri Feb 27, 2004 6:50 pm
Forum: Javascript
Topic: php and mac - problems
Replies: 24
Views: 7976

Thank you for your compliments. If you get a chance at some point in the future, pass along the good karma to someone else in need of assistance, be it in programming or anything else.

peace
by ilovetoast
Fri Feb 27, 2004 6:46 pm
Forum: PHP - Theory and Design
Topic: PHP clustering - the works
Replies: 4
Views: 3847

If you are in need of clustering, then you should be using a load balancer, preferably a hardware load-balancer. Some web hosts offfer hardware load-balanced solutions. Software load balancing is usually a kludge. If you need load balancing, I urge you to do it via hardware, not via a PHP solution. ...
by ilovetoast
Fri Feb 27, 2004 6:33 pm
Forum: PHP - Theory and Design
Topic: optimize php VS optimize the database
Replies: 15
Views: 8935

Very well made and well taken points eletrium. I'll clarify my thoughts by adding some added reasoning. First is, I believe that excessive focus on optimization is a problem for a lot of coders I know. I believe that unless you really know what you're doing, it isn't even worth the time. That being ...
by ilovetoast
Fri Feb 27, 2004 5:44 pm
Forum: PHP - Theory and Design
Topic: comparing .net vesus PHP
Replies: 20
Views: 12590

Given that nothing you can say will ever convince me that the words Windows and Server belong in the same sentence, .Net is not suitable for the enterprise no matter how they want to evangelize or attempt to position their product. .Net is Micosoft attempt to beat on Java and PHP simultaneously. Pro...
by ilovetoast
Thu Feb 26, 2004 12:47 pm
Forum: PHP - Code
Topic: variable transmission with GET and POST method
Replies: 4
Views: 1086

Not unlimited. I'm not sure if their is a hard cap on the number or if it is only restricted by process memory and script timeouts/browser timeouts.

The most I've ever had occassion to pass a couple dozen or so in a large form. Never ran into any trouble.

peace