« first day (2266 days earlier)      last day (2696 days later) » 

5:01 PM
Oh, the microwave link isn't from your home - they say their relays are connected via microwave, but they use last mile wifi to the home.
 
moin
 
posted on December 29, 2016 by kelunik

- Changed exception base classes for thrown exceptions to `Exception`. - Added `InvalidWatcherException::getWatcherId()`. - `Loop::setErrorHandler` should now return the old handler. - Renamed `Loop::info` to `Loop::getInfo`. - Require weak types...

 
@JoeWatkins errr... lol :-P
Actually that's a slight fail on my part, that should have been my first question
not the first time that has happened
 
There's nobody else left in the office, time to go home
 
@Leigh Oh so they like to deliver a service that's lossy af then
And very possibly slower than ADSL in terms of effective speed
 
user6438501
5:05 PM
@Ekin you ever see this one? https://www.youtube.com/watch?v=DVFbotpDVCA
it's how i heard about Rust, one of the funniest gaming vids
 
@DaveRandom ikr ... you wanna buy a bunch of cable and some funny lookin tool thing ? also, I have a junction box going cheap lol
not your fault at all ... it's right next to me ...
 
\o/ I got the play of the game!
 
@Leigh lata
I'm a little worried about the speed of wireless, but if I can back out up to the last minute, then it doesn't matter ... probably anything over 15mbps is going to be okay for the kids, they will just have to learn too turn shit off
I should have got the location of closest mast
 
Anonymous
@PeeHaa any recommendation on decent hotels in Amsterdam? Or do you just stay with the hookers when you're there?
 
5:21 PM
@RootBearFloat :P that's purely evil
 
@JayIsTooCommon install tinder :p
 
@PeeHaa oh, btw, if you meet someone who says she's my sister, stay away
 
@PeeHaa do you think he has a lot of chance with this?
 
@tereško Yay ..! I can use bitbucket in Iran :-) ...! I've changed the git configuration, and set it up the same port as my proxy's port, now it works like a charm :-)
 
just ordered another line from bt ... they waived connection charge ...
 
5:34 PM
So to clarify you will have 2 lines from the same company?
 
yes, will have on 12th jan
 
Going to have dual-uplink or just 2 different routers?
 
the server does dual uplink, other hardware, not sure about
 
user6438501
@Ekin haha yeah, one of the best ive seen. i've been watching Rust raid vids, i really wanan start playing this ddang game lol. @PeeHaa plays too?
 
never had two lines before ... any suggestions ?
 
user6438501
5:36 PM
two lines of what, wait wrong context
 
I'd look to see how expensive a dual-uplink router/switch would be.
It's simpler if it's just one network.
I'm not sure how expensive that is though so cost may suggest 2 networks ^_^
 
hmm, I didn't know that was a thing
doesn't look that expensive ?
 
There are multiple behaviors with dual-uplink.
One is redundancy, the other is called dual-channel I believe.
 
ah, can you do the thing where you suggest specific hardware ? :)
 
Sadly not here; the routers/switches we buy are really expensive and designed for 48 ports :S
 
5:40 PM
ah
so I'm looking for dual channel in the description
 
I think so.
Although it looks like load balancing may be good enough.
 
yeah, I think it should be
 
That router you linked may be able to QoS the streaming traffic to have lower priority.
So between that and the increased bandwidth you should be able to see significantly better responsiveness.
Or if you want make the streaming higher priority; whatever.
 
yeah lower, me first ... I pay :D
 
Oh wait doesn't have dual WAN.
 
5:49 PM
oh sorry, didn't read
can't see option to select dual wan in the switch category
 
@LeviMorrison I always thought 24 port switches would be much more expensive…
 
tp link devices are generally very cheap
there are even cheaper ones
 
Wes
tp link sux :B
 
@Ocramius it doesn't
 
I've sorta gone off them because of the powerline things ... but it's remarkable value for money
 
Wes
5:57 PM
i hated a tp link router... stupid piece of shit
 
netgear do pretty cheap stuff too, and are half decent (I think?)
 
Wes
netgear are good enough imho
depends on the chip, i suppose
 
Meh, avm ftw
 
(I don't really get it)
DrayTek are any good ?
 
@bwoebi agree. ;-)
 
6:10 PM
@staabm ok, never buying a tplink thing again
 
Anonymous
@bwoebi only if you're on it, sister
 
omg that was yesterday only
 
@JayIsTooCommon there is either punctuation missing or a typo…
@JayIsTooCommon ah … :-)
 
Anonymous
:D
 
@Levi looks like the ISP are going to send me a router that supports dual WAN ... and I already have an 8 port switch ...
 
6:19 PM
ugh my server's PHP config is borked but idk why
 
actually the one I have now supports dual wan
 
since a routine PHP update a while ago, it just serves blank page 200s
 
@Andrea sounds like an optimization to me ...
 
nginx is reporting no errors, FPM is reporting no errors, wtf is going on…
 
@Andrea Well, it's not a 500, so all fine
 
6:20 PM
maybe I should switch to a static file site tbh
 
@JoeWatkins dont make the same mistake you did a few days ago ... ;)
 
evenin guys, gals and @bwoebi
 
I've made so many mistakes, it's hard to know which you are referring too ...
the one I have now does do dual wan, but only as failover it looks like
 
evenin tereško
 
@tereško :-)
 
6:24 PM
e'nin
 
@JoeWatkins buying the same thing again which you already have at hand :)
 
hmm
 
oh, they are going to send another one for free ...
 
dist-upgrade time I guess
 
but yeah, reluctant to buy anything until it's in my hand, it's not the same as the one I have now ... maybe it will do load balancing dual wan ...
oh the new one won't do dual wan, at all ... it's worse than the one I have now ...
 
6:27 PM
@JoeWatkins If you're keeping the existing one, you could set that up nearer the kids rooms connected to the new one via cat5 and just use it as a separate access point.
 
^ good idea
 
Having fewer devices connected per wifi access point is usually better.
 
but then I won't get to take advantage of both lines ?
oh wait, yes I would ... if it had dual wan, but doesn't ...
 
oh right - missed the two lines bit.
 
6:32 PM
@JoeWatkins Nice.
Oh, not so nice :D
 
yeah, but I don't know what configuration options the current router will give me when I plug in another WAN, it definitely does have dual wan
supports 3/4G failover also, but maybe only failover ...
my head hurts
before I buy anything, I'll check with you levi...
 
@kelunik @bwoebi @trowski amphp meet RxPHP gist.github.com/davidwdan/ccbf3c9d4724fa9dfd92f60775c3f041
 
@daviddan awesome
@daviddan though, how does that retryWhen() work?
 
@bwoebi he's a cute little kid though!
@RootBearFloat yeah
 
@PeeHaa well, babies are all cute in the first few months, that's right…
 
6:43 PM
@Ekin \o/
blow up all the things \o/
@bwoebi lol I thought the saying was: babies are ugly
 
@PeeHaa oh?!
 
@bwoebi this is a lie, spread around to stop people being scared of babies ... the truth is that babies are at their most disgusting at this time ... the stuff that comes out of them ... is too disgusting to describe on the internet ...
 
^ :-)
 
@bwoebi when the observable that's returned from the callable emits, it'll restart the observable sequence
 
comes out, or falls off ... it's all extremely gross, but hormones take over, you don't care ...
 
6:47 PM
@PeeHaa they had tons of c4s :P also that was the 3rd time in a row I connect and right at that moment someone raids the base I'm in
 
hehehehe
I blame you! :P
 
:P
 
@daviddan what's the observable sequence?
 
They found all the goodies?
 
this is all very interesting amp and other stuff ... also, I may be using amp at work ...
 
6:48 PM
@JoeWatkins meh, it's just excrements? nothing we'd not leave ourselves each day in the toilet…
 
oh no, no no no ... if you left what came out of a baby, you would go immediately to the hospital ...
 
@JoeWatkins ?!
 
at first, it's black ... then it goes through every imaginable (nasty) shade of green and yellow ...
 
@PeeHaa They did and they were so happy, of course :D we had two boxes full of guns and ammo remember? ... amongst all other loots
 
hehehe good for them :)
 
6:49 PM
Although I rage quitted later on, so maybe not all, not sure :P
 
@bwoebi everything before the retryWhen will be retried.
 
:D
 
what is coming out of whoever gave birth isn't nicer, at all ... also, one day you'll pick the baby up and leave a bit of rotten skin behind ... this is not a good day by any measure ... but you are looking forward too it ...
such is the power of hormones and lack of sleep ...
 
@daviddan but there's nothing before the retryWhen in this code sample apart from object initialization?
@daviddan or to ask another question: what exactly is that code snippet supposed to do?
 
@bwoebi yeah, so in this case, it'll recreate the promise and attempt to make another request
 
6:52 PM
@daviddan There's no retry mechanism on Promises and I don't see a callable to call Client::request() again?
 
somehow, they manage to smell nice ... and I called on those memories very very quickly ... which feels alien ... enough anyway, babies are disgusting ...
 
@JoeWatkins They taste good too btw
 
lol
 
@PeeHaa Thanks for the unspeakable image of a roasted human baby :x :x :x
@Trowski Si everything working now, or why have you merged the uv branch?
 
@JoeWatkins doesnt sound like I will have fun at the end of April 2017
 
6:59 PM
@staabm congrats ... seriously ... very disgusting, but the best thing you can do with your time on earth ...
 
Amp\Test\Loop\UvLoopTest::testExecutionOrderGuarantees
Undefined offset: 195

^ at least on travis I still see the failure @Trowski
@JoeWatkins This doesn't sound too disgusting, but rather … normal after a birth?
 
it is, but normally you don't get anyone warning you any of that will happen ... and it will happen ...
 
Is it generally better to pass every request to an index file that then decides what to do with it? (Like slim framework does, or express in node.js) Just asking because php kinda started out with the approach that you just make a file for whatever url someone wanted to access, right? Are there any times where this is not the best approach?
Sorry for asking here, I just really coulndt figure out how to word this properly for searching
 
it's unimaginable strain and upset for a human to push another human out of their body .... humans coming out of humans ... it's so horrible ... I actually fainted, multiple times ...
 
