« first day (1074 days earlier)      last day (3874 days later) » 

11:00 PM
Ahhhh
it was alot of whitespace that was causing that
note to self: trimming whitespace from streams is probably a good idea
 
My money is on null bytes rather than whitespace
 
either or
 
But still, if you have 280KB of nulls, something went badly wrong before the point where you tried to read it...
 
it could be this
$handle = popen("tail -50l /home/tf2server/gameserver/tf/logs/".$read1,"r");
I'm tailing a file that doesn't have 50 lines
so it's just generating a bunch of noise
 
You have 4 and a half commodore 64's worth of data there, and 99.9% of it is nulls.
 
11:02 PM
Night all and good luck with the task @DaveRandom :)
 
nite @Fabien
 
tail doesn't break stuff unless the stuff is already broken
@Fabien I decided to call it a night after the Small Boy incident, I'm going to do it tomorrow. They have to make allowances for small children interruptions and my current work would not be my best
That sounds a lot dodgier than it really is
 
@DaveRandom it was a fail on the logger's part aparently
I went to open it up
boom a heck of a lot of whitespace
 
Are they whitespace or nulls? It does matter, both in terms of why they are (probably) there and how you handle it
 
well notepad handled them as whitespaces
 
11:12 PM
Well, not necessarily how you handle it, but certainly how you stop them getting there in the first place
notepad is not a debugging tool. It's not even a tool.
@JoeWatkins It is diminishing my life to know that such a place exists, and yet it is so hard to stop reading...
 
And.. apparently I broke something
$handle = popen("tail -50l /home/tf2server/gameserver/tf/logs/".$read1,"r");
$read = stream_get_contents($handle);
$read2 = str_replace("\n","<br>",$read);
Is not replacing the \ns like it was before.. and it was definitely working before
Where each of those "L"s are there should be a \n before them
and notepad++ is confirming it has new lines..
nvm I figured out why
 
ok, this "no sleep" thing has to stop
 
11:28 PM
posted on September 24, 2013 by Derick Rethans

ISO 8601 week dates London, UK Tuesday, September 24th 2013, 09:15 BST Back in 2009 I wrote that PHP calendar implementation uses the ISO 8601 calendar for year numbers. In the past few weeks I've seen a few bug reports in the PHP bug system (65694 and 65730) that deal with another aspect of this same calendar: week numbers. Week nu

posted on September 24, 2013 by Mikko Koppanen

Seems like the new Windows build system is online and Imagick for Windows is now provided here: http://windows.php.net/downloads/pecl/releases/imagick/

 
@ircmaxell You don't take sleeping pills with you when you're travelling?
 
nope
but may start
 
I started getting them (just in case i need them) when I travelled back to the UK from Australia and got about 2 hours sleep for 5 nights in a row. My body really, really, was not happy with the situation.
 
11:57 PM
is it better to go with storing a captcha word in a db or use sessions
 

« first day (1074 days earlier)      last day (3874 days later) »