« first day (3211 days earlier)      last day (1737 days later) » 

3:18 AM
looking for someone make customize for me on this website
contact me : hesham-farag@outlook.com
 
"seen 12s ago, talked 1691d ago"
I guess I have not been here for a while :-D
 
 
2 hours later…
5:26 AM
\o
 
Hey @JoeWatkins =)
 
5:43 AM
hi
 
Good morning
 
6:38 AM
Good morning.
https://i.imgur.com/PGzrTgm.jpg
3
 
7:08 AM
clang build fails on Travis CI on gmp – #78360
 
7:48 AM
morns
 
8:00 AM
luftmensch an impractical contemplative person having no definite business or income
 
8:17 AM
@Jeeves now you are just making up words
 
Wes
mornin
 
8:33 AM
\o
 
o/
 
 
1 hour later…
9:38 AM
parse_ini_file converts constants to strings, even with INI_SCANNER_TYPED – #78361
 
 
2 hours later…
11:26 AM
@Allenph well, maybe
4
 
12:08 PM
fuck sake
 
so, if I find a spider at the bottom of the pool, it didn't kill itself, right ? that means they live in the pool, or can live in the pool ?
 
They're trying to find a connection to your plumbing. One day, you'll be sat on the toilet, and the clever little spiders will have figured out how to navigate the tunnels to get to the u-bend. Your butt will be a bit like the robots tunnelling through into Zion in the matrix.
 
@DaveRandom oh... dear... god... why... WHY... did... I... click... that...
Eyes burning...
Face melting...
 
it's not like I didn't give you fair warning
 
lol
tbh I completely overlooked the tag.
 
12:14 PM
ftr I went to watch Nile Rogers & Chic dressed like that
I was also sporting a rain poncho later on, like the sexy beast that I am
 
Aren't you afraid of- I dunno. Thorns or anything else out in the open like that.
 
12:27 PM
@DaveRandom hm. :-P
 
@StatikStasis it's a festival, not a woodland trek :-P
 
Sounds enforceable
That's like someone trying to ban cookies... Oh wait
 
1:00 PM
Hi anybody knows symfony?
 
@CaptainPlanet Great guy, always tells funny stories at parties.
 
I don't like him, I once saw him walking out of a party with 5 bags of Doritos which I'm pretty sure weren't his
 
@Danack ))
 
@DaveRandom You're just jelly. I saw you eyeing those Doritos up.
 
and he's a double-dipper
btw @CaptainPlanet have you managed to get pollution down to zero yet?
 
1:11 PM
\o
 
:-)
 
Today, Sammy and I are going to play around with AST processing.
 
huh, never knew that LeVar Burton did a voice in Captain Planet
 
1:22 PM
@LeviMorrison i saw that change you made to get rid of zend_execute_ex, do opcode handlers have no downsides for this scenario? i always was under the impression this is slower for whatever reason
 
@beberlei It is slower, that is definitely true.
Anyone know of any tricks for getting the return value from inside of a function using finally? I've thought of one way, and I don't look forward to testing it: rewrite all return expr; nodes into return $__apm_retval = (expr); and then using $__apm_retval in finally.
 
is exexecute_data->return_value not set already at that point?
 
Internally, sure, but I'm trying to work in user-land here :)
Although I wonder if exposing a function similar to func_get_args() might work... if so it might be WAY less processing.
 
1:54 PM
that won't work, the return instruction will be executed after the finally block ...
you don't really need to
you don't inject the ast for try catch, you inject a call around the return value, so return call($whateverVarOrStatement)
 
Maybe; what about ref vs non-ref though? For params and retval passthrough?
If it's an internal function can it avoid that distinction?
 
you can determine if the function returns by reference, and so whether you need to call a function that accepts/returns by reference or not ...
 
Oh, true.
 
2:27 PM
@JoeWatkins You are sure that won't work? It would be nice if it would because then I can accurately log exceptions at the same time.
zend_throw_exception_hook triggers regardless of being caught, and correlating the exception in zend_error_cb is tricky.
Plus, then I don't have to walk the tree :)
 
you are setting opcode handlers ?
 
The goal is to get rid of all that, and just do this + zend_execute_internal.
 
well I am sure it won't work ...
 
That's the pie in the sky dream, anyway.
Okay, so take something like this:
function to_iterator(iterable $input): Iterator {
    if (is_array($input))
        return new ArrayIterator($input);
    else if ($input instanceof Iterator)
        return $input;
    else
        return new IteratorIterator($input);
}
And transform it into this:
function to_iterator(iterable $input): Iterator {
    try {
        if (is_array($input))
            return apm_span_end(new ArrayIterator($input));
        else if ($input instanceof Iterator)
            return apm_span_end($input);
        else
            return apm_span_end(new IteratorIterator($input));
    } catch (Throwable $ex) {
        apm_span_attach_exception($ex);
        throw $ex;
    }
    apm_span_end_void();
}
Or something like that.
Oops, missed the span_begin() before the try.
 