@bwoebi you're right, you would have to defer it to get get it to recreate the observable `$sitesObs = Observable::defer(function () {
return Observable::fromPromise((new Client)->request('https://google.com'));
})->retryWhen(function (Observable $errors) {
return $errors->delay(1000);
});`
 
7:05 PM
stay at the head end, would be my advice ... and don't watch epidural if squeamish ... or sensible ...
 
@daviddan Ah, now the code makes more sense to me :-) [Also btw. this chat doesn't support multi-line markdown]
 
better advice is try not to use drugs actually, the second time my wife didn't have epidural, no time, and it was much more pleasant/less traumatic for her ... but if never done it before, may not be able to cope ...
 
you can do things like return $errors->take(3)->delay(1000);
which will make the attempt 3 times with a 1 sec delay
 
@daviddan I suppose this is trying three times until giving up
… what does happen if it doesn't get a result after the third time?
 
and once it gives up, the error will propagate down to the subscribe (the promise) in this case
 
7:08 PM
sounds good
That is using lazy evaluation, right?
 
@JoeWatkins :D
 
what do you mean?
 
@bwoebi It's just that failing… which I think is a php-uv issue?
 
@Trowski I am not 100% sure, also did not manage to find the right trivial repro… must be missing something
@Trowski Do you have/Can you create a repro using uv_* primitives only?
 
@bwoebi - The Observables would be lazy evaluation in the sense that picking up the observable again and calling ->toPromise() would give you a brand new promise and start the request with retry from the beginning
 
7:19 PM
@mbonneau I mean, if toPromise() is not called, nothing will happen?
 
That is correct
Something needs to subscribe
In this case - toPromise is subscribing and converting to a promise when the observable completes
 
@mbonneau Is there also a variation of toPromise() which will only trigger when when() is called?
real lazy evaluation might be wanted some time
 
Not at the moment - but would be trivial to implement
in the rx world - nothing happens to anything until someone subscribes
 
@bwoebi I don't and I haven't tried.
 
@Trowski hmm, okay, then I'll give it another shot now
@Trowski Could you look at removing proxy functions from Amp?
@mbonneau is there an actual branch with async-interop compatible code? Couldn't find anything, but maybe it's just well hidden
 
7:23 PM
@bwoebi It seems to be hitting an edge case where the callback is invoked even after calling uv_close().
@bwoebi Yeah, I can do that today. I have a couple other local commits updating to the latest promise spec.
 
@Trowski must be, though that's very weird as it's using a min heap and removing upon stopping
 
@bwoebi - @daviddan has this in his repo which will be the v2 one once things get settled github.com/davidwdan/RxPHP/tree/2.x
 
@mbonneau oh, nice, was searching in the official repo :-)
 
@bwoebi - I think he had a few issues before he wanted to make a PR to the official repo - one of them being the interop event-loop question
 
@bwoebi Is there a reason to support PHP 5.x in amphp/loop? It looks like Rx is even going to 7.0. /cc @daviddan @mbonneau
@daviddan You can skip a layer of abstraction for require-dev by just using amphp/loop instead of the adapter @WyriHaximus made.
But that's more a personal preference thing I suppose.
 
7:28 PM
@Trowski dunno, do we actually benefit much from dropping PHP 5 in amphp/loop? I see no active harm in supporting it with at least one loop.
 
@Trowski - I personally like keeping 5 support around - but @daviddan likes to remind me that most people doing async are keeping up with the latest version of PHP or could upgrade
 
@JayIsTooCommon But yeah sorry. Don't know what;s decent and what;s not really
 
Hi guys, are there any good online videos (preferably youtube videos) which teach some really good things about how to write clean code
 
@bwoebi sorry, I had to step away for a minute. currently the 2.x branch is here github.com/davidwdan/RxPHP/tree/2.x
 
@HassanAlthaf Did you try googling "clean code talks"? ...
 
7:34 PM
I do know about them.
Google ones right?
 
yes
 
Are they worth it?
They're pretty old
 
So the fuck what?
 
I thought they're outdated
 
@Jimbo's mom is old. I don't care
 
7:41 PM
!!commands
!!help
 
@bwoebi - here is a quick implementation of ->toLazyPromise(): gist.github.com/mbonneau/1461a357bed1151a46c70a9a545f5b79
 
@bwoebi yes, you move the ecosystem forward
amp is the kind of project where php 7 only is a no-brainer
amp is new enough that worrying about support for legacy codebases is not relevant
 
I think it's more important to have a v1 than to include the php7 features in the spec
 
it doesn't matter whether the spec includes any php 7 features, the project can still be php 7 only independently of the spec
 
@bwoebi I'm getting a segfault on 5.6 when signals are disabled.
I noticed travis dropped pcntl as a default extension… somewhat annoying.
 
7:46 PM
@Trowski but that shouldn't segfault though then?
 
@daviddan I'm all for the spec being 5.5+ compatible, but I see no reason to write code for anything but 7 for Amp, including amphp/loop. /cc @bwoebi
 
@Trowski well amphp/amp is anyway PHP 7… It's just for projects using PHP 5 and not wanting to write their own loop
 
n/m, travis does have pcntl… @bwoebi you added test skipping if code coverage was active. I assumed they were signal tests :-P
@bwoebi True… not going to be a lot of libs out there other than React… which the old version won't use the async-interop spec anyway, so…
@bwoebi So somehow testOnSignalWatcher fails with the NativeLoop in PHP 5.x, causing a segfault… makes no sense.
 
@JayIsTooCommon there is a Motel1 in Amsterdam iirc. I like the chain. Good value for money. Also, I can recommend the Citizen M. It's pricey but fun.
 
@Trowski Right
 
7:54 PM
If I don't call pcntl_signal_dispatch() the problem goes away (the tests fail of course, but it doesn't segfault).
 
@Trowski well, let me compile and look
 
Anonymous
@Gordon I went for Motel1 in Manchester and was very good, that may be a good shout. Any decent restaurant recommendations?
 
Anonymous
@PeeHaa that's ok sister, thanks anyway
 
@bwoebi is amp/loop targeting dev-master until 1.0 is out or is it going to target 0.4 soon? github.com/amphp/loop/blob/master/composer.json#L14 (Currently updating my adapters package to 0.4 \o/)
 
@WyriHaximus well, no plans yet. But with 0.4 being a quite stable pre-release it might be worth targeting it too now.
Using dev-master just was more comfortable until now
 
8:05 PM
@bwoebi Ok thanks, I personally don't mind either dev-master or 0.4, just what you guys are comfortable with :)
 
@WyriHaximus I wanted to update the loop implementation but 0.4 wasn't tagged, that's the only reason I used dev-master.
I'll update it to 0.4 soon.
 
@Trowski ok great, I'll update once you've updated
 
  * frame #0: 0x00000001005612a5 php`_zend_bailout(filename="/Users/Bob/php-src-5.6/main/main.c", lineno=1256) + 21 at zend.c:886
    frame #1: 0x0000000100494691 php`php_error_cb(type=1, error_filename="/Users/Bob/amp-loop/lib/NativeLoop.php", error_lineno=279, format="Cannot destroy active lambda function", args=0x00007fff5fbfd570) + 4577 at main.c:1256
It's trying to free the pcntl handle while the callback is being run
and thus Cannot destroy active lambda function
it's a simple fix though
refcount++ before handler call and refcount-- afterwards
 
@Trowski @bwoebi Here's the news for you. Thanks for all your help: platform.sh/2016/12/php-71
 
:-)
@Trowski I can fix it in 5.6, but 5.5 is out of my reach
 
8:26 PM
I love how our government acts like people have no clue how the Internet works.
 
@bwoebi So unfortunately we can't support 5.5 then.
 
@Sherif when in truth it's the other way around?
 
@NikiC Pretty much yeah.
 
@Trowski the most trivial fix would be just not using a Closure for it
It'd mean using a class function instead of a Closure, that's all
So it's actually trivial to support 5.5
 
I mean.. if the government actually believes that the information they have on the Russian hacking should be classified then I fear for our governments future in cyber warfare.
 
8:28 PM
Ah, ok. An extra public function won't hurt anything.
 
@Crell omg, you are purposely allowing people to deploy pthreads
that's ... quite brave ... very cool ...
 
@Trowski Right, as you anyway should be coding to the interface
It's just a public function just present on NativeLoop, so doesn't hurt anyone
 
@bwoebi Interestingly, a private function seems to work.
 
Ah sure
 
@Sherif it won't matter on Jan 20th when moron face starts tongue kissing putin anyway ...
 
8:33 PM
because scope of the caller of pcntl_signal_dispatch is fine
 
So here's something interesting… the NativeLoop tests pass if I use --no-coverage, but testExecutionOrderGuarantees fails if coverage is on.
 
ThW
a broken @covers?
 
pretty empty to take action that will so obviously be reversed in less than a month ...
 
No, the execution order of callbacks actually changes.
 
@Trowski version?
 
8:34 PM
@bwoebi 5.6
 
ThW
execution order of callbacks?
 
@bwoebi Let me pushed the fixed version.
 
ThW
sounds fragile
 
@JoeWatkins That's a stupid position purported by the media. His own party called for a congressional investigation. Trump is just manipulating stupid American public opinion. I don't think he has any intention of having good relations with Putin.
 
