« first day (1415 days earlier)      last day (3533 days later) » 

9:06 PM
Ohh boy! you were doing silly mistake. forgot to add the header ^^
 
God damn microwave pizza burning the roof of my mouth. Now I can't stop tonguing the sore spot.
 
Need to sleep now. Cya later guys!
 
9:31 PM
../Symfony_2.3\vendor\doctrine\common\lib\Doctrine\Common\ClassLoader.php:
@@ -225,7 +225,7 @@
                     } else if ($loader[0]->{$loader[1]}($className)) {
                         return true;
                     }
-                } else if ($loader[0]::$loader[1]($className)) { // array('ClassName', 'methodName')
+                } else if ($loader[0]::{$loader[1]}($className)) { // array('ClassName', 'methodName')
                     return true;
                 }
             } else if ($loader instanceof \Closure) { // function($className) {..}
 
@TheLittleNaruto why are you storing plain-text passwords ?
 
@NikiC Listed under 'the regrets of Ocramius'.
 
@webarto github.com/chrisboulton/php-diff => this one works. sebastians lib produced weird diffs
 
@PeeHaa its a little verbose, but apart from that seems ok. What leads you to call it a piece of sh*t? — user574632 1 min ago
o_O
yeah "a little verbose" THAT's the problem :P
 
9:52 PM
looks like doctrine already fixed the func_get_args issues when working on hhvm parity
@Leigh in the last commit you allowed size=0, why?
 
@NikiC to make you happy!
 
but ... why does that make me happy?
weren't we talking about data_len=0?
 
we were also talking about the cases involving empty strings
it was really just to make the borrowed GMP tests pass
 
10:14 PM
"GitHub API limit (5000 calls/hr) is exhausted. You are already authorized so you have to wait until 2014-08-31 22:20:10 before doing more requests"
Behold the power of Artax.
 
@NikiC fyi, the Doctrine Classloader is a deprecated pile of junk
@Danack we deprecated that... "thing" 2 years ago :P
 
@Ocramius yeah I know
was just writing some code to detect / fix php 7 issues
and testing with symfony
 
11:31 PM
Hmm, does anyone know why the documentation for hash_equals() states this?
> It is important to provide the user-supplied string as the second parameter, rather than the first.
From the implementation it's obvious that the comparison only takes place when the string lengths are equal.
 
@Ja͢ck It's to protect against timing attacks in the function...presumably it has a constant time for the expected hash.
So if you swap the param order, the attacker could control the parameter which the 'constant time' is based off.
 
If both hashes are of the same length, it doesn't matter which one comes first, does it?
And if they're of different lengths, the function results FALSE.
This must still be a remnant of one of the older proposed implementations ...
That said, maybe it's good to have it there in case we ever decide to change the implementation ...
> When arguments of differing length are supplied, FALSE is returned and
the length of the known string is leaked in case of a timing attack.
^ Sound okay?
 

« first day (1415 days earlier)      last day (3533 days later) »