« first day (1406 days earlier)      last day (3541 days later) » 

9:00 PM
Getting out of the office early. I'm on a slow burn, if I don't get some beer I'm going to start knocking over desks.
Have a good UTC night.
 
later @Chris
 
user1994804
@DaveRandom HUGE Thanks on that. Whoa and Behold PaymentType IS missing from the WSDL. I never would have thought there would be such a Gross mistake on their part.
 
@YourAdrenalineFix The WSDL is the documentation for the service, ignore everything else
 
user1994804
I've found similar issues in the client sample code, I just thought that the WSDL would be correct
 
One of the reasons I like the codegen approach is that it gives you a bunch of classes with concrete properties and docblocks
 
user1994804
9:08 PM
I guess I just need to add a PaymentType element to the wsdl and Presto??
 
@DaveRandom Yay! Codegen is win-gen!
 
@YourAdrenalineFix You cannot modify the WSDL, you have to abide by what it says, that's the description of what the remote service accepts
 
user1994804
Ahh
 
@DanLugg Except that SOAP
 
user1994804
9:10 PM
Ok Thanks
 
@DaveRandom Boo! SOAP is poo!
 
@YourAdrenalineFix you may find that the field exists as a child of one of the sub types
 
user1994804
well then their client sample code must be a mess?
 
Well... yeh
I mean, you have read it haven't you? :-P
 
@PeeHaa be aware lol you might get flagged...
 
9:11 PM
That is one of the worst pieces of PHP code I have ever seen
 
Just popped back in to point out... they're going to reopen this turd:
 
user1994804
Wow. Thanks Dave
 
user1994804
SMH at shipping service
 
@HamZa meh. It's true though. It's a tag I follow and their support is crap and they pour a lot of terrible question in here
 
@YourAdrenalineFix Can you pastebin the wsdl you are using?
 
@tereško it's almost useless to talk with anubhava. He's probably one of the persons that pushed me to write that regex reference
 
user1994804
I guess I just need to make my Client correspond to the wsdl?
 
user1994804
regardless of the way the client is now configured?
 
Is it possible to manipulate array/multi-dimentional array without using loops and php functions? Just wondering if it's possible.
Like output all elements within the array.
 
@YourAdrenalineFix So one thing that's notable about that WSDL is that the PaymentType is an enum, and RECIPIENT is not a possible value
  <xs:simpleType name="PaymentType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="SENDER"/>
    </xs:restriction>
  </xs:simpleType>
^ apparently they only support SENDER
 
user1994804
9:34 PM
Hmm
 
@Carnal lolwut is this part of that test?
 
user1994804
Can't be... the PDF Documentation talks about Recipient
 
@Carnal print_r()?
 
user1994804
and their Customer Service SUCKS
 
@DaveRandom built in php function!
I guess with some goto and if statements it would be possible lol
 
9:36 PM
Yeaaah... it is still the same shit..
 
Well you clearly cannot manipulate PHP data structures without writing some PHP
 
user1994804
Should I just add <xs:enumeration value="RECIPIENT"/>
 
@Carnal you said you will drop it...
 
I said that. but still kinda stuck in my head.
lol
I flicked it already.
 
@YourAdrenalineFix That is highly unlikely to work but you could always try. I'd be surprised if they aren't using the same WSDL to power the service, though
@HamZa What test is this, sorry?
 
9:39 PM
@DaveRandom The story was like: he's working as a frontend developer for his client and the client wants to test him so maybe he could do some backend stuff
 
Yeah. Something like that.
 
god motherfucking damnit I am getting so fucking pissed off with trying to repro this fucking bug locally!
 
Without using php fucntions and loop.
 
What's the actual question, in full?
Because that just makes no sense
 
@Carnal take a look at goto, note that this is really bad in production. I don't know this client personally but it sounds like an unpractical test unless you're trying to make a trolling-like quiz....
 
9:40 PM
You can do it with goto but ffs don't
 
ahahahhaa
 
