« first day (1854 days earlier)      last day (3091 days later) » 

11:00 PM
#jeSuisParis
 
heard reporter mention they can arrest arbitrarily
 
@kelunik which is why we have the suffix of Exception/Error … and then, we also, to have consistency, suffix all the other exceptions and errors. Also, might make maybe sense to catch a ClientGone, but what the heck is a ClientGone when you expect it as an argument somewhere? The class' name shouldn't be dependent on a context. Also it's in general rather common to Suffix a parents class name, like we're doing here.
 
php <file> .. segfault
gdb php .. r <file> .. no segfault
-_-
 
try valgrind
 
@bwoebi how often do you pass exceptions as parameter?
 
11:06 PM
@Danack Sometimes. But same for instantiating it and throwing later.
 
In that situation....there shouldn't be much ambiguity about what it means.
 
@ke In general, there are some things which imply actual exceptions/errors like "Bad" prefix or "Violation" suffix, but in general that's not the case… like tell me … how would you e.g. rename DomainException? DomainViolation? Well, yeah, that's the same.
@Danack there IMO shouldn't be any at all.
 
$clientGone = new ClientGone();
// moar lines
if (!$clientConnection->isValid()) {
    throw $clientGone;
}
I wonder what clientGone could possibly be.
 
@Danack stahp
seriously, don't instantate exceptions prior to throwing them
 
@ircmaxell I don't Bob was saying he does.
 
11:08 PM
and he shouldn't
he's doing it wrong
 
I meant even under those circumstances, there's very little ambiguity in what the type of $clientGone is going to be.......though ClientGone is still a rubbish name as it's so vague....
 
@ircmaxell I usually don't. It's the exceptional case.
 
there is no exceptional case
don't do it
 
@Danack which is why ClientGoneException is the better name here ;-)
@ircmaxell honestly, I can't remember a case where I did recently…
 
pass in a factory, or possibly a class name, but not an exception object
 
11:13 PM
what makes an exception object so much more special than anything else?
or is this more about resource management?
 
@bwoebi I still get a segfault with valgrind, wondering if fuzzy lop ever faults because of it's own instrumentation though
the input file is basically semi-random code/binary mashup at this point
 
@hakre it generates backtraces in the constructor
 
ouch, that's rather ... harsh. what happens if creating the backtrace fails btw?
 
I don't know, can it fail?
 
no clue. maybe because of memory limit.
 
11:17 PM
@hakre then you'll fatal out?
 
@bwoebi guess so. at least that would happen normally.
I dunno if maybe an exception ctor has some fallback. but I guess not.
 
github.com/php/php-src/compare/… <--- so how do I go from the CURL inputs (first and second args) to resources? This is really the last bit I need to figure out :/
 
can you turn those resources into objects please
 
@Leigh no
 
boo
 
11:24 PM
@Leigh I'd love to, but a) I don't possess the skills, and b) it should've been done for 7.0, and is far beyond the scope of this RFC
 
Abe
bustle.com/articles/… en.wikipedia.org/wiki/Eagles_of_Death_Metal these guys were playing at bataclan concert hall
 
11:39 PM
Looks like the French police have stormed the Bataclan
 
any word?
 
Not yet, the one person I knew close by lost juice for his phone
 
yeah, news just started reporting that
 
Anonymous
Wow, I just saw the news.
 
@MarkBaker good luck to your friend
 
Anonymous
11:42 PM
feel sad :(
 
I know he's safe outside.... last I heard he was in a nearby café waiting for a debrief from the police
 
well, that's good to hear
 
I'm sure he'll appreciate a free taxi home afterwards as well :)
 
grumble.. I know we've got some frenchies on internals, but no idea where they live.
Julien is Paris right?
 
Julien Pauli lives in Paris
 
11:49 PM
It's approaching 1am in Paris at the moment
 
yeah
 
if the Paris attacks turn out to be done by muslim extremists, it will have major consequences in all of EU
 
over the rest of the planet too
 
@tereško It will have major consequences regardless of farcical cult
 
s/if the Paris attacks turn out to be done by muslim extremists,//
 
11:51 PM
what I am contemplating is how this will affect refugee crisis
 
you're mixing pretty independent stuff with the recent events.
 
Abe
2 terrorists killed, hostages freed
 
Hey racist assholes exploiting an atrocity: Refugees from Syria, etc. are looking to *escape* this sort of violence, not to spread it.
3
 
Anonymous
@tereško Yeah, we're already feeling the heat due the current influx of refugees.
 
Abe
meanwhile, seems an earthquake just hit japan
 
would be too easy to mention friday 13th right now..
5
 

« first day (1854 days earlier)      last day (3091 days later) »