@ThW This is within the event loop itself, so order should be predictable.
 
8:36 PM
I've watched him say flattering things, the words came from his mouth directly
 
@JoeWatkins woo, thanks for your tweet :)
 
@Trowski I suspect overhead of xdebug being so significant that it actually messes order up?
 
ThW
not sure, is the execution order relevant?
 
@Trowski may you check whether the order issues are with delay()?
 
@JoeWatkins That's his entire modus operandi. Trump says things to win over public opinion. It's evident from his actions that he does not act on what he says.
 
ThW
8:37 PM
@Trowski in an event loop it should not.
 
@Sherif I think that's actually one of the few things he's caring about currently
But I'm expecting him to flipflop sometime around that issue though
 
@ThW It's meant to catch bugs and unexpected things happening… it's just a test. Generally order shouldn't matter though.
 
@FlorianMargaine welcome :)
 
@bwoebi Yeah, it's a delay executing too late… so it's probably an overhead issue.
 
@Sherif I fail to see how doing that positively affects public opinion ...
 
8:39 PM
@bwoebi Trump is a master con artist. He knows how to manipulate the masses. Especially the stupid masses given that 70% of his supporters are non-college educated. The only reason he speaks about good relations with Russia is to deviate public opinion from the shady ties he has with Russian banks and the idea that Russia got him elected (to avoid delegitimizing his presidency).
 
@ThW It's the execution order of delay() … If something was scheduled to happen in 30 ms it should happen before what's scheduled to happen in 60 ms
 
@bwoebi I do wonder if the test makes too many assumptions.
 
ThW
@bwoebi true, do you replace the loop with a mock implementation for that?
 
@JoeWatkins did you notice that we're distributing zts by default?
 
@JoeWatkins Because the idea that Russia got him elected casts huge doubt in his approval ratings.
 
8:40 PM
@Sherif deviate? If he showed hate toward Russia, that would make it much less plausible that they tried to elect him?
 
@FlorianMargaine yes, very suspicious that you couldn't measure a difference, it's definitely there
 
@ThW no … and anyway in this case we're testing the loop itself
 
we did make it better, it's not like the bad old days ...
 
mocking the thing we want to test is a bit nonsensical @ThW
 
but we didn't finish, I know what needs to be done to remove the overhead completely ...
 
8:41 PM
@bwoebi That's a grave misunderstanding of his support base. Trump supporters don't actually believe Russia had anything to do with the election. They believe his words over the entire US intelligence apparatus. His supporters have a blind trust in him.
 
    1st column: average ms, 2nd column: std deviation in ms, 3rd column: max in ms, 4th column: stdev as a percentage

    7.0:

    Req/Sec    79.64     33.11   240.00     72.84%
    Req/Sec    62.63     37.74   303.00     77.98%
    Req/Sec    76.60     28.79   242.00     74.06%
    Req/Sec    77.31     29.25   210.00     73.49%
    Req/Sec    65.99     32.07   222.00     67.52%
    Req/Sec    62.96     38.07   242.00     73.91%
    Req/Sec    69.19     36.61   320.00     71.34%
    Req/Sec    74.71     28.86   250.00     74.47%
 
@JoeWatkins What exactly is the overhead?
 
@JoeWatkins our brief testing got this ^
 
@Sherif yeah, but … is he just targeting his supporters or everyone too?
@FlorianMargaine I'm pretty sure running that another time gives quite different numbers
 
ThW
you schedule independently, this event has to occur after n ms. If you call the check after 1s the 60ms is a s valid as the 30ms.
 
8:43 PM
@bwoebi Clearly he isn't. He continues to act in the interest of the people that got him elected. Evidence has shown us that if Trump says something, his supporters believe it without question. The man knows how to build a loyal following.
 
@ThW right. Just the 30 ms one ought being called before the 60 ms one.
 
@bwoebi Pushed the updated NativeLoop
 
@bwoebi as I said, "brief testing", but "another time"?
 
ThW
you would expect that, but here is no guarantee.
 
@bwoebi well in 5 it was the kind of difference you care about, but in 7 it shouldn't be remarkable but measurable I'm quite sure ... it's to do with mod globals access, and further to do with mod globals access from extensions (although minmized) ...
 
8:45 PM
@FlorianMargaine Just wanting to say that these numbers don't look very stable (i.e. not done on a machine with nothing else running and fixed CPU frequency
 
I think I may do some measuring ...
 
@bwoebi it was done on a production machine, yes
loading drupal frontpage with all caches disabled
 
or bob should do some unbiased measuring ... not that your tests were particularly bias ... just I'll see what I want to see probably ...
 
@JoeWatkins sure, but that's L1 cache access
 
ThW
and if you think about it, simplified, the event loop might have an internal list (trigger at time n) so at time m it iterates the list and check if it has to trigger the event, so it would depend on the position in the list, not the actual time.
 
8:47 PM
you should measure when you have some time ... maybe we really don't need to care anymore .. maybe it's not worth doing the next round of changes to tsrm ...
 
@ThW it ought being a priority queue
 
@JoeWatkins I'm definitely not trying to be a reference or something, just showing you what we tested
 
@JoeWatkins what exactly would that next round be?
 
user6438501
@PeeHaa think i can start playing with y'all :D ... me be your apprentice
 
ThW
@bwoebi you mean it should sort the listeners by trigger time?
 
8:49 PM
@ThW yes
 
reducing pointer arithmetic basically by using real tls, at the moment we use tls, but not very efficiently ... in that rather than each module having it's own tls, we are still using the weird table thing ... it's native tls more than PHP5, but not the native-tls patch I first prepared
 
ThW
why?
 
@FlorianMargaine yeah that's cool, I'm not questioning the decision in particular either, I would have in PHP 5, I would have shouted stop until you listened ... but we did make a leap forward there in 7, maybe it is reasonable ...
 
ThW
it would be additional work (the sorting)
 
@JoeWatkins but doesn't that have the disadvantage of not being easily able to access globals cross-thread given the tsrm_ls value?
 
8:50 PM
the architecture of php is preferable in zts mode whatever, it's safer, more sane ...
 
@ThW it isn't - you just use a minHeap
 
@bwoebi share nothing is supposed to prohibit that, it makes it more difficult, but it makes it impossible by accident, it's way preferable ...
 
a minHeap is automatically sorted when getting the next minimal element
 
so yeah, we just provide zts for 7.1 now, so it'll get real production testing at least :)
 
what it doesn't do is make it impossible, so we're not making anything that's possible today impossible ...
 
8:52 PM
@JoeWatkins I agree, if you actually want to run a PHP context in the other thread
 
ThW
@bwoebi what happens if here are two element with the same value?
 
@ThW then order is undefined
 
ThW
So that is what I would try to validate, both events have to be called, the order is not relevant.
 
@ThW github.com/async-interop/event-loop/blob/master/src/… That's the requirement I'm testing
 
ThW
oh its a documented feature
 
8:55 PM
@bwoebi You added scalar types to tests in a PHP 5.x lib :-P
 
@Trowski can't blame him, scalar types are so easy getting used to :P
 
Easy fix, I just have to add a requires annotation.
 
ThW
hehe
 
I have to do wife things, lata all ...
 
user6438501
@bwoebi i love seeing documented code. makes me so happy
 
user6438501
8:57 PM
what does 'final' before 'class' mean 'final class test {}'
 
@RootBearFloat that you can't extend the class
 
user6438501
@FlorianMargaine ty, figured was something allong those lines
 
ThW
@FlorianMargaine I really dislike final
 
user6438501
is there a resource to get a jumpstart on php7
 
user6438501
im actually interested now, looks like theres still some cool stuff. im seein async abilities, ... but how this work on the underlying engine? has Zend been upgraded for this?
 

« first day (2266 days earlier)      last day (2696 days later) »