Either there is a more subtle point to the question or the client is an idiot
 
Thanks, I'll get this one off my head.
 
Omg I'm bored
in Lounge<C++>, 3 mins ago, by Cat Plus Plus
There's no good part of PHP
 
@Jefffrey grumpy cat again...
 
9:45 PM
I know you are trying to troll .. but .. well ... we a quite aware of how bad PHP is
 
I know
I was trying to bait someone
 
you should try to find Rails IRC chat room instead
that could be fun =)
 
lol
 
ThW
Hello
 
9:53 PM
evenin'
 
user1994804
@DaveRandom It may take me a little while to get back to you but believe me, Im on it and Thank You immensely.
 
user1994804
Is it important that things follow the same order as the wsdl? (If so, a LOT of the client code is wrongly coded)
 
Order is not significant, only structure
 
user1994804
I think I understand what you said
 
(in theory, assuming they are using a sane XML parser)
Although... SOAP. So implicitly not sane
 
user1994804
10:02 PM
I wish I knew how to implement a better alternative. For now though I think it's prolly best to stick with the basics
 
user1994804
I gotta learn to run b4 flying
 
user1994804
im barely walking
 
White people: The only race that changes colors.
 
user1994804
but Im gonna get rock solid footing in ~1 - 2 years more and conquer the world
 
user1994804
I've come a Looooooooooong ways as some of you may remember
 
user1994804
10:04 PM
but I also have a pretty healthy hike ahead of me to
 
user1994804
but Im gonna conquer the world
 
FOR MOTHER FUCKING FUCKS SAKE THIS IS THE MOST FUCKING ANNOYING HEISENBUG OF ALL FUCKING TIME
 
blame the hardware
 
That's so painfully true it's not even funny
 
yea I've been there.
many times actually, and recently.
 
user1994804
10:06 PM
@DaveRandom I'd help if I could
 
Cannot repro on a VM, no matter what I do, even though in every respect apart from the hw the machine is identical
 
user1994804
I wish you the best tho'
 
spend two weeks on a bug just to find out it's a hw problem
what's worse is a sporadic hw problem that takes a lot of positive results before you hit a negative.
BeagleBone Blacks early revs failed to boot 1 in (sometimes 2, sometimes 200) power ups
that was a nightmare to test and fix
 
user1994804
How Cool is THIS everyone, Right NOW, Looking out my home office window is a Deer in my backyard
 
nice.
 
10:08 PM
The thing is, I know this is a software problem, and I'm even 99% certain I know what the problem is, but I cannot just start throwing random bits of code at hw that actually matters
 
do you have a pond or anything?
 
user1994804
Yea, Small pond
 
yea, they like ponds :P
 
user1994804
There's a family of them that frequent
 
So @rlemon... my son pooped on a slide today. Seriously.
 
user1994804
10:09 PM
Right now I only see the dow
 
user1994804
doe
 
when I lived with my parents we had a pond and they would come drink. but then some asshole snakes ate all of our fish
@DaveRandom ahahaha
 
user1994804
That Sucks
 
show him the picture
:D
 
When he is old enough to get it I will (he's only 3)
 
10:10 PM
lol
I mean, shitty situation, but funny as well
 
^ literally
 
esp. because I never actually did it, if you read up in the conversation someone said something about a confession so I just thought of something I thought was funny to say. Benjamine then became hellbent on making sure google would forever index "rlemon + slidepoop" to that :P
which is funny in its own rights.
 
@DaveRandom what happens?
 
@Ja͢ck I'm facepalming offten, but I think it comes with the job.
@DaveRandom I won't bite, so don't be afraid poking me.
 
@bwoebi SSL-enabled stream does not appear to be readable to stream_select(). Turns out openssl has its own internal buffer (makes sense if you think about it) which the emulated select can't see, but I cannot repro it locally. I think there must be a very specific combination of active cipher and op order to cause it, I cannot make it happen through any logical simple test case
And I cannot repro it at all on *nix
Even though the people who found the bug found it on *nix
And I really do not want to have to start fiddling and poking an rebuilding on Win
 
10:19 PM
time to have some sleep-like thing
 
@Tyrael Well there are a couple of things which I'd ideally like to get into 5.6 (obviously the 5.6.0 window is long gone), the first being socket_export_stream(), could be bundled with @rdlowrey's additional ctx opts, but both of those are strictly features and not fixes so not sure if they'd be allowed?
Also a couple of DOM fixes-that-are-really-features, one of which is not written yet
 
@PeeHaa flaregramster.com is ours now :D
ALL OF USELESS DOMAINS ARE BELONG TO US
 
Maybe you can sneak it into 5.6.1 if it's self-contained (which it seems to be)
 
@DaveRandom theoretically it is possible. any chance why you wanna have it in 5.6 but not in 5.5?
*any reason
 
@Tyrael (note that I didn't recommend to still sneak it into the current rc … ;-))
 
10:27 PM
@Tyrael Only because I assumed that would be further outside the rules, such as they are (also 5.5 >= 5.5.x, 5.6 >= 5.6.1 looks messy in the manual, but there are already a good few of those I guess)
All these things are "small, self contained features" as I believe the release process puts it
With no BC implications
 
I think if we add it in a micro, it should go to the lowest possible
and now that the active branches are both RMed by Julien, I don't think there are many cases where something is ok in 5.6.x but not in 5.5.x
 
Well I'm certainly all for that if it's considered to be allowable
I'm still trying to figure out what the rules actually are :-S
 
btw. Julien seems to be a more open to accept features in micro versions:
http://grokbase.com/p/php/php-cvs/1486x8ccg9/com-php-src-add-so-reuseport-so-broadcast-support-via-socket-stream-context-option-news-upgrading-ext-ftp-ftp-c-main-network-c-main-php-network-h-main-streams-xp-socket-c
 
yeh I saw that thread, it's quite closely related to socket_export_stream() in that we're trying to plug a few of the holes in the streams API
 
my personal interpretation about the "Bugfixes only (with a room for exceptions on a case by case basis and only for small self contained features additions)." rule is to require rfc and voting for features targeting a stable branch, but I seem to be the majority with it.
 
10:32 PM
I'd ideally like to implement mcast as well but I concluded that can't be done without adding at least two extra strea_socket_* functions, which I'd like to avoid if possible - leaky abstraction is getting leakier by the minute
@Tyrael I'd be prepared to throw together a small RFC for these extra bolt-ons
I've also almost finished implementing arrays-as-contexts, not sure if it will have any value if we have to wait until 5.7 (if that even happens) for it
Would like to introduce a new OO streams API in 7, but that's still barely past the "blue sky thinking" stage atm
 
gotta go now, ping me if/when you need any further assistance
 
/me is starting to wonder if --enable-maintainer-zts is actually fixing this bug you know @bwoebi, it now seems to be the only real diff between envs that exhibit the bug and don't, even though that makes no sense
@Tyrael Yeh no worries, thanks. As you can probably tell I'm still trying to figure out how to do this in a coherent proposal, I'll come back to you :-)
 
What do you guys think of this use of a trait? 3v4l.org/YN65S
 
@DaveRandom huh… just try it?
 
building now
@cspray I think I'd write it like this, but I don't think the principle is horrible
 
10:43 PM
@webarto lol that is pretty awesome!
 
Actually @cspray thinking about it I'd write it like this
 
user895378
flaregramster sounds awesome.
 
It totally is :-)
 
user895378
What are you guys working on that the name is for? Or is it just because awesome?
 
user895378
@cspray I don't hate it.
 
user895378
10:48 PM
I accidentally passed out on the sofa after lunch. Must've been tired. Just woke up four hours later. Going to be a sexy Friday night at the computer for me. Too much work to do.
 
morning guys
 
user895378
hi @Ja͢ck
 
@rdlowrey theoatmeal.com/pl/state_web_spring/instagram therefore github.com/PeeHaa/FlareGramster (@PeeWee made it awesome) ... but flaregramster.com was already acquired by some poor soul, which blocked us from earning eleventy billion dollars.
 
i know this is not sql , but sql chat is dead, so does anyone know if sql , how to alter a collumn correct? alter table Stamp_Merchandise alter
column merch_id float IDENTITY (1,1) NULL
 
So I put a sniper on a domain.
 
user895378
10:50 PM
Oh nice.
 
@user3591637 what does the db server give as an error?
 
user895378
> Hipster douches from Google Images
 
user895378
lol
 
Incorrect syntax near the keyword 'IDENTITY'.
 
@rdlowrey Haven't heard from chobie yet heh
 
user895378
10:51 PM
He sometimes comes through #php.pecl -- may be worth checking there
 
hmm
as the same handle?
his travis config seems to suggest he would be on freenode
actually, has anyone configured travis to send messages on irc after each build?
 
user895378
He's been chobie on IRC when I've interacted with him before
 
> No such channel/nick on freenode, try again
 
@Ja͢ck nor on php.pecl.
 
yeah, i just checked there as well ..
 
user895378
10:54 PM
Maybe he's on an @rdlowrey sabbatical
 
> make: *** No rule to make target '/root/php-src/ext/opcache/ZendAccelerator.c', needed by 'ext/opcache/ZendAccelerator.lo'. Stop.
^ when building 5.4
 
user895378
Try ./buildconf --force
 
opcache for 5.4? lol
 
facepalm
 
checkout and buildconf forgotten?
 
10:55 PM
yup
 
i wonder if we should create a git php hook :)
 
user895378
I have a mini-freakout for 0.5 seconds about once per month from doing the same thing
 
@DaveRandom Yea, I figured that I might change the implementation just more a PoC for the principle itself
@rdlowrey Considering it is a trait i'll consider that high praise from you ;)
 
user895378
ZOMG who broke PHP!?!? Oh wait, I'm stupid (me when I forget buildconf).
 
hehe
@DaveRandom Don't you have multiple working copies for each branch?
 
10:56 PM
Not on this specific VM, on which I have to date only ever built 5.6
 
so what's the good news on DNS cache? :D
feasible?
 
user895378
I think it would be a waste of time to bother with it until we had real non-blocking IO under the hood.
 
Definitely feasible, that's not really in question, not sure whether it will be worth it though
 
wow really? @rdlowrey
 
@rdlowrey ...at which point it would be pointless anyway since libuv has a resolver built in
 
user895378
10:58 PM
@DaveRandom exactly!
 
man, libuv really does all the things
 
user895378
I no longer care about adding more stuff that should just be replaced by libuv anyway
 
user895378
Like, all of PHP's filesystem stuff and all the WIN32 #ifdef stuff that comes with it could be chucked out the door in one fell swoop.
 
Btw, things like uv_cwd(), etc. are wrappers around their corresponding platform calls .. it's a bit funny seeing them in the extension if php effectively does the same :)
 
I'm really annoyed that I didn't seem to get anyone with that rebaccaroll back there
 
rsz
10:59 PM
hi all
 
user895378
@DaveRandom Oh, you didn't hear me say, "god dammit" from across the ocean? Because that definitely happened.
 
lulz
@rdlowrey I cannot help but hear that in Randy Marsh's voice
 
rsz
i am running screen sessions from php with exec command, and there are moments when the screen session starts fine, and there are occasions when it does not. how could i solve this? where should i search for the reason of being a screen starting as "dead"? someone has any suggestions?
 
user895378
@DaveRandom that's pretty much exactly how it went down.
 
okay, time to look at master bugs
oh crap, i forgot .. 64bit ints is merged now
> Your branch is behind 'upstream/master' by 1069 commits
 
11:06 PM
@DaveRandom You actually did get me. Bastard
 
that's fubar anyway, with the naming changes @Ja͢ck
 
=S
 
@rsz What actually happens when it fails? Does the child process just exit immediately? If so, what's the exit code?
 
rsz
it is runned from a script and if i do screen -list i just see the list of screen processes and the one is labeled as dead, it didn't run, i can't attach just wipe it
 
@bwoebi i'll still be getting build failures when i compile my extension, right?
 
11:08 PM
@Ja͢ck probably.
 
okay, that's something at least
 
I'm not totally into it, but AFAIK, yes.
 
well, it builds ... :)
 
depends on what your ext does…
if it builds, it probably should also still work.
 
oh sorry, i meant 'master' builds heh
sometimes you have to be grateful for that :D
 
11:14 PM
I have finally managed to repro that bug locally
 
@DaveRandom the openssl thing?
 
user895378
@DaveRandom really? on nix?
 
@rdlowrey I suspect 5.6 may be differently broken wrt this bug
@rdlowrey yes
now, to try hacking together a fix for it
 
user895378
Do you have a simple reproduce script?
 
No, I have tried very hard but I have not been able to create one. I think there is a very specific combination of cipher and order of operations that causes it
tbh it doesn't matter that much if the suggested underlying cause is correct
 
user895378
11:17 PM
Yeah, but it's pretty hard to know if that's actually the case when you have so many moving parts
 
note also that there's a high probability the 5.6 problem is E_PEBKAC
Anyway I'm going to try hacking a fix straight into the select() emulation routine and see what happens, then we can maybe look at a real fix
I have a nasty feeling that the real fix is either going to be epic hack or epic ABI break though :-(
Not sure if something could be hacked into sockop_get_option, that seems to have been heavily abused
not keen on the fact that the word "hack" appeared in my last 3 messages :-(
 
hacktastic
 
Balls-hack
 
user895378
I still need to see a simple reproduce script before diving neck deep into someone else's problem, TBH.
 
@rsz oic, I don't know enough about screen itself to help, sorry
Also sorry, not really paying attention
 
user895378
11:23 PM
It should be sufficient to enable crypto in a non-blocking way on the socket and then read from the irc server.
 
user895378
That should be trivial for someone to do.
 
user895378
And it will demonstrate if php-src is indeed the culprit.
 
user895378
That's what really needs to happen. Especially if it always happens when connecting to freenode over the socket.
 
user895378
It should be a simple matter for someone familiar with the relevant protocol to hardcode that.
 
@rdlowrey Not sure that will fix it, as not sure that's the actual issue, the OpenSSL internal buffer will always be empty anyway if
oh fuck
that's going to be the issue
It's that the final TLS negotiation ack has payload data in it as well
 
user895378
11:26 PM
I was thinking that might be the case.
 
In which case, whether you do it in a blocking way or not is irrelevant
 
user895378
stream_socket_enable_crypto() may need to be modified to actually query openssl about the last block and find out if it had application data
 
^ this
Let me try that, it will be easier to do
 
is it possible to programmatically register and login to a github account?
 
user895378
I'm not sure what the relevant openssl function(s) would be off the top, but I'm sure google knows.
 
11:27 PM
I imagine the blocking stream setup still uses stream_xport_crypto_enable() or whatever it's called
 
user895378
Yeah it does
 
user895378
That whole API is foobar, BTW.
 
user895378
Everytime I look into doing something with it I get annoyed.
 
@rdlowrey Easy, just poll the function we looked at before after successful negotiation
The one that returns the internal buffer size
 
user895378
SSL_pending() ?
 
11:28 PM
yeh that
If >0, append to stream buffer
 
user895378
> SSL_pending() returns the number of bytes which are available inside ssl for immediate read.
 
user895378
Nice.
 
user895378
I think that has to be it, right?
 
Assuming we are right about the root cause, that should be an easy win
Will report back shortly
Oh ffs
Working in the shit mess that is openssl.c/xp_ssl.c in 5.4
 
user895378
lolololol
 
user895378
11:30 PM
That is a mess.
 
user895378
I "enjoyed" that mess a couple weeks ago when I had to fix a bug for 5.4/5/6/7 and do weird merge things for the newer branches.
 
user895378
> SSL_pending(3) can be used to find out whether there are buffered bytes available for immediate retrieval. In this case SSL_read() can be called without blocking or actually receiving new data from the underlying socket.
 
user895378
^ This has to be the fix.
 
user895378
Otherwise I've got nothing.
 
btw, i guess 5.7 isn't happening? Since no branch was created and now ng/strsize are merged to master?
 
user895378
11:32 PM
@DaveRandom I guess not. Seems like a bad decision to me.
 
user895378
I think a transitional 5.7 would've been helpful. Work on master with new stuff and release a 5.7 with very minimal changes + new notices and whatnot to help transition to 7.
 
user895378
"Oh well," as they say.
 
@rdlowrey I'm very confident that's the fix, I'm not as confident we can get away with just doing it after negotiation. Seems like it must be possible for it to happen during a regular read as well
But we shall see
I certainly haven't been able to repro that theoretical bug
Is @AndreaFaulds here?
Guess not
 
user895378
@DaveRandom what makes you think it could happen in a regular read?
 
user895378
Oh, well, maybe.
 
user895378
11:35 PM
After further reflection.
 
Well, imagine I fread() 1 byte
Not sure if the internal buffering chunk_size thing is clever enough to cover all bases there
 
user895378
yeah, it's sticky.
 
So ng and strsize are merged to master. No 5.7 branch. I guess we don't get one then... #php #unilateraldecisions
 
:-(
 
user895378
@DaveRandom Can we not add a bit of SSL_pending() magic here to update the stream's struct to play nice with the hacky method outlined here?
 
user895378
11:45 PM
SSL_pending() won't ever block, and we know when crypto is active and when it's not. So if it's active we could always check for SSL_pending() and buffer the data ourselves.
 
user895378
That way the socket is used for the select() call when negotiating.
 
user895378
And when we already have crypto active we can buffer it ourselves and not bother with the socket cast and let the hack for non-descriptor streams take over.
 
@rdlowrey That may work
 
@rdlowrey I think that nap you took earlier is paying off :D
 
My big concern was telling altering the stream in such a way that it looks like it has buffered data when the data isn't actually in the stream's buffer, I couldn't see a good place to hook in to hydrate the buffer but I think you may have found it there
 
11:48 PM
@DaveRandom the question is still open
 
Tests that are dependent on var_dump() are such a pain ...
 
user895378
@Ja͢ck agree so much.
 
user895378
Just test something specific.
 
user895378
I gotta walk the dog before it gets dark and get some dinner. I'll be back coding all night most likely. @DaveRandom ping me if you have any further thoughts on that stuff. Be back in a little while.
 
@NikiC The question has been effectively closed by that action, otherwise someone is going to have to do a shitload of manual work to separate out a 5.7 branch from some point in history and backport relevant commits into it, it's going to be a major mess
Unless someone does it, like, now, it ain't gonna happen
 
11:49 PM
@DaveRandom wouldn't it just be branched out of 5.6?
dunno, I got the feeling that Pierre really wants that 5.7 release and is going to push for it
I don't think it's dead yet
 
@NikiC I'm pretty sure someone would have to cherry pick a bunch of stuff out of master, there will be things that have gone into master since the 5.6 deadline that would legitimately be in 5.7
 
@NikiC Hey, any idea why this change was made? Why the addition of level > 1?
 
Even if it happens, it's going to be a nightmare to orchestrate
Meh, maybe I'm wrong. I hope I am. I want a 5.7
 
5.7 would be nice.
Hmm, is there an easy way to save failed test cases and run only those again later?
Of course, you still need to run the whole thing before you push changes out, but it could be helpful ... :)
Oh, we have a Yasuo blocker for 5.6 =/
 

« first day (1406 days earlier)      last day (3541 days later) »