To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 8472
  posting weirdness
 
has something changed to disallow lots of blank lines (ala spoiler prevention)? I have tried to post something that has a lot of white space several times now, and the server just times out. Another post at the same time without white space goes (...) (24 years ago, 17-Dec-00, to lugnet.admin.general)
 
  Re: posting weirdness
 
(...) Whoa -- stop posting that. Something about it is chewing up tons and tons of CPU. How many whitespace lines are you putting in? I wonder if there is a regex speed issue. --Todd (24 years ago, 17-Dec-00, to lugnet.admin.general)
 
  Re: posting weirdness
 
(...) No, nothing has changed in the web interface for posting since November 3. The good news here is that I see several HTTP processes each trying to use 100% of the CPU -- and collectiving using up several minutes of CPU. They seem to be hung. (...) (24 years ago, 17-Dec-00, to lugnet.admin.general)
 
  Re: posting weirdness
 
(...) OK, please try again now! (...) Whew! Thank you so much for finding and reporting this! I'm not sure yet[1] if this was a stupidly written regex on my part or bona fide bug in perl's[2] regex engine. Either way, the post you submitted caused (...) (24 years ago, 17-Dec-00, to lugnet.admin.general)
 
  Re: posting weirdness
 
(...) No prob. I posted what I wanted to post without the spoiler. Something *is* broken, then? (...) About a screen and a half worth. Haven't people done spoilers lately??? (...) ++Lar (24 years ago, 17-Dec-00, to lugnet.admin.general)
 
  Re: posting weirdness
 
(...) Was, ya. (...) I was using a regex involving \n\s* which compiled into a nondeterministic finite-state automata in Perl 5.004 and 5.005. Perl 5.6 is smart enough to compile it into a deterministic finite-state automata (essentially realising (...) (24 years ago, 17-Dec-00, to lugnet.admin.general)
 
  Re: posting weirdness
 
(...) yah, that's what it looks like to me. Since it would match any newline, and start adding up the whitespace until it found the beginning of a new paragraph. it'll backtrack to the next blank line, try again, and fail once more.... if you have (...) (24 years ago, 17-Dec-00, to lugnet.admin.general)
 
  Re: posting weirdness
 
(...) It's actually infinitely worse than that. The NFA it produced actually had exponential performance, so it would try to do it 2^80 (2 raised to the 80th power) times, which would take about 302,200,000,000,000,000 seconds or about ten thousand (...) (24 years ago, 17-Dec-00, to lugnet.admin.general)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR