« first day (1823 days earlier)      last day (3118 days later) » 

9:01 PM
anyways, I need to do some sleeping, before the salve wears off ... I had this accident using habanero peppers
 
ouch !!
do have some spicy dreams then :p
 
yeah, basically my current "natural state" is: oh shit, oh, shit, my hands are on fire fuuuuuuck
but I actually hoped that they would be hotter, when eaten
 
hmmm.. I'd guess jalapeno just do not cut it anymore?
 
I personally prefer bird's eye chili
 
Jalapenos are only too spicy for those who, like me, don't like spicy foods.
 
9:07 PM
yeah. lately I can't seem to put enough of them in anything. Guess I'll try those lovely-named bird's eye chili
 
As for bringing out the spiciness in peppers... Use an acidic ingredient, like tomatoes, as the base for the dish. Salt helps, too.
 
> The humble if statement: so simple, so short, so trivial. But do you know how it works? I mean, how it really works? Join us on a trip down the rabbit hole to find out! We'll discover all sorts of interesting things you many never have known about programming, physics and even the universe itself... I can't promise that you'll return from the depths of the CPU, but if you do, you will not be the same.
 
just be careful of ghost/naga chili (the purple ones)
 
thoughts on that as an abstract? /cc @rdlowrey ^^
 
Sounds like a nice teaser, up to the "I can't promise"... where it starts to feel carnival-ish.
 
9:10 PM
I'll wear gloves @tereško
 
> The humble if statement: so simple, so short, so trivial. But do you know how it works? I mean, how it really works? Join us on a trip down the rabbit hole to find out! Our journey will take us from PHP to C, from Assembly to Machine code, from CPU to Transistor and beyond. We'll discover all sorts of interesting things you many never have known about programming, physics and even the universe itself...
> I can't promise that you'll return from the depths of the CPU, but if you do, you will not be the same.
I like that end line (it's a throw-back to the Hobbit)
 
> If statements keep me up at night. ~Sajad
 
Googling for the quote, yes, I can see the reference... (Shame on you for quoting the P.J. movies and not the book, though). Kind of hard to catch the references without something to tie it directly to the story, though... "I can't promise that you'll return from the depths of the Lonely Mountain CPU..."
 
StackOverflow is having responsiveness issues for me.
 
And it's not an exact quote, either, which means you have to work harder to get people to get the reference.
 
9:17 PM
@Ghedipunk it's from the book
Bilbo:  You can promise that I’ll come back?”

Gandalf:  No. And if you do, you will not be the same
 
"You may wonder if you'll come back. No promise, but if you do, you will not be the same.."
 
Well then I'm pleasantly surprised that Peter Jackson kept that quote intact.
 
Anonymous
^ nevermind
 
9:39 PM
Hey there, I'm looking for someone that has some experience with load testing a PHP application just to share\understand the data I'm having, someone have some experience on doing it?
In particular, I'm load testing a ZF1 application, on a AWS m4x.large instance, and I see that my app is clearly cpu bound (cpu go to the stars once load testing starts, no waiting time, so no IO bound), just by calling an empty action I can reach 100% cpu with 200 request per second.
 
Anonymous
> experience with load testing a PHP application
 
Anonymous
you have to paraphrase
 
When hitting one of the actions with logic and db code I go to 20 request per second, is this data normal, or is somehow suspect? I'm asking because profiling the action didn't give me any clue, everything is pretty distributed over the methods (top one is kind of ~5-8%)
 
ZF1?
 
correct
I know that ZF1 bootstrap is not famous for its efficiency, but you know 200 request per second (that I achieve on an empy action) vs 20 request per second (with some logic and db connection), and not finding anything particular "costy" on the profiling, makes me crazy...
 
 
2 hours later…
11:32 PM
 
Cthulhu can, of course, be cast to an int, but not the other way around...
 
Hey @phpc. PSR-6 Caching is up for REVIEW. Over the next 2 weeks the FIG will decide if it's ready for a vote https://groups.google.com/forum/#!topic/php-fig/8DOioT3eSYg ^PD
 
@Daniele Well, if you're on a single m4.xlarge you only have 4 cpus. So look at how many workers you have available. If it's anything higher than 8 (usually you can't get more than # cores * 2 for full cpu saturation) performance will probably start to degrade linearly. But 20/sec is pretty decent concurrency for an m4.xlarge in any non-helloworld type stress test.
 
oh. Paul.
 
@Andrea LOL @ Resource
 
11:39 PM
@Ghedipunk oh god I forgot about that, yeah D:
I have no mouth and I must scream
 
Yes, truly frightening on an eldritch horror level.
 
/**
     * Confirms if the cache item lookup resulted in a cache hit.
     *
     * Note: This method MUST NOT have a race condition between calling isHit()
     * and calling get().
     *
     * @return bool
     *   True if the request resulted in a cache hit. False otherwise.
     */
    public function isHit();
That would seem to be an interesting choice considering consistency and performance.
 
11:53 PM
cough
 

« first day (1823 days earlier)      last day (3118 days later) »