I installed pear/Mail but my PHP script seems to stop as soon as it reaches Mail::factory(...).
Any idea what could be wrong?
No error is outputted even though I called error_reporting(E_ALL);.
 
2:38 PM
Here's a silly question: Should cookie be a part of the model? Who should be responsible for creating it - the service layer or the controller? Since it has to be set along with a response, shouldn't the cookie be stored by the "View"?
 
@LeviMorrison looks about right
 
@LeviMorrison BTW, in terms of AOP, it's called "around" type of advice and it's available in Go! AOP framework. But it uses inheritance to capture the return value from original method.
 
> Subproject commit e19605846fa3c19acbb09b5ed8d2cadc67b4ba0e
.....how can I tell either git or composer I never want it to generate whatever the heck that is instead of a normal file commit.
 
3:09 PM
 
Days Gone is climbing my list of favorite games ever. I think I am close to finishing it.
 
3:43 PM
@Danack it's a git submodule (I think?), if you want it to contain the actual tree instead of an external ref you need to remove the submodule and copypasta the tree from the other repo
 
@DaveRandom yeah....but do you know how to tell either git or composer "if you ever interpret a command from me to use a git submodule, please tell me to go forth and multiply instead of actually doing that"?
as it was created by something, but I have no idea what.
 
wait wat?
 
yeah.....I dunno. I was creating a new library for some coding-standard stuff as well, and I also edited a package inside the app it was being used in.....but I didn't tell the computer "please add these files as a submodule". Perhaps I said "add these files" and something decided "Aha, he means he wants a submodule!!1!", but I really never will want that.
offtopic - bbc.co.uk/news/uk-england-derbyshire-49189955 - crickey, that was close to disaster. And still is tbh.
 
4:25 PM
Oh, so Levi wasn't a cat after all?
 
4:43 PM
Nope :)
 
@NikiC A tiny suggestion at the very first look - "name" is required, always - so why not just make it the first arg? and everything else into the array then (second arg)
 
5:05 PM
morning
Out of curiosity, are you @LeviMorrison the one who had a gray-cat avatar?
 
Wes
5:19 PM
\o
@Shafizadeh you mean this? i.imgur.com/DsJieX1.jpg
that's levi strauss i reckon
 
Come on Levi light my fire.
 
nope .. if I recall correctly, the avatar was a cat, and the whole image was black&white
 
Wes
:P
 
@Shafizadeh It was a greyscale kitten with its head slightly tilted.
 
that's it!
 
5:32 PM
omg @LeviMorrison! You're a human now!
And in color, too!
 
Wes
1:30 pm new york time every day stocks drop @MadaraUchiha wth does that mean
i mean.. lunch time, literally?
 
That sounds like an entirely reasonable explanation.
 
Wes
totally exploitable lol
 
6:03 PM
how can i check if a digit is present in digit in php?
for example var_dump(6 present_in 67);
return true
 
I know this but is there any other way without typecast
 
Wes
no
well not one that a sane person would use
 
cURL doesn't respect CURLOPT_SSLVERSION – #78362
 
ohh god
I am trying to write a script which will give number divisible by 3 and that number must be present in long int

for example
input 33
Now 33 is big number which will be divisible by 3 and present in long int input 33
now output is 33
 
6:29 PM
@Exception You can use regular expression for it
@Exception if(preg_match("/[0-9]/", $variable))
For my Laravel site, I was to generate a unique identifier and save in the database for when the user lands on the website, so that even if he refreshes the page that token remains.

How can I generate this identifier in my database and ensure that it won't be generated by any other user?
 
6:54 PM
are you trying to reinvent the concept of session here @deSousa?
 
@FélixGagnon-Grenier yes, but for web sockets I think.
 
7:22 PM
@deSousa Just generate a uuid4
 
8:00 PM
evening, bitches
 
8:35 PM
@JoeWatkins who are you addressing :-P
 
Buffer overflow in zendparse – #78363
 
8:51 PM
@Danack I guess you didn't ignore the vendor directory and Composer installed the dependency via Git instead of using a ZIP?
 
@kelunik I initialised it as a git directory myself....I think I must have also told PHPstorm to add that directory to git, and it initialised it as a submodule, rather than adding the files individually.
stupid computers.....doing what I tell them to do.....
 
If you have a Git repository inside another Git repository, it's automatically treated as submodule, I think.
 
yeah, I was wondering if there was a config setting to say "never use git submodules, and give an error if I run a command that would result in one being used".
 
9:11 PM
@Danack You can probably use a global Git pre-commit hook and check for it there.
 
thanks. Good idea.
 
9:53 PM
strip_tags removes \x00 – #78364
 

« first day (3211 days earlier)      last day (1737 days later) »