Older Contests
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP ContestsOlder Contests

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old July 19th, 2002, 08:51 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
More clarifications, please.

> * Your script with have three different word files PASSED to it...

PASSED? From de URL? From the command line? I supose puzzle.php is running from PHP as an Apache module, and also i supose the script must open 'wordlist.txt' with fopen() or file() or some other function, but this 'PASSED' is confusing me.

> # Your script should not take more than 30 seconds to execute. This obviously can vary machine per machine. Imagine your script running on a P2-333 with 128 megs of ram.

The script puzzle.php is then responsable of measuring the max 30 seconds on ANY posible machine. Is this ok?

> # Maximum memory consumed by a script should be 32 megs.

The max 32Mg... are the 'memory_limit' directive of php.ini?

> The only languages allowed are PHP, HTML and CSS.

CSS1? CSS2? on what browser do you execute the script?

Finaly, can you shown a phpinfo() of the machine(s) where the code will be executed?

Tankyou for your patience and sorry for my english.

Àngel

Reply With Quote
  #2  
Old July 19th, 2002, 09:15 PM
Matt Matt is offline
Contributing User
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 12 m 16 sec
Reputation Power: 7
RE: mysql?

Passed is a bad word there. The wordlist.txt will be in the same directory as your script. Your script is responsible for opening and reading the file.

You script doesn't necessarily need to time itself. I will time your script and if it runs over 30 secs, it will be disqualified.

Yes, the 32MB will be in the memory limit directive in the ini file...

I will execute on Mozilla v1.0 and IE6.

As for phpinfo()s. I purposely do not provide these. You should concentrate on writing portable code.


Reply With Quote
  #3  
Old July 19th, 2002, 09:38 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
RE: More clarifications, please.

IE and Mozilla?
Or our choice?

Reply With Quote
  #4  
Old July 19th, 2002, 11:24 PM
Matt Matt is offline
Contributing User
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 12 m 16 sec
Reputation Power: 7
RE: More clarifications, please.

IE and Mozilla.

Reply With Quote
  #5  
Old July 20th, 2002, 02:09 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
RE: More clarifications, please.

> You script doesn't necessarily need to time itself. I will time your script and if it runs over 30 secs, it will be disqualified.

But i dont know how fast your machine are. If i code an super-optimal script that executes in 1 second in my Pentium II 200 but needs 31 seconds in your 386-SX 40 (this is posible, uh?), then my script will be disqualified. Then, the only valid strategy, i believe, is to time itself in a bucle, and break the bucle just prior the time is 30 seconds long for display the result found at that time.

> As for phpinfo()s. I purposely do not provide these. You should concentrate on writing portable code.

Ok.

From the rules:

> Yes, any extension commonly available to PHP is allowed.

The terms 'portable code' and 'any extension commonly available' are a little ambiguous. Only an example: I am plannig my strategy with some regular expressions. I can code both Perl and Posix regex, but Perl regex are much more convenient for my. Are Perl regex suported? If not, are Posix regex suported? I supose both regex are suported (extensions commonly available) but i want not begin to codify if i am not sure my code will work. Is for that i have requested a phpinfo(), for not to do useless efforts.

Tankyou, an sorry again for my english.
Àngel

Reply With Quote
  #6  
Old July 20th, 2002, 02:27 AM
Matt Matt is offline
Contributing User
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 12 m 16 sec
Reputation Power: 7
RE: More clarifications, please.

Both forms of regex are available. If in doubt about an extension, please ask here.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsOlder Contests > More clarifications, please.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek