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 February 24th, 2003, 06:53 PM
mungk mungk is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Cincinnati, OH
Posts: 27 mungk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question for xs0

Hey xs0, in one of your posts for the last contest (pegs), you mentioned using an ob_start callback function to output your results after the time limit is up.

Did you follow through with that in your submitted solution? Did it work?

The reason I ask is that it doesn't seem to work on my server. I get the feeling it might be a windows-only problem as I've seen some references to that. I submitted a bug report for it, but obviously that won't help for this contest.

Hopefully, you used it and it worked on Matt's system. If you can let me know, that would be great.

Thanks,
Andy

Reply With Quote
  #2  
Old February 24th, 2003, 09:06 PM
xs0 xs0 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Ljubljana, Slovenia
Posts: 760 xs0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Question for xs0

Yup, I used it and it seems to work, otherwise I guess I'd get disqualified...

Your bug number is 22401, right? I tried your code on Linux, and it works for me, so it does indeed seem that the problem lies in Apache2/Win SAPI...

Reply With Quote
  #3  
Old February 24th, 2003, 09:08 PM
mcoder mcoder is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 130 mcoder User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Question for xs0

ob_start() has been used by several other participants of previous contests.
It doesn't seem to help on this one :-(

It seems to be the function to buffer the output (a callback way to extract the echo output, for a C++ coder, it's like creating an output stream).

On Windows, I found a really annoying bug: Windows PHP version is not compiled in Debug mode, so we cannot set the memory limit (my program heavily uses memory for various caches).

JC

Reply With Quote
  #4  
Old February 24th, 2003, 09:10 PM
mungk mungk is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Cincinnati, OH
Posts: 27 mungk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Question for xs0

Yep, 22401.

I plan on using that technique so I'll have to borrow a friend's server for a few minutes before I submit to make sure my code works properly.

Thanks for the help!

Reply With Quote
  #5  
Old February 28th, 2003, 04:27 PM
mungk mungk is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Cincinnati, OH
Posts: 27 mungk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Question for xs0

Well, there's really no progress on the bug report. Oh well, they'll get to it eventually I'm sure.

In related news, though, this whole thing was the straw that broke the camel's back (as they say). I finally shelled out the $180 to get the last few parts I needed to get another machine up and running at home. It will allow me to move my webserver, etc, over to linux so I won't have to worry about this bug anymore.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsOlder Contests > Question for xs0


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 10 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek