You are here: Re: causing a ............. delay in the script « PHP Programming Language « IT news, forums, messages
Re: causing a ............. delay in the script

Posted by Kimmo Laine on 12/18/12 11:51

"Ian Davies" <iandan.dav@virgin.net> wrote in message
news:C98og.20020$OT.3968@newsfe6-win.ntli.net...
>I have a script which uploads files to my site.
> I limit file size and the files upload quickly
> The a summary of what happens is
>
> MESSAGE "Uploading bla bla bla file details bla bla bla
> Script to transfer the files
> MESSAGE "File uploaded sucessfully"
>
> Because this happens so quickly the messags appear at the same time. I
> wish
> to have a second delay between the first and second message. How do I
> insert
> a delay into my script. This is purely cosmetic just to create the
> impression that something is churning away uploading the file


This reminds me of a WTF published at thedailywtf.com some time ago:
http://thedailywtf.com/forums/thread/74323.aspx

Bascily this is what happened: customer doesn't believe an analysis could
run so and so fast and insisted that it's broken, so the programmer checks
the code just to see it in fact works correctly, so he adds a delay and a
dummy progress bar to the software to give the client an impression of
something happening. Later client complains it's now too slow, could they
perhaps optimize the code. Sure, the developer reduces the delay to a
shorter time and the company charges $5000 for "optimizing" the process.
Client happily pays and gets faster program. Everyone's happy!

--
"ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" -lpk
spam@outolempi.net | Gedoon-S @ IRCnet | rot13(xvzzb@bhgbyrzcv.arg